UNPKG

supastash

Version:

Offline-first sync engine for Supabase in React Native using SQLite

23 lines 1.92 kB
export { configureSupastash, getSupastashConfig } from "./core/config"; export { defineLocalSchema } from "./core/schemaManager"; export { getSupastashDb } from "./db/dbInitializer"; export { useSupastashData } from "./hooks/supastashData"; export { useSupastashFilters } from "./hooks/supastashFilters"; export { useSupastash } from "./hooks/supastashLogic"; export { syncAllTables, syncTable } from "./hooks/syncEngine"; export { useSupastashSyncStatus } from "./hooks/syncStatus"; export { supastashEventBus } from "./utils/events/eventBus"; export { supastash } from "./utils/query/builder"; export { refreshScreen } from "./utils/refreshScreenCalls"; export { dropAllTables, dropTable, wipeAllTables, wipeOldDataForAllTables, wipeOldDataForATable, wipeTable, } from "./utils/schema/wipeTables"; export { getSupastashRuntimeMode, reinitializeSupastash, } from "./utils/supastashMode"; export { getAllTables } from "./utils/sync/getAllTables"; export { updateFilters } from "./utils/sync/pullFromRemote/updateFilter"; export { upsertData } from "./utils/sync/pullFromRemote/updateLocalDb"; export { refreshAllTables, refreshTable, refreshTableWithPayload, } from "./utils/sync/refreshTables"; export { clearSyncCalls, getAllSyncTables, getSyncCall, registerSyncCall, unregisterSyncCall, } from "./utils/sync/registration/syncCalls"; export { clearAllLocalDeleteLog, clearAllLocalSyncLog, clearLocalDeleteLog, clearLocalSyncLog, clearSyncLog, getLocalDeleteLog, getSyncLog, resetSyncLog, setLocalDeleteLog, setLocalSyncLog, setSyncLog, } from "./utils/sync/status/syncStatus"; export type { CrudMethods } from "./types/query.types"; export type { RealtimeOptions, SupastashDataResult, SupastashFilter, } from "./types/realtimeData.types"; export type { SupastashConfig, SupastashHookReturn, SupastashSQLiteClientTypes, SupastashSQLiteDatabase, } from "./types/supastashConfig.types"; //# sourceMappingURL=index.d.ts.map