@agentic-sdlc-kit/contracts 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/capability.d.ts +12 -1
- package/dist/agent/capability.d.ts.map +1 -1
- package/dist/agent/errors.d.ts +29 -11
- package/dist/agent/errors.d.ts.map +1 -1
- package/dist/agent/events.d.ts +42 -153
- package/dist/agent/events.d.ts.map +1 -1
- package/dist/agent/execution.d.ts +151 -415
- package/dist/agent/execution.d.ts.map +1 -1
- package/dist/agent/policy.d.ts +30 -92
- package/dist/agent/policy.d.ts.map +1 -1
- package/dist/agent/session.d.ts +1 -7
- package/dist/agent/session.d.ts.map +1 -1
- package/dist/agent-tools/index.d.ts +20 -58
- package/dist/agent-tools/index.d.ts.map +1 -1
- package/dist/application/application-context.d.ts +80 -582
- package/dist/application/application-context.d.ts.map +1 -1
- package/dist/application/application-persistence.d.ts +161 -924
- package/dist/application/application-persistence.d.ts.map +1 -1
- package/dist/application/application-state.d.ts +94 -70
- package/dist/application/application-state.d.ts.map +1 -1
- package/dist/architecture/api-contract.d.ts +56 -208
- package/dist/architecture/api-contract.d.ts.map +1 -1
- package/dist/architecture/architecture-approval.d.ts +2 -26
- package/dist/architecture/architecture-approval.d.ts.map +1 -1
- package/dist/architecture/architecture-options.d.ts +30 -82
- package/dist/architecture/architecture-options.d.ts.map +1 -1
- package/dist/architecture/component-map.d.ts +34 -60
- package/dist/architecture/component-map.d.ts.map +1 -1
- package/dist/architecture/data-model.d.ts +91 -205
- package/dist/architecture/data-model.d.ts.map +1 -1
- package/dist/architecture/operational-design.d.ts +48 -115
- package/dist/architecture/operational-design.d.ts.map +1 -1
- package/dist/architecture/security-design.d.ts +40 -90
- package/dist/architecture/security-design.d.ts.map +1 -1
- package/dist/benchmark/bench.d.ts +44 -263
- package/dist/benchmark/bench.d.ts.map +1 -1
- package/dist/common/identifier.d.ts +1 -1
- package/dist/common/identifier.d.ts.map +1 -1
- package/dist/constitution/cli-output.d.ts +58 -618
- package/dist/constitution/cli-output.d.ts.map +1 -1
- package/dist/constitution/result.d.ts +31 -84
- package/dist/constitution/result.d.ts.map +1 -1
- package/dist/constitution/rule.d.ts +97 -408
- package/dist/constitution/rule.d.ts.map +1 -1
- package/dist/context/project-context.d.ts +57 -227
- package/dist/context/project-context.d.ts.map +1 -1
- package/dist/evaluation/benchmark.d.ts +26 -66
- package/dist/evaluation/benchmark.d.ts.map +1 -1
- package/dist/evaluation/metrics.d.ts +15 -120
- package/dist/evaluation/metrics.d.ts.map +1 -1
- package/dist/evolution/experiment.d.ts +29 -51
- package/dist/evolution/experiment.d.ts.map +1 -1
- package/dist/evolution/improvement-hypothesis.d.ts +56 -78
- package/dist/evolution/improvement-hypothesis.d.ts.map +1 -1
- package/dist/execution/execution-profile.d.ts +25 -111
- package/dist/execution/execution-profile.d.ts.map +1 -1
- package/dist/improvement/config.d.ts +3 -17
- package/dist/improvement/config.d.ts.map +1 -1
- package/dist/improvement/config.js +1 -1
- package/dist/improvement/config.js.map +1 -1
- package/dist/improvement/finding.d.ts +24 -71
- package/dist/improvement/finding.d.ts.map +1 -1
- package/dist/improvement/issue.d.ts +10 -39
- package/dist/improvement/issue.d.ts.map +1 -1
- package/dist/improvement/kit-feedback.d.ts +45 -29
- package/dist/improvement/kit-feedback.d.ts.map +1 -1
- package/dist/improvement/review.d.ts +22 -28
- package/dist/improvement/review.d.ts.map +1 -1
- package/dist/installer/install-plan.d.ts +52 -137
- package/dist/installer/install-plan.d.ts.map +1 -1
- package/dist/installer/ownership-manifest.d.ts +7 -62
- package/dist/installer/ownership-manifest.d.ts.map +1 -1
- package/dist/installer/package-manifest.d.ts +25 -40
- package/dist/installer/package-manifest.d.ts.map +1 -1
- package/dist/learning/engineering-lesson.d.ts +19 -65
- package/dist/learning/engineering-lesson.d.ts.map +1 -1
- package/dist/learning/engineering-memory.d.ts +32 -64
- package/dist/learning/engineering-memory.d.ts.map +1 -1
- package/dist/learning/experience-episode.d.ts +33 -141
- package/dist/learning/experience-episode.d.ts.map +1 -1
- package/dist/learning/experience.d.ts +16 -50
- package/dist/learning/experience.d.ts.map +1 -1
- package/dist/learning/hypothesis.d.ts +14 -39
- package/dist/learning/hypothesis.d.ts.map +1 -1
- package/dist/learning/learning-event.d.ts +32 -62
- package/dist/learning/learning-event.d.ts.map +1 -1
- package/dist/learning/memory.d.ts +12 -28
- package/dist/learning/memory.d.ts.map +1 -1
- package/dist/learning/promotion.d.ts +7 -20
- package/dist/learning/promotion.d.ts.map +1 -1
- package/dist/maintenance/bug-fix-workflow.d.ts +49 -30
- package/dist/maintenance/bug-fix-workflow.d.ts.map +1 -1
- package/dist/maintenance/bug-report.d.ts +39 -46
- package/dist/maintenance/bug-report.d.ts.map +1 -1
- package/dist/maintenance/performance-baseline.d.ts +18 -64
- package/dist/maintenance/performance-baseline.d.ts.map +1 -1
- package/dist/maintenance/refactor-contract.d.ts +47 -133
- package/dist/maintenance/refactor-contract.d.ts.map +1 -1
- package/dist/maintenance/refactor-workflow.d.ts +50 -51
- package/dist/maintenance/refactor-workflow.d.ts.map +1 -1
- package/dist/observer/event-schema.d.ts +31 -31
- package/dist/observer/event-schema.d.ts.map +1 -1
- package/dist/observer/journal.d.ts +32 -57
- package/dist/observer/journal.d.ts.map +1 -1
- package/dist/observer/journal.js +1 -1
- package/dist/observer/journal.js.map +1 -1
- package/dist/observer/retention.d.ts +2 -16
- package/dist/observer/retention.d.ts.map +1 -1
- package/dist/observer/run-summary.d.ts +45 -213
- package/dist/observer/run-summary.d.ts.map +1 -1
- package/dist/onboard/onboard-report.d.ts +85 -279
- package/dist/onboard/onboard-report.d.ts.map +1 -1
- package/dist/patterns/pattern.d.ts +28 -74
- package/dist/patterns/pattern.d.ts.map +1 -1
- package/dist/planning/task.d.ts +70 -149
- package/dist/planning/task.d.ts.map +1 -1
- package/dist/policy/policy.d.ts +61 -56
- package/dist/policy/policy.d.ts.map +1 -1
- package/dist/product/mvp-scope.d.ts +8 -18
- package/dist/product/mvp-scope.d.ts.map +1 -1
- package/dist/product/product-brief.d.ts +6 -74
- package/dist/product/product-brief.d.ts.map +1 -1
- package/dist/product/requirements.d.ts +99 -215
- package/dist/product/requirements.d.ts.map +1 -1
- package/dist/product/traceability.d.ts +7 -39
- package/dist/product/traceability.d.ts.map +1 -1
- package/dist/project/project-profile.d.ts +34 -146
- package/dist/project/project-profile.d.ts.map +1 -1
- package/dist/project/repository-scan.d.ts +8 -64
- package/dist/project/repository-scan.d.ts.map +1 -1
- package/dist/routing/capability-registry.d.ts +15 -67
- package/dist/routing/capability-registry.d.ts.map +1 -1
- package/dist/routing/escalation.d.ts +10 -17
- package/dist/routing/escalation.d.ts.map +1 -1
- package/dist/routing/measured-routing.d.ts +18 -28
- package/dist/routing/measured-routing.d.ts.map +1 -1
- package/dist/routing/routing-policy.d.ts +56 -84
- package/dist/routing/routing-policy.d.ts.map +1 -1
- package/dist/routing/routing-request.d.ts +50 -46
- package/dist/routing/routing-request.d.ts.map +1 -1
- package/dist/runtime-guard/action-classification.d.ts +66 -36
- package/dist/runtime-guard/action-classification.d.ts.map +1 -1
- package/dist/runtime-guard/action-classification.js +1 -1
- package/dist/runtime-guard/action-classification.js.map +1 -1
- package/dist/runtime-guard/audit-event.d.ts +45 -77
- package/dist/runtime-guard/audit-event.d.ts.map +1 -1
- package/dist/runtime-guard/policy-schema.d.ts +100 -116
- package/dist/runtime-guard/policy-schema.d.ts.map +1 -1
- package/dist/scaffolding/scaffold-contract.d.ts +46 -450
- package/dist/scaffolding/scaffold-contract.d.ts.map +1 -1
- package/dist/scaffolding/template-manifest.d.ts +5 -77
- package/dist/scaffolding/template-manifest.d.ts.map +1 -1
- package/dist/secret-guard/detection-rule.d.ts +25 -19
- package/dist/secret-guard/detection-rule.d.ts.map +1 -1
- package/dist/secret-guard/finding.d.ts +70 -69
- package/dist/secret-guard/finding.d.ts.map +1 -1
- package/dist/secret-guard/redaction-policy.d.ts +7 -17
- package/dist/secret-guard/redaction-policy.d.ts.map +1 -1
- package/dist/secret-guard/scanner-failure.d.ts +17 -45
- package/dist/secret-guard/scanner-failure.d.ts.map +1 -1
- package/dist/specification/specification.d.ts +48 -184
- package/dist/specification/specification.d.ts.map +1 -1
- package/dist/stack-pack/manifest.d.ts +19 -90
- package/dist/stack-pack/manifest.d.ts.map +1 -1
- package/dist/verification/report.d.ts +49 -164
- package/dist/verification/report.d.ts.map +1 -1
- package/dist/verification/strength.d.ts +62 -188
- package/dist/verification/strength.d.ts.map +1 -1
- package/dist/workflow/next-action.d.ts +55 -137
- package/dist/workflow/next-action.d.ts.map +1 -1
- package/dist/workflow/workflow.d.ts +50 -50
- package/dist/workflow/workflow.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/improvement/config.ts +1 -1
- package/src/observer/journal.ts +1 -1
- package/src/runtime-guard/action-classification.ts +1 -1
- package/src/zod-defaults.test.ts +28 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-persistence.d.ts","sourceRoot":"","sources":["../../src/application/application-persistence.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,sCAAsC,EAAG,CAAU,CAAC;AAEjE,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"application-persistence.d.ts","sourceRoot":"","sources":["../../src/application/application-persistence.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,sCAAsC,EAAG,CAAU,CAAC;AAEjE,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,yBAAyB,GAAG,sBAAsB,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1,89 +1,113 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { RunId, TaskId } from '../common/identifier.js';
|
|
3
|
-
export declare const APPLICATION_STAGE: z.ZodEnum<
|
|
3
|
+
export declare const APPLICATION_STAGE: z.ZodEnum<{
|
|
4
|
+
verification: "verification";
|
|
5
|
+
review: "review";
|
|
6
|
+
discovery: "discovery";
|
|
7
|
+
intake: "intake";
|
|
8
|
+
requirements: "requirements";
|
|
9
|
+
architecture: "architecture";
|
|
10
|
+
planning: "planning";
|
|
11
|
+
scaffolding: "scaffolding";
|
|
12
|
+
implementation: "implementation";
|
|
13
|
+
release: "release";
|
|
14
|
+
}>;
|
|
4
15
|
export type ApplicationStage = z.infer<typeof APPLICATION_STAGE>;
|
|
5
|
-
export declare const APPLICATION_STATUS: z.ZodEnum<
|
|
16
|
+
export declare const APPLICATION_STATUS: z.ZodEnum<{
|
|
17
|
+
failed: "failed";
|
|
18
|
+
blocked: "blocked";
|
|
19
|
+
pending: "pending";
|
|
20
|
+
in_progress: "in_progress";
|
|
21
|
+
completed: "completed";
|
|
22
|
+
}>;
|
|
6
23
|
export type ApplicationStatus = z.infer<typeof APPLICATION_STATUS>;
|
|
7
|
-
export declare const APPLICATION_TRANSITION: z.ZodEnum<
|
|
24
|
+
export declare const APPLICATION_TRANSITION: z.ZodEnum<{
|
|
25
|
+
start: "start";
|
|
26
|
+
block: "block";
|
|
27
|
+
resume: "resume";
|
|
28
|
+
complete: "complete";
|
|
29
|
+
fail: "fail";
|
|
30
|
+
advance: "advance";
|
|
31
|
+
revise: "revise";
|
|
32
|
+
}>;
|
|
8
33
|
export type ApplicationTransition = z.infer<typeof APPLICATION_TRANSITION>;
|
|
9
34
|
export declare const ApplicationStateSchema: z.ZodObject<{
|
|
10
35
|
schemaVersion: z.ZodLiteral<1>;
|
|
11
36
|
runId: z.ZodString;
|
|
12
|
-
status: z.ZodEnum<
|
|
13
|
-
|
|
37
|
+
status: z.ZodEnum<{
|
|
38
|
+
failed: "failed";
|
|
39
|
+
blocked: "blocked";
|
|
40
|
+
pending: "pending";
|
|
41
|
+
in_progress: "in_progress";
|
|
42
|
+
completed: "completed";
|
|
43
|
+
}>;
|
|
44
|
+
stage: z.ZodEnum<{
|
|
45
|
+
verification: "verification";
|
|
46
|
+
review: "review";
|
|
47
|
+
discovery: "discovery";
|
|
48
|
+
intake: "intake";
|
|
49
|
+
requirements: "requirements";
|
|
50
|
+
architecture: "architecture";
|
|
51
|
+
planning: "planning";
|
|
52
|
+
scaffolding: "scaffolding";
|
|
53
|
+
implementation: "implementation";
|
|
54
|
+
release: "release";
|
|
55
|
+
}>;
|
|
14
56
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
15
57
|
currentTaskId: z.ZodOptional<z.ZodString>;
|
|
16
58
|
stageHistory: z.ZodArray<z.ZodObject<{
|
|
17
|
-
stage: z.ZodEnum<
|
|
59
|
+
stage: z.ZodEnum<{
|
|
60
|
+
verification: "verification";
|
|
61
|
+
review: "review";
|
|
62
|
+
discovery: "discovery";
|
|
63
|
+
intake: "intake";
|
|
64
|
+
requirements: "requirements";
|
|
65
|
+
architecture: "architecture";
|
|
66
|
+
planning: "planning";
|
|
67
|
+
scaffolding: "scaffolding";
|
|
68
|
+
implementation: "implementation";
|
|
69
|
+
release: "release";
|
|
70
|
+
}>;
|
|
18
71
|
enteredAt: z.ZodString;
|
|
19
72
|
exitedAt: z.ZodOptional<z.ZodString>;
|
|
20
|
-
outcome: z.ZodOptional<z.ZodEnum<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
outcome?: "failed" | "blocked" | "pending" | "completed" | "advanced" | "revised" | undefined;
|
|
30
|
-
exitedAt?: string | undefined;
|
|
31
|
-
}>, "many">;
|
|
73
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
failed: "failed";
|
|
75
|
+
blocked: "blocked";
|
|
76
|
+
pending: "pending";
|
|
77
|
+
completed: "completed";
|
|
78
|
+
advanced: "advanced";
|
|
79
|
+
revised: "revised";
|
|
80
|
+
}>>;
|
|
81
|
+
}, z.core.$strip>>;
|
|
32
82
|
revisions: z.ZodArray<z.ZodObject<{
|
|
33
|
-
fromStage: z.ZodEnum<
|
|
34
|
-
|
|
83
|
+
fromStage: z.ZodEnum<{
|
|
84
|
+
verification: "verification";
|
|
85
|
+
review: "review";
|
|
86
|
+
discovery: "discovery";
|
|
87
|
+
intake: "intake";
|
|
88
|
+
requirements: "requirements";
|
|
89
|
+
architecture: "architecture";
|
|
90
|
+
planning: "planning";
|
|
91
|
+
scaffolding: "scaffolding";
|
|
92
|
+
implementation: "implementation";
|
|
93
|
+
release: "release";
|
|
94
|
+
}>;
|
|
95
|
+
toStage: z.ZodEnum<{
|
|
96
|
+
verification: "verification";
|
|
97
|
+
review: "review";
|
|
98
|
+
discovery: "discovery";
|
|
99
|
+
intake: "intake";
|
|
100
|
+
requirements: "requirements";
|
|
101
|
+
architecture: "architecture";
|
|
102
|
+
planning: "planning";
|
|
103
|
+
scaffolding: "scaffolding";
|
|
104
|
+
implementation: "implementation";
|
|
105
|
+
release: "release";
|
|
106
|
+
}>;
|
|
35
107
|
reason: z.ZodString;
|
|
36
108
|
revisedAt: z.ZodString;
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
fromStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
40
|
-
toStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
41
|
-
revisedAt: string;
|
|
42
|
-
}, {
|
|
43
|
-
reason: string;
|
|
44
|
-
fromStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
45
|
-
toStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
46
|
-
revisedAt: string;
|
|
47
|
-
}>, "many">;
|
|
48
|
-
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
status: "failed" | "blocked" | "pending" | "in_progress" | "completed";
|
|
50
|
-
schemaVersion: 1;
|
|
51
|
-
runId: string;
|
|
52
|
-
stage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
53
|
-
stageHistory: {
|
|
54
|
-
stage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
55
|
-
enteredAt: string;
|
|
56
|
-
outcome?: "failed" | "blocked" | "pending" | "completed" | "advanced" | "revised" | undefined;
|
|
57
|
-
exitedAt?: string | undefined;
|
|
58
|
-
}[];
|
|
59
|
-
revisions: {
|
|
60
|
-
reason: string;
|
|
61
|
-
fromStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
62
|
-
toStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
63
|
-
revisedAt: string;
|
|
64
|
-
}[];
|
|
65
|
-
startedAt?: string | undefined;
|
|
66
|
-
currentTaskId?: string | undefined;
|
|
67
|
-
}, {
|
|
68
|
-
status: "failed" | "blocked" | "pending" | "in_progress" | "completed";
|
|
69
|
-
schemaVersion: 1;
|
|
70
|
-
runId: string;
|
|
71
|
-
stage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
72
|
-
stageHistory: {
|
|
73
|
-
stage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
74
|
-
enteredAt: string;
|
|
75
|
-
outcome?: "failed" | "blocked" | "pending" | "completed" | "advanced" | "revised" | undefined;
|
|
76
|
-
exitedAt?: string | undefined;
|
|
77
|
-
}[];
|
|
78
|
-
revisions: {
|
|
79
|
-
reason: string;
|
|
80
|
-
fromStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
81
|
-
toStage: "verification" | "review" | "discovery" | "intake" | "requirements" | "architecture" | "planning" | "scaffolding" | "implementation" | "release";
|
|
82
|
-
revisedAt: string;
|
|
83
|
-
}[];
|
|
84
|
-
startedAt?: string | undefined;
|
|
85
|
-
currentTaskId?: string | undefined;
|
|
86
|
-
}>;
|
|
109
|
+
}, z.core.$strip>>;
|
|
110
|
+
}, z.core.$strip>;
|
|
87
111
|
export type ApplicationState = z.infer<typeof ApplicationStateSchema>;
|
|
88
112
|
export type { RunId, TaskId };
|
|
89
113
|
//# sourceMappingURL=application-state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-state.d.ts","sourceRoot":"","sources":["../../src/application/application-state.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"application-state.d.ts","sourceRoot":"","sources":["../../src/application/application-state.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,iBAAiB;;;;;;;;;;;EAW5B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE,eAAO,MAAM,kBAAkB;;;;;;EAM7B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEnE,eAAO,MAAM,sBAAsB;;;;;;;;EAQjC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE3E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,255 +1,103 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const HttpMethodSchema: z.ZodEnum<
|
|
3
|
-
|
|
2
|
+
export declare const HttpMethodSchema: z.ZodEnum<{
|
|
3
|
+
GET: "GET";
|
|
4
|
+
POST: "POST";
|
|
5
|
+
PUT: "PUT";
|
|
6
|
+
PATCH: "PATCH";
|
|
7
|
+
DELETE: "DELETE";
|
|
8
|
+
}>;
|
|
9
|
+
export declare const ParameterLocationSchema: z.ZodEnum<{
|
|
10
|
+
path: "path";
|
|
11
|
+
query: "query";
|
|
12
|
+
header: "header";
|
|
13
|
+
body: "body";
|
|
14
|
+
}>;
|
|
4
15
|
export declare const ParameterSchema: z.ZodObject<{
|
|
5
16
|
name: z.ZodString;
|
|
6
|
-
location: z.ZodEnum<
|
|
17
|
+
location: z.ZodEnum<{
|
|
18
|
+
path: "path";
|
|
19
|
+
query: "query";
|
|
20
|
+
header: "header";
|
|
21
|
+
body: "body";
|
|
22
|
+
}>;
|
|
7
23
|
type: z.ZodString;
|
|
8
24
|
required: z.ZodBoolean;
|
|
9
25
|
description: z.ZodString;
|
|
10
|
-
},
|
|
11
|
-
type: string;
|
|
12
|
-
name: string;
|
|
13
|
-
required: boolean;
|
|
14
|
-
description: string;
|
|
15
|
-
location: "path" | "query" | "header" | "body";
|
|
16
|
-
}, {
|
|
17
|
-
type: string;
|
|
18
|
-
name: string;
|
|
19
|
-
required: boolean;
|
|
20
|
-
description: string;
|
|
21
|
-
location: "path" | "query" | "header" | "body";
|
|
22
|
-
}>;
|
|
26
|
+
}, z.core.$strip>;
|
|
23
27
|
export declare const ResponseSchema: z.ZodObject<{
|
|
24
28
|
status: z.ZodNumber;
|
|
25
29
|
description: z.ZodString;
|
|
26
30
|
bodyRef: z.ZodOptional<z.ZodString>;
|
|
27
|
-
},
|
|
28
|
-
status: number;
|
|
29
|
-
description: string;
|
|
30
|
-
bodyRef?: string | undefined;
|
|
31
|
-
}, {
|
|
32
|
-
status: number;
|
|
33
|
-
description: string;
|
|
34
|
-
bodyRef?: string | undefined;
|
|
35
|
-
}>;
|
|
31
|
+
}, z.core.$strip>;
|
|
36
32
|
export declare const EndpointSchema: z.ZodObject<{
|
|
37
33
|
id: z.ZodString;
|
|
38
|
-
method: z.ZodEnum<
|
|
34
|
+
method: z.ZodEnum<{
|
|
35
|
+
GET: "GET";
|
|
36
|
+
POST: "POST";
|
|
37
|
+
PUT: "PUT";
|
|
38
|
+
PATCH: "PATCH";
|
|
39
|
+
DELETE: "DELETE";
|
|
40
|
+
}>;
|
|
39
41
|
path: z.ZodString;
|
|
40
42
|
operationId: z.ZodString;
|
|
41
43
|
summary: z.ZodString;
|
|
42
44
|
parameters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
43
45
|
name: z.ZodString;
|
|
44
|
-
location: z.ZodEnum<
|
|
46
|
+
location: z.ZodEnum<{
|
|
47
|
+
path: "path";
|
|
48
|
+
query: "query";
|
|
49
|
+
header: "header";
|
|
50
|
+
body: "body";
|
|
51
|
+
}>;
|
|
45
52
|
type: z.ZodString;
|
|
46
53
|
required: z.ZodBoolean;
|
|
47
54
|
description: z.ZodString;
|
|
48
|
-
},
|
|
49
|
-
type: string;
|
|
50
|
-
name: string;
|
|
51
|
-
required: boolean;
|
|
52
|
-
description: string;
|
|
53
|
-
location: "path" | "query" | "header" | "body";
|
|
54
|
-
}, {
|
|
55
|
-
type: string;
|
|
56
|
-
name: string;
|
|
57
|
-
required: boolean;
|
|
58
|
-
description: string;
|
|
59
|
-
location: "path" | "query" | "header" | "body";
|
|
60
|
-
}>, "many">>;
|
|
55
|
+
}, z.core.$strip>>>;
|
|
61
56
|
responses: z.ZodArray<z.ZodObject<{
|
|
62
57
|
status: z.ZodNumber;
|
|
63
58
|
description: z.ZodString;
|
|
64
59
|
bodyRef: z.ZodOptional<z.ZodString>;
|
|
65
|
-
},
|
|
66
|
-
status: number;
|
|
67
|
-
description: string;
|
|
68
|
-
bodyRef?: string | undefined;
|
|
69
|
-
}, {
|
|
70
|
-
status: number;
|
|
71
|
-
description: string;
|
|
72
|
-
bodyRef?: string | undefined;
|
|
73
|
-
}>, "many">;
|
|
60
|
+
}, z.core.$strip>>;
|
|
74
61
|
requiresAuth: z.ZodDefault<z.ZodBoolean>;
|
|
75
|
-
requiredRoles: z.ZodDefault<z.ZodArray<z.ZodString
|
|
76
|
-
},
|
|
77
|
-
path: string;
|
|
78
|
-
summary: string;
|
|
79
|
-
id: string;
|
|
80
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
81
|
-
operationId: string;
|
|
82
|
-
parameters: {
|
|
83
|
-
type: string;
|
|
84
|
-
name: string;
|
|
85
|
-
required: boolean;
|
|
86
|
-
description: string;
|
|
87
|
-
location: "path" | "query" | "header" | "body";
|
|
88
|
-
}[];
|
|
89
|
-
responses: {
|
|
90
|
-
status: number;
|
|
91
|
-
description: string;
|
|
92
|
-
bodyRef?: string | undefined;
|
|
93
|
-
}[];
|
|
94
|
-
requiresAuth: boolean;
|
|
95
|
-
requiredRoles: string[];
|
|
96
|
-
}, {
|
|
97
|
-
path: string;
|
|
98
|
-
summary: string;
|
|
99
|
-
id: string;
|
|
100
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
101
|
-
operationId: string;
|
|
102
|
-
responses: {
|
|
103
|
-
status: number;
|
|
104
|
-
description: string;
|
|
105
|
-
bodyRef?: string | undefined;
|
|
106
|
-
}[];
|
|
107
|
-
parameters?: {
|
|
108
|
-
type: string;
|
|
109
|
-
name: string;
|
|
110
|
-
required: boolean;
|
|
111
|
-
description: string;
|
|
112
|
-
location: "path" | "query" | "header" | "body";
|
|
113
|
-
}[] | undefined;
|
|
114
|
-
requiresAuth?: boolean | undefined;
|
|
115
|
-
requiredRoles?: string[] | undefined;
|
|
116
|
-
}>;
|
|
62
|
+
requiredRoles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
63
|
+
}, z.core.$strip>;
|
|
117
64
|
export declare const ApiContractSchema: z.ZodObject<{
|
|
118
65
|
schemaVersion: z.ZodLiteral<1>;
|
|
119
66
|
briefId: z.ZodString;
|
|
120
67
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
121
68
|
endpoints: z.ZodArray<z.ZodObject<{
|
|
122
69
|
id: z.ZodString;
|
|
123
|
-
method: z.ZodEnum<
|
|
70
|
+
method: z.ZodEnum<{
|
|
71
|
+
GET: "GET";
|
|
72
|
+
POST: "POST";
|
|
73
|
+
PUT: "PUT";
|
|
74
|
+
PATCH: "PATCH";
|
|
75
|
+
DELETE: "DELETE";
|
|
76
|
+
}>;
|
|
124
77
|
path: z.ZodString;
|
|
125
78
|
operationId: z.ZodString;
|
|
126
79
|
summary: z.ZodString;
|
|
127
80
|
parameters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
128
81
|
name: z.ZodString;
|
|
129
|
-
location: z.ZodEnum<
|
|
82
|
+
location: z.ZodEnum<{
|
|
83
|
+
path: "path";
|
|
84
|
+
query: "query";
|
|
85
|
+
header: "header";
|
|
86
|
+
body: "body";
|
|
87
|
+
}>;
|
|
130
88
|
type: z.ZodString;
|
|
131
89
|
required: z.ZodBoolean;
|
|
132
90
|
description: z.ZodString;
|
|
133
|
-
},
|
|
134
|
-
type: string;
|
|
135
|
-
name: string;
|
|
136
|
-
required: boolean;
|
|
137
|
-
description: string;
|
|
138
|
-
location: "path" | "query" | "header" | "body";
|
|
139
|
-
}, {
|
|
140
|
-
type: string;
|
|
141
|
-
name: string;
|
|
142
|
-
required: boolean;
|
|
143
|
-
description: string;
|
|
144
|
-
location: "path" | "query" | "header" | "body";
|
|
145
|
-
}>, "many">>;
|
|
91
|
+
}, z.core.$strip>>>;
|
|
146
92
|
responses: z.ZodArray<z.ZodObject<{
|
|
147
93
|
status: z.ZodNumber;
|
|
148
94
|
description: z.ZodString;
|
|
149
95
|
bodyRef: z.ZodOptional<z.ZodString>;
|
|
150
|
-
},
|
|
151
|
-
status: number;
|
|
152
|
-
description: string;
|
|
153
|
-
bodyRef?: string | undefined;
|
|
154
|
-
}, {
|
|
155
|
-
status: number;
|
|
156
|
-
description: string;
|
|
157
|
-
bodyRef?: string | undefined;
|
|
158
|
-
}>, "many">;
|
|
96
|
+
}, z.core.$strip>>;
|
|
159
97
|
requiresAuth: z.ZodDefault<z.ZodBoolean>;
|
|
160
|
-
requiredRoles: z.ZodDefault<z.ZodArray<z.ZodString
|
|
161
|
-
},
|
|
162
|
-
|
|
163
|
-
summary: string;
|
|
164
|
-
id: string;
|
|
165
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
166
|
-
operationId: string;
|
|
167
|
-
parameters: {
|
|
168
|
-
type: string;
|
|
169
|
-
name: string;
|
|
170
|
-
required: boolean;
|
|
171
|
-
description: string;
|
|
172
|
-
location: "path" | "query" | "header" | "body";
|
|
173
|
-
}[];
|
|
174
|
-
responses: {
|
|
175
|
-
status: number;
|
|
176
|
-
description: string;
|
|
177
|
-
bodyRef?: string | undefined;
|
|
178
|
-
}[];
|
|
179
|
-
requiresAuth: boolean;
|
|
180
|
-
requiredRoles: string[];
|
|
181
|
-
}, {
|
|
182
|
-
path: string;
|
|
183
|
-
summary: string;
|
|
184
|
-
id: string;
|
|
185
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
186
|
-
operationId: string;
|
|
187
|
-
responses: {
|
|
188
|
-
status: number;
|
|
189
|
-
description: string;
|
|
190
|
-
bodyRef?: string | undefined;
|
|
191
|
-
}[];
|
|
192
|
-
parameters?: {
|
|
193
|
-
type: string;
|
|
194
|
-
name: string;
|
|
195
|
-
required: boolean;
|
|
196
|
-
description: string;
|
|
197
|
-
location: "path" | "query" | "header" | "body";
|
|
198
|
-
}[] | undefined;
|
|
199
|
-
requiresAuth?: boolean | undefined;
|
|
200
|
-
requiredRoles?: string[] | undefined;
|
|
201
|
-
}>, "many">;
|
|
202
|
-
}, "strip", z.ZodTypeAny, {
|
|
203
|
-
schemaVersion: 1;
|
|
204
|
-
briefId: string;
|
|
205
|
-
endpoints: {
|
|
206
|
-
path: string;
|
|
207
|
-
summary: string;
|
|
208
|
-
id: string;
|
|
209
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
210
|
-
operationId: string;
|
|
211
|
-
parameters: {
|
|
212
|
-
type: string;
|
|
213
|
-
name: string;
|
|
214
|
-
required: boolean;
|
|
215
|
-
description: string;
|
|
216
|
-
location: "path" | "query" | "header" | "body";
|
|
217
|
-
}[];
|
|
218
|
-
responses: {
|
|
219
|
-
status: number;
|
|
220
|
-
description: string;
|
|
221
|
-
bodyRef?: string | undefined;
|
|
222
|
-
}[];
|
|
223
|
-
requiresAuth: boolean;
|
|
224
|
-
requiredRoles: string[];
|
|
225
|
-
}[];
|
|
226
|
-
baseUrl?: string | undefined;
|
|
227
|
-
}, {
|
|
228
|
-
schemaVersion: 1;
|
|
229
|
-
briefId: string;
|
|
230
|
-
endpoints: {
|
|
231
|
-
path: string;
|
|
232
|
-
summary: string;
|
|
233
|
-
id: string;
|
|
234
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
235
|
-
operationId: string;
|
|
236
|
-
responses: {
|
|
237
|
-
status: number;
|
|
238
|
-
description: string;
|
|
239
|
-
bodyRef?: string | undefined;
|
|
240
|
-
}[];
|
|
241
|
-
parameters?: {
|
|
242
|
-
type: string;
|
|
243
|
-
name: string;
|
|
244
|
-
required: boolean;
|
|
245
|
-
description: string;
|
|
246
|
-
location: "path" | "query" | "header" | "body";
|
|
247
|
-
}[] | undefined;
|
|
248
|
-
requiresAuth?: boolean | undefined;
|
|
249
|
-
requiredRoles?: string[] | undefined;
|
|
250
|
-
}[];
|
|
251
|
-
baseUrl?: string | undefined;
|
|
252
|
-
}>;
|
|
98
|
+
requiredRoles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
99
|
+
}, z.core.$strip>>;
|
|
100
|
+
}, z.core.$strip>;
|
|
253
101
|
export type HttpMethod = z.infer<typeof HttpMethodSchema>;
|
|
254
102
|
export type ParameterLocation = z.infer<typeof ParameterLocationSchema>;
|
|
255
103
|
export type Parameter = z.infer<typeof ParameterSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-contract.d.ts","sourceRoot":"","sources":["../../src/architecture/api-contract.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"api-contract.d.ts","sourceRoot":"","sources":["../../src/architecture/api-contract.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB;;;;;;EAAoD,CAAC;AAElF,eAAO,MAAM,uBAAuB;;;;;EAA8C,CAAC;AAEnF,eAAO,MAAM,eAAe;;;;;;;;;;;iBAM1B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;iBAKzB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYzB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAK5B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ export declare const ArchitectureApprovalSchema: z.ZodObject<{
|
|
|
3
3
|
schemaVersion: z.ZodLiteral<1>;
|
|
4
4
|
briefId: z.ZodString;
|
|
5
5
|
selectedOptionId: z.ZodString;
|
|
6
|
-
adrIds: z.ZodArray<z.ZodString
|
|
6
|
+
adrIds: z.ZodArray<z.ZodString>;
|
|
7
7
|
componentMapId: z.ZodString;
|
|
8
8
|
dataModelId: z.ZodString;
|
|
9
9
|
apiContractId: z.ZodString;
|
|
@@ -11,30 +11,6 @@ export declare const ArchitectureApprovalSchema: z.ZodObject<{
|
|
|
11
11
|
operationalDesignId: z.ZodString;
|
|
12
12
|
approvedBy: z.ZodString;
|
|
13
13
|
approvedAt: z.ZodString;
|
|
14
|
-
},
|
|
15
|
-
schemaVersion: 1;
|
|
16
|
-
briefId: string;
|
|
17
|
-
selectedOptionId: string;
|
|
18
|
-
adrIds: string[];
|
|
19
|
-
componentMapId: string;
|
|
20
|
-
dataModelId: string;
|
|
21
|
-
apiContractId: string;
|
|
22
|
-
securityDesignId: string;
|
|
23
|
-
operationalDesignId: string;
|
|
24
|
-
approvedBy: string;
|
|
25
|
-
approvedAt: string;
|
|
26
|
-
}, {
|
|
27
|
-
schemaVersion: 1;
|
|
28
|
-
briefId: string;
|
|
29
|
-
selectedOptionId: string;
|
|
30
|
-
adrIds: string[];
|
|
31
|
-
componentMapId: string;
|
|
32
|
-
dataModelId: string;
|
|
33
|
-
apiContractId: string;
|
|
34
|
-
securityDesignId: string;
|
|
35
|
-
operationalDesignId: string;
|
|
36
|
-
approvedBy: string;
|
|
37
|
-
approvedAt: string;
|
|
38
|
-
}>;
|
|
14
|
+
}, z.core.$strip>;
|
|
39
15
|
export type ArchitectureApproval = z.infer<typeof ArchitectureApprovalSchema>;
|
|
40
16
|
//# sourceMappingURL=architecture-approval.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"architecture-approval.d.ts","sourceRoot":"","sources":["../../src/architecture/architecture-approval.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"architecture-approval.d.ts","sourceRoot":"","sources":["../../src/architecture/architecture-approval.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;iBAcrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|