circuit-json 0.0.213 → 0.0.215

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
@@ -3525,6 +3525,14 @@ declare const pcb_group: z.ZodObject<{
3525
3525
  pcb_component_ids: z.ZodArray<z.ZodString, "many">;
3526
3526
  name: z.ZodOptional<z.ZodString>;
3527
3527
  description: z.ZodOptional<z.ZodString>;
3528
+ autorouter_configuration: z.ZodOptional<z.ZodObject<{
3529
+ trace_clearance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3530
+ }, "strip", z.ZodTypeAny, {
3531
+ trace_clearance: number;
3532
+ }, {
3533
+ trace_clearance: string | number;
3534
+ }>>;
3535
+ autorouter_used_string: z.ZodOptional<z.ZodString>;
3528
3536
  }, "strip", z.ZodTypeAny, {
3529
3537
  type: "pcb_group";
3530
3538
  width: number;
@@ -3540,6 +3548,10 @@ declare const pcb_group: z.ZodObject<{
3540
3548
  name?: string | undefined;
3541
3549
  subcircuit_id?: string | undefined;
3542
3550
  is_subcircuit?: boolean | undefined;
3551
+ autorouter_configuration?: {
3552
+ trace_clearance: number;
3553
+ } | undefined;
3554
+ autorouter_used_string?: string | undefined;
3543
3555
  }, {
3544
3556
  type: "pcb_group";
3545
3557
  width: string | number;
@@ -3555,6 +3567,10 @@ declare const pcb_group: z.ZodObject<{
3555
3567
  subcircuit_id?: string | undefined;
3556
3568
  pcb_group_id?: string | undefined;
3557
3569
  is_subcircuit?: boolean | undefined;
3570
+ autorouter_configuration?: {
3571
+ trace_clearance: string | number;
3572
+ } | undefined;
3573
+ autorouter_used_string?: string | undefined;
3558
3574
  }>;
3559
3575
  type PcbGroupInput = z.input<typeof pcb_group>;
3560
3576
  /**
@@ -3572,6 +3588,10 @@ interface PcbGroup {
3572
3588
  pcb_component_ids: string[];
3573
3589
  name?: string;
3574
3590
  description?: string;
3591
+ autorouter_configuration?: {
3592
+ trace_clearance: Length;
3593
+ };
3594
+ autorouter_used_string?: string;
3575
3595
  }
3576
3596
 
3577
3597
  declare const pcb_autorouting_error: z.ZodObject<{
@@ -4671,6 +4691,7 @@ interface SchematicPort {
4671
4691
  pin_number?: number;
4672
4692
  display_pin_label?: string;
4673
4693
  subcircuit_id?: string;
4694
+ is_connected?: boolean;
4674
4695
  }
4675
4696
  declare const schematic_port: z.ZodObject<{
4676
4697
  type: z.ZodLiteral<"schematic_port">;
@@ -4694,6 +4715,7 @@ declare const schematic_port: z.ZodObject<{
4694
4715
  pin_number: z.ZodOptional<z.ZodNumber>;
4695
4716
  display_pin_label: z.ZodOptional<z.ZodString>;
4696
4717
  subcircuit_id: z.ZodOptional<z.ZodString>;
4718
+ is_connected: z.ZodOptional<z.ZodBoolean>;
4697
4719
  }, "strip", z.ZodTypeAny, {
4698
4720
  type: "schematic_port";
4699
4721
  center: {
@@ -4710,6 +4732,7 @@ declare const schematic_port: z.ZodObject<{
4710
4732
  true_ccw_index?: number | undefined;
4711
4733
  pin_number?: number | undefined;
4712
4734
  display_pin_label?: string | undefined;
4735
+ is_connected?: boolean | undefined;
4713
4736
  }, {
4714
4737
  type: "schematic_port";
4715
4738
  center: {
@@ -4726,6 +4749,7 @@ declare const schematic_port: z.ZodObject<{
4726
4749
  true_ccw_index?: number | undefined;
4727
4750
  pin_number?: number | undefined;
4728
4751
  display_pin_label?: string | undefined;
4752
+ is_connected?: boolean | undefined;
4729
4753
  }>;
4730
4754
  type SchematicPortInput = z.input<typeof schematic_port>;
4731
4755
 
@@ -10874,6 +10898,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10874
10898
  pcb_component_ids: z.ZodArray<z.ZodString, "many">;
10875
10899
  name: z.ZodOptional<z.ZodString>;
10876
10900
  description: z.ZodOptional<z.ZodString>;
10901
+ autorouter_configuration: z.ZodOptional<z.ZodObject<{
10902
+ trace_clearance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10903
+ }, "strip", z.ZodTypeAny, {
10904
+ trace_clearance: number;
10905
+ }, {
10906
+ trace_clearance: string | number;
10907
+ }>>;
10908
+ autorouter_used_string: z.ZodOptional<z.ZodString>;
10877
10909
  }, "strip", z.ZodTypeAny, {
10878
10910
  type: "pcb_group";
10879
10911
  width: number;
@@ -10889,6 +10921,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10889
10921
  name?: string | undefined;
10890
10922
  subcircuit_id?: string | undefined;
10891
10923
  is_subcircuit?: boolean | undefined;
10924
+ autorouter_configuration?: {
10925
+ trace_clearance: number;
10926
+ } | undefined;
10927
+ autorouter_used_string?: string | undefined;
10892
10928
  }, {
10893
10929
  type: "pcb_group";
10894
10930
  width: string | number;
@@ -10904,6 +10940,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10904
10940
  subcircuit_id?: string | undefined;
10905
10941
  pcb_group_id?: string | undefined;
10906
10942
  is_subcircuit?: boolean | undefined;
10943
+ autorouter_configuration?: {
10944
+ trace_clearance: string | number;
10945
+ } | undefined;
10946
+ autorouter_used_string?: string | undefined;
10907
10947
  }>, z.ZodObject<{
10908
10948
  type: z.ZodLiteral<"pcb_trace_hint">;
10909
10949
  pcb_trace_hint_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -12091,6 +12131,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12091
12131
  pin_number: z.ZodOptional<z.ZodNumber>;
12092
12132
  display_pin_label: z.ZodOptional<z.ZodString>;
12093
12133
  subcircuit_id: z.ZodOptional<z.ZodString>;
12134
+ is_connected: z.ZodOptional<z.ZodBoolean>;
12094
12135
  }, "strip", z.ZodTypeAny, {
12095
12136
  type: "schematic_port";
12096
12137
  center: {
@@ -12107,6 +12148,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12107
12148
  true_ccw_index?: number | undefined;
12108
12149
  pin_number?: number | undefined;
12109
12150
  display_pin_label?: string | undefined;
12151
+ is_connected?: boolean | undefined;
12110
12152
  }, {
12111
12153
  type: "schematic_port";
12112
12154
  center: {
@@ -12123,6 +12165,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12123
12165
  true_ccw_index?: number | undefined;
12124
12166
  pin_number?: number | undefined;
12125
12167
  display_pin_label?: string | undefined;
12168
+ is_connected?: boolean | undefined;
12126
12169
  }>, z.ZodObject<{
12127
12170
  type: z.ZodLiteral<"schematic_trace">;
12128
12171
  schematic_trace_id: z.ZodString;
@@ -15866,6 +15909,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15866
15909
  pcb_component_ids: z.ZodArray<z.ZodString, "many">;
15867
15910
  name: z.ZodOptional<z.ZodString>;
15868
15911
  description: z.ZodOptional<z.ZodString>;
15912
+ autorouter_configuration: z.ZodOptional<z.ZodObject<{
15913
+ trace_clearance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15914
+ }, "strip", z.ZodTypeAny, {
15915
+ trace_clearance: number;
15916
+ }, {
15917
+ trace_clearance: string | number;
15918
+ }>>;
15919
+ autorouter_used_string: z.ZodOptional<z.ZodString>;
15869
15920
  }, "strip", z.ZodTypeAny, {
15870
15921
  type: "pcb_group";
15871
15922
  width: number;
@@ -15881,6 +15932,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15881
15932
  name?: string | undefined;
15882
15933
  subcircuit_id?: string | undefined;
15883
15934
  is_subcircuit?: boolean | undefined;
15935
+ autorouter_configuration?: {
15936
+ trace_clearance: number;
15937
+ } | undefined;
15938
+ autorouter_used_string?: string | undefined;
15884
15939
  }, {
15885
15940
  type: "pcb_group";
15886
15941
  width: string | number;
@@ -15896,6 +15951,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15896
15951
  subcircuit_id?: string | undefined;
15897
15952
  pcb_group_id?: string | undefined;
15898
15953
  is_subcircuit?: boolean | undefined;
15954
+ autorouter_configuration?: {
15955
+ trace_clearance: string | number;
15956
+ } | undefined;
15957
+ autorouter_used_string?: string | undefined;
15899
15958
  }>, z.ZodObject<{
15900
15959
  type: z.ZodLiteral<"pcb_trace_hint">;
15901
15960
  pcb_trace_hint_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -17083,6 +17142,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
17083
17142
  pin_number: z.ZodOptional<z.ZodNumber>;
17084
17143
  display_pin_label: z.ZodOptional<z.ZodString>;
17085
17144
  subcircuit_id: z.ZodOptional<z.ZodString>;
17145
+ is_connected: z.ZodOptional<z.ZodBoolean>;
17086
17146
  }, "strip", z.ZodTypeAny, {
17087
17147
  type: "schematic_port";
17088
17148
  center: {
@@ -17099,6 +17159,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
17099
17159
  true_ccw_index?: number | undefined;
17100
17160
  pin_number?: number | undefined;
17101
17161
  display_pin_label?: string | undefined;
17162
+ is_connected?: boolean | undefined;
17102
17163
  }, {
17103
17164
  type: "schematic_port";
17104
17165
  center: {
@@ -17115,6 +17176,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
17115
17176
  true_ccw_index?: number | undefined;
17116
17177
  pin_number?: number | undefined;
17117
17178
  display_pin_label?: string | undefined;
17179
+ is_connected?: boolean | undefined;
17118
17180
  }>, z.ZodObject<{
17119
17181
  type: z.ZodLiteral<"schematic_trace">;
17120
17182
  schematic_trace_id: z.ZodString;
package/dist/index.mjs CHANGED
@@ -823,7 +823,8 @@ var schematic_port = z44.object({
823
823
  true_ccw_index: z44.number().optional(),
824
824
  pin_number: z44.number().optional(),
825
825
  display_pin_label: z44.string().optional(),
826
- subcircuit_id: z44.string().optional()
826
+ subcircuit_id: z44.string().optional(),
827
+ is_connected: z44.boolean().optional()
827
828
  }).describe("Defines a port on a schematic component");
828
829
  expectTypesMatch(true);
829
830
 
@@ -1703,7 +1704,11 @@ var pcb_group = z80.object({
1703
1704
  center: point,
1704
1705
  pcb_component_ids: z80.array(z80.string()),
1705
1706
  name: z80.string().optional(),
1706
- description: z80.string().optional()
1707
+ description: z80.string().optional(),
1708
+ autorouter_configuration: z80.object({
1709
+ trace_clearance: length
1710
+ }).optional(),
1711
+ autorouter_used_string: z80.string().optional()
1707
1712
  }).describe("Defines a group of components on the PCB");
1708
1713
  expectTypesMatch(true);
1709
1714