circuit-json 0.0.82 → 0.0.84
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 +284 -8
- package/dist/index.mjs +169 -137
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
package/dist/index.d.mts
CHANGED
|
@@ -1909,6 +1909,122 @@ type PcbSmtPad = PcbSmtPadCircle | PcbSmtPadRect;
|
|
|
1909
1909
|
*/
|
|
1910
1910
|
type PCBSMTPad = PcbSmtPad;
|
|
1911
1911
|
|
|
1912
|
+
declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
1913
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
1914
|
+
shape: z.ZodLiteral<"circle">;
|
|
1915
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1916
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1917
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1918
|
+
radius: z.ZodNumber;
|
|
1919
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
1920
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
1921
|
+
}, "strip", z.ZodTypeAny, {
|
|
1922
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1923
|
+
}, {
|
|
1924
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1925
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1926
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1927
|
+
}>;
|
|
1928
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1929
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
1930
|
+
}, "strip", z.ZodTypeAny, {
|
|
1931
|
+
x: number;
|
|
1932
|
+
y: number;
|
|
1933
|
+
type: "pcb_solder_paste";
|
|
1934
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1935
|
+
shape: "circle";
|
|
1936
|
+
radius: number;
|
|
1937
|
+
pcb_solder_paste_id: string;
|
|
1938
|
+
pcb_component_id?: string | undefined;
|
|
1939
|
+
pcb_smtpad_id?: string | undefined;
|
|
1940
|
+
}, {
|
|
1941
|
+
x: string | number;
|
|
1942
|
+
y: string | number;
|
|
1943
|
+
type: "pcb_solder_paste";
|
|
1944
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1945
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1946
|
+
};
|
|
1947
|
+
shape: "circle";
|
|
1948
|
+
radius: number;
|
|
1949
|
+
pcb_component_id?: string | undefined;
|
|
1950
|
+
pcb_smtpad_id?: string | undefined;
|
|
1951
|
+
pcb_solder_paste_id?: string | undefined;
|
|
1952
|
+
}>, z.ZodObject<{
|
|
1953
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
1954
|
+
shape: z.ZodLiteral<"rect">;
|
|
1955
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1956
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1957
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1958
|
+
width: z.ZodNumber;
|
|
1959
|
+
height: z.ZodNumber;
|
|
1960
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
1961
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
1962
|
+
}, "strip", z.ZodTypeAny, {
|
|
1963
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1964
|
+
}, {
|
|
1965
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1966
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1967
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1968
|
+
}>;
|
|
1969
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1970
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
1971
|
+
}, "strip", z.ZodTypeAny, {
|
|
1972
|
+
x: number;
|
|
1973
|
+
y: number;
|
|
1974
|
+
type: "pcb_solder_paste";
|
|
1975
|
+
width: number;
|
|
1976
|
+
height: number;
|
|
1977
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1978
|
+
shape: "rect";
|
|
1979
|
+
pcb_solder_paste_id: string;
|
|
1980
|
+
pcb_component_id?: string | undefined;
|
|
1981
|
+
pcb_smtpad_id?: string | undefined;
|
|
1982
|
+
}, {
|
|
1983
|
+
x: string | number;
|
|
1984
|
+
y: string | number;
|
|
1985
|
+
type: "pcb_solder_paste";
|
|
1986
|
+
width: number;
|
|
1987
|
+
height: number;
|
|
1988
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1989
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1990
|
+
};
|
|
1991
|
+
shape: "rect";
|
|
1992
|
+
pcb_component_id?: string | undefined;
|
|
1993
|
+
pcb_smtpad_id?: string | undefined;
|
|
1994
|
+
pcb_solder_paste_id?: string | undefined;
|
|
1995
|
+
}>]>;
|
|
1996
|
+
type PCBSolderPasteInput = z.input<typeof pcb_solder_paste>;
|
|
1997
|
+
/**
|
|
1998
|
+
* Defines solderpaste on the PCB
|
|
1999
|
+
*/
|
|
2000
|
+
interface PcbSolderPasteCircle {
|
|
2001
|
+
type: "pcb_solder_paste";
|
|
2002
|
+
shape: "circle";
|
|
2003
|
+
pcb_solder_paste_id: string;
|
|
2004
|
+
x: Distance;
|
|
2005
|
+
y: Distance;
|
|
2006
|
+
radius: number;
|
|
2007
|
+
layer: LayerRef;
|
|
2008
|
+
pcb_component_id?: string;
|
|
2009
|
+
pcb_smtpad_id?: string;
|
|
2010
|
+
}
|
|
2011
|
+
/**
|
|
2012
|
+
* Defines solderpaste on the PCB
|
|
2013
|
+
*/
|
|
2014
|
+
interface PcbSolderPasteRect {
|
|
2015
|
+
type: "pcb_solder_paste";
|
|
2016
|
+
shape: "rect";
|
|
2017
|
+
pcb_solder_paste_id: string;
|
|
2018
|
+
x: Distance;
|
|
2019
|
+
y: Distance;
|
|
2020
|
+
width: number;
|
|
2021
|
+
height: number;
|
|
2022
|
+
layer: LayerRef;
|
|
2023
|
+
pcb_component_id?: string;
|
|
2024
|
+
pcb_smtpad_id?: string;
|
|
2025
|
+
}
|
|
2026
|
+
type PcbSolderPaste = PcbSolderPasteCircle | PcbSolderPasteRect;
|
|
2027
|
+
|
|
1912
2028
|
declare const pcb_text: z.ZodObject<{
|
|
1913
2029
|
type: z.ZodLiteral<"pcb_text">;
|
|
1914
2030
|
pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -3199,7 +3315,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
3199
3315
|
type PCBKeepoutInput = z.input<typeof pcb_keepout>;
|
|
3200
3316
|
type PCBKeepout = z.infer<typeof pcb_keepout>;
|
|
3201
3317
|
|
|
3202
|
-
type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbText | PcbTrace | PcbTraceError | PcbPortNotMatchedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle;
|
|
3318
|
+
type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbPortNotMatchedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle;
|
|
3203
3319
|
|
|
3204
3320
|
declare const cad_component: z.ZodObject<{
|
|
3205
3321
|
type: z.ZodLiteral<"cad_component">;
|
|
@@ -4170,9 +4286,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4170
4286
|
start_pcb_port_id?: string | undefined;
|
|
4171
4287
|
end_pcb_port_id?: string | undefined;
|
|
4172
4288
|
}>, z.ZodObject<{
|
|
4173
|
-
/**
|
|
4174
|
-
* @deprecated use AnyCircuitElement instead
|
|
4175
|
-
*/
|
|
4176
4289
|
route_type: z.ZodLiteral<"via">;
|
|
4177
4290
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4178
4291
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4391,6 +4504,89 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4391
4504
|
pcb_component_id?: string | undefined;
|
|
4392
4505
|
pcb_port_id?: string | undefined;
|
|
4393
4506
|
pcb_smtpad_id?: string | undefined;
|
|
4507
|
+
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
4508
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
4509
|
+
shape: z.ZodLiteral<"circle">;
|
|
4510
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4511
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4512
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4513
|
+
radius: z.ZodNumber;
|
|
4514
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
4515
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
4516
|
+
}, "strip", z.ZodTypeAny, {
|
|
4517
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4518
|
+
}, {
|
|
4519
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4520
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4521
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4522
|
+
}>;
|
|
4523
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4524
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
4525
|
+
}, "strip", z.ZodTypeAny, {
|
|
4526
|
+
x: number;
|
|
4527
|
+
y: number;
|
|
4528
|
+
type: "pcb_solder_paste";
|
|
4529
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4530
|
+
shape: "circle";
|
|
4531
|
+
radius: number;
|
|
4532
|
+
pcb_solder_paste_id: string;
|
|
4533
|
+
pcb_component_id?: string | undefined;
|
|
4534
|
+
pcb_smtpad_id?: string | undefined;
|
|
4535
|
+
}, {
|
|
4536
|
+
x: string | number;
|
|
4537
|
+
y: string | number;
|
|
4538
|
+
type: "pcb_solder_paste";
|
|
4539
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4540
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4541
|
+
};
|
|
4542
|
+
shape: "circle";
|
|
4543
|
+
radius: number;
|
|
4544
|
+
pcb_component_id?: string | undefined;
|
|
4545
|
+
pcb_smtpad_id?: string | undefined;
|
|
4546
|
+
pcb_solder_paste_id?: string | undefined;
|
|
4547
|
+
}>, z.ZodObject<{
|
|
4548
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
4549
|
+
shape: z.ZodLiteral<"rect">;
|
|
4550
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4551
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4552
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4553
|
+
width: z.ZodNumber;
|
|
4554
|
+
height: z.ZodNumber;
|
|
4555
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
4556
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
4557
|
+
}, "strip", z.ZodTypeAny, {
|
|
4558
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4559
|
+
}, {
|
|
4560
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4561
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4562
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4563
|
+
}>;
|
|
4564
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4565
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
4566
|
+
}, "strip", z.ZodTypeAny, {
|
|
4567
|
+
x: number;
|
|
4568
|
+
y: number;
|
|
4569
|
+
type: "pcb_solder_paste";
|
|
4570
|
+
width: number;
|
|
4571
|
+
height: number;
|
|
4572
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4573
|
+
shape: "rect";
|
|
4574
|
+
pcb_solder_paste_id: string;
|
|
4575
|
+
pcb_component_id?: string | undefined;
|
|
4576
|
+
pcb_smtpad_id?: string | undefined;
|
|
4577
|
+
}, {
|
|
4578
|
+
x: string | number;
|
|
4579
|
+
y: string | number;
|
|
4580
|
+
type: "pcb_solder_paste";
|
|
4581
|
+
width: number;
|
|
4582
|
+
height: number;
|
|
4583
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4584
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4585
|
+
};
|
|
4586
|
+
shape: "rect";
|
|
4587
|
+
pcb_component_id?: string | undefined;
|
|
4588
|
+
pcb_smtpad_id?: string | undefined;
|
|
4589
|
+
pcb_solder_paste_id?: string | undefined;
|
|
4394
4590
|
}>]>, z.ZodObject<{
|
|
4395
4591
|
type: z.ZodLiteral<"pcb_board">;
|
|
4396
4592
|
pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -6402,9 +6598,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6402
6598
|
start_pcb_port_id?: string | undefined;
|
|
6403
6599
|
end_pcb_port_id?: string | undefined;
|
|
6404
6600
|
}>, z.ZodObject<{
|
|
6405
|
-
/**
|
|
6406
|
-
* @deprecated use AnyCircuitElement instead
|
|
6407
|
-
*/
|
|
6408
6601
|
route_type: z.ZodLiteral<"via">;
|
|
6409
6602
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6410
6603
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6623,6 +6816,89 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6623
6816
|
pcb_component_id?: string | undefined;
|
|
6624
6817
|
pcb_port_id?: string | undefined;
|
|
6625
6818
|
pcb_smtpad_id?: string | undefined;
|
|
6819
|
+
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
6820
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
6821
|
+
shape: z.ZodLiteral<"circle">;
|
|
6822
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6823
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6824
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6825
|
+
radius: z.ZodNumber;
|
|
6826
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
6827
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
6828
|
+
}, "strip", z.ZodTypeAny, {
|
|
6829
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6830
|
+
}, {
|
|
6831
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6832
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6833
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6834
|
+
}>;
|
|
6835
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
6836
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
6837
|
+
}, "strip", z.ZodTypeAny, {
|
|
6838
|
+
x: number;
|
|
6839
|
+
y: number;
|
|
6840
|
+
type: "pcb_solder_paste";
|
|
6841
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6842
|
+
shape: "circle";
|
|
6843
|
+
radius: number;
|
|
6844
|
+
pcb_solder_paste_id: string;
|
|
6845
|
+
pcb_component_id?: string | undefined;
|
|
6846
|
+
pcb_smtpad_id?: string | undefined;
|
|
6847
|
+
}, {
|
|
6848
|
+
x: string | number;
|
|
6849
|
+
y: string | number;
|
|
6850
|
+
type: "pcb_solder_paste";
|
|
6851
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6852
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6853
|
+
};
|
|
6854
|
+
shape: "circle";
|
|
6855
|
+
radius: number;
|
|
6856
|
+
pcb_component_id?: string | undefined;
|
|
6857
|
+
pcb_smtpad_id?: string | undefined;
|
|
6858
|
+
pcb_solder_paste_id?: string | undefined;
|
|
6859
|
+
}>, z.ZodObject<{
|
|
6860
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
6861
|
+
shape: z.ZodLiteral<"rect">;
|
|
6862
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6863
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6864
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6865
|
+
width: z.ZodNumber;
|
|
6866
|
+
height: z.ZodNumber;
|
|
6867
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
6868
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
6869
|
+
}, "strip", z.ZodTypeAny, {
|
|
6870
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6871
|
+
}, {
|
|
6872
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6873
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6874
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6875
|
+
}>;
|
|
6876
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
6877
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
6878
|
+
}, "strip", z.ZodTypeAny, {
|
|
6879
|
+
x: number;
|
|
6880
|
+
y: number;
|
|
6881
|
+
type: "pcb_solder_paste";
|
|
6882
|
+
width: number;
|
|
6883
|
+
height: number;
|
|
6884
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6885
|
+
shape: "rect";
|
|
6886
|
+
pcb_solder_paste_id: string;
|
|
6887
|
+
pcb_component_id?: string | undefined;
|
|
6888
|
+
pcb_smtpad_id?: string | undefined;
|
|
6889
|
+
}, {
|
|
6890
|
+
x: string | number;
|
|
6891
|
+
y: string | number;
|
|
6892
|
+
type: "pcb_solder_paste";
|
|
6893
|
+
width: number;
|
|
6894
|
+
height: number;
|
|
6895
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6896
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6897
|
+
};
|
|
6898
|
+
shape: "rect";
|
|
6899
|
+
pcb_component_id?: string | undefined;
|
|
6900
|
+
pcb_smtpad_id?: string | undefined;
|
|
6901
|
+
pcb_solder_paste_id?: string | undefined;
|
|
6626
6902
|
}>]>, z.ZodObject<{
|
|
6627
6903
|
type: z.ZodLiteral<"pcb_board">;
|
|
6628
6904
|
pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -7789,4 +8065,4 @@ type AnySoupElement = AnyCircuitElement;
|
|
|
7789
8065
|
*/
|
|
7790
8066
|
type AnySoupElementInput = AnyCircuitElementInput;
|
|
7791
8067
|
|
|
7792
|
-
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 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 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 SchematicError, type SchematicErrorInput, type SchematicLine, type SchematicLineInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceInput, type Size, type SourceComponentBase, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, 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, 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_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, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, 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_bug, source_simple_capacitor, source_simple_chip, source_simple_diode, source_simple_ground, source_simple_power_source, source_simple_resistor, source_trace, supplier_name, time, visible_layer, voltage };
|
|
8068
|
+
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 SchematicError, type SchematicErrorInput, type SchematicLine, type SchematicLineInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceInput, type Size, type SourceComponentBase, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, 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, 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, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, 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_bug, source_simple_capacitor, source_simple_chip, source_simple_diode, source_simple_ground, source_simple_power_source, source_simple_resistor, source_trace, supplier_name, time, visible_layer, voltage };
|