@neat.is/types 0.4.10 → 0.4.11

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.d.cts CHANGED
@@ -364,6 +364,7 @@ declare const FileNodeSchema: z.ZodObject<{
364
364
  path: z.ZodString;
365
365
  language: z.ZodOptional<z.ZodString>;
366
366
  discoveredVia: z.ZodOptional<z.ZodEnum<["static", "otel", "merged"]>>;
367
+ originalPath: z.ZodOptional<z.ZodString>;
367
368
  }, "strip", z.ZodTypeAny, {
368
369
  path: string;
369
370
  type: "FileNode";
@@ -371,6 +372,7 @@ declare const FileNodeSchema: z.ZodObject<{
371
372
  service: string;
372
373
  language?: string | undefined;
373
374
  discoveredVia?: "static" | "otel" | "merged" | undefined;
375
+ originalPath?: string | undefined;
374
376
  }, {
375
377
  path: string;
376
378
  type: "FileNode";
@@ -378,6 +380,7 @@ declare const FileNodeSchema: z.ZodObject<{
378
380
  service: string;
379
381
  language?: string | undefined;
380
382
  discoveredVia?: "static" | "otel" | "merged" | undefined;
383
+ originalPath?: string | undefined;
381
384
  }>;
382
385
  type FileNode = z.infer<typeof FileNodeSchema>;
383
386
  declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -691,6 +694,7 @@ declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
691
694
  path: z.ZodString;
692
695
  language: z.ZodOptional<z.ZodString>;
693
696
  discoveredVia: z.ZodOptional<z.ZodEnum<["static", "otel", "merged"]>>;
697
+ originalPath: z.ZodOptional<z.ZodString>;
694
698
  }, "strip", z.ZodTypeAny, {
695
699
  path: string;
696
700
  type: "FileNode";
@@ -698,6 +702,7 @@ declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
698
702
  service: string;
699
703
  language?: string | undefined;
700
704
  discoveredVia?: "static" | "otel" | "merged" | undefined;
705
+ originalPath?: string | undefined;
701
706
  }, {
702
707
  path: string;
703
708
  type: "FileNode";
@@ -705,6 +710,7 @@ declare const GraphNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
705
710
  service: string;
706
711
  language?: string | undefined;
707
712
  discoveredVia?: "static" | "otel" | "merged" | undefined;
713
+ originalPath?: string | undefined;
708
714
  }>]>;
709
715
  type GraphNode = z.infer<typeof GraphNodeSchema>;
710
716
 
