mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
20 lines
509 B
TypeScript
20 lines
509 B
TypeScript
|
|
export const SETUP_STEP_STATUSES = [
|
||
|
|
"pending",
|
||
|
|
"running",
|
||
|
|
"success",
|
||
|
|
"failure",
|
||
|
|
"cancelled", // server should be aggregating cancelled installs with failed, check here just in case
|
||
|
|
] as const;
|
||
|
|
|
||
|
|
export type SetupStepStatus = typeof SETUP_STEP_STATUSES[number];
|
||
|
|
|
||
|
|
export const SETUP_STEP_TYPES = ["software_install", "script_run"];
|
||
|
|
|
||
|
|
export type SetupStepType = typeof SETUP_STEP_TYPES[number];
|
||
|
|
|
||
|
|
export interface ISetupStep {
|
||
|
|
name: string | null;
|
||
|
|
status: SetupStepStatus;
|
||
|
|
type?: SetupStepType;
|
||
|
|
}
|