mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
5dc4706dc7
This adds some remaining parts of the boot page to the admin panel, and then removes the boot page.
31 lines
768 B
TypeScript
31 lines
768 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;
|
|
// Result of check.
|
|
// "success" is a positive outcome.
|
|
// "none" means no fault detected (but that the test is not exhaustive
|
|
// enough to claim "success").
|
|
// "fault" is a bad error, "warning" a ... warning, "hmm" almost a debug message.
|
|
status: 'success' | 'fault' | 'warning' | 'hmm' | 'none';
|
|
details?: Record<string, any>;
|
|
}
|
|
|
|
export interface BootProbeInfo {
|
|
id: BootProbeIds;
|
|
name: string;
|
|
}
|
|
|
|
export type SandboxingBootProbeDetails = SandboxInfo;
|