@@ -4143,6 +4149,7 @@ declare const GraphNodeResponseSchema: z.ZodObject<{
4143
4149
  path: z.ZodString;
4144
4150
  language: z.ZodOptional<z.ZodString>;
4145
4151
  discoveredVia: z.ZodOptional<z.ZodEnum<["static", "otel", "merged"]>>;
4152
+ originalPath: z.ZodOptional<z.ZodString>;
4146
4153
  }, "strip", z.ZodTypeAny, {
4147
4154
  path: string;
4148
4155
  type: "FileNode";
@@ -4150,6 +4157,7 @@ declare const GraphNodeResponseSchema: z.ZodObject<{
4150
4157
  service: string;
4151
4158
  language?: string | undefined;
4152
4159
  discoveredVia?: "static" | "otel" | "merged" | undefined;
4160
+ originalPath?: string | undefined;
4153
4161
  }, {
4154
4162
  path: string;
4155
4163
  type: "FileNode";
@@ -4157,6 +4165,7 @@ declare const GraphNodeResponseSchema: z.ZodObject<{
4157
4165
  service: string;
4158
4166
  language?: string | undefined;
4159
4167
  discoveredVia?: "static" | "otel" | "merged" | undefined;
4168
+ originalPath?: string | undefined;
4160
4169
  }>]>;
4161
4170
  }, "strip", z.ZodTypeAny, {
4162
4171
  node: {
@@ -4244,6 +4253,7 @@ declare const GraphNodeResponseSchema: z.ZodObject<{
4244
4253
  service: string;
4245
4254
  language?: string | undefined;
4246
4255
  discoveredVia?: "static" | "otel" | "merged" | undefined;
4256
+ originalPath?: string | undefined;
4247
4257
  };
4248
4258
  }, {
4249
4259
  node: {
@@ -4331,6 +4341,7 @@ declare const GraphNodeResponseSchema: z.ZodObject<{
4331
4341
  service: string;
4332
4342
  language?: string | undefined;
4333
4343
  discoveredVia?: "static" | "otel" | "merged" | undefined;
4344
+ originalPath?: string | undefined;
4334
4345
  };
4335
4346
  }>;
4336
4347
  type GraphNodeResponse = z.infer<typeof GraphNodeResponseSchema>;
@@ -5018,6 +5029,7 @@ declare const SerializedGraphSchema: z.ZodObject<{
5018
5029
  path: z.ZodString;
5019
5030
  language: z.ZodOptional<z.ZodString>;
5020
5031
  discoveredVia: z.ZodOptional<z.ZodEnum<["static", "otel", "merged"]>>;
5032
+ originalPath: z.ZodOptional<z.ZodString>;
5021
5033
  }, "strip", z.ZodTypeAny, {
5022
5034
  path: string;
5023
5035
  type: "FileNode";
@@ -5025,6 +5037,7 @@ declare const SerializedGraphSchema: z.ZodObject<{
5025
5037
  service: string;
5026
5038
  language?: string | undefined;
5027
5039
  discoveredVia?: "static" | "otel" | "merged" | undefined;
5040
+ originalPath?: string | undefined;
5028
5041
  }, {
5029
5042
  path: string;
5030
5043
  type: "FileNode";
@@ -5032,6 +5045,7 @@ declare const SerializedGraphSchema: z.ZodObject<{
5032
5045
  service: string;
5033
5046
  language?: string | undefined;
5034
5047
  discoveredVia?: "static" | "otel" | "merged" | undefined;
5048
+ originalPath?: string | undefined;
5035
5049
  }>]>, "many">;
5036
5050
  edges: z.ZodArray<z.ZodObject<{
5037
5051
  id: z.ZodString;
@@ -5193,6 +5207,7 @@ declare const SerializedGraphSchema: z.ZodObject<{
5193
5207
  service: string;
5194
5208
  language?: string | undefined;
5195
5209
  discoveredVia?: "static" | "otel" | "merged" | undefined;
5210
+ originalPath?: string | undefined;
5196
5211
  })[];
5197
5212
  edges: {
5198
5213
  type: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS";
@@ -5300,6 +5315,7 @@ declare const SerializedGraphSchema: z.ZodObject<{
5300
5315
  service: string;
5301
5316
  language?: string | undefined;
5302
5317
  discoveredVia?: "static" | "otel" | "merged" | undefined;
5318
+ originalPath?: string | undefined;
5303
5319
  })[];
5304
5320
  edges: {
5305
5321
  type: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS";
@@ -5650,6 +5666,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
5650
5666
  path: z.ZodString;
5651
5667
  language: z.ZodOptional<z.ZodString>;
5652
5668
  discoveredVia: z.ZodOptional<z.ZodEnum<["static", "otel", "merged"]>>;
5669
+ originalPath: z.ZodOptional<z.ZodString>;
5653
5670
  }, "strip", z.ZodTypeAny, {
5654
5671
  path: string;
5655
5672
  type: "FileNode";
@@ -5657,6 +5674,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
5657
5674
  service: string;
5658
5675
  language?: string | undefined;
5659
5676
  discoveredVia?: "static" | "otel" | "merged" | undefined;
5677
+ originalPath?: string | undefined;
5660
5678
  }, {
5661
5679
  path: string;
5662
5680
  type: "FileNode";
@@ -5664,6 +5682,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
5664
5682
  service: string;
5665
5683
  language?: string | undefined;
5666
5684
  discoveredVia?: "static" | "otel" | "merged" | undefined;
5685
+ originalPath?: string | undefined;
5667
5686
  }>]>, "many">;
5668
5687
  edges: z.ZodArray<z.ZodObject<{
5669
5688
  id: z.ZodString;
@@ -5825,6 +5844,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
5825
5844
  service: string;
5826
5845
  language?: string | undefined;
5827
5846
  discoveredVia?: "static" | "otel" | "merged" | undefined;
5847
+ originalPath?: string | undefined;
5828
5848
  })[];
5829
5849
  edges: {
5830
5850
  type: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS";
@@ -5932,6 +5952,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
5932
5952
  service: string;
5933
5953
  language?: string | undefined;
5934
5954
  discoveredVia?: "static" | "otel" | "merged" | undefined;
5955
+ originalPath?: string | undefined;
5935
5956
  })[];
