@corbat-tech/coding-standards-mcp 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -5,99 +5,43 @@ import { z } from 'zod';
5
5
  export declare const LayerSchema: z.ZodObject<{
6
6
  name: z.ZodString;
7
7
  description: z.ZodString;
8
- allowedDependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
9
- packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
- }, "strip", z.ZodTypeAny, {
11
- name: string;
12
- description: string;
13
- allowedDependencies: string[];
14
- packages?: string[] | undefined;
15
- }, {
16
- name: string;
17
- description: string;
18
- allowedDependencies?: string[] | undefined;
19
- packages?: string[] | undefined;
20
- }>;
8
+ allowedDependencies: z.ZodDefault<z.ZodArray<z.ZodString>>;
9
+ packages: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ }, z.core.$strip>;
21
11
  /**
22
12
  * ArchUnit configuration schema.
23
13
  */
24
14
  export declare const ArchUnitSchema: z.ZodObject<{
25
15
  enabled: z.ZodDefault<z.ZodBoolean>;
26
16
  recommended: z.ZodDefault<z.ZodBoolean>;
27
- rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28
- }, "strip", z.ZodTypeAny, {
29
- enabled: boolean;
30
- recommended: boolean;
31
- rules?: string[] | undefined;
32
- }, {
33
- enabled?: boolean | undefined;
34
- recommended?: boolean | undefined;
35
- rules?: string[] | undefined;
36
- }>;
17
+ rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
+ }, z.core.$strip>;
37
19
  /**
38
20
  * Architecture configuration schema.
39
21
  */
40
22
  export declare const ArchitectureSchema: z.ZodObject<{
41
- type: z.ZodDefault<z.ZodEnum<["hexagonal", "clean", "onion", "layered", "microservices", "modular-monolith", "feature-based"]>>;
23
+ type: z.ZodDefault<z.ZodEnum<{
24
+ hexagonal: "hexagonal";
25
+ clean: "clean";
26
+ onion: "onion";
27
+ layered: "layered";
28
+ microservices: "microservices";
29
+ "modular-monolith": "modular-monolith";
30
+ "feature-based": "feature-based";
31
+ }>>;
42
32
  enforceLayerDependencies: z.ZodDefault<z.ZodBoolean>;
43
33
  layers: z.ZodOptional<z.ZodArray<z.ZodObject<{
44
34
  name: z.ZodString;
45
35
  description: z.ZodString;
46
- allowedDependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
47
- packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
48
- }, "strip", z.ZodTypeAny, {
49
- name: string;
50
- description: string;
51
- allowedDependencies: string[];
52
- packages?: string[] | undefined;
53
- }, {
54
- name: string;
55
- description: string;
56
- allowedDependencies?: string[] | undefined;
57
- packages?: string[] | undefined;
58
- }>, "many">>;
36
+ allowedDependencies: z.ZodDefault<z.ZodArray<z.ZodString>>;
37
+ packages: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
+ }, z.core.$strip>>>;
59
39
  archUnit: z.ZodOptional<z.ZodObject<{
60
40
  enabled: z.ZodDefault<z.ZodBoolean>;
61
41
  recommended: z.ZodDefault<z.ZodBoolean>;
62
- rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
63
- }, "strip", z.ZodTypeAny, {
64
- enabled: boolean;
65
- recommended: boolean;
66
- rules?: string[] | undefined;
67
- }, {
68
- enabled?: boolean | undefined;
69
- recommended?: boolean | undefined;
70
- rules?: string[] | undefined;
71
- }>>;
72
- }, "strip", z.ZodTypeAny, {
73
- type: "hexagonal" | "clean" | "onion" | "layered" | "microservices" | "modular-monolith" | "feature-based";
74
- enforceLayerDependencies: boolean;
75
- layers?: {
76
- name: string;
77
- description: string;
78
- allowedDependencies: string[];
79
- packages?: string[] | undefined;
80
- }[] | undefined;
81
- archUnit?: {
82
- enabled: boolean;
83
- recommended: boolean;
84
- rules?: string[] | undefined;
85
- } | undefined;
86
- }, {
87
- type?: "hexagonal" | "clean" | "onion" | "layered" | "microservices" | "modular-monolith" | "feature-based" | undefined;
88
- enforceLayerDependencies?: boolean | undefined;
89
- layers?: {
90
- name: string;
91
- description: string;
92
- allowedDependencies?: string[] | undefined;
93
- packages?: string[] | undefined;
94
- }[] | undefined;
95
- archUnit?: {
96
- enabled?: boolean | undefined;
97
- recommended?: boolean | undefined;
98
- rules?: string[] | undefined;
99
- } | undefined;
100
- }>;
42
+ rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
43
+ }, z.core.$strip>>;
44
+ }, z.core.$strip>;
101
45
  /**
102
46
  * DDD patterns schema.
103
47
  */
@@ -110,25 +54,7 @@ export declare const DddPatternsSchema: z.ZodObject<{
110
54
  domainServices: z.ZodDefault<z.ZodBoolean>;
111
55
  factories: z.ZodDefault<z.ZodBoolean>;
112
56
  specifications: z.ZodDefault<z.ZodBoolean>;
113
- }, "strip", z.ZodTypeAny, {
114
- aggregates: boolean;
115
- entities: boolean;
116
- valueObjects: boolean;
117
- domainEvents: boolean;
118
- repositories: boolean;
119
- domainServices: boolean;
120
- factories: boolean;
121
- specifications: boolean;
122
- }, {
123
- aggregates?: boolean | undefined;
124
- entities?: boolean | undefined;
125
- valueObjects?: boolean | undefined;
126
- domainEvents?: boolean | undefined;
127
- repositories?: boolean | undefined;
128
- domainServices?: boolean | undefined;
129
- factories?: boolean | undefined;
130
- specifications?: boolean | undefined;
131
- }>;
57
+ }, z.core.$strip>;
132
58
  export declare const DddSchema: z.ZodObject<{
133
59
  enabled: z.ZodDefault<z.ZodBoolean>;
134
60
  ubiquitousLanguageEnforced: z.ZodDefault<z.ZodBoolean>;
@@ -141,308 +67,72 @@ export declare const DddSchema: z.ZodObject<{
141
67
  domainServices: z.ZodDefault<z.ZodBoolean>;
142
68
  factories: z.ZodDefault<z.ZodBoolean>;
143
69
  specifications: z.ZodDefault<z.ZodBoolean>;
144
- }, "strip", z.ZodTypeAny, {
145
- aggregates: boolean;
146
- entities: boolean;
147
- valueObjects: boolean;
148
- domainEvents: boolean;
149
- repositories: boolean;
150
- domainServices: boolean;
151
- factories: boolean;
152
- specifications: boolean;
153
- }, {
154
- aggregates?: boolean | undefined;
155
- entities?: boolean | undefined;
156
- valueObjects?: boolean | undefined;
157
- domainEvents?: boolean | undefined;
158
- repositories?: boolean | undefined;
159
- domainServices?: boolean | undefined;
160
- factories?: boolean | undefined;
161
- specifications?: boolean | undefined;
162
- }>>;
70
+ }, z.core.$strip>>;
163
71
  valueObjectGuidelines: z.ZodOptional<z.ZodObject<{
164
72
  useRecords: z.ZodDefault<z.ZodBoolean>;
165
73
  immutable: z.ZodDefault<z.ZodBoolean>;
166
74
  selfValidating: z.ZodDefault<z.ZodBoolean>;
167
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
168
- }, "strip", z.ZodTypeAny, {
169
- useRecords: boolean;
170
- immutable: boolean;
171
- selfValidating: boolean;
172
- examples?: string[] | undefined;
173
- }, {
174
- useRecords?: boolean | undefined;
175
- immutable?: boolean | undefined;
176
- selfValidating?: boolean | undefined;
177
- examples?: string[] | undefined;
178
- }>>;
75
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
76
+ }, z.core.$strip>>;
179
77
  aggregateGuidelines: z.ZodOptional<z.ZodObject<{
180
78
  singleEntryPoint: z.ZodDefault<z.ZodBoolean>;
181
79
  protectInvariants: z.ZodDefault<z.ZodBoolean>;
182
80
  smallAggregates: z.ZodDefault<z.ZodBoolean>;
183
81
  referenceByIdentity: z.ZodDefault<z.ZodBoolean>;
184
- }, "strip", z.ZodTypeAny, {
185
- singleEntryPoint: boolean;
186
- protectInvariants: boolean;
187
- smallAggregates: boolean;
188
- referenceByIdentity: boolean;
189
- }, {
190
- singleEntryPoint?: boolean | undefined;
191
- protectInvariants?: boolean | undefined;
192
- smallAggregates?: boolean | undefined;
193
- referenceByIdentity?: boolean | undefined;
194
- }>>;
195
- }, "strip", z.ZodTypeAny, {
196
- enabled: boolean;
197
- ubiquitousLanguageEnforced: boolean;
198
- patterns?: {
199
- aggregates: boolean;
200
- entities: boolean;
201
- valueObjects: boolean;
202
- domainEvents: boolean;
203
- repositories: boolean;
204
- domainServices: boolean;
205
- factories: boolean;
206
- specifications: boolean;
207
- } | undefined;
208
- valueObjectGuidelines?: {
209
- useRecords: boolean;
210
- immutable: boolean;
211
- selfValidating: boolean;
212
- examples?: string[] | undefined;
213
- } | undefined;
214
- aggregateGuidelines?: {
215
- singleEntryPoint: boolean;
216
- protectInvariants: boolean;
217
- smallAggregates: boolean;
218
- referenceByIdentity: boolean;
219
- } | undefined;
220
- }, {
221
- enabled?: boolean | undefined;
222
- ubiquitousLanguageEnforced?: boolean | undefined;
223
- patterns?: {
224
- aggregates?: boolean | undefined;
225
- entities?: boolean | undefined;
226
- valueObjects?: boolean | undefined;
227
- domainEvents?: boolean | undefined;
228
- repositories?: boolean | undefined;
229
- domainServices?: boolean | undefined;
230
- factories?: boolean | undefined;
231
- specifications?: boolean | undefined;
232
- } | undefined;
233
- valueObjectGuidelines?: {
234
- useRecords?: boolean | undefined;
235
- immutable?: boolean | undefined;
236
- selfValidating?: boolean | undefined;
237
- examples?: string[] | undefined;
238
- } | undefined;
239
- aggregateGuidelines?: {
240
- singleEntryPoint?: boolean | undefined;
241
- protectInvariants?: boolean | undefined;
242
- smallAggregates?: boolean | undefined;
243
- referenceByIdentity?: boolean | undefined;
244
- } | undefined;
245
- }>;
82
+ }, z.core.$strip>>;
83
+ }, z.core.$strip>;
246
84
  /**
247
85
  * CQRS configuration schema.
248
86
  */
249
87
  export declare const CqrsSchema: z.ZodObject<{
250
88
  enabled: z.ZodDefault<z.ZodBoolean>;
251
- separation: z.ZodDefault<z.ZodEnum<["logical", "physical"]>>;
89
+ separation: z.ZodDefault<z.ZodEnum<{
90
+ logical: "logical";
91
+ physical: "physical";
92
+ }>>;
252
93
  patterns: z.ZodOptional<z.ZodObject<{
253
94
  commands: z.ZodOptional<z.ZodObject<{
254
95
  suffix: z.ZodDefault<z.ZodString>;
255
96
  handler: z.ZodDefault<z.ZodString>;
256
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
257
- }, "strip", z.ZodTypeAny, {
258
- suffix: string;
259
- handler: string;
260
- examples?: string[] | undefined;
261
- }, {
262
- examples?: string[] | undefined;
263
- suffix?: string | undefined;
264
- handler?: string | undefined;
265
- }>>;
97
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
98
+ }, z.core.$strip>>;
266
99
  queries: z.ZodOptional<z.ZodObject<{
267
100
  suffix: z.ZodDefault<z.ZodString>;
268
101
  handler: z.ZodDefault<z.ZodString>;
269
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
270
- }, "strip", z.ZodTypeAny, {
271
- suffix: string;
272
- handler: string;
273
- examples?: string[] | undefined;
274
- }, {
275
- examples?: string[] | undefined;
276
- suffix?: string | undefined;
277
- handler?: string | undefined;
278
- }>>;
279
- }, "strip", z.ZodTypeAny, {
280
- commands?: {
281
- suffix: string;
282
- handler: string;
283
- examples?: string[] | undefined;
284
- } | undefined;
285
- queries?: {
286
- suffix: string;
287
- handler: string;
288
- examples?: string[] | undefined;
289
- } | undefined;
290
- }, {
291
- commands?: {
292
- examples?: string[] | undefined;
293
- suffix?: string | undefined;
294
- handler?: string | undefined;
295
- } | undefined;
296
- queries?: {
297
- examples?: string[] | undefined;
298
- suffix?: string | undefined;
299
- handler?: string | undefined;
300
- } | undefined;
301
- }>>;
302
- }, "strip", z.ZodTypeAny, {
303
- enabled: boolean;
304
- separation: "logical" | "physical";
305
- patterns?: {
306
- commands?: {
307
- suffix: string;
308
- handler: string;
309
- examples?: string[] | undefined;
310
- } | undefined;
311
- queries?: {
312
- suffix: string;
313
- handler: string;
314
- examples?: string[] | undefined;
315
- } | undefined;
316
- } | undefined;
317
- }, {
318
- enabled?: boolean | undefined;
319
- patterns?: {
320
- commands?: {
321
- examples?: string[] | undefined;
322
- suffix?: string | undefined;
323
- handler?: string | undefined;
324
- } | undefined;
325
- queries?: {
326
- examples?: string[] | undefined;
327
- suffix?: string | undefined;
328
- handler?: string | undefined;
329
- } | undefined;
330
- } | undefined;
331
- separation?: "logical" | "physical" | undefined;
332
- }>;
102
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
103
+ }, z.core.$strip>>;
104
+ }, z.core.$strip>>;
105
+ }, z.core.$strip>;
333
106
  /**
334
107
  * Event-driven configuration schema.
335
108
  */
