-
-
Notifications
You must be signed in to change notification settings - Fork 92
/
sync.ts
22 lines (21 loc) · 919 Bytes
/
sync.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import type { SyncedOptionsGlobal } from './src/sync/syncTypes';
export { configureObservableSync } from './src/sync/configureObservableSync';
export * from './src/sync/persistTypes';
export * from './src/sync/syncHelpers';
export { mapSyncPlugins, onChangeRemote, syncObservable } from './src/sync/syncObservable';
export * from './src/sync/syncTypes';
export { synced } from './src/sync/synced';
export * from './src/sync/configureSynced';
export { createRevertChanges } from './src/sync/revertChanges';
import { waitForSet } from './src/sync/waitForSet';
import { observableSyncConfiguration } from './src/sync/configureObservableSync';
import { runWithRetry } from './src/sync/retry';
export const internal: {
observableSyncConfiguration: SyncedOptionsGlobal;
waitForSet: typeof waitForSet;
runWithRetry: typeof runWithRetry;
} = {
observableSyncConfiguration,
waitForSet,
runWithRetry,
};