-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
53 lines (47 loc) · 1.26 KB
/
Copy pathtypes.ts
File metadata and controls
53 lines (47 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
export type ScenarioStatus = "ready" | "review" | "critical" | "watch";
export type ExecutionMode = "dry-run ready" | "manual review" | "retry queued" | "fail-fast";
export interface DashboardSummary {
scenarioCount: number;
readyScenarios: number;
secretReplacementChecks: number;
failureSimulations: number;
leadRecommendation: string;
}
export interface ConnectorScenario {
connectorName: string;
operationName: string;
endpoint: string;
authModel: string;
requiredInputs: string[];
executionMode: ExecutionMode;
expectedOutcome: string;
rationale: string;
}
export interface SecretReplacementCase {
key: string;
sourcePattern: string;
replacementSource: string;
status: ScenarioStatus;
recommendation: string;
}
export interface FailureSimulation {
scenarioName: string;
trigger: string;
observedFailure: string;
retryPolicy: string;
operatorAction: string;
status: ScenarioStatus;
}
export interface VerificationCheck {
category: string;
question: string;
recommendation: string;
status: ScenarioStatus;
}
export interface Snapshot {
summary: DashboardSummary;
scenarios: ConnectorScenario[];
secretCases: SecretReplacementCase[];
failureSimulations: FailureSimulation[];
verificationChecks: VerificationCheck[];
}