336
109
  export declare const EventDrivenSchema: z.ZodObject<{
337
110
  enabled: z.ZodDefault<z.ZodBoolean>;
338
- approach: z.ZodDefault<z.ZodEnum<["domain-events", "event-sourcing"]>>;
111
+ approach: z.ZodDefault<z.ZodEnum<{
112
+ "domain-events": "domain-events";
113
+ "event-sourcing": "event-sourcing";
114
+ }>>;
339
115
  patterns: z.ZodOptional<z.ZodObject<{
340
116
  domainEvents: z.ZodOptional<z.ZodObject<{
341
117
  suffix: z.ZodDefault<z.ZodString>;
342
118
  pastTense: z.ZodDefault<z.ZodBoolean>;
343
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
344
- }, "strip", z.ZodTypeAny, {
345
- suffix: string;
346
- pastTense: boolean;
347
- examples?: string[] | undefined;
348
- }, {
349
- examples?: string[] | undefined;
350
- suffix?: string | undefined;
351
- pastTense?: boolean | undefined;
352
- }>>;
119
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
120
+ }, z.core.$strip>>;
353
121
  eventPublishing: z.ZodOptional<z.ZodObject<{
354
122
  interface: z.ZodDefault<z.ZodString>;
355
123
  async: z.ZodDefault<z.ZodBoolean>;
356
- }, "strip", z.ZodTypeAny, {
357
- interface: string;
358
- async: boolean;
359
- }, {
360
- interface?: string | undefined;
361
- async?: boolean | undefined;
362
- }>>;
124
+ }, z.core.$strip>>;
363
125
  messaging: z.ZodOptional<z.ZodObject<{
364
- broker: z.ZodDefault<z.ZodEnum<["kafka", "rabbitmq", "sqs"]>>;
126
+ broker: z.ZodDefault<z.ZodEnum<{
127
+ kafka: "kafka";
128
+ rabbitmq: "rabbitmq";
129
+ sqs: "sqs";
130
+ }>>;
365
131
  topicNaming: z.ZodOptional<z.ZodString>;
366
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
367
- }, "strip", z.ZodTypeAny, {
368
- broker: "kafka" | "rabbitmq" | "sqs";
369
- examples?: string[] | undefined;
370
- topicNaming?: string | undefined;
371
- }, {
372
- examples?: string[] | undefined;
373
- broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
374
- topicNaming?: string | undefined;
375
- }>>;
376
- }, "strip", z.ZodTypeAny, {
377
- domainEvents?: {
378
- suffix: string;
379
- pastTense: boolean;
380
- examples?: string[] | undefined;
381
- } | undefined;
382
- eventPublishing?: {
383
- interface: string;
384
- async: boolean;
385
- } | undefined;
386
- messaging?: {
387
- broker: "kafka" | "rabbitmq" | "sqs";
388
- examples?: string[] | undefined;
389
- topicNaming?: string | undefined;
390
- } | undefined;
391
- }, {
392
- domainEvents?: {
393
- examples?: string[] | undefined;
394
- suffix?: string | undefined;
395
- pastTense?: boolean | undefined;
396
- } | undefined;
397
- eventPublishing?: {
398
- interface?: string | undefined;
399
- async?: boolean | undefined;
400
- } | undefined;
401
- messaging?: {
402
- examples?: string[] | undefined;
403
- broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
404
- topicNaming?: string | undefined;
405
- } | undefined;
406
- }>>;
407
- }, "strip", z.ZodTypeAny, {
408
- enabled: boolean;
409
- approach: "domain-events" | "event-sourcing";
410
- patterns?: {
411
- domainEvents?: {
412
- suffix: string;
413
- pastTense: boolean;
414
- examples?: string[] | undefined;
415
- } | undefined;
416
- eventPublishing?: {
417
- interface: string;
418
- async: boolean;
419
- } | undefined;
420
- messaging?: {
421
- broker: "kafka" | "rabbitmq" | "sqs";
422
- examples?: string[] | undefined;
423
- topicNaming?: string | undefined;
424
- } | undefined;
425
- } | undefined;
426
- }, {
427
- enabled?: boolean | undefined;
428
- patterns?: {
429
- domainEvents?: {
430
- examples?: string[] | undefined;
431
- suffix?: string | undefined;
432
- pastTense?: boolean | undefined;
433
- } | undefined;
434
- eventPublishing?: {
435
- interface?: string | undefined;
436
- async?: boolean | undefined;
437
- } | undefined;
438
- messaging?: {
439
- examples?: string[] | undefined;
440
- broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
441
- topicNaming?: string | undefined;
442
- } | undefined;
443
- } | undefined;
444
- approach?: "domain-events" | "event-sourcing" | undefined;
445
- }>;
132
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
133
+ }, z.core.$strip>>;
134
+ }, z.core.$strip>>;
135
+ }, z.core.$strip>;
446
136
  /**
447
137
  * Code quality rules schema.
448
138
  */
@@ -455,28 +145,8 @@ export declare const CodeQualitySchema: z.ZodObject<{
455
145
  requireDocumentation: z.ZodDefault<z.ZodBoolean>;
456
146
  requireTests: z.ZodDefault<z.ZodBoolean>;
457
147
  minimumTestCoverage: z.ZodDefault<z.ZodNumber>;
458
- principles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
459
- }, "strip", z.ZodTypeAny, {
460
- maxMethodLines: number;
461
- maxClassLines: number;
462
- maxFileLines: number;
463
- maxMethodParameters: number;
464
- maxCyclomaticComplexity: number;
465
- requireDocumentation: boolean;
466
- requireTests: boolean;
467
- minimumTestCoverage: number;
468
- principles?: string[] | undefined;
469
- }, {
470
- maxMethodLines?: number | undefined;
471
- maxClassLines?: number | undefined;
472
- maxFileLines?: number | undefined;
473
- maxMethodParameters?: number | undefined;
474
- maxCyclomaticComplexity?: number | undefined;
475
- requireDocumentation?: boolean | undefined;
476
- requireTests?: boolean | undefined;
477
- minimumTestCoverage?: number | undefined;
478
- principles?: string[] | undefined;
479
- }>;
148
+ principles: z.ZodOptional<z.ZodArray<z.ZodString>>;
149
+ }, z.core.$strip>;
480
150
  /**
481
151
  * Naming conventions schema - supports nested structure.
482
152
  */
@@ -484,15 +154,7 @@ export declare const NamingSchema: z.ZodOptional<z.ZodObject<{
484
154
  general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
485
155
  suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
486
156
  testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
487
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
488
- general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
489
- suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
490
- testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
491
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
492
- general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
493
- suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
494
- testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
495
- }, z.ZodTypeAny, "passthrough">>>;
157
+ }, z.core.$loose>>;
496
158
  /**
497
159
  * Testing configuration schema.
498
160
  */
@@ -507,190 +169,30 @@ export declare const TestingConfigSchema: z.ZodObject<{
507
169
  coverage: z.ZodOptional<z.ZodNumber>;
508
170
  fastExecution: z.ZodOptional<z.ZodBoolean>;
509
171
  mavenPhase: z.ZodOptional<z.ZodString>;
510
- }, "strip", z.ZodTypeAny, {
511
- suffix: string;
512
- location?: string | undefined;
513
- coverage?: number | undefined;
514
- fastExecution?: boolean | undefined;
515
- mavenPhase?: string | undefined;
516
- }, {
517
- suffix?: string | undefined;
518
- location?: string | undefined;
519
- coverage?: number | undefined;
520
- fastExecution?: boolean | undefined;
521
- mavenPhase?: string | undefined;
522
- }>>;
172
+ }, z.core.$strip>>;
523
173
  integration: z.ZodOptional<z.ZodObject<{
524
174
  suffix: z.ZodDefault<z.ZodString>;
525
175
  location: z.ZodOptional<z.ZodString>;
526
176
  mavenPlugin: z.ZodOptional<z.ZodString>;
527
177
  mavenPhase: z.ZodOptional<z.ZodString>;
528
178
  useTestcontainers: z.ZodOptional<z.ZodBoolean>;
529
- }, "strip", z.ZodTypeAny, {
530
- suffix: string;
531
- location?: string | undefined;
532
- mavenPhase?: string | undefined;
533
- mavenPlugin?: string | undefined;
534
- useTestcontainers?: boolean | undefined;
535
- }, {
536
- suffix?: string | undefined;
537
- location?: string | undefined;
538
- mavenPhase?: string | undefined;
539
- mavenPlugin?: string | undefined;
540
- useTestcontainers?: boolean | undefined;
541
- }>>;
179
+ }, z.core.$strip>>;
542
180
  e2e: z.ZodOptional<z.ZodObject<{
543
181
  suffix: z.ZodOptional<z.ZodString>;
544
182
  location: z.ZodOptional<z.ZodString>;
545
- }, "strip", z.ZodTypeAny, {
546
- suffix?: string | undefined;
547
- location?: string | undefined;
548
- }, {
549
- suffix?: string | undefined;
550
- location?: string | undefined;
551
- }>>;
183
+ }, z.core.$strip>>;
552
184
  architecture: z.ZodOptional<z.ZodObject<{
553
185
  tool: z.ZodDefault<z.ZodString>;
554
186
  recommended: z.ZodDefault<z.ZodBoolean>;
555
187
  location: z.ZodOptional<z.ZodString>;
556
- }, "strip", z.ZodTypeAny, {
557
- recommended: boolean;
558
- tool: string;
559
- location?: string | undefined;
560
- }, {
561
- recommended?: boolean | undefined;
562
- location?: string | undefined;
563
- tool?: string | undefined;
564
- }>>;
565
- }, "strip", z.ZodTypeAny, {
566
- unit?: {
567
- suffix: string;
568
- location?: string | undefined;
569
- coverage?: number | undefined;
570
- fastExecution?: boolean | undefined;
571
- mavenPhase?: string | undefined;
572
- } | undefined;
573
- integration?: {
574
- suffix: string;
575
- location?: string | undefined;
576
- mavenPhase?: string | undefined;
577
- mavenPlugin?: string | undefined;
578
- useTestcontainers?: boolean | undefined;
579
- } | undefined;
580
- e2e?: {
581
- suffix?: string | undefined;
582
- location?: string | undefined;
583
- } | undefined;
584
- architecture?: {
585
- recommended: boolean;
586
- tool: string;
587
- location?: string | undefined;
588
- } | undefined;
589
- }, {
590
- unit?: {
591
- suffix?: string | undefined;
592
- location?: string | undefined;
593
- coverage?: number | undefined;
594
- fastExecution?: boolean | undefined;
595
- mavenPhase?: string | undefined;
596
- } | undefined;
597
- integration?: {
598
- suffix?: string | undefined;
599
- location?: string | undefined;
600
- mavenPhase?: string | undefined;
601
- mavenPlugin?: string | undefined;
602
- useTestcontainers?: boolean | undefined;
603
- } | undefined;
604
- e2e?: {
605
- suffix?: string | undefined;
606
- location?: string | undefined;
607
- } | undefined;
608
- architecture?: {
609
- recommended?: boolean | undefined;
610
- location?: string | undefined;
611
- tool?: string | undefined;
612
- } | undefined;
613
- }>>;
188
+ }, z.core.$strip>>;
189
+ }, z.core.$strip>>;
614
190
  patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
615
191
  testcontainers: z.ZodOptional<z.ZodObject<{
616
192
  enabled: z.ZodDefault<z.ZodBoolean>;
617
- containers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
618
- }, "strip", z.ZodTypeAny, {
619
- enabled: boolean;
620
- containers?: string[] | undefined;
621
- }, {
622
- enabled?: boolean | undefined;
623
- containers?: string[] | undefined;
624
- }>>;
625
- }, "strip", z.ZodTypeAny, {
626
- framework: string;
627
- assertionLibrary: string;
628
- mockingLibrary: string;
629
- patterns?: Record<string, boolean> | undefined;
630
- types?: {
631
- unit?: {
632
- suffix: string;
633
- location?: string | undefined;
634
- coverage?: number | undefined;
635
- fastExecution?: boolean | undefined;
636
- mavenPhase?: string | undefined;
637
- } | undefined;
638
- integration?: {
639
- suffix: string;
640
- location?: string | undefined;
641
- mavenPhase?: string | undefined;
642
- mavenPlugin?: string | undefined;
643
- useTestcontainers?: boolean | undefined;
644
- } | undefined;
645
- e2e?: {
646
- suffix?: string | undefined;
647
- location?: string | undefined;
648
- } | undefined;
649
- architecture?: {
650
- recommended: boolean;
651
- tool: string;
652
- location?: string | undefined;
653
- } | undefined;
654
- } | undefined;
655
- testcontainers?: {
656
- enabled: boolean;
657
- containers?: string[] | undefined;
658
- } | undefined;
659
- }, {
660
- patterns?: Record<string, boolean> | undefined;
661
- framework?: string | undefined;
662
- assertionLibrary?: string | undefined;
663
- mockingLibrary?: string | undefined;
664
- types?: {
665
- unit?: {
666
- suffix?: string | undefined;
667
- location?: string | undefined;
668
- coverage?: number | undefined;
669
- fastExecution?: boolean | undefined;
670
- mavenPhase?: string | undefined;
671
- } | undefined;
672
- integration?: {
673
- suffix?: string | undefined;
674
- location?: string | undefined;
675
- mavenPhase?: string | undefined;
676
- mavenPlugin?: string | undefined;
677
- useTestcontainers?: boolean | undefined;
678
- } | undefined;
679
- e2e?: {
680
- suffix?: string | undefined;
681
- location?: string | undefined;
682
- } | undefined;
683
- architecture?: {
684
- recommended?: boolean | undefined;
685
- location?: string | undefined;
686
- tool?: string | undefined;
687
- } | undefined;
688
- } | undefined;
689
- testcontainers?: {
690
- enabled?: boolean | undefined;
691
- containers?: string[] | undefined;
692
- } | undefined;
693
- }>;
193
+ containers: z.ZodOptional<z.ZodArray<z.ZodString>>;
194
+ }, z.core.$strip>>;
195
+ }, z.core.$strip>;
694
196
  /**
695
197
  * HTTP Clients configuration schema.
696
198
  */
@@ -698,62 +200,16 @@ export declare const HttpClientsSchema: z.ZodObject<{
698
200
  simple: z.ZodOptional<z.ZodObject<{
699
201
  tool: z.ZodDefault<z.ZodString>;
700
202
  description: z.ZodOptional<z.ZodString>;
701
- useWhen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
203
+ useWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
702
204
  example: z.ZodOptional<z.ZodString>;
703
- }, "strip", z.ZodTypeAny, {
704
- tool: string;
705
- description?: string | undefined;
706
- useWhen?: string[] | undefined;
707
- example?: string | undefined;
708
- }, {
709
- description?: string | undefined;
710
- tool?: string | undefined;
711
- useWhen?: string[] | undefined;
712
- example?: string | undefined;
713
- }>>;
205
+ }, z.core.$strip>>;
714
206
  complex: z.ZodOptional<z.ZodObject<{
715
207
  tool: z.ZodDefault<z.ZodString>;
716
208
  description: z.ZodOptional<z.ZodString>;
717
- useWhen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
209
+ useWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
718
210
  example: z.ZodOptional<z.ZodString>;
719
- }, "strip", z.ZodTypeAny, {
720
- tool: string;
721
- description?: string | undefined;
722
- useWhen?: string[] | undefined;
723
- example?: string | undefined;
724
- }, {
725
- description?: string | undefined;
726
- tool?: string | undefined;
727
- useWhen?: string[] | undefined;
728
- example?: string | undefined;
729
- }>>;
730
- }, "strip", z.ZodTypeAny, {
731
- simple?: {
732
- tool: string;
733
- description?: string | undefined;
734
- useWhen?: string[] | undefined;
735
- example?: string | undefined;
736
- } | undefined;
737
- complex?: {
738
- tool: string;
739
- description?: string | undefined;
740
- useWhen?: string[] | undefined;
741
- example?: string | undefined;
742
- } | undefined;
743
- }, {
744
- simple?: {
745
- description?: string | undefined;
746
- tool?: string | undefined;
747
- useWhen?: string[] | undefined;
748
- example?: string | undefined;
749
- } | undefined;
750
- complex?: {
751
- description?: string | undefined;
752
- tool?: string | undefined;
753
- useWhen?: string[] | undefined;
754
- example?: string | undefined;
755
- } | undefined;
756
- }>;
211
+ }, z.core.$strip>>;
212
+ }, z.core.$strip>;
757
213
  /**
758
214
  * Observability configuration schema.
759
215
  */
@@ -764,154 +220,32 @@ export declare const ObservabilitySchema: z.ZodObject<{
764
220
  format: z.ZodOptional<z.ZodString>;
765
221
  structuredLogging: z.ZodOptional<z.ZodBoolean>;
766
222
  correlationId: z.ZodOptional<z.ZodBoolean>;
767
- mdc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
223
+ mdc: z.ZodOptional<z.ZodArray<z.ZodString>>;
768
224
  levels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
769
- avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
770
- }, "strip", z.ZodTypeAny, {
771
- framework?: string | undefined;
772
- format?: string | undefined;
773
- structuredLogging?: boolean | undefined;
774
- correlationId?: boolean | undefined;
775
- mdc?: string[] | undefined;
776
- levels?: Record<string, string> | undefined;
777
- avoid?: string[] | undefined;
778
- }, {
779
- framework?: string | undefined;
780
- format?: string | undefined;
781
- structuredLogging?: boolean | undefined;
782
- correlationId?: boolean | undefined;
783
- mdc?: string[] | undefined;
784
- levels?: Record<string, string> | undefined;
785
- avoid?: string[] | undefined;
786
- }>>;
225
+ avoid: z.ZodOptional<z.ZodArray<z.ZodString>>;
226
+ }, z.core.$strip>>;
787
227
  metrics: z.ZodOptional<z.ZodObject<{
788
228
  framework: z.ZodOptional<z.ZodString>;
789
229
  registry: z.ZodOptional<z.ZodString>;
790
230
  customMetrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
791
231
  type: z.ZodString;
792
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
793
- }, "strip", z.ZodTypeAny, {
794
- type: string;
795
- examples?: string[] | undefined;
796
- }, {
797
- type: string;
798
- examples?: string[] | undefined;
799
- }>, "many">>;
232
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
233
+ }, z.core.$strip>>>;
800
234
  naming: z.ZodOptional<z.ZodString>;
