circuit-json 0.0.462 → 0.0.463
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 +63 -0
- package/dist/index.mjs +12 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5749,6 +5749,7 @@ declare const pcb_smtpad_pill: z.ZodObject<{
|
|
|
5749
5749
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
5750
5750
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
5751
5751
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
5752
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
5752
5753
|
}, "strip", z.ZodTypeAny, {
|
|
5753
5754
|
type: "pcb_smtpad";
|
|
5754
5755
|
x: number;
|
|
@@ -5766,6 +5767,7 @@ declare const pcb_smtpad_pill: z.ZodObject<{
|
|
|
5766
5767
|
soldermask_margin?: number | undefined;
|
|
5767
5768
|
port_hints?: string[] | undefined;
|
|
5768
5769
|
pcb_port_id?: string | undefined;
|
|
5770
|
+
solderpaste_margin?: number | undefined;
|
|
5769
5771
|
}, {
|
|
5770
5772
|
type: "pcb_smtpad";
|
|
5771
5773
|
x: string | number;
|
|
@@ -5785,6 +5787,7 @@ declare const pcb_smtpad_pill: z.ZodObject<{
|
|
|
5785
5787
|
port_hints?: string[] | undefined;
|
|
5786
5788
|
pcb_port_id?: string | undefined;
|
|
5787
5789
|
pcb_smtpad_id?: string | undefined;
|
|
5790
|
+
solderpaste_margin?: number | undefined;
|
|
5788
5791
|
}>;
|
|
5789
5792
|
declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
5790
5793
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
@@ -5809,6 +5812,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
5809
5812
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
5810
5813
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
5811
5814
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
5815
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
5812
5816
|
}, "strip", z.ZodTypeAny, {
|
|
5813
5817
|
type: "pcb_smtpad";
|
|
5814
5818
|
x: number;
|
|
@@ -5824,6 +5828,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
5824
5828
|
soldermask_margin?: number | undefined;
|
|
5825
5829
|
port_hints?: string[] | undefined;
|
|
5826
5830
|
pcb_port_id?: string | undefined;
|
|
5831
|
+
solderpaste_margin?: number | undefined;
|
|
5827
5832
|
}, {
|
|
5828
5833
|
type: "pcb_smtpad";
|
|
5829
5834
|
x: string | number;
|
|
@@ -5841,6 +5846,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
5841
5846
|
port_hints?: string[] | undefined;
|
|
5842
5847
|
pcb_port_id?: string | undefined;
|
|
5843
5848
|
pcb_smtpad_id?: string | undefined;
|
|
5849
|
+
solderpaste_margin?: number | undefined;
|
|
5844
5850
|
}>, z.ZodObject<{
|
|
5845
5851
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
5846
5852
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -5871,6 +5877,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
5871
5877
|
soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
|
|
5872
5878
|
soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
|
|
5873
5879
|
soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
|
|
5880
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
5874
5881
|
}, "strip", z.ZodTypeAny, {
|
|
5875
5882
|
type: "pcb_smtpad";
|
|
5876
5883
|
x: number;
|
|
@@ -5888,6 +5895,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
5888
5895
|
port_hints?: string[] | undefined;
|
|
5889
5896
|
pcb_port_id?: string | undefined;
|
|
5890
5897
|
rect_border_radius?: number | undefined;
|
|
5898
|
+
solderpaste_margin?: number | undefined;
|
|
5891
5899
|
corner_radius?: number | undefined;
|
|
5892
5900
|
soldermask_margin_left?: number | undefined;
|
|
5893
5901
|
soldermask_margin_top?: number | undefined;
|
|
@@ -5912,6 +5920,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
5912
5920
|
pcb_port_id?: string | undefined;
|
|
5913
5921
|
rect_border_radius?: number | undefined;
|
|
5914
5922
|
pcb_smtpad_id?: string | undefined;
|
|
5923
|
+
solderpaste_margin?: number | undefined;
|
|
5915
5924
|
corner_radius?: number | undefined;
|
|
5916
5925
|
soldermask_margin_left?: number | undefined;
|
|
5917
5926
|
soldermask_margin_top?: number | undefined;
|
|
@@ -5948,6 +5957,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
5948
5957
|
soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
|
|
5949
5958
|
soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
|
|
5950
5959
|
soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
|
|
5960
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
5951
5961
|
}, "strip", z.ZodTypeAny, {
|
|
5952
5962
|
type: "pcb_smtpad";
|
|
5953
5963
|
x: number;
|
|
@@ -5966,6 +5976,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
5966
5976
|
port_hints?: string[] | undefined;
|
|
5967
5977
|
pcb_port_id?: string | undefined;
|
|
5968
5978
|
rect_border_radius?: number | undefined;
|
|
5979
|
+
solderpaste_margin?: number | undefined;
|
|
5969
5980
|
corner_radius?: number | undefined;
|
|
5970
5981
|
soldermask_margin_left?: number | undefined;
|
|
5971
5982
|
soldermask_margin_top?: number | undefined;
|
|
@@ -5991,6 +6002,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
5991
6002
|
pcb_port_id?: string | undefined;
|
|
5992
6003
|
rect_border_radius?: number | undefined;
|
|
5993
6004
|
pcb_smtpad_id?: string | undefined;
|
|
6005
|
+
solderpaste_margin?: number | undefined;
|
|
5994
6006
|
corner_radius?: number | undefined;
|
|
5995
6007
|
soldermask_margin_left?: number | undefined;
|
|
5996
6008
|
soldermask_margin_top?: number | undefined;
|
|
@@ -6022,6 +6034,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6022
6034
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
6023
6035
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
6024
6036
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
6037
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
6025
6038
|
}, "strip", z.ZodTypeAny, {
|
|
6026
6039
|
type: "pcb_smtpad";
|
|
6027
6040
|
x: number;
|
|
@@ -6040,6 +6053,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6040
6053
|
soldermask_margin?: number | undefined;
|
|
6041
6054
|
port_hints?: string[] | undefined;
|
|
6042
6055
|
pcb_port_id?: string | undefined;
|
|
6056
|
+
solderpaste_margin?: number | undefined;
|
|
6043
6057
|
}, {
|
|
6044
6058
|
type: "pcb_smtpad";
|
|
6045
6059
|
x: string | number;
|
|
@@ -6060,6 +6074,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6060
6074
|
port_hints?: string[] | undefined;
|
|
6061
6075
|
pcb_port_id?: string | undefined;
|
|
6062
6076
|
pcb_smtpad_id?: string | undefined;
|
|
6077
|
+
solderpaste_margin?: number | undefined;
|
|
6063
6078
|
}>, z.ZodObject<{
|
|
6064
6079
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
6065
6080
|
shape: z.ZodLiteral<"pill">;
|
|
@@ -6085,6 +6100,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6085
6100
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
6086
6101
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
6087
6102
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
6103
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
6088
6104
|
}, "strip", z.ZodTypeAny, {
|
|
6089
6105
|
type: "pcb_smtpad";
|
|
6090
6106
|
x: number;
|
|
@@ -6102,6 +6118,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6102
6118
|
soldermask_margin?: number | undefined;
|
|
6103
6119
|
port_hints?: string[] | undefined;
|
|
6104
6120
|
pcb_port_id?: string | undefined;
|
|
6121
|
+
solderpaste_margin?: number | undefined;
|
|
6105
6122
|
}, {
|
|
6106
6123
|
type: "pcb_smtpad";
|
|
6107
6124
|
x: string | number;
|
|
@@ -6121,6 +6138,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6121
6138
|
port_hints?: string[] | undefined;
|
|
6122
6139
|
pcb_port_id?: string | undefined;
|
|
6123
6140
|
pcb_smtpad_id?: string | undefined;
|
|
6141
|
+
solderpaste_margin?: number | undefined;
|
|
6124
6142
|
}>, z.ZodObject<{
|
|
6125
6143
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
6126
6144
|
shape: z.ZodLiteral<"polygon">;
|
|
@@ -6151,6 +6169,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6151
6169
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
6152
6170
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
6153
6171
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
6172
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
6154
6173
|
}, "strip", z.ZodTypeAny, {
|
|
6155
6174
|
type: "pcb_smtpad";
|
|
6156
6175
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
@@ -6167,6 +6186,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6167
6186
|
soldermask_margin?: number | undefined;
|
|
6168
6187
|
port_hints?: string[] | undefined;
|
|
6169
6188
|
pcb_port_id?: string | undefined;
|
|
6189
|
+
solderpaste_margin?: number | undefined;
|
|
6170
6190
|
}, {
|
|
6171
6191
|
type: "pcb_smtpad";
|
|
6172
6192
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
@@ -6185,6 +6205,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6185
6205
|
port_hints?: string[] | undefined;
|
|
6186
6206
|
pcb_port_id?: string | undefined;
|
|
6187
6207
|
pcb_smtpad_id?: string | undefined;
|
|
6208
|
+
solderpaste_margin?: number | undefined;
|
|
6188
6209
|
}>]>;
|
|
6189
6210
|
type PCBSMTPadInput = z.input<typeof pcb_smtpad>;
|
|
6190
6211
|
/**
|
|
@@ -6205,6 +6226,7 @@ interface PcbSmtPadCircle {
|
|
|
6205
6226
|
pcb_port_id?: string;
|
|
6206
6227
|
is_covered_with_solder_mask?: boolean;
|
|
6207
6228
|
soldermask_margin?: number;
|
|
6229
|
+
solderpaste_margin?: number;
|
|
6208
6230
|
}
|
|
6209
6231
|
/**
|
|
6210
6232
|
* Defines a rectangular SMT pad on the PCB
|
|
@@ -6231,6 +6253,7 @@ interface PcbSmtPadRect {
|
|
|
6231
6253
|
soldermask_margin_top?: number;
|
|
6232
6254
|
soldermask_margin_right?: number;
|
|
6233
6255
|
soldermask_margin_bottom?: number;
|
|
6256
|
+
solderpaste_margin?: number;
|
|
6234
6257
|
}
|
|
6235
6258
|
/**
|
|
6236
6259
|
* Defines a rotated rectangular SMT pad on the PCB
|
|
@@ -6258,6 +6281,7 @@ interface PcbSmtPadRotatedRect {
|
|
|
6258
6281
|
soldermask_margin_top?: number;
|
|
6259
6282
|
soldermask_margin_right?: number;
|
|
6260
6283
|
soldermask_margin_bottom?: number;
|
|
6284
|
+
solderpaste_margin?: number;
|
|
6261
6285
|
}
|
|
6262
6286
|
/**
|
|
6263
6287
|
* Defines a pill-shaped SMT pad on the PCB (rounded rectangle).
|
|
@@ -6279,6 +6303,7 @@ interface PcbSmtPadPill {
|
|
|
6279
6303
|
pcb_port_id?: string;
|
|
6280
6304
|
is_covered_with_solder_mask?: boolean;
|
|
6281
6305
|
soldermask_margin?: number;
|
|
6306
|
+
solderpaste_margin?: number;
|
|
6282
6307
|
}
|
|
6283
6308
|
/**
|
|
6284
6309
|
* Defines a rotated pill-shaped SMT pad on the PCB
|
|
@@ -6301,6 +6326,7 @@ interface PcbSmtPadRotatedPill {
|
|
|
6301
6326
|
pcb_port_id?: string;
|
|
6302
6327
|
is_covered_with_solder_mask?: boolean;
|
|
6303
6328
|
soldermask_margin?: number;
|
|
6329
|
+
solderpaste_margin?: number;
|
|
6304
6330
|
}
|
|
6305
6331
|
/**
|
|
6306
6332
|
* Defines a polygonal SMT pad on the PCB
|
|
@@ -6318,6 +6344,7 @@ interface PcbSmtPadPolygon {
|
|
|
6318
6344
|
pcb_port_id?: string;
|
|
6319
6345
|
is_covered_with_solder_mask?: boolean;
|
|
6320
6346
|
soldermask_margin?: number;
|
|
6347
|
+
solderpaste_margin?: number;
|
|
6321
6348
|
}
|
|
6322
6349
|
type PcbSmtPad = PcbSmtPadCircle | PcbSmtPadRect | PcbSmtPadRotatedRect | PcbSmtPadRotatedPill | PcbSmtPadPill | PcbSmtPadPolygon;
|
|
6323
6350
|
/**
|
|
@@ -42111,6 +42138,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42111
42138
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
42112
42139
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
42113
42140
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
42141
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
42114
42142
|
}, "strip", z.ZodTypeAny, {
|
|
42115
42143
|
type: "pcb_smtpad";
|
|
42116
42144
|
x: number;
|
|
@@ -42126,6 +42154,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42126
42154
|
soldermask_margin?: number | undefined;
|
|
42127
42155
|
port_hints?: string[] | undefined;
|
|
42128
42156
|
pcb_port_id?: string | undefined;
|
|
42157
|
+
solderpaste_margin?: number | undefined;
|
|
42129
42158
|
}, {
|
|
42130
42159
|
type: "pcb_smtpad";
|
|
42131
42160
|
x: string | number;
|
|
@@ -42143,6 +42172,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42143
42172
|
port_hints?: string[] | undefined;
|
|
42144
42173
|
pcb_port_id?: string | undefined;
|
|
42145
42174
|
pcb_smtpad_id?: string | undefined;
|
|
42175
|
+
solderpaste_margin?: number | undefined;
|
|
42146
42176
|
}>, z.ZodObject<{
|
|
42147
42177
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
42148
42178
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -42173,6 +42203,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42173
42203
|
soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
|
|
42174
42204
|
soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
|
|
42175
42205
|
soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
|
|
42206
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
42176
42207
|
}, "strip", z.ZodTypeAny, {
|
|
42177
42208
|
type: "pcb_smtpad";
|
|
42178
42209
|
x: number;
|
|
@@ -42190,6 +42221,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42190
42221
|
port_hints?: string[] | undefined;
|
|
42191
42222
|
pcb_port_id?: string | undefined;
|
|
42192
42223
|
rect_border_radius?: number | undefined;
|
|
42224
|
+
solderpaste_margin?: number | undefined;
|
|
42193
42225
|
corner_radius?: number | undefined;
|
|
42194
42226
|
soldermask_margin_left?: number | undefined;
|
|
42195
42227
|
soldermask_margin_top?: number | undefined;
|
|
@@ -42214,6 +42246,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42214
42246
|
pcb_port_id?: string | undefined;
|
|
42215
42247
|
rect_border_radius?: number | undefined;
|
|
42216
42248
|
pcb_smtpad_id?: string | undefined;
|
|
42249
|
+
solderpaste_margin?: number | undefined;
|
|
42217
42250
|
corner_radius?: number | undefined;
|
|
42218
42251
|
soldermask_margin_left?: number | undefined;
|
|
42219
42252
|
soldermask_margin_top?: number | undefined;
|
|
@@ -42250,6 +42283,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42250
42283
|
soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
|
|
42251
42284
|
soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
|
|
42252
42285
|
soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
|
|
42286
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
42253
42287
|
}, "strip", z.ZodTypeAny, {
|
|
42254
42288
|
type: "pcb_smtpad";
|
|
42255
42289
|
x: number;
|
|
@@ -42268,6 +42302,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42268
42302
|
port_hints?: string[] | undefined;
|
|
42269
42303
|
pcb_port_id?: string | undefined;
|
|
42270
42304
|
rect_border_radius?: number | undefined;
|
|
42305
|
+
solderpaste_margin?: number | undefined;
|
|
42271
42306
|
corner_radius?: number | undefined;
|
|
42272
42307
|
soldermask_margin_left?: number | undefined;
|
|
42273
42308
|
soldermask_margin_top?: number | undefined;
|
|
@@ -42293,6 +42328,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42293
42328
|
pcb_port_id?: string | undefined;
|
|
42294
42329
|
rect_border_radius?: number | undefined;
|
|
42295
42330
|
pcb_smtpad_id?: string | undefined;
|
|
42331
|
+
solderpaste_margin?: number | undefined;
|
|
42296
42332
|
corner_radius?: number | undefined;
|
|
42297
42333
|
soldermask_margin_left?: number | undefined;
|
|
42298
42334
|
soldermask_margin_top?: number | undefined;
|
|
@@ -42324,6 +42360,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42324
42360
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
42325
42361
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
42326
42362
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
42363
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
42327
42364
|
}, "strip", z.ZodTypeAny, {
|
|
42328
42365
|
type: "pcb_smtpad";
|
|
42329
42366
|
x: number;
|
|
@@ -42342,6 +42379,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42342
42379
|
soldermask_margin?: number | undefined;
|
|
42343
42380
|
port_hints?: string[] | undefined;
|
|
42344
42381
|
pcb_port_id?: string | undefined;
|
|
42382
|
+
solderpaste_margin?: number | undefined;
|
|
42345
42383
|
}, {
|
|
42346
42384
|
type: "pcb_smtpad";
|
|
42347
42385
|
x: string | number;
|
|
@@ -42362,6 +42400,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42362
42400
|
port_hints?: string[] | undefined;
|
|
42363
42401
|
pcb_port_id?: string | undefined;
|
|
42364
42402
|
pcb_smtpad_id?: string | undefined;
|
|
42403
|
+
solderpaste_margin?: number | undefined;
|
|
42365
42404
|
}>, z.ZodObject<{
|
|
42366
42405
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
42367
42406
|
shape: z.ZodLiteral<"pill">;
|
|
@@ -42387,6 +42426,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42387
42426
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
42388
42427
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
42389
42428
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
42429
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
42390
42430
|
}, "strip", z.ZodTypeAny, {
|
|
42391
42431
|
type: "pcb_smtpad";
|
|
42392
42432
|
x: number;
|
|
@@ -42404,6 +42444,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42404
42444
|
soldermask_margin?: number | undefined;
|
|
42405
42445
|
port_hints?: string[] | undefined;
|
|
42406
42446
|
pcb_port_id?: string | undefined;
|
|
42447
|
+
solderpaste_margin?: number | undefined;
|
|
42407
42448
|
}, {
|
|
42408
42449
|
type: "pcb_smtpad";
|
|
42409
42450
|
x: string | number;
|
|
@@ -42423,6 +42464,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42423
42464
|
port_hints?: string[] | undefined;
|
|
42424
42465
|
pcb_port_id?: string | undefined;
|
|
42425
42466
|
pcb_smtpad_id?: string | undefined;
|
|
42467
|
+
solderpaste_margin?: number | undefined;
|
|
42426
42468
|
}>, z.ZodObject<{
|
|
42427
42469
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
42428
42470
|
shape: z.ZodLiteral<"polygon">;
|
|
@@ -42453,6 +42495,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42453
42495
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
42454
42496
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
42455
42497
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
42498
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
42456
42499
|
}, "strip", z.ZodTypeAny, {
|
|
42457
42500
|
type: "pcb_smtpad";
|
|
42458
42501
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
@@ -42469,6 +42512,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42469
42512
|
soldermask_margin?: number | undefined;
|
|
42470
42513
|
port_hints?: string[] | undefined;
|
|
42471
42514
|
pcb_port_id?: string | undefined;
|
|
42515
|
+
solderpaste_margin?: number | undefined;
|
|
42472
42516
|
}, {
|
|
42473
42517
|
type: "pcb_smtpad";
|
|
42474
42518
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
@@ -42487,6 +42531,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
42487
42531
|
port_hints?: string[] | undefined;
|
|
42488
42532
|
pcb_port_id?: string | undefined;
|
|
42489
42533
|
pcb_smtpad_id?: string | undefined;
|
|
42534
|
+
solderpaste_margin?: number | undefined;
|
|
42490
42535
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
42491
42536
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
42492
42537
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -62081,6 +62126,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62081
62126
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
62082
62127
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
62083
62128
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
62129
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
62084
62130
|
}, "strip", z.ZodTypeAny, {
|
|
62085
62131
|
type: "pcb_smtpad";
|
|
62086
62132
|
x: number;
|
|
@@ -62096,6 +62142,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62096
62142
|
soldermask_margin?: number | undefined;
|
|
62097
62143
|
port_hints?: string[] | undefined;
|
|
62098
62144
|
pcb_port_id?: string | undefined;
|
|
62145
|
+
solderpaste_margin?: number | undefined;
|
|
62099
62146
|
}, {
|
|
62100
62147
|
type: "pcb_smtpad";
|
|
62101
62148
|
x: string | number;
|
|
@@ -62113,6 +62160,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62113
62160
|
port_hints?: string[] | undefined;
|
|
62114
62161
|
pcb_port_id?: string | undefined;
|
|
62115
62162
|
pcb_smtpad_id?: string | undefined;
|
|
62163
|
+
solderpaste_margin?: number | undefined;
|
|
62116
62164
|
}>, z.ZodObject<{
|
|
62117
62165
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
62118
62166
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -62143,6 +62191,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62143
62191
|
soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
|
|
62144
62192
|
soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
|
|
62145
62193
|
soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
|
|
62194
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
62146
62195
|
}, "strip", z.ZodTypeAny, {
|
|
62147
62196
|
type: "pcb_smtpad";
|
|
62148
62197
|
x: number;
|
|
@@ -62160,6 +62209,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62160
62209
|
port_hints?: string[] | undefined;
|
|
62161
62210
|
pcb_port_id?: string | undefined;
|
|
62162
62211
|
rect_border_radius?: number | undefined;
|
|
62212
|
+
solderpaste_margin?: number | undefined;
|
|
62163
62213
|
corner_radius?: number | undefined;
|
|
62164
62214
|
soldermask_margin_left?: number | undefined;
|
|
62165
62215
|
soldermask_margin_top?: number | undefined;
|
|
@@ -62184,6 +62234,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62184
62234
|
pcb_port_id?: string | undefined;
|
|
62185
62235
|
rect_border_radius?: number | undefined;
|
|
62186
62236
|
pcb_smtpad_id?: string | undefined;
|
|
62237
|
+
solderpaste_margin?: number | undefined;
|
|
62187
62238
|
corner_radius?: number | undefined;
|
|
62188
62239
|
soldermask_margin_left?: number | undefined;
|
|
62189
62240
|
soldermask_margin_top?: number | undefined;
|
|
@@ -62220,6 +62271,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62220
62271
|
soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
|
|
62221
62272
|
soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
|
|
62222
62273
|
soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
|
|
62274
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
62223
62275
|
}, "strip", z.ZodTypeAny, {
|
|
62224
62276
|
type: "pcb_smtpad";
|
|
62225
62277
|
x: number;
|
|
@@ -62238,6 +62290,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62238
62290
|
port_hints?: string[] | undefined;
|
|
62239
62291
|
pcb_port_id?: string | undefined;
|
|
62240
62292
|
rect_border_radius?: number | undefined;
|
|
62293
|
+
solderpaste_margin?: number | undefined;
|
|
62241
62294
|
corner_radius?: number | undefined;
|
|
62242
62295
|
soldermask_margin_left?: number | undefined;
|
|
62243
62296
|
soldermask_margin_top?: number | undefined;
|
|
@@ -62263,6 +62316,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62263
62316
|
pcb_port_id?: string | undefined;
|
|
62264
62317
|
rect_border_radius?: number | undefined;
|
|
62265
62318
|
pcb_smtpad_id?: string | undefined;
|
|
62319
|
+
solderpaste_margin?: number | undefined;
|
|
62266
62320
|
corner_radius?: number | undefined;
|
|
62267
62321
|
soldermask_margin_left?: number | undefined;
|
|
62268
62322
|
soldermask_margin_top?: number | undefined;
|
|
@@ -62294,6 +62348,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62294
62348
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
62295
62349
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
62296
62350
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
62351
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
62297
62352
|
}, "strip", z.ZodTypeAny, {
|
|
62298
62353
|
type: "pcb_smtpad";
|
|
62299
62354
|
x: number;
|
|
@@ -62312,6 +62367,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62312
62367
|
soldermask_margin?: number | undefined;
|
|
62313
62368
|
port_hints?: string[] | undefined;
|
|
62314
62369
|
pcb_port_id?: string | undefined;
|
|
62370
|
+
solderpaste_margin?: number | undefined;
|
|
62315
62371
|
}, {
|
|
62316
62372
|
type: "pcb_smtpad";
|
|
62317
62373
|
x: string | number;
|
|
@@ -62332,6 +62388,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62332
62388
|
port_hints?: string[] | undefined;
|
|
62333
62389
|
pcb_port_id?: string | undefined;
|
|
62334
62390
|
pcb_smtpad_id?: string | undefined;
|
|
62391
|
+
solderpaste_margin?: number | undefined;
|
|
62335
62392
|
}>, z.ZodObject<{
|
|
62336
62393
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
62337
62394
|
shape: z.ZodLiteral<"pill">;
|
|
@@ -62357,6 +62414,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62357
62414
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
62358
62415
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
62359
62416
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
62417
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
62360
62418
|
}, "strip", z.ZodTypeAny, {
|
|
62361
62419
|
type: "pcb_smtpad";
|
|
62362
62420
|
x: number;
|
|
@@ -62374,6 +62432,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62374
62432
|
soldermask_margin?: number | undefined;
|
|
62375
62433
|
port_hints?: string[] | undefined;
|
|
62376
62434
|
pcb_port_id?: string | undefined;
|
|
62435
|
+
solderpaste_margin?: number | undefined;
|
|
62377
62436
|
}, {
|
|
62378
62437
|
type: "pcb_smtpad";
|
|
62379
62438
|
x: string | number;
|
|
@@ -62393,6 +62452,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62393
62452
|
port_hints?: string[] | undefined;
|
|
62394
62453
|
pcb_port_id?: string | undefined;
|
|
62395
62454
|
pcb_smtpad_id?: string | undefined;
|
|
62455
|
+
solderpaste_margin?: number | undefined;
|
|
62396
62456
|
}>, z.ZodObject<{
|
|
62397
62457
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
62398
62458
|
shape: z.ZodLiteral<"polygon">;
|
|
@@ -62423,6 +62483,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62423
62483
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
62424
62484
|
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
62425
62485
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
62486
|
+
solderpaste_margin: z.ZodOptional<z.ZodNumber>;
|
|
62426
62487
|
}, "strip", z.ZodTypeAny, {
|
|
62427
62488
|
type: "pcb_smtpad";
|
|
62428
62489
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
@@ -62439,6 +62500,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62439
62500
|
soldermask_margin?: number | undefined;
|
|
62440
62501
|
port_hints?: string[] | undefined;
|
|
62441
62502
|
pcb_port_id?: string | undefined;
|
|
62503
|
+
solderpaste_margin?: number | undefined;
|
|
62442
62504
|
}, {
|
|
62443
62505
|
type: "pcb_smtpad";
|
|
62444
62506
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
@@ -62457,6 +62519,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
62457
62519
|
port_hints?: string[] | undefined;
|
|
62458
62520
|
pcb_port_id?: string | undefined;
|
|
62459
62521
|
pcb_smtpad_id?: string | undefined;
|
|
62522
|
+
solderpaste_margin?: number | undefined;
|
|
62460
62523
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
62461
62524
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
62462
62525
|
shape: z.ZodLiteral<"circle">;
|
package/dist/index.mjs
CHANGED
|
@@ -2076,7 +2076,8 @@ var pcb_smtpad_circle = z105.object({
|
|
|
2076
2076
|
pcb_component_id: z105.string().optional(),
|
|
2077
2077
|
pcb_port_id: z105.string().optional(),
|
|
2078
2078
|
is_covered_with_solder_mask: z105.boolean().optional(),
|
|
2079
|
-
soldermask_margin: z105.number().optional()
|
|
2079
|
+
soldermask_margin: z105.number().optional(),
|
|
2080
|
+
solderpaste_margin: z105.number().optional()
|
|
2080
2081
|
});
|
|
2081
2082
|
var pcb_smtpad_rect = z105.object({
|
|
2082
2083
|
type: z105.literal("pcb_smtpad"),
|
|
@@ -2099,7 +2100,8 @@ var pcb_smtpad_rect = z105.object({
|
|
|
2099
2100
|
soldermask_margin_left: z105.number().optional(),
|
|
2100
2101
|
soldermask_margin_top: z105.number().optional(),
|
|
2101
2102
|
soldermask_margin_right: z105.number().optional(),
|
|
2102
|
-
soldermask_margin_bottom: z105.number().optional()
|
|
2103
|
+
soldermask_margin_bottom: z105.number().optional(),
|
|
2104
|
+
solderpaste_margin: z105.number().optional()
|
|
2103
2105
|
});
|
|
2104
2106
|
var pcb_smtpad_rotated_rect = z105.object({
|
|
2105
2107
|
type: z105.literal("pcb_smtpad"),
|
|
@@ -2123,7 +2125,8 @@ var pcb_smtpad_rotated_rect = z105.object({
|
|
|
2123
2125
|
soldermask_margin_left: z105.number().optional(),
|
|
2124
2126
|
soldermask_margin_top: z105.number().optional(),
|
|
2125
2127
|
soldermask_margin_right: z105.number().optional(),
|
|
2126
|
-
soldermask_margin_bottom: z105.number().optional()
|
|
2128
|
+
soldermask_margin_bottom: z105.number().optional(),
|
|
2129
|
+
solderpaste_margin: z105.number().optional()
|
|
2127
2130
|
});
|
|
2128
2131
|
var pcb_smtpad_pill = z105.object({
|
|
2129
2132
|
type: z105.literal("pcb_smtpad"),
|
|
@@ -2141,7 +2144,8 @@ var pcb_smtpad_pill = z105.object({
|
|
|
2141
2144
|
pcb_component_id: z105.string().optional(),
|
|
2142
2145
|
pcb_port_id: z105.string().optional(),
|
|
2143
2146
|
is_covered_with_solder_mask: z105.boolean().optional(),
|
|
2144
|
-
soldermask_margin: z105.number().optional()
|
|
2147
|
+
soldermask_margin: z105.number().optional(),
|
|
2148
|
+
solderpaste_margin: z105.number().optional()
|
|
2145
2149
|
});
|
|
2146
2150
|
var pcb_smtpad_rotated_pill = z105.object({
|
|
2147
2151
|
type: z105.literal("pcb_smtpad"),
|
|
@@ -2160,7 +2164,8 @@ var pcb_smtpad_rotated_pill = z105.object({
|
|
|
2160
2164
|
pcb_component_id: z105.string().optional(),
|
|
2161
2165
|
pcb_port_id: z105.string().optional(),
|
|
2162
2166
|
is_covered_with_solder_mask: z105.boolean().optional(),
|
|
2163
|
-
soldermask_margin: z105.number().optional()
|
|
2167
|
+
soldermask_margin: z105.number().optional(),
|
|
2168
|
+
solderpaste_margin: z105.number().optional()
|
|
2164
2169
|
});
|
|
2165
2170
|
var pcb_smtpad_polygon = z105.object({
|
|
2166
2171
|
type: z105.literal("pcb_smtpad"),
|
|
@@ -2174,7 +2179,8 @@ var pcb_smtpad_polygon = z105.object({
|
|
|
2174
2179
|
pcb_component_id: z105.string().optional(),
|
|
2175
2180
|
pcb_port_id: z105.string().optional(),
|
|
2176
2181
|
is_covered_with_solder_mask: z105.boolean().optional(),
|
|
2177
|
-
soldermask_margin: z105.number().optional()
|
|
2182
|
+
soldermask_margin: z105.number().optional(),
|
|
2183
|
+
solderpaste_margin: z105.number().optional()
|
|
2178
2184
|
});
|
|
2179
2185
|
var pcb_smtpad = z105.discriminatedUnion("shape", [
|
|
2180
2186
|
pcb_smtpad_circle,
|