Notes/src/services/api-interface.ts

18 lines
338 B
TypeScript
Raw Normal View History

import type { OptionRow } from "../becca/entities/rows.js";
2024-04-03 23:18:39 +03:00
/**
* Response for /api/setup/status.
*/
export interface SetupStatusResponse {
syncVersion: number;
schemaExists: boolean;
}
/**
* Response for /api/setup/sync-seed.
*/
export interface SetupSyncSeedResponse {
syncVersion: number;
2025-01-09 18:07:02 +02:00
options: OptionRow[];
}