801
- }, "strip", z.ZodTypeAny, {
802
- framework?: string | undefined;
803
- registry?: string | undefined;
804
- customMetrics?: {
805
- type: string;
806
- examples?: string[] | undefined;
807
- }[] | undefined;
808
- naming?: string | undefined;
809
- }, {
810
- framework?: string | undefined;
811
- registry?: string | undefined;
812
- customMetrics?: {
813
- type: string;
814
- examples?: string[] | undefined;
815
- }[] | undefined;
816
- naming?: string | undefined;
817
- }>>;
235
+ }, z.core.$strip>>;
818
236
  tracing: z.ZodOptional<z.ZodObject<{
819
237
  framework: z.ZodOptional<z.ZodString>;
820
238
  propagation: z.ZodOptional<z.ZodString>;
821
239
  samplingRate: z.ZodOptional<z.ZodNumber>;
822
- exporters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
823
- spanAttributes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
824
- }, "strip", z.ZodTypeAny, {
825
- framework?: string | undefined;
826
- propagation?: string | undefined;
827
- samplingRate?: number | undefined;
828
- exporters?: string[] | undefined;
829
- spanAttributes?: string[] | undefined;
830
- }, {
831
- framework?: string | undefined;
832
- propagation?: string | undefined;
833
- samplingRate?: number | undefined;
834
- exporters?: string[] | undefined;
835
- spanAttributes?: string[] | undefined;
836
- }>>;
240
+ exporters: z.ZodOptional<z.ZodArray<z.ZodString>>;
241
+ spanAttributes: z.ZodOptional<z.ZodArray<z.ZodString>>;
242
+ }, z.core.$strip>>;
837
243
  healthChecks: z.ZodOptional<z.ZodObject<{
838
- actuatorEndpoints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
244
+ actuatorEndpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
839
245
  customHealthIndicators: z.ZodOptional<z.ZodBoolean>;
840
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
841
- }, "strip", z.ZodTypeAny, {
842
- examples?: string[] | undefined;
843
- actuatorEndpoints?: string[] | undefined;
844
- customHealthIndicators?: boolean | undefined;
845
- }, {
846
- examples?: string[] | undefined;
847
- actuatorEndpoints?: string[] | undefined;
848
- customHealthIndicators?: boolean | undefined;
849
- }>>;
850
- }, "strip", z.ZodTypeAny, {
851
- enabled: boolean;
852
- logging?: {
853
- framework?: string | undefined;
854
- format?: string | undefined;
855
- structuredLogging?: boolean | undefined;
856
- correlationId?: boolean | undefined;
857
- mdc?: string[] | undefined;
858
- levels?: Record<string, string> | undefined;
859
- avoid?: string[] | undefined;
860
- } | undefined;
861
- metrics?: {
862
- framework?: string | undefined;
863
- registry?: string | undefined;
864
- customMetrics?: {
865
- type: string;
866
- examples?: string[] | undefined;
867
- }[] | undefined;
868
- naming?: string | undefined;
869
- } | undefined;
870
- tracing?: {
871
- framework?: string | undefined;
872
- propagation?: string | undefined;
873
- samplingRate?: number | undefined;
874
- exporters?: string[] | undefined;
875
- spanAttributes?: string[] | undefined;
876
- } | undefined;
877
- healthChecks?: {
878
- examples?: string[] | undefined;
879
- actuatorEndpoints?: string[] | undefined;
880
- customHealthIndicators?: boolean | undefined;
881
- } | undefined;
882
- }, {
883
- enabled?: boolean | undefined;
884
- logging?: {
885
- framework?: string | undefined;
886
- format?: string | undefined;
887
- structuredLogging?: boolean | undefined;
888
- correlationId?: boolean | undefined;
889
- mdc?: string[] | undefined;
890
- levels?: Record<string, string> | undefined;
891
- avoid?: string[] | undefined;
892
- } | undefined;
893
- metrics?: {
894
- framework?: string | undefined;
895
- registry?: string | undefined;
896
- customMetrics?: {
897
- type: string;
898
- examples?: string[] | undefined;
899
- }[] | undefined;
900
- naming?: string | undefined;
901
- } | undefined;
902
- tracing?: {
903
- framework?: string | undefined;
904
- propagation?: string | undefined;
905
- samplingRate?: number | undefined;
906
- exporters?: string[] | undefined;
907
- spanAttributes?: string[] | undefined;
908
- } | undefined;
909
- healthChecks?: {
910
- examples?: string[] | undefined;
911
- actuatorEndpoints?: string[] | undefined;
912
- customHealthIndicators?: boolean | undefined;
913
- } | undefined;
914
- }>;
246
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
247
+ }, z.core.$strip>>;
248
+ }, z.core.$strip>;
915
249
  /**
916
250
  * API Documentation configuration schema.
917
251
  */
@@ -919,24 +253,10 @@ export declare const ApiDocumentationSchema: z.ZodObject<{
919
253
  enabled: z.ZodDefault<z.ZodBoolean>;
920
254
  tool: z.ZodDefault<z.ZodString>;
921
255
  version: z.ZodOptional<z.ZodString>;
922
- requirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
256
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
923
257
  annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
924
- output: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
925
- }, "strip", z.ZodTypeAny, {
926
- enabled: boolean;
927
- tool: string;
928
- version?: string | undefined;
929
- requirements?: string[] | undefined;
930
- annotations?: Record<string, string> | undefined;
931
- output?: string[] | undefined;
932
- }, {
933
- enabled?: boolean | undefined;
934
- tool?: string | undefined;
935
- version?: string | undefined;
936
- requirements?: string[] | undefined;
937
- annotations?: Record<string, string> | undefined;
938
- output?: string[] | undefined;
939
- }>;
258
+ output: z.ZodOptional<z.ZodArray<z.ZodString>>;
259
+ }, z.core.$strip>;
940
260
  /**
941
261
  * Security configuration schema.
942
262
  */
@@ -944,79 +264,25 @@ export declare const SecuritySchema: z.ZodObject<{
944
264
  authentication: z.ZodOptional<z.ZodObject<{
945
265
  method: z.ZodOptional<z.ZodString>;
946
266
  storage: z.ZodOptional<z.ZodString>;
947
- }, "strip", z.ZodTypeAny, {
948
- method?: string | undefined;
949
- storage?: string | undefined;
950
- }, {
951
- method?: string | undefined;
952
- storage?: string | undefined;
953
- }>>;
267
+ }, z.core.$strip>>;
954
268
  authorization: z.ZodOptional<z.ZodObject<{
955
269
  framework: z.ZodOptional<z.ZodString>;
956
270
  method: z.ZodOptional<z.ZodString>;
957
- }, "strip", z.ZodTypeAny, {
958
- framework?: string | undefined;
959
- method?: string | undefined;
960
- }, {
961
- framework?: string | undefined;
962
- method?: string | undefined;
963
- }>>;
964
- practices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
965
- }, "strip", z.ZodTypeAny, {
966
- authentication?: {
967
- method?: string | undefined;
968
- storage?: string | undefined;
969
- } | undefined;
970
- authorization?: {
971
- framework?: string | undefined;
972
- method?: string | undefined;
973
- } | undefined;
974
- practices?: string[] | undefined;
975
- }, {
976
- authentication?: {
977
- method?: string | undefined;
978
- storage?: string | undefined;
979
- } | undefined;
980
- authorization?: {
981
- framework?: string | undefined;
982
- method?: string | undefined;
983
- } | undefined;
984
- practices?: string[] | undefined;
985
- }>;
271
+ }, z.core.$strip>>;
272
+ practices: z.ZodOptional<z.ZodArray<z.ZodString>>;
273
+ }, z.core.$strip>;
986
274
  /**
987
275
  * Error handling configuration schema.
988
276
  */
989
277
  export declare const ErrorHandlingSchema: z.ZodObject<{
990
278
  format: z.ZodDefault<z.ZodString>;
991
279
  globalHandler: z.ZodOptional<z.ZodString>;
992
- structure: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
280
+ structure: z.ZodOptional<z.ZodArray<z.ZodString>>;
993
281
  customExceptions: z.ZodOptional<z.ZodObject<{
994
- domain: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
995
- application: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
996
- }, "strip", z.ZodTypeAny, {
997
- domain?: string[] | undefined;
998
- application?: string[] | undefined;
999
- }, {
1000
- domain?: string[] | undefined;
1001
- application?: string[] | undefined;
1002
- }>>;
1003
- }, "strip", z.ZodTypeAny, {
1004
- format: string;
1005
- globalHandler?: string | undefined;
1006
- structure?: string[] | undefined;
1007
- customExceptions?: {
1008
- domain?: string[] | undefined;
1009
- application?: string[] | undefined;
1010
- } | undefined;
1011
- }, {
1012
- format?: string | undefined;
1013
- globalHandler?: string | undefined;
1014
- structure?: string[] | undefined;
1015
- customExceptions?: {
1016
- domain?: string[] | undefined;
1017
- application?: string[] | undefined;
1018
- } | undefined;
1019
- }>;
282
+ domain: z.ZodOptional<z.ZodArray<z.ZodString>>;
283
+ application: z.ZodOptional<z.ZodArray<z.ZodString>>;
284
+ }, z.core.$strip>>;
285
+ }, z.core.$strip>;
1020
286
  /**
1021
287
  * Database configuration schema.
1022
288
  */
@@ -1025,82 +291,20 @@ export declare const DatabaseSchema: z.ZodObject<{
1025
291
  tool: z.ZodDefault<z.ZodString>;
1026
292
  location: z.ZodOptional<z.ZodString>;
1027
293
  naming: z.ZodOptional<z.ZodString>;
1028
- }, "strip", z.ZodTypeAny, {
1029
- tool: string;
1030
- location?: string | undefined;
1031
- naming?: string | undefined;
1032
- }, {
1033
- location?: string | undefined;
1034
- tool?: string | undefined;
1035
- naming?: string | undefined;
1036
- }>>;
294
+ }, z.core.$strip>>;
1037
295
  auditing: z.ZodOptional<z.ZodObject<{
1038
296
  enabled: z.ZodDefault<z.ZodBoolean>;
1039
- fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1040
- }, "strip", z.ZodTypeAny, {
1041
- enabled: boolean;
1042
- fields?: string[] | undefined;
1043
- }, {
1044
- enabled?: boolean | undefined;
1045
- fields?: string[] | undefined;
1046
- }>>;
297
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
298
+ }, z.core.$strip>>;
1047
299
  mapping: z.ZodOptional<z.ZodObject<{
1048
300
  tool: z.ZodOptional<z.ZodString>;
1049
301
  nullHandling: z.ZodOptional<z.ZodString>;
1050
- }, "strip", z.ZodTypeAny, {
1051
- tool?: string | undefined;
1052
- nullHandling?: string | undefined;
1053
- }, {
1054
- tool?: string | undefined;
1055
- nullHandling?: string | undefined;
1056
- }>>;
302
+ }, z.core.$strip>>;
1057
303
  softDelete: z.ZodOptional<z.ZodObject<{
1058
304
  recommended: z.ZodOptional<z.ZodBoolean>;
1059
305
  field: z.ZodOptional<z.ZodString>;
1060
- }, "strip", z.ZodTypeAny, {
1061
- recommended?: boolean | undefined;
1062
- field?: string | undefined;
1063
- }, {
1064
- recommended?: boolean | undefined;
1065
- field?: string | undefined;
1066
- }>>;
1067
- }, "strip", z.ZodTypeAny, {
1068
- migrations?: {
1069
- tool: string;
1070
- location?: string | undefined;
1071
- naming?: string | undefined;
1072
- } | undefined;
1073
- auditing?: {
1074
- enabled: boolean;
1075
- fields?: string[] | undefined;
1076
- } | undefined;
1077
- mapping?: {
1078
- tool?: string | undefined;
1079
- nullHandling?: string | undefined;
1080
- } | undefined;
1081
- softDelete?: {
1082
- recommended?: boolean | undefined;
1083
- field?: string | undefined;
1084
- } | undefined;
1085
- }, {
1086
- migrations?: {
1087
- location?: string | undefined;
1088
- tool?: string | undefined;
1089
- naming?: string | undefined;
1090
- } | undefined;
1091
- auditing?: {
1092
- enabled?: boolean | undefined;
1093
- fields?: string[] | undefined;
1094
- } | undefined;
1095
- mapping?: {
1096
- tool?: string | undefined;
1097
- nullHandling?: string | undefined;
1098
- } | undefined;
1099
- softDelete?: {
1100
- recommended?: boolean | undefined;
1101
- field?: string | undefined;
1102
- } | undefined;
1103
- }>;
306
+ }, z.core.$strip>>;
307
+ }, z.core.$strip>;
1104
308
  /**
1105
309
  * Object mapping configuration schema.
1106
310
  */
@@ -1108,21 +312,9 @@ export declare const MappingSchema: z.ZodObject<{
1108
312
  tool: z.ZodDefault<z.ZodString>;
1109
313
  componentModel: z.ZodOptional<z.ZodString>;
1110
314
  nullValueHandling: z.ZodOptional<z.ZodString>;
1111
- patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
315
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1112
316
  example: z.ZodOptional<z.ZodString>;
1113
- }, "strip", z.ZodTypeAny, {
1114
- tool: string;
1115
- patterns?: string[] | undefined;
1116
- example?: string | undefined;
1117
- componentModel?: string | undefined;
1118
- nullValueHandling?: string | undefined;
1119
- }, {
1120
- patterns?: string[] | undefined;
1121
- tool?: string | undefined;
1122
- example?: string | undefined;
1123
- componentModel?: string | undefined;
1124
- nullValueHandling?: string | undefined;
1125
- }>;
317
+ }, z.core.$strip>;
1126
318
  /**
1127
319
  * Technology configuration schema.
1128
320
  */
@@ -1131,17 +323,7 @@ export declare const TechnologySchema: z.ZodObject<{
1131
323
  version: z.ZodOptional<z.ZodString>;
1132
324
  tool: z.ZodOptional<z.ZodString>;
1133
325
  specificRules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1134
- }, "strip", z.ZodTypeAny, {
1135
- name: string;
1136
- tool?: string | undefined;
1137
- version?: string | undefined;
1138
- specificRules?: Record<string, unknown> | undefined;
1139
- }, {
1140
- name: string;
1141
- tool?: string | undefined;
1142
- version?: string | undefined;
1143
- specificRules?: Record<string, unknown> | undefined;
1144
- }>;
326
+ }, z.core.$strip>;
1145
327
  /**
1146
328
  * Complete profile schema.
1147
329
  */
