circuit-json 0.0.98 → 0.0.100
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 +378 -79
- package/dist/index.mjs +387 -374
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -280,39 +280,6 @@ declare const source_simple_chip: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
280
280
|
type SourceSimpleChip = z.infer<typeof source_simple_chip>;
|
|
281
281
|
type SourceSimpleChipInput = z.input<typeof source_simple_chip>;
|
|
282
282
|
|
|
283
|
-
declare const source_simple_inductor: z.ZodObject<z.objectUtil.extendShape<{
|
|
284
|
-
type: z.ZodLiteral<"source_component">;
|
|
285
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
286
|
-
source_component_id: z.ZodString;
|
|
287
|
-
name: z.ZodString;
|
|
288
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
289
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
290
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
291
|
-
}, {
|
|
292
|
-
ftype: z.ZodLiteral<"simple_inductor">;
|
|
293
|
-
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
294
|
-
}>, "strip", z.ZodTypeAny, {
|
|
295
|
-
type: "source_component";
|
|
296
|
-
ftype: "simple_inductor";
|
|
297
|
-
source_component_id: string;
|
|
298
|
-
name: string;
|
|
299
|
-
inductance: number;
|
|
300
|
-
manufacturer_part_number?: string | undefined;
|
|
301
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
302
|
-
display_value?: string | undefined;
|
|
303
|
-
}, {
|
|
304
|
-
type: "source_component";
|
|
305
|
-
ftype: "simple_inductor";
|
|
306
|
-
source_component_id: string;
|
|
307
|
-
name: string;
|
|
308
|
-
inductance: string | number;
|
|
309
|
-
manufacturer_part_number?: string | undefined;
|
|
310
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
311
|
-
display_value?: string | undefined;
|
|
312
|
-
}>;
|
|
313
|
-
type SourceSimpleInductor = z.infer<typeof source_simple_inductor>;
|
|
314
|
-
type SourceSimpleInductorInput = z.input<typeof source_simple_inductor>;
|
|
315
|
-
|
|
316
283
|
declare const source_led: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
317
284
|
type: z.ZodLiteral<"source_component">;
|
|
318
285
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -655,6 +622,32 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
655
622
|
manufacturer_part_number?: string | undefined;
|
|
656
623
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
657
624
|
display_value?: string | undefined;
|
|
625
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
626
|
+
type: z.ZodLiteral<"source_component">;
|
|
627
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
628
|
+
source_component_id: z.ZodString;
|
|
629
|
+
name: z.ZodString;
|
|
630
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
631
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
632
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
633
|
+
}, {
|
|
634
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
635
|
+
}>, "strip", z.ZodTypeAny, {
|
|
636
|
+
type: "source_component";
|
|
637
|
+
ftype: "simple_push_button";
|
|
638
|
+
source_component_id: string;
|
|
639
|
+
name: string;
|
|
640
|
+
manufacturer_part_number?: string | undefined;
|
|
641
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
642
|
+
display_value?: string | undefined;
|
|
643
|
+
}, {
|
|
644
|
+
type: "source_component";
|
|
645
|
+
ftype: "simple_push_button";
|
|
646
|
+
source_component_id: string;
|
|
647
|
+
name: string;
|
|
648
|
+
manufacturer_part_number?: string | undefined;
|
|
649
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
650
|
+
display_value?: string | undefined;
|
|
658
651
|
}>]>;
|
|
659
652
|
type AnySourceComponent = z.infer<typeof any_source_component>;
|
|
660
653
|
|
|
@@ -819,6 +812,69 @@ declare const source_simple_battery: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
819
812
|
type SourceSimpleBattery = z.infer<typeof source_simple_battery>;
|
|
820
813
|
type SourceSimpleBatteryInput = z.input<typeof source_simple_battery>;
|
|
821
814
|
|
|
815
|
+
declare const source_simple_inductor: z.ZodObject<z.objectUtil.extendShape<{
|
|
816
|
+
type: z.ZodLiteral<"source_component">;
|
|
817
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
818
|
+
source_component_id: z.ZodString;
|
|
819
|
+
name: z.ZodString;
|
|
820
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
821
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
822
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
823
|
+
}, {
|
|
824
|
+
ftype: z.ZodLiteral<"simple_inductor">;
|
|
825
|
+
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
826
|
+
}>, "strip", z.ZodTypeAny, {
|
|
827
|
+
type: "source_component";
|
|
828
|
+
ftype: "simple_inductor";
|
|
829
|
+
source_component_id: string;
|
|
830
|
+
name: string;
|
|
831
|
+
inductance: number;
|
|
832
|
+
manufacturer_part_number?: string | undefined;
|
|
833
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
834
|
+
display_value?: string | undefined;
|
|
835
|
+
}, {
|
|
836
|
+
type: "source_component";
|
|
837
|
+
ftype: "simple_inductor";
|
|
838
|
+
source_component_id: string;
|
|
839
|
+
name: string;
|
|
840
|
+
inductance: string | number;
|
|
841
|
+
manufacturer_part_number?: string | undefined;
|
|
842
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
843
|
+
display_value?: string | undefined;
|
|
844
|
+
}>;
|
|
845
|
+
type SourceSimpleInductor = z.infer<typeof source_simple_inductor>;
|
|
846
|
+
type SourceSimpleInductorInput = z.input<typeof source_simple_inductor>;
|
|
847
|
+
|
|
848
|
+
declare const source_simple_push_button: z.ZodObject<z.objectUtil.extendShape<{
|
|
849
|
+
type: z.ZodLiteral<"source_component">;
|
|
850
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
851
|
+
source_component_id: z.ZodString;
|
|
852
|
+
name: z.ZodString;
|
|
853
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
854
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
855
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
856
|
+
}, {
|
|
857
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
858
|
+
}>, "strip", z.ZodTypeAny, {
|
|
859
|
+
type: "source_component";
|
|
860
|
+
ftype: "simple_push_button";
|
|
861
|
+
source_component_id: string;
|
|
862
|
+
name: string;
|
|
863
|
+
manufacturer_part_number?: string | undefined;
|
|
864
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
865
|
+
display_value?: string | undefined;
|
|
866
|
+
}, {
|
|
867
|
+
type: "source_component";
|
|
868
|
+
ftype: "simple_push_button";
|
|
869
|
+
source_component_id: string;
|
|
870
|
+
name: string;
|
|
871
|
+
manufacturer_part_number?: string | undefined;
|
|
872
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
873
|
+
display_value?: string | undefined;
|
|
874
|
+
}>;
|
|
875
|
+
type SourceSimplePushbutton = z.infer<typeof source_simple_push_button>;
|
|
876
|
+
type SourceSimplePushbuttonInput = z.input<typeof source_simple_push_button>;
|
|
877
|
+
|
|
822
878
|
declare const schematic_box: z.ZodObject<{
|
|
823
879
|
type: z.ZodLiteral<"schematic_box">;
|
|
824
880
|
schematic_component_id: z.ZodString;
|
|
@@ -1641,8 +1697,19 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
1641
1697
|
x: string | number;
|
|
1642
1698
|
y: string | number;
|
|
1643
1699
|
}>;
|
|
1700
|
+
anchor_position: z.ZodOptional<z.ZodObject<{
|
|
1701
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1702
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1703
|
+
}, "strip", z.ZodTypeAny, {
|
|
1704
|
+
x: number;
|
|
1705
|
+
y: number;
|
|
1706
|
+
}, {
|
|
1707
|
+
x: string | number;
|
|
1708
|
+
y: string | number;
|
|
1709
|
+
}>>;
|
|
1644
1710
|
anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
|
|
1645
1711
|
text: z.ZodString;
|
|
1712
|
+
symbol_name: z.ZodOptional<z.ZodString>;
|
|
1646
1713
|
}, "strip", z.ZodTypeAny, {
|
|
1647
1714
|
type: "schematic_net_label";
|
|
1648
1715
|
source_net_id: string;
|
|
@@ -1652,6 +1719,11 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
1652
1719
|
};
|
|
1653
1720
|
text: string;
|
|
1654
1721
|
anchor_side: "left" | "right" | "top" | "bottom";
|
|
1722
|
+
symbol_name?: string | undefined;
|
|
1723
|
+
anchor_position?: {
|
|
1724
|
+
x: number;
|
|
1725
|
+
y: number;
|
|
1726
|
+
} | undefined;
|
|
1655
1727
|
}, {
|
|
1656
1728
|
type: "schematic_net_label";
|
|
1657
1729
|
source_net_id: string;
|
|
@@ -1661,6 +1733,11 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
1661
1733
|
};
|
|
1662
1734
|
text: string;
|
|
1663
1735
|
anchor_side: "left" | "right" | "top" | "bottom";
|
|
1736
|
+
symbol_name?: string | undefined;
|
|
1737
|
+
anchor_position?: {
|
|
1738
|
+
x: string | number;
|
|
1739
|
+
y: string | number;
|
|
1740
|
+
} | undefined;
|
|
1664
1741
|
}>;
|
|
1665
1742
|
type SchematicNetLabelInput = z.input<typeof schematic_net_label>;
|
|
1666
1743
|
type SchematicNetLabel = z.infer<typeof schematic_net_label>;
|
|
@@ -1956,9 +2033,27 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
1956
2033
|
shape: "point";
|
|
1957
2034
|
label?: string | undefined;
|
|
1958
2035
|
}>]>;
|
|
1959
|
-
|
|
1960
|
-
type
|
|
1961
|
-
|
|
2036
|
+
interface SchematicDebugRect {
|
|
2037
|
+
type: "schematic_debug_object";
|
|
2038
|
+
label?: string;
|
|
2039
|
+
shape: "rect";
|
|
2040
|
+
center: Point;
|
|
2041
|
+
size: Size;
|
|
2042
|
+
}
|
|
2043
|
+
interface SchematicDebugLine {
|
|
2044
|
+
type: "schematic_debug_object";
|
|
2045
|
+
label?: string;
|
|
2046
|
+
shape: "line";
|
|
2047
|
+
start: Point;
|
|
2048
|
+
end: Point;
|
|
2049
|
+
}
|
|
2050
|
+
interface SchematicDebugPoint {
|
|
2051
|
+
type: "schematic_debug_object";
|
|
2052
|
+
label?: string;
|
|
2053
|
+
shape: "point";
|
|
2054
|
+
center: Point;
|
|
2055
|
+
}
|
|
2056
|
+
type SchematicDebugObject = SchematicDebugRect | SchematicDebugLine | SchematicDebugPoint;
|
|
1962
2057
|
type SchematicDebugObjectInput = z.input<typeof schematic_debug_object>;
|
|
1963
2058
|
|
|
1964
2059
|
declare const all_layers: readonly ["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"];
|
|
@@ -3604,15 +3699,15 @@ declare const pcb_silkscreen_text: z.ZodObject<{
|
|
|
3604
3699
|
}, "strip", z.ZodTypeAny, {
|
|
3605
3700
|
type: "pcb_silkscreen_text";
|
|
3606
3701
|
text: string;
|
|
3702
|
+
anchor_position: {
|
|
3703
|
+
x: number;
|
|
3704
|
+
y: number;
|
|
3705
|
+
};
|
|
3607
3706
|
pcb_component_id: string;
|
|
3608
3707
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3609
3708
|
pcb_silkscreen_text_id: string;
|
|
3610
3709
|
font: "tscircuit2024";
|
|
3611
3710
|
font_size: number;
|
|
3612
|
-
anchor_position: {
|
|
3613
|
-
x: number;
|
|
3614
|
-
y: number;
|
|
3615
|
-
};
|
|
3616
3711
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
3617
3712
|
is_mirrored?: boolean | undefined;
|
|
3618
3713
|
}, {
|
|
@@ -3622,14 +3717,14 @@ declare const pcb_silkscreen_text: z.ZodObject<{
|
|
|
3622
3717
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3623
3718
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3624
3719
|
};
|
|
3625
|
-
pcb_silkscreen_text_id?: string | undefined;
|
|
3626
|
-
font?: "tscircuit2024" | undefined;
|
|
3627
|
-
font_size?: string | number | undefined;
|
|
3628
|
-
is_mirrored?: boolean | undefined;
|
|
3629
3720
|
anchor_position?: {
|
|
3630
3721
|
x: string | number;
|
|
3631
3722
|
y: string | number;
|
|
3632
3723
|
} | undefined;
|
|
3724
|
+
pcb_silkscreen_text_id?: string | undefined;
|
|
3725
|
+
font?: "tscircuit2024" | undefined;
|
|
3726
|
+
font_size?: string | number | undefined;
|
|
3727
|
+
is_mirrored?: boolean | undefined;
|
|
3633
3728
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
3634
3729
|
}>;
|
|
3635
3730
|
type PcbSilkscreenTextInput = z.input<typeof pcb_silkscreen_text>;
|
|
@@ -3852,14 +3947,14 @@ declare const pcb_fabrication_note_text: z.ZodObject<{
|
|
|
3852
3947
|
}, "strip", z.ZodTypeAny, {
|
|
3853
3948
|
type: "pcb_fabrication_note_text";
|
|
3854
3949
|
text: string;
|
|
3855
|
-
pcb_component_id: string;
|
|
3856
|
-
layer: "top" | "bottom";
|
|
3857
|
-
font: "tscircuit2024";
|
|
3858
|
-
font_size: number;
|
|
3859
3950
|
anchor_position: {
|
|
3860
3951
|
x: number;
|
|
3861
3952
|
y: number;
|
|
3862
3953
|
};
|
|
3954
|
+
pcb_component_id: string;
|
|
3955
|
+
layer: "top" | "bottom";
|
|
3956
|
+
font: "tscircuit2024";
|
|
3957
|
+
font_size: number;
|
|
3863
3958
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
3864
3959
|
pcb_fabrication_note_text_id: string;
|
|
3865
3960
|
color?: string | undefined;
|
|
@@ -3869,12 +3964,12 @@ declare const pcb_fabrication_note_text: z.ZodObject<{
|
|
|
3869
3964
|
pcb_component_id: string;
|
|
3870
3965
|
layer: "top" | "bottom";
|
|
3871
3966
|
color?: string | undefined;
|
|
3872
|
-
font?: "tscircuit2024" | undefined;
|
|
3873
|
-
font_size?: string | number | undefined;
|
|
3874
3967
|
anchor_position?: {
|
|
3875
3968
|
x: string | number;
|
|
3876
3969
|
y: string | number;
|
|
3877
3970
|
} | undefined;
|
|
3971
|
+
font?: "tscircuit2024" | undefined;
|
|
3972
|
+
font_size?: string | number | undefined;
|
|
3878
3973
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
3879
3974
|
pcb_fabrication_note_text_id?: string | undefined;
|
|
3880
3975
|
}>;
|
|
@@ -4486,6 +4581,32 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4486
4581
|
manufacturer_part_number?: string | undefined;
|
|
4487
4582
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4488
4583
|
display_value?: string | undefined;
|
|
4584
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4585
|
+
type: z.ZodLiteral<"source_component">;
|
|
4586
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
4587
|
+
source_component_id: z.ZodString;
|
|
4588
|
+
name: z.ZodString;
|
|
4589
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
4590
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
4591
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
4592
|
+
}, {
|
|
4593
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
4594
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4595
|
+
type: "source_component";
|
|
4596
|
+
ftype: "simple_push_button";
|
|
4597
|
+
source_component_id: string;
|
|
4598
|
+
name: string;
|
|
4599
|
+
manufacturer_part_number?: string | undefined;
|
|
4600
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4601
|
+
display_value?: string | undefined;
|
|
4602
|
+
}, {
|
|
4603
|
+
type: "source_component";
|
|
4604
|
+
ftype: "simple_push_button";
|
|
4605
|
+
source_component_id: string;
|
|
4606
|
+
name: string;
|
|
4607
|
+
manufacturer_part_number?: string | undefined;
|
|
4608
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4609
|
+
display_value?: string | undefined;
|
|
4489
4610
|
}>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
4490
4611
|
type: z.ZodLiteral<"source_component">;
|
|
4491
4612
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -4750,6 +4871,61 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4750
4871
|
manufacturer_part_number?: string | undefined;
|
|
4751
4872
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4752
4873
|
display_value?: string | undefined;
|
|
4874
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4875
|
+
type: z.ZodLiteral<"source_component">;
|
|
4876
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
4877
|
+
source_component_id: z.ZodString;
|
|
4878
|
+
name: z.ZodString;
|
|
4879
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
4880
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
4881
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
4882
|
+
}, {
|
|
4883
|
+
ftype: z.ZodLiteral<"simple_inductor">;
|
|
4884
|
+
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4885
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4886
|
+
type: "source_component";
|
|
4887
|
+
ftype: "simple_inductor";
|
|
4888
|
+
source_component_id: string;
|
|
4889
|
+
name: string;
|
|
4890
|
+
inductance: number;
|
|
4891
|
+
manufacturer_part_number?: string | undefined;
|
|
4892
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4893
|
+
display_value?: string | undefined;
|
|
4894
|
+
}, {
|
|
4895
|
+
type: "source_component";
|
|
4896
|
+
ftype: "simple_inductor";
|
|
4897
|
+
source_component_id: string;
|
|
4898
|
+
name: string;
|
|
4899
|
+
inductance: string | number;
|
|
4900
|
+
manufacturer_part_number?: string | undefined;
|
|
4901
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4902
|
+
display_value?: string | undefined;
|
|
4903
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4904
|
+
type: z.ZodLiteral<"source_component">;
|
|
4905
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
4906
|
+
source_component_id: z.ZodString;
|
|
4907
|
+
name: z.ZodString;
|
|
4908
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
4909
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
4910
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
4911
|
+
}, {
|
|
4912
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
4913
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4914
|
+
type: "source_component";
|
|
4915
|
+
ftype: "simple_push_button";
|
|
4916
|
+
source_component_id: string;
|
|
4917
|
+
name: string;
|
|
4918
|
+
manufacturer_part_number?: string | undefined;
|
|
4919
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4920
|
+
display_value?: string | undefined;
|
|
4921
|
+
}, {
|
|
4922
|
+
type: "source_component";
|
|
4923
|
+
ftype: "simple_push_button";
|
|
4924
|
+
source_component_id: string;
|
|
4925
|
+
name: string;
|
|
4926
|
+
manufacturer_part_number?: string | undefined;
|
|
4927
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4928
|
+
display_value?: string | undefined;
|
|
4753
4929
|
}>, z.ZodObject<{
|
|
4754
4930
|
type: z.ZodLiteral<"pcb_component">;
|
|
4755
4931
|
pcb_component_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -5673,15 +5849,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
5673
5849
|
}, "strip", z.ZodTypeAny, {
|
|
5674
5850
|
type: "pcb_silkscreen_text";
|
|
5675
5851
|
text: string;
|
|
5852
|
+
anchor_position: {
|
|
5853
|
+
x: number;
|
|
5854
|
+
y: number;
|
|
5855
|
+
};
|
|
5676
5856
|
pcb_component_id: string;
|
|
5677
5857
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5678
5858
|
pcb_silkscreen_text_id: string;
|
|
5679
5859
|
font: "tscircuit2024";
|
|
5680
5860
|
font_size: number;
|
|
5681
|
-
anchor_position: {
|
|
5682
|
-
x: number;
|
|
5683
|
-
y: number;
|
|
5684
|
-
};
|
|
5685
5861
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
5686
5862
|
is_mirrored?: boolean | undefined;
|
|
5687
5863
|
}, {
|
|
@@ -5691,14 +5867,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
5691
5867
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5692
5868
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5693
5869
|
};
|
|
5694
|
-
pcb_silkscreen_text_id?: string | undefined;
|
|
5695
|
-
font?: "tscircuit2024" | undefined;
|
|
5696
|
-
font_size?: string | number | undefined;
|
|
5697
|
-
is_mirrored?: boolean | undefined;
|
|
5698
5870
|
anchor_position?: {
|
|
5699
5871
|
x: string | number;
|
|
5700
5872
|
y: string | number;
|
|
5701
5873
|
} | undefined;
|
|
5874
|
+
pcb_silkscreen_text_id?: string | undefined;
|
|
5875
|
+
font?: "tscircuit2024" | undefined;
|
|
5876
|
+
font_size?: string | number | undefined;
|
|
5877
|
+
is_mirrored?: boolean | undefined;
|
|
5702
5878
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
5703
5879
|
}>, z.ZodObject<{
|
|
5704
5880
|
type: z.ZodLiteral<"pcb_silkscreen_rect">;
|
|
@@ -5968,14 +6144,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
5968
6144
|
}, "strip", z.ZodTypeAny, {
|
|
5969
6145
|
type: "pcb_fabrication_note_text";
|
|
5970
6146
|
text: string;
|
|
5971
|
-
pcb_component_id: string;
|
|
5972
|
-
layer: "top" | "bottom";
|
|
5973
|
-
font: "tscircuit2024";
|
|
5974
|
-
font_size: number;
|
|
5975
6147
|
anchor_position: {
|
|
5976
6148
|
x: number;
|
|
5977
6149
|
y: number;
|
|
5978
6150
|
};
|
|
6151
|
+
pcb_component_id: string;
|
|
6152
|
+
layer: "top" | "bottom";
|
|
6153
|
+
font: "tscircuit2024";
|
|
6154
|
+
font_size: number;
|
|
5979
6155
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
5980
6156
|
pcb_fabrication_note_text_id: string;
|
|
5981
6157
|
color?: string | undefined;
|
|
@@ -5985,12 +6161,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
5985
6161
|
pcb_component_id: string;
|
|
5986
6162
|
layer: "top" | "bottom";
|
|
5987
6163
|
color?: string | undefined;
|
|
5988
|
-
font?: "tscircuit2024" | undefined;
|
|
5989
|
-
font_size?: string | number | undefined;
|
|
5990
6164
|
anchor_position?: {
|
|
5991
6165
|
x: string | number;
|
|
5992
6166
|
y: string | number;
|
|
5993
6167
|
} | undefined;
|
|
6168
|
+
font?: "tscircuit2024" | undefined;
|
|
6169
|
+
font_size?: string | number | undefined;
|
|
5994
6170
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
5995
6171
|
pcb_fabrication_note_text_id?: string | undefined;
|
|
5996
6172
|
}>, z.ZodObject<{
|
|
@@ -6525,8 +6701,19 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6525
6701
|
x: string | number;
|
|
6526
6702
|
y: string | number;
|
|
6527
6703
|
}>;
|
|
6704
|
+
anchor_position: z.ZodOptional<z.ZodObject<{
|
|
6705
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6706
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6707
|
+
}, "strip", z.ZodTypeAny, {
|
|
6708
|
+
x: number;
|
|
6709
|
+
y: number;
|
|
6710
|
+
}, {
|
|
6711
|
+
x: string | number;
|
|
6712
|
+
y: string | number;
|
|
6713
|
+
}>>;
|
|
6528
6714
|
anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
|
|
6529
6715
|
text: z.ZodString;
|
|
6716
|
+
symbol_name: z.ZodOptional<z.ZodString>;
|
|
6530
6717
|
}, "strip", z.ZodTypeAny, {
|
|
6531
6718
|
type: "schematic_net_label";
|
|
6532
6719
|
source_net_id: string;
|
|
@@ -6536,6 +6723,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6536
6723
|
};
|
|
6537
6724
|
text: string;
|
|
6538
6725
|
anchor_side: "left" | "right" | "top" | "bottom";
|
|
6726
|
+
symbol_name?: string | undefined;
|
|
6727
|
+
anchor_position?: {
|
|
6728
|
+
x: number;
|
|
6729
|
+
y: number;
|
|
6730
|
+
} | undefined;
|
|
6539
6731
|
}, {
|
|
6540
6732
|
type: "schematic_net_label";
|
|
6541
6733
|
source_net_id: string;
|
|
@@ -6545,6 +6737,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6545
6737
|
};
|
|
6546
6738
|
text: string;
|
|
6547
6739
|
anchor_side: "left" | "right" | "top" | "bottom";
|
|
6740
|
+
symbol_name?: string | undefined;
|
|
6741
|
+
anchor_position?: {
|
|
6742
|
+
x: string | number;
|
|
6743
|
+
y: string | number;
|
|
6744
|
+
} | undefined;
|
|
6548
6745
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
|
|
6549
6746
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
6550
6747
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -7106,6 +7303,32 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7106
7303
|
manufacturer_part_number?: string | undefined;
|
|
7107
7304
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7108
7305
|
display_value?: string | undefined;
|
|
7306
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
7307
|
+
type: z.ZodLiteral<"source_component">;
|
|
7308
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
7309
|
+
source_component_id: z.ZodString;
|
|
7310
|
+
name: z.ZodString;
|
|
7311
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
7312
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
7313
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
7314
|
+
}, {
|
|
7315
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
7316
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7317
|
+
type: "source_component";
|
|
7318
|
+
ftype: "simple_push_button";
|
|
7319
|
+
source_component_id: string;
|
|
7320
|
+
name: string;
|
|
7321
|
+
manufacturer_part_number?: string | undefined;
|
|
7322
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7323
|
+
display_value?: string | undefined;
|
|
7324
|
+
}, {
|
|
7325
|
+
type: "source_component";
|
|
7326
|
+
ftype: "simple_push_button";
|
|
7327
|
+
source_component_id: string;
|
|
7328
|
+
name: string;
|
|
7329
|
+
manufacturer_part_number?: string | undefined;
|
|
7330
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7331
|
+
display_value?: string | undefined;
|
|
7109
7332
|
}>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
7110
7333
|
type: z.ZodLiteral<"source_component">;
|
|
7111
7334
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -7370,6 +7593,61 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7370
7593
|
manufacturer_part_number?: string | undefined;
|
|
7371
7594
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7372
7595
|
display_value?: string | undefined;
|
|
7596
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
7597
|
+
type: z.ZodLiteral<"source_component">;
|
|
7598
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
7599
|
+
source_component_id: z.ZodString;
|
|
7600
|
+
name: z.ZodString;
|
|
7601
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
7602
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
7603
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
7604
|
+
}, {
|
|
7605
|
+
ftype: z.ZodLiteral<"simple_inductor">;
|
|
7606
|
+
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7607
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7608
|
+
type: "source_component";
|
|
7609
|
+
ftype: "simple_inductor";
|
|
7610
|
+
source_component_id: string;
|
|
7611
|
+
name: string;
|
|
7612
|
+
inductance: number;
|
|
7613
|
+
manufacturer_part_number?: string | undefined;
|
|
7614
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7615
|
+
display_value?: string | undefined;
|
|
7616
|
+
}, {
|
|
7617
|
+
type: "source_component";
|
|
7618
|
+
ftype: "simple_inductor";
|
|
7619
|
+
source_component_id: string;
|
|
7620
|
+
name: string;
|
|
7621
|
+
inductance: string | number;
|
|
7622
|
+
manufacturer_part_number?: string | undefined;
|
|
7623
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7624
|
+
display_value?: string | undefined;
|
|
7625
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
7626
|
+
type: z.ZodLiteral<"source_component">;
|
|
7627
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
7628
|
+
source_component_id: z.ZodString;
|
|
7629
|
+
name: z.ZodString;
|
|
7630
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
7631
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
7632
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
7633
|
+
}, {
|
|
7634
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
7635
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7636
|
+
type: "source_component";
|
|
7637
|
+
ftype: "simple_push_button";
|
|
7638
|
+
source_component_id: string;
|
|
7639
|
+
name: string;
|
|
7640
|
+
manufacturer_part_number?: string | undefined;
|
|
7641
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7642
|
+
display_value?: string | undefined;
|
|
7643
|
+
}, {
|
|
7644
|
+
type: "source_component";
|
|
7645
|
+
ftype: "simple_push_button";
|
|
7646
|
+
source_component_id: string;
|
|
7647
|
+
name: string;
|
|
7648
|
+
manufacturer_part_number?: string | undefined;
|
|
7649
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7650
|
+
display_value?: string | undefined;
|
|
7373
7651
|
}>, z.ZodObject<{
|
|
7374
7652
|
type: z.ZodLiteral<"pcb_component">;
|
|
7375
7653
|
pcb_component_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -8293,15 +8571,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8293
8571
|
}, "strip", z.ZodTypeAny, {
|
|
8294
8572
|
type: "pcb_silkscreen_text";
|
|
8295
8573
|
text: string;
|
|
8574
|
+
anchor_position: {
|
|
8575
|
+
x: number;
|
|
8576
|
+
y: number;
|
|
8577
|
+
};
|
|
8296
8578
|
pcb_component_id: string;
|
|
8297
8579
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8298
8580
|
pcb_silkscreen_text_id: string;
|
|
8299
8581
|
font: "tscircuit2024";
|
|
8300
8582
|
font_size: number;
|
|
8301
|
-
anchor_position: {
|
|
8302
|
-
x: number;
|
|
8303
|
-
y: number;
|
|
8304
|
-
};
|
|
8305
8583
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
8306
8584
|
is_mirrored?: boolean | undefined;
|
|
8307
8585
|
}, {
|
|
@@ -8311,14 +8589,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8311
8589
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8312
8590
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8313
8591
|
};
|
|
8314
|
-
pcb_silkscreen_text_id?: string | undefined;
|
|
8315
|
-
font?: "tscircuit2024" | undefined;
|
|
8316
|
-
font_size?: string | number | undefined;
|
|
8317
|
-
is_mirrored?: boolean | undefined;
|
|
8318
8592
|
anchor_position?: {
|
|
8319
8593
|
x: string | number;
|
|
8320
8594
|
y: string | number;
|
|
8321
8595
|
} | undefined;
|
|
8596
|
+
pcb_silkscreen_text_id?: string | undefined;
|
|
8597
|
+
font?: "tscircuit2024" | undefined;
|
|
8598
|
+
font_size?: string | number | undefined;
|
|
8599
|
+
is_mirrored?: boolean | undefined;
|
|
8322
8600
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
8323
8601
|
}>, z.ZodObject<{
|
|
8324
8602
|
type: z.ZodLiteral<"pcb_silkscreen_rect">;
|
|
@@ -8588,14 +8866,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8588
8866
|
}, "strip", z.ZodTypeAny, {
|
|
8589
8867
|
type: "pcb_fabrication_note_text";
|
|
8590
8868
|
text: string;
|
|
8591
|
-
pcb_component_id: string;
|
|
8592
|
-
layer: "top" | "bottom";
|
|
8593
|
-
font: "tscircuit2024";
|
|
8594
|
-
font_size: number;
|
|
8595
8869
|
anchor_position: {
|
|
8596
8870
|
x: number;
|
|
8597
8871
|
y: number;
|
|
8598
8872
|
};
|
|
8873
|
+
pcb_component_id: string;
|
|
8874
|
+
layer: "top" | "bottom";
|
|
8875
|
+
font: "tscircuit2024";
|
|
8876
|
+
font_size: number;
|
|
8599
8877
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
8600
8878
|
pcb_fabrication_note_text_id: string;
|
|
8601
8879
|
color?: string | undefined;
|
|
@@ -8605,12 +8883,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8605
8883
|
pcb_component_id: string;
|
|
8606
8884
|
layer: "top" | "bottom";
|
|
8607
8885
|
color?: string | undefined;
|
|
8608
|
-
font?: "tscircuit2024" | undefined;
|
|
8609
|
-
font_size?: string | number | undefined;
|
|
8610
8886
|
anchor_position?: {
|
|
8611
8887
|
x: string | number;
|
|
8612
8888
|
y: string | number;
|
|
8613
8889
|
} | undefined;
|
|
8890
|
+
font?: "tscircuit2024" | undefined;
|
|
8891
|
+
font_size?: string | number | undefined;
|
|
8614
8892
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
8615
8893
|
pcb_fabrication_note_text_id?: string | undefined;
|
|
8616
8894
|
}>, z.ZodObject<{
|
|
@@ -9145,8 +9423,19 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9145
9423
|
x: string | number;
|
|
9146
9424
|
y: string | number;
|
|
9147
9425
|
}>;
|
|
9426
|
+
anchor_position: z.ZodOptional<z.ZodObject<{
|
|
9427
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9428
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9429
|
+
}, "strip", z.ZodTypeAny, {
|
|
9430
|
+
x: number;
|
|
9431
|
+
y: number;
|
|
9432
|
+
}, {
|
|
9433
|
+
x: string | number;
|
|
9434
|
+
y: string | number;
|
|
9435
|
+
}>>;
|
|
9148
9436
|
anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
|
|
9149
9437
|
text: z.ZodString;
|
|
9438
|
+
symbol_name: z.ZodOptional<z.ZodString>;
|
|
9150
9439
|
}, "strip", z.ZodTypeAny, {
|
|
9151
9440
|
type: "schematic_net_label";
|
|
9152
9441
|
source_net_id: string;
|
|
@@ -9156,6 +9445,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9156
9445
|
};
|
|
9157
9446
|
text: string;
|
|
9158
9447
|
anchor_side: "left" | "right" | "top" | "bottom";
|
|
9448
|
+
symbol_name?: string | undefined;
|
|
9449
|
+
anchor_position?: {
|
|
9450
|
+
x: number;
|
|
9451
|
+
y: number;
|
|
9452
|
+
} | undefined;
|
|
9159
9453
|
}, {
|
|
9160
9454
|
type: "schematic_net_label";
|
|
9161
9455
|
source_net_id: string;
|
|
@@ -9165,6 +9459,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9165
9459
|
};
|
|
9166
9460
|
text: string;
|
|
9167
9461
|
anchor_side: "left" | "right" | "top" | "bottom";
|
|
9462
|
+
symbol_name?: string | undefined;
|
|
9463
|
+
anchor_position?: {
|
|
9464
|
+
x: string | number;
|
|
9465
|
+
y: string | number;
|
|
9466
|
+
} | undefined;
|
|
9168
9467
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
|
|
9169
9468
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
9170
9469
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -9418,4 +9717,4 @@ type AnySoupElement = AnyCircuitElement;
|
|
|
9418
9717
|
*/
|
|
9419
9718
|
type AnySoupElementInput = AnyCircuitElementInput;
|
|
9420
9719
|
|
|
9421
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type Distance, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleOval, type PcbHoleOvalInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicLine, type SchematicLineInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type Size, type SourceComponentBase, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_board, pcb_component, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_solder_paste, pcb_text, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_line, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, size, source_component_base, source_group, source_led, source_net, source_port, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_power_source, source_simple_resistor, source_trace, supplier_name, time, visible_layer, voltage };
|
|
9720
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type Distance, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleOval, type PcbHoleOvalInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicLine, type SchematicLineInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type Size, type SourceComponentBase, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushbutton, type SourceSimplePushbuttonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_board, pcb_component, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_solder_paste, pcb_text, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_line, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, size, source_component_base, source_group, source_led, source_net, source_port, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_trace, supplier_name, time, visible_layer, voltage };
|