UNPKG

@directus/api

Version:

Directus is a real-time API and App dashboard for managing SQL database content

12 lines (11 loc) 422 B
export declare const SyncStatus: { readonly SYNCING: "SYNCING"; readonly IDLE: "IDLE"; }; export type SyncStatus = keyof typeof SyncStatus; export declare function getSyncStatus(): Promise<SyncStatus>; export declare function setSyncStatus(status: SyncStatus): Promise<void>; /** * Checks the filesystem lock file if we are currently synchronizing */ export declare function isSynchronizing(): Promise<boolean>;