@@ -1149,66 +331,28 @@ export declare const ProfileSchema: z.ZodObject<{
1149
331
  name: z.ZodString;
1150
332
  description: z.ZodOptional<z.ZodString>;
1151
333
  architecture: z.ZodOptional<z.ZodObject<{
1152
- type: z.ZodDefault<z.ZodEnum<["hexagonal", "clean", "onion", "layered", "microservices", "modular-monolith", "feature-based"]>>;
334
+ type: z.ZodDefault<z.ZodEnum<{
335
+ hexagonal: "hexagonal";
336
+ clean: "clean";
337
+ onion: "onion";
338
+ layered: "layered";
339
+ microservices: "microservices";
340
+ "modular-monolith": "modular-monolith";
341
+ "feature-based": "feature-based";
342
+ }>>;
1153
343
  enforceLayerDependencies: z.ZodDefault<z.ZodBoolean>;
1154
344
  layers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1155
345
  name: z.ZodString;
1156
346
  description: z.ZodString;
1157
- allowedDependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1158
- packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1159
- }, "strip", z.ZodTypeAny, {
1160
- name: string;
1161
- description: string;
1162
- allowedDependencies: string[];
1163
- packages?: string[] | undefined;
1164
- }, {
1165
- name: string;
1166
- description: string;
1167
- allowedDependencies?: string[] | undefined;
1168
- packages?: string[] | undefined;
1169
- }>, "many">>;
347
+ allowedDependencies: z.ZodDefault<z.ZodArray<z.ZodString>>;
348
+ packages: z.ZodOptional<z.ZodArray<z.ZodString>>;
349
+ }, z.core.$strip>>>;
1170
350
  archUnit: z.ZodOptional<z.ZodObject<{
1171
351
  enabled: z.ZodDefault<z.ZodBoolean>;
1172
352
  recommended: z.ZodDefault<z.ZodBoolean>;
1173
- rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1174
- }, "strip", z.ZodTypeAny, {
1175
- enabled: boolean;
1176
- recommended: boolean;
1177
- rules?: string[] | undefined;
1178
- }, {
1179
- enabled?: boolean | undefined;
1180
- recommended?: boolean | undefined;
1181
- rules?: string[] | undefined;
1182
- }>>;
1183
- }, "strip", z.ZodTypeAny, {
1184
- type: "hexagonal" | "clean" | "onion" | "layered" | "microservices" | "modular-monolith" | "feature-based";
1185
- enforceLayerDependencies: boolean;
1186
- layers?: {
1187
- name: string;
1188
- description: string;
1189
- allowedDependencies: string[];
1190
- packages?: string[] | undefined;
1191
- }[] | undefined;
1192
- archUnit?: {
1193
- enabled: boolean;
1194
- recommended: boolean;
1195
- rules?: string[] | undefined;
1196
- } | undefined;
1197
- }, {
1198
- type?: "hexagonal" | "clean" | "onion" | "layered" | "microservices" | "modular-monolith" | "feature-based" | undefined;
1199
- enforceLayerDependencies?: boolean | undefined;
1200
- layers?: {
1201
- name: string;
1202
- description: string;
1203
- allowedDependencies?: string[] | undefined;
1204
- packages?: string[] | undefined;
1205
- }[] | undefined;
1206
- archUnit?: {
1207
- enabled?: boolean | undefined;
1208
- recommended?: boolean | undefined;
1209
- rules?: string[] | undefined;
1210
- } | undefined;
1211
- }>>;
353
+ rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
354
+ }, z.core.$strip>>;
355
+ }, z.core.$strip>>;
1212
356
  ddd: z.ZodOptional<z.ZodObject<{
1213
357
  enabled: z.ZodDefault<z.ZodBoolean>;
1214
358
  ubiquitousLanguageEnforced: z.ZodDefault<z.ZodBoolean>;
@@ -1221,302 +365,66 @@ export declare const ProfileSchema: z.ZodObject<{
1221
365
  domainServices: z.ZodDefault<z.ZodBoolean>;
1222
366
  factories: z.ZodDefault<z.ZodBoolean>;
1223
367
  specifications: z.ZodDefault<z.ZodBoolean>;
1224
- }, "strip", z.ZodTypeAny, {
1225
- aggregates: boolean;
1226
- entities: boolean;
1227
- valueObjects: boolean;
1228
- domainEvents: boolean;
1229
- repositories: boolean;
1230
- domainServices: boolean;
1231
- factories: boolean;
1232
- specifications: boolean;
1233
- }, {
1234
- aggregates?: boolean | undefined;
1235
- entities?: boolean | undefined;
1236
- valueObjects?: boolean | undefined;
1237
- domainEvents?: boolean | undefined;
1238
- repositories?: boolean | undefined;
1239
- domainServices?: boolean | undefined;
1240
- factories?: boolean | undefined;
1241
- specifications?: boolean | undefined;
1242
- }>>;
368
+ }, z.core.$strip>>;
1243
369
  valueObjectGuidelines: z.ZodOptional<z.ZodObject<{
1244
370
  useRecords: z.ZodDefault<z.ZodBoolean>;
1245
371
  immutable: z.ZodDefault<z.ZodBoolean>;
1246
372
  selfValidating: z.ZodDefault<z.ZodBoolean>;
1247
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1248
- }, "strip", z.ZodTypeAny, {
1249
- useRecords: boolean;
1250
- immutable: boolean;
1251
- selfValidating: boolean;
1252
- examples?: string[] | undefined;
1253
- }, {
1254
- useRecords?: boolean | undefined;
1255
- immutable?: boolean | undefined;
1256
- selfValidating?: boolean | undefined;
1257
- examples?: string[] | undefined;
1258
- }>>;
373
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
374
+ }, z.core.$strip>>;
1259
375
  aggregateGuidelines: z.ZodOptional<z.ZodObject<{
1260
376
  singleEntryPoint: z.ZodDefault<z.ZodBoolean>;
1261
377
  protectInvariants: z.ZodDefault<z.ZodBoolean>;
1262
378
  smallAggregates: z.ZodDefault<z.ZodBoolean>;
1263
379
  referenceByIdentity: z.ZodDefault<z.ZodBoolean>;
1264
- }, "strip", z.ZodTypeAny, {
1265
- singleEntryPoint: boolean;
1266
- protectInvariants: boolean;
1267
- smallAggregates: boolean;
1268
- referenceByIdentity: boolean;
1269
- }, {
1270
- singleEntryPoint?: boolean | undefined;
1271
- protectInvariants?: boolean | undefined;
1272
- smallAggregates?: boolean | undefined;
1273
- referenceByIdentity?: boolean | undefined;
1274
- }>>;
1275
- }, "strip", z.ZodTypeAny, {
1276
- enabled: boolean;
1277
- ubiquitousLanguageEnforced: boolean;
1278
- patterns?: {
1279
- aggregates: boolean;
1280
- entities: boolean;
1281
- valueObjects: boolean;
1282
- domainEvents: boolean;
1283
- repositories: boolean;
1284
- domainServices: boolean;
1285
- factories: boolean;
1286
- specifications: boolean;
1287
- } | undefined;
1288
- valueObjectGuidelines?: {
1289
- useRecords: boolean;
1290
- immutable: boolean;
1291
- selfValidating: boolean;
1292
- examples?: string[] | undefined;
1293
- } | undefined;
1294
- aggregateGuidelines?: {
1295
- singleEntryPoint: boolean;
1296
- protectInvariants: boolean;
1297
- smallAggregates: boolean;
1298
- referenceByIdentity: boolean;
1299
- } | undefined;
1300
- }, {
1301
- enabled?: boolean | undefined;
1302
- ubiquitousLanguageEnforced?: boolean | undefined;
1303
- patterns?: {
1304
- aggregates?: boolean | undefined;
1305
- entities?: boolean | undefined;
1306
- valueObjects?: boolean | undefined;
1307
- domainEvents?: boolean | undefined;
1308
- repositories?: boolean | undefined;
1309
- domainServices?: boolean | undefined;
1310
- factories?: boolean | undefined;
1311
- specifications?: boolean | undefined;
1312
- } | undefined;
1313
- valueObjectGuidelines?: {
1314
- useRecords?: boolean | undefined;
1315
- immutable?: boolean | undefined;
1316
- selfValidating?: boolean | undefined;
1317
- examples?: string[] | undefined;
1318
- } | undefined;
1319
- aggregateGuidelines?: {
1320
- singleEntryPoint?: boolean | undefined;
1321
- protectInvariants?: boolean | undefined;
1322
- smallAggregates?: boolean | undefined;
1323
- referenceByIdentity?: boolean | undefined;
1324
- } | undefined;
1325
- }>>;
380
+ }, z.core.$strip>>;
381
+ }, z.core.$strip>>;
1326
382
  cqrs: z.ZodOptional<z.ZodObject<{
1327
383
  enabled: z.ZodDefault<z.ZodBoolean>;
1328
- separation: z.ZodDefault<z.ZodEnum<["logical", "physical"]>>;
384
+ separation: z.ZodDefault<z.ZodEnum<{
385
+ logical: "logical";
386
+ physical: "physical";
387
+ }>>;
1329
388
  patterns: z.ZodOptional<z.ZodObject<{
1330
389
  commands: z.ZodOptional<z.ZodObject<{
1331
390
  suffix: z.ZodDefault<z.ZodString>;
1332
391
  handler: z.ZodDefault<z.ZodString>;
1333
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1334
- }, "strip", z.ZodTypeAny, {
1335
- suffix: string;
1336
- handler: string;
1337
- examples?: string[] | undefined;
1338
- }, {
1339
- examples?: string[] | undefined;
1340
- suffix?: string | undefined;
1341
- handler?: string | undefined;
1342
- }>>;
392
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
393
+ }, z.core.$strip>>;
1343
394
  queries: z.ZodOptional<z.ZodObject<{
1344
395
  suffix: z.ZodDefault<z.ZodString>;
1345
396
  handler: z.ZodDefault<z.ZodString>;
1346
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1347
- }, "strip", z.ZodTypeAny, {
1348
- suffix: string;
1349
- handler: string;
1350
- examples?: string[] | undefined;
1351
- }, {
1352
- examples?: string[] | undefined;
1353
- suffix?: string | undefined;
1354
- handler?: string | undefined;
1355
- }>>;
1356
- }, "strip", z.ZodTypeAny, {
1357
- commands?: {
1358
- suffix: string;
1359
- handler: string;
1360
- examples?: string[] | undefined;
1361
- } | undefined;
1362
- queries?: {
1363
- suffix: string;
1364
- handler: string;
1365
- examples?: string[] | undefined;
1366
- } | undefined;
1367
- }, {
1368
- commands?: {
1369
- examples?: string[] | undefined;
1370
- suffix?: string | undefined;
1371
- handler?: string | undefined;
1372
- } | undefined;
1373
- queries?: {
1374
- examples?: string[] | undefined;
1375
- suffix?: string | undefined;
1376
- handler?: string | undefined;
1377
- } | undefined;
1378
- }>>;
1379
- }, "strip", z.ZodTypeAny, {
1380
- enabled: boolean;
1381
- separation: "logical" | "physical";
1382
- patterns?: {
1383
- commands?: {
1384
- suffix: string;
1385
- handler: string;
1386
- examples?: string[] | undefined;
1387
- } | undefined;
1388
- queries?: {
1389
- suffix: string;
1390
- handler: string;
1391
- examples?: string[] | undefined;
1392
- } | undefined;
1393
- } | undefined;
1394
- }, {
1395
- enabled?: boolean | undefined;
1396
- patterns?: {
1397
- commands?: {
1398
- examples?: string[] | undefined;
1399
- suffix?: string | undefined;
1400
- handler?: string | undefined;
1401
- } | undefined;
1402
- queries?: {
1403
- examples?: string[] | undefined;
1404
- suffix?: string | undefined;
1405
- handler?: string | undefined;
1406
- } | undefined;
1407
- } | undefined;
1408
- separation?: "logical" | "physical" | undefined;
1409
- }>>;
397
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
398
+ }, z.core.$strip>>;
399
+ }, z.core.$strip>>;
400
+ }, z.core.$strip>>;
1410
401
  eventDriven: z.ZodOptional<z.ZodObject<{
1411
402
  enabled: z.ZodDefault<z.ZodBoolean>;
1412
- approach: z.ZodDefault<z.ZodEnum<["domain-events", "event-sourcing"]>>;
403
+ approach: z.ZodDefault<z.ZodEnum<{
404
+ "domain-events": "domain-events";
405
+ "event-sourcing": "event-sourcing";
406
+ }>>;
1413
407
  patterns: z.ZodOptional<z.ZodObject<{
1414
408
  domainEvents: z.ZodOptional<z.ZodObject<{
1415
409
  suffix: z.ZodDefault<z.ZodString>;
1416
410
  pastTense: z.ZodDefault<z.ZodBoolean>;
1417
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1418
- }, "strip", z.ZodTypeAny, {
1419
- suffix: string;
1420
- pastTense: boolean;
1421
- examples?: string[] | undefined;
1422
- }, {
1423
- examples?: string[] | undefined;
1424
- suffix?: string | undefined;
1425
- pastTense?: boolean | undefined;
1426
- }>>;
411
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
412
+ }, z.core.$strip>>;
1427
413
  eventPublishing: z.ZodOptional<z.ZodObject<{
1428
414
  interface: z.ZodDefault<z.ZodString>;
1429
415
  async: z.ZodDefault<z.ZodBoolean>;
1430
- }, "strip", z.ZodTypeAny, {
1431
- interface: string;
1432
- async: boolean;
1433
- }, {
1434
- interface?: string | undefined;
1435
- async?: boolean | undefined;
1436
- }>>;
416
+ }, z.core.$strip>>;
1437
417
  messaging: z.ZodOptional<z.ZodObject<{
1438
- broker: z.ZodDefault<z.ZodEnum<["kafka", "rabbitmq", "sqs"]>>;
418
+ broker: z.ZodDefault<z.ZodEnum<{
419
+ kafka: "kafka";
420
+ rabbitmq: "rabbitmq";
421
+ sqs: "sqs";
422
+ }>>;
1439
423
  topicNaming: z.ZodOptional<z.ZodString>;
1440
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1441
- }, "strip", z.ZodTypeAny, {
1442
- broker: "kafka" | "rabbitmq" | "sqs";
1443
- examples?: string[] | undefined;
1444
- topicNaming?: string | undefined;
1445
- }, {
1446
- examples?: string[] | undefined;
1447
- broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
1448
- topicNaming?: string | undefined;
1449
- }>>;
1450
- }, "strip", z.ZodTypeAny, {
1451
- domainEvents?: {
1452
- suffix: string;
1453
- pastTense: boolean;
1454
- examples?: string[] | undefined;
1455
- } | undefined;
1456
- eventPublishing?: {
1457
- interface: string;
1458
- async: boolean;
1459
- } | undefined;
1460
- messaging?: {
1461
- broker: "kafka" | "rabbitmq" | "sqs";
1462
- examples?: string[] | undefined;
1463
- topicNaming?: string | undefined;
1464
- } | undefined;
1465
- }, {
1466
- domainEvents?: {
1467
- examples?: string[] | undefined;
1468
- suffix?: string | undefined;
1469
- pastTense?: boolean | undefined;
1470
- } | undefined;
1471
- eventPublishing?: {
1472
- interface?: string | undefined;
1473
- async?: boolean | undefined;
1474
- } | undefined;
1475
- messaging?: {
1476
- examples?: string[] | undefined;
1477
- broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
1478
- topicNaming?: string | undefined;
1479
- } | undefined;
1480
- }>>;
1481
- }, "strip", z.ZodTypeAny, {
1482
- enabled: boolean;
1483
- approach: "domain-events" | "event-sourcing";
1484
- patterns?: {
1485
- domainEvents?: {
1486
- suffix: string;
1487
- pastTense: boolean;
1488
- examples?: string[] | undefined;
1489
- } | undefined;
1490
- eventPublishing?: {
1491
- interface: string;
1492
- async: boolean;
1493
- } | undefined;
1494
- messaging?: {
1495
- broker: "kafka" | "rabbitmq" | "sqs";
1496
- examples?: string[] | undefined;
1497
- topicNaming?: string | undefined;
1498
- } | undefined;
1499
- } | undefined;
1500
- }, {
1501
- enabled?: boolean | undefined;
1502
- patterns?: {
1503
- domainEvents?: {
1504
- examples?: string[] | undefined;
1505
- suffix?: string | undefined;
1506
- pastTense?: boolean | undefined;
1507
- } | undefined;
1508
- eventPublishing?: {
1509
- interface?: string | undefined;
1510
- async?: boolean | undefined;
1511
- } | undefined;
1512
- messaging?: {
1513
- examples?: string[] | undefined;
1514
- broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
1515
- topicNaming?: string | undefined;
1516
- } | undefined;
1517
- } | undefined;
1518
- approach?: "domain-events" | "event-sourcing" | undefined;
1519
- }>>;
424
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
425
+ }, z.core.$strip>>;
426
+ }, z.core.$strip>>;
427
+ }, z.core.$strip>>;
1520
428
  codeQuality: z.ZodOptional<z.ZodObject<{
1521
429
  maxMethodLines: z.ZodDefault<z.ZodNumber>;
1522
430
  maxClassLines: z.ZodDefault<z.ZodNumber>;
@@ -1526,41 +434,13 @@ export declare const ProfileSchema: z.ZodObject<{
1526
434
  requireDocumentation: z.ZodDefault<z.ZodBoolean>;
1527
435
  requireTests: z.ZodDefault<z.ZodBoolean>;
1528
436
  minimumTestCoverage: z.ZodDefault<z.ZodNumber>;
1529
- principles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1530
- }, "strip", z.ZodTypeAny, {
1531
- maxMethodLines: number;
1532
- maxClassLines: number;
1533
- maxFileLines: number;
1534
- maxMethodParameters: number;
1535
- maxCyclomaticComplexity: number;
1536
- requireDocumentation: boolean;
1537
- requireTests: boolean;
1538
- minimumTestCoverage: number;
1539
- principles?: string[] | undefined;
1540
- }, {
1541
- maxMethodLines?: number | undefined;
1542
- maxClassLines?: number | undefined;
1543
- maxFileLines?: number | undefined;
1544
- maxMethodParameters?: number | undefined;
1545
- maxCyclomaticComplexity?: number | undefined;
1546
- requireDocumentation?: boolean | undefined;
1547
- requireTests?: boolean | undefined;
1548
- minimumTestCoverage?: number | undefined;
1549
- principles?: string[] | undefined;
1550
- }>>;
437
+ principles: z.ZodOptional<z.ZodArray<z.ZodString>>;
438
+ }, z.core.$strip>>;
1551
439
  naming: z.ZodOptional<z.ZodObject<{
1552
440
  general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1553
441
  suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1554
442
  testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1555
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1556
- general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1557
- suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1558
- testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1559
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1560
- general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1561
- suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1562
- testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1563
- }, z.ZodTypeAny, "passthrough">>>;
443
+ }, z.core.$loose>>;
1564
444
  testing: z.ZodOptional<z.ZodObject<{
1565
445
  framework: z.ZodDefault<z.ZodString>;
1566
446
  assertionLibrary: z.ZodDefault<z.ZodString>;
@@ -1572,250 +452,44 @@ export declare const ProfileSchema: z.ZodObject<{
1572
452
  coverage: z.ZodOptional<z.ZodNumber>;
1573
453
  fastExecution: z.ZodOptional<z.ZodBoolean>;
1574
454
  mavenPhase: z.ZodOptional<z.ZodString>;
1575
- }, "strip", z.ZodTypeAny, {
1576
- suffix: string;
1577
- location?: string | undefined;
1578
- coverage?: number | undefined;
1579
- fastExecution?: boolean | undefined;
1580
- mavenPhase?: string | undefined;
1581
- }, {
1582
- suffix?: string | undefined;
1583
- location?: string | undefined;
1584
- coverage?: number | undefined;
1585
- fastExecution?: boolean | undefined;
1586
- mavenPhase?: string | undefined;
1587
- }>>;
455
+ }, z.core.$strip>>;
1588
456
  integration: z.ZodOptional<z.ZodObject<{
1589
457
  suffix: z.ZodDefault<z.ZodString>;
1590
458
  location: z.ZodOptional<z.ZodString>;
1591
459
  mavenPlugin: z.ZodOptional<z.ZodString>;
1592
460
  mavenPhase: z.ZodOptional<z.ZodString>;
1593
461
  useTestcontainers: z.ZodOptional<z.ZodBoolean>;
1594
- }, "strip", z.ZodTypeAny, {
1595
- suffix: string;
1596
- location?: string | undefined;
1597
- mavenPhase?: string | undefined;
1598
- mavenPlugin?: string | undefined;
1599
- useTestcontainers?: boolean | undefined;
1600
- }, {
1601
- suffix?: string | undefined;
1602
- location?: string | undefined;
1603
- mavenPhase?: string | undefined;
1604
- mavenPlugin?: string | undefined;
1605
- useTestcontainers?: boolean | undefined;
1606
- }>>;
462
+ }, z.core.$strip>>;
1607
463
  e2e: z.ZodOptional<z.ZodObject<{
1608
464
  suffix: z.ZodOptional<z.ZodString>;
1609
465
  location: z.ZodOptional<z.ZodString>;
1610
- }, "strip", z.ZodTypeAny, {
1611
- suffix?: string | undefined;
1612
- location?: string | undefined;
1613
- }, {
1614
- suffix?: string | undefined;
1615
- location?: string | undefined;
1616
- }>>;
466
+ }, z.core.$strip>>;
1617
467
  architecture: z.ZodOptional<z.ZodObject<{
1618
468
  tool: z.ZodDefault<z.ZodString>;
1619
469
  recommended: z.ZodDefault<z.ZodBoolean>;
1620
470
  location: z.ZodOptional<z.ZodString>;
1621
- }, "strip", z.ZodTypeAny, {
1622
- recommended: boolean;
1623
- tool: string;
1624
- location?: string | undefined;
1625
- }, {
1626
- recommended?: boolean | undefined;
1627
- location?: string | undefined;
1628
- tool?: string | undefined;
1629
- }>>;
1630
- }, "strip", z.ZodTypeAny, {
1631
- unit?: {
1632
- suffix: string;
1633
- location?: string | undefined;
1634
- coverage?: number | undefined;
1635
- fastExecution?: boolean | undefined;
1636
- mavenPhase?: string | undefined;
1637
- } | undefined;
1638
- integration?: {
1639
- suffix: string;
1640
- location?: string | undefined;
1641
- mavenPhase?: string | undefined;
1642
- mavenPlugin?: string | undefined;
1643
- useTestcontainers?: boolean | undefined;
1644
- } | undefined;
1645
- e2e?: {
1646
- suffix?: string | undefined;
1647
- location?: string | undefined;
1648
- } | undefined;
1649
- architecture?: {
1650
- recommended: boolean;
1651
- tool: string;
1652
- location?: string | undefined;
1653
- } | undefined;
1654
- }, {
1655
- unit?: {
1656
- suffix?: string | undefined;
1657
- location?: string | undefined;
1658
- coverage?: number | undefined;
1659
- fastExecution?: boolean | undefined;
1660
- mavenPhase?: string | undefined;
1661
- } | undefined;
1662
- integration?: {
1663
- suffix?: string | undefined;
1664
- location?: string | undefined;
1665
- mavenPhase?: string | undefined;
1666
- mavenPlugin?: string | undefined;
1667
- useTestcontainers?: boolean | undefined;
1668
- } | undefined;
1669
- e2e?: {
1670
- suffix?: string | undefined;
1671
- location?: string | undefined;
1672
- } | undefined;
1673
- architecture?: {
1674
- recommended?: boolean | undefined;
1675
- location?: string | undefined;
1676
- tool?: string | undefined;
1677
- } | undefined;
1678
- }>>;
471
+ }, z.core.$strip>>;
472
+ }, z.core.$strip>>;
1679
473
  patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1680