5936
5957
  edges: {
5937
5958
  type: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS";
@@ -6266,6 +6287,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
6266
6287
  path: z.ZodString;
6267
6288
  language: z.ZodOptional<z.ZodString>;
6268
6289
  discoveredVia: z.ZodOptional<z.ZodEnum<["static", "otel", "merged"]>>;
6290
+ originalPath: z.ZodOptional<z.ZodString>;
6269
6291
  }, "strip", z.ZodTypeAny, {
6270
6292
  path: string;
6271
6293
  type: "FileNode";
@@ -6273,6 +6295,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
6273
6295
  service: string;
6274
6296
  language?: string | undefined;
6275
6297
  discoveredVia?: "static" | "otel" | "merged" | undefined;
6298
+ originalPath?: string | undefined;
6276
6299
  }, {
6277
6300
  path: string;
6278
6301
  type: "FileNode";
@@ -6280,6 +6303,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
6280
6303
  service: string;
6281
6304
  language?: string | undefined;
6282
6305
  discoveredVia?: "static" | "otel" | "merged" | undefined;
6306
+ originalPath?: string | undefined;
6283
6307
  }>]>, "many">;
6284
6308
  edges: z.ZodArray<z.ZodObject<{
6285
6309
  id: z.ZodString;
@@ -6441,6 +6465,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
6441
6465
  service: string;
6442
6466
  language?: string | undefined;
6443
6467
  discoveredVia?: "static" | "otel" | "merged" | undefined;
6468
+ originalPath?: string | undefined;
6444
6469
  })[];
6445
6470
  edges: {
6446
6471
  type: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS";
@@ -6548,6 +6573,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
6548
6573
  service: string;
6549
6574
  language?: string | undefined;
6550
6575
  discoveredVia?: "static" | "otel" | "merged" | undefined;
6576
+ originalPath?: string | undefined;
6551
6577
  })[];
6552
6578
  edges: {
6553
6579
  type: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS";
@@ -6884,6 +6910,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
6884
6910
  path: z.ZodString;
6885
6911
  language: z.ZodOptional<z.ZodString>;
6886
6912
  discoveredVia: z.ZodOptional<z.ZodEnum<["static", "otel", "merged"]>>;
6913
+ originalPath: z.ZodOptional<z.ZodString>;
6887
6914
  }, "strip", z.ZodTypeAny, {
6888
6915
  path: string;
6889
6916
  type: "FileNode";
@@ -6891,6 +6918,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
6891
6918
  service: string;
6892
6919
  language?: string | undefined;
6893
6920
  discoveredVia?: "static" | "otel" | "merged" | undefined;
6921
+ originalPath?: string | undefined;
6894
6922
  }, {
6895
6923
  path: string;
6896
6924
  type: "FileNode";
@@ -6898,6 +6926,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
6898
6926
  service: string;
6899
6927
  language?: string | undefined;
6900
6928
  discoveredVia?: "static" | "otel" | "merged" | undefined;
6929
+ originalPath?: string | undefined;
6901
6930
  }>]>;
6902
6931
  after: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6903
6932
  id: z.ZodString;
@@ -7210,6 +7239,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
7210
7239
  path: z.ZodString;
7211
7240
  language: z.ZodOptional<z.ZodString>;
7212
7241
  discoveredVia: z.ZodOptional<z.ZodEnum<["static", "otel", "merged"]>>;
7242
+ originalPath: z.ZodOptional<z.ZodString>;
7213
7243
  }, "strip", z.ZodTypeAny, {
7214
7244
  path: string;
7215
7245
  type: "FileNode";
@@ -7217,6 +7247,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
7217
7247
  service: string;
7218
7248
  language?: string | undefined;
7219
7249
  discoveredVia?: "static" | "otel" | "merged" | undefined;
7250
+ originalPath?: string | undefined;
7220
7251
  }, {
7221
7252
  path: string;
7222
7253
  type: "FileNode";
@@ -7224,6 +7255,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
7224
7255
  service: string;
7225
7256
  language?: string | undefined;
7226
7257
  discoveredVia?: "static" | "otel" | "merged" | undefined;
7258
+ originalPath?: string | undefined;
7227
7259
  }>]>;
7228
7260
  }, "strip", z.ZodTypeAny, {
7229
7261
  id: string;
@@ -7312,6 +7344,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
7312
7344
  service: string;
7313
7345
  language?: string | undefined;
7314
7346
  discoveredVia?: "static" | "otel" | "merged" | undefined;
7347
+ originalPath?: string | undefined;
7315
7348
  };
7316
7349
  after: {
7317
7350
  name: string;
@@ -7398,6 +7431,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
7398
7431
  service: string;
7399
7432
  language?: string | undefined;
7400
7433
  discoveredVia?: "static" | "otel" | "merged" | undefined;
7434
+ originalPath?: string | undefined;
7401
7435
  };
7402
7436
  }, {
7403
7437
  id: string;
@@ -7486,6 +7520,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
7486
7520
  service: string;
7487
7521
  language?: string | undefined;
7488
7522
  discoveredVia?: "static" | "otel" | "merged" | undefined;
7523
+ originalPath?: string | undefined;
7489
7524
  };
