UNPKG

supastash

Version:

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

14 lines (13 loc) 1.04 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 { useSupastash } from "./hooks/supastashLogic"; export { syncAllTables, syncTable } from "./hooks/syncEngine"; export { supastashEventBus } from "./utils/events/eventBus"; export { supastash } from "./utils/query/builder"; export { dropAllTables, dropTable, wipeAllTables, wipeOldDataForAllTables, wipeOldDataForATable, wipeTable, } from "./utils/schema/wipeTables"; export { getAllTables } from "./utils/sync/getAllTables"; export { refreshAllTables, refreshTable, refreshTableWithPayload, } from "./utils/sync/refreshTables"; export { clearAllLocalDeleteLog, clearAllLocalSyncLog, clearLocalDeleteLog, clearLocalSyncLog, getLocalDeleteLog, getLocalSyncLog, setLocalDeleteLog, setLocalSyncLog, } from "./utils/syncStatus";