474
  testcontainers: z.ZodOptional<z.ZodObject<{
1681
475
  enabled: z.ZodDefault<z.ZodBoolean>;
1682
- containers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1683
- }, "strip", z.ZodTypeAny, {
1684
- enabled: boolean;
1685
- containers?: string[] | undefined;
1686
- }, {
1687
- enabled?: boolean | undefined;
1688
- containers?: string[] | undefined;
1689
- }>>;
1690
- }, "strip", z.ZodTypeAny, {
1691
- framework: string;
1692
- assertionLibrary: string;
1693
- mockingLibrary: string;
1694
- patterns?: Record<string, boolean> | undefined;
1695
- types?: {
1696
- unit?: {
1697
- suffix: string;
1698
- location?: string | undefined;
1699
- coverage?: number | undefined;
1700
- fastExecution?: boolean | undefined;
1701
- mavenPhase?: string | undefined;
1702
- } | undefined;
1703
- integration?: {
1704
- suffix: string;
1705
- location?: string | undefined;
1706
- mavenPhase?: string | undefined;
1707
- mavenPlugin?: string | undefined;
1708
- useTestcontainers?: boolean | undefined;
1709
- } | undefined;
1710
- e2e?: {
1711
- suffix?: string | undefined;
1712
- location?: string | undefined;
1713
- } | undefined;
1714
- architecture?: {
1715
- recommended: boolean;
1716
- tool: string;
1717
- location?: string | undefined;
1718
- } | undefined;
1719
- } | undefined;
1720
- testcontainers?: {
1721
- enabled: boolean;
1722
- containers?: string[] | undefined;
1723
- } | undefined;
1724
- }, {
1725
- patterns?: Record<string, boolean> | undefined;
1726
- framework?: string | undefined;
1727
- assertionLibrary?: string | undefined;
1728
- mockingLibrary?: string | undefined;
1729
- types?: {
1730
- unit?: {
1731
- suffix?: string | undefined;
1732
- location?: string | undefined;
1733
- coverage?: number | undefined;
1734
- fastExecution?: boolean | undefined;
1735
- mavenPhase?: string | undefined;
1736
- } | undefined;
1737
- integration?: {
1738
- suffix?: string | undefined;
1739
- location?: string | undefined;
1740
- mavenPhase?: string | undefined;
1741
- mavenPlugin?: string | undefined;
1742
- useTestcontainers?: boolean | undefined;
1743
- } | undefined;
1744
- e2e?: {
1745
- suffix?: string | undefined;
1746
- location?: string | undefined;
1747
- } | undefined;
1748
- architecture?: {
1749
- recommended?: boolean | undefined;
1750
- location?: string | undefined;
1751
- tool?: string | undefined;
1752
- } | undefined;
1753
- } | undefined;
1754
- testcontainers?: {
1755
- enabled?: boolean | undefined;
1756
- containers?: string[] | undefined;
1757
- } | undefined;
1758
- }>>;
476
+ containers: z.ZodOptional<z.ZodArray<z.ZodString>>;
477
+ }, z.core.$strip>>;
478
+ }, z.core.$strip>>;
1759
479
  httpClients: z.ZodOptional<z.ZodObject<{
1760
480
  simple: z.ZodOptional<z.ZodObject<{
1761
481
  tool: z.ZodDefault<z.ZodString>;
1762
482
  description: z.ZodOptional<z.ZodString>;
1763
- useWhen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
483
+ useWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
1764
484
  example: z.ZodOptional<z.ZodString>;
1765
- }, "strip", z.ZodTypeAny, {
1766
- tool: string;
1767
- description?: string | undefined;
1768
- useWhen?: string[] | undefined;
1769
- example?: string | undefined;
1770
- }, {
1771
- description?: string | undefined;
1772
- tool?: string | undefined;
1773
- useWhen?: string[] | undefined;
1774
- example?: string | undefined;
1775
- }>>;
485
+ }, z.core.$strip>>;
1776
486
  complex: z.ZodOptional<z.ZodObject<{
1777
487
  tool: z.ZodDefault<z.ZodString>;
1778
488
  description: z.ZodOptional<z.ZodString>;
1779
- useWhen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
489
+ useWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
1780
490
  example: z.ZodOptional<z.ZodString>;
1781
- }, "strip", z.ZodTypeAny, {
1782
- tool: string;
1783
- description?: string | undefined;
1784
- useWhen?: string[] | undefined;
1785
- example?: string | undefined;
1786
- }, {
1787
- description?: string | undefined;
1788
- tool?: string | undefined;
1789
- useWhen?: string[] | undefined;
1790
- example?: string | undefined;
1791
- }>>;
1792
- }, "strip", z.ZodTypeAny, {
1793
- simple?: {
1794
- tool: string;
1795
- description?: string | undefined;
1796
- useWhen?: string[] | undefined;
1797
- example?: string | undefined;
1798
- } | undefined;
1799
- complex?: {
1800
- tool: string;
1801
- description?: string | undefined;
1802
- useWhen?: string[] | undefined;
1803
- example?: string | undefined;
1804
- } | undefined;
1805
- }, {
1806
- simple?: {
1807
- description?: string | undefined;
1808
- tool?: string | undefined;
1809
- useWhen?: string[] | undefined;
1810
- example?: string | undefined;
1811
- } | undefined;
1812
- complex?: {
1813
- description?: string | undefined;
1814
- tool?: string | undefined;
1815
- useWhen?: string[] | undefined;
1816
- example?: string | undefined;
1817
- } | undefined;
1818
- }>>;
491
+ }, z.core.$strip>>;
492
+ }, z.core.$strip>>;
1819
493
  observability: z.ZodOptional<z.ZodObject<{
1820
494
  enabled: z.ZodDefault<z.ZodBoolean>;
1821
495
  logging: z.ZodOptional<z.ZodObject<{
@@ -1823,843 +497,93 @@ export declare const ProfileSchema: z.ZodObject<{
1823
497
  format: z.ZodOptional<z.ZodString>;
1824
498
  structuredLogging: z.ZodOptional<z.ZodBoolean>;
1825
499
  correlationId: z.ZodOptional<z.ZodBoolean>;
1826
- mdc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
500
+ mdc: z.ZodOptional<z.ZodArray<z.ZodString>>;
1827
501
  levels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1828
- avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1829
- }, "strip", z.ZodTypeAny, {
1830
- framework?: string | undefined;
1831
- format?: string | undefined;
1832
- structuredLogging?: boolean | undefined;
1833
- correlationId?: boolean | undefined;
1834
- mdc?: string[] | undefined;
1835
- levels?: Record<string, string> | undefined;
1836
- avoid?: string[] | undefined;
1837
- }, {
1838
- framework?: string | undefined;
1839
- format?: string | undefined;
1840
- structuredLogging?: boolean | undefined;
1841
- correlationId?: boolean | undefined;
1842
- mdc?: string[] | undefined;
1843
- levels?: Record<string, string> | undefined;
1844
- avoid?: string[] | undefined;
1845
- }>>;
502
+ avoid: z.ZodOptional<z.ZodArray<z.ZodString>>;
503
+ }, z.core.$strip>>;
1846
504
  metrics: z.ZodOptional<z.ZodObject<{
1847
505
  framework: z.ZodOptional<z.ZodString>;
1848
506
  registry: z.ZodOptional<z.ZodString>;
1849
507
  customMetrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
1850
508
  type: z.ZodString;
1851
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1852
- }, "strip", z.ZodTypeAny, {
1853
- type: string;
1854
- examples?: string[] | undefined;
1855
- }, {
1856
- type: string;
1857
- examples?: string[] | undefined;
1858
- }>, "many">>;
509
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
510
+ }, z.core.$strip>>>;
1859
511
  naming: z.ZodOptional<z.ZodString>;
