@standards-kit/conform 0.1.0 → 0.2.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 (191) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +143 -0
  3. package/dist/{chunk-P7TIZJ4C.js → chunk-DXIYZR62.js} +2 -2
  4. package/dist/chunk-DXIYZR62.js.map +1 -0
  5. package/dist/{chunk-RXA4FO7L.js → chunk-NADY2H35.js} +12 -8
  6. package/dist/chunk-NADY2H35.js.map +1 -0
  7. package/dist/chunk-O745CMWG.js +29 -0
  8. package/dist/chunk-O745CMWG.js.map +1 -0
  9. package/dist/chunk-RHM53NLG.js +49 -0
  10. package/dist/chunk-RHM53NLG.js.map +1 -0
  11. package/dist/{chunk-KHO6NIAI.js → chunk-YGDEM6K5.js} +24 -10
  12. package/dist/chunk-YGDEM6K5.js.map +1 -0
  13. package/dist/cli.d.ts +2 -0
  14. package/dist/cli.js +49 -38
  15. package/dist/cli.js.map +1 -1
  16. package/dist/{cloudwatch-KSZ4A256.js → cloudwatch-3LTDYG6G.js} +6 -10
  17. package/dist/cloudwatch-3LTDYG6G.js.map +1 -0
  18. package/dist/code/index.d.ts +11 -0
  19. package/dist/code/tools/base.d.ts +51 -0
  20. package/dist/code/tools/comment-utils.d.ts +17 -0
  21. package/dist/code/tools/coverage-run.d.ts +37 -0
  22. package/dist/code/tools/disable-comments.d.ts +42 -0
  23. package/dist/code/tools/eslint.d.ts +99 -0
  24. package/dist/code/tools/gitleaks.d.ts +42 -0
  25. package/dist/code/tools/index.d.ts +13 -0
  26. package/dist/code/tools/knip.d.ts +20 -0
  27. package/dist/code/tools/naming.d.ts +64 -0
  28. package/dist/code/tools/pipaudit.d.ts +24 -0
  29. package/dist/code/tools/pnpmaudit.d.ts +36 -0
  30. package/dist/code/tools/ruff.d.ts +46 -0
  31. package/dist/code/tools/tsc.d.ts +57 -0
  32. package/dist/code/tools/ty.d.ts +34 -0
  33. package/dist/code/tools/vulture.d.ts +32 -0
  34. package/dist/constants.d.ts +69 -0
  35. package/dist/core/index.d.ts +7 -0
  36. package/dist/core/loader.d.ts +42 -0
  37. package/dist/core/registry.d.ts +17 -0
  38. package/dist/core/schema.d.ts +1857 -0
  39. package/dist/core/types.d.ts +95 -0
  40. package/dist/{src-KZRTG3EU.js → core-QRFGIQ42.js} +4 -3
  41. package/dist/dependencies/index.d.ts +13 -0
  42. package/dist/dependencies/mappings.d.ts +17 -0
  43. package/dist/dependencies/output.d.ts +12 -0
  44. package/dist/dependencies/types.d.ts +34 -0
  45. package/dist/{dynamodb-5KVESCVJ.js → dynamodb-HQH3IMAI.js} +6 -10
  46. package/dist/dynamodb-HQH3IMAI.js.map +1 -0
  47. package/dist/{ec2-HKPE6GZV.js → ec2-AEPT735A.js} +6 -10
  48. package/dist/ec2-AEPT735A.js.map +1 -0
  49. package/dist/{ecs-OS3NJZTA.js → ecs-UHKCH5A7.js} +6 -10
  50. package/dist/ecs-UHKCH5A7.js.map +1 -0
  51. package/dist/{elasticache-7TCRHYYM.js → elasticache-5Y6K7GKJ.js} +6 -10
  52. package/dist/elasticache-5Y6K7GKJ.js.map +1 -0
  53. package/dist/{elb-PEDLXW5R.js → elb-CN6ELVM5.js} +6 -10
  54. package/dist/elb-CN6ELVM5.js.map +1 -0
  55. package/dist/{iam-7H5HFWVQ.js → iam-YXMHK2MV.js} +6 -2
  56. package/dist/iam-YXMHK2MV.js.map +1 -0
  57. package/dist/index.d.ts +21 -0
  58. package/dist/index.js +99 -121
  59. package/dist/index.js.map +1 -1
  60. package/dist/infra/arn.d.ts +16 -0
  61. package/dist/infra/checkers/client-factory.d.ts +45 -0
  62. package/dist/infra/checkers/cloudwatch.d.ts +8 -0
  63. package/dist/infra/checkers/dynamodb.d.ts +8 -0
  64. package/dist/infra/checkers/ec2.d.ts +13 -0
  65. package/dist/infra/checkers/ecs.d.ts +13 -0
  66. package/dist/infra/checkers/elasticache.d.ts +13 -0
  67. package/dist/infra/checkers/elb.d.ts +13 -0
  68. package/dist/infra/checkers/gcp/artifactregistry.d.ts +5 -0
  69. package/dist/infra/checkers/gcp/cloudrun.d.ts +5 -0
  70. package/dist/infra/checkers/gcp/iam.d.ts +5 -0
  71. package/dist/infra/checkers/gcp/index.d.ts +17 -0
  72. package/dist/infra/checkers/gcp/secretmanager.d.ts +5 -0
  73. package/dist/infra/checkers/iam.d.ts +8 -0
  74. package/dist/infra/checkers/index.d.ts +26 -0
  75. package/dist/infra/checkers/lambda.d.ts +8 -0
  76. package/dist/infra/checkers/rds.d.ts +13 -0
  77. package/dist/infra/checkers/s3.d.ts +8 -0
  78. package/dist/infra/checkers/secretsmanager.d.ts +8 -0
  79. package/dist/infra/checkers/sns.d.ts +8 -0
  80. package/dist/infra/checkers/sqs.d.ts +8 -0
  81. package/dist/infra/checkers/types.d.ts +28 -0
  82. package/dist/infra/gcp.d.ts +18 -0
  83. package/dist/infra/generate.d.ts +74 -0
  84. package/dist/infra/index.d.ts +59 -0
  85. package/dist/infra/manifest.d.ts +58 -0
  86. package/dist/infra/output.d.ts +8 -0
  87. package/dist/infra/scan.d.ts +25 -0
  88. package/dist/infra/schemas.d.ts +806 -0
  89. package/dist/infra/types.d.ts +8 -0
  90. package/dist/{infra-UXM5XQX3.js → infra-TO54IUSC.js} +21 -19
  91. package/dist/infra-TO54IUSC.js.map +1 -0
  92. package/dist/{lambda-NFB5UILT.js → lambda-YTJOCYV5.js} +6 -10
  93. package/dist/lambda-YTJOCYV5.js.map +1 -0
  94. package/dist/mcp/index.d.ts +7 -0
  95. package/dist/mcp/server.d.ts +18 -0
  96. package/dist/mcp/standards/fetcher.d.ts +29 -0
  97. package/dist/mcp/standards/index.d.ts +4 -0
  98. package/dist/mcp/standards/matcher.d.ts +22 -0
  99. package/dist/mcp/standards/parser.d.ts +46 -0
  100. package/dist/mcp/standards/types.d.ts +32 -0
  101. package/dist/mcp/tools/get-guideline.d.ts +26 -0
  102. package/dist/mcp/tools/get-ruleset.d.ts +26 -0
  103. package/dist/mcp/tools/get-standards.d.ts +27 -0
  104. package/dist/mcp/tools/index.d.ts +4 -0
  105. package/dist/mcp/tools/list-guidelines.d.ts +25 -0
  106. package/dist/{mcp-O5O7XVFG.js → mcp-73FZXT3P.js} +5 -4
  107. package/dist/mcp-73FZXT3P.js.map +1 -0
  108. package/dist/output/index.d.ts +14 -0
  109. package/dist/process/commands/check-branch.d.ts +13 -0
  110. package/dist/process/commands/check-commit.d.ts +14 -0
  111. package/dist/process/commands/index.d.ts +2 -0
  112. package/dist/process/index.d.ts +11 -0
  113. package/dist/process/scan/index.d.ts +5 -0
  114. package/dist/process/scan/remote-fetcher.d.ts +18 -0
  115. package/dist/process/scan/scanner.d.ts +6 -0
  116. package/dist/process/scan/types.d.ts +57 -0
  117. package/dist/process/scan/validators.d.ts +37 -0
  118. package/dist/process/sync/applier.d.ts +10 -0
  119. package/dist/process/sync/differ.d.ts +7 -0
  120. package/dist/process/sync/fetcher.d.ts +14 -0
  121. package/dist/process/sync/index.d.ts +9 -0
  122. package/dist/process/sync/types.d.ts +131 -0
  123. package/dist/process/sync/validator.d.ts +22 -0
  124. package/dist/process/tools/backups.d.ts +32 -0
  125. package/dist/process/tools/base.d.ts +52 -0
  126. package/dist/process/tools/branches.d.ts +41 -0
  127. package/dist/process/tools/changesets.d.ts +53 -0
  128. package/dist/process/tools/ci.d.ts +57 -0
  129. package/dist/process/tools/codeowners.d.ts +68 -0
  130. package/dist/process/tools/commits.d.ts +39 -0
  131. package/dist/process/tools/coverage.d.ts +57 -0
  132. package/dist/process/tools/docs-helpers.d.ts +44 -0
  133. package/dist/process/tools/docs.d.ts +38 -0
  134. package/dist/process/tools/forbidden-files.d.ts +40 -0
  135. package/dist/process/tools/hooks.d.ts +39 -0
  136. package/dist/process/tools/index.d.ts +14 -0
  137. package/dist/process/tools/pr.d.ts +59 -0
  138. package/dist/process/tools/repo.d.ts +65 -0
  139. package/dist/process/tools/tickets.d.ts +42 -0
  140. package/dist/projects/detector.d.ts +16 -0
  141. package/dist/projects/index.d.ts +4 -0
  142. package/dist/projects/templates.d.ts +15 -0
  143. package/dist/projects/tier-loader.d.ts +21 -0
  144. package/dist/projects/types.d.ts +76 -0
  145. package/dist/{rds-KLG5O5SI.js → rds-GZ5RVPIU.js} +6 -10
  146. package/dist/rds-GZ5RVPIU.js.map +1 -0
  147. package/dist/{registry-V65CC7IN.js → registry-JRCQAIHR.js} +3 -2
  148. package/dist/{s3-2DH7PRVR.js → s3-53UELUWT.js} +16 -12
  149. package/dist/s3-53UELUWT.js.map +1 -0
  150. package/dist/s3-S4GXNR7H.js +53 -0
  151. package/dist/s3-S4GXNR7H.js.map +1 -0
  152. package/dist/{scan-EELS42BP.js → scan-RHQWHASY.js} +5 -4
  153. package/dist/{scan-EELS42BP.js.map → scan-RHQWHASY.js.map} +1 -1
  154. package/dist/{secretsmanager-MOOIHLAO.js → secretsmanager-FJKTPIXI.js} +6 -10
  155. package/dist/secretsmanager-FJKTPIXI.js.map +1 -0
  156. package/dist/{sns-Y36LVTWA.js → sns-RV64OMK2.js} +6 -10
  157. package/dist/sns-RV64OMK2.js.map +1 -0
  158. package/dist/{sqs-RRS3GRHK.js → sqs-MHBW6UFC.js} +6 -10
  159. package/dist/sqs-MHBW6UFC.js.map +1 -0
  160. package/dist/{standards-RXK5G4IG.js → standards-XAZKTKYJ.js} +3 -2
  161. package/dist/{sync-RLYBGYNY.js → sync-P3UZECLW.js} +4 -3
  162. package/dist/{sync-RLYBGYNY.js.map → sync-P3UZECLW.js.map} +1 -1
  163. package/dist/validate/guidelines.d.ts +18 -0
  164. package/dist/validate/index.d.ts +5 -0
  165. package/dist/validate/tier.d.ts +17 -0
  166. package/dist/validate/types.d.ts +50 -0
  167. package/dist/{validate-AABLVQJS.js → validate-J5E336GX.js} +53 -84
  168. package/dist/validate-J5E336GX.js.map +1 -0
  169. package/package.json +22 -25
  170. package/dist/chunk-KHO6NIAI.js.map +0 -1
  171. package/dist/chunk-P7TIZJ4C.js.map +0 -1
  172. package/dist/chunk-RXA4FO7L.js.map +0 -1
  173. package/dist/cloudwatch-KSZ4A256.js.map +0 -1
  174. package/dist/dynamodb-5KVESCVJ.js.map +0 -1
  175. package/dist/ec2-HKPE6GZV.js.map +0 -1
  176. package/dist/ecs-OS3NJZTA.js.map +0 -1
  177. package/dist/elasticache-7TCRHYYM.js.map +0 -1
  178. package/dist/elb-PEDLXW5R.js.map +0 -1
  179. package/dist/iam-7H5HFWVQ.js.map +0 -1
  180. package/dist/infra-UXM5XQX3.js.map +0 -1
  181. package/dist/lambda-NFB5UILT.js.map +0 -1
  182. package/dist/mcp-O5O7XVFG.js.map +0 -1
  183. package/dist/rds-KLG5O5SI.js.map +0 -1
  184. package/dist/s3-2DH7PRVR.js.map +0 -1
  185. package/dist/secretsmanager-MOOIHLAO.js.map +0 -1
  186. package/dist/sns-Y36LVTWA.js.map +0 -1
  187. package/dist/sqs-RRS3GRHK.js.map +0 -1
  188. package/dist/validate-AABLVQJS.js.map +0 -1
  189. /package/dist/{registry-V65CC7IN.js.map → core-QRFGIQ42.js.map} +0 -0
  190. /package/dist/{src-KZRTG3EU.js.map → registry-JRCQAIHR.js.map} +0 -0
  191. /package/dist/{standards-RXK5G4IG.js.map → standards-XAZKTKYJ.js.map} +0 -0
