Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
aws-amplify
datastore
IdentifierFields
Type alias IdentifierFields<T, M>
Identifier
Fields
<
T
,
M
>
:
(
MetadataOrDefault
<
T
,
M
>
[
"identifier"
]
extends
ManagedIdentifier
<
any
,
any
>
|
OptionallyManagedIdentifier
<
any
,
any
>
?
MetadataOrDefault
<
T
,
M
>
[
"identifier"
]
[
"field"
]
:
MetadataOrDefault
<
T
,
M
>
[
"identifier"
]
extends
CompositeIdentifier
<
T
,
infer
B
>
?
B
[
number
]
:
MetadataOrDefault
<
T
,
M
>
[
"identifier"
]
extends
GenericIdentifier
?
MetadataOrDefault
<
T
,
M
>
[
"identifier"
]
[
"field"
]
:
unknown
)
&
string
Type Parameters
T
extends
PersistentModel
M
extends
PersistentModelMetaData
<
T
>
=
never
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