trilium/apps/server/src/services/api-interface.ts
2025-04-22 17:16:41 +03:00

18 lines
333 B
TypeScript

import type { OptionRow } from "@triliumnext/commons";
/**
* Response for /api/setup/status.
*/
export interface SetupStatusResponse {
syncVersion: number;
schemaExists: boolean;
}
/**
* Response for /api/setup/sync-seed.
*/
export interface SetupSyncSeedResponse {
syncVersion: number;
options: OptionRow[];
}