supastash
Version:
Offline-first sync engine for Supabase in React Native using SQLite
17 lines (16 loc) • 495 B
JavaScript
const DEFAULT_LAST_PULLED_AT = "2000-01-01T00:00:00Z";
const SYNC_STATUS_TABLE = "supastash_sync_status";
/**
* Gets the last synced timestamp for a given table
* @deprecated Use getSupastashSyncStatus instead
*/
export async function getLastPulledInfo(table) {
return DEFAULT_LAST_PULLED_AT;
}
/**
* Updates the last synced timestamp for a given table
* @deprecated Use setSupastashSyncStatus instead
*/
export async function updateLastPulledInfo(table, lastSyncedAt) {
return;
}