gristlabs_grist-core/app/common/BootProbe.ts

27 lines
520 B
TypeScript
Raw Normal View History

import { SandboxInfo } from 'app/common/SandboxInfo';
export type BootProbeIds =
'boot-page' |
'health-check' |
'reachable' |
'host-header' |
'sandboxing' |
'system-user' |
'authentication'
;
export interface BootProbeResult {
verdict?: string;
success?: boolean;
done?: boolean;
severity?: 'fault' | 'warning' | 'hmm';
details?: Record<string, any>;
}
export interface BootProbeInfo {
id: BootProbeIds;
name: string;
}
export type SandboxingBootProbeDetails = SandboxInfo;