Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
aws-amplify
datastore
PersistentModelConstructor
Interface PersistentModelConstructor<T>
interface
PersistentModelConstructor
<
T
>
{
new PersistentModelConstructor
new
(
init
)
:
T
;
copyOf
(
src
,
mutator
)
:
T
;
}
Type Parameters
T
extends
PersistentModel
Index
Constructors
constructor
Methods
copy
Of
Constructors
constructor
new
Persistent
Model
Constructor
(
init
)
:
T
Parameters
init
:
ModelInit
<
T
,
PersistentModelMetaData
<
T
>
>
Returns
T
Methods
copy
Of
copy
Of
(
src
,
mutator
)
:
T
Parameters
src
:
T
mutator
:
(
(
draft
)
=>
void
)
(
draft
)
:
void
Parameters
draft
:
MutableModel
<
T
,
PersistentModelMetaData
<
T
>
>
Returns
void
Returns
T
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
copy
Of
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter