@standards-kit/conform 0.2.0 → 0.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.
Files changed (35) hide show
  1. package/dist/{chunk-YGDEM6K5.js → chunk-FJZMUGYW.js} +13 -10
  2. package/dist/chunk-FJZMUGYW.js.map +1 -0
  3. package/dist/{chunk-NADY2H35.js → chunk-YKKWXHYS.js} +2 -2
  4. package/dist/{chunk-NADY2H35.js.map → chunk-YKKWXHYS.js.map} +1 -1
  5. package/dist/cli/index.d.ts +3 -0
  6. package/dist/cli/process.d.ts +2 -0
  7. package/dist/cli/utils.d.ts +19 -0
  8. package/dist/cli/validate.d.ts +2 -0
  9. package/dist/cli.js +3892 -3873
  10. package/dist/cli.js.map +1 -1
  11. package/dist/core/schema.d.ts +167 -1709
  12. package/dist/{core-QRFGIQ42.js → core-LFX2BFLG.js} +2 -2
  13. package/dist/index.js +3 -5
  14. package/dist/index.js.map +1 -1
  15. package/dist/infra/schemas.d.ts +41 -533
  16. package/dist/{infra-TO54IUSC.js → infra-RFEWGWPW.js} +2 -2
  17. package/dist/mcp/standards/parser.d.ts +2 -14
  18. package/dist/{mcp-73FZXT3P.js → mcp-T2JFU4E2.js} +3 -3
  19. package/dist/{registry-JRCQAIHR.js → registry-J2LVW3M2.js} +2 -2
  20. package/dist/{scan-RHQWHASY.js → scan-BZH5IR3Z.js} +3 -3
  21. package/dist/scan-BZH5IR3Z.js.map +1 -0
  22. package/dist/{standards-XAZKTKYJ.js → standards-ALMA4VIU.js} +2 -2
  23. package/dist/{sync-P3UZECLW.js → sync-EGJ2CSYK.js} +2 -2
  24. package/dist/sync-EGJ2CSYK.js.map +1 -0
  25. package/dist/{validate-J5E336GX.js → validate-X4K2SHYT.js} +4 -4
  26. package/dist/{validate-J5E336GX.js.map → validate-X4K2SHYT.js.map} +1 -1
  27. package/package.json +10 -6
  28. package/dist/chunk-YGDEM6K5.js.map +0 -1
  29. package/dist/scan-RHQWHASY.js.map +0 -1
  30. package/dist/sync-P3UZECLW.js.map +0 -1
  31. /package/dist/{core-QRFGIQ42.js.map → core-LFX2BFLG.js.map} +0 -0
  32. /package/dist/{infra-TO54IUSC.js.map → infra-RFEWGWPW.js.map} +0 -0
  33. /package/dist/{mcp-73FZXT3P.js.map → mcp-T2JFU4E2.js.map} +0 -0
  34. /package/dist/{registry-JRCQAIHR.js.map → registry-J2LVW3M2.js.map} +0 -0
  35. /package/dist/{standards-XAZKTKYJ.js.map → standards-ALMA4VIU.js.map} +0 -0
@@ -5,137 +5,53 @@ export { DEFAULT_FORBIDDEN_FILES_IGNORE };
5
5
  /** Full standards.toml schema */
6
6
  export declare const configSchema: z.ZodObject<{
7
7
  metadata: z.ZodOptional<z.ZodObject<{
8
- tier: z.ZodEnum<["production", "internal", "prototype"]>;
8
+ tier: z.ZodEnum<{
9
+ production: "production";
10
+ internal: "internal";
11
+ prototype: "prototype";
12
+ }>;
9
13
  project: z.ZodOptional<z.ZodString>;
10
14
  organisation: z.ZodOptional<z.ZodString>;
11
- status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["active", "pre-release", "deprecated"]>>>;
12
- }, "strict", z.ZodTypeAny, {
13
- status: "active" | "pre-release" | "deprecated";
14
- tier: "production" | "internal" | "prototype";
15
- project?: string | undefined;
16
- organisation?: string | undefined;
17
- }, {
18
- tier: "production" | "internal" | "prototype";
19
- status?: "active" | "pre-release" | "deprecated" | undefined;
20
- project?: string | undefined;
21
- organisation?: string | undefined;
22
- }>>;
15
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
16
+ active: "active";
17
+ "pre-release": "pre-release";
18
+ deprecated: "deprecated";
19
+ }>>>;
20
+ }, z.core.$strict>>;
23
21
  extends: z.ZodOptional<z.ZodObject<{
24
22
  registry: z.ZodString;
25
- rulesets: z.ZodArray<z.ZodString, "many">;
26
- }, "strict", z.ZodTypeAny, {
27
- registry: string;
28
- rulesets: string[];
29
- }, {
30
- registry: string;
31
- rulesets: string[];
32
- }>>;
23
+ rulesets: z.ZodArray<z.ZodString>;
24
+ }, z.core.$strict>>;
33
25
  code: z.ZodOptional<z.ZodObject<{
34
26
  linting: z.ZodOptional<z.ZodObject<{
35
27
  eslint: z.ZodOptional<z.ZodObject<{
36
28
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
37
- files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
38
- ignore: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
29
+ files: z.ZodOptional<z.ZodArray<z.ZodString>>;
30
+ ignore: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
31
  "max-warnings": z.ZodOptional<z.ZodNumber>;
40
- rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<["off", "warn", "error"]>, z.ZodObject<{
41
- severity: z.ZodEnum<["off", "warn", "error"]>;
42
- }, "strip", z.ZodUnknown, z.objectOutputType<{
43
- severity: z.ZodEnum<["off", "warn", "error"]>;
44
- }, z.ZodUnknown, "strip">, z.objectInputType<{
45
- severity: z.ZodEnum<["off", "warn", "error"]>;
46
- }, z.ZodUnknown, "strip">>]>>>;
47
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
48
- }, "strict", z.ZodTypeAny, {
49
- enabled: boolean;
50
- files?: string[] | undefined;
51
- ignore?: string[] | undefined;
52
- "max-warnings"?: number | undefined;
53
- rules?: Record<string, "error" | "off" | "warn" | z.objectOutputType<{
54
- severity: z.ZodEnum<["off", "warn", "error"]>;
55
- }, z.ZodUnknown, "strip">> | undefined;
56
- dependencies?: string[] | undefined;
57
- }, {
58
- enabled?: boolean | undefined;
59
- files?: string[] | undefined;
60
- ignore?: string[] | undefined;
61
- "max-warnings"?: number | undefined;
62
- rules?: Record<string, "error" | "off" | "warn" | z.objectInputType<{
63
- severity: z.ZodEnum<["off", "warn", "error"]>;
64
- }, z.ZodUnknown, "strip">> | undefined;
65
- dependencies?: string[] | undefined;
66
- }>>;
32
+ rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
33
+ error: "error";
34
+ off: "off";
35
+ warn: "warn";
36
+ }>, z.ZodObject<{
37
+ severity: z.ZodEnum<{
38
+ error: "error";
39
+ off: "off";
40
+ warn: "warn";
41
+ }>;
42
+ }, z.core.$catchall<z.ZodUnknown>>]>>>;
43
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
44
+ }, z.core.$strict>>;
67
45
  ruff: z.ZodOptional<z.ZodObject<{
68
46
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
69
47
  "line-length": z.ZodOptional<z.ZodNumber>;
70
48
  lint: z.ZodOptional<z.ZodObject<{
71
- select: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
72
- ignore: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
73
- }, "strict", z.ZodTypeAny, {
74
- ignore?: string[] | undefined;
75
- select?: string[] | undefined;
76
- }, {
77
- ignore?: string[] | undefined;
78
- select?: string[] | undefined;
79
- }>>;
80
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
81
- }, "strict", z.ZodTypeAny, {
82
- enabled: boolean;
83
- dependencies?: string[] | undefined;
84
- "line-length"?: number | undefined;
85
- lint?: {
86
- ignore?: string[] | undefined;
87
- select?: string[] | undefined;
88
- } | undefined;
89
- }, {
90
- enabled?: boolean | undefined;
91
- dependencies?: string[] | undefined;
92
- "line-length"?: number | undefined;
93
- lint?: {
94
- ignore?: string[] | undefined;
95
- select?: string[] | undefined;
96
- } | undefined;
97
- }>>;
98
- }, "strict", z.ZodTypeAny, {
99
- eslint?: {
100
- enabled: boolean;
101
- files?: string[] | undefined;
102
- ignore?: string[] | undefined;
103
- "max-warnings"?: number | undefined;
104
- rules?: Record<string, "error" | "off" | "warn" | z.objectOutputType<{
105
- severity: z.ZodEnum<["off", "warn", "error"]>;
106
- }, z.ZodUnknown, "strip">> | undefined;
107
- dependencies?: string[] | undefined;
108
- } | undefined;
109
- ruff?: {
110
- enabled: boolean;
111
- dependencies?: string[] | undefined;
112
- "line-length"?: number | undefined;
113
- lint?: {
114
- ignore?: string[] | undefined;
115
- select?: string[] | undefined;
116
- } | undefined;
117
- } | undefined;
118
- }, {
119
- eslint?: {
120
- enabled?: boolean | undefined;
121
- files?: string[] | undefined;
122
- ignore?: string[] | undefined;
123
- "max-warnings"?: number | undefined;
124
- rules?: Record<string, "error" | "off" | "warn" | z.objectInputType<{
125
- severity: z.ZodEnum<["off", "warn", "error"]>;
126
- }, z.ZodUnknown, "strip">> | undefined;
127
- dependencies?: string[] | undefined;
128
- } | undefined;
129
- ruff?: {
130
- enabled?: boolean | undefined;
131
- dependencies?: string[] | undefined;
132
- "line-length"?: number | undefined;
133
- lint?: {
134
- ignore?: string[] | undefined;
135
- select?: string[] | undefined;
136
- } | undefined;
137
- } | undefined;
138
- }>>;
49
+ select: z.ZodOptional<z.ZodArray<z.ZodString>>;
50
+ ignore: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
+ }, z.core.$strict>>;
52
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
53
+ }, z.core.$strict>>;
54
+ }, z.core.$strict>>;
139
55
  types: z.ZodOptional<z.ZodObject<{
140
56
  tsc: z.ZodOptional<z.ZodObject<{
141
57
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -150,688 +66,154 @@ export declare const configSchema: z.ZodObject<{
150
66
  esModuleInterop: z.ZodOptional<z.ZodBoolean>;
151
67
  skipLibCheck: z.ZodOptional<z.ZodBoolean>;
152
68
  forceConsistentCasingInFileNames: z.ZodOptional<z.ZodBoolean>;
153
- }, "strict", z.ZodTypeAny, {
154
- strict?: boolean | undefined;
155
- noImplicitAny?: boolean | undefined;
156
- strictNullChecks?: boolean | undefined;
157
- noUnusedLocals?: boolean | undefined;
158
- noUnusedParameters?: boolean | undefined;
159
- noImplicitReturns?: boolean | undefined;
160
- noFallthroughCasesInSwitch?: boolean | undefined;
161
- esModuleInterop?: boolean | undefined;
162
- skipLibCheck?: boolean | undefined;
163
- forceConsistentCasingInFileNames?: boolean | undefined;
164
- }, {
165
- strict?: boolean | undefined;
166
- noImplicitAny?: boolean | undefined;
167
- strictNullChecks?: boolean | undefined;
168
- noUnusedLocals?: boolean | undefined;
169
- noUnusedParameters?: boolean | undefined;
170
- noImplicitReturns?: boolean | undefined;
171
- noFallthroughCasesInSwitch?: boolean | undefined;
172
- esModuleInterop?: boolean | undefined;
173
- skipLibCheck?: boolean | undefined;
174
- forceConsistentCasingInFileNames?: boolean | undefined;
175
- }>>;
176
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
177
- }, "strict", z.ZodTypeAny, {
178
- enabled: boolean;
179
- dependencies?: string[] | undefined;
180
- require?: {
181
- strict?: boolean | undefined;
182
- noImplicitAny?: boolean | undefined;
183
- strictNullChecks?: boolean | undefined;
184
- noUnusedLocals?: boolean | undefined;
185
- noUnusedParameters?: boolean | undefined;
186
- noImplicitReturns?: boolean | undefined;
187
- noFallthroughCasesInSwitch?: boolean | undefined;
188
- esModuleInterop?: boolean | undefined;
189
- skipLibCheck?: boolean | undefined;
190
- forceConsistentCasingInFileNames?: boolean | undefined;
191
- } | undefined;
192
- }, {
193
- enabled?: boolean | undefined;
194
- dependencies?: string[] | undefined;
195
- require?: {
196
- strict?: boolean | undefined;
197
- noImplicitAny?: boolean | undefined;
198
- strictNullChecks?: boolean | undefined;
199
- noUnusedLocals?: boolean | undefined;
200
- noUnusedParameters?: boolean | undefined;
201
- noImplicitReturns?: boolean | undefined;
202
- noFallthroughCasesInSwitch?: boolean | undefined;
203
- esModuleInterop?: boolean | undefined;
204
- skipLibCheck?: boolean | undefined;
205
- forceConsistentCasingInFileNames?: boolean | undefined;
206
- } | undefined;
207
- }>>;
69
+ }, z.core.$strict>>;
70
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
+ }, z.core.$strict>>;
208
72
  ty: z.ZodOptional<z.ZodObject<{
209
73
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
210
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
211
- }, "strict", z.ZodTypeAny, {
212
- enabled: boolean;
213
- dependencies?: string[] | undefined;
214
- }, {
215
- enabled?: boolean | undefined;
216
- dependencies?: string[] | undefined;
217
- }>>;
218
- }, "strict", z.ZodTypeAny, {
219
- tsc?: {
220
- enabled: boolean;
221
- dependencies?: string[] | undefined;
222
- require?: {
223
- strict?: boolean | undefined;
224
- noImplicitAny?: boolean | undefined;
225
- strictNullChecks?: boolean | undefined;
226
- noUnusedLocals?: boolean | undefined;
227
- noUnusedParameters?: boolean | undefined;
228
- noImplicitReturns?: boolean | undefined;
229
- noFallthroughCasesInSwitch?: boolean | undefined;
230
- esModuleInterop?: boolean | undefined;
231
- skipLibCheck?: boolean | undefined;
232
- forceConsistentCasingInFileNames?: boolean | undefined;
233
- } | undefined;
234
- } | undefined;
235
- ty?: {
236
- enabled: boolean;
237
- dependencies?: string[] | undefined;
238
- } | undefined;
239
- }, {
240
- tsc?: {
241
- enabled?: boolean | undefined;
242
- dependencies?: string[] | undefined;
243
- require?: {
244
- strict?: boolean | undefined;
245
- noImplicitAny?: boolean | undefined;
246
- strictNullChecks?: boolean | undefined;
247
- noUnusedLocals?: boolean | undefined;
248
- noUnusedParameters?: boolean | undefined;
249
- noImplicitReturns?: boolean | undefined;
250
- noFallthroughCasesInSwitch?: boolean | undefined;
251
- esModuleInterop?: boolean | undefined;
252
- skipLibCheck?: boolean | undefined;
253
- forceConsistentCasingInFileNames?: boolean | undefined;
254
- } | undefined;
255
- } | undefined;
256
- ty?: {
257
- enabled?: boolean | undefined;
258
- dependencies?: string[] | undefined;
259
- } | undefined;
260
- }>>;
74
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
75
+ }, z.core.$strict>>;
76
+ }, z.core.$strict>>;
261
77
  unused: z.ZodOptional<z.ZodObject<{
262
78
  knip: z.ZodOptional<z.ZodObject<{
263
79
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
264
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
265
- }, "strict", z.ZodTypeAny, {
266
- enabled: boolean;
267
- dependencies?: string[] | undefined;
268
- }, {
269
- enabled?: boolean | undefined;
270
- dependencies?: string[] | undefined;
271
- }>>;
80
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
81
+ }, z.core.$strict>>;
272
82
  vulture: z.ZodOptional<z.ZodObject<{
273
83
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
274
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
275
- }, "strict", z.ZodTypeAny, {
276
- enabled: boolean;
277
- dependencies?: string[] | undefined;
278
- }, {
279
- enabled?: boolean | undefined;
280
- dependencies?: string[] | undefined;
281
- }>>;
282
- }, "strict", z.ZodTypeAny, {
283
- knip?: {
284
- enabled: boolean;
285
- dependencies?: string[] | undefined;
286
- } | undefined;
287
- vulture?: {
288
- enabled: boolean;
289
- dependencies?: string[] | undefined;
290
- } | undefined;
291
- }, {
292
- knip?: {
293
- enabled?: boolean | undefined;
294
- dependencies?: string[] | undefined;
295
- } | undefined;
296
- vulture?: {
297
- enabled?: boolean | undefined;
298
- dependencies?: string[] | undefined;
299
- } | undefined;
300
- }>>;
84
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
85
+ }, z.core.$strict>>;
86
+ }, z.core.$strict>>;
301
87
  coverage_run: z.ZodOptional<z.ZodObject<{
302
88
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
303
89
  min_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
304
- runner: z.ZodDefault<z.ZodOptional<z.ZodEnum<["vitest", "jest", "pytest", "auto"]>>>;
90
+ runner: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
91
+ vitest: "vitest";
92
+ jest: "jest";
93
+ pytest: "pytest";
94
+ auto: "auto";
95
+ }>>>;
305
96
  command: z.ZodOptional<z.ZodString>;
