circuit-json 0.0.403 → 0.0.405
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 +166 -44
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -6642,14 +6642,30 @@ declare const pcb_trace_route_point_via: z.ZodObject<{
|
|
|
6642
6642
|
is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
|
|
6643
6643
|
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6644
6644
|
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6645
|
-
from_layer: z.
|
|
6646
|
-
|
|
6645
|
+
from_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
6646
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
6647
|
+
}, "strip", z.ZodTypeAny, {
|
|
6648
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6649
|
+
}, {
|
|
6650
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6651
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6652
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6653
|
+
}>;
|
|
6654
|
+
to_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
6655
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
6656
|
+
}, "strip", z.ZodTypeAny, {
|
|
6657
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6658
|
+
}, {
|
|
6659
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6660
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6661
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6662
|
+
}>;
|
|
6647
6663
|
}, "strip", z.ZodTypeAny, {
|
|
6648
6664
|
x: number;
|
|
6649
6665
|
y: number;
|
|
6650
|
-
to_layer:
|
|
6666
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6651
6667
|
route_type: "via";
|
|
6652
|
-
from_layer:
|
|
6668
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6653
6669
|
hole_diameter?: number | undefined;
|
|
6654
6670
|
outer_diameter?: number | undefined;
|
|
6655
6671
|
copper_pour_id?: string | undefined;
|
|
@@ -6657,9 +6673,13 @@ declare const pcb_trace_route_point_via: z.ZodObject<{
|
|
|
6657
6673
|
}, {
|
|
6658
6674
|
x: string | number;
|
|
6659
6675
|
y: string | number;
|
|
6660
|
-
to_layer:
|
|
6676
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6677
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6678
|
+
};
|
|
6661
6679
|
route_type: "via";
|
|
6662
|
-
from_layer:
|
|
6680
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6681
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6682
|
+
};
|
|
6663
6683
|
hole_diameter?: string | number | undefined;
|
|
6664
6684
|
outer_diameter?: string | number | undefined;
|
|
6665
6685
|
copper_pour_id?: string | undefined;
|
|
@@ -6713,14 +6733,30 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
|
|
|
6713
6733
|
is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
|
|
6714
6734
|
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6715
6735
|
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6716
|
-
from_layer: z.
|
|
6717
|
-
|
|
6736
|
+
from_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
6737
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
6738
|
+
}, "strip", z.ZodTypeAny, {
|
|
6739
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6740
|
+
}, {
|
|
6741
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6742
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6743
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6744
|
+
}>;
|
|
6745
|
+
to_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
6746
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
6747
|
+
}, "strip", z.ZodTypeAny, {
|
|
6748
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6749
|
+
}, {
|
|
6750
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6751
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6752
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6753
|
+
}>;
|
|
6718
6754
|
}, "strip", z.ZodTypeAny, {
|
|
6719
6755
|
x: number;
|
|
6720
6756
|
y: number;
|
|
6721
|
-
to_layer:
|
|
6757
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6722
6758
|
route_type: "via";
|
|
6723
|
-
from_layer:
|
|
6759
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6724
6760
|
hole_diameter?: number | undefined;
|
|
6725
6761
|
outer_diameter?: number | undefined;
|
|
6726
6762
|
copper_pour_id?: string | undefined;
|
|
@@ -6728,9 +6764,13 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
|
|
|
6728
6764
|
}, {
|
|
6729
6765
|
x: string | number;
|
|
6730
6766
|
y: string | number;
|
|
6731
|
-
to_layer:
|
|
6767
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6768
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6769
|
+
};
|
|
6732
6770
|
route_type: "via";
|
|
6733
|
-
from_layer:
|
|
6771
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6772
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6773
|
+
};
|
|
6734
6774
|
hole_diameter?: string | number | undefined;
|
|
6735
6775
|
outer_diameter?: string | number | undefined;
|
|
6736
6776
|
copper_pour_id?: string | undefined;
|
|
@@ -6796,14 +6836,30 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
6796
6836
|
is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
|
|
6797
6837
|
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6798
6838
|
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6799
|
-
from_layer: z.
|
|
6800
|
-
|
|
6839
|
+
from_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
6840
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
6841
|
+
}, "strip", z.ZodTypeAny, {
|
|
6842
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6843
|
+
}, {
|
|
6844
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6845
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6846
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6847
|
+
}>;
|
|
6848
|
+
to_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
6849
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
6850
|
+
}, "strip", z.ZodTypeAny, {
|
|
6851
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6852
|
+
}, {
|
|
6853
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6854
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6855
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6856
|
+
}>;
|
|
6801
6857
|
}, "strip", z.ZodTypeAny, {
|
|
6802
6858
|
x: number;
|
|
6803
6859
|
y: number;
|
|
6804
|
-
to_layer:
|
|
6860
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6805
6861
|
route_type: "via";
|
|
6806
|
-
from_layer:
|
|
6862
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6807
6863
|
hole_diameter?: number | undefined;
|
|
6808
6864
|
outer_diameter?: number | undefined;
|
|
6809
6865
|
copper_pour_id?: string | undefined;
|
|
@@ -6811,9 +6867,13 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
6811
6867
|
}, {
|
|
6812
6868
|
x: string | number;
|
|
6813
6869
|
y: string | number;
|
|
6814
|
-
to_layer:
|
|
6870
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6871
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6872
|
+
};
|
|
6815
6873
|
route_type: "via";
|
|
6816
|
-
from_layer:
|
|
6874
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6875
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6876
|
+
};
|
|
6817
6877
|
hole_diameter?: string | number | undefined;
|
|
6818
6878
|
outer_diameter?: string | number | undefined;
|
|
6819
6879
|
copper_pour_id?: string | undefined;
|
|
@@ -6835,9 +6895,9 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
6835
6895
|
} | {
|
|
6836
6896
|
x: number;
|
|
6837
6897
|
y: number;
|
|
6838
|
-
to_layer:
|
|
6898
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6839
6899
|
route_type: "via";
|
|
6840
|
-
from_layer:
|
|
6900
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6841
6901
|
hole_diameter?: number | undefined;
|
|
6842
6902
|
outer_diameter?: number | undefined;
|
|
6843
6903
|
copper_pour_id?: string | undefined;
|
|
@@ -6869,9 +6929,13 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
6869
6929
|
} | {
|
|
6870
6930
|
x: string | number;
|
|
6871
6931
|
y: string | number;
|
|
6872
|
-
to_layer:
|
|
6932
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6933
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6934
|
+
};
|
|
6873
6935
|
route_type: "via";
|
|
6874
|
-
from_layer:
|
|
6936
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6937
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6938
|
+
};
|
|
6875
6939
|
hole_diameter?: string | number | undefined;
|
|
6876
6940
|
outer_diameter?: string | number | undefined;
|
|
6877
6941
|
copper_pour_id?: string | undefined;
|
|
@@ -6908,8 +6972,8 @@ interface PcbTraceRoutePointVia {
|
|
|
6908
6972
|
is_inside_copper_pour?: boolean;
|
|
6909
6973
|
hole_diameter?: Distance;
|
|
6910
6974
|
outer_diameter?: Distance;
|
|
6911
|
-
from_layer:
|
|
6912
|
-
to_layer:
|
|
6975
|
+
from_layer: LayerRef;
|
|
6976
|
+
to_layer: LayerRef;
|
|
6913
6977
|
}
|
|
6914
6978
|
type PcbTraceRoutePoint = PcbTraceRoutePointWire | PcbTraceRoutePointVia;
|
|
6915
6979
|
/**
|
|
@@ -8189,6 +8253,7 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
|
|
|
8189
8253
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8190
8254
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
8191
8255
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8256
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
8192
8257
|
}, "strip", z.ZodTypeAny, {
|
|
8193
8258
|
type: "pcb_silkscreen_circle";
|
|
8194
8259
|
layer: "top" | "bottom";
|
|
@@ -8202,6 +8267,7 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
|
|
|
8202
8267
|
pcb_silkscreen_circle_id: string;
|
|
8203
8268
|
subcircuit_id?: string | undefined;
|
|
8204
8269
|
pcb_group_id?: string | undefined;
|
|
8270
|
+
is_filled?: boolean | undefined;
|
|
8205
8271
|
}, {
|
|
8206
8272
|
type: "pcb_silkscreen_circle";
|
|
8207
8273
|
layer: "top" | "bottom";
|
|
@@ -8214,6 +8280,7 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
|
|
|
8214
8280
|
subcircuit_id?: string | undefined;
|
|
8215
8281
|
pcb_group_id?: string | undefined;
|
|
8216
8282
|
stroke_width?: string | number | undefined;
|
|
8283
|
+
is_filled?: boolean | undefined;
|
|
8217
8284
|
pcb_silkscreen_circle_id?: string | undefined;
|
|
8218
8285
|
}>;
|
|
8219
8286
|
type PcbSilkscreenCircleInput = z.input<typeof pcb_silkscreen_circle>;
|
|
@@ -8230,6 +8297,7 @@ interface PcbSilkscreenCircle {
|
|
|
8230
8297
|
radius: Length;
|
|
8231
8298
|
layer: VisibleLayer;
|
|
8232
8299
|
stroke_width: Length;
|
|
8300
|
+
is_filled?: boolean;
|
|
8233
8301
|
}
|
|
8234
8302
|
|
|
8235
8303
|
declare const pcb_silkscreen_oval: z.ZodObject<{
|
|
@@ -37827,14 +37895,30 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
37827
37895
|
is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
|
|
37828
37896
|
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
37829
37897
|
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
37830
|
-
from_layer: z.
|
|
37831
|
-
|
|
37898
|
+
from_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
37899
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
37900
|
+
}, "strip", z.ZodTypeAny, {
|
|
37901
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37902
|
+
}, {
|
|
37903
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37904
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
37905
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37906
|
+
}>;
|
|
37907
|
+
to_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
37908
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
37909
|
+
}, "strip", z.ZodTypeAny, {
|
|
37910
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37911
|
+
}, {
|
|
37912
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37913
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
37914
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37915
|
+
}>;
|
|
37832
37916
|
}, "strip", z.ZodTypeAny, {
|
|
37833
37917
|
x: number;
|
|
37834
37918
|
y: number;
|
|
37835
|
-
to_layer:
|
|
37919
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37836
37920
|
route_type: "via";
|
|
37837
|
-
from_layer:
|
|
37921
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37838
37922
|
hole_diameter?: number | undefined;
|
|
37839
37923
|
outer_diameter?: number | undefined;
|
|
37840
37924
|
copper_pour_id?: string | undefined;
|
|
@@ -37842,9 +37926,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
37842
37926
|
}, {
|
|
37843
37927
|
x: string | number;
|
|
37844
37928
|
y: string | number;
|
|
37845
|
-
to_layer:
|
|
37929
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
37930
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37931
|
+
};
|
|
37846
37932
|
route_type: "via";
|
|
37847
|
-
from_layer:
|
|
37933
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
37934
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37935
|
+
};
|
|
37848
37936
|
hole_diameter?: string | number | undefined;
|
|
37849
37937
|
outer_diameter?: string | number | undefined;
|
|
37850
37938
|
copper_pour_id?: string | undefined;
|
|
@@ -37866,9 +37954,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
37866
37954
|
} | {
|
|
37867
37955
|
x: number;
|
|
37868
37956
|
y: number;
|
|
37869
|
-
to_layer:
|
|
37957
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37870
37958
|
route_type: "via";
|
|
37871
|
-
from_layer:
|
|
37959
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37872
37960
|
hole_diameter?: number | undefined;
|
|
37873
37961
|
outer_diameter?: number | undefined;
|
|
37874
37962
|
copper_pour_id?: string | undefined;
|
|
@@ -37900,9 +37988,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
37900
37988
|
} | {
|
|
37901
37989
|
x: string | number;
|
|
37902
37990
|
y: string | number;
|
|
37903
|
-
to_layer:
|
|
37991
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
37992
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37993
|
+
};
|
|
37904
37994
|
route_type: "via";
|
|
37905
|
-
from_layer:
|
|
37995
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
37996
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
37997
|
+
};
|
|
37906
37998
|
hole_diameter?: string | number | undefined;
|
|
37907
37999
|
outer_diameter?: string | number | undefined;
|
|
37908
38000
|
copper_pour_id?: string | undefined;
|
|
@@ -39404,6 +39496,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
39404
39496
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
39405
39497
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
39406
39498
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
39499
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
39407
39500
|
}, "strip", z.ZodTypeAny, {
|
|
39408
39501
|
type: "pcb_silkscreen_circle";
|
|
39409
39502
|
layer: "top" | "bottom";
|
|
@@ -39417,6 +39510,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
39417
39510
|
pcb_silkscreen_circle_id: string;
|
|
39418
39511
|
subcircuit_id?: string | undefined;
|
|
39419
39512
|
pcb_group_id?: string | undefined;
|
|
39513
|
+
is_filled?: boolean | undefined;
|
|
39420
39514
|
}, {
|
|
39421
39515
|
type: "pcb_silkscreen_circle";
|
|
39422
39516
|
layer: "top" | "bottom";
|
|
@@ -39429,6 +39523,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
39429
39523
|
subcircuit_id?: string | undefined;
|
|
39430
39524
|
pcb_group_id?: string | undefined;
|
|
39431
39525
|
stroke_width?: string | number | undefined;
|
|
39526
|
+
is_filled?: boolean | undefined;
|
|
39432
39527
|
pcb_silkscreen_circle_id?: string | undefined;
|
|
39433
39528
|
}>, z.ZodObject<{
|
|
39434
39529
|
type: z.ZodLiteral<"pcb_silkscreen_oval">;
|
|
@@ -55580,14 +55675,30 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
55580
55675
|
is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
|
|
55581
55676
|
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
55582
55677
|
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
55583
|
-
from_layer: z.
|
|
55584
|
-
|
|
55678
|
+
from_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
55679
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
55680
|
+
}, "strip", z.ZodTypeAny, {
|
|
55681
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55682
|
+
}, {
|
|
55683
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55684
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
55685
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55686
|
+
}>;
|
|
55687
|
+
to_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
55688
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
55689
|
+
}, "strip", z.ZodTypeAny, {
|
|
55690
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55691
|
+
}, {
|
|
55692
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55693
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
55694
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55695
|
+
}>;
|
|
55585
55696
|
}, "strip", z.ZodTypeAny, {
|
|
55586
55697
|
x: number;
|
|
55587
55698
|
y: number;
|
|
55588
|
-
to_layer:
|
|
55699
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55589
55700
|
route_type: "via";
|
|
55590
|
-
from_layer:
|
|
55701
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55591
55702
|
hole_diameter?: number | undefined;
|
|
55592
55703
|
outer_diameter?: number | undefined;
|
|
55593
55704
|
copper_pour_id?: string | undefined;
|
|
@@ -55595,9 +55706,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
55595
55706
|
}, {
|
|
55596
55707
|
x: string | number;
|
|
55597
55708
|
y: string | number;
|
|
55598
|
-
to_layer:
|
|
55709
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
55710
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55711
|
+
};
|
|
55599
55712
|
route_type: "via";
|
|
55600
|
-
from_layer:
|
|
55713
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
55714
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55715
|
+
};
|
|
55601
55716
|
hole_diameter?: string | number | undefined;
|
|
55602
55717
|
outer_diameter?: string | number | undefined;
|
|
55603
55718
|
copper_pour_id?: string | undefined;
|
|
@@ -55619,9 +55734,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
55619
55734
|
} | {
|
|
55620
55735
|
x: number;
|
|
55621
55736
|
y: number;
|
|
55622
|
-
to_layer:
|
|
55737
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55623
55738
|
route_type: "via";
|
|
55624
|
-
from_layer:
|
|
55739
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55625
55740
|
hole_diameter?: number | undefined;
|
|
55626
55741
|
outer_diameter?: number | undefined;
|
|
55627
55742
|
copper_pour_id?: string | undefined;
|
|
@@ -55653,9 +55768,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
55653
55768
|
} | {
|
|
55654
55769
|
x: string | number;
|
|
55655
55770
|
y: string | number;
|
|
55656
|
-
to_layer:
|
|
55771
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
55772
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55773
|
+
};
|
|
55657
55774
|
route_type: "via";
|
|
55658
|
-
from_layer:
|
|
55775
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
55776
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
55777
|
+
};
|
|
55659
55778
|
hole_diameter?: string | number | undefined;
|
|
55660
55779
|
outer_diameter?: string | number | undefined;
|
|
55661
55780
|
copper_pour_id?: string | undefined;
|
|
@@ -57157,6 +57276,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
57157
57276
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
57158
57277
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
57159
57278
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
57279
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
57160
57280
|
}, "strip", z.ZodTypeAny, {
|
|
57161
57281
|
type: "pcb_silkscreen_circle";
|
|
57162
57282
|
layer: "top" | "bottom";
|
|
@@ -57170,6 +57290,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
57170
57290
|
pcb_silkscreen_circle_id: string;
|
|
57171
57291
|
subcircuit_id?: string | undefined;
|
|
57172
57292
|
pcb_group_id?: string | undefined;
|
|
57293
|
+
is_filled?: boolean | undefined;
|
|
57173
57294
|
}, {
|
|
57174
57295
|
type: "pcb_silkscreen_circle";
|
|
57175
57296
|
layer: "top" | "bottom";
|
|
@@ -57182,6 +57303,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
57182
57303
|
subcircuit_id?: string | undefined;
|
|
57183
57304
|
pcb_group_id?: string | undefined;
|
|
57184
57305
|
stroke_width?: string | number | undefined;
|
|
57306
|
+
is_filled?: boolean | undefined;
|
|
57185
57307
|
pcb_silkscreen_circle_id?: string | undefined;
|
|
57186
57308
|
}>, z.ZodObject<{
|
|
57187
57309
|
type: z.ZodLiteral<"pcb_silkscreen_oval">;
|
package/dist/index.mjs
CHANGED
|
@@ -2279,8 +2279,8 @@ var pcb_trace_route_point_via = z98.object({
|
|
|
2279
2279
|
is_inside_copper_pour: z98.boolean().optional(),
|
|
2280
2280
|
hole_diameter: distance.optional(),
|
|
2281
2281
|
outer_diameter: distance.optional(),
|
|
2282
|
-
from_layer:
|
|
2283
|
-
to_layer:
|
|
2282
|
+
from_layer: layer_ref,
|
|
2283
|
+
to_layer: layer_ref
|
|
2284
2284
|
});
|
|
2285
2285
|
var pcb_trace_route_point = z98.union([
|
|
2286
2286
|
pcb_trace_route_point_wire,
|
|
@@ -2602,7 +2602,8 @@ var pcb_silkscreen_circle = z115.object({
|
|
|
2602
2602
|
center: point,
|
|
2603
2603
|
radius: length,
|
|
2604
2604
|
layer: visible_layer,
|
|
2605
|
-
stroke_width: length.default("1mm")
|
|
2605
|
+
stroke_width: length.default("1mm"),
|
|
2606
|
+
is_filled: z115.boolean().optional()
|
|
2606
2607
|
}).describe("Defines a silkscreen circle on the PCB");
|
|
2607
2608
|
expectTypesMatch(true);
|
|
2608
2609
|
|