@neat.is/types 0.10.3 → 0.10.5-dev.20261001
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/index.cjs +15 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +48 -0
- package/dist/index.d.ts +48 -0
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -450,11 +450,13 @@ declare const FileNodeSchema: z.ZodObject<{
|
|
|
450
450
|
originalPath: z.ZodOptional<z.ZodString>;
|
|
451
451
|
platform: z.ZodOptional<z.ZodString>;
|
|
452
452
|
platformName: z.ZodOptional<z.ZodString>;
|
|
453
|
+
source: z.ZodOptional<z.ZodString>;
|
|
453
454
|
}, "strip", z.ZodTypeAny, {
|
|
454
455
|
path: string;
|
|
455
456
|
type: "FileNode";
|
|
456
457
|
id: string;
|
|
457
458
|
service: string;
|
|
459
|
+
source?: string | undefined;
|
|
458
460
|
language?: string | undefined;
|
|
459
461
|
platform?: string | undefined;
|
|
460
462
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -465,6 +467,7 @@ declare const FileNodeSchema: z.ZodObject<{
|
|
|
465
467
|
type: "FileNode";
|
|
466
468
|
id: string;
|
|
467
469
|
service: string;
|
|
470
|
+
source?: string | undefined;
|
|
468
471
|
language?: string | undefined;
|
|
469
472
|
platform?: string | undefined;
|
|
470
473
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -1055,11 +1058,13 @@ declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1055
1058
|
originalPath: z.ZodOptional<z.ZodString>;
|
|
1056
1059
|
platform: z.ZodOptional<z.ZodString>;
|
|
1057
1060
|
platformName: z.ZodOptional<z.ZodString>;
|
|
1061
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1058
1062
|
}, "strip", z.ZodTypeAny, {
|
|
1059
1063
|
path: string;
|
|
1060
1064
|
type: "FileNode";
|
|
1061
1065
|
id: string;
|
|
1062
1066
|
service: string;
|
|
1067
|
+
source?: string | undefined;
|
|
1063
1068
|
language?: string | undefined;
|
|
1064
1069
|
platform?: string | undefined;
|
|
1065
1070
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -1070,6 +1075,7 @@ declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1070
1075
|
type: "FileNode";
|
|
1071
1076
|
id: string;
|
|
1072
1077
|
service: string;
|
|
1078
|
+
source?: string | undefined;
|
|
1073
1079
|
language?: string | undefined;
|
|
1074
1080
|
platform?: string | undefined;
|
|
1075
1081
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -9184,11 +9190,13 @@ declare const GraphNodeResponseSchema: z.ZodObject<{
|
|
|
9184
9190
|
originalPath: z.ZodOptional<z.ZodString>;
|
|
9185
9191
|
platform: z.ZodOptional<z.ZodString>;
|
|
9186
9192
|
platformName: z.ZodOptional<z.ZodString>;
|
|
9193
|
+
source: z.ZodOptional<z.ZodString>;
|
|
9187
9194
|
}, "strip", z.ZodTypeAny, {
|
|
9188
9195
|
path: string;
|
|
9189
9196
|
type: "FileNode";
|
|
9190
9197
|
id: string;
|
|
9191
9198
|
service: string;
|
|
9199
|
+
source?: string | undefined;
|
|
9192
9200
|
language?: string | undefined;
|
|
9193
9201
|
platform?: string | undefined;
|
|
9194
9202
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -9199,6 +9207,7 @@ declare const GraphNodeResponseSchema: z.ZodObject<{
|
|
|
9199
9207
|
type: "FileNode";
|
|
9200
9208
|
id: string;
|
|
9201
9209
|
service: string;
|
|
9210
|
+
source?: string | undefined;
|
|
9202
9211
|
language?: string | undefined;
|
|
9203
9212
|
platform?: string | undefined;
|
|
9204
9213
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -9493,6 +9502,7 @@ declare const GraphNodeResponseSchema: z.ZodObject<{
|
|
|
9493
9502
|
type: "FileNode";
|
|
9494
9503
|
id: string;
|
|
9495
9504
|
service: string;
|
|
9505
|
+
source?: string | undefined;
|
|
9496
9506
|
language?: string | undefined;
|
|
9497
9507
|
platform?: string | undefined;
|
|
9498
9508
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -9659,6 +9669,7 @@ declare const GraphNodeResponseSchema: z.ZodObject<{
|
|
|
9659
9669
|
type: "FileNode";
|
|
9660
9670
|
id: string;
|
|
9661
9671
|
service: string;
|
|
9672
|
+
source?: string | undefined;
|
|
9662
9673
|
language?: string | undefined;
|
|
9663
9674
|
platform?: string | undefined;
|
|
9664
9675
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -10979,11 +10990,13 @@ declare const SerializedGraphSchema: z.ZodObject<{
|
|
|
10979
10990
|
originalPath: z.ZodOptional<z.ZodString>;
|
|
10980
10991
|
platform: z.ZodOptional<z.ZodString>;
|
|
10981
10992
|
platformName: z.ZodOptional<z.ZodString>;
|
|
10993
|
+
source: z.ZodOptional<z.ZodString>;
|
|
10982
10994
|
}, "strip", z.ZodTypeAny, {
|
|
10983
10995
|
path: string;
|
|
10984
10996
|
type: "FileNode";
|
|
10985
10997
|
id: string;
|
|
10986
10998
|
service: string;
|
|
10999
|
+
source?: string | undefined;
|
|
10987
11000
|
language?: string | undefined;
|
|
10988
11001
|
platform?: string | undefined;
|
|
10989
11002
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -10994,6 +11007,7 @@ declare const SerializedGraphSchema: z.ZodObject<{
|
|
|
10994
11007
|
type: "FileNode";
|
|
10995
11008
|
id: string;
|
|
10996
11009
|
service: string;
|
|
11010
|
+
source?: string | undefined;
|
|
10997
11011
|
language?: string | undefined;
|
|
10998
11012
|
platform?: string | undefined;
|
|
10999
11013
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -11447,6 +11461,7 @@ declare const SerializedGraphSchema: z.ZodObject<{
|
|
|
11447
11461
|
type: "FileNode";
|
|
11448
11462
|
id: string;
|
|
11449
11463
|
service: string;
|
|
11464
|
+
source?: string | undefined;
|
|
11450
11465
|
language?: string | undefined;
|
|
11451
11466
|
platform?: string | undefined;
|
|
11452
11467
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -11648,6 +11663,7 @@ declare const SerializedGraphSchema: z.ZodObject<{
|
|
|
11648
11663
|
type: "FileNode";
|
|
11649
11664
|
id: string;
|
|
11650
11665
|
service: string;
|
|
11666
|
+
source?: string | undefined;
|
|
11651
11667
|
language?: string | undefined;
|
|
11652
11668
|
platform?: string | undefined;
|
|
11653
11669
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -12137,11 +12153,13 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
12137
12153
|
originalPath: z.ZodOptional<z.ZodString>;
|
|
12138
12154
|
platform: z.ZodOptional<z.ZodString>;
|
|
12139
12155
|
platformName: z.ZodOptional<z.ZodString>;
|
|
12156
|
+
source: z.ZodOptional<z.ZodString>;
|
|
12140
12157
|
}, "strip", z.ZodTypeAny, {
|
|
12141
12158
|
path: string;
|
|
12142
12159
|
type: "FileNode";
|
|
12143
12160
|
id: string;
|
|
12144
12161
|
service: string;
|
|
12162
|
+
source?: string | undefined;
|
|
12145
12163
|
language?: string | undefined;
|
|
12146
12164
|
platform?: string | undefined;
|
|
12147
12165
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -12152,6 +12170,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
12152
12170
|
type: "FileNode";
|
|
12153
12171
|
id: string;
|
|
12154
12172
|
service: string;
|
|
12173
|
+
source?: string | undefined;
|
|
12155
12174
|
language?: string | undefined;
|
|
12156
12175
|
platform?: string | undefined;
|
|
12157
12176
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -12605,6 +12624,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
12605
12624
|
type: "FileNode";
|
|
12606
12625
|
id: string;
|
|
12607
12626
|
service: string;
|
|
12627
|
+
source?: string | undefined;
|
|
12608
12628
|
language?: string | undefined;
|
|
12609
12629
|
platform?: string | undefined;
|
|
12610
12630
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -12806,6 +12826,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
12806
12826
|
type: "FileNode";
|
|
12807
12827
|
id: string;
|
|
12808
12828
|
service: string;
|
|
12829
|
+
source?: string | undefined;
|
|
12809
12830
|
language?: string | undefined;
|
|
12810
12831
|
platform?: string | undefined;
|
|
12811
12832
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -13279,11 +13300,13 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
13279
13300
|
originalPath: z.ZodOptional<z.ZodString>;
|
|
13280
13301
|
platform: z.ZodOptional<z.ZodString>;
|
|
13281
13302
|
platformName: z.ZodOptional<z.ZodString>;
|
|
13303
|
+
source: z.ZodOptional<z.ZodString>;
|
|
13282
13304
|
}, "strip", z.ZodTypeAny, {
|
|
13283
13305
|
path: string;
|
|
13284
13306
|
type: "FileNode";
|
|
13285
13307
|
id: string;
|
|
13286
13308
|
service: string;
|
|
13309
|
+
source?: string | undefined;
|
|
13287
13310
|
language?: string | undefined;
|
|
13288
13311
|
platform?: string | undefined;
|
|
13289
13312
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -13294,6 +13317,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
13294
13317
|
type: "FileNode";
|
|
13295
13318
|
id: string;
|
|
13296
13319
|
service: string;
|
|
13320
|
+
source?: string | undefined;
|
|
13297
13321
|
language?: string | undefined;
|
|
13298
13322
|
platform?: string | undefined;
|
|
13299
13323
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -13747,6 +13771,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
13747
13771
|
type: "FileNode";
|
|
13748
13772
|
id: string;
|
|
13749
13773
|
service: string;
|
|
13774
|
+
source?: string | undefined;
|
|
13750
13775
|
language?: string | undefined;
|
|
13751
13776
|
platform?: string | undefined;
|
|
13752
13777
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -13948,6 +13973,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
13948
13973
|
type: "FileNode";
|
|
13949
13974
|
id: string;
|
|
13950
13975
|
service: string;
|
|
13976
|
+
source?: string | undefined;
|
|
13951
13977
|
language?: string | undefined;
|
|
13952
13978
|
platform?: string | undefined;
|
|
13953
13979
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -14423,11 +14449,13 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
14423
14449
|
originalPath: z.ZodOptional<z.ZodString>;
|
|
14424
14450
|
platform: z.ZodOptional<z.ZodString>;
|
|
14425
14451
|
platformName: z.ZodOptional<z.ZodString>;
|
|
14452
|
+
source: z.ZodOptional<z.ZodString>;
|
|
14426
14453
|
}, "strip", z.ZodTypeAny, {
|
|
14427
14454
|
path: string;
|
|
14428
14455
|
type: "FileNode";
|
|
14429
14456
|
id: string;
|
|
14430
14457
|
service: string;
|
|
14458
|
+
source?: string | undefined;
|
|
14431
14459
|
language?: string | undefined;
|
|
14432
14460
|
platform?: string | undefined;
|
|
14433
14461
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -14438,6 +14466,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
14438
14466
|
type: "FileNode";
|
|
14439
14467
|
id: string;
|
|
14440
14468
|
service: string;
|
|
14469
|
+
source?: string | undefined;
|
|
14441
14470
|
language?: string | undefined;
|
|
14442
14471
|
platform?: string | undefined;
|
|
14443
14472
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -15002,11 +15031,13 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
15002
15031
|
originalPath: z.ZodOptional<z.ZodString>;
|
|
15003
15032
|
platform: z.ZodOptional<z.ZodString>;
|
|
15004
15033
|
platformName: z.ZodOptional<z.ZodString>;
|
|
15034
|
+
source: z.ZodOptional<z.ZodString>;
|
|
15005
15035
|
}, "strip", z.ZodTypeAny, {
|
|
15006
15036
|
path: string;
|
|
15007
15037
|
type: "FileNode";
|
|
15008
15038
|
id: string;
|
|
15009
15039
|
service: string;
|
|
15040
|
+
source?: string | undefined;
|
|
15010
15041
|
language?: string | undefined;
|
|
15011
15042
|
platform?: string | undefined;
|
|
15012
15043
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -15017,6 +15048,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
15017
15048
|
type: "FileNode";
|
|
15018
15049
|
id: string;
|
|
15019
15050
|
service: string;
|
|
15051
|
+
source?: string | undefined;
|
|
15020
15052
|
language?: string | undefined;
|
|
15021
15053
|
platform?: string | undefined;
|
|
15022
15054
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -15312,6 +15344,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
15312
15344
|
type: "FileNode";
|
|
15313
15345
|
id: string;
|
|
15314
15346
|
service: string;
|
|
15347
|
+
source?: string | undefined;
|
|
15315
15348
|
language?: string | undefined;
|
|
15316
15349
|
platform?: string | undefined;
|
|
15317
15350
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -15477,6 +15510,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
15477
15510
|
type: "FileNode";
|
|
15478
15511
|
id: string;
|
|
15479
15512
|
service: string;
|
|
15513
|
+
source?: string | undefined;
|
|
15480
15514
|
language?: string | undefined;
|
|
15481
15515
|
platform?: string | undefined;
|
|
15482
15516
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -15644,6 +15678,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
15644
15678
|
type: "FileNode";
|
|
15645
15679
|
id: string;
|
|
15646
15680
|
service: string;
|
|
15681
|
+
source?: string | undefined;
|
|
15647
15682
|
language?: string | undefined;
|
|
15648
15683
|
platform?: string | undefined;
|
|
15649
15684
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -15809,6 +15844,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
15809
15844
|
type: "FileNode";
|
|
15810
15845
|
id: string;
|
|
15811
15846
|
service: string;
|
|
15847
|
+
source?: string | undefined;
|
|
15812
15848
|
language?: string | undefined;
|
|
15813
15849
|
platform?: string | undefined;
|
|
15814
15850
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -16443,6 +16479,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
16443
16479
|
type: "FileNode";
|
|
16444
16480
|
id: string;
|
|
16445
16481
|
service: string;
|
|
16482
|
+
source?: string | undefined;
|
|
16446
16483
|
language?: string | undefined;
|
|
16447
16484
|
platform?: string | undefined;
|
|
16448
16485
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -16608,6 +16645,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
16608
16645
|
type: "FileNode";
|
|
16609
16646
|
id: string;
|
|
16610
16647
|
service: string;
|
|
16648
|
+
source?: string | undefined;
|
|
16611
16649
|
language?: string | undefined;
|
|
16612
16650
|
platform?: string | undefined;
|
|
16613
16651
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -16850,6 +16888,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
16850
16888
|
type: "FileNode";
|
|
16851
16889
|
id: string;
|
|
16852
16890
|
service: string;
|
|
16891
|
+
source?: string | undefined;
|
|
16853
16892
|
language?: string | undefined;
|
|
16854
16893
|
platform?: string | undefined;
|
|
16855
16894
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -17015,6 +17054,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
17015
17054
|
type: "FileNode";
|
|
17016
17055
|
id: string;
|
|
17017
17056
|
service: string;
|
|
17057
|
+
source?: string | undefined;
|
|
17018
17058
|
language?: string | undefined;
|
|
17019
17059
|
platform?: string | undefined;
|
|
17020
17060
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -17263,6 +17303,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
17263
17303
|
type: "FileNode";
|
|
17264
17304
|
id: string;
|
|
17265
17305
|
service: string;
|
|
17306
|
+
source?: string | undefined;
|
|
17266
17307
|
language?: string | undefined;
|
|
17267
17308
|
platform?: string | undefined;
|
|
17268
17309
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -17465,6 +17506,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
17465
17506
|
type: "FileNode";
|
|
17466
17507
|
id: string;
|
|
17467
17508
|
service: string;
|
|
17509
|
+
source?: string | undefined;
|
|
17468
17510
|
language?: string | undefined;
|
|
17469
17511
|
platform?: string | undefined;
|
|
17470
17512
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -17669,6 +17711,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
17669
17711
|
type: "FileNode";
|
|
17670
17712
|
id: string;
|
|
17671
17713
|
service: string;
|
|
17714
|
+
source?: string | undefined;
|
|
17672
17715
|
language?: string | undefined;
|
|
17673
17716
|
platform?: string | undefined;
|
|
17674
17717
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -17834,6 +17877,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
17834
17877
|
type: "FileNode";
|
|
17835
17878
|
id: string;
|
|
17836
17879
|
service: string;
|
|
17880
|
+
source?: string | undefined;
|
|
17837
17881
|
language?: string | undefined;
|
|
17838
17882
|
platform?: string | undefined;
|
|
17839
17883
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -18082,6 +18126,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
18082
18126
|
type: "FileNode";
|
|
18083
18127
|
id: string;
|
|
18084
18128
|
service: string;
|
|
18129
|
+
source?: string | undefined;
|
|
18085
18130
|
language?: string | undefined;
|
|
18086
18131
|
platform?: string | undefined;
|
|
18087
18132
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -18284,6 +18329,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
18284
18329
|
type: "FileNode";
|
|
18285
18330
|
id: string;
|
|
18286
18331
|
service: string;
|
|
18332
|
+
source?: string | undefined;
|
|
18287
18333
|
language?: string | undefined;
|
|
18288
18334
|
platform?: string | undefined;
|
|
18289
18335
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -18488,6 +18534,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
18488
18534
|
type: "FileNode";
|
|
18489
18535
|
id: string;
|
|
18490
18536
|
service: string;
|
|
18537
|
+
source?: string | undefined;
|
|
18491
18538
|
language?: string | undefined;
|
|
18492
18539
|
platform?: string | undefined;
|
|
18493
18540
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
|
@@ -18653,6 +18700,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
|
|
|
18653
18700
|
type: "FileNode";
|
|
18654
18701
|
id: string;
|
|
18655
18702
|
service: string;
|
|
18703
|
+
source?: string | undefined;
|
|
18656
18704
|
language?: string | undefined;
|
|
18657
18705
|
platform?: string | undefined;
|
|
18658
18706
|
discoveredVia?: "static" | "otel" | "merged" | undefined;
|
package/dist/index.js
CHANGED
|
@@ -443,7 +443,21 @@ var FileNodeSchema = z3.object({
|
|
|
443
443
|
// connector's resolveTarget looks up against to fuse an OBSERVED signal onto
|
|
444
444
|
// this exact FileNode (ADR-133, docs/contracts/static-extraction.md /
|
|
445
445
|
// docs/contracts/connectors.md).
|
|
446
|
-
platformName: z3.string().optional()
|
|
446
|
+
platformName: z3.string().optional(),
|
|
447
|
+
// Where this file was extracted FROM, as a token that outlives the directory
|
|
448
|
+
// it was read from (ADR-233). A hosted daemon clones each bound repo into a
|
|
449
|
+
// fresh temp dir every pass and deletes it afterwards, so the path an edge
|
|
450
|
+
// came from is gone by the time the next pass sweeps; the bound repo
|
|
451
|
+
// (`owner/name`) is not. Locally it is the project name.
|
|
452
|
+
//
|
|
453
|
+
// The retire sweep reads it to stay inside its own source. The sweep's reach
|
|
454
|
+
// is the whole graph while its evidence is one directory, which is sound for
|
|
455
|
+
// a single-source daemon and wrong for a project with two bound repos — there
|
|
456
|
+
// each pass was retiring the other repo's files (#1294), and a boot pass over
|
|
457
|
+
// a source-less root retired all of them (#1291). Optional and additive: a
|
|
458
|
+
// snapshot written before it existed carries none, and a pass that names no
|
|
459
|
+
// source sweeps exactly as it always has.
|
|
460
|
+
source: z3.string().optional()
|
|
447
461
|
});
|
|
448
462
|
var RouteNodeSchema = z3.object({
|
|
449
463
|
id: z3.string(),
|