mirror of
https://github.com/zadam/trilium.git
synced 2026-03-20 19:01:37 +01:00
19 lines
359 B
TypeScript
19 lines
359 B
TypeScript
import type { OptionRow } from "@triliumnext/commons";
|
|
|
|
/**
|
|
* Response for /api/setup/status.
|
|
*/
|
|
export interface SetupStatusResponse {
|
|
syncVersion: number;
|
|
schemaExists: boolean;
|
|
totpEnabled: boolean;
|
|
}
|
|
|
|
/**
|
|
* Response for /api/setup/sync-seed.
|
|
*/
|
|
export interface SetupSyncSeedResponse {
|
|
syncVersion: number;
|
|
options: OptionRow[];
|
|
}
|