1860
- }, "strip", z.ZodTypeAny, {
1861
- framework?: string | undefined;
1862
- registry?: string | undefined;
1863
- customMetrics?: {
1864
- type: string;
1865
- examples?: string[] | undefined;
1866
- }[] | undefined;
1867
- naming?: string | undefined;
1868
- }, {
1869
- framework?: string | undefined;
1870
- registry?: string | undefined;
1871
- customMetrics?: {
1872
- type: string;
1873
- examples?: string[] | undefined;
1874
- }[] | undefined;
1875
- naming?: string | undefined;
1876
- }>>;
512
+ }, z.core.$strip>>;
1877
513
  tracing: z.ZodOptional<z.ZodObject<{
1878
514
  framework: z.ZodOptional<z.ZodString>;
1879
515
  propagation: z.ZodOptional<z.ZodString>;
1880
516
  samplingRate: z.ZodOptional<z.ZodNumber>;
1881
- exporters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1882
- spanAttributes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1883
- }, "strip", z.ZodTypeAny, {
1884
- framework?: string | undefined;
1885
- propagation?: string | undefined;
1886
- samplingRate?: number | undefined;
1887
- exporters?: string[] | undefined;
1888
- spanAttributes?: string[] | undefined;
1889
- }, {
1890
- framework?: string | undefined;
1891
- propagation?: string | undefined;
1892
- samplingRate?: number | undefined;
1893
- exporters?: string[] | undefined;
1894
- spanAttributes?: string[] | undefined;
1895
- }>>;
517
+ exporters: z.ZodOptional<z.ZodArray<z.ZodString>>;
518
+ spanAttributes: z.ZodOptional<z.ZodArray<z.ZodString>>;
519
+ }, z.core.$strip>>;
1896
520
  healthChecks: z.ZodOptional<z.ZodObject<{
1897
- actuatorEndpoints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
521
+ actuatorEndpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
1898
522
  customHealthIndicators: z.ZodOptional<z.ZodBoolean>;
1899
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1900
- }, "strip", z.ZodTypeAny, {
1901
- examples?: string[] | undefined;
1902
- actuatorEndpoints?: string[] | undefined;
1903
- customHealthIndicators?: boolean | undefined;
1904
- }, {
1905
- examples?: string[] | undefined;
1906
- actuatorEndpoints?: string[] | undefined;
1907
- customHealthIndicators?: boolean | undefined;
1908
- }>>;
1909
- }, "strip", z.ZodTypeAny, {
1910
- enabled: boolean;
1911
- logging?: {
1912
- framework?: string | undefined;
1913
- format?: string | undefined;
1914
- structuredLogging?: boolean | undefined;
1915
- correlationId?: boolean | undefined;
1916
- mdc?: string[] | undefined;
1917
- levels?: Record<string, string> | undefined;
1918
- avoid?: string[] | undefined;
1919
- } | undefined;
1920
- metrics?: {
1921
- framework?: string | undefined;
1922
- registry?: string | undefined;
1923
- customMetrics?: {
1924
- type: string;
1925
- examples?: string[] | undefined;
1926
- }[] | undefined;
1927
- naming?: string | undefined;
1928
- } | undefined;
1929
- tracing?: {
1930
- framework?: string | undefined;
1931
- propagation?: string | undefined;
1932
- samplingRate?: number | undefined;
1933
- exporters?: string[] | undefined;
1934
- spanAttributes?: string[] | undefined;
1935
- } | undefined;
1936
- healthChecks?: {
1937
- examples?: string[] | undefined;
1938
- actuatorEndpoints?: string[] | undefined;
1939
- customHealthIndicators?: boolean | undefined;
1940
- } | undefined;
1941
- }, {
1942
- enabled?: boolean | undefined;
1943
- logging?: {
1944
- framework?: string | undefined;
1945
- format?: string | undefined;
1946
- structuredLogging?: boolean | undefined;
1947
- correlationId?: boolean | undefined;
1948
- mdc?: string[] | undefined;
1949
- levels?: Record<string, string> | undefined;
1950
- avoid?: string[] | undefined;
1951
- } | undefined;
1952
- metrics?: {
1953
- framework?: string | undefined;
1954
- registry?: string | undefined;
1955
- customMetrics?: {
1956
- type: string;
1957
- examples?: string[] | undefined;
1958
- }[] | undefined;
1959
- naming?: string | undefined;
1960
- } | undefined;
1961
- tracing?: {
1962
- framework?: string | undefined;
1963
- propagation?: string | undefined;
1964
- samplingRate?: number | undefined;
1965
- exporters?: string[] | undefined;
1966
- spanAttributes?: string[] | undefined;
1967
- } | undefined;
1968
- healthChecks?: {
1969
- examples?: string[] | undefined;
1970
- actuatorEndpoints?: string[] | undefined;
1971
- customHealthIndicators?: boolean | undefined;
1972
- } | undefined;
1973
- }>>;
523
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
524
+ }, z.core.$strip>>;
525
+ }, z.core.$strip>>;
1974
526
  apiDocumentation: z.ZodOptional<z.ZodObject<{
1975
527
  enabled: z.ZodDefault<z.ZodBoolean>;
1976
528
  tool: z.ZodDefault<z.ZodString>;
1977
529
  version: z.ZodOptional<z.ZodString>;
1978
- requirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
530
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
1979
531
  annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1980
- output: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1981
- }, "strip", z.ZodTypeAny, {
1982
- enabled: boolean;
1983
- tool: string;
1984
- version?: string | undefined;
1985
- requirements?: string[] | undefined;
1986
- annotations?: Record<string, string> | undefined;
1987
- output?: string[] | undefined;
1988
- }, {
1989
- enabled?: boolean | undefined;
1990
- tool?: string | undefined;
1991
- version?: string | undefined;
1992
- requirements?: string[] | undefined;
1993
- annotations?: Record<string, string> | undefined;
1994
- output?: string[] | undefined;
1995
- }>>;
532
+ output: z.ZodOptional<z.ZodArray<z.ZodString>>;
533
+ }, z.core.$strip>>;
1996
534
  security: z.ZodOptional<z.ZodObject<{
1997
535
  authentication: z.ZodOptional<z.ZodObject<{
1998
536
  method: z.ZodOptional<z.ZodString>;
1999
537
  storage: z.ZodOptional<z.ZodString>;
2000
- }, "strip", z.ZodTypeAny, {
2001
- method?: string | undefined;
2002
- storage?: string | undefined;
2003
- }, {
2004
- method?: string | undefined;
2005
- storage?: string | undefined;
2006
- }>>;
538
+ }, z.core.$strip>>;
2007
539
  authorization: z.ZodOptional<z.ZodObject<{
2008
540
  framework: z.ZodOptional<z.ZodString>;
2009
541
  method: z.ZodOptional<z.ZodString>;
2010
- }, "strip", z.ZodTypeAny, {
2011
- framework?: string | undefined;
2012
- method?: string | undefined;
2013
- }, {
2014
- framework?: string | undefined;
2015
- method?: string | undefined;
2016
- }>>;
2017
- practices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2018
- }, "strip", z.ZodTypeAny, {
2019
- authentication?: {
2020
- method?: string | undefined;
2021
- storage?: string | undefined;
2022
- } | undefined;
2023
- authorization?: {
2024
- framework?: string | undefined;
2025
- method?: string | undefined;
2026
- } | undefined;
2027
- practices?: string[] | undefined;
2028
- }, {
2029
- authentication?: {
2030
- method?: string | undefined;
2031
- storage?: string | undefined;
2032
- } | undefined;
2033
- authorization?: {
2034
- framework?: string | undefined;
2035
- method?: string | undefined;
2036
- } | undefined;
2037
- practices?: string[] | undefined;
2038
- }>>;
542
+ }, z.core.$strip>>;
543
+ practices: z.ZodOptional<z.ZodArray<z.ZodString>>;
544
+ }, z.core.$strip>>;
2039
545
  errorHandling: z.ZodOptional<z.ZodObject<{
2040
546
  format: z.ZodDefault<z.ZodString>;
2041
547
  globalHandler: z.ZodOptional<z.ZodString>;
2042
- structure: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
548
+ structure: z.ZodOptional<z.ZodArray<z.ZodString>>;
2043
549
  customExceptions: z.ZodOptional<z.ZodObject<{
2044
- domain: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2045
- application: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2046
- }, "strip", z.ZodTypeAny, {
2047
- domain?: string[] | undefined;
2048
- application?: string[] | undefined;
2049
- }, {
2050
- domain?: string[] | undefined;
2051
- application?: string[] | undefined;
2052
- }>>;
2053
- }, "strip", z.ZodTypeAny, {
2054
- format: string;
2055
- globalHandler?: string | undefined;
2056
- structure?: string[] | undefined;
2057
- customExceptions?: {
2058
- domain?: string[] | undefined;
2059
- application?: string[] | undefined;
2060
- } | undefined;
2061
- }, {
2062
- format?: string | undefined;
2063
- globalHandler?: string | undefined;
2064
- structure?: string[] | undefined;
2065
- customExceptions?: {
2066
- domain?: string[] | undefined;
2067
- application?: string[] | undefined;
2068
- } | undefined;
2069
- }>>;
550
+ domain: z.ZodOptional<z.ZodArray<z.ZodString>>;
551
+ application: z.ZodOptional<z.ZodArray<z.ZodString>>;
552
+ }, z.core.$strip>>;
553
+ }, z.core.$strip>>;
2070
554
  database: z.ZodOptional<z.ZodObject<{
2071
555
  migrations: z.ZodOptional<z.ZodObject<{
2072
556
  tool: z.ZodDefault<z.ZodString>;
2073
557
  location: z.ZodOptional<z.ZodString>;
2074
558
  naming: z.ZodOptional<z.ZodString>;
2075
- }, "strip", z.ZodTypeAny, {
2076
- tool: string;
2077
- location?: string | undefined;
2078
- naming?: string | undefined;
2079
- }, {
2080
- location?: string | undefined;
2081
- tool?: string | undefined;
2082
- naming?: string | undefined;
2083
- }>>;
559
+ }, z.core.$strip>>;
2084
560
  auditing: z.ZodOptional<z.ZodObject<{
2085
561
  enabled: z.ZodDefault<z.ZodBoolean>;
2086
- fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2087
- }, "strip", z.ZodTypeAny, {
2088
- enabled: boolean;
2089
- fields?: string[] | undefined;
2090
- }, {
2091
- enabled?: boolean | undefined;
2092
- fields?: string[] | undefined;
2093
- }>>;
562
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
563
+ }, z.core.$strip>>;
2094
564
  mapping: z.ZodOptional<z.ZodObject<{
2095
565
  tool: z.ZodOptional<z.ZodString>;
2096
566
  nullHandling: z.ZodOptional<z.ZodString>;
2097
- }, "strip", z.ZodTypeAny, {
2098
- tool?: string | undefined;
2099
- nullHandling?: string | undefined;
2100
- }, {
2101
- tool?: string | undefined;
2102
- nullHandling?: string | undefined;
2103
- }>>;
567
+ }, z.core.$strip>>;
2104
568
  softDelete: z.ZodOptional<z.ZodObject<{
2105
569
  recommended: z.ZodOptional<z.ZodBoolean>;
2106
570
  field: z.ZodOptional<z.ZodString>;
2107
- }, "strip", z.ZodTypeAny, {
2108
- recommended?: boolean | undefined;
2109
- field?: string | undefined;
2110
- }, {
2111
- recommended?: boolean | undefined;
2112
- field?: string | undefined;
2113
- }>>;
2114
- }, "strip", z.ZodTypeAny, {
2115
- migrations?: {
2116
- tool: string;
2117
- location?: string | undefined;
2118
- naming?: string | undefined;
2119
- } | undefined;
2120
- auditing?: {
2121
- enabled: boolean;
2122
- fields?: string[] | undefined;
2123
- } | undefined;
2124
- mapping?: {
2125
- tool?: string | undefined;
2126
- nullHandling?: string | undefined;
2127
- } | undefined;
2128
- softDelete?: {
2129
- recommended?: boolean | undefined;
2130
- field?: string | undefined;
2131
- } | undefined;
2132
- }, {
2133
- migrations?: {
2134
- location?: string | undefined;
2135
- tool?: string | undefined;
2136
- naming?: string | undefined;
2137
- } | undefined;
2138
- auditing?: {
2139
- enabled?: boolean | undefined;
2140
- fields?: string[] | undefined;
2141
- } | undefined;
2142
- mapping?: {
2143
- tool?: string | undefined;
2144
- nullHandling?: string | undefined;
2145
- } | undefined;
2146
- softDelete?: {
2147
- recommended?: boolean | undefined;
2148
- field?: string | undefined;
2149
- } | undefined;
2150
- }>>;
571
+ }, z.core.$strip>>;
572
+ }, z.core.$strip>>;
2151
573
  mapping: z.ZodOptional<z.ZodObject<{
2152
574
  tool: z.ZodDefault<z.ZodString>;
2153
575
  componentModel: z.ZodOptional<z.ZodString>;
2154
576
  nullValueHandling: z.ZodOptional<z.ZodString>;
2155
- patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
577
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2156
578
  example: z.ZodOptional<z.ZodString>;
2157
- }, "strip", z.ZodTypeAny, {
2158
- tool: string;
2159
- patterns?: string[] | undefined;
2160
- example?: string | undefined;
2161
- componentModel?: string | undefined;
2162
- nullValueHandling?: string | undefined;
2163
- }, {
2164
- patterns?: string[] | undefined;
2165
- tool?: string | undefined;
2166
- example?: string | undefined;
2167
- componentModel?: string | undefined;
2168
- nullValueHandling?: string | undefined;
2169
- }>>;
579
+ }, z.core.$strip>>;
2170
580
  technologies: z.ZodOptional<z.ZodArray<z.ZodObject<{
2171
581
  name: z.ZodString;
2172
582
  version: z.ZodOptional<z.ZodString>;
2173
583
  tool: z.ZodOptional<z.ZodString>;
2174
584
  specificRules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2175
- }, "strip", z.ZodTypeAny, {
2176
- name: string;
2177
- tool?: string | undefined;
2178
- version?: string | undefined;
2179
- specificRules?: Record<string, unknown> | undefined;
2180
- }, {
2181
- name: string;
2182
- tool?: string | undefined;
2183
- version?: string | undefined;
2184
- specificRules?: Record<string, unknown> | undefined;
2185
- }>, "many">>;
2186
- }, "strip", z.ZodTypeAny, {
2187
- name: string;
2188
- description?: string | undefined;
2189
- testing?: {
2190
- framework: string;
2191
- assertionLibrary: string;
2192
- mockingLibrary: string;
2193
- patterns?: Record<string, boolean> | undefined;
2194
- types?: {
2195
- unit?: {
2196
- suffix: string;
2197
- location?: string | undefined;
2198
- coverage?: number | undefined;
2199
- fastExecution?: boolean | undefined;
2200
- mavenPhase?: string | undefined;
2201
- } | undefined;
2202
- integration?: {
2203
- suffix: string;
2204
- location?: string | undefined;
2205
- mavenPhase?: string | undefined;
2206
- mavenPlugin?: string | undefined;
2207
- useTestcontainers?: boolean | undefined;
2208
- } | undefined;
2209
- e2e?: {
2210
- suffix?: string | undefined;
2211
- location?: string | undefined;
2212
- } | undefined;
2213
- architecture?: {
2214
- recommended: boolean;
2215
- tool: string;
2216
- location?: string | undefined;
2217
- } | undefined;
2218
- } | undefined;
2219
- testcontainers?: {
2220
- enabled: boolean;
2221
- containers?: string[] | undefined;
2222
- } | undefined;
2223
- } | undefined;
2224
- architecture?: {
2225
- type: "hexagonal" | "clean" | "onion" | "layered" | "microservices" | "modular-monolith" | "feature-based";
2226
- enforceLayerDependencies: boolean;
2227
- layers?: {
2228
- name: string;
2229
- description: string;
2230
- allowedDependencies: string[];
2231
- packages?: string[] | undefined;
2232
- }[] | undefined;
2233
- archUnit?: {
2234
- enabled: boolean;
2235
- recommended: boolean;
2236
- rules?: string[] | undefined;
2237
- } | undefined;
2238
- } | undefined;
2239
- naming?: z.objectOutputType<{
2240
- general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2241
- suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2242
- testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2243
- }, z.ZodTypeAny, "passthrough"> | undefined;
2244
- mapping?: {
2245
- tool: string;
2246
- patterns?: string[] | undefined;
2247
- example?: string | undefined;
2248
- componentModel?: string | undefined;
2249
- nullValueHandling?: string | undefined;
2250
- } | undefined;
2251
- ddd?: {
2252
- enabled: boolean;
2253
- ubiquitousLanguageEnforced: boolean;
2254
- patterns?: {
2255
- aggregates: boolean;
2256
- entities: boolean;
2257
- valueObjects: boolean;
2258
- domainEvents: boolean;
2259
- repositories: boolean;
2260
- domainServices: boolean;
2261
- factories: boolean;
2262
- specifications: boolean;
2263
- } | undefined;
2264
- valueObjectGuidelines?: {
2265
- useRecords: boolean;
2266
- immutable: boolean;
2267
- selfValidating: boolean;
2268
- examples?: string[] | undefined;
2269
- } | undefined;
2270
- aggregateGuidelines?: {
2271
- singleEntryPoint: boolean;
2272
- protectInvariants: boolean;
2273
- smallAggregates: boolean;
2274
- referenceByIdentity: boolean;
2275
- } | undefined;
2276
- } | undefined;
2277
- cqrs?: {
2278
- enabled: boolean;
2279
- separation: "logical" | "physical";
2280
- patterns?: {
2281
- commands?: {
2282
- suffix: string;
2283
- handler: string;
2284
- examples?: string[] | undefined;
2285
- } | undefined;
2286
- queries?: {
2287
- suffix: string;
2288
- handler: string;
2289
- examples?: string[] | undefined;
2290
- } | undefined;
2291
- } | undefined;
2292
- } | undefined;
2293
- eventDriven?: {
2294
- enabled: boolean;
2295
- approach: "domain-events" | "event-sourcing";
2296
- patterns?: {
2297
- domainEvents?: {
2298
- suffix: string;
2299
- pastTense: boolean;
2300
- examples?: string[] | undefined;
2301
- } | undefined;
2302
- eventPublishing?: {
2303
- interface: string;
2304
- async: boolean;
2305
- } | undefined;
2306
- messaging?: {
2307
- broker: "kafka" | "rabbitmq" | "sqs";
2308
- examples?: string[] | undefined;
2309
- topicNaming?: string | undefined;
2310
- } | undefined;
2311
- } | undefined;
2312
- } | undefined;
2313
- codeQuality?: {
2314
- maxMethodLines: number;
2315
- maxClassLines: number;
2316
- maxFileLines: number;
2317
- maxMethodParameters: number;
2318
- maxCyclomaticComplexity: number;
2319
- requireDocumentation: boolean;
2320
- requireTests: boolean;
2321
- minimumTestCoverage: number;
2322
- principles?: string[] | undefined;
2323
- } | undefined;
2324
- httpClients?: {
2325
- simple?: {
2326
- tool: string;
2327
- description?: string | undefined;
2328
- useWhen?: string[] | undefined;
2329
- example?: string | undefined;
2330
- } | undefined;
2331
- complex?: {
2332
- tool: string;
2333
- description?: string | undefined;
2334
- useWhen?: string[] | undefined;
2335
- example?: string | undefined;
2336
- } | undefined;
2337
- } | undefined;
2338
- observability?: {
2339
- enabled: boolean;
2340
- logging?: {
2341
- framework?: string | undefined;
2342
- format?: string | undefined;
2343
- structuredLogging?: boolean | undefined;
2344
- correlationId?: boolean | undefined;
2345
- mdc?: string[] | undefined;
2346
- levels?: Record<string, string> | undefined;
2347
- avoid?: string[] | undefined;
2348
- } | undefined;
2349
- metrics?: {
2350
- framework?: string | undefined;
2351
- registry?: string | undefined;
2352
- customMetrics?: {
2353
- type: string;
2354
- examples?: string[] | undefined;
2355
- }[] | undefined;
2356
- naming?: string | undefined;
2357
- } | undefined;
2358
- tracing?: {
2359
- framework?: string | undefined;
2360
- propagation?: string | undefined;
2361
- samplingRate?: number | undefined;
2362
- exporters?: string[] | undefined;
2363
- spanAttributes?: string[] | undefined;
2364
- } | undefined;
2365
- healthChecks?: {
2366
- examples?: string[] | undefined;
2367
- actuatorEndpoints?: string[] | undefined;
2368
- customHealthIndicators?: boolean | undefined;
2369
- } | undefined;
2370
- } | undefined;
2371
- apiDocumentation?: {
2372
- enabled: boolean;
2373
- tool: string;
2374
- version?: string | undefined;
2375
- requirements?: string[] | undefined;
2376
- annotations?: Record<string, string> | undefined;
2377
- output?: string[] | undefined;
2378
- } | undefined;
2379
- security?: {
2380
- authentication?: {
2381
- method?: string | undefined;
2382
- storage?: string | undefined;
2383
- } | undefined;
2384
- authorization?: {
2385
- framework?: string | undefined;
2386
- method?: string | undefined;
2387
- } | undefined;
2388
- practices?: string[] | undefined;
2389
- } | undefined;
2390
- errorHandling?: {
2391
- format: string;
2392
- globalHandler?: string | undefined;
2393
- structure?: string[] | undefined;
2394
- customExceptions?: {
2395
- domain?: string[] | undefined;
2396
- application?: string[] | undefined;
2397
- } | undefined;
2398
- } | undefined;
2399
- database?: {
2400
- migrations?: {
2401
- tool: string;
2402
- location?: string | undefined;
2403
- naming?: string | undefined;
2404
- } | undefined;
2405
- auditing?: {
2406
- enabled: boolean;
2407
- fields?: string[] | undefined;
2408
- } | undefined;
2409
- mapping?: {
2410
- tool?: string | undefined;
2411
- nullHandling?: string | undefined;
2412
- } | undefined;
2413
- softDelete?: {
2414
- recommended?: boolean | undefined;
2415
- field?: string | undefined;
2416
- } | undefined;
2417
- } | undefined;
2418
- technologies?: {
2419
- name: string;
2420
- tool?: string | undefined;
2421
- version?: string | undefined;
2422
- specificRules?: Record<string, unknown> | undefined;
2423
- }[] | undefined;
2424
- }, {
2425
- name: string;
2426
- description?: string | undefined;
2427
- testing?: {
2428
- patterns?: Record<string, boolean> | undefined;
2429
- framework?: string | undefined;
2430
- assertionLibrary?: string | undefined;
2431
- mockingLibrary?: string | undefined;
2432
- types?: {
2433
- unit?: {
2434
- suffix?: string | undefined;
2435
- location?: string | undefined;
2436
- coverage?: number | undefined;
2437
- fastExecution?: boolean | undefined;
2438
- mavenPhase?: string | undefined;
2439
- } | undefined;
2440
- integration?: {
2441
- suffix?: string | undefined;
2442
- location?: string | undefined;
2443
- mavenPhase?: string | undefined;
2444
- mavenPlugin?: string | undefined;
2445
- useTestcontainers?: boolean | undefined;
2446
- } | undefined;
2447
- e2e?: {
2448
- suffix?: string | undefined;
2449
- location?: string | undefined;
2450
- } | undefined;
2451
- architecture?: {
2452
- recommended?: boolean | undefined;
2453
- location?: string | undefined;
2454
- tool?: string | undefined;
2455
- } | undefined;
2456
- } | undefined;
2457
- testcontainers?: {
2458
- enabled?: boolean | undefined;
2459
- containers?: string[] | undefined;
2460
- } | undefined;
2461
- } | undefined;
2462
- architecture?: {
2463
- type?: "hexagonal" | "clean" | "onion" | "layered" | "microservices" | "modular-monolith" | "feature-based" | undefined;
2464
- enforceLayerDependencies?: boolean | undefined;
2465
- layers?: {
2466
- name: string;
2467
- description: string;
2468
- allowedDependencies?: string[] | undefined;
2469
- packages?: string[] | undefined;
2470
- }[] | undefined;
2471
- archUnit?: {
2472
- enabled?: boolean | undefined;
2473
- recommended?: boolean | undefined;
2474
- rules?: string[] | undefined;
2475
- } | undefined;
2476
- } | undefined;
2477
- naming?: z.objectInputType<{
2478
- general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2479
- suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2480
- testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2481
- }, z.ZodTypeAny, "passthrough"> | undefined;
2482
- mapping?: {
2483
- patterns?: string[] | undefined;
2484
- tool?: string | undefined;
2485
- example?: string | undefined;
2486
- componentModel?: string | undefined;
2487
- nullValueHandling?: string | undefined;
2488
- } | undefined;
2489
- ddd?: {
2490
- enabled?: boolean | undefined;
2491
- ubiquitousLanguageEnforced?: boolean | undefined;
2492
- patterns?: {
2493
- aggregates?: boolean | undefined;
2494
- entities?: boolean | undefined;
2495
- valueObjects?: boolean | undefined;
2496
- domainEvents?: boolean | undefined;
2497
- repositories?: boolean | undefined;
2498
- domainServices?: boolean | undefined;
2499
- factories?: boolean | undefined;
2500
- specifications?: boolean | undefined;
2501
- } | undefined;
2502
- valueObjectGuidelines?: {
2503
- useRecords?: boolean | undefined;
2504
- immutable?: boolean | undefined;
2505
- selfValidating?: boolean | undefined;
2506
- examples?: string[] | undefined;
2507
- } | undefined;
2508
- aggregateGuidelines?: {
2509
- singleEntryPoint?: boolean | undefined;
2510
- protectInvariants?: boolean | undefined;
2511
- smallAggregates?: boolean | undefined;
2512
- referenceByIdentity?: boolean | undefined;
2513
- } | undefined;
2514
- } | undefined;
2515
- cqrs?: {
2516
- enabled?: boolean | undefined;
2517
- patterns?: {
2518
- commands?: {
2519
- examples?: string[] | undefined;
2520
- suffix?: string | undefined;
2521
- handler?: string | undefined;
2522
- } | undefined;
2523
- queries?: {
2524
- examples?: string[] | undefined;
2525
- suffix?: string | undefined;
2526
- handler?: string | undefined;
2527
- } | undefined;
2528
- } | undefined;
2529
- separation?: "logical" | "physical" | undefined;
2530
- } | undefined;
2531
- eventDriven?: {
2532
- enabled?: boolean | undefined;
2533
- patterns?: {
2534
- domainEvents?: {
2535
- examples?: string[] | undefined;
2536
- suffix?: string | undefined;
2537
- pastTense?: boolean | undefined;
2538
- } | undefined;
2539
- eventPublishing?: {
2540
- interface?: string | undefined;
2541
- async?: boolean | undefined;
2542
- } | undefined;
2543
- messaging?: {
2544
- examples?: string[] | undefined;
2545
- broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
2546
- topicNaming?: string | undefined;
2547
- } | undefined;
2548
- } | undefined;
2549
- approach?: "domain-events" | "event-sourcing" | undefined;
2550
- } | undefined;
2551
- codeQuality?: {
2552
- maxMethodLines?: number | undefined;
2553
- maxClassLines?: number | undefined;
2554
- maxFileLines?: number | undefined;
2555
- maxMethodParameters?: number | undefined;
2556
- maxCyclomaticComplexity?: number | undefined;
2557
- requireDocumentation?: boolean | undefined;
2558
- requireTests?: boolean | undefined;
2559
- minimumTestCoverage?: number | undefined;
2560
- principles?: string[] | undefined;
2561
- } | undefined;
2562
- httpClients?: {
2563
- simple?: {
2564
- description?: string | undefined;
2565
- tool?: string | undefined;
2566
- useWhen?: string[] | undefined;
2567
- example?: string | undefined;
2568
- } | undefined;
2569
- complex?: {
2570
- description?: string | undefined;
2571
- tool?: string | undefined;
2572
- useWhen?: string[] | undefined;
2573
- example?: string | undefined;
2574
- } | undefined;
2575
- } | undefined;
2576
- observability?: {
2577
- enabled?: boolean | undefined;
2578
- logging?: {
2579
- framework?: string | undefined;
2580
- format?: string | undefined;
2581
- structuredLogging?: boolean | undefined;
2582
- correlationId?: boolean | undefined;
2583
- mdc?: string[] | undefined;
2584
- levels?: Record<string, string> | undefined;
2585
- avoid?: string[] | undefined;
2586
- } | undefined;
2587
- metrics?: {
2588
- framework?: string | undefined;
2589
- registry?: string | undefined;
2590
- customMetrics?: {
2591
- type: string;
2592
- examples?: string[] | undefined;
2593
- }[] | undefined;
2594
- naming?: string | undefined;
2595
- } | undefined;
2596
- tracing?: {
2597
- framework?: string | undefined;
2598
- propagation?: string | undefined;
2599
- samplingRate?: number | undefined;
2600
- exporters?: string[] | undefined;
2601
- spanAttributes?: string[] | undefined;
2602
- } | undefined;
2603
- healthChecks?: {
2604
- examples?: string[] | undefined;
2605
- actuatorEndpoints?: string[] | undefined;
2606
- customHealthIndicators?: boolean | undefined;
2607
- } | undefined;
2608
- } | undefined;
2609
- apiDocumentation?: {
2610
- enabled?: boolean | undefined;
2611
- tool?: string | undefined;
2612
- version?: string | undefined;
2613
- requirements?: string[] | undefined;
2614
- annotations?: Record<string, string> | undefined;
2615
- output?: string[] | undefined;
2616
- } | undefined;
2617
- security?: {
2618
- authentication?: {
2619
- method?: string | undefined;
2620
- storage?: string | undefined;
2621
- } | undefined;
2622
- authorization?: {
2623
- framework?: string | undefined;
2624
- method?: string | undefined;
2625
- } | undefined;
2626
- practices?: string[] | undefined;
2627
- } | undefined;
2628
- errorHandling?: {
2629
- format?: string | undefined;
2630
- globalHandler?: string | undefined;
2631
- structure?: string[] | undefined;
2632
- customExceptions?: {
2633
- domain?: string[] | undefined;
2634
- application?: string[] | undefined;
2635
- } | undefined;
2636
- } | undefined;
2637
- database?: {
2638
- migrations?: {
2639
- location?: string | undefined;
2640
- tool?: string | undefined;
2641
- naming?: string | undefined;
2642
- } | undefined;
2643
- auditing?: {
2644
- enabled?: boolean | undefined;
2645
- fields?: string[] | undefined;
2646
- } | undefined;
2647
- mapping?: {
2648
- tool?: string | undefined;
2649
- nullHandling?: string | undefined;
2650
- } | undefined;
2651
- softDelete?: {
2652
- recommended?: boolean | undefined;
2653
- field?: string | undefined;
2654
- } | undefined;
2655
- } | undefined;
2656
- technologies?: {
2657
- name: string;
2658
- tool?: string | undefined;
2659
- version?: string | undefined;
2660
- specificRules?: Record<string, unknown> | undefined;
2661
- }[] | undefined;
2662
- }>;
585
+ }, z.core.$strip>>>;
586
+ }, z.core.$strip>;
2663
587
  export type Layer = z.infer<typeof LayerSchema>;