306
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
307
- }, "strict", z.ZodTypeAny, {
308
- enabled: boolean;
309
- min_threshold: number;
310
- runner: "vitest" | "jest" | "pytest" | "auto";
311
- dependencies?: string[] | undefined;
312
- command?: string | undefined;
313
- }, {
314
- enabled?: boolean | undefined;
315
- dependencies?: string[] | undefined;
316
- min_threshold?: number | undefined;
317
- runner?: "vitest" | "jest" | "pytest" | "auto" | undefined;
318
- command?: string | undefined;
319
- }>>;
97
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
98
+ }, z.core.$strict>>;
320
99
  security: z.ZodOptional<z.ZodObject<{
321
100
  secrets: z.ZodOptional<z.ZodObject<{
322
101
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
323
- scan_mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["branch", "files", "staged", "full"]>>>;
102
+ scan_mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
103
+ files: "files";
104
+ branch: "branch";
105
+ staged: "staged";
106
+ full: "full";
107
+ }>>>;
324
108
  base_branch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
325
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
326
- }, "strict", z.ZodTypeAny, {
327
- enabled: boolean;
328
- scan_mode: "files" | "branch" | "staged" | "full";
329
- base_branch: string;
330
- dependencies?: string[] | undefined;
331
- }, {
332
- enabled?: boolean | undefined;
333
- dependencies?: string[] | undefined;
334
- scan_mode?: "files" | "branch" | "staged" | "full" | undefined;
335
- base_branch?: string | undefined;
336
- }>>;
109
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
+ }, z.core.$strict>>;
337
111
  pnpmaudit: z.ZodOptional<z.ZodObject<{
338
112
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
339
113
  exclude_dev: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
340
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
341
- }, "strict", z.ZodTypeAny, {
342
- enabled: boolean;
343
- exclude_dev: boolean;
344
- dependencies?: string[] | undefined;
345
- }, {
346
- enabled?: boolean | undefined;
347
- dependencies?: string[] | undefined;
348
- exclude_dev?: boolean | undefined;
349
- }>>;
114
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
115
+ }, z.core.$strict>>;
350
116
  pipaudit: z.ZodOptional<z.ZodObject<{
351
117
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
352
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
353
- }, "strict", z.ZodTypeAny, {
354
- enabled: boolean;
355
- dependencies?: string[] | undefined;
356
- }, {
357
- enabled?: boolean | undefined;
358
- dependencies?: string[] | undefined;
359
- }>>;
360
- }, "strict", z.ZodTypeAny, {
361
- secrets?: {
362
- enabled: boolean;
363
- scan_mode: "files" | "branch" | "staged" | "full";
364
- base_branch: string;
365
- dependencies?: string[] | undefined;
366
- } | undefined;
367
- pnpmaudit?: {
368
- enabled: boolean;
369
- exclude_dev: boolean;
370
- dependencies?: string[] | undefined;
371
- } | undefined;
372
- pipaudit?: {
373
- enabled: boolean;
374
- dependencies?: string[] | undefined;
375
- } | undefined;
376
- }, {
377
- secrets?: {
378
- enabled?: boolean | undefined;
379
- dependencies?: string[] | undefined;
380
- scan_mode?: "files" | "branch" | "staged" | "full" | undefined;
381
- base_branch?: string | undefined;
382
- } | undefined;
383
- pnpmaudit?: {
384
- enabled?: boolean | undefined;
385
- dependencies?: string[] | undefined;
386
- exclude_dev?: boolean | undefined;
387
- } | undefined;
388
- pipaudit?: {
389
- enabled?: boolean | undefined;
390
- dependencies?: string[] | undefined;
391
- } | undefined;
392
- }>>;
393
- naming: z.ZodOptional<z.ZodEffects<z.ZodObject<{
118
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
119
+ }, z.core.$strict>>;
120
+ }, z.core.$strict>>;
121
+ naming: z.ZodOptional<z.ZodObject<{
394
122
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
395
123
  rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
396
- extensions: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
397
- file_case: z.ZodEnum<["kebab-case", "snake_case", "camelCase", "PascalCase"]>;
398
- folder_case: z.ZodEnum<["kebab-case", "snake_case", "camelCase", "PascalCase"]>;
399
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
124
+ extensions: z.ZodArray<z.ZodString>;
125
+ file_case: z.ZodEnum<{
126
+ "kebab-case": "kebab-case";
127
+ snake_case: "snake_case";
128
+ camelCase: "camelCase";
129
+ PascalCase: "PascalCase";
130
+ }>;
131
+ folder_case: z.ZodEnum<{
132
+ "kebab-case": "kebab-case";
133
+ snake_case: "snake_case";
134
+ camelCase: "camelCase";
135
+ PascalCase: "PascalCase";
136
+ }>;
137
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
400
138
  allow_dynamic_routes: z.ZodOptional<z.ZodBoolean>;
401
- }, "strict", z.ZodTypeAny, {
402
- extensions: string[];
403
- file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
404
- folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
405
- exclude?: string[] | undefined;
406
- allow_dynamic_routes?: boolean | undefined;
407
- }, {
408
- extensions: string[];
409
- file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
410
- folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
411
- exclude?: string[] | undefined;
412
- allow_dynamic_routes?: boolean | undefined;
413
- }>, "many">>;
414
- }, "strict", z.ZodTypeAny, {
415
- enabled: boolean;
416
- rules?: {
417
- extensions: string[];
418
- file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
419
- folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
420
- exclude?: string[] | undefined;
421
- allow_dynamic_routes?: boolean | undefined;
422
- }[] | undefined;
423
- }, {
424
- enabled?: boolean | undefined;
425
- rules?: {
426
- extensions: string[];
427
- file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
428
- folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
429
- exclude?: string[] | undefined;
430
- allow_dynamic_routes?: boolean | undefined;
431
- }[] | undefined;
432
- }>, {
433
- enabled: boolean;
434
- rules?: {
435
- extensions: string[];
436
- file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
437
- folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
438
- exclude?: string[] | undefined;
439
- allow_dynamic_routes?: boolean | undefined;
440
- }[] | undefined;
441
- }, {
442
- enabled?: boolean | undefined;
443
- rules?: {
444
- extensions: string[];
445
- file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
446
- folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
447
- exclude?: string[] | undefined;
448
- allow_dynamic_routes?: boolean | undefined;
449
- }[] | undefined;
450
- }>>;
139
+ }, z.core.$strict>>>;
140
+ }, z.core.$strict>>;
451
141
  quality: z.ZodOptional<z.ZodObject<{
452
142
  "disable-comments": z.ZodOptional<z.ZodObject<{
453
143
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
454
- patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
455
- extensions: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
456
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
457
- }, "strict", z.ZodTypeAny, {
458
- enabled: boolean;
459
- extensions?: string[] | undefined;
460
- exclude?: string[] | undefined;
461
- patterns?: string[] | undefined;
462
- }, {
463
- enabled?: boolean | undefined;
464
- extensions?: string[] | undefined;
465
- exclude?: string[] | undefined;
466
- patterns?: string[] | undefined;
467
- }>>;
468
- }, "strict", z.ZodTypeAny, {
469
- "disable-comments"?: {
470
- enabled: boolean;
471
- extensions?: string[] | undefined;
472
- exclude?: string[] | undefined;
473
- patterns?: string[] | undefined;
474
- } | undefined;
475
- }, {
476
- "disable-comments"?: {
477
- enabled?: boolean | undefined;
478
- extensions?: string[] | undefined;
479
- exclude?: string[] | undefined;
480
- patterns?: string[] | undefined;
481
- } | undefined;
482
- }>>;
483
- }, "strict", z.ZodTypeAny, {
484
- linting?: {
485
- eslint?: {
486
- enabled: boolean;
487
- files?: string[] | undefined;
488
- ignore?: string[] | undefined;
489
- "max-warnings"?: number | undefined;
490
- rules?: Record<string, "error" | "off" | "warn" | z.objectOutputType<{
491
- severity: z.ZodEnum<["off", "warn", "error"]>;
492
- }, z.ZodUnknown, "strip">> | undefined;
493
- dependencies?: string[] | undefined;
494
- } | undefined;
495
- ruff?: {
496
- enabled: boolean;
497
- dependencies?: string[] | undefined;
498
- "line-length"?: number | undefined;
499
- lint?: {
500
- ignore?: string[] | undefined;
501
- select?: string[] | undefined;
502
- } | undefined;
503
- } | undefined;
504
- } | undefined;
505
- types?: {
506
- tsc?: {
507
- enabled: boolean;
508
- dependencies?: string[] | undefined;
509
- require?: {
510
- strict?: boolean | undefined;
511
- noImplicitAny?: boolean | undefined;
512
- strictNullChecks?: boolean | undefined;
513
- noUnusedLocals?: boolean | undefined;
514
- noUnusedParameters?: boolean | undefined;
515
- noImplicitReturns?: boolean | undefined;
516
- noFallthroughCasesInSwitch?: boolean | undefined;
517
- esModuleInterop?: boolean | undefined;
518
- skipLibCheck?: boolean | undefined;
519
- forceConsistentCasingInFileNames?: boolean | undefined;
520
- } | undefined;
521
- } | undefined;
522
- ty?: {
523
- enabled: boolean;
524
- dependencies?: string[] | undefined;
525
- } | undefined;
526
- } | undefined;
527
- unused?: {
528
- knip?: {
529
- enabled: boolean;
530
- dependencies?: string[] | undefined;
531
- } | undefined;
532
- vulture?: {
533
- enabled: boolean;
534
- dependencies?: string[] | undefined;
535
- } | undefined;
536
- } | undefined;
537
- coverage_run?: {
538
- enabled: boolean;
539
- min_threshold: number;
540
- runner: "vitest" | "jest" | "pytest" | "auto";
541
- dependencies?: string[] | undefined;
542
- command?: string | undefined;
543
- } | undefined;
544
- security?: {
545
- secrets?: {
546
- enabled: boolean;
547
- scan_mode: "files" | "branch" | "staged" | "full";
548
- base_branch: string;
549
- dependencies?: string[] | undefined;
550
- } | undefined;
551
- pnpmaudit?: {
552
- enabled: boolean;
553
- exclude_dev: boolean;
554
- dependencies?: string[] | undefined;
555
- } | undefined;
556
- pipaudit?: {
557
- enabled: boolean;
558
- dependencies?: string[] | undefined;
559
- } | undefined;
560
- } | undefined;
561
- naming?: {
562
- enabled: boolean;
563
- rules?: {
564
- extensions: string[];
565
- file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
566
- folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
567
- exclude?: string[] | undefined;
568
- allow_dynamic_routes?: boolean | undefined;
569
- }[] | undefined;
570
- } | undefined;
571
- quality?: {
572
- "disable-comments"?: {
573
- enabled: boolean;
574
- extensions?: string[] | undefined;
575
- exclude?: string[] | undefined;
576
- patterns?: string[] | undefined;
577
- } | undefined;
578
- } | undefined;
579
- }, {
580
- linting?: {
581
- eslint?: {
582
- enabled?: boolean | undefined;
583
- files?: string[] | undefined;
584
- ignore?: string[] | undefined;
585
- "max-warnings"?: number | undefined;
586
- rules?: Record<string, "error" | "off" | "warn" | z.objectInputType<{
587
- severity: z.ZodEnum<["off", "warn", "error"]>;
588
- }, z.ZodUnknown, "strip">> | undefined;
589
- dependencies?: string[] | undefined;
590
- } | undefined;
591
- ruff?: {
592
- enabled?: boolean | undefined;
593
- dependencies?: string[] | undefined;
594
- "line-length"?: number | undefined;
595
- lint?: {
596
- ignore?: string[] | undefined;
597
- select?: string[] | undefined;
598
- } | undefined;
599
- } | undefined;
600
- } | undefined;
601
- types?: {
602
- tsc?: {
603
- enabled?: boolean | undefined;
604
- dependencies?: string[] | undefined;
605
- require?: {
606
- strict?: boolean | undefined;
607
- noImplicitAny?: boolean | undefined;
608
- strictNullChecks?: boolean | undefined;
609
- noUnusedLocals?: boolean | undefined;
610
- noUnusedParameters?: boolean | undefined;
611
- noImplicitReturns?: boolean | undefined;
612
- noFallthroughCasesInSwitch?: boolean | undefined;
613
- esModuleInterop?: boolean | undefined;
614
- skipLibCheck?: boolean | undefined;
615
- forceConsistentCasingInFileNames?: boolean | undefined;
616
- } | undefined;
617
- } | undefined;
618
- ty?: {
619
- enabled?: boolean | undefined;
620
- dependencies?: string[] | undefined;
621
- } | undefined;
622
- } | undefined;
623
- unused?: {
624
- knip?: {
625
- enabled?: boolean | undefined;
626
- dependencies?: string[] | undefined;
627
- } | undefined;
628
- vulture?: {
629
- enabled?: boolean | undefined;
630
- dependencies?: string[] | undefined;
631
- } | undefined;
632
- } | undefined;
633
- coverage_run?: {
634
- enabled?: boolean | undefined;
635
- dependencies?: string[] | undefined;
636
- min_threshold?: number | undefined;
637
- runner?: "vitest" | "jest" | "pytest" | "auto" | undefined;
638
- command?: string | undefined;
639
- } | undefined;
640
- security?: {
641
- secrets?: {
642
- enabled?: boolean | undefined;
643
- dependencies?: string[] | undefined;
644
- scan_mode?: "files" | "branch" | "staged" | "full" | undefined;
645
- base_branch?: string | undefined;
646
- } | undefined;
647
- pnpmaudit?: {
648
- enabled?: boolean | undefined;
649
- dependencies?: string[] | undefined;
650
- exclude_dev?: boolean | undefined;
651
- } | undefined;
652
- pipaudit?: {
653
- enabled?: boolean | undefined;
654
- dependencies?: string[] | undefined;
655
- } | undefined;
656
- } | undefined;
657
- naming?: {
658
- enabled?: boolean | undefined;
659
- rules?: {
660
- extensions: string[];
661
- file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
662
- folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
663
- exclude?: string[] | undefined;
664
- allow_dynamic_routes?: boolean | undefined;
665
- }[] | undefined;
666
- } | undefined;
667
- quality?: {
668
- "disable-comments"?: {
669
- enabled?: boolean | undefined;
670
- extensions?: string[] | undefined;
671
- exclude?: string[] | undefined;
672
- patterns?: string[] | undefined;
673
- } | undefined;
674
- } | undefined;
675
- }>>;
144
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
145
+ extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
146
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
147
+ }, z.core.$strict>>;
148
+ }, z.core.$strict>>;
149
+ }, z.core.$strict>>;
676
150
  process: z.ZodOptional<z.ZodObject<{
677
151
  hooks: z.ZodOptional<z.ZodObject<{
678
152
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
679
153
  require_husky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
680
- require_hooks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
681
- commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
682
- protected_branches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
683
- }, "strict", z.ZodTypeAny, {
684
- enabled: boolean;
685
- require_husky: boolean;
686
- require_hooks?: string[] | undefined;
687
- commands?: Record<string, string[]> | undefined;
688
- protected_branches?: string[] | undefined;
689
- }, {
690
- enabled?: boolean | undefined;
691
- require_husky?: boolean | undefined;
692
- require_hooks?: string[] | undefined;
693
- commands?: Record<string, string[]> | undefined;
694
- protected_branches?: string[] | undefined;
695
- }>>;
154
+ require_hooks: z.ZodOptional<z.ZodArray<z.ZodString>>;
155
+ commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
156
+ protected_branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
157
+ }, z.core.$strict>>;
696
158
  ci: z.ZodOptional<z.ZodObject<{
697
159
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
698
- require_workflows: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
699
- jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
700
- actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
701
- commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>]>>>;
702
- }, "strict", z.ZodTypeAny, {
703
- enabled: boolean;
704
- commands?: Record<string, string[] | Record<string, string[]>> | undefined;
705
- require_workflows?: string[] | undefined;
706
- jobs?: Record<string, string[]> | undefined;
707
- actions?: Record<string, string[]> | undefined;
708
- }, {
709
- enabled?: boolean | undefined;
710
- commands?: Record<string, string[] | Record<string, string[]>> | undefined;
711
- require_workflows?: string[] | undefined;
712
- jobs?: Record<string, string[]> | undefined;
713
- actions?: Record<string, string[]> | undefined;
714
- }>>;
160
+ require_workflows: z.ZodOptional<z.ZodArray<z.ZodString>>;
161
+ jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
162
+ actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
163
+ commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>]>>>;
164
+ }, z.core.$strict>>;
715
165
  branches: z.ZodOptional<z.ZodObject<{
716
166
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
717
167
  pattern: z.ZodOptional<z.ZodString>;
718
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
168
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
719
169
  require_issue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
720
170
  issue_pattern: z.ZodOptional<z.ZodString>;
721
- }, "strict", z.ZodTypeAny, {
722
- enabled: boolean;
723
- require_issue: boolean;
724
- exclude?: string[] | undefined;
725
- pattern?: string | undefined;
726
- issue_pattern?: string | undefined;
727
- }, {
728
- enabled?: boolean | undefined;
729
- exclude?: string[] | undefined;
730
- pattern?: string | undefined;
731
- require_issue?: boolean | undefined;
732
- issue_pattern?: string | undefined;
733
- }>>;
171
+ }, z.core.$strict>>;
734
172
  commits: z.ZodOptional<z.ZodObject<{
735
173
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
736
174
  pattern: z.ZodOptional<z.ZodString>;
737
- types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
175
+ types: z.ZodOptional<z.ZodArray<z.ZodString>>;
738
176
  require_scope: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
739
177
  max_subject_length: z.ZodOptional<z.ZodNumber>;
740
- }, "strict", z.ZodTypeAny, {
741
- enabled: boolean;
742
- require_scope: boolean;
743
- types?: string[] | undefined;
744
- pattern?: string | undefined;
745
- max_subject_length?: number | undefined;
746
- }, {
747
- enabled?: boolean | undefined;
748
- types?: string[] | undefined;
749
- pattern?: string | undefined;
750
- require_scope?: boolean | undefined;
751
- max_subject_length?: number | undefined;
752
- }>>;
178
+ }, z.core.$strict>>;
753
179
  changesets: z.ZodOptional<z.ZodObject<{
754
180
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
755
- require_for_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
756
- exclude_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
181
+ require_for_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
182
+ exclude_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
757
183
  validate_format: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
758
- allowed_bump_types: z.ZodOptional<z.ZodArray<z.ZodEnum<["patch", "minor", "major"]>, "many">>;
184
+ allowed_bump_types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
185
+ patch: "patch";
186
+ minor: "minor";
187
+ major: "major";
188
+ }>>>;
759
189
  require_description: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
