UNPKG

supastash

Version:

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

21 lines (20 loc) 1.65 kB
export { configureSupastash, getSupastashConfig } from "./core/config"; export { defineLocalSchema } from "./core/schemaManager"; export { getSupastashDb } from "./db/dbInitializer"; export { useSupastashData } from "./hooks/supastashData"; //export { useSupastashLiteQuery } from "./hooks/supastashLiteQuery"; 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";