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>
NestedTypes
Type alias NestedTypes<Bag, T>
Nested
Types
<
Bag
,
T
>
:
{
[
K
in
keyof
T
[
"fields"
]
as
T
[
"fields"
]
[
K
]
extends
EnumType
|
CustomType
<
CustomTypeParamShape
>
?
K
:
never
]
:
K
extends
keyof
Bag
?
{
__entityType
:
T
[
"fields"
]
[
K
]
extends
EnumType
?
"enum"
:
"customType"
;
type
:
Exclude
<
Bag
[
K
]
,
null
|
undefined
>
;
}
:
never
}
Type Parameters
Bag
extends
Record
<
string
,
unknown
>
T
extends
ModelTypeParamShape
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