API reference@melon-db/db-react
MelonSyncProviderProps
@melon-db/db-react — MelonSyncProviderProps
@melon-db/db-react API Reference
Interface: MelonSyncProviderProps
Defined in: sync-context.tsx:48
Properties
| Property | Type | Defined in |
|---|---|---|
autoSyncOnReconnect? | boolean | sync-context.tsx:54 |
checkpointStore? | CheckpointStore | sync-context.tsx:51 |
children | ReactNode | sync-context.tsx:62 |
conflictPolicy? | "server-wins" | "skip-existing" | "client-wins" | "last-write-wins" | "merge-by-field" | "custom" | sync-context.tsx:55 |
conflictResolver? | ConflictResolver | sync-context.tsx:56 |
mergeProtectedFields? | string[] | sync-context.tsx:59 |
mergeRemoteFields? | string[] | sync-context.tsx:58 |
migrations? | Migration[] | sync-context.tsx:61 |
migrationSyncPolicy? | "strict" | "lenient" | sync-context.tsx:60 |
networkMonitor? | NetworkMonitor | sync-context.tsx:53 |
pullChanges | (args) => Promise<PullResult> | sync-context.tsx:49 |
pushChanges | (args) => Promise<void> | sync-context.tsx:50 |
retryPolicy? | false | RetryPolicy | sync-context.tsx:52 |
syncTimestampField? | string | sync-context.tsx:57 |