2664
588
  export type ArchUnit = z.infer<typeof ArchUnitSchema>;
2665
589
  export type Architecture = z.infer<typeof ArchitectureSchema>;
@@ -2691,27 +615,35 @@ export interface StandardDocument {
2691
615
  /**
2692
616
  * Task types for guardrails system.
2693
617
  */
2694
- export declare const TaskTypeSchema: z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>;
618
+ export declare const TaskTypeSchema: z.ZodEnum<{
619
+ security: "security";
620
+ feature: "feature";
621
+ bugfix: "bugfix";
622
+ refactor: "refactor";
623
+ test: "test";
624
+ documentation: "documentation";
625
+ performance: "performance";
626
+ infrastructure: "infrastructure";
627
+ }>;
2695
628
  export type TaskType = z.infer<typeof TaskTypeSchema>;
2696
629
  /**
2697
630
  * Guardrails - mandatory rules by task type.
2698
631
  */
2699
632
  export declare const GuardrailsSchema: z.ZodObject<{
2700
- taskType: z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>;
2701
- mandatory: z.ZodArray<z.ZodString, "many">;
2702
- recommended: z.ZodArray<z.ZodString, "many">;
2703
- avoid: z.ZodArray<z.ZodString, "many">;
2704
- }, "strip", z.ZodTypeAny, {
2705
- recommended: string[];
2706
- avoid: string[];
2707
- taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2708
- mandatory: string[];
2709
- }, {
2710
- recommended: string[];
2711
- avoid: string[];
2712
- taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2713
- mandatory: string[];
2714
- }>;
633
+ taskType: z.ZodEnum<{
634
+ security: "security";
635
+ feature: "feature";
636
+ bugfix: "bugfix";
637
+ refactor: "refactor";
638
+ test: "test";
639
+ documentation: "documentation";
640
+ performance: "performance";
641
+ infrastructure: "infrastructure";
642
+ }>;
643
+ mandatory: z.ZodArray<z.ZodString>;
644
+ recommended: z.ZodArray<z.ZodString>;
645
+ avoid: z.ZodArray<z.ZodString>;
646
+ }, z.core.$strip>;
2715
647
  export type Guardrails = z.infer<typeof GuardrailsSchema>;
