Methods
(static) boolean(options) → {ModelField}
- Source:
Model field definition for boolean values.
Parameters:
Name | Type | Description |
---|---|---|
options |
Object | an options object, see above. |
Returns:
- Type
- ModelField
(static) choice(choices, options) → {ModelField}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
choices |
Array.<any> | Array of valid values for this field. |
options |
Object | an options object, see above. |
Returns:
- Type
- ModelField
(static) model(model, options) → {ModelField}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
model |
Model | |
options |
Object | an options object, see above. |
Returns:
- Type
- ModelField
(static) number(options) → {ModelField}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
options |
Object | an options object, see above. |
Returns:
- Type
- ModelField
(static) string(options) → {ModelField}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
options |
Object | an options object, see above. |
Returns:
- Type
- ModelField