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