@manehorizons/cadence-types 1.1.1 → 1.4.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/anomaly.d.ts +43 -24
- package/dist/anomaly.d.ts.map +1 -1
- package/dist/anomaly.js +1 -1
- package/dist/anomaly.js.map +1 -1
- package/dist/config.d.ts +128 -508
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/dist/events.d.ts +19 -19
- package/dist/events.d.ts.map +1 -1
- package/dist/intelligence.d.ts +447 -1543
- package/dist/intelligence.d.ts.map +1 -1
- package/dist/plan.d.ts +43 -133
- package/dist/plan.d.ts.map +1 -1
- package/dist/profile.d.ts +36 -11
- package/dist/profile.d.ts.map +1 -1
- package/dist/spec.d.ts +8 -47
- package/dist/spec.d.ts.map +1 -1
- package/dist/state.d.ts +53 -202
- package/dist/state.d.ts.map +1 -1
- package/dist/summary.d.ts +44 -227
- package/dist/summary.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intelligence.d.ts","sourceRoot":"","sources":["../src/intelligence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"intelligence.d.ts","sourceRoot":"","sources":["../src/intelligence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qBAAqB;;;;;;EAMhC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,eAAO,MAAM,qBAAqB;;;;;;EAMhC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,eAAO,MAAM,wBA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D,wBAAgB,oBAAoB,IAAI,eAAe,CAEtD;AAED,eAAO,MAAM,aAAa;;;;;EAAkD,CAAC;AAC7E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEzD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQtB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAErD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8CzB,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAU3D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,IAAI,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAC1B;IAAE,QAAQ,EAAE,oBAAoB,CAAC;IAAC,KAAK,CAAC,EAAE,IAAI,CAAA;CAAE,GAChD;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1B,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,WAAW,EAAE,kBAAkB,EAAE,CAAC;CACnC,CAAC"}
|
package/dist/plan.d.ts
CHANGED
|
@@ -5,56 +5,40 @@ export declare const AcceptanceCriterionZ: z.ZodObject<{
|
|
|
5
5
|
given: z.ZodString;
|
|
6
6
|
when: z.ZodString;
|
|
7
7
|
then: z.ZodString;
|
|
8
|
-
},
|
|
9
|
-
id: string;
|
|
10
|
-
name: string;
|
|
11
|
-
given: string;
|
|
12
|
-
when: string;
|
|
13
|
-
then: string;
|
|
14
|
-
}, {
|
|
15
|
-
id: string;
|
|
16
|
-
given: string;
|
|
17
|
-
when: string;
|
|
18
|
-
then: string;
|
|
19
|
-
name?: string | undefined;
|
|
20
|
-
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
21
9
|
export type AcceptanceCriterion = z.infer<typeof AcceptanceCriterionZ>;
|
|
22
10
|
export declare const TaskZ: z.ZodObject<{
|
|
23
11
|
id: z.ZodString;
|
|
24
12
|
name: z.ZodString;
|
|
25
|
-
files: z.ZodArray<z.ZodString
|
|
13
|
+
files: z.ZodArray<z.ZodString>;
|
|
26
14
|
action: z.ZodString;
|
|
27
15
|
verify: z.ZodString;
|
|
28
16
|
done: z.ZodString;
|
|
29
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
touchedFiles?: string[] | undefined;
|
|
40
|
-
}, {
|
|
41
|
-
id: string;
|
|
42
|
-
name: string;
|
|
43
|
-
files: string[];
|
|
44
|
-
action: string;
|
|
45
|
-
verify: string;
|
|
46
|
-
done: string;
|
|
47
|
-
status?: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED" | undefined;
|
|
48
|
-
touchedFiles?: string[] | undefined;
|
|
49
|
-
}>;
|
|
17
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
PENDING: "PENDING";
|
|
19
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
20
|
+
DONE: "DONE";
|
|
21
|
+
DONE_WITH_CONCERNS: "DONE_WITH_CONCERNS";
|
|
22
|
+
NEEDS_CONTEXT: "NEEDS_CONTEXT";
|
|
23
|
+
BLOCKED: "BLOCKED";
|
|
24
|
+
}>>;
|
|
25
|
+
touchedFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
50
27
|
export type Task = z.infer<typeof TaskZ>;
|
|
51
28
|
export declare const DraftZ: z.ZodObject<{
|
|
52
29
|
schemaVersion: z.ZodLiteral<1>;
|
|
53
30
|
id: z.ZodString;
|
|
54
31
|
phase: z.ZodString;
|
|
55
|
-
tier: z.ZodEnum<
|
|
56
|
-
|
|
57
|
-
|
|
32
|
+
tier: z.ZodEnum<{
|
|
33
|
+
standard: "standard";
|
|
34
|
+
complex: "complex";
|
|
35
|
+
"quick-fix": "quick-fix";
|
|
36
|
+
}>;
|
|
37
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
38
|
+
strict: "strict";
|
|
39
|
+
standard: "standard";
|
|
40
|
+
auto: "auto";
|
|
41
|
+
}>>;
|
|
58
42
|
title: z.ZodString;
|
|
59
43
|
objective: z.ZodString;
|
|
60
44
|
acceptanceCriteria: z.ZodArray<z.ZodObject<{
|
|
@@ -63,106 +47,32 @@ export declare const DraftZ: z.ZodObject<{
|
|
|
63
47
|
given: z.ZodString;
|
|
64
48
|
when: z.ZodString;
|
|
65
49
|
then: z.ZodString;
|
|
66
|
-
},
|
|
67
|
-
id: string;
|
|
68
|
-
name: string;
|
|
69
|
-
given: string;
|
|
70
|
-
when: string;
|
|
71
|
-
then: string;
|
|
72
|
-
}, {
|
|
73
|
-
id: string;
|
|
74
|
-
given: string;
|
|
75
|
-
when: string;
|
|
76
|
-
then: string;
|
|
77
|
-
name?: string | undefined;
|
|
78
|
-
}>, "many">;
|
|
50
|
+
}, z.core.$strip>>;
|
|
79
51
|
tasks: z.ZodArray<z.ZodObject<{
|
|
80
52
|
id: z.ZodString;
|
|
81
53
|
name: z.ZodString;
|
|
82
|
-
files: z.ZodArray<z.ZodString
|
|
54
|
+
files: z.ZodArray<z.ZodString>;
|
|
83
55
|
action: z.ZodString;
|
|
84
56
|
verify: z.ZodString;
|
|
85
57
|
done: z.ZodString;
|
|
86
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
touchedFiles?: string[] | undefined;
|
|
106
|
-
}>, "many">;
|
|
107
|
-
boundaries: z.ZodArray<z.ZodString, "many">;
|
|
108
|
-
requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
109
|
-
status: z.ZodEnum<["PENDING", "APPROVED", "IN_PROGRESS", "SETTLED"]>;
|
|
110
|
-
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
status: "PENDING" | "IN_PROGRESS" | "APPROVED" | "SETTLED";
|
|
112
|
-
schemaVersion: 1;
|
|
113
|
-
tier: "standard" | "complex" | "quick-fix";
|
|
114
|
-
id: string;
|
|
115
|
-
phase: string;
|
|
116
|
-
title: string;
|
|
117
|
-
objective: string;
|
|
118
|
-
acceptanceCriteria: {
|
|
119
|
-
id: string;
|
|
120
|
-
name: string;
|
|
121
|
-
given: string;
|
|
122
|
-
when: string;
|
|
123
|
-
then: string;
|
|
124
|
-
}[];
|
|
125
|
-
tasks: {
|
|
126
|
-
id: string;
|
|
127
|
-
name: string;
|
|
128
|
-
files: string[];
|
|
129
|
-
action: string;
|
|
130
|
-
verify: string;
|
|
131
|
-
done: string;
|
|
132
|
-
status?: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED" | undefined;
|
|
133
|
-
touchedFiles?: string[] | undefined;
|
|
134
|
-
}[];
|
|
135
|
-
boundaries: string[];
|
|
136
|
-
profile?: "strict" | "standard" | "auto" | undefined;
|
|
137
|
-
requiredSkills?: string[] | undefined;
|
|
138
|
-
}, {
|
|
139
|
-
status: "PENDING" | "IN_PROGRESS" | "APPROVED" | "SETTLED";
|
|
140
|
-
schemaVersion: 1;
|
|
141
|
-
tier: "standard" | "complex" | "quick-fix";
|
|
142
|
-
id: string;
|
|
143
|
-
phase: string;
|
|
144
|
-
title: string;
|
|
145
|
-
objective: string;
|
|
146
|
-
acceptanceCriteria: {
|
|
147
|
-
id: string;
|
|
148
|
-
given: string;
|
|
149
|
-
when: string;
|
|
150
|
-
then: string;
|
|
151
|
-
name?: string | undefined;
|
|
152
|
-
}[];
|
|
153
|
-
tasks: {
|
|
154
|
-
id: string;
|
|
155
|
-
name: string;
|
|
156
|
-
files: string[];
|
|
157
|
-
action: string;
|
|
158
|
-
verify: string;
|
|
159
|
-
done: string;
|
|
160
|
-
status?: "PENDING" | "IN_PROGRESS" | "DONE" | "DONE_WITH_CONCERNS" | "NEEDS_CONTEXT" | "BLOCKED" | undefined;
|
|
161
|
-
touchedFiles?: string[] | undefined;
|
|
162
|
-
}[];
|
|
163
|
-
boundaries: string[];
|
|
164
|
-
profile?: "strict" | "standard" | "auto" | undefined;
|
|
165
|
-
requiredSkills?: string[] | undefined;
|
|
166
|
-
}>;
|
|
58
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
PENDING: "PENDING";
|
|
60
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
61
|
+
DONE: "DONE";
|
|
62
|
+
DONE_WITH_CONCERNS: "DONE_WITH_CONCERNS";
|
|
63
|
+
NEEDS_CONTEXT: "NEEDS_CONTEXT";
|
|
64
|
+
BLOCKED: "BLOCKED";
|
|
65
|
+
}>>;
|
|
66
|
+
touchedFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
67
|
+
}, z.core.$strip>>;
|
|
68
|
+
boundaries: z.ZodArray<z.ZodString>;
|
|
69
|
+
requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
70
|
+
status: z.ZodEnum<{
|
|
71
|
+
PENDING: "PENDING";
|
|
72
|
+
IN_PROGRESS: "IN_PROGRESS";
|
|
73
|
+
APPROVED: "APPROVED";
|
|
74
|
+
SETTLED: "SETTLED";
|
|
75
|
+
}>;
|
|
76
|
+
}, z.core.$strip>;
|
|
167
77
|
export type Draft = z.infer<typeof DraftZ>;
|
|
168
78
|
//# sourceMappingURL=plan.d.ts.map
|
package/dist/plan.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../src/plan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../src/plan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;iBAM/B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;iBAShB,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAcjB,CAAC;AACH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC"}
|
package/dist/profile.d.ts
CHANGED
|
@@ -1,23 +1,48 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const ProfileZ: z.ZodEnum<
|
|
2
|
+
export declare const ProfileZ: z.ZodEnum<{
|
|
3
|
+
strict: "strict";
|
|
4
|
+
standard: "standard";
|
|
5
|
+
auto: "auto";
|
|
6
|
+
}>;
|
|
3
7
|
export type Profile = z.infer<typeof ProfileZ>;
|
|
4
8
|
/**
|
|
5
9
|
* Universe of gate names CADENCE understands. The matrix in
|
|
6
10
|
* DESIGN.md Section 4.1 enumerates each gate's cost class; the engine in
|
|
7
11
|
* `@manehorizons/cadence-core/gates/engine.ts` decides which fire per (tier × profile).
|
|
8
12
|
*/
|
|
9
|
-
export declare const GateZ: z.ZodEnum<
|
|
13
|
+
export declare const GateZ: z.ZodEnum<{
|
|
14
|
+
"coherence-check": "coherence-check";
|
|
15
|
+
"structural-verifier": "structural-verifier";
|
|
16
|
+
"build-test-must-pass": "build-test-must-pass";
|
|
17
|
+
"draft-read": "draft-read";
|
|
18
|
+
"test-coverage": "test-coverage";
|
|
19
|
+
"anomaly-notify": "anomaly-notify";
|
|
20
|
+
approve: "approve";
|
|
21
|
+
"per-task-verify": "per-task-verify";
|
|
22
|
+
"code-review": "code-review";
|
|
23
|
+
"deep-verify": "deep-verify";
|
|
24
|
+
"interactive-verdict": "interactive-verdict";
|
|
25
|
+
"plan-review": "plan-review";
|
|
26
|
+
"security-audit": "security-audit";
|
|
27
|
+
}>;
|
|
10
28
|
export type Gate = z.infer<typeof GateZ>;
|
|
11
29
|
export declare const GateSetZ: z.ZodObject<{
|
|
12
|
-
gates: z.ZodArray<z.ZodEnum<
|
|
13
|
-
|
|
30
|
+
gates: z.ZodArray<z.ZodEnum<{
|
|
31
|
+
"coherence-check": "coherence-check";
|
|
32
|
+
"structural-verifier": "structural-verifier";
|
|
33
|
+
"build-test-must-pass": "build-test-must-pass";
|
|
34
|
+
"draft-read": "draft-read";
|
|
35
|
+
"test-coverage": "test-coverage";
|
|
36
|
+
"anomaly-notify": "anomaly-notify";
|
|
37
|
+
approve: "approve";
|
|
38
|
+
"per-task-verify": "per-task-verify";
|
|
39
|
+
"code-review": "code-review";
|
|
40
|
+
"deep-verify": "deep-verify";
|
|
41
|
+
"interactive-verdict": "interactive-verdict";
|
|
42
|
+
"plan-review": "plan-review";
|
|
43
|
+
"security-audit": "security-audit";
|
|
44
|
+
}>>;
|
|
14
45
|
softCap: z.ZodBoolean;
|
|
15
|
-
},
|
|
16
|
-
gates: ("coherence-check" | "structural-verifier" | "build-test-must-pass" | "draft-read" | "test-coverage" | "anomaly-notify" | "approve" | "per-task-verify" | "code-review" | "deep-verify" | "interactive-verdict" | "plan-review" | "security-audit")[];
|
|
17
|
-
softCap: boolean;
|
|
18
|
-
}, {
|
|
19
|
-
gates: ("coherence-check" | "structural-verifier" | "build-test-must-pass" | "draft-read" | "test-coverage" | "anomaly-notify" | "approve" | "per-task-verify" | "code-review" | "deep-verify" | "interactive-verdict" | "plan-review" | "security-audit")[];
|
|
20
|
-
softCap: boolean;
|
|
21
|
-
}>;
|
|
46
|
+
}, z.core.$strip>;
|
|
22
47
|
export type GateSet = z.infer<typeof GateSetZ>;
|
|
23
48
|
//# sourceMappingURL=profile.d.ts.map
|
package/dist/profile.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../src/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../src/profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,QAAQ;;;;EAAyC,CAAC;AAC/D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;EAkBhB,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;iBAInB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
package/dist/spec.d.ts
CHANGED
|
@@ -16,52 +16,13 @@ export declare const SpecZ: z.ZodObject<{
|
|
|
16
16
|
given: z.ZodString;
|
|
17
17
|
when: z.ZodString;
|
|
18
18
|
then: z.ZodString;
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
given: string;
|
|
28
|
-
when: string;
|
|
29
|
-
then: string;
|
|
30
|
-
name?: string | undefined;
|
|
31
|
-
}>, "many">;
|
|
32
|
-
constraints: z.ZodArray<z.ZodString, "many">;
|
|
33
|
-
openQuestions: z.ZodArray<z.ZodString, "many">;
|
|
34
|
-
status: z.ZodEnum<["PENDING", "APPROVED"]>;
|
|
35
|
-
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
status: "PENDING" | "APPROVED";
|
|
37
|
-
schemaVersion: 1;
|
|
38
|
-
id: string;
|
|
39
|
-
phase: string;
|
|
40
|
-
objective: string;
|
|
41
|
-
acceptanceCriteria: {
|
|
42
|
-
id: string;
|
|
43
|
-
name: string;
|
|
44
|
-
given: string;
|
|
45
|
-
when: string;
|
|
46
|
-
then: string;
|
|
47
|
-
}[];
|
|
48
|
-
constraints: string[];
|
|
49
|
-
openQuestions: string[];
|
|
50
|
-
}, {
|
|
51
|
-
status: "PENDING" | "APPROVED";
|
|
52
|
-
schemaVersion: 1;
|
|
53
|
-
id: string;
|
|
54
|
-
phase: string;
|
|
55
|
-
objective: string;
|
|
56
|
-
acceptanceCriteria: {
|
|
57
|
-
id: string;
|
|
58
|
-
given: string;
|
|
59
|
-
when: string;
|
|
60
|
-
then: string;
|
|
61
|
-
name?: string | undefined;
|
|
62
|
-
}[];
|
|
63
|
-
constraints: string[];
|
|
64
|
-
openQuestions: string[];
|
|
65
|
-
}>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
constraints: z.ZodArray<z.ZodString>;
|
|
21
|
+
openQuestions: z.ZodArray<z.ZodString>;
|
|
22
|
+
status: z.ZodEnum<{
|
|
23
|
+
PENDING: "PENDING";
|
|
24
|
+
APPROVED: "APPROVED";
|
|
25
|
+
}>;
|
|
26
|
+
}, z.core.$strip>;
|
|
66
27
|
export type Spec = z.infer<typeof SpecZ>;
|
|
67
28
|
//# sourceMappingURL=spec.d.ts.map
|
package/dist/spec.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec.d.ts","sourceRoot":"","sources":["../src/spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;GAKG;AACH,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"spec.d.ts","sourceRoot":"","sources":["../src/spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;GAKG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;iBAShB,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC"}
|