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