mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
collapse success/severity/done into status
This commit is contained in:
@@ -13,9 +13,12 @@ export type BootProbeIds =
|
||||
|
||||
export interface BootProbeResult {
|
||||
verdict?: string;
|
||||
success?: boolean;
|
||||
done?: boolean;
|
||||
severity?: 'fault' | 'warning' | 'hmm';
|
||||
// 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>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user