circuit-json 0.0.537 → 0.0.538

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/README.md CHANGED
@@ -3743,6 +3743,8 @@ interface PcbVia {
3743
3743
  type: "pcb_via"
3744
3744
  pcb_via_id: string
3745
3745
  pcb_group_id?: string
3746
+ /** Owning manufacturing panel for copper connecting its child boards. */
3747
+ pcb_panel_id?: string
3746
3748
  subcircuit_id?: string
3747
3749
  subcircuit_connectivity_map_key?: string
3748
3750
  x: Distance
package/dist/index.d.mts CHANGED
@@ -8549,6 +8549,7 @@ declare const pcb_trace: z.ZodObject<{
8549
8549
  pcb_component_id: z.ZodOptional<z.ZodString>;
8550
8550
  pcb_trace_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8551
8551
  pcb_group_id: z.ZodOptional<z.ZodString>;
8552
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
8552
8553
  subcircuit_id: z.ZodOptional<z.ZodString>;
8553
8554
  route_thickness_mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["constant", "interpolated"]>>>;
8554
8555
  route_order_index: z.ZodOptional<z.ZodNumber>;
@@ -8905,6 +8906,7 @@ declare const pcb_trace: z.ZodObject<{
8905
8906
  subcircuit_id?: string | undefined;
8906
8907
  pcb_group_id?: string | undefined;
8907
8908
  source_trace_id?: string | undefined;
8909
+ pcb_panel_id?: string | undefined;
8908
8910
  route_thickness_mode?: "constant" | "interpolated" | undefined;
8909
8911
  route_order_index?: number | undefined;
8910
8912
  should_round_corners?: boolean | undefined;
@@ -8969,6 +8971,7 @@ declare const pcb_trace: z.ZodObject<{
8969
8971
  pcb_group_id?: string | undefined;
8970
8972
  source_trace_id?: string | undefined;
8971
8973
  pcb_trace_id?: string | undefined;
8974
+ pcb_panel_id?: string | undefined;
8972
8975
  route_thickness_mode?: "constant" | "interpolated" | undefined;
8973
8976
  route_order_index?: number | undefined;
8974
8977
  should_round_corners?: boolean | undefined;
@@ -9024,6 +9027,8 @@ interface PcbTrace {
9024
9027
  source_trace_id?: string;
9025
9028
  pcb_component_id?: string;
9026
9029
  pcb_group_id?: string;
9030
+ /** Owning manufacturing panel for copper connecting its child boards. */
9031
+ pcb_panel_id?: string;
9027
9032
  subcircuit_id?: string;
9028
9033
  pcb_trace_id: string;
9029
9034
  /**
@@ -10536,6 +10541,7 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
10536
10541
  type: z.ZodLiteral<"pcb_via">;
10537
10542
  pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10538
10543
  pcb_group_id: z.ZodOptional<z.ZodString>;
10544
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
10539
10545
  subcircuit_id: z.ZodOptional<z.ZodString>;
10540
10546
  subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
10541
10547
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10618,6 +10624,7 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
10618
10624
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
10619
10625
  source_trace_id?: string | undefined;
10620
10626
  pcb_trace_id?: string | undefined;
10627
+ pcb_panel_id?: string | undefined;
10621
10628
  pcb_port_ids?: string[] | undefined;
10622
10629
  source_net_id?: string | undefined;
10623
10630
  subcircuit_connectivity_map_key?: string | undefined;
@@ -10648,6 +10655,7 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
10648
10655
  } | undefined;
10649
10656
  source_trace_id?: string | undefined;
10650
10657
  pcb_trace_id?: string | undefined;
10658
+ pcb_panel_id?: string | undefined;
10651
10659
  pcb_port_ids?: string[] | undefined;
10652
10660
  source_net_id?: string | undefined;
10653
10661
  pcb_via_id?: string | undefined;
@@ -10678,6 +10686,7 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
10678
10686
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
10679
10687
  source_trace_id?: string | undefined;
10680
10688
  pcb_trace_id?: string | undefined;
10689
+ pcb_panel_id?: string | undefined;
10681
10690
  pcb_port_ids?: string[] | undefined;
10682
10691
  source_net_id?: string | undefined;
10683
10692
  subcircuit_connectivity_map_key?: string | undefined;
@@ -10707,6 +10716,7 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
10707
10716
  } | undefined;
10708
10717
  source_trace_id?: string | undefined;
10709
10718
  pcb_trace_id?: string | undefined;
10719
+ pcb_panel_id?: string | undefined;
10710
10720
  pcb_port_ids?: string[] | undefined;
10711
10721
  source_net_id?: string | undefined;
10712
10722
  pcb_via_id?: string | undefined;
@@ -10729,6 +10739,8 @@ interface PcbVia {
10729
10739
  type: "pcb_via";
10730
10740
  pcb_via_id: string;
10731
10741
  pcb_group_id?: string;
10742
+ /** Owning manufacturing panel for copper connecting its child boards. */
10743
+ pcb_panel_id?: string;
10732
10744
  subcircuit_id?: string;
10733
10745
  subcircuit_connectivity_map_key?: string;
10734
10746
  x: Distance;
@@ -11876,16 +11888,16 @@ declare const pcb_panelization_placement_error: z.ZodObject<{
11876
11888
  pcb_panelization_placement_error_id: string;
11877
11889
  pcb_board_id?: string | undefined;
11878
11890
  subcircuit_id?: string | undefined;
11879
- is_fatal?: boolean | undefined;
11880
11891
  pcb_panel_id?: string | undefined;
11892
+ is_fatal?: boolean | undefined;
11881
11893
  }, {
11882
11894
  message: string;
11883
11895
  type: "pcb_panelization_placement_error";
11884
11896
  pcb_board_id?: string | undefined;
11885
11897
  subcircuit_id?: string | undefined;
11898
+ pcb_panel_id?: string | undefined;
11886
11899
  error_type?: "pcb_panelization_placement_error" | undefined;
11887
11900
  is_fatal?: boolean | undefined;
11888
- pcb_panel_id?: string | undefined;
11889
11901
  pcb_panelization_placement_error_id?: string | undefined;
11890
11902
  }>;
11891
11903
  type PcbPanelizationPlacementErrorInput = z.input<typeof pcb_panelization_placement_error>;
@@ -50638,6 +50650,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
50638
50650
  pcb_component_id: z.ZodOptional<z.ZodString>;
50639
50651
  pcb_trace_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
50640
50652
  pcb_group_id: z.ZodOptional<z.ZodString>;
50653
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
50641
50654
  subcircuit_id: z.ZodOptional<z.ZodString>;
50642
50655
  route_thickness_mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["constant", "interpolated"]>>>;
50643
50656
  route_order_index: z.ZodOptional<z.ZodNumber>;
@@ -50994,6 +51007,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
50994
51007
  subcircuit_id?: string | undefined;
50995
51008
  pcb_group_id?: string | undefined;
50996
51009
  source_trace_id?: string | undefined;
51010
+ pcb_panel_id?: string | undefined;
50997
51011
  route_thickness_mode?: "constant" | "interpolated" | undefined;
50998
51012
  route_order_index?: number | undefined;
50999
51013
  should_round_corners?: boolean | undefined;
@@ -51058,6 +51072,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
51058
51072
  pcb_group_id?: string | undefined;
51059
51073
  source_trace_id?: string | undefined;
51060
51074
  pcb_trace_id?: string | undefined;
51075
+ pcb_panel_id?: string | undefined;
51061
51076
  route_thickness_mode?: "constant" | "interpolated" | undefined;
51062
51077
  route_order_index?: number | undefined;
51063
51078
  should_round_corners?: boolean | undefined;
@@ -51425,6 +51440,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
51425
51440
  type: z.ZodLiteral<"pcb_via">;
51426
51441
  pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
51427
51442
  pcb_group_id: z.ZodOptional<z.ZodString>;
51443
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
51428
51444
  subcircuit_id: z.ZodOptional<z.ZodString>;
51429
51445
  subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
51430
51446
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -51503,6 +51519,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
51503
51519
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
51504
51520
  source_trace_id?: string | undefined;
51505
51521
  pcb_trace_id?: string | undefined;
51522
+ pcb_panel_id?: string | undefined;
51506
51523
  pcb_port_ids?: string[] | undefined;
51507
51524
  source_net_id?: string | undefined;
51508
51525
  subcircuit_connectivity_map_key?: string | undefined;
@@ -51533,6 +51550,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
51533
51550
  } | undefined;
51534
51551
  source_trace_id?: string | undefined;
51535
51552
  pcb_trace_id?: string | undefined;
51553
+ pcb_panel_id?: string | undefined;
51536
51554
  pcb_port_ids?: string[] | undefined;
51537
51555
  source_net_id?: string | undefined;
51538
51556
  pcb_via_id?: string | undefined;
@@ -51563,6 +51581,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
51563
51581
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
51564
51582
  source_trace_id?: string | undefined;
51565
51583
  pcb_trace_id?: string | undefined;
51584
+ pcb_panel_id?: string | undefined;
51566
51585
  pcb_port_ids?: string[] | undefined;
51567
51586
  source_net_id?: string | undefined;
51568
51587
  subcircuit_connectivity_map_key?: string | undefined;
@@ -51592,6 +51611,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
51592
51611
  } | undefined;
51593
51612
  source_trace_id?: string | undefined;
51594
51613
  pcb_trace_id?: string | undefined;
51614
+ pcb_panel_id?: string | undefined;
51595
51615
  pcb_port_ids?: string[] | undefined;
51596
51616
  source_net_id?: string | undefined;
51597
51617
  pcb_via_id?: string | undefined;
@@ -54858,16 +54878,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
54858
54878
  pcb_panelization_placement_error_id: string;
54859
54879
  pcb_board_id?: string | undefined;
54860
54880
  subcircuit_id?: string | undefined;
54861
- is_fatal?: boolean | undefined;
54862
54881
  pcb_panel_id?: string | undefined;
54882
+ is_fatal?: boolean | undefined;
54863
54883
  }, {
54864
54884
  message: string;
54865
54885
  type: "pcb_panelization_placement_error";
54866
54886
  pcb_board_id?: string | undefined;
54867
54887
  subcircuit_id?: string | undefined;
54888
+ pcb_panel_id?: string | undefined;
54868
54889
  error_type?: "pcb_panelization_placement_error" | undefined;
54869
54890
  is_fatal?: boolean | undefined;
54870
- pcb_panel_id?: string | undefined;
54871
54891
  pcb_panelization_placement_error_id?: string | undefined;
54872
54892
  }>, z.ZodObject<{
54873
54893
  message: z.ZodString;
@@ -75913,6 +75933,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
75913
75933
  pcb_component_id: z.ZodOptional<z.ZodString>;
75914
75934
  pcb_trace_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
75915
75935
  pcb_group_id: z.ZodOptional<z.ZodString>;
75936
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
75916
75937
  subcircuit_id: z.ZodOptional<z.ZodString>;
75917
75938
  route_thickness_mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["constant", "interpolated"]>>>;
75918
75939
  route_order_index: z.ZodOptional<z.ZodNumber>;
@@ -76269,6 +76290,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
76269
76290
  subcircuit_id?: string | undefined;
76270
76291
  pcb_group_id?: string | undefined;
76271
76292
  source_trace_id?: string | undefined;
76293
+ pcb_panel_id?: string | undefined;
76272
76294
  route_thickness_mode?: "constant" | "interpolated" | undefined;
76273
76295
  route_order_index?: number | undefined;
76274
76296
  should_round_corners?: boolean | undefined;
@@ -76333,6 +76355,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
76333
76355
  pcb_group_id?: string | undefined;
76334
76356
  source_trace_id?: string | undefined;
76335
76357
  pcb_trace_id?: string | undefined;
76358
+ pcb_panel_id?: string | undefined;
76336
76359
  route_thickness_mode?: "constant" | "interpolated" | undefined;
76337
76360
  route_order_index?: number | undefined;
76338
76361
  should_round_corners?: boolean | undefined;
@@ -76700,6 +76723,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
76700
76723
  type: z.ZodLiteral<"pcb_via">;
76701
76724
  pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
76702
76725
  pcb_group_id: z.ZodOptional<z.ZodString>;
76726
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
76703
76727
  subcircuit_id: z.ZodOptional<z.ZodString>;
76704
76728
  subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
76705
76729
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -76778,6 +76802,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
76778
76802
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
76779
76803
  source_trace_id?: string | undefined;
76780
76804
  pcb_trace_id?: string | undefined;
76805
+ pcb_panel_id?: string | undefined;
76781
76806
  pcb_port_ids?: string[] | undefined;
76782
76807
  source_net_id?: string | undefined;
76783
76808
  subcircuit_connectivity_map_key?: string | undefined;
@@ -76808,6 +76833,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
76808
76833
  } | undefined;
76809
76834
  source_trace_id?: string | undefined;
76810
76835
  pcb_trace_id?: string | undefined;
76836
+ pcb_panel_id?: string | undefined;
76811
76837
  pcb_port_ids?: string[] | undefined;
76812
76838
  source_net_id?: string | undefined;
76813
76839
  pcb_via_id?: string | undefined;
@@ -76838,6 +76864,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
76838
76864
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
76839
76865
  source_trace_id?: string | undefined;
76840
76866
  pcb_trace_id?: string | undefined;
76867
+ pcb_panel_id?: string | undefined;
76841
76868
  pcb_port_ids?: string[] | undefined;
76842
76869
  source_net_id?: string | undefined;
76843
76870
  subcircuit_connectivity_map_key?: string | undefined;
@@ -76867,6 +76894,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
76867
76894
  } | undefined;
76868
76895
  source_trace_id?: string | undefined;
76869
76896
  pcb_trace_id?: string | undefined;
76897
+ pcb_panel_id?: string | undefined;
76870
76898
  pcb_port_ids?: string[] | undefined;
76871
76899
  source_net_id?: string | undefined;
76872
76900
  pcb_via_id?: string | undefined;
@@ -80133,16 +80161,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
80133
80161
  pcb_panelization_placement_error_id: string;
80134
80162
  pcb_board_id?: string | undefined;
80135
80163
  subcircuit_id?: string | undefined;
80136
- is_fatal?: boolean | undefined;
80137
80164
  pcb_panel_id?: string | undefined;
80165
+ is_fatal?: boolean | undefined;
80138
80166
  }, {
80139
80167
  message: string;
80140
80168
  type: "pcb_panelization_placement_error";
80141
80169
  pcb_board_id?: string | undefined;
80142
80170
  subcircuit_id?: string | undefined;
80171
+ pcb_panel_id?: string | undefined;
80143
80172
  error_type?: "pcb_panelization_placement_error" | undefined;
80144
80173
  is_fatal?: boolean | undefined;
80145
- pcb_panel_id?: string | undefined;
80146
80174
  pcb_panelization_placement_error_id?: string | undefined;
80147
80175
  }>, z.ZodObject<{
80148
80176
  message: z.ZodString;
package/dist/index.mjs CHANGED
@@ -2904,6 +2904,7 @@ var pcb_trace = z126.object({
2904
2904
  pcb_component_id: z126.string().optional(),
2905
2905
  pcb_trace_id: getZodPrefixedIdWithDefault("pcb_trace"),
2906
2906
  pcb_group_id: z126.string().optional(),
2907
+ pcb_panel_id: z126.string().optional(),
2907
2908
  subcircuit_id: z126.string().optional(),
2908
2909
  route_thickness_mode: z126.enum(["constant", "interpolated"]).default("constant").optional(),
2909
2910
  route_order_index: z126.number().optional(),
@@ -3252,6 +3253,7 @@ var pcb_via = z141.object({
3252
3253
  type: z141.literal("pcb_via"),
3253
3254
  pcb_via_id: getZodPrefixedIdWithDefault("pcb_via"),
3254
3255
  pcb_group_id: z141.string().optional(),
3256
+ pcb_panel_id: z141.string().optional(),
3255
3257
  subcircuit_id: z141.string().optional(),
3256
3258
  subcircuit_connectivity_map_key: z141.string().optional(),
3257
3259
  x: distance,