You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gristlabs_grist-core/app/common/SandboxInfo.ts

10 lines
512 B

export interface SandboxInfo {
flavor: string; // the type of sandbox in use (gvisor, unsandboxed, etc)
functional: boolean; // whether the sandbox can run code
effective: boolean; // whether the sandbox is actually giving protection
configured: boolean; // whether a sandbox type has been specified
// if sandbox fails to run, this records the last step that worked
lastSuccessfulStep: 'none' | 'create' | 'use' | 'all';
error?: string; // if sandbox fails, this stores an error
}