@keel_flow/schema 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,777 @@
1
+ import { z } from "zod";
2
+ import type { PrincipleRef } from "./principle.js";
3
+ export declare const LayerSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ label: z.ZodString;
6
+ description: z.ZodString;
7
+ color: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ id: string;
10
+ description: string;
11
+ label: string;
12
+ color: string;
13
+ }, {
14
+ id: string;
15
+ description: string;
16
+ label: string;
17
+ color: string;
18
+ }>;
19
+ export type Layer = z.infer<typeof LayerSchema>;
20
+ export declare const ConnectionTypeSchema: z.ZodEnum<["uses", "calls", "reads", "http", "query", "auth", "sends", "protects", "hosts", "deploys", "produces", "triggers", "tool-call", "grounds-on"]>;
21
+ export type ConnectionType = z.infer<typeof ConnectionTypeSchema>;
22
+ export declare const ArchitectureNodeSchema: z.ZodObject<{
23
+ id: z.ZodString;
24
+ label: z.ZodString;
25
+ layer: z.ZodString;
26
+ tech: z.ZodString;
27
+ description: z.ZodString;
28
+ keyFiles: z.ZodArray<z.ZodString, "many">;
29
+ keyFunctionality: z.ZodArray<z.ZodString, "many">;
30
+ fileCount: z.ZodOptional<z.ZodNumber>;
31
+ linesOfCode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
32
+ principles: z.ZodObject<{
33
+ upholds: z.ZodArray<z.ZodObject<{
34
+ id: z.ZodString;
35
+ reason: z.ZodString;
36
+ }, "strip", z.ZodTypeAny, {
37
+ id: string;
38
+ reason: string;
39
+ }, {
40
+ id: string;
41
+ reason: string;
42
+ }>, "many">;
43
+ violates: z.ZodArray<z.ZodObject<{
44
+ id: z.ZodString;
45
+ reason: z.ZodString;
46
+ }, "strip", z.ZodTypeAny, {
47
+ id: string;
48
+ reason: string;
49
+ }, {
50
+ id: string;
51
+ reason: string;
52
+ }>, "many">;
53
+ }, "strip", z.ZodTypeAny, {
54
+ upholds: {
55
+ id: string;
56
+ reason: string;
57
+ }[];
58
+ violates: {
59
+ id: string;
60
+ reason: string;
61
+ }[];
62
+ }, {
63
+ upholds: {
64
+ id: string;
65
+ reason: string;
66
+ }[];
67
+ violates: {
68
+ id: string;
69
+ reason: string;
70
+ }[];
71
+ }>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ id: string;
74
+ description: string;
75
+ label: string;
76
+ layer: string;
77
+ tech: string;
78
+ keyFiles: string[];
79
+ keyFunctionality: string[];
80
+ principles: {
81
+ upholds: {
82
+ id: string;
83
+ reason: string;
84
+ }[];
85
+ violates: {
86
+ id: string;
87
+ reason: string;
88
+ }[];
89
+ };
90
+ fileCount?: number | undefined;
91
+ linesOfCode?: string | number | undefined;
92
+ }, {
93
+ id: string;
94
+ description: string;
95
+ label: string;
96
+ layer: string;
97
+ tech: string;
98
+ keyFiles: string[];
99
+ keyFunctionality: string[];
100
+ principles: {
101
+ upholds: {
102
+ id: string;
103
+ reason: string;
104
+ }[];
105
+ violates: {
106
+ id: string;
107
+ reason: string;
108
+ }[];
109
+ };
110
+ fileCount?: number | undefined;
111
+ linesOfCode?: string | number | undefined;
112
+ }>;
113
+ export type ArchitectureNode = z.infer<typeof ArchitectureNodeSchema>;
114
+ export declare const ConnectionSchema: z.ZodObject<{
115
+ from: z.ZodString;
116
+ to: z.ZodString;
117
+ type: z.ZodEnum<["uses", "calls", "reads", "http", "query", "auth", "sends", "protects", "hosts", "deploys", "produces", "triggers", "tool-call", "grounds-on"]>;
118
+ label: z.ZodOptional<z.ZodString>;
119
+ seam: z.ZodOptional<z.ZodString>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ type: "uses" | "calls" | "reads" | "http" | "query" | "auth" | "sends" | "protects" | "hosts" | "deploys" | "produces" | "triggers" | "tool-call" | "grounds-on";
122
+ from: string;
123
+ to: string;
124
+ label?: string | undefined;
125
+ seam?: string | undefined;
126
+ }, {
127
+ type: "uses" | "calls" | "reads" | "http" | "query" | "auth" | "sends" | "protects" | "hosts" | "deploys" | "produces" | "triggers" | "tool-call" | "grounds-on";
128
+ from: string;
129
+ to: string;
130
+ label?: string | undefined;
131
+ seam?: string | undefined;
132
+ }>;
133
+ export type Connection = z.infer<typeof ConnectionSchema>;
134
+ export declare const BoundedContextSchema: z.ZodObject<{
135
+ id: z.ZodString;
136
+ label: z.ZodString;
137
+ description: z.ZodString;
138
+ nodeIds: z.ZodArray<z.ZodString, "many">;
139
+ }, "strip", z.ZodTypeAny, {
140
+ id: string;
141
+ description: string;
142
+ label: string;
143
+ nodeIds: string[];
144
+ }, {
145
+ id: string;
146
+ description: string;
147
+ label: string;
148
+ nodeIds: string[];
149
+ }>;
150
+ export type BoundedContext = z.infer<typeof BoundedContextSchema>;
151
+ export declare const ArchitectureMapSchema: z.ZodObject<{
152
+ schemaVersion: z.ZodString;
153
+ layers: z.ZodArray<z.ZodObject<{
154
+ id: z.ZodString;
155
+ label: z.ZodString;
156
+ description: z.ZodString;
157
+ color: z.ZodString;
158
+ }, "strip", z.ZodTypeAny, {
159
+ id: string;
160
+ description: string;
161
+ label: string;
162
+ color: string;
163
+ }, {
164
+ id: string;
165
+ description: string;
166
+ label: string;
167
+ color: string;
168
+ }>, "many">;
169
+ nodes: z.ZodArray<z.ZodObject<{
170
+ id: z.ZodString;
171
+ label: z.ZodString;
172
+ layer: z.ZodString;
173
+ tech: z.ZodString;
174
+ description: z.ZodString;
175
+ keyFiles: z.ZodArray<z.ZodString, "many">;
176
+ keyFunctionality: z.ZodArray<z.ZodString, "many">;
177
+ fileCount: z.ZodOptional<z.ZodNumber>;
178
+ linesOfCode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
179
+ principles: z.ZodObject<{
180
+ upholds: z.ZodArray<z.ZodObject<{
181
+ id: z.ZodString;
182
+ reason: z.ZodString;
183
+ }, "strip", z.ZodTypeAny, {
184
+ id: string;
185
+ reason: string;
186
+ }, {
187
+ id: string;
188
+ reason: string;
189
+ }>, "many">;
190
+ violates: z.ZodArray<z.ZodObject<{
191
+ id: z.ZodString;
192
+ reason: z.ZodString;
193
+ }, "strip", z.ZodTypeAny, {
194
+ id: string;
195
+ reason: string;
196
+ }, {
197
+ id: string;
198
+ reason: string;
199
+ }>, "many">;
200
+ }, "strip", z.ZodTypeAny, {
201
+ upholds: {
202
+ id: string;
203
+ reason: string;
204
+ }[];
205
+ violates: {
206
+ id: string;
207
+ reason: string;
208
+ }[];
209
+ }, {
210
+ upholds: {
211
+ id: string;
212
+ reason: string;
213
+ }[];
214
+ violates: {
215
+ id: string;
216
+ reason: string;
217
+ }[];
218
+ }>;
219
+ }, "strip", z.ZodTypeAny, {
220
+ id: string;
221
+ description: string;
222
+ label: string;
223
+ layer: string;
224
+ tech: string;
225
+ keyFiles: string[];
226
+ keyFunctionality: string[];
227
+ principles: {
228
+ upholds: {
229
+ id: string;
230
+ reason: string;
231
+ }[];
232
+ violates: {
233
+ id: string;
234
+ reason: string;
235
+ }[];
236
+ };
237
+ fileCount?: number | undefined;
238
+ linesOfCode?: string | number | undefined;
239
+ }, {
240
+ id: string;
241
+ description: string;
242
+ label: string;
243
+ layer: string;
244
+ tech: string;
245
+ keyFiles: string[];
246
+ keyFunctionality: string[];
247
+ principles: {
248
+ upholds: {
249
+ id: string;
250
+ reason: string;
251
+ }[];
252
+ violates: {
253
+ id: string;
254
+ reason: string;
255
+ }[];
256
+ };
257
+ fileCount?: number | undefined;
258
+ linesOfCode?: string | number | undefined;
259
+ }>, "many">;
260
+ connections: z.ZodArray<z.ZodObject<{
261
+ from: z.ZodString;
262
+ to: z.ZodString;
263
+ type: z.ZodEnum<["uses", "calls", "reads", "http", "query", "auth", "sends", "protects", "hosts", "deploys", "produces", "triggers", "tool-call", "grounds-on"]>;
264
+ label: z.ZodOptional<z.ZodString>;
265
+ seam: z.ZodOptional<z.ZodString>;
266
+ }, "strip", z.ZodTypeAny, {
267
+ type: "uses" | "calls" | "reads" | "http" | "query" | "auth" | "sends" | "protects" | "hosts" | "deploys" | "produces" | "triggers" | "tool-call" | "grounds-on";
268
+ from: string;
269
+ to: string;
270
+ label?: string | undefined;
271
+ seam?: string | undefined;
272
+ }, {
273
+ type: "uses" | "calls" | "reads" | "http" | "query" | "auth" | "sends" | "protects" | "hosts" | "deploys" | "produces" | "triggers" | "tool-call" | "grounds-on";
274
+ from: string;
275
+ to: string;
276
+ label?: string | undefined;
277
+ seam?: string | undefined;
278
+ }>, "many">;
279
+ contexts: z.ZodArray<z.ZodObject<{
280
+ id: z.ZodString;
281
+ label: z.ZodString;
282
+ description: z.ZodString;
283
+ nodeIds: z.ZodArray<z.ZodString, "many">;
284
+ }, "strip", z.ZodTypeAny, {
285
+ id: string;
286
+ description: string;
287
+ label: string;
288
+ nodeIds: string[];
289
+ }, {
290
+ id: string;
291
+ description: string;
292
+ label: string;
293
+ nodeIds: string[];
294
+ }>, "many">;
295
+ }, "strip", z.ZodTypeAny, {
296
+ schemaVersion: string;
297
+ layers: {
298
+ id: string;
299
+ description: string;
300
+ label: string;
301
+ color: string;
302
+ }[];
303
+ nodes: {
304
+ id: string;
305
+ description: string;
306
+ label: string;
307
+ layer: string;
308
+ tech: string;
309
+ keyFiles: string[];
310
+ keyFunctionality: string[];
311
+ principles: {
312
+ upholds: {
313
+ id: string;
314
+ reason: string;
315
+ }[];
316
+ violates: {
317
+ id: string;
318
+ reason: string;
319
+ }[];
320
+ };
321
+ fileCount?: number | undefined;
322
+ linesOfCode?: string | number | undefined;
323
+ }[];
324
+ connections: {
325
+ type: "uses" | "calls" | "reads" | "http" | "query" | "auth" | "sends" | "protects" | "hosts" | "deploys" | "produces" | "triggers" | "tool-call" | "grounds-on";
326
+ from: string;
327
+ to: string;
328
+ label?: string | undefined;
329
+ seam?: string | undefined;
330
+ }[];
331
+ contexts: {
332
+ id: string;
333
+ description: string;
334
+ label: string;
335
+ nodeIds: string[];
336
+ }[];
337
+ }, {
338
+ schemaVersion: string;
339
+ layers: {
340
+ id: string;
341
+ description: string;
342
+ label: string;
343
+ color: string;
344
+ }[];
345
+ nodes: {
346
+ id: string;
347
+ description: string;
348
+ label: string;
349
+ layer: string;
350
+ tech: string;
351
+ keyFiles: string[];
352
+ keyFunctionality: string[];
353
+ principles: {
354
+ upholds: {
355
+ id: string;
356
+ reason: string;
357
+ }[];
358
+ violates: {
359
+ id: string;
360
+ reason: string;
361
+ }[];
362
+ };
363
+ fileCount?: number | undefined;
364
+ linesOfCode?: string | number | undefined;
365
+ }[];
366
+ connections: {
367
+ type: "uses" | "calls" | "reads" | "http" | "query" | "auth" | "sends" | "protects" | "hosts" | "deploys" | "produces" | "triggers" | "tool-call" | "grounds-on";
368
+ from: string;
369
+ to: string;
370
+ label?: string | undefined;
371
+ seam?: string | undefined;
372
+ }[];
373
+ contexts: {
374
+ id: string;
375
+ description: string;
376
+ label: string;
377
+ nodeIds: string[];
378
+ }[];
379
+ }>;
380
+ export type ArchitectureMap = z.infer<typeof ArchitectureMapSchema>;
381
+ export type Diff = {
382
+ files: Array<{
383
+ path: string;
384
+ status: "added" | "modified" | "removed";
385
+ linesAdded: number;
386
+ linesRemoved: number;
387
+ }>;
388
+ };
389
+ export type { PrincipleRef };
390
+ export declare const ArchitectureDeltaSchema: z.ZodObject<{
391
+ addNodes: z.ZodArray<z.ZodObject<{
392
+ id: z.ZodString;
393
+ label: z.ZodString;
394
+ layer: z.ZodString;
395
+ tech: z.ZodString;
396
+ description: z.ZodString;
397
+ keyFiles: z.ZodArray<z.ZodString, "many">;
398
+ keyFunctionality: z.ZodArray<z.ZodString, "many">;
399
+ fileCount: z.ZodOptional<z.ZodNumber>;
400
+ linesOfCode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
401
+ principles: z.ZodObject<{
402
+ upholds: z.ZodArray<z.ZodObject<{
403
+ id: z.ZodString;
404
+ reason: z.ZodString;
405
+ }, "strip", z.ZodTypeAny, {
406
+ id: string;
407
+ reason: string;
408
+ }, {
409
+ id: string;
410
+ reason: string;
411
+ }>, "many">;
412
+ violates: z.ZodArray<z.ZodObject<{
413
+ id: z.ZodString;
414
+ reason: z.ZodString;
415
+ }, "strip", z.ZodTypeAny, {
416
+ id: string;
417
+ reason: string;
418
+ }, {
419
+ id: string;
420
+ reason: string;
421
+ }>, "many">;
422
+ }, "strip", z.ZodTypeAny, {
423
+ upholds: {
424
+ id: string;
425
+ reason: string;
426
+ }[];
427
+ violates: {
428
+ id: string;
429
+ reason: string;
430
+ }[];
431
+ }, {
432
+ upholds: {
433
+ id: string;
434
+ reason: string;
435
+ }[];
436
+ violates: {
437
+ id: string;
438
+ reason: string;
439
+ }[];
440
+ }>;
441
+ }, "strip", z.ZodTypeAny, {
442
+ id: string;
443
+ description: string;
444
+ label: string;
445
+ layer: string;
446
+ tech: string;
447
+ keyFiles: string[];
448
+ keyFunctionality: string[];
449
+ principles: {
450
+ upholds: {
451
+ id: string;
452
+ reason: string;
453
+ }[];
454
+ violates: {
455
+ id: string;
456
+ reason: string;
457
+ }[];
458
+ };
459
+ fileCount?: number | undefined;
460
+ linesOfCode?: string | number | undefined;
461
+ }, {
462
+ id: string;
463
+ description: string;
464
+ label: string;
465
+ layer: string;
466
+ tech: string;
467
+ keyFiles: string[];
468
+ keyFunctionality: string[];
469
+ principles: {
470
+ upholds: {
471
+ id: string;
472
+ reason: string;
473
+ }[];
474
+ violates: {
475
+ id: string;
476
+ reason: string;
477
+ }[];
478
+ };
479
+ fileCount?: number | undefined;
480
+ linesOfCode?: string | number | undefined;
481
+ }>, "many">;
482
+ addConnections: z.ZodArray<z.ZodObject<{
483
+ from: z.ZodString;
484
+ to: z.ZodString;
485
+ type: z.ZodEnum<["uses", "calls", "reads", "http", "query", "auth", "sends", "protects", "hosts", "deploys", "produces", "triggers", "tool-call", "grounds-on"]>;
486
+ label: z.ZodOptional<z.ZodString>;
487
+ seam: z.ZodOptional<z.ZodString>;
488
+ }, "strip", z.ZodTypeAny, {
489
+ type: "uses" | "calls" | "reads" | "http" | "query" | "auth" | "sends" | "protects" | "hosts" | "deploys" | "produces" | "triggers" | "tool-call" | "grounds-on";
490
+ from: string;
491
+ to: string;
492
+ label?: string | undefined;
493
+ seam?: string | undefined;
494
+ }, {
495
+ type: "uses" | "calls" | "reads" | "http" | "query" | "auth" | "sends" | "protects" | "hosts" | "deploys" | "produces" | "triggers" | "tool-call" | "grounds-on";
496
+ from: string;
497
+ to: string;
498
+ label?: string | undefined;
499
+ seam?: string | undefined;
500
+ }>, "many">;
501
+ addContexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
502
+ id: z.ZodString;
503
+ label: z.ZodString;
504
+ description: z.ZodString;
505
+ nodeIds: z.ZodArray<z.ZodString, "many">;
506
+ }, "strip", z.ZodTypeAny, {
507
+ id: string;
508
+ description: string;
509
+ label: string;
510
+ nodeIds: string[];
511
+ }, {
512
+ id: string;
513
+ description: string;
514
+ label: string;
515
+ nodeIds: string[];
516
+ }>, "many">>;
517
+ updateNodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
518
+ id: z.ZodString;
519
+ changes: z.ZodObject<{
520
+ id: z.ZodOptional<z.ZodString>;
521
+ label: z.ZodOptional<z.ZodString>;
522
+ layer: z.ZodOptional<z.ZodString>;
523
+ tech: z.ZodOptional<z.ZodString>;
524
+ description: z.ZodOptional<z.ZodString>;
525
+ keyFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
526
+ keyFunctionality: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
527
+ fileCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
528
+ linesOfCode: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
529
+ principles: z.ZodOptional<z.ZodObject<{
530
+ upholds: z.ZodArray<z.ZodObject<{
531
+ id: z.ZodString;
532
+ reason: z.ZodString;
533
+ }, "strip", z.ZodTypeAny, {
534
+ id: string;
535
+ reason: string;
536
+ }, {
537
+ id: string;
538
+ reason: string;
539
+ }>, "many">;
540
+ violates: z.ZodArray<z.ZodObject<{
541
+ id: z.ZodString;
542
+ reason: z.ZodString;
543
+ }, "strip", z.ZodTypeAny, {
544
+ id: string;
545
+ reason: string;
546
+ }, {
547
+ id: string;
548
+ reason: string;
549
+ }>, "many">;
550
+ }, "strip", z.ZodTypeAny, {
551
+ upholds: {
552
+ id: string;
553
+ reason: string;
554
+ }[];
555
+ violates: {
556
+ id: string;
557
+ reason: string;
558
+ }[];
559
+ }, {
560
+ upholds: {
561
+ id: string;
562
+ reason: string;
563
+ }[];
564
+ violates: {
565
+ id: string;
566
+ reason: string;
567
+ }[];
568
+ }>>;
569
+ }, "strip", z.ZodTypeAny, {
570
+ id?: string | undefined;
571
+ description?: string | undefined;
572
+ label?: string | undefined;
573
+ layer?: string | undefined;
574
+ tech?: string | undefined;
575
+ keyFiles?: string[] | undefined;
576
+ keyFunctionality?: string[] | undefined;
577
+ fileCount?: number | undefined;
578
+ linesOfCode?: string | number | undefined;
579
+ principles?: {
580
+ upholds: {
581
+ id: string;
582
+ reason: string;
583
+ }[];
584
+ violates: {
585
+ id: string;
586
+ reason: string;
587
+ }[];
588
+ } | undefined;
589
+ }, {
590
+ id?: string | undefined;
591
+ description?: string | undefined;
592
+ label?: string | undefined;
593
+ layer?: string | undefined;
594
+ tech?: string | undefined;
595
+ keyFiles?: string[] | undefined;
596
+ keyFunctionality?: string[] | undefined;
597
+ fileCount?: number | undefined;
598
+ linesOfCode?: string | number | undefined;
599
+ principles?: {
600
+ upholds: {
601
+ id: string;
602
+ reason: string;
603
+ }[];
604
+ violates: {
605
+ id: string;
606
+ reason: string;
607
+ }[];
608
+ } | undefined;
609
+ }>;
610
+ }, "strip", z.ZodTypeAny, {
611
+ id: string;
612
+ changes: {
613
+ id?: string | undefined;
614
+ description?: string | undefined;
615
+ label?: string | undefined;
616
+ layer?: string | undefined;
617
+ tech?: string | undefined;
618
+ keyFiles?: string[] | undefined;
619
+ keyFunctionality?: string[] | undefined;
620
+ fileCount?: number | undefined;
621
+ linesOfCode?: string | number | undefined;
622
+ principles?: {
623
+ upholds: {
624
+ id: string;
625
+ reason: string;
626
+ }[];
627
+ violates: {
628
+ id: string;
629
+ reason: string;
630
+ }[];
631
+ } | undefined;
632
+ };
633
+ }, {
634
+ id: string;
635
+ changes: {
636
+ id?: string | undefined;
637
+ description?: string | undefined;
638
+ label?: string | undefined;
639
+ layer?: string | undefined;
640
+ tech?: string | undefined;
641
+ keyFiles?: string[] | undefined;
642
+ keyFunctionality?: string[] | undefined;
643
+ fileCount?: number | undefined;
644
+ linesOfCode?: string | number | undefined;
645
+ principles?: {
646
+ upholds: {
647
+ id: string;
648
+ reason: string;
649
+ }[];
650
+ violates: {
651
+ id: string;
652
+ reason: string;
653
+ }[];
654
+ } | undefined;
655
+ };
656
+ }>, "many">>;
657
+ }, "strip", z.ZodTypeAny, {
658
+ addNodes: {
659
+ id: string;
660
+ description: string;
661
+ label: string;
662
+ layer: string;
663
+ tech: string;
664
+ keyFiles: string[];
665
+ keyFunctionality: string[];
666
+ principles: {
667
+ upholds: {
668
+ id: string;
669
+ reason: string;
670
+ }[];
671
+ violates: {
672
+ id: string;
673
+ reason: string;
674
+ }[];
675
+ };
676
+ fileCount?: number | undefined;
677
+ linesOfCode?: string | number | undefined;
678
+ }[];
679
+ addConnections: {
680
+ type: "uses" | "calls" | "reads" | "http" | "query" | "auth" | "sends" | "protects" | "hosts" | "deploys" | "produces" | "triggers" | "tool-call" | "grounds-on";
681
+ from: string;
682
+ to: string;
683
+ label?: string | undefined;
684
+ seam?: string | undefined;
685
+ }[];
686
+ addContexts?: {
687
+ id: string;
688
+ description: string;
689
+ label: string;
690
+ nodeIds: string[];
691
+ }[] | undefined;
692
+ updateNodes?: {
693
+ id: string;
694
+ changes: {
695
+ id?: string | undefined;
696
+ description?: string | undefined;
697
+ label?: string | undefined;
698
+ layer?: string | undefined;
699
+ tech?: string | undefined;
700
+ keyFiles?: string[] | undefined;
701
+ keyFunctionality?: string[] | undefined;
702
+ fileCount?: number | undefined;
703
+ linesOfCode?: string | number | undefined;
704
+ principles?: {
705
+ upholds: {
706
+ id: string;
707
+ reason: string;
708
+ }[];
709
+ violates: {
710
+ id: string;
711
+ reason: string;
712
+ }[];
713
+ } | undefined;
714
+ };
715
+ }[] | undefined;
716
+ }, {
717
+ addNodes: {
718
+ id: string;
719
+ description: string;
720
+ label: string;
721
+ layer: string;
722
+ tech: string;
723
+ keyFiles: string[];
724
+ keyFunctionality: string[];
725
+ principles: {
726
+ upholds: {
727
+ id: string;
728
+ reason: string;
729
+ }[];
730
+ violates: {
731
+ id: string;
732
+ reason: string;
733
+ }[];
734
+ };
735
+ fileCount?: number | undefined;
736
+ linesOfCode?: string | number | undefined;
737
+ }[];
738
+ addConnections: {
739
+ type: "uses" | "calls" | "reads" | "http" | "query" | "auth" | "sends" | "protects" | "hosts" | "deploys" | "produces" | "triggers" | "tool-call" | "grounds-on";
740
+ from: string;
741
+ to: string;
742
+ label?: string | undefined;
743
+ seam?: string | undefined;
744
+ }[];
745
+ addContexts?: {
746
+ id: string;
747
+ description: string;
748
+ label: string;
749
+ nodeIds: string[];
750
+ }[] | undefined;
751
+ updateNodes?: {
752
+ id: string;
753
+ changes: {
754
+ id?: string | undefined;
755
+ description?: string | undefined;
756
+ label?: string | undefined;
757
+ layer?: string | undefined;
758
+ tech?: string | undefined;
759
+ keyFiles?: string[] | undefined;
760
+ keyFunctionality?: string[] | undefined;
761
+ fileCount?: number | undefined;
762
+ linesOfCode?: string | number | undefined;
763
+ principles?: {
764
+ upholds: {
765
+ id: string;
766
+ reason: string;
767
+ }[];
768
+ violates: {
769
+ id: string;
770
+ reason: string;
771
+ }[];
772
+ } | undefined;
773
+ };
774
+ }[] | undefined;
775
+ }>;
776
+ export type ArchitectureDelta = z.infer<typeof ArchitectureDeltaSchema>;
777
+ //# sourceMappingURL=architecture.d.ts.map