Melon-dbMelon-db
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

PropertyTypeDefined in
autoSyncOnReconnect?booleansync-context.tsx:54
checkpointStore?CheckpointStoresync-context.tsx:51
childrenReactNodesync-context.tsx:62
conflictPolicy?"server-wins" | "skip-existing" | "client-wins" | "last-write-wins" | "merge-by-field" | "custom"sync-context.tsx:55
conflictResolver?ConflictResolversync-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?NetworkMonitorsync-context.tsx:53
pullChanges(args) => Promise<PullResult>sync-context.tsx:49
pushChanges(args) => Promise<void>sync-context.tsx:50
retryPolicy?false | RetryPolicysync-context.tsx:52
syncTimestampField?stringsync-context.tsx:57