Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
aws-amplify
datastore
IdentifierFieldsForInit
Type alias IdentifierFieldsForInit<T, M>
Identifier
Fields
For
Init
<
T
,
M
>
:
MetadataOrDefault
<
T
,
M
>
[
"identifier"
]
extends
DefaultPersistentModelMetaData
|
ManagedIdentifier
<
T
,
any
>
?
never
:
MetadataOrDefault
<
T
,
M
>
[
"identifier"
]
extends
OptionallyManagedIdentifier
<
T
,
any
>
?
IdentifierFields
<
T
,
M
>
:
MetadataOrDefault
<
T
,
M
>
[
"identifier"
]
extends
CompositeIdentifier
<
T
,
any
>
?
IdentifierFields
<
T
,
M
>
:
never
Type Parameters
T
extends
PersistentModel
M
extends
PersistentModelMetaData
<
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