Open History to see the last commit
1// Re-export from main entry (types, utilities, etc.)
2export {
3 // Types
4 type OfflineTransaction,
5 type OfflineConfig,
6 type MutationValueCodec,
7 type OfflineMode,
8 type StorageAdapter,
9 type StorageDiagnostic,
10 type StorageDiagnosticCode,
11 type RetryPolicy,
12 type LeaderElection,
13 type OnlineDetector,
14 type CreateOfflineTransactionOptions,
15 type CreateOfflineActionOptions,
16 type SerializedError,
17 type SerializedMutation,
18 NonRetriableError,
19 // Storage adapters
20 IndexedDBAdapter,
21 LocalStorageAdapter,
22 // Retry policies
23 DefaultRetryPolicy,
24 BackoffCalculator,
25 // Coordination
26 WebLocksLeader,
27 BroadcastChannelLeader,
28 // Connectivity - export web detector too for flexibility
29 WebOnlineDetector,
30 DefaultOnlineDetector,
31 // API components
32 OfflineTransactionAPI,
33 createOfflineAction,
34 // Outbox management
35 OutboxManager,
36 TransactionSerializer,
37 // Execution engine
38 KeyScheduler,
39 TransactionExecutor,
40} from '../index'
41
42// Export RN-specific detector
43export { ReactNativeOnlineDetector } from '../connectivity/ReactNativeOnlineDetector'
44
45// Export RN-configured executor
46export { OfflineExecutor, startOfflineExecutor } from './OfflineExecutor'