2716
648
  /**
2717
649
  * Project configuration schema (.corbat.json).
@@ -2720,99 +652,43 @@ export declare const ProjectConfigSchema: z.ZodObject<{
2720
652
  profile: z.ZodOptional<z.ZodString>;
2721
653
  autoInject: z.ZodDefault<z.ZodBoolean>;
2722
654
  rules: z.ZodOptional<z.ZodObject<{
2723
- always: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2724
- onNewFile: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2725
- onTest: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2726
- onRefactor: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2727
- }, "strip", z.ZodTypeAny, {
2728
- always: string[];
2729
- onNewFile: string[];
2730
- onTest: string[];
2731
- onRefactor: string[];
2732
- }, {
2733
- always?: string[] | undefined;
2734
- onNewFile?: string[] | undefined;
2735
- onTest?: string[] | undefined;
2736
- onRefactor?: string[] | undefined;
2737
- }>>;
655
+ always: z.ZodDefault<z.ZodArray<z.ZodString>>;
656
+ onNewFile: z.ZodDefault<z.ZodArray<z.ZodString>>;
657
+ onTest: z.ZodDefault<z.ZodArray<z.ZodString>>;
658
+ onRefactor: z.ZodDefault<z.ZodArray<z.ZodString>>;
659
+ }, z.core.$strip>>;
2738
660
  overrides: z.ZodOptional<z.ZodObject<{
2739
661
  maxMethodLines: z.ZodOptional<z.ZodNumber>;
2740
662
  maxClassLines: z.ZodOptional<z.ZodNumber>;
2741
663
  maxFileLines: z.ZodOptional<z.ZodNumber>;
2742
664
  minimumTestCoverage: z.ZodOptional<z.ZodNumber>;
2743
- }, "strip", z.ZodTypeAny, {
2744
- maxMethodLines?: number | undefined;
2745
- maxClassLines?: number | undefined;
2746
- maxFileLines?: number | undefined;
2747
- minimumTestCoverage?: number | undefined;
2748
- }, {
2749
- maxMethodLines?: number | undefined;
2750
- maxClassLines?: number | undefined;
2751
- maxFileLines?: number | undefined;
2752
- minimumTestCoverage?: number | undefined;
2753
- }>>;
665
+ }, z.core.$strip>>;
2754
666
  decisions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2755
- guardrails: z.ZodOptional<z.ZodRecord<z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>, z.ZodObject<{
2756
- taskType: z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>;
2757
- mandatory: z.ZodArray<z.ZodString, "many">;
2758
- recommended: z.ZodArray<z.ZodString, "many">;
2759
- avoid: z.ZodArray<z.ZodString, "many">;
2760
- }, "strip", z.ZodTypeAny, {
2761
- recommended: string[];
2762
- avoid: string[];
2763
- taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2764
- mandatory: string[];
2765
- }, {
2766
- recommended: string[];
2767
- avoid: string[];
2768
- taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2769
- mandatory: string[];
2770
- }>>>;
2771
- }, "strip", z.ZodTypeAny, {
2772
- autoInject: boolean;
2773
- rules?: {
2774
- always: string[];
2775
- onNewFile: string[];
2776
- onTest: string[];
2777
- onRefactor: string[];
2778
- } | undefined;
2779
- profile?: string | undefined;
2780
- overrides?: {
2781
- maxMethodLines?: number | undefined;
2782
- maxClassLines?: number | undefined;
2783
- maxFileLines?: number | undefined;
2784
- minimumTestCoverage?: number | undefined;
2785
- } | undefined;
2786
- decisions?: Record<string, string> | undefined;
2787
- guardrails?: Partial<Record<"security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure", {
2788
- recommended: string[];
2789
- avoid: string[];
2790
- taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2791
- mandatory: string[];
2792
- }>> | undefined;
2793
- }, {
2794
- rules?: {
2795
- always?: string[] | undefined;
2796
- onNewFile?: string[] | undefined;
2797
- onTest?: string[] | undefined;
2798
- onRefactor?: string[] | undefined;
2799
- } | undefined;
2800
- profile?: string | undefined;
2801
- autoInject?: boolean | undefined;
2802
- overrides?: {
2803
- maxMethodLines?: number | undefined;
2804
- maxClassLines?: number | undefined;
2805
- maxFileLines?: number | undefined;
2806
- minimumTestCoverage?: number | undefined;
2807
- } | undefined;
2808
- decisions?: Record<string, string> | undefined;
2809
- guardrails?: Partial<Record<"security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure", {
2810
- recommended: string[];
2811
- avoid: string[];
2812
- taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2813
- mandatory: string[];
2814
- }>> | undefined;
2815
- }>;
667
+ guardrails: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
668
+ security: "security";
669
+ feature: "feature";
670
+ bugfix: "bugfix";
671
+ refactor: "refactor";
672
+ test: "test";
673
+ documentation: "documentation";
674
+ performance: "performance";
675
+ infrastructure: "infrastructure";
676
+ }>, z.ZodObject<{
677
+ taskType: z.ZodEnum<{
678
+ security: "security";
679
+ feature: "feature";
680
+ bugfix: "bugfix";
681
+ refactor: "refactor";
682
+ test: "test";
683
+ documentation: "documentation";
684
+ performance: "performance";
685
+ infrastructure: "infrastructure";
686
+ }>;
687
+ mandatory: z.ZodArray<z.ZodString>;
688
+ recommended: z.ZodArray<z.ZodString>;
689
+ avoid: z.ZodArray<z.ZodString>;
690
+ }, z.core.$strip>>>;
691
+ }, z.core.$strip>;
2816
692
  export type ProjectConfig = z.infer<typeof ProjectConfigSchema>;
2817
693
  /**
2818
694
  * Detected project stack.
@@ -2823,184 +699,93 @@ export declare const DetectedStackSchema: z.ZodObject<{
2823
699
  buildTool: z.ZodOptional<z.ZodString>;
2824
700
  testFramework: z.ZodOptional<z.ZodString>;
2825
701
  suggestedProfile: z.ZodString;
2826
- confidence: z.ZodEnum<["high", "medium", "low"]>;
2827
- detectedFiles: z.ZodArray<z.ZodString, "many">;
2828
- }, "strip", z.ZodTypeAny, {
2829
- language: string;
2830
- suggestedProfile: string;
2831
- confidence: "high" | "medium" | "low";
2832
- detectedFiles: string[];
2833
- framework?: string | undefined;
2834
- buildTool?: string | undefined;
2835
- testFramework?: string | undefined;
2836
- }, {
2837
- language: string;
2838
- suggestedProfile: string;
2839
- confidence: "high" | "medium" | "low";
2840
- detectedFiles: string[];
2841
- framework?: string | undefined;
2842
- buildTool?: string | undefined;
2843
- testFramework?: string | undefined;
2844
- }>;
702
+ confidence: z.ZodEnum<{
703
+ high: "high";
704
+ medium: "medium";
705
+ low: "low";
706
+ }>;
707
+ detectedFiles: z.ZodArray<z.ZodString>;
708
+ }, z.core.$strip>;
2845
709
  export type DetectedStack = z.infer<typeof DetectedStackSchema>;
2846
710
  /**
2847
711
  * Technical decision request/response.
2848
712
  */
2849
713
  export declare const TechnicalDecisionSchema: z.ZodObject<{
2850
714
  context: z.ZodString;
2851
- category: z.ZodEnum<["database", "cache", "messaging", "authentication", "api-design", "testing", "deployment", "monitoring", "security", "architecture"]>;
715
+ category: z.ZodEnum<{
716
+ messaging: "messaging";
717
+ testing: "testing";
718
+ architecture: "architecture";
719
+ authentication: "authentication";
720
+ security: "security";
721
+ database: "database";
722
+ cache: "cache";
723
+ "api-design": "api-design";
724
+ deployment: "deployment";
725
+ monitoring: "monitoring";
726
+ }>;
2852
727
  options: z.ZodArray<z.ZodObject<{
2853
728
  name: z.ZodString;
2854
729
  description: z.ZodString;
2855
- pros: z.ZodArray<z.ZodString, "many">;
2856
- cons: z.ZodArray<z.ZodString, "many">;
2857
- useWhen: z.ZodArray<z.ZodString, "many">;
2858
- }, "strip", z.ZodTypeAny, {
2859
- name: string;
2860
- description: string;
2861
- useWhen: string[];
2862
- pros: string[];
2863
- cons: string[];
2864
- }, {
2865
- name: string;
2866
- description: string;
2867
- useWhen: string[];
2868
- pros: string[];
2869
- cons: string[];
2870
- }>, "many">;
730
+ pros: z.ZodArray<z.ZodString>;
731
+ cons: z.ZodArray<z.ZodString>;
732
+ useWhen: z.ZodArray<z.ZodString>;
733
+ }, z.core.$strip>>;
2871
734
  recommendation: z.ZodString;
2872
735
  reasoning: z.ZodString;
2873
736
  implementationGuide: z.ZodOptional<z.ZodString>;
2874
- }, "strip", z.ZodTypeAny, {
2875
- options: {
2876
- name: string;
2877
- description: string;
2878
- useWhen: string[];
2879
- pros: string[];
2880
- cons: string[];
2881
- }[];
2882
- context: string;
2883
- category: "messaging" | "testing" | "architecture" | "authentication" | "security" | "database" | "cache" | "api-design" | "deployment" | "monitoring";
2884
- recommendation: string;
2885
- reasoning: string;
2886
- implementationGuide?: string | undefined;
2887
- }, {
2888
- options: {
2889
- name: string;
2890
- description: string;
2891
- useWhen: string[];
2892
- pros: string[];
2893
- cons: string[];
2894
- }[];
2895
- context: string;
2896
- category: "messaging" | "testing" | "architecture" | "authentication" | "security" | "database" | "cache" | "api-design" | "deployment" | "monitoring";
2897
- recommendation: string;
2898
- reasoning: string;
2899
- implementationGuide?: string | undefined;
2900
- }>;
737
+ }, z.core.$strip>;
2901
738
  export type TechnicalDecision = z.infer<typeof TechnicalDecisionSchema>;
2902
739
  /**
2903
740
  * Full context response for agent mode.
2904
741
  */
2905
742
  export declare const FullContextSchema: z.ZodObject<{
2906
- taskType: z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>;
743
+ taskType: z.ZodEnum<{
744
+ security: "security";
745
+ feature: "feature";
746
+ bugfix: "bugfix";
747
+ refactor: "refactor";
748
+ test: "test";
749
+ documentation: "documentation";
750
+ performance: "performance";
751
+ infrastructure: "infrastructure";
752
+ }>;
2907
753
  detectedStack: z.ZodOptional<z.ZodObject<{
2908
754
  language: z.ZodString;
2909
755
  framework: z.ZodOptional<z.ZodString>;
2910
756
  buildTool: z.ZodOptional<z.ZodString>;
2911
757
  testFramework: z.ZodOptional<z.ZodString>;
2912
758
  suggestedProfile: z.ZodString;
2913
- confidence: z.ZodEnum<["high", "medium", "low"]>;
2914
- detectedFiles: z.ZodArray<z.ZodString, "many">;
2915
- }, "strip", z.ZodTypeAny, {
2916
- language: string;
2917
- suggestedProfile: string;
2918
- confidence: "high" | "medium" | "low";
2919
- detectedFiles: string[];
2920
- framework?: string | undefined;
2921
- buildTool?: string | undefined;
2922
- testFramework?: string | undefined;
2923
- }, {
2924
- language: string;
2925
- suggestedProfile: string;
2926
- confidence: "high" | "medium" | "low";
2927
- detectedFiles: string[];
2928
- framework?: string | undefined;
2929
- buildTool?: string | undefined;
2930
- testFramework?: string | undefined;
2931
- }>>;
759
+ confidence: z.ZodEnum<{
760
+ high: "high";
761
+ medium: "medium";
762
+ low: "low";
763
+ }>;
764
+ detectedFiles: z.ZodArray<z.ZodString>;
765
+ }, z.core.$strip>>;
2932
766
  profile: z.ZodString;
2933
767
  guardrails: z.ZodObject<{
2934
- taskType: z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>;
2935
- mandatory: z.ZodArray<z.ZodString, "many">;
2936
- recommended: z.ZodArray<z.ZodString, "many">;
2937
- avoid: z.ZodArray<z.ZodString, "many">;
2938
- }, "strip", z.ZodTypeAny, {
2939
- recommended: string[];
2940
- avoid: string[];
2941
- taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2942
- mandatory: string[];
2943
- }, {
2944
- recommended: string[];
2945
- avoid: string[];
2946
- taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2947
- mandatory: string[];
2948
- }>;
2949
- projectRules: z.ZodArray<z.ZodString, "many">;
768
+ taskType: z.ZodEnum<{
769
+ security: "security";
770
+ feature: "feature";
771
+ bugfix: "bugfix";
772
+ refactor: "refactor";
773
+ test: "test";
774
+ documentation: "documentation";
775
+ performance: "performance";
776
+ infrastructure: "infrastructure";
777
+ }>;
778
+ mandatory: z.ZodArray<z.ZodString>;
779
+ recommended: z.ZodArray<z.ZodString>;
780
+ avoid: z.ZodArray<z.ZodString>;
781
+ }, z.core.$strip>;
782
+ projectRules: z.ZodArray<z.ZodString>;
2950
783
  architecture: z.ZodString;
2951
784
  namingConventions: z.ZodString;
2952
785
  codeQuality: z.ZodString;
2953
786
  workflow: z.ZodString;
2954
- relevantStandards: z.ZodArray<z.ZodString, "many">;
2955
- }, "strip", z.ZodTypeAny, {
2956
- architecture: string;
2957
- codeQuality: string;
2958
- taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2959
- profile: string;
2960
- guardrails: {
2961
- recommended: string[];
2962
- avoid: string[];
2963
- taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2964
- mandatory: string[];
2965
- };
2966
- projectRules: string[];
2967
- namingConventions: string;
2968
- workflow: string;
2969
- relevantStandards: string[];
2970
- detectedStack?: {
2971
- language: string;
2972
- suggestedProfile: string;
2973
- confidence: "high" | "medium" | "low";
2974
- detectedFiles: string[];
2975
- framework?: string | undefined;
2976
- buildTool?: string | undefined;
2977
- testFramework?: string | undefined;
2978
- } | undefined;
2979
- }, {
2980
- architecture: string;
2981
- codeQuality: string;
2982
- taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2983
- profile: string;
2984
- guardrails: {
2985
- recommended: string[];
2986
- avoid: string[];
2987
- taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2988
- mandatory: string[];
2989
- };
2990
- projectRules: string[];
2991
- namingConventions: string;
2992
- workflow: string;
2993
- relevantStandards: string[];
2994
- detectedStack?: {
2995
- language: string;
2996
- suggestedProfile: string;
2997
- confidence: "high" | "medium" | "low";
2998
- detectedFiles: string[];
2999
- framework?: string | undefined;
3000
- buildTool?: string | undefined;
3001
- testFramework?: string | undefined;
3002
- } | undefined;
3003
- }>;
787
+ relevantStandards: z.ZodArray<z.ZodString>;
788
+ }, z.core.$strip>;
3004
789
  export type FullContext = z.infer<typeof FullContextSchema>;
3005
790
  /**
3006
791
  * Code validation result.
@@ -3009,43 +794,17 @@ export declare const ValidationResultSchema: z.ZodObject<{
3009
794
  isValid: z.ZodBoolean;
3010
795
  score: z.ZodNumber;
3011
796
  issues: z.ZodArray<z.ZodObject<{
3012
- severity: z.ZodEnum<["critical", "warning", "suggestion"]>;
797
+ severity: z.ZodEnum<{
798
+ critical: "critical";
799
+ warning: "warning";
800
+ suggestion: "suggestion";
801
+ }>;
3013
802
  rule: z.ZodString;
3014
803
  message: z.ZodString;
3015
804
  location: z.ZodOptional<z.ZodString>;
3016
- }, "strip", z.ZodTypeAny, {
3017
- message: string;
3018
- severity: "critical" | "warning" | "suggestion";
3019
- rule: string;
3020
- location?: string | undefined;
3021
- }, {
3022
- message: string;
3023
- severity: "critical" | "warning" | "suggestion";
3024
- rule: string;
3025
- location?: string | undefined;
3026
- }>, "many">;
805
+ }, z.core.$strip>>;
3027
806
  summary: z.ZodString;
3028
- }, "strip", z.ZodTypeAny, {
3029
- issues: {
3030
- message: string;
3031
- severity: "critical" | "warning" | "suggestion";
3032
- rule: string;
3033
- location?: string | undefined;
3034
- }[];
3035
- isValid: boolean;
3036
- score: number;
3037
- summary: string;
3038
- }, {
3039
- issues: {
3040
- message: string;
3041
- severity: "critical" | "warning" | "suggestion";
3042
- rule: string;
3043
- location?: string | undefined;
3044
- }[];
3045
- isValid: boolean;
3046
- score: number;
3047
- summary: string;
3048
- }>;
807
+ }, z.core.$strip>;
3049
808
  export type ValidationResult = z.infer<typeof ValidationResultSchema>;
3050
809
  /**
3051
810
  * Default architecture layers for hexagonal.