@@ -0,0 +1,1857 @@
1
+ import { z } from "zod";
2
+ /** Default ignore patterns for forbidden files scan */
3
+ declare const DEFAULT_FORBIDDEN_FILES_IGNORE: string[];
4
+ export { DEFAULT_FORBIDDEN_FILES_IGNORE };
5
+ /** Full standards.toml schema */
6
+ export declare const configSchema: z.ZodObject<{
7
+ metadata: z.ZodOptional<z.ZodObject<{
8
+ tier: z.ZodEnum<["production", "internal", "prototype"]>;
9
+ project: z.ZodOptional<z.ZodString>;
10
+ 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
+ }>>;
23
+ extends: z.ZodOptional<z.ZodObject<{
24
+ 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
+ }>>;
33
+ code: z.ZodOptional<z.ZodObject<{
34
+ linting: z.ZodOptional<z.ZodObject<{
35
+ eslint: z.ZodOptional<z.ZodObject<{
36
+ 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">>;
39
+ "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
+ }>>;
67
+ ruff: z.ZodOptional<z.ZodObject<{
68
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
69
+ "line-length": z.ZodOptional<z.ZodNumber>;
70
+ 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
+ }>>;
139
+ types: z.ZodOptional<z.ZodObject<{
140
+ tsc: z.ZodOptional<z.ZodObject<{
141
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
142
+ require: z.ZodOptional<z.ZodObject<{
143
+ strict: z.ZodOptional<z.ZodBoolean>;
144
+ noImplicitAny: z.ZodOptional<z.ZodBoolean>;
145
+ strictNullChecks: z.ZodOptional<z.ZodBoolean>;
146
+ noUnusedLocals: z.ZodOptional<z.ZodBoolean>;
147
+ noUnusedParameters: z.ZodOptional<z.ZodBoolean>;
148
+ noImplicitReturns: z.ZodOptional<z.ZodBoolean>;
149
+ noFallthroughCasesInSwitch: z.ZodOptional<z.ZodBoolean>;
150
+ esModuleInterop: z.ZodOptional<z.ZodBoolean>;
151
+ skipLibCheck: z.ZodOptional<z.ZodBoolean>;
152
+ 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
+ }>>;
208
+ ty: z.ZodOptional<z.ZodObject<{
209
+ 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
+ }>>;
261
+ unused: z.ZodOptional<z.ZodObject<{
262
+ knip: z.ZodOptional<z.ZodObject<{
263
+ 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
+ }>>;
272
+ vulture: z.ZodOptional<z.ZodObject<{
273
+ 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
+ }>>;
301
+ coverage_run: z.ZodOptional<z.ZodObject<{
302
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
303
+ min_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
304
+ runner: z.ZodDefault<z.ZodOptional<z.ZodEnum<["vitest", "jest", "pytest", "auto"]>>>;
305
+ 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
+ }>>;
320
+ security: z.ZodOptional<z.ZodObject<{
321
+ secrets: z.ZodOptional<z.ZodObject<{
322
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
323
+ scan_mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["branch", "files", "staged", "full"]>>>;
324
+ 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
+ }>>;
337
+ pnpmaudit: z.ZodOptional<z.ZodObject<{
338
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
339
+ 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
+ }>>;
350
+ pipaudit: z.ZodOptional<z.ZodObject<{
351
+ 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<{
394
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
395
+ 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">>;
400
+ 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
+ }>>;
451
+ quality: z.ZodOptional<z.ZodObject<{
452
+ "disable-comments": z.ZodOptional<z.ZodObject<{
453
+ 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
+ }>>;
676
+ process: z.ZodOptional<z.ZodObject<{
677
+ hooks: z.ZodOptional<z.ZodObject<{
678
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
679
+ 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
+ }>>;
696
+ ci: z.ZodOptional<z.ZodObject<{
697
+ 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
+ }>>;
715
+ branches: z.ZodOptional<z.ZodObject<{
716
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
717
+ pattern: z.ZodOptional<z.ZodString>;
718
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
719
+ require_issue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
720
+ 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
+ }>>;
734
+ commits: z.ZodOptional<z.ZodObject<{
735
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
736
+ pattern: z.ZodOptional<z.ZodString>;
737
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
738
+ require_scope: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
739
+ 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
+ }>>;
753
+ changesets: z.ZodOptional<z.ZodObject<{
754
+ 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">>;
757
+ validate_format: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
758
+ allowed_bump_types: z.ZodOptional<z.ZodArray<z.ZodEnum<["patch", "minor", "major"]>, "many">>;
759
+ require_description: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
760
+ 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
+ }>>;
778
+ pr: z.ZodOptional<z.ZodObject<{
779
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
780
+ max_files: z.ZodOptional<z.ZodNumber>;
781
+ max_lines: z.ZodOptional<z.ZodNumber>;
782
+ 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
+ }>>;
800
+ tickets: z.ZodOptional<z.ZodObject<{
801
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
802
+ pattern: z.ZodOptional<z.ZodString>;
803
+ require_in_commits: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
804
+ 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
+ }>>;
816
+ coverage: z.ZodOptional<z.ZodObject<{
817
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
818
+ min_threshold: z.ZodOptional<z.ZodNumber>;
819
+ enforce_in: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ci", "config", "both"]>>>;
820
+ ci_workflow: z.ZodOptional<z.ZodString>;
821
+ 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
+ }>>;
835
+ repo: z.ZodOptional<z.ZodObject<{
836
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
837
+ require_branch_protection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
838
+ require_codeowners: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
839
+ ruleset: z.ZodOptional<z.ZodObject<{
840
+ name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
841
+ branch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
842
+ enforcement: z.ZodDefault<z.ZodOptional<z.ZodEnum<["active", "evaluate", "disabled"]>>>;
843
+ required_reviews: z.ZodOptional<z.ZodNumber>;
844
+ dismiss_stale_reviews: z.ZodOptional<z.ZodBoolean>;
845
+ require_code_owner_reviews: z.ZodOptional<z.ZodBoolean>;
846
+ require_status_checks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
847
+ require_branches_up_to_date: z.ZodOptional<z.ZodBoolean>;
848
+ require_signed_commits: z.ZodOptional<z.ZodBoolean>;
849
+ enforce_admins: z.ZodOptional<z.ZodBoolean>;
850
+ bypass_actors: z.ZodOptional<z.ZodArray<z.ZodObject<{
851
+ actor_type: z.ZodEnum<["Integration", "OrganizationAdmin", "RepositoryRole", "Team", "DeployKey"]>;
852
+ 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
+ }>>;
896
+ tag_protection: z.ZodOptional<z.ZodObject<{
897
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
898
+ prevent_deletion: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
899
+ 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
+ }>>;
962
+ backups: z.ZodOptional<z.ZodObject<{
963
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
964
+ bucket: z.ZodOptional<z.ZodString>;
965
+ prefix: z.ZodOptional<z.ZodString>;
966
+ max_age_hours: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
967
+ 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
+ }>>;
981
+ codeowners: z.ZodOptional<z.ZodObject<{
982
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
983
+ rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
984
+ 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
+ }>>;
1006
+ docs: z.ZodOptional<z.ZodObject<{
1007
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1008
+ 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">>;
1011
+ max_files: z.ZodOptional<z.ZodNumber>;
1012
+ max_file_lines: z.ZodOptional<z.ZodNumber>;
1013
+ max_total_kb: z.ZodOptional<z.ZodNumber>;
1014
+ staleness_days: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1015
+ stale_mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1016
+ 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">>;
1019
+ 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
+ }>>;
1064
+ forbidden_files: z.ZodOptional<z.ZodObject<{
1065
+ 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">>;
1068
+ 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
+ }>>;
1329
+ infra: z.ZodOptional<z.ZodObject<{
1330
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1331
+ 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
+ }>>;
1339
+ mcp: z.ZodOptional<z.ZodObject<{
1340
+ standards: z.ZodOptional<z.ZodObject<{
1341
+ 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
+ }>>;
1356
+ 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
+ }>;
1854
+ /** Inferred TypeScript type from schema */
1855
+ export type Config = z.infer<typeof configSchema>;
1856
+ /** Default configuration */
1857
+ export declare const defaultConfig: Config;