Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
aws-amplify
datastore
ModelField
Type alias ModelField
Model
Field
:
{
association
?:
ModelAssociation
;
attributes
?:
ModelAttributes
[]
;
isArray
:
boolean
;
isArrayNullable
?:
boolean
;
isReadOnly
?:
boolean
;
isRequired
?:
boolean
;
name
:
string
;
type
:
keyof
Omit
<
typeof
GraphQLScalarType
,
"getJSType"
|
"getValidationFunction"
>
|
ModelFieldType
|
NonModelFieldType
|
EnumFieldType
;
}
Type declaration
Optional
association
?:
ModelAssociation
Optional
attributes
?:
ModelAttributes
[]
is
Array
:
boolean
Optional
is
Array
Nullable
?:
boolean
Optional
is
Read
Only
?:
boolean
Optional
is
Required
?:
boolean
name
:
string
type
:
keyof
Omit
<
typeof
GraphQLScalarType
,
"getJSType"
|
"getValidationFunction"
>
|
ModelFieldType
|
NonModelFieldType
|
EnumFieldType
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter