mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
07b80b1110
This self-test isn't perfect because we're running it from the backend instead of the frontend. Conceivably the backend might have trouble resolving its own url. Eventually we should move this test or something like it to something that executes in the frontend.
28 lines
539 B
TypeScript
28 lines
539 B
TypeScript
import { SandboxInfo } from 'app/common/SandboxInfo';
|
|
|
|
export type BootProbeIds =
|
|
'boot-page' |
|
|
'health-check' |
|
|
'reachable' |
|
|
'host-header' |
|
|
'sandboxing' |
|
|
'system-user' |
|
|
'authentication' |
|
|
'websockets'
|
|
;
|
|
|
|
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;
|