7490
7525
  after: {
7491
7526
  name: string;
@@ -7572,6 +7607,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
7572
7607
  service: string;
7573
7608
  language?: string | undefined;
7574
7609
  discoveredVia?: "static" | "otel" | "merged" | undefined;
7610
+ originalPath?: string | undefined;
7575
7611
  };
7576
7612
  }>, "many">;
7577
7613
  edges: z.ZodArray<z.ZodObject<{
@@ -7897,6 +7933,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
7897
7933
  service: string;
7898
7934
  language?: string | undefined;
7899
7935
  discoveredVia?: "static" | "otel" | "merged" | undefined;
7936
+ originalPath?: string | undefined;
7900
7937
  };
7901
7938
  after: {
7902
7939
  name: string;
@@ -7983,6 +8020,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
7983
8020
  service: string;
7984
8021
  language?: string | undefined;
7985
8022
  discoveredVia?: "static" | "otel" | "merged" | undefined;
8023
+ originalPath?: string | undefined;
7986
8024
  };
7987
8025
  }[];
7988
8026
  edges: {
@@ -8116,6 +8154,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
8116
8154
  service: string;
8117
8155
  language?: string | undefined;
8118
8156
  discoveredVia?: "static" | "otel" | "merged" | undefined;
8157
+ originalPath?: string | undefined;
8119
8158
  };
8120
8159
  after: {
8121
8160
  name: string;
@@ -8202,6 +8241,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
8202
8241
  service: string;
8203
8242
  language?: string | undefined;
8204
8243
  discoveredVia?: "static" | "otel" | "merged" | undefined;
8244
+ originalPath?: string | undefined;
8205
8245
  };
8206
8246
  }[];
8207
8247
  edges: {
@@ -8341,6 +8381,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
8341
8381
  service: string;
8342
8382
  language?: string | undefined;
8343
8383
  discoveredVia?: "static" | "otel" | "merged" | undefined;
8384
+ originalPath?: string | undefined;
8344
8385
  })[];
8345
8386
  edges: {
8346
8387
  type: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS";
@@ -8449,6 +8490,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
8449
8490
  service: string;
8450
8491
  language?: string | undefined;
8451
8492
  discoveredVia?: "static" | "otel" | "merged" | undefined;
8493
+ originalPath?: string | undefined;
8452
8494
  })[];
8453
8495
  edges: {
8454
8496
  type: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS";
@@ -8559,6 +8601,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
8559
8601
  service: string;
8560
8602
  language?: string | undefined;
8561
8603
  discoveredVia?: "static" | "otel" | "merged" | undefined;
8604
+ originalPath?: string | undefined;
8562
8605
  };
8563
8606
  after: {
8564
8607
  name: string;
@@ -8645,6 +8688,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
8645
8688
  service: string;
8646
8689
  language?: string | undefined;
8647
8690
  discoveredVia?: "static" | "otel" | "merged" | undefined;
8691
+ originalPath?: string | undefined;
8648
8692
  };
8649
8693
  }[];
8650
8694
  edges: {
@@ -8784,6 +8828,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
8784
8828
  service: string;
8785
8829
  language?: string | undefined;
8786
8830
  discoveredVia?: "static" | "otel" | "merged" | undefined;
8831
+ originalPath?: string | undefined;
8787
8832
  })[];
8788
8833
  edges: {
8789
8834
  type: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS";
@@ -8892,6 +8937,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
8892
8937
  service: string;
8893
8938
  language?: string | undefined;
8894
8939
  discoveredVia?: "static" | "otel" | "merged" | undefined;
8940
+ originalPath?: string | undefined;
8895
8941
  })[];
8896
8942
  edges: {
8897
8943
  type: "CALLS" | "DEPENDS_ON" | "CONNECTS_TO" | "CONFIGURED_BY" | "PUBLISHES_TO" | "CONSUMES_FROM" | "RUNS_ON" | "CONTAINS";
@@ -9002,6 +9048,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
9002
9048
  service: string;
9003
9049
  language?: string | undefined;
9004
9050
  discoveredVia?: "static" | "otel" | "merged" | undefined;
9051
+ originalPath?: string | undefined;
9005
9052
  };
9006
9053
  after: {
9007
9054
  name: string;
@@ -9088,6 +9135,7 @@ declare const GraphDiffResultSchema: z.ZodObject<{
9088
9135
  service: string;
9089
9136
  language?: string | undefined;
9090
9137
  discoveredVia?: "static" | "otel" | "merged" | undefined;
9138
+ originalPath?: string | undefined;
9091
9139
  };
9092
9140
  }[];
9093
9141
  edges: {