@furo/open-models
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

Naming Conventions

The generated models are using camelCase notation for the field names, the UseProtoNames uses whatever was defined in the contract. If a name start with an underscore, the model will use an X for the first letter.

_user => XUser

https://github.com/googleapis/googleapis/blob/master/google/api/field_behavior.proto

Validators

Class Validators

Instance Validators

Options

import {OPEN_MODELS_OPTIONS} from "./x/@furo/open-models/core/OPEN_MODELS_OPTIONS";

OPEN_MODELS_OPTIONS.labelFormatter = (l)=> customTranslator(l.replaceAll('.','_').toUpperCase())

CustomPrototypes

Reserved words

  • toString
  • valueOf

Readme

Keywords

none

Package Sidebar

Install

npm i @furo/open-models

Weekly Downloads

729

Version

1.2.0

License

MIT

Unpacked Size

9.9 MB

Total Files

758

Last publish

Collaborators

  • veith
  • maltenorstroem