760
190
  min_description_length: z.ZodOptional<z.ZodNumber>;
761
- }, "strict", z.ZodTypeAny, {
762
- enabled: boolean;
763
- validate_format: boolean;
764
- require_description: boolean;
765
- require_for_paths?: string[] | undefined;
766
- exclude_paths?: string[] | undefined;
767
- allowed_bump_types?: ("patch" | "minor" | "major")[] | undefined;
768
- min_description_length?: number | undefined;
769
- }, {
770
- enabled?: boolean | undefined;
771
- require_for_paths?: string[] | undefined;
772
- exclude_paths?: string[] | undefined;
773
- validate_format?: boolean | undefined;
774
- allowed_bump_types?: ("patch" | "minor" | "major")[] | undefined;
775
- require_description?: boolean | undefined;
776
- min_description_length?: number | undefined;
777
- }>>;
191
+ }, z.core.$strict>>;
778
192
  pr: z.ZodOptional<z.ZodObject<{
779
193
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
780
194
  max_files: z.ZodOptional<z.ZodNumber>;
781
195
  max_lines: z.ZodOptional<z.ZodNumber>;
782
196
  require_issue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
783
- issue_keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
784
- exclude: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
785
- }, "strict", z.ZodTypeAny, {
786
- enabled: boolean;
787
- require_issue: boolean;
788
- exclude?: string[] | undefined;
789
- max_files?: number | undefined;
790
- max_lines?: number | undefined;
791
- issue_keywords?: string[] | undefined;
792
- }, {
793
- enabled?: boolean | undefined;
794
- exclude?: string[] | undefined;
795
- require_issue?: boolean | undefined;
796
- max_files?: number | undefined;
797
- max_lines?: number | undefined;
798
- issue_keywords?: string[] | undefined;
799
- }>>;
197
+ issue_keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
198
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
199
+ }, z.core.$strict>>;
800
200
  tickets: z.ZodOptional<z.ZodObject<{
801
201
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
802
202
  pattern: z.ZodOptional<z.ZodString>;
803
203
  require_in_commits: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
804
204
  require_in_branch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
805
- }, "strict", z.ZodTypeAny, {
806
- enabled: boolean;
807
- require_in_commits: boolean;
808
- require_in_branch: boolean;
809
- pattern?: string | undefined;
810
- }, {
811
- enabled?: boolean | undefined;
812
- pattern?: string | undefined;
813
- require_in_commits?: boolean | undefined;
814
- require_in_branch?: boolean | undefined;
815
- }>>;
205
+ }, z.core.$strict>>;
816
206
  coverage: z.ZodOptional<z.ZodObject<{
817
207
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
818
208
  min_threshold: z.ZodOptional<z.ZodNumber>;
819
- enforce_in: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ci", "config", "both"]>>>;
209
+ enforce_in: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
210
+ ci: "ci";
211
+ config: "config";
212
+ both: "both";
213
+ }>>>;
820
214
  ci_workflow: z.ZodOptional<z.ZodString>;
821
215
  ci_job: z.ZodOptional<z.ZodString>;
