Amplify JS API Documentation
Library Documentation
NPM
GitHub
Preparing search index...
aws-amplify
datastore
DataStoreConfig
Interface DataStoreConfig
interface
DataStoreConfig
{
authModeStrategyType
?:
AuthModeStrategyType
;
authProviders
?:
AuthProviders
;
conflictHandler
?:
ConflictHandler
;
DataStore
?:
{
authModeStrategyType
?:
AuthModeStrategyType
;
authProviders
?:
AuthProviders
;
conflictHandler
?:
ConflictHandler
;
fullSyncInterval
?:
number
;
maxRecordsToSync
?:
number
;
storageAdapter
?:
StorageAdapter
;
syncExpressions
?:
SyncExpression
[]
;
syncPageSize
?:
number
;
errorHandler
?
(
error
:
SyncError
<
Readonly
<
Record
<
string
,
any
>
>
>
)
:
void
;
}
;
fullSyncInterval
?:
number
;
maxRecordsToSync
?:
number
;
storageAdapter
?:
StorageAdapter
;
syncExpressions
?:
SyncExpression
[]
;
syncPageSize
?:
number
;
errorHandler
?
(
error
:
SyncError
<
Readonly
<
Record
<
string
,
any
>
>
>
)
:
void
;
}
Index
Properties
auth
Mode
Strategy
Type?
auth
Providers?
conflict
Handler?
Data
Store?
full
Sync
Interval?
max
Records
To
Sync?
storage
Adapter?
sync
Expressions?
sync
Page
Size?
Methods
error
Handler?
Properties
Optional
auth
Mode
Strategy
Type
authModeStrategyType
?:
AuthModeStrategyType
Optional
auth
Providers
authProviders
?:
AuthProviders
Optional
conflict
Handler
conflictHandler
?:
ConflictHandler
Optional
Data
Store
DataStore
?:
{
authModeStrategyType
?:
AuthModeStrategyType
;
authProviders
?:
AuthProviders
;
conflictHandler
?:
ConflictHandler
;
fullSyncInterval
?:
number
;
maxRecordsToSync
?:
number
;
storageAdapter
?:
StorageAdapter
;
syncExpressions
?:
SyncExpression
[]
;
syncPageSize
?:
number
;
errorHandler
?
(
error
:
SyncError
<
Readonly
<
Record
<
string
,
any
>
>
>
)
:
void
;
}
Optional
full
Sync
Interval
fullSyncInterval
?:
number
Optional
max
Records
To
Sync
maxRecordsToSync
?:
number
Optional
storage
Adapter
storageAdapter
?:
StorageAdapter
Optional
sync
Expressions
syncExpressions
?:
SyncExpression
[]
Optional
sync
Page
Size
syncPageSize
?:
number
Methods
Optional
error
Handler
errorHandler
?
(
error
:
SyncError
<
Readonly
<
Record
<
string
,
any
>
>
>
)
:
void
Parameters
error
:
SyncError
<
Readonly
<
Record
<
string
,
any
>
>
>
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
auth
Mode
Strategy
Type
auth
Providers
conflict
Handler
Data
Store
full
Sync
Interval
max
Records
To
Sync
storage
Adapter
sync
Expressions
sync
Page
Size
Methods
error
Handler
Library Documentation
NPM
GitHub
Amplify JS API Documentation
Loading...