circuit-json 0.0.458 → 0.0.460

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.mts CHANGED
@@ -7843,6 +7843,7 @@ declare const pcb_via: z.ZodObject<{
7843
7843
  }>, "many">;
7844
7844
  pcb_trace_id: z.ZodOptional<z.ZodString>;
7845
7845
  source_trace_id: z.ZodOptional<z.ZodString>;
7846
+ source_net_id: z.ZodOptional<z.ZodString>;
7846
7847
  net_is_assignable: z.ZodOptional<z.ZodBoolean>;
7847
7848
  net_assigned: z.ZodOptional<z.ZodBoolean>;
7848
7849
  is_tented: z.ZodOptional<z.ZodBoolean>;
@@ -7860,6 +7861,7 @@ declare const pcb_via: z.ZodObject<{
7860
7861
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
7861
7862
  source_trace_id?: string | undefined;
7862
7863
  pcb_trace_id?: string | undefined;
7864
+ source_net_id?: string | undefined;
7863
7865
  subcircuit_connectivity_map_key?: string | undefined;
7864
7866
  net_is_assignable?: boolean | undefined;
7865
7867
  net_assigned?: boolean | undefined;
@@ -7883,6 +7885,7 @@ declare const pcb_via: z.ZodObject<{
7883
7885
  } | undefined;
7884
7886
  source_trace_id?: string | undefined;
7885
7887
  pcb_trace_id?: string | undefined;
7888
+ source_net_id?: string | undefined;
7886
7889
  pcb_via_id?: string | undefined;
7887
7890
  subcircuit_connectivity_map_key?: string | undefined;
7888
7891
  net_is_assignable?: boolean | undefined;
@@ -7910,6 +7913,7 @@ interface PcbVia {
7910
7913
  layers: LayerRef[];
7911
7914
  pcb_trace_id?: string;
7912
7915
  source_trace_id?: string;
7916
+ source_net_id?: string;
7913
7917
  net_is_assignable?: boolean;
7914
7918
  net_assigned?: boolean;
7915
7919
  is_tented?: boolean;
@@ -32448,23 +32452,23 @@ declare const source_manually_placed_via: z.ZodObject<{
32448
32452
  type: z.ZodLiteral<"source_manually_placed_via">;
32449
32453
  source_manually_placed_via_id: z.ZodString;
32450
32454
  source_group_id: z.ZodString;
32451
- source_net_id: z.ZodString;
32455
+ source_net_id: z.ZodOptional<z.ZodString>;
32452
32456
  subcircuit_id: z.ZodOptional<z.ZodString>;
32453
32457
  source_trace_id: z.ZodOptional<z.ZodString>;
32454
32458
  }, "strip", z.ZodTypeAny, {
32455
32459
  type: "source_manually_placed_via";
32456
- source_net_id: string;
32457
32460
  source_group_id: string;
32458
32461
  source_manually_placed_via_id: string;
32459
32462
  subcircuit_id?: string | undefined;
32460
32463
  source_trace_id?: string | undefined;
32464
+ source_net_id?: string | undefined;
32461
32465
  }, {
32462
32466
  type: "source_manually_placed_via";
32463
- source_net_id: string;
32464
32467
  source_group_id: string;
32465
32468
  source_manually_placed_via_id: string;
32466
32469
  subcircuit_id?: string | undefined;
32467
32470
  source_trace_id?: string | undefined;
32471
+ source_net_id?: string | undefined;
32468
32472
  }>;
32469
32473
  type SourceManuallyPlacedViaInput = z.input<typeof source_manually_placed_via>;
32470
32474
  /**
@@ -32474,7 +32478,7 @@ interface SourceManuallyPlacedVia {
32474
32478
  type: "source_manually_placed_via";
32475
32479
  source_manually_placed_via_id: string;
32476
32480
  source_group_id: string;
32477
- source_net_id: string;
32481
+ source_net_id?: string;
32478
32482
  subcircuit_id?: string;
32479
32483
  source_trace_id?: string;
32480
32484
  }
@@ -38315,23 +38319,23 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38315
38319
  type: z.ZodLiteral<"source_manually_placed_via">;
38316
38320
  source_manually_placed_via_id: z.ZodString;
38317
38321
  source_group_id: z.ZodString;
38318
- source_net_id: z.ZodString;
38322
+ source_net_id: z.ZodOptional<z.ZodString>;
38319
38323
  subcircuit_id: z.ZodOptional<z.ZodString>;
38320
38324
  source_trace_id: z.ZodOptional<z.ZodString>;
38321
38325
  }, "strip", z.ZodTypeAny, {
38322
38326
  type: "source_manually_placed_via";
38323
- source_net_id: string;
38324
38327
  source_group_id: string;
38325
38328
  source_manually_placed_via_id: string;
38326
38329
  subcircuit_id?: string | undefined;
38327
38330
  source_trace_id?: string | undefined;
38331
+ source_net_id?: string | undefined;
38328
38332
  }, {
38329
38333
  type: "source_manually_placed_via";
38330
- source_net_id: string;
38331
38334
  source_group_id: string;
38332
38335
  source_manually_placed_via_id: string;
38333
38336
  subcircuit_id?: string | undefined;
38334
38337
  source_trace_id?: string | undefined;
38338
+ source_net_id?: string | undefined;
38335
38339
  }>, z.ZodObject<{
38336
38340
  type: z.ZodLiteral<"source_board">;
38337
38341
  source_board_id: z.ZodString;
@@ -41934,6 +41938,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
41934
41938
  }>, "many">;
41935
41939
  pcb_trace_id: z.ZodOptional<z.ZodString>;
41936
41940
  source_trace_id: z.ZodOptional<z.ZodString>;
41941
+ source_net_id: z.ZodOptional<z.ZodString>;
41937
41942
  net_is_assignable: z.ZodOptional<z.ZodBoolean>;
41938
41943
  net_assigned: z.ZodOptional<z.ZodBoolean>;
41939
41944
  is_tented: z.ZodOptional<z.ZodBoolean>;
@@ -41951,6 +41956,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
41951
41956
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
41952
41957
  source_trace_id?: string | undefined;
41953
41958
  pcb_trace_id?: string | undefined;
41959
+ source_net_id?: string | undefined;
41954
41960
  subcircuit_connectivity_map_key?: string | undefined;
41955
41961
  net_is_assignable?: boolean | undefined;
41956
41962
  net_assigned?: boolean | undefined;
@@ -41974,6 +41980,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
41974
41980
  } | undefined;
41975
41981
  source_trace_id?: string | undefined;
41976
41982
  pcb_trace_id?: string | undefined;
41983
+ source_net_id?: string | undefined;
41977
41984
  pcb_via_id?: string | undefined;
41978
41985
  subcircuit_connectivity_map_key?: string | undefined;
41979
41986
  net_is_assignable?: boolean | undefined;
@@ -58279,23 +58286,23 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
58279
58286
  type: z.ZodLiteral<"source_manually_placed_via">;
58280
58287
  source_manually_placed_via_id: z.ZodString;
58281
58288
  source_group_id: z.ZodString;
58282
- source_net_id: z.ZodString;
58289
+ source_net_id: z.ZodOptional<z.ZodString>;
58283
58290
  subcircuit_id: z.ZodOptional<z.ZodString>;
58284
58291
  source_trace_id: z.ZodOptional<z.ZodString>;
58285
58292
  }, "strip", z.ZodTypeAny, {
58286
58293
  type: "source_manually_placed_via";
58287
- source_net_id: string;
58288
58294
  source_group_id: string;
58289
58295
  source_manually_placed_via_id: string;
58290
58296
  subcircuit_id?: string | undefined;
58291
58297
  source_trace_id?: string | undefined;
58298
+ source_net_id?: string | undefined;
58292
58299
  }, {
58293
58300
  type: "source_manually_placed_via";
58294
- source_net_id: string;
58295
58301
  source_group_id: string;
58296
58302
  source_manually_placed_via_id: string;
58297
58303
  subcircuit_id?: string | undefined;
58298
58304
  source_trace_id?: string | undefined;
58305
+ source_net_id?: string | undefined;
58299
58306
  }>, z.ZodObject<{
58300
58307
  type: z.ZodLiteral<"source_board">;
58301
58308
  source_board_id: z.ZodString;
@@ -61898,6 +61905,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
61898
61905
  }>, "many">;
61899
61906
  pcb_trace_id: z.ZodOptional<z.ZodString>;
61900
61907
  source_trace_id: z.ZodOptional<z.ZodString>;
61908
+ source_net_id: z.ZodOptional<z.ZodString>;
61901
61909
  net_is_assignable: z.ZodOptional<z.ZodBoolean>;
61902
61910
  net_assigned: z.ZodOptional<z.ZodBoolean>;
61903
61911
  is_tented: z.ZodOptional<z.ZodBoolean>;
@@ -61915,6 +61923,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
61915
61923
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
61916
61924
  source_trace_id?: string | undefined;
61917
61925
  pcb_trace_id?: string | undefined;
61926
+ source_net_id?: string | undefined;
61918
61927
  subcircuit_connectivity_map_key?: string | undefined;
61919
61928
  net_is_assignable?: boolean | undefined;
61920
61929
  net_assigned?: boolean | undefined;
@@ -61938,6 +61947,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
61938
61947
  } | undefined;
61939
61948
  source_trace_id?: string | undefined;
61940
61949
  pcb_trace_id?: string | undefined;
61950
+ source_net_id?: string | undefined;
61941
61951
  pcb_via_id?: string | undefined;
61942
61952
  subcircuit_connectivity_map_key?: string | undefined;
61943
61953
  net_is_assignable?: boolean | undefined;
package/dist/index.mjs CHANGED
@@ -990,7 +990,7 @@ var source_manually_placed_via = z64.object({
990
990
  type: z64.literal("source_manually_placed_via"),
991
991
  source_manually_placed_via_id: z64.string(),
992
992
  source_group_id: z64.string(),
993
- source_net_id: z64.string(),
993
+ source_net_id: z64.string().min(1).optional(),
994
994
  subcircuit_id: z64.string().optional(),
995
995
  source_trace_id: z64.string().optional()
996
996
  }).describe("Defines a via that is manually placed in the source domain");
@@ -2452,6 +2452,7 @@ var pcb_via = z115.object({
2452
2452
  layers: z115.array(layer_ref),
2453
2453
  pcb_trace_id: z115.string().optional(),
2454
2454
  source_trace_id: z115.string().optional(),
2455
+ source_net_id: z115.string().min(1).optional(),
2455
2456
  net_is_assignable: z115.boolean().optional(),
2456
2457
  net_assigned: z115.boolean().optional(),
2457
2458
  is_tented: z115.boolean().optional()