test scripting changes
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s
This commit is contained in:
@@ -3,9 +3,58 @@ export type ScriptInfo = {
|
||||
path: string;
|
||||
};
|
||||
|
||||
export type ScriptUploadResponse = ScriptInfo & {
|
||||
pip?: {
|
||||
stdout?: string;
|
||||
stderr?: string;
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type UnitParsed = {
|
||||
service: string;
|
||||
exec_start?: string | null;
|
||||
name?: string | null;
|
||||
script_path?: string | null;
|
||||
qnum?: number | null;
|
||||
extra?: string | null;
|
||||
};
|
||||
|
||||
export type UnitStatus = {
|
||||
parsed: UnitParsed;
|
||||
active: boolean;
|
||||
};
|
||||
|
||||
export type UnitMapping = {
|
||||
service: string;
|
||||
parsed: UnitParsed;
|
||||
active: boolean;
|
||||
};
|
||||
|
||||
export type StatusForNameResponse = {
|
||||
name: string;
|
||||
mappings: UnitMapping[];
|
||||
};
|
||||
|
||||
export type OperationResult = {
|
||||
status: string;
|
||||
name: string;
|
||||
qnum?: number | null;
|
||||
service?: string | null;
|
||||
python?: string | null;
|
||||
};
|
||||
|
||||
export type DeleteResult = {
|
||||
name: string;
|
||||
units_removed: string[];
|
||||
units_failed: string[];
|
||||
files_removed: string[];
|
||||
files_failed: string[];
|
||||
errors: string[];
|
||||
};
|
||||
|
||||
export type EnableRequest = {
|
||||
qnum: number;
|
||||
service_name?: string | null;
|
||||
extra_args?: string | null;
|
||||
enable_at_boot?: boolean | null;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user