circuit-json 0.0.457 → 0.0.459

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
@@ -7842,6 +7842,7 @@ declare const pcb_via: z.ZodObject<{
7842
7842
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
7843
7843
  }>, "many">;
7844
7844
  pcb_trace_id: z.ZodOptional<z.ZodString>;
7845
+ source_trace_id: z.ZodOptional<z.ZodString>;
7845
7846
  net_is_assignable: z.ZodOptional<z.ZodBoolean>;
7846
7847
  net_assigned: z.ZodOptional<z.ZodBoolean>;
7847
7848
  is_tented: z.ZodOptional<z.ZodBoolean>;
@@ -7857,6 +7858,7 @@ declare const pcb_via: z.ZodObject<{
7857
7858
  subcircuit_id?: string | undefined;
7858
7859
  pcb_group_id?: string | undefined;
7859
7860
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
7861
+ source_trace_id?: string | undefined;
7860
7862
  pcb_trace_id?: string | undefined;
7861
7863
  subcircuit_connectivity_map_key?: string | undefined;
7862
7864
  net_is_assignable?: boolean | undefined;
@@ -7879,6 +7881,7 @@ declare const pcb_via: z.ZodObject<{
7879
7881
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
7880
7882
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
7881
7883
  } | undefined;
7884
+ source_trace_id?: string | undefined;
7882
7885
  pcb_trace_id?: string | undefined;
7883
7886
  pcb_via_id?: string | undefined;
7884
7887
  subcircuit_connectivity_map_key?: string | undefined;
@@ -7906,6 +7909,7 @@ interface PcbVia {
7906
7909
  to_layer?: LayerRef;
7907
7910
  layers: LayerRef[];
7908
7911
  pcb_trace_id?: string;
7912
+ source_trace_id?: string;
7909
7913
  net_is_assignable?: boolean;
7910
7914
  net_assigned?: boolean;
7911
7915
  is_tented?: boolean;
@@ -32444,23 +32448,23 @@ declare const source_manually_placed_via: z.ZodObject<{
32444
32448
  type: z.ZodLiteral<"source_manually_placed_via">;
32445
32449
  source_manually_placed_via_id: z.ZodString;
32446
32450
  source_group_id: z.ZodString;
32447
- source_net_id: z.ZodString;
32451
+ source_net_id: z.ZodOptional<z.ZodString>;
32448
32452
  subcircuit_id: z.ZodOptional<z.ZodString>;
32449
32453
  source_trace_id: z.ZodOptional<z.ZodString>;
32450
32454
  }, "strip", z.ZodTypeAny, {
32451
32455
  type: "source_manually_placed_via";
32452
- source_net_id: string;
32453
32456
  source_group_id: string;
32454
32457
  source_manually_placed_via_id: string;
32455
32458
  subcircuit_id?: string | undefined;
32456
32459
  source_trace_id?: string | undefined;
32460
+ source_net_id?: string | undefined;
32457
32461
  }, {
32458
32462
  type: "source_manually_placed_via";
32459
- source_net_id: string;
32460
32463
  source_group_id: string;
32461
32464
  source_manually_placed_via_id: string;
32462
32465
  subcircuit_id?: string | undefined;
32463
32466
  source_trace_id?: string | undefined;
32467
+ source_net_id?: string | undefined;
32464
32468
  }>;
32465
32469
  type SourceManuallyPlacedViaInput = z.input<typeof source_manually_placed_via>;
32466
32470
  /**
@@ -32470,7 +32474,7 @@ interface SourceManuallyPlacedVia {
32470
32474
  type: "source_manually_placed_via";
32471
32475
  source_manually_placed_via_id: string;
32472
32476
  source_group_id: string;
32473
- source_net_id: string;
32477
+ source_net_id?: string;
32474
32478
  subcircuit_id?: string;
32475
32479
  source_trace_id?: string;
32476
32480
  }
@@ -38311,23 +38315,23 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38311
38315
  type: z.ZodLiteral<"source_manually_placed_via">;
38312
38316
  source_manually_placed_via_id: z.ZodString;
38313
38317
  source_group_id: z.ZodString;
38314
- source_net_id: z.ZodString;
38318
+ source_net_id: z.ZodOptional<z.ZodString>;
38315
38319
  subcircuit_id: z.ZodOptional<z.ZodString>;
38316
38320
  source_trace_id: z.ZodOptional<z.ZodString>;
38317
38321
  }, "strip", z.ZodTypeAny, {
38318
38322
  type: "source_manually_placed_via";
38319
- source_net_id: string;
38320
38323
  source_group_id: string;
38321
38324
  source_manually_placed_via_id: string;
38322
38325
  subcircuit_id?: string | undefined;
38323
38326
  source_trace_id?: string | undefined;
38327
+ source_net_id?: string | undefined;
38324
38328
  }, {
38325
38329
  type: "source_manually_placed_via";
38326
- source_net_id: string;
38327
38330
  source_group_id: string;
38328
38331
  source_manually_placed_via_id: string;
38329
38332
  subcircuit_id?: string | undefined;
38330
38333
  source_trace_id?: string | undefined;
38334
+ source_net_id?: string | undefined;
38331
38335
  }>, z.ZodObject<{
38332
38336
  type: z.ZodLiteral<"source_board">;
38333
38337
  source_board_id: z.ZodString;
@@ -41929,6 +41933,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
41929
41933
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
41930
41934
  }>, "many">;
41931
41935
  pcb_trace_id: z.ZodOptional<z.ZodString>;
41936
+ source_trace_id: z.ZodOptional<z.ZodString>;
41932
41937
  net_is_assignable: z.ZodOptional<z.ZodBoolean>;
41933
41938
  net_assigned: z.ZodOptional<z.ZodBoolean>;
41934
41939
  is_tented: z.ZodOptional<z.ZodBoolean>;
@@ -41944,6 +41949,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
41944
41949
  subcircuit_id?: string | undefined;
41945
41950
  pcb_group_id?: string | undefined;
41946
41951
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
41952
+ source_trace_id?: string | undefined;
41947
41953
  pcb_trace_id?: string | undefined;
41948
41954
  subcircuit_connectivity_map_key?: string | undefined;
41949
41955
  net_is_assignable?: boolean | undefined;
@@ -41966,6 +41972,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
41966
41972
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
41967
41973
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
41968
41974
  } | undefined;
41975
+ source_trace_id?: string | undefined;
41969
41976
  pcb_trace_id?: string | undefined;
41970
41977
  pcb_via_id?: string | undefined;
41971
41978
  subcircuit_connectivity_map_key?: string | undefined;
@@ -58272,23 +58279,23 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
58272
58279
  type: z.ZodLiteral<"source_manually_placed_via">;
58273
58280
  source_manually_placed_via_id: z.ZodString;
58274
58281
  source_group_id: z.ZodString;
58275
- source_net_id: z.ZodString;
58282
+ source_net_id: z.ZodOptional<z.ZodString>;
58276
58283
  subcircuit_id: z.ZodOptional<z.ZodString>;
58277
58284
  source_trace_id: z.ZodOptional<z.ZodString>;
58278
58285
  }, "strip", z.ZodTypeAny, {
58279
58286
  type: "source_manually_placed_via";
58280
- source_net_id: string;
58281
58287
  source_group_id: string;
58282
58288
  source_manually_placed_via_id: string;
58283
58289
  subcircuit_id?: string | undefined;
58284
58290
  source_trace_id?: string | undefined;
58291
+ source_net_id?: string | undefined;
58285
58292
  }, {
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
  }>, z.ZodObject<{
58293
58300
  type: z.ZodLiteral<"source_board">;
58294
58301
  source_board_id: z.ZodString;
@@ -61890,6 +61897,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
61890
61897
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
61891
61898
  }>, "many">;
61892
61899
  pcb_trace_id: z.ZodOptional<z.ZodString>;
61900
+ source_trace_id: z.ZodOptional<z.ZodString>;
61893
61901
  net_is_assignable: z.ZodOptional<z.ZodBoolean>;
61894
61902
  net_assigned: z.ZodOptional<z.ZodBoolean>;
61895
61903
  is_tented: z.ZodOptional<z.ZodBoolean>;
@@ -61905,6 +61913,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
61905
61913
  subcircuit_id?: string | undefined;
61906
61914
  pcb_group_id?: string | undefined;
61907
61915
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
61916
+ source_trace_id?: string | undefined;
61908
61917
  pcb_trace_id?: string | undefined;
61909
61918
  subcircuit_connectivity_map_key?: string | undefined;
61910
61919
  net_is_assignable?: boolean | undefined;
@@ -61927,6 +61936,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
61927
61936
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
61928
61937
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
61929
61938
  } | undefined;
61939
+ source_trace_id?: string | undefined;
61930
61940
  pcb_trace_id?: string | undefined;
61931
61941
  pcb_via_id?: string | undefined;
61932
61942
  subcircuit_connectivity_map_key?: string | 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");
@@ -2451,6 +2451,7 @@ var pcb_via = z115.object({
2451
2451
  to_layer: layer_ref.optional(),
2452
2452
  layers: z115.array(layer_ref),
2453
2453
  pcb_trace_id: z115.string().optional(),
2454
+ source_trace_id: z115.string().optional(),
2454
2455
  net_is_assignable: z115.boolean().optional(),
2455
2456
  net_assigned: z115.boolean().optional(),
2456
2457
  is_tented: z115.boolean().optional()