Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
aws-amplify
api
<Reference Types>
ModelTypes
Type alias ModelTypes<T, Context, Schema>
Model
Types
<
T
,
Context
,
Schema
>
:
{
[
ModelName
in
keyof
Schema
[
"models"
]
]
:
Context
extends
"CLIENT"
?
ModelTypesClient
<
Schema
[
"models"
]
[
ModelName
]
>
:
Context
extends
"COOKIES"
?
ModelTypesSSRCookies
<
Schema
[
"models"
]
[
ModelName
]
>
:
Context
extends
"REQUEST"
?
ModelTypesSSRRequest
<
Schema
[
"models"
]
[
ModelName
]
>
:
never
}
Type Parameters
T
extends
Record
<
any
,
any
>
Context
extends
ContextType
=
"CLIENT"
Schema
extends
ClientSchemaByEntityType
<
T
>
=
ClientSchemaByEntityType
<
T
>
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