822
- }, "strict", z.ZodTypeAny, {
823
- enabled: boolean;
824
- enforce_in: "ci" | "config" | "both";
825
- min_threshold?: number | undefined;
826
- ci_workflow?: string | undefined;
827
- ci_job?: string | undefined;
828
- }, {
829
- enabled?: boolean | undefined;
830
- min_threshold?: number | undefined;
831
- enforce_in?: "ci" | "config" | "both" | undefined;
832
- ci_workflow?: string | undefined;
833
- ci_job?: string | undefined;
834
- }>>;
216
+ }, z.core.$strict>>;
835
217
  repo: z.ZodOptional<z.ZodObject<{
836
218
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
837
219
  require_branch_protection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -839,1018 +221,94 @@ export declare const configSchema: z.ZodObject<{
839
221
  ruleset: z.ZodOptional<z.ZodObject<{
840
222
  name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
841
223
  branch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
842
- enforcement: z.ZodDefault<z.ZodOptional<z.ZodEnum<["active", "evaluate", "disabled"]>>>;
224
+ enforcement: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
225
+ active: "active";
226
+ evaluate: "evaluate";
227
+ disabled: "disabled";
228
+ }>>>;
843
229
  required_reviews: z.ZodOptional<z.ZodNumber>;
844
230
  dismiss_stale_reviews: z.ZodOptional<z.ZodBoolean>;
845
231
  require_code_owner_reviews: z.ZodOptional<z.ZodBoolean>;
846
- require_status_checks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
232
+ require_status_checks: z.ZodOptional<z.ZodArray<z.ZodString>>;
847
233
  require_branches_up_to_date: z.ZodOptional<z.ZodBoolean>;
848
234
  require_signed_commits: z.ZodOptional<z.ZodBoolean>;
849
235
  enforce_admins: z.ZodOptional<z.ZodBoolean>;
850
236
  bypass_actors: z.ZodOptional<z.ZodArray<z.ZodObject<{
851
- actor_type: z.ZodEnum<["Integration", "OrganizationAdmin", "RepositoryRole", "Team", "DeployKey"]>;
237
+ actor_type: z.ZodEnum<{
238
+ Integration: "Integration";
239
+ OrganizationAdmin: "OrganizationAdmin";
240
+ RepositoryRole: "RepositoryRole";
241
+ Team: "Team";
242
+ DeployKey: "DeployKey";
243
+ }>;
852
244
  actor_id: z.ZodOptional<z.ZodNumber>;
853
- bypass_mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "pull_request"]>>>;
854
- }, "strict", z.ZodTypeAny, {
855
- actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
856
- bypass_mode: "always" | "pull_request";
857
- actor_id?: number | undefined;
858
- }, {
859
- actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
860
- actor_id?: number | undefined;
861
- bypass_mode?: "always" | "pull_request" | undefined;
862
- }>, "many">>;
863
- }, "strict", z.ZodTypeAny, {
864
- branch: string;
865
- name: string;
866
- enforcement: "active" | "evaluate" | "disabled";
867
- required_reviews?: number | undefined;
868
- dismiss_stale_reviews?: boolean | undefined;
869
- require_code_owner_reviews?: boolean | undefined;
870
- require_status_checks?: string[] | undefined;
871
- require_branches_up_to_date?: boolean | undefined;
872
- require_signed_commits?: boolean | undefined;
873
- enforce_admins?: boolean | undefined;
874
- bypass_actors?: {
875
- actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
876
- bypass_mode: "always" | "pull_request";
877
- actor_id?: number | undefined;
878
- }[] | undefined;
879
- }, {
880
- branch?: string | undefined;
881
- name?: string | undefined;
882
- enforcement?: "active" | "evaluate" | "disabled" | undefined;
883
- required_reviews?: number | undefined;
884
- dismiss_stale_reviews?: boolean | undefined;
885
- require_code_owner_reviews?: boolean | undefined;
886
- require_status_checks?: string[] | undefined;
887
- require_branches_up_to_date?: boolean | undefined;
888
- require_signed_commits?: boolean | undefined;
889
- enforce_admins?: boolean | undefined;
890
- bypass_actors?: {
891
- actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
892
- actor_id?: number | undefined;
893
- bypass_mode?: "always" | "pull_request" | undefined;
894
- }[] | undefined;
895
- }>>;
245
+ bypass_mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
246
+ always: "always";
247
+ pull_request: "pull_request";
248
+ }>>>;
249
+ }, z.core.$strict>>>;
250
+ }, z.core.$strict>>;
896
251
  tag_protection: z.ZodOptional<z.ZodObject<{
897
- patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
252
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
898
253
  prevent_deletion: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
899
254
  prevent_update: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
900
- }, "strict", z.ZodTypeAny, {
901
- prevent_deletion: boolean;
902
- prevent_update: boolean;
903
- patterns?: string[] | undefined;
904
- }, {
905
- patterns?: string[] | undefined;
906
- prevent_deletion?: boolean | undefined;
907
- prevent_update?: boolean | undefined;
908
- }>>;
909
- }, "strict", z.ZodTypeAny, {
910
- enabled: boolean;
911
- require_branch_protection: boolean;
912
- require_codeowners: boolean;
913
- ruleset?: {
914
- branch: string;
915
- name: string;
916
- enforcement: "active" | "evaluate" | "disabled";
917
- required_reviews?: number | undefined;
918
- dismiss_stale_reviews?: boolean | undefined;
919
- require_code_owner_reviews?: boolean | undefined;
920
- require_status_checks?: string[] | undefined;
921
- require_branches_up_to_date?: boolean | undefined;
922
- require_signed_commits?: boolean | undefined;
923
- enforce_admins?: boolean | undefined;
924
- bypass_actors?: {
925
- actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
926
- bypass_mode: "always" | "pull_request";
927
- actor_id?: number | undefined;
928
- }[] | undefined;
929
- } | undefined;
930
- tag_protection?: {
931
- prevent_deletion: boolean;
932
- prevent_update: boolean;
933
- patterns?: string[] | undefined;
934
- } | undefined;
935
- }, {
936
- enabled?: boolean | undefined;
937
- require_branch_protection?: boolean | undefined;
938
- require_codeowners?: boolean | undefined;
939
- ruleset?: {
940
- branch?: string | undefined;
941
- name?: string | undefined;
942
- enforcement?: "active" | "evaluate" | "disabled" | undefined;
943
- required_reviews?: number | undefined;
944
- dismiss_stale_reviews?: boolean | undefined;
945
- require_code_owner_reviews?: boolean | undefined;
946
- require_status_checks?: string[] | undefined;
947
- require_branches_up_to_date?: boolean | undefined;
948
- require_signed_commits?: boolean | undefined;
949
- enforce_admins?: boolean | undefined;
950
- bypass_actors?: {
951
- actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
952
- actor_id?: number | undefined;
953
- bypass_mode?: "always" | "pull_request" | undefined;
954
- }[] | undefined;
955
- } | undefined;
956
- tag_protection?: {
957
- patterns?: string[] | undefined;
958
- prevent_deletion?: boolean | undefined;
959
- prevent_update?: boolean | undefined;
960
- } | undefined;
961
- }>>;
255
+ }, z.core.$strict>>;
256
+ }, z.core.$strict>>;
962
257
  backups: z.ZodOptional<z.ZodObject<{
963
258
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
964
259
  bucket: z.ZodOptional<z.ZodString>;
965
260
  prefix: z.ZodOptional<z.ZodString>;
966
261
  max_age_hours: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
967
262
  region: z.ZodOptional<z.ZodString>;
968
- }, "strict", z.ZodTypeAny, {
969
- enabled: boolean;
970
- max_age_hours: number;
971
- bucket?: string | undefined;
972
- prefix?: string | undefined;
973
- region?: string | undefined;
974
- }, {
975
- enabled?: boolean | undefined;
976
- bucket?: string | undefined;
977
- prefix?: string | undefined;
978
- max_age_hours?: number | undefined;
979
- region?: string | undefined;
980
- }>>;
263
+ }, z.core.$strict>>;
981
264
  codeowners: z.ZodOptional<z.ZodObject<{
982
265
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
983
266
  rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
984
267
  pattern: z.ZodString;
985
- owners: z.ZodArray<z.ZodString, "many">;
986
- }, "strict", z.ZodTypeAny, {
987
- pattern: string;
988
- owners: string[];
989
- }, {
990
- pattern: string;
991
- owners: string[];
992
- }>, "many">>;
993
- }, "strict", z.ZodTypeAny, {
994
- enabled: boolean;
995
- rules?: {
996
- pattern: string;
997
- owners: string[];
998
- }[] | undefined;
999
- }, {
1000
- enabled?: boolean | undefined;
1001
- rules?: {
1002
- pattern: string;
1003
- owners: string[];
1004
- }[] | undefined;
1005
- }>>;
268
+ owners: z.ZodArray<z.ZodString>;
269
+ }, z.core.$strict>>>;
270
+ }, z.core.$strict>>;
1006
271
  docs: z.ZodOptional<z.ZodObject<{
1007
272
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1008
273
  path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1009
- enforcement: z.ZodDefault<z.ZodOptional<z.ZodEnum<["block", "warn"]>>>;
1010
- allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
274
+ enforcement: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
275
+ warn: "warn";
276
+ block: "block";
277
+ }>>>;
278
+ allowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
1011
279
  max_files: z.ZodOptional<z.ZodNumber>;
1012
280
  max_file_lines: z.ZodOptional<z.ZodNumber>;
1013
281
  max_total_kb: z.ZodOptional<z.ZodNumber>;
1014
282
  staleness_days: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1015
283
  stale_mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1016
284
  min_coverage: z.ZodOptional<z.ZodNumber>;
1017
- coverage_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1018
- exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
285
+ coverage_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
286
+ exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1019
287
  types: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1020
- required_sections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1021
- frontmatter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1022
- }, "strict", z.ZodTypeAny, {
1023
- required_sections?: string[] | undefined;
1024
- frontmatter?: string[] | undefined;
1025
- }, {
1026
- required_sections?: string[] | undefined;
1027
- frontmatter?: string[] | undefined;
1028
- }>>>;
1029
- }, "strict", z.ZodTypeAny, {
1030
- path: string;
1031
- enabled: boolean;
1032
- enforcement: "warn" | "block";
1033
- staleness_days: number;
1034
- types?: Record<string, {
1035
- required_sections?: string[] | undefined;
1036
- frontmatter?: string[] | undefined;
1037
- }> | undefined;
1038
- max_files?: number | undefined;
1039
- allowlist?: string[] | undefined;
1040
- max_file_lines?: number | undefined;
1041
- max_total_kb?: number | undefined;
1042
- stale_mappings?: Record<string, string> | undefined;
1043
- min_coverage?: number | undefined;
1044
- coverage_paths?: string[] | undefined;
1045
- exclude_patterns?: string[] | undefined;
1046
- }, {
1047
- path?: string | undefined;
1048
- enabled?: boolean | undefined;
1049
- types?: Record<string, {
1050
- required_sections?: string[] | undefined;
1051
- frontmatter?: string[] | undefined;
1052
- }> | undefined;
1053
- max_files?: number | undefined;
1054
- enforcement?: "warn" | "block" | undefined;
1055
- allowlist?: string[] | undefined;
1056
- max_file_lines?: number | undefined;
1057
- max_total_kb?: number | undefined;
1058
- staleness_days?: number | undefined;
1059
- stale_mappings?: Record<string, string> | undefined;
1060
- min_coverage?: number | undefined;
1061
- coverage_paths?: string[] | undefined;
1062
- exclude_patterns?: string[] | undefined;
1063
- }>>;
288
+ required_sections: z.ZodOptional<z.ZodArray<z.ZodString>>;
289
+ frontmatter: z.ZodOptional<z.ZodArray<z.ZodString>>;
290
+ }, z.core.$strict>>>;
291
+ }, z.core.$strict>>;
1064
292
  forbidden_files: z.ZodOptional<z.ZodObject<{
1065
293
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1066
- files: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1067
- ignore: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
294
+ files: z.ZodOptional<z.ZodArray<z.ZodString>>;
295
+ ignore: z.ZodOptional<z.ZodArray<z.ZodString>>;
1068
296
  message: z.ZodOptional<z.ZodString>;
1069
- }, "strict", z.ZodTypeAny, {
1070
- enabled: boolean;
1071
- message?: string | undefined;
1072
- files?: string[] | undefined;
1073
- ignore?: string[] | undefined;
1074
- }, {
1075
- message?: string | undefined;
1076
- enabled?: boolean | undefined;
1077
- files?: string[] | undefined;
1078
- ignore?: string[] | undefined;
1079
- }>>;
1080
- }, "strict", z.ZodTypeAny, {
1081
- ci?: {
1082
- enabled: boolean;
1083
- commands?: Record<string, string[] | Record<string, string[]>> | undefined;
1084
- require_workflows?: string[] | undefined;
1085
- jobs?: Record<string, string[]> | undefined;
1086
- actions?: Record<string, string[]> | undefined;
1087
- } | undefined;
1088
- hooks?: {
1089
- enabled: boolean;
1090
- require_husky: boolean;
1091
- require_hooks?: string[] | undefined;
1092
- commands?: Record<string, string[]> | undefined;
1093
- protected_branches?: string[] | undefined;
1094
- } | undefined;
1095
- branches?: {
1096
- enabled: boolean;
1097
- require_issue: boolean;
1098
- exclude?: string[] | undefined;
1099
- pattern?: string | undefined;
1100
- issue_pattern?: string | undefined;
1101
- } | undefined;
1102
- commits?: {
1103
- enabled: boolean;
1104
- require_scope: boolean;
1105
- types?: string[] | undefined;
1106
- pattern?: string | undefined;
1107
- max_subject_length?: number | undefined;
1108
- } | undefined;
1109
- changesets?: {
1110
- enabled: boolean;
1111
- validate_format: boolean;
1112
- require_description: boolean;
1113
- require_for_paths?: string[] | undefined;
1114
- exclude_paths?: string[] | undefined;
1115
- allowed_bump_types?: ("patch" | "minor" | "major")[] | undefined;
1116
- min_description_length?: number | undefined;
1117
- } | undefined;
1118
- pr?: {
1119
- enabled: boolean;
1120
- require_issue: boolean;
1121
- exclude?: string[] | undefined;
1122
- max_files?: number | undefined;
1123
- max_lines?: number | undefined;
1124
- issue_keywords?: string[] | undefined;
1125
- } | undefined;
1126
- tickets?: {
1127
- enabled: boolean;
1128
- require_in_commits: boolean;
1129
- require_in_branch: boolean;
1130
- pattern?: string | undefined;
1131
- } | undefined;
1132
- coverage?: {
1133
- enabled: boolean;
1134
- enforce_in: "ci" | "config" | "both";
1135
- min_threshold?: number | undefined;
1136
- ci_workflow?: string | undefined;
1137
- ci_job?: string | undefined;
1138
- } | undefined;
1139
- repo?: {
1140
- enabled: boolean;
1141
- require_branch_protection: boolean;
1142
- require_codeowners: boolean;
1143
- ruleset?: {
1144
- branch: string;
1145
- name: string;
1146
- enforcement: "active" | "evaluate" | "disabled";
1147
- required_reviews?: number | undefined;
1148
- dismiss_stale_reviews?: boolean | undefined;
1149
- require_code_owner_reviews?: boolean | undefined;
1150
- require_status_checks?: string[] | undefined;
1151
- require_branches_up_to_date?: boolean | undefined;
1152
- require_signed_commits?: boolean | undefined;
1153
- enforce_admins?: boolean | undefined;
1154
- bypass_actors?: {
1155
- actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
1156
- bypass_mode: "always" | "pull_request";
1157
- actor_id?: number | undefined;
1158
- }[] | undefined;
1159
- } | undefined;
1160
- tag_protection?: {
1161
- prevent_deletion: boolean;
1162
- prevent_update: boolean;
1163
- patterns?: string[] | undefined;
1164
- } | undefined;
1165
- } | undefined;
1166
- backups?: {
1167
- enabled: boolean;
1168
- max_age_hours: number;
1169
- bucket?: string | undefined;
1170
- prefix?: string | undefined;
1171
- region?: string | undefined;
1172
- } | undefined;
1173
- codeowners?: {
1174
- enabled: boolean;
1175
- rules?: {
1176
- pattern: string;
1177
- owners: string[];
1178
- }[] | undefined;
1179
- } | undefined;
1180
- docs?: {
1181
- path: string;
1182
- enabled: boolean;
1183
- enforcement: "warn" | "block";
1184
- staleness_days: number;
1185
- types?: Record<string, {
1186
- required_sections?: string[] | undefined;
1187
- frontmatter?: string[] | undefined;
1188
- }> | undefined;
1189
- max_files?: number | undefined;
1190
- allowlist?: string[] | undefined;
1191
- max_file_lines?: number | undefined;
1192
- max_total_kb?: number | undefined;
1193
- stale_mappings?: Record<string, string> | undefined;
1194
- min_coverage?: number | undefined;
1195
- coverage_paths?: string[] | undefined;
1196
- exclude_patterns?: string[] | undefined;
1197
- } | undefined;
1198
- forbidden_files?: {
1199
- enabled: boolean;
1200
- message?: string | undefined;
1201
- files?: string[] | undefined;
1202
- ignore?: string[] | undefined;
1203
- } | undefined;
1204
- }, {
1205
- ci?: {
1206
- enabled?: boolean | undefined;
1207
- commands?: Record<string, string[] | Record<string, string[]>> | undefined;
1208
- require_workflows?: string[] | undefined;
1209
- jobs?: Record<string, string[]> | undefined;
1210
- actions?: Record<string, string[]> | undefined;
1211
- } | undefined;
1212
- hooks?: {
1213
- enabled?: boolean | undefined;
1214
- require_husky?: boolean | undefined;
1215
- require_hooks?: string[] | undefined;
1216
- commands?: Record<string, string[]> | undefined;
1217
- protected_branches?: string[] | undefined;
1218
- } | undefined;
1219
- branches?: {
1220
- enabled?: boolean | undefined;
1221
- exclude?: string[] | undefined;
1222
- pattern?: string | undefined;
1223
- require_issue?: boolean | undefined;
1224
- issue_pattern?: string | undefined;
1225
- } | undefined;
1226
- commits?: {
1227
- enabled?: boolean | undefined;
1228
- types?: string[] | undefined;
1229
- pattern?: string | undefined;
1230
- require_scope?: boolean | undefined;
1231
- max_subject_length?: number | undefined;
1232
- } | undefined;
1233
- changesets?: {
1234
- enabled?: boolean | undefined;
1235
- require_for_paths?: string[] | undefined;
1236
- exclude_paths?: string[] | undefined;
1237
- validate_format?: boolean | undefined;
1238
- allowed_bump_types?: ("patch" | "minor" | "major")[] | undefined;
1239
- require_description?: boolean | undefined;
1240
- min_description_length?: number | undefined;
1241
- } | undefined;
1242
- pr?: {
1243
- enabled?: boolean | undefined;
1244
- exclude?: string[] | undefined;
1245
- require_issue?: boolean | undefined;
1246
- max_files?: number | undefined;
1247
- max_lines?: number | undefined;
1248
- issue_keywords?: string[] | undefined;
1249
- } | undefined;
1250
- tickets?: {
1251
- enabled?: boolean | undefined;
1252
- pattern?: string | undefined;
1253
- require_in_commits?: boolean | undefined;
1254
- require_in_branch?: boolean | undefined;
1255
- } | undefined;
1256
- coverage?: {
1257
- enabled?: boolean | undefined;
1258
- min_threshold?: number | undefined;
1259
- enforce_in?: "ci" | "config" | "both" | undefined;
1260
- ci_workflow?: string | undefined;
1261
- ci_job?: string | undefined;
1262
- } | undefined;
1263
- repo?: {
1264
- enabled?: boolean | undefined;
1265
- require_branch_protection?: boolean | undefined;
1266
- require_codeowners?: boolean | undefined;
1267
- ruleset?: {
1268
- branch?: string | undefined;
1269
- name?: string | undefined;
1270
- enforcement?: "active" | "evaluate" | "disabled" | undefined;
1271
- required_reviews?: number | undefined;
1272
- dismiss_stale_reviews?: boolean | undefined;
1273
- require_code_owner_reviews?: boolean | undefined;
1274
- require_status_checks?: string[] | undefined;
1275
- require_branches_up_to_date?: boolean | undefined;
1276
- require_signed_commits?: boolean | undefined;
1277
- enforce_admins?: boolean | undefined;
1278
- bypass_actors?: {
1279
- actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
1280
- actor_id?: number | undefined;
1281
- bypass_mode?: "always" | "pull_request" | undefined;
1282
- }[] | undefined;
1283
- } | undefined;
1284
- tag_protection?: {
1285
- patterns?: string[] | undefined;
1286
- prevent_deletion?: boolean | undefined;
1287
- prevent_update?: boolean | undefined;
1288
- } | undefined;
1289
- } | undefined;
1290
- backups?: {
1291
- enabled?: boolean | undefined;
1292
- bucket?: string | undefined;
1293
- prefix?: string | undefined;
1294
- max_age_hours?: number | undefined;
1295
- region?: string | undefined;
1296
- } | undefined;
1297
- codeowners?: {
1298
- enabled?: boolean | undefined;
1299
- rules?: {
1300
- pattern: string;
1301
- owners: string[];
1302
- }[] | undefined;
1303
- } | undefined;
1304
- docs?: {
1305
- path?: string | undefined;
1306
- enabled?: boolean | undefined;
1307
- types?: Record<string, {
1308
- required_sections?: string[] | undefined;
1309
- frontmatter?: string[] | undefined;
1310
- }> | undefined;
1311
- max_files?: number | undefined;
1312
- enforcement?: "warn" | "block" | undefined;
1313
- allowlist?: string[] | undefined;
1314
- max_file_lines?: number | undefined;
1315
- max_total_kb?: number | undefined;
1316
- staleness_days?: number | undefined;
1317
- stale_mappings?: Record<string, string> | undefined;
1318
- min_coverage?: number | undefined;
1319
- coverage_paths?: string[] | undefined;
1320
- exclude_patterns?: string[] | undefined;
1321
- } | undefined;
1322
- forbidden_files?: {
1323
- message?: string | undefined;
1324
- enabled?: boolean | undefined;
1325
- files?: string[] | undefined;
1326
- ignore?: string[] | undefined;
1327
- } | undefined;
1328
- }>>;
297
+ }, z.core.$strict>>;
298
+ }, z.core.$strict>>;
1329
299
  infra: z.ZodOptional<z.ZodObject<{
1330
300
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1331
301
  manifest: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1332
- }, "strict", z.ZodTypeAny, {
1333
- enabled: boolean;
1334
- manifest: string;
1335
- }, {
1336
- enabled?: boolean | undefined;
1337
- manifest?: string | undefined;
1338
- }>>;
302
+ }, z.core.$strict>>;
1339
303
  mcp: z.ZodOptional<z.ZodObject<{
1340
304
  standards: z.ZodOptional<z.ZodObject<{
1341
305
  source: z.ZodOptional<z.ZodString>;
1342
- }, "strict", z.ZodTypeAny, {
1343
- source?: string | undefined;
1344
- }, {
1345
- source?: string | undefined;
1346
- }>>;
1347
- }, "strict", z.ZodTypeAny, {
1348
- standards?: {
1349
- source?: string | undefined;
1350
- } | undefined;
1351
- }, {
1352
- standards?: {
1353
- source?: string | undefined;
1354
- } | undefined;
1355
- }>>;
306
+ }, z.core.$strict>>;
307
+ }, z.core.$strict>>;
1356
308
  monorepo: z.ZodOptional<z.ZodObject<{
1357
- exclude: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1358
- }, "strict", z.ZodTypeAny, {
1359
- exclude?: string[] | undefined;
1360
- }, {
1361
- exclude?: string[] | undefined;
1362
- }>>;
1363
- }, "strict", z.ZodTypeAny, {
1364
- code?: {
1365
- linting?: {
1366
- eslint?: {
1367
- enabled: boolean;
1368
- files?: string[] | undefined;
1369
- ignore?: string[] | undefined;
1370
- "max-warnings"?: number | undefined;
1371
- rules?: Record<string, "error" | "off" | "warn" | z.objectOutputType<{
1372
- severity: z.ZodEnum<["off", "warn", "error"]>;
1373
- }, z.ZodUnknown, "strip">> | undefined;
1374
- dependencies?: string[] | undefined;
1375
- } | undefined;
1376
- ruff?: {
1377
- enabled: boolean;
1378
- dependencies?: string[] | undefined;
1379
- "line-length"?: number | undefined;
1380
- lint?: {
1381
- ignore?: string[] | undefined;
1382
- select?: string[] | undefined;
1383
- } | undefined;
1384
- } | undefined;
1385
- } | undefined;
1386
- types?: {
1387
- tsc?: {
1388
- enabled: boolean;
1389
- dependencies?: string[] | undefined;
1390
- require?: {
1391
- strict?: boolean | undefined;
1392
- noImplicitAny?: boolean | undefined;
1393
- strictNullChecks?: boolean | undefined;
1394
- noUnusedLocals?: boolean | undefined;
1395
- noUnusedParameters?: boolean | undefined;
1396
- noImplicitReturns?: boolean | undefined;
1397
- noFallthroughCasesInSwitch?: boolean | undefined;
1398
- esModuleInterop?: boolean | undefined;
1399
- skipLibCheck?: boolean | undefined;
1400
- forceConsistentCasingInFileNames?: boolean | undefined;
1401
- } | undefined;
1402
- } | undefined;
1403
- ty?: {
1404
- enabled: boolean;
1405
- dependencies?: string[] | undefined;
1406
- } | undefined;
1407
- } | undefined;
1408
- unused?: {
1409
- knip?: {
1410
- enabled: boolean;
1411
- dependencies?: string[] | undefined;
1412
- } | undefined;
1413
- vulture?: {
1414
- enabled: boolean;
1415
- dependencies?: string[] | undefined;
1416
- } | undefined;
1417
- } | undefined;
1418
- coverage_run?: {
1419
- enabled: boolean;
1420
- min_threshold: number;
1421
- runner: "vitest" | "jest" | "pytest" | "auto";
1422
- dependencies?: string[] | undefined;
1423
- command?: string | undefined;
1424
- } | undefined;
1425
- security?: {
1426
- secrets?: {
1427
- enabled: boolean;
1428
- scan_mode: "files" | "branch" | "staged" | "full";
1429
- base_branch: string;
1430
- dependencies?: string[] | undefined;
1431
- } | undefined;
1432
- pnpmaudit?: {
1433
- enabled: boolean;
1434
- exclude_dev: boolean;
1435
- dependencies?: string[] | undefined;
1436
- } | undefined;
1437
- pipaudit?: {
1438
- enabled: boolean;
1439
- dependencies?: string[] | undefined;
1440
- } | undefined;
1441
- } | undefined;
1442
- naming?: {
1443
- enabled: boolean;
1444
- rules?: {
1445
- extensions: string[];
1446
- file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
1447
- folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
1448
- exclude?: string[] | undefined;
1449
- allow_dynamic_routes?: boolean | undefined;
1450
- }[] | undefined;
1451
- } | undefined;
1452
- quality?: {
1453
- "disable-comments"?: {
1454
- enabled: boolean;
1455
- extensions?: string[] | undefined;
1456
- exclude?: string[] | undefined;
1457
- patterns?: string[] | undefined;
1458
- } | undefined;
1459
- } | undefined;
1460
- } | undefined;
1461
- metadata?: {
1462
- status: "active" | "pre-release" | "deprecated";
1463
- tier: "production" | "internal" | "prototype";
1464
- project?: string | undefined;
1465
- organisation?: string | undefined;
1466
- } | undefined;
1467
- extends?: {
1468
- registry: string;
1469
- rulesets: string[];
1470
- } | undefined;
1471
- process?: {
1472
- ci?: {
1473
- enabled: boolean;
1474
- commands?: Record<string, string[] | Record<string, string[]>> | undefined;
1475
- require_workflows?: string[] | undefined;
1476
- jobs?: Record<string, string[]> | undefined;
1477
- actions?: Record<string, string[]> | undefined;
1478
- } | undefined;
1479
- hooks?: {
1480
- enabled: boolean;
1481
- require_husky: boolean;
1482
- require_hooks?: string[] | undefined;
1483
- commands?: Record<string, string[]> | undefined;
1484
- protected_branches?: string[] | undefined;
1485
- } | undefined;
1486
- branches?: {
1487
- enabled: boolean;
1488
- require_issue: boolean;
1489
- exclude?: string[] | undefined;
1490
- pattern?: string | undefined;
1491
- issue_pattern?: string | undefined;
1492
- } | undefined;
1493
- commits?: {
1494
- enabled: boolean;
1495
- require_scope: boolean;
1496
- types?: string[] | undefined;
1497
- pattern?: string | undefined;
1498
- max_subject_length?: number | undefined;
1499
- } | undefined;
1500
- changesets?: {
1501
- enabled: boolean;
1502
- validate_format: boolean;
1503
- require_description: boolean;
1504
- require_for_paths?: string[] | undefined;
1505
- exclude_paths?: string[] | undefined;
1506
- allowed_bump_types?: ("patch" | "minor" | "major")[] | undefined;
1507
- min_description_length?: number | undefined;
1508
- } | undefined;
1509
- pr?: {
1510
- enabled: boolean;
1511
- require_issue: boolean;
1512
- exclude?: string[] | undefined;
1513
- max_files?: number | undefined;
1514
- max_lines?: number | undefined;
1515
- issue_keywords?: string[] | undefined;
1516
- } | undefined;
1517
- tickets?: {
1518
- enabled: boolean;
1519
- require_in_commits: boolean;
1520
- require_in_branch: boolean;
1521
- pattern?: string | undefined;
1522
- } | undefined;
1523
- coverage?: {
1524
- enabled: boolean;
1525
- enforce_in: "ci" | "config" | "both";
1526
- min_threshold?: number | undefined;
1527
- ci_workflow?: string | undefined;
1528
- ci_job?: string | undefined;
1529
- } | undefined;
1530
- repo?: {
1531
- enabled: boolean;
1532
- require_branch_protection: boolean;
1533
- require_codeowners: boolean;
1534
- ruleset?: {
1535
- branch: string;
1536
- name: string;
1537
- enforcement: "active" | "evaluate" | "disabled";
1538
- required_reviews?: number | undefined;
1539
- dismiss_stale_reviews?: boolean | undefined;
1540
- require_code_owner_reviews?: boolean | undefined;
1541
- require_status_checks?: string[] | undefined;
1542
- require_branches_up_to_date?: boolean | undefined;
1543
- require_signed_commits?: boolean | undefined;
1544
- enforce_admins?: boolean | undefined;
1545
- bypass_actors?: {
1546
- actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
1547
- bypass_mode: "always" | "pull_request";
1548
- actor_id?: number | undefined;
1549
- }[] | undefined;
1550
- } | undefined;
1551
- tag_protection?: {
1552
- prevent_deletion: boolean;
1553
- prevent_update: boolean;
1554
- patterns?: string[] | undefined;
1555
- } | undefined;
1556
- } | undefined;
1557
- backups?: {
1558
- enabled: boolean;
1559
- max_age_hours: number;
1560
- bucket?: string | undefined;
1561
- prefix?: string | undefined;
1562
- region?: string | undefined;
1563
- } | undefined;
1564
- codeowners?: {
1565
- enabled: boolean;
1566
- rules?: {
1567
- pattern: string;
1568
- owners: string[];
1569
- }[] | undefined;
1570
- } | undefined;
1571
- docs?: {
1572
- path: string;
1573
- enabled: boolean;
1574
- enforcement: "warn" | "block";
1575
- staleness_days: number;
1576
- types?: Record<string, {
1577
- required_sections?: string[] | undefined;
1578
- frontmatter?: string[] | undefined;
1579
- }> | undefined;
1580
- max_files?: number | undefined;
1581
- allowlist?: string[] | undefined;
1582
- max_file_lines?: number | undefined;
1583
- max_total_kb?: number | undefined;
1584
- stale_mappings?: Record<string, string> | undefined;
1585
- min_coverage?: number | undefined;
1586
- coverage_paths?: string[] | undefined;
1587
- exclude_patterns?: string[] | undefined;
1588
- } | undefined;
1589
- forbidden_files?: {
1590
- enabled: boolean;
1591
- message?: string | undefined;
1592
- files?: string[] | undefined;
1593
- ignore?: string[] | undefined;
1594
- } | undefined;
1595
- } | undefined;
1596
- infra?: {
1597
- enabled: boolean;
1598
- manifest: string;
1599
- } | undefined;
1600
- mcp?: {
1601
- standards?: {
1602
- source?: string | undefined;
1603
- } | undefined;
1604
- } | undefined;
1605
- monorepo?: {
1606
- exclude?: string[] | undefined;
1607
- } | undefined;
1608
- }, {
1609
- code?: {
1610
- linting?: {
1611
- eslint?: {
1612
- enabled?: boolean | undefined;
1613
- files?: string[] | undefined;
1614
- ignore?: string[] | undefined;
1615
- "max-warnings"?: number | undefined;
1616
- rules?: Record<string, "error" | "off" | "warn" | z.objectInputType<{
1617
- severity: z.ZodEnum<["off", "warn", "error"]>;
1618
- }, z.ZodUnknown, "strip">> | undefined;
1619
- dependencies?: string[] | undefined;
1620
- } | undefined;
1621
- ruff?: {
1622
- enabled?: boolean | undefined;
1623
- dependencies?: string[] | undefined;
1624
- "line-length"?: number | undefined;
1625
- lint?: {
1626
- ignore?: string[] | undefined;
1627
- select?: string[] | undefined;
1628
- } | undefined;
1629
- } | undefined;
1630
- } | undefined;
1631
- types?: {
1632
- tsc?: {
1633
- enabled?: boolean | undefined;
1634
- dependencies?: string[] | undefined;
1635
- require?: {
1636
- strict?: boolean | undefined;
1637
- noImplicitAny?: boolean | undefined;
1638
- strictNullChecks?: boolean | undefined;
1639
- noUnusedLocals?: boolean | undefined;
1640
- noUnusedParameters?: boolean | undefined;
1641
- noImplicitReturns?: boolean | undefined;
1642
- noFallthroughCasesInSwitch?: boolean | undefined;
1643
- esModuleInterop?: boolean | undefined;
1644
- skipLibCheck?: boolean | undefined;
1645
- forceConsistentCasingInFileNames?: boolean | undefined;
1646
- } | undefined;
1647
- } | undefined;
1648
- ty?: {
1649
- enabled?: boolean | undefined;
1650
- dependencies?: string[] | undefined;
1651
- } | undefined;
1652
- } | undefined;
1653
- unused?: {
1654
- knip?: {
1655
- enabled?: boolean | undefined;
1656
- dependencies?: string[] | undefined;
1657
- } | undefined;
1658
- vulture?: {
1659
- enabled?: boolean | undefined;
1660
- dependencies?: string[] | undefined;
1661
- } | undefined;
1662
- } | undefined;
1663
- coverage_run?: {
1664
- enabled?: boolean | undefined;
1665
- dependencies?: string[] | undefined;
1666
- min_threshold?: number | undefined;
1667
- runner?: "vitest" | "jest" | "pytest" | "auto" | undefined;
1668
- command?: string | undefined;
1669
- } | undefined;
1670
- security?: {
1671
- secrets?: {
1672
- enabled?: boolean | undefined;
1673
- dependencies?: string[] | undefined;
1674
- scan_mode?: "files" | "branch" | "staged" | "full" | undefined;
1675
- base_branch?: string | undefined;
1676
- } | undefined;
1677
- pnpmaudit?: {
1678
- enabled?: boolean | undefined;
1679
- dependencies?: string[] | undefined;
1680
- exclude_dev?: boolean | undefined;
1681
- } | undefined;
1682
- pipaudit?: {
1683
- enabled?: boolean | undefined;
1684
- dependencies?: string[] | undefined;
1685
- } | undefined;
1686
- } | undefined;
1687
- naming?: {
1688
- enabled?: boolean | undefined;
1689
- rules?: {
1690
- extensions: string[];
1691
- file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
1692
- folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
1693
- exclude?: string[] | undefined;
1694
- allow_dynamic_routes?: boolean | undefined;
1695
- }[] | undefined;
1696
- } | undefined;
1697
- quality?: {
1698
- "disable-comments"?: {
1699
- enabled?: boolean | undefined;
1700
- extensions?: string[] | undefined;
1701
- exclude?: string[] | undefined;
1702
- patterns?: string[] | undefined;
1703
- } | undefined;
1704
- } | undefined;
1705
- } | undefined;
1706
- metadata?: {
1707
- tier: "production" | "internal" | "prototype";
1708
- status?: "active" | "pre-release" | "deprecated" | undefined;
1709
- project?: string | undefined;
1710
- organisation?: string | undefined;
1711
- } | undefined;
1712
- extends?: {
1713
- registry: string;
1714
- rulesets: string[];
1715
- } | undefined;
1716
- process?: {
1717
- ci?: {
1718
- enabled?: boolean | undefined;
1719
- commands?: Record<string, string[] | Record<string, string[]>> | undefined;
1720
- require_workflows?: string[] | undefined;
1721
- jobs?: Record<string, string[]> | undefined;
1722
- actions?: Record<string, string[]> | undefined;
1723
- } | undefined;
1724
- hooks?: {
1725
- enabled?: boolean | undefined;
1726
- require_husky?: boolean | undefined;
1727
- require_hooks?: string[] | undefined;
1728
- commands?: Record<string, string[]> | undefined;
1729
- protected_branches?: string[] | undefined;
1730
- } | undefined;
1731
- branches?: {
1732
- enabled?: boolean | undefined;
1733
- exclude?: string[] | undefined;
1734
- pattern?: string | undefined;
1735
- require_issue?: boolean | undefined;
1736
- issue_pattern?: string | undefined;
1737
- } | undefined;
1738
- commits?: {
1739
- enabled?: boolean | undefined;
1740
- types?: string[] | undefined;
1741
- pattern?: string | undefined;
1742
- require_scope?: boolean | undefined;
1743
- max_subject_length?: number | undefined;
1744
- } | undefined;
1745
- changesets?: {
1746
- enabled?: boolean | undefined;
1747
- require_for_paths?: string[] | undefined;
1748
- exclude_paths?: string[] | undefined;
1749
- validate_format?: boolean | undefined;
1750
- allowed_bump_types?: ("patch" | "minor" | "major")[] | undefined;
1751
- require_description?: boolean | undefined;
1752
- min_description_length?: number | undefined;
1753
- } | undefined;
1754
- pr?: {
1755
- enabled?: boolean | undefined;
1756
- exclude?: string[] | undefined;
1757
- require_issue?: boolean | undefined;
1758
- max_files?: number | undefined;
1759
- max_lines?: number | undefined;
1760
- issue_keywords?: string[] | undefined;
1761
- } | undefined;
1762
- tickets?: {
1763
- enabled?: boolean | undefined;
1764
- pattern?: string | undefined;
1765
- require_in_commits?: boolean | undefined;
1766
- require_in_branch?: boolean | undefined;
1767
- } | undefined;
1768
- coverage?: {
1769
- enabled?: boolean | undefined;
1770
- min_threshold?: number | undefined;
1771
- enforce_in?: "ci" | "config" | "both" | undefined;
1772
- ci_workflow?: string | undefined;
1773
- ci_job?: string | undefined;
1774
- } | undefined;
1775
- repo?: {
1776
- enabled?: boolean | undefined;
1777
- require_branch_protection?: boolean | undefined;
1778
- require_codeowners?: boolean | undefined;
1779
- ruleset?: {
1780
- branch?: string | undefined;
1781
- name?: string | undefined;
1782
- enforcement?: "active" | "evaluate" | "disabled" | undefined;
1783
- required_reviews?: number | undefined;
1784
- dismiss_stale_reviews?: boolean | undefined;
1785
- require_code_owner_reviews?: boolean | undefined;
1786
- require_status_checks?: string[] | undefined;
1787
- require_branches_up_to_date?: boolean | undefined;
1788
- require_signed_commits?: boolean | undefined;
1789
- enforce_admins?: boolean | undefined;
1790
- bypass_actors?: {
1791
- actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
1792
- actor_id?: number | undefined;
1793
- bypass_mode?: "always" | "pull_request" | undefined;
1794
- }[] | undefined;
1795
- } | undefined;
1796
- tag_protection?: {
1797
- patterns?: string[] | undefined;
1798
- prevent_deletion?: boolean | undefined;
1799
- prevent_update?: boolean | undefined;
1800
- } | undefined;
1801
- } | undefined;
1802
- backups?: {
1803
- enabled?: boolean | undefined;
1804
- bucket?: string | undefined;
1805
- prefix?: string | undefined;
1806
- max_age_hours?: number | undefined;
1807
- region?: string | undefined;
1808
- } | undefined;
1809
- codeowners?: {
1810
- enabled?: boolean | undefined;
1811
- rules?: {
1812
- pattern: string;
1813
- owners: string[];
1814
- }[] | undefined;
1815
- } | undefined;
1816
- docs?: {
1817
- path?: string | undefined;
1818
- enabled?: boolean | undefined;
1819
- types?: Record<string, {
1820
- required_sections?: string[] | undefined;
1821
- frontmatter?: string[] | undefined;
1822
- }> | undefined;
1823
- max_files?: number | undefined;
1824
- enforcement?: "warn" | "block" | undefined;
1825
- allowlist?: string[] | undefined;
1826
- max_file_lines?: number | undefined;
1827
- max_total_kb?: number | undefined;
1828
- staleness_days?: number | undefined;
1829
- stale_mappings?: Record<string, string> | undefined;
1830
- min_coverage?: number | undefined;
1831
- coverage_paths?: string[] | undefined;
1832
- exclude_patterns?: string[] | undefined;
1833
- } | undefined;
1834
- forbidden_files?: {
1835
- message?: string | undefined;
1836
- enabled?: boolean | undefined;
1837
- files?: string[] | undefined;
1838
- ignore?: string[] | undefined;
1839
- } | undefined;
1840
- } | undefined;
1841
- infra?: {
1842
- enabled?: boolean | undefined;
1843
- manifest?: string | undefined;
1844
- } | undefined;
1845
- mcp?: {
1846
- standards?: {
1847
- source?: string | undefined;
1848
- } | undefined;
1849
- } | undefined;
1850
- monorepo?: {
1851
- exclude?: string[] | undefined;
1852
- } | undefined;
1853
- }>;
309
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
310
+ }, z.core.$strict>>;
311
+ }, z.core.$strict>;
1854
312
  /** Inferred TypeScript type from schema */
1855
313
  export type Config = z.infer<typeof configSchema>;
1856
314
  /** Default configuration */