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
Interface ModelField
interface
ModelField
{
association
?:
ModelAssociation
;
attributes
?:
ModelAttributes
[]
;
isArray
:
boolean
;
isArrayNullable
?:
boolean
;
isReadOnly
?:
boolean
;
isRequired
?:
boolean
;
name
:
string
;
type
:
"ID"
|
"String"
|
"Int"
|
"Float"
|
"Boolean"
|
"AWSDate"
|
"AWSTime"
|
"AWSDateTime"
|
"AWSTimestamp"
|
"AWSEmail"
|
"AWSJSON"
|
"AWSURL"
|
"AWSPhone"
|
"AWSIPAddress"
|
ModelFieldType
|
NonModelFieldType
|
EnumFieldType
;
}
Index
Properties
association?
attributes?
is
Array
is
Array
Nullable?
is
Read
Only?
is
Required?
name
type
Properties
Optional
association
association
?:
ModelAssociation
Optional
attributes
attributes
?:
ModelAttributes
[]
is
Array
is
Array
:
boolean
Optional
is
Array
Nullable
is
Array
Nullable
?:
boolean
Optional
is
Read
Only
is
Read
Only
?:
boolean
Optional
is
Required
is
Required
?:
boolean
name
name
:
string
type
type
:
"ID"
|
"String"
|
"Int"
|
"Float"
|
"Boolean"
|
"AWSDate"
|
"AWSTime"
|
"AWSDateTime"
|
"AWSTimestamp"
|
"AWSEmail"
|
"AWSJSON"
|
"AWSURL"
|
"AWSPhone"
|
"AWSIPAddress"
|
ModelFieldType
|
NonModelFieldType
|
EnumFieldType
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
association
attributes
is
Array
is
Array
Nullable
is
Read
Only
is
Required
name
type
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter