circuit-json 0.0.158 → 0.0.160
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 +558 -2
- package/dist/index.mjs +59 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4015,6 +4015,159 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
|
4015
4015
|
pcb_group_id?: string | undefined;
|
|
4016
4016
|
pcb_smtpad_id?: string | undefined;
|
|
4017
4017
|
pcb_solder_paste_id?: string | undefined;
|
|
4018
|
+
}>, z.ZodObject<{
|
|
4019
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
4020
|
+
shape: z.ZodLiteral<"pill">;
|
|
4021
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4022
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4023
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4024
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4025
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4026
|
+
width: z.ZodNumber;
|
|
4027
|
+
height: z.ZodNumber;
|
|
4028
|
+
radius: z.ZodNumber;
|
|
4029
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
4030
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
4031
|
+
}, "strip", z.ZodTypeAny, {
|
|
4032
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4033
|
+
}, {
|
|
4034
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4035
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4036
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4037
|
+
}>;
|
|
4038
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4039
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
4040
|
+
}, "strip", z.ZodTypeAny, {
|
|
4041
|
+
x: number;
|
|
4042
|
+
y: number;
|
|
4043
|
+
type: "pcb_solder_paste";
|
|
4044
|
+
width: number;
|
|
4045
|
+
height: number;
|
|
4046
|
+
shape: "pill";
|
|
4047
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4048
|
+
radius: number;
|
|
4049
|
+
pcb_solder_paste_id: string;
|
|
4050
|
+
subcircuit_id?: string | undefined;
|
|
4051
|
+
pcb_component_id?: string | undefined;
|
|
4052
|
+
pcb_group_id?: string | undefined;
|
|
4053
|
+
pcb_smtpad_id?: string | undefined;
|
|
4054
|
+
}, {
|
|
4055
|
+
x: string | number;
|
|
4056
|
+
y: string | number;
|
|
4057
|
+
type: "pcb_solder_paste";
|
|
4058
|
+
width: number;
|
|
4059
|
+
height: number;
|
|
4060
|
+
shape: "pill";
|
|
4061
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4062
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4063
|
+
};
|
|
4064
|
+
radius: number;
|
|
4065
|
+
subcircuit_id?: string | undefined;
|
|
4066
|
+
pcb_component_id?: string | undefined;
|
|
4067
|
+
pcb_group_id?: string | undefined;
|
|
4068
|
+
pcb_smtpad_id?: string | undefined;
|
|
4069
|
+
pcb_solder_paste_id?: string | undefined;
|
|
4070
|
+
}>, z.ZodObject<{
|
|
4071
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
4072
|
+
shape: z.ZodLiteral<"rotated_rect">;
|
|
4073
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4074
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4075
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4076
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4077
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4078
|
+
width: z.ZodNumber;
|
|
4079
|
+
height: z.ZodNumber;
|
|
4080
|
+
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4081
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
4082
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
4083
|
+
}, "strip", z.ZodTypeAny, {
|
|
4084
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4085
|
+
}, {
|
|
4086
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4087
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4088
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4089
|
+
}>;
|
|
4090
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4091
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
4092
|
+
}, "strip", z.ZodTypeAny, {
|
|
4093
|
+
x: number;
|
|
4094
|
+
y: number;
|
|
4095
|
+
type: "pcb_solder_paste";
|
|
4096
|
+
width: number;
|
|
4097
|
+
height: number;
|
|
4098
|
+
shape: "rotated_rect";
|
|
4099
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4100
|
+
ccw_rotation: number;
|
|
4101
|
+
pcb_solder_paste_id: string;
|
|
4102
|
+
subcircuit_id?: string | undefined;
|
|
4103
|
+
pcb_component_id?: string | undefined;
|
|
4104
|
+
pcb_group_id?: string | undefined;
|
|
4105
|
+
pcb_smtpad_id?: string | undefined;
|
|
4106
|
+
}, {
|
|
4107
|
+
x: string | number;
|
|
4108
|
+
y: string | number;
|
|
4109
|
+
type: "pcb_solder_paste";
|
|
4110
|
+
width: number;
|
|
4111
|
+
height: number;
|
|
4112
|
+
shape: "rotated_rect";
|
|
4113
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4114
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4115
|
+
};
|
|
4116
|
+
ccw_rotation: string | number;
|
|
4117
|
+
subcircuit_id?: string | undefined;
|
|
4118
|
+
pcb_component_id?: string | undefined;
|
|
4119
|
+
pcb_group_id?: string | undefined;
|
|
4120
|
+
pcb_smtpad_id?: string | undefined;
|
|
4121
|
+
pcb_solder_paste_id?: string | undefined;
|
|
4122
|
+
}>, z.ZodObject<{
|
|
4123
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
4124
|
+
shape: z.ZodLiteral<"oval">;
|
|
4125
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4126
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4127
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4128
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4129
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4130
|
+
width: z.ZodNumber;
|
|
4131
|
+
height: z.ZodNumber;
|
|
4132
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
4133
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
4134
|
+
}, "strip", z.ZodTypeAny, {
|
|
4135
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4136
|
+
}, {
|
|
4137
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4138
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4139
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4140
|
+
}>;
|
|
4141
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4142
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
4143
|
+
}, "strip", z.ZodTypeAny, {
|
|
4144
|
+
x: number;
|
|
4145
|
+
y: number;
|
|
4146
|
+
type: "pcb_solder_paste";
|
|
4147
|
+
width: number;
|
|
4148
|
+
height: number;
|
|
4149
|
+
shape: "oval";
|
|
4150
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4151
|
+
pcb_solder_paste_id: string;
|
|
4152
|
+
subcircuit_id?: string | undefined;
|
|
4153
|
+
pcb_component_id?: string | undefined;
|
|
4154
|
+
pcb_group_id?: string | undefined;
|
|
4155
|
+
pcb_smtpad_id?: string | undefined;
|
|
4156
|
+
}, {
|
|
4157
|
+
x: string | number;
|
|
4158
|
+
y: string | number;
|
|
4159
|
+
type: "pcb_solder_paste";
|
|
4160
|
+
width: number;
|
|
4161
|
+
height: number;
|
|
4162
|
+
shape: "oval";
|
|
4163
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4164
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4165
|
+
};
|
|
4166
|
+
subcircuit_id?: string | undefined;
|
|
4167
|
+
pcb_component_id?: string | undefined;
|
|
4168
|
+
pcb_group_id?: string | undefined;
|
|
4169
|
+
pcb_smtpad_id?: string | undefined;
|
|
4170
|
+
pcb_solder_paste_id?: string | undefined;
|
|
4018
4171
|
}>]>;
|
|
4019
4172
|
type PCBSolderPasteInput = z.input<typeof pcb_solder_paste>;
|
|
4020
4173
|
/**
|
|
@@ -4050,7 +4203,60 @@ interface PcbSolderPasteRect {
|
|
|
4050
4203
|
pcb_component_id?: string;
|
|
4051
4204
|
pcb_smtpad_id?: string;
|
|
4052
4205
|
}
|
|
4053
|
-
|
|
4206
|
+
/**
|
|
4207
|
+
* Defines solderpaste on the PCB
|
|
4208
|
+
*/
|
|
4209
|
+
interface PcbSolderPastePill {
|
|
4210
|
+
type: "pcb_solder_paste";
|
|
4211
|
+
shape: "pill";
|
|
4212
|
+
pcb_solder_paste_id: string;
|
|
4213
|
+
pcb_group_id?: string;
|
|
4214
|
+
subcircuit_id?: string;
|
|
4215
|
+
x: Distance;
|
|
4216
|
+
y: Distance;
|
|
4217
|
+
width: number;
|
|
4218
|
+
height: number;
|
|
4219
|
+
radius: number;
|
|
4220
|
+
layer: LayerRef;
|
|
4221
|
+
pcb_component_id?: string;
|
|
4222
|
+
pcb_smtpad_id?: string;
|
|
4223
|
+
}
|
|
4224
|
+
/**
|
|
4225
|
+
* Defines solderpaste on the PCB
|
|
4226
|
+
*/
|
|
4227
|
+
interface PcbSolderPasteRotatedRect {
|
|
4228
|
+
type: "pcb_solder_paste";
|
|
4229
|
+
shape: "rotated_rect";
|
|
4230
|
+
pcb_solder_paste_id: string;
|
|
4231
|
+
pcb_group_id?: string;
|
|
4232
|
+
subcircuit_id?: string;
|
|
4233
|
+
x: Distance;
|
|
4234
|
+
y: Distance;
|
|
4235
|
+
width: number;
|
|
4236
|
+
height: number;
|
|
4237
|
+
ccw_rotation: Distance;
|
|
4238
|
+
layer: LayerRef;
|
|
4239
|
+
pcb_component_id?: string;
|
|
4240
|
+
pcb_smtpad_id?: string;
|
|
4241
|
+
}
|
|
4242
|
+
/**
|
|
4243
|
+
* Defines solderpaste on the PCB
|
|
4244
|
+
*/
|
|
4245
|
+
interface PcbSolderPasteOval {
|
|
4246
|
+
type: "pcb_solder_paste";
|
|
4247
|
+
shape: "oval";
|
|
4248
|
+
pcb_solder_paste_id: string;
|
|
4249
|
+
pcb_group_id?: string;
|
|
4250
|
+
subcircuit_id?: string;
|
|
4251
|
+
x: Distance;
|
|
4252
|
+
y: Distance;
|
|
4253
|
+
width: number;
|
|
4254
|
+
height: number;
|
|
4255
|
+
layer: LayerRef;
|
|
4256
|
+
pcb_component_id?: string;
|
|
4257
|
+
pcb_smtpad_id?: string;
|
|
4258
|
+
}
|
|
4259
|
+
type PcbSolderPaste = PcbSolderPasteCircle | PcbSolderPasteRect | PcbSolderPastePill | PcbSolderPasteRotatedRect | PcbSolderPasteOval;
|
|
4054
4260
|
|
|
4055
4261
|
declare const pcb_text: z.ZodObject<{
|
|
4056
4262
|
type: z.ZodLiteral<"pcb_text">;
|
|
@@ -4175,6 +4381,8 @@ declare const pcb_trace_route_point_via: z.ZodObject<{
|
|
|
4175
4381
|
route_type: z.ZodLiteral<"via">;
|
|
4176
4382
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4177
4383
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4384
|
+
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4385
|
+
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4178
4386
|
from_layer: z.ZodString;
|
|
4179
4387
|
to_layer: z.ZodString;
|
|
4180
4388
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4183,12 +4391,16 @@ declare const pcb_trace_route_point_via: z.ZodObject<{
|
|
|
4183
4391
|
to_layer: string;
|
|
4184
4392
|
route_type: "via";
|
|
4185
4393
|
from_layer: string;
|
|
4394
|
+
hole_diameter?: number | undefined;
|
|
4395
|
+
outer_diameter?: number | undefined;
|
|
4186
4396
|
}, {
|
|
4187
4397
|
x: string | number;
|
|
4188
4398
|
y: string | number;
|
|
4189
4399
|
to_layer: string;
|
|
4190
4400
|
route_type: "via";
|
|
4191
4401
|
from_layer: string;
|
|
4402
|
+
hole_diameter?: string | number | undefined;
|
|
4403
|
+
outer_diameter?: string | number | undefined;
|
|
4192
4404
|
}>;
|
|
4193
4405
|
declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
|
|
4194
4406
|
route_type: z.ZodLiteral<"wire">;
|
|
@@ -4228,6 +4440,8 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
|
|
|
4228
4440
|
route_type: z.ZodLiteral<"via">;
|
|
4229
4441
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4230
4442
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4443
|
+
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4444
|
+
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4231
4445
|
from_layer: z.ZodString;
|
|
4232
4446
|
to_layer: z.ZodString;
|
|
4233
4447
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4236,12 +4450,16 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
|
|
|
4236
4450
|
to_layer: string;
|
|
4237
4451
|
route_type: "via";
|
|
4238
4452
|
from_layer: string;
|
|
4453
|
+
hole_diameter?: number | undefined;
|
|
4454
|
+
outer_diameter?: number | undefined;
|
|
4239
4455
|
}, {
|
|
4240
4456
|
x: string | number;
|
|
4241
4457
|
y: string | number;
|
|
4242
4458
|
to_layer: string;
|
|
4243
4459
|
route_type: "via";
|
|
4244
4460
|
from_layer: string;
|
|
4461
|
+
hole_diameter?: string | number | undefined;
|
|
4462
|
+
outer_diameter?: string | number | undefined;
|
|
4245
4463
|
}>]>;
|
|
4246
4464
|
declare const pcb_trace: z.ZodObject<{
|
|
4247
4465
|
type: z.ZodLiteral<"pcb_trace">;
|
|
@@ -4292,6 +4510,8 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
4292
4510
|
route_type: z.ZodLiteral<"via">;
|
|
4293
4511
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4294
4512
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4513
|
+
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4514
|
+
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4295
4515
|
from_layer: z.ZodString;
|
|
4296
4516
|
to_layer: z.ZodString;
|
|
4297
4517
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4300,12 +4520,16 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
4300
4520
|
to_layer: string;
|
|
4301
4521
|
route_type: "via";
|
|
4302
4522
|
from_layer: string;
|
|
4523
|
+
hole_diameter?: number | undefined;
|
|
4524
|
+
outer_diameter?: number | undefined;
|
|
4303
4525
|
}, {
|
|
4304
4526
|
x: string | number;
|
|
4305
4527
|
y: string | number;
|
|
4306
4528
|
to_layer: string;
|
|
4307
4529
|
route_type: "via";
|
|
4308
4530
|
from_layer: string;
|
|
4531
|
+
hole_diameter?: string | number | undefined;
|
|
4532
|
+
outer_diameter?: string | number | undefined;
|
|
4309
4533
|
}>]>, "many">;
|
|
4310
4534
|
}, "strip", z.ZodTypeAny, {
|
|
4311
4535
|
type: "pcb_trace";
|
|
@@ -4324,6 +4548,8 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
4324
4548
|
to_layer: string;
|
|
4325
4549
|
route_type: "via";
|
|
4326
4550
|
from_layer: string;
|
|
4551
|
+
hole_diameter?: number | undefined;
|
|
4552
|
+
outer_diameter?: number | undefined;
|
|
4327
4553
|
})[];
|
|
4328
4554
|
subcircuit_id?: string | undefined;
|
|
4329
4555
|
source_trace_id?: string | undefined;
|
|
@@ -4351,6 +4577,8 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
4351
4577
|
to_layer: string;
|
|
4352
4578
|
route_type: "via";
|
|
4353
4579
|
from_layer: string;
|
|
4580
|
+
hole_diameter?: string | number | undefined;
|
|
4581
|
+
outer_diameter?: string | number | undefined;
|
|
4354
4582
|
})[];
|
|
4355
4583
|
subcircuit_id?: string | undefined;
|
|
4356
4584
|
source_trace_id?: string | undefined;
|
|
@@ -4376,6 +4604,8 @@ interface PcbTraceRoutePointVia {
|
|
|
4376
4604
|
route_type: "via";
|
|
4377
4605
|
x: Distance;
|
|
4378
4606
|
y: Distance;
|
|
4607
|
+
hole_diameter?: Distance;
|
|
4608
|
+
outer_diameter?: Distance;
|
|
4379
4609
|
from_layer: string;
|
|
4380
4610
|
to_layer: string;
|
|
4381
4611
|
}
|
|
@@ -7471,6 +7701,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7471
7701
|
route_type: z.ZodLiteral<"via">;
|
|
7472
7702
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7473
7703
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7704
|
+
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7705
|
+
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7474
7706
|
from_layer: z.ZodString;
|
|
7475
7707
|
to_layer: z.ZodString;
|
|
7476
7708
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7479,12 +7711,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7479
7711
|
to_layer: string;
|
|
7480
7712
|
route_type: "via";
|
|
7481
7713
|
from_layer: string;
|
|
7714
|
+
hole_diameter?: number | undefined;
|
|
7715
|
+
outer_diameter?: number | undefined;
|
|
7482
7716
|
}, {
|
|
7483
7717
|
x: string | number;
|
|
7484
7718
|
y: string | number;
|
|
7485
7719
|
to_layer: string;
|
|
7486
7720
|
route_type: "via";
|
|
7487
7721
|
from_layer: string;
|
|
7722
|
+
hole_diameter?: string | number | undefined;
|
|
7723
|
+
outer_diameter?: string | number | undefined;
|
|
7488
7724
|
}>]>, "many">;
|
|
7489
7725
|
}, "strip", z.ZodTypeAny, {
|
|
7490
7726
|
type: "pcb_trace";
|
|
@@ -7503,6 +7739,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7503
7739
|
to_layer: string;
|
|
7504
7740
|
route_type: "via";
|
|
7505
7741
|
from_layer: string;
|
|
7742
|
+
hole_diameter?: number | undefined;
|
|
7743
|
+
outer_diameter?: number | undefined;
|
|
7506
7744
|
})[];
|
|
7507
7745
|
subcircuit_id?: string | undefined;
|
|
7508
7746
|
source_trace_id?: string | undefined;
|
|
@@ -7530,6 +7768,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7530
7768
|
to_layer: string;
|
|
7531
7769
|
route_type: "via";
|
|
7532
7770
|
from_layer: string;
|
|
7771
|
+
hole_diameter?: string | number | undefined;
|
|
7772
|
+
outer_diameter?: string | number | undefined;
|
|
7533
7773
|
})[];
|
|
7534
7774
|
subcircuit_id?: string | undefined;
|
|
7535
7775
|
source_trace_id?: string | undefined;
|
|
@@ -7915,6 +8155,159 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7915
8155
|
pcb_group_id?: string | undefined;
|
|
7916
8156
|
pcb_smtpad_id?: string | undefined;
|
|
7917
8157
|
pcb_solder_paste_id?: string | undefined;
|
|
8158
|
+
}>, z.ZodObject<{
|
|
8159
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
8160
|
+
shape: z.ZodLiteral<"pill">;
|
|
8161
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8162
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
8163
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8164
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8165
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8166
|
+
width: z.ZodNumber;
|
|
8167
|
+
height: z.ZodNumber;
|
|
8168
|
+
radius: z.ZodNumber;
|
|
8169
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
8170
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
8171
|
+
}, "strip", z.ZodTypeAny, {
|
|
8172
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8173
|
+
}, {
|
|
8174
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8175
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8176
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8177
|
+
}>;
|
|
8178
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
8179
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
8180
|
+
}, "strip", z.ZodTypeAny, {
|
|
8181
|
+
x: number;
|
|
8182
|
+
y: number;
|
|
8183
|
+
type: "pcb_solder_paste";
|
|
8184
|
+
width: number;
|
|
8185
|
+
height: number;
|
|
8186
|
+
shape: "pill";
|
|
8187
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8188
|
+
radius: number;
|
|
8189
|
+
pcb_solder_paste_id: string;
|
|
8190
|
+
subcircuit_id?: string | undefined;
|
|
8191
|
+
pcb_component_id?: string | undefined;
|
|
8192
|
+
pcb_group_id?: string | undefined;
|
|
8193
|
+
pcb_smtpad_id?: string | undefined;
|
|
8194
|
+
}, {
|
|
8195
|
+
x: string | number;
|
|
8196
|
+
y: string | number;
|
|
8197
|
+
type: "pcb_solder_paste";
|
|
8198
|
+
width: number;
|
|
8199
|
+
height: number;
|
|
8200
|
+
shape: "pill";
|
|
8201
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8202
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8203
|
+
};
|
|
8204
|
+
radius: number;
|
|
8205
|
+
subcircuit_id?: string | undefined;
|
|
8206
|
+
pcb_component_id?: string | undefined;
|
|
8207
|
+
pcb_group_id?: string | undefined;
|
|
8208
|
+
pcb_smtpad_id?: string | undefined;
|
|
8209
|
+
pcb_solder_paste_id?: string | undefined;
|
|
8210
|
+
}>, z.ZodObject<{
|
|
8211
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
8212
|
+
shape: z.ZodLiteral<"rotated_rect">;
|
|
8213
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8214
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
8215
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8216
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8217
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8218
|
+
width: z.ZodNumber;
|
|
8219
|
+
height: z.ZodNumber;
|
|
8220
|
+
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8221
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
8222
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
8223
|
+
}, "strip", z.ZodTypeAny, {
|
|
8224
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8225
|
+
}, {
|
|
8226
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8227
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8228
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8229
|
+
}>;
|
|
8230
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
8231
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
8232
|
+
}, "strip", z.ZodTypeAny, {
|
|
8233
|
+
x: number;
|
|
8234
|
+
y: number;
|
|
8235
|
+
type: "pcb_solder_paste";
|
|
8236
|
+
width: number;
|
|
8237
|
+
height: number;
|
|
8238
|
+
shape: "rotated_rect";
|
|
8239
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8240
|
+
ccw_rotation: number;
|
|
8241
|
+
pcb_solder_paste_id: string;
|
|
8242
|
+
subcircuit_id?: string | undefined;
|
|
8243
|
+
pcb_component_id?: string | undefined;
|
|
8244
|
+
pcb_group_id?: string | undefined;
|
|
8245
|
+
pcb_smtpad_id?: string | undefined;
|
|
8246
|
+
}, {
|
|
8247
|
+
x: string | number;
|
|
8248
|
+
y: string | number;
|
|
8249
|
+
type: "pcb_solder_paste";
|
|
8250
|
+
width: number;
|
|
8251
|
+
height: number;
|
|
8252
|
+
shape: "rotated_rect";
|
|
8253
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8254
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8255
|
+
};
|
|
8256
|
+
ccw_rotation: string | number;
|
|
8257
|
+
subcircuit_id?: string | undefined;
|
|
8258
|
+
pcb_component_id?: string | undefined;
|
|
8259
|
+
pcb_group_id?: string | undefined;
|
|
8260
|
+
pcb_smtpad_id?: string | undefined;
|
|
8261
|
+
pcb_solder_paste_id?: string | undefined;
|
|
8262
|
+
}>, z.ZodObject<{
|
|
8263
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
8264
|
+
shape: z.ZodLiteral<"oval">;
|
|
8265
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8266
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
8267
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8268
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8269
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8270
|
+
width: z.ZodNumber;
|
|
8271
|
+
height: z.ZodNumber;
|
|
8272
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
8273
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
8274
|
+
}, "strip", z.ZodTypeAny, {
|
|
8275
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8276
|
+
}, {
|
|
8277
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8278
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8279
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8280
|
+
}>;
|
|
8281
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
8282
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
8283
|
+
}, "strip", z.ZodTypeAny, {
|
|
8284
|
+
x: number;
|
|
8285
|
+
y: number;
|
|
8286
|
+
type: "pcb_solder_paste";
|
|
8287
|
+
width: number;
|
|
8288
|
+
height: number;
|
|
8289
|
+
shape: "oval";
|
|
8290
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8291
|
+
pcb_solder_paste_id: string;
|
|
8292
|
+
subcircuit_id?: string | undefined;
|
|
8293
|
+
pcb_component_id?: string | undefined;
|
|
8294
|
+
pcb_group_id?: string | undefined;
|
|
8295
|
+
pcb_smtpad_id?: string | undefined;
|
|
8296
|
+
}, {
|
|
8297
|
+
x: string | number;
|
|
8298
|
+
y: string | number;
|
|
8299
|
+
type: "pcb_solder_paste";
|
|
8300
|
+
width: number;
|
|
8301
|
+
height: number;
|
|
8302
|
+
shape: "oval";
|
|
8303
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8304
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8305
|
+
};
|
|
8306
|
+
subcircuit_id?: string | undefined;
|
|
8307
|
+
pcb_component_id?: string | undefined;
|
|
8308
|
+
pcb_group_id?: string | undefined;
|
|
8309
|
+
pcb_smtpad_id?: string | undefined;
|
|
8310
|
+
pcb_solder_paste_id?: string | undefined;
|
|
7918
8311
|
}>]>, z.ZodObject<{
|
|
7919
8312
|
type: z.ZodLiteral<"pcb_board">;
|
|
7920
8313
|
pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -11161,6 +11554,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11161
11554
|
route_type: z.ZodLiteral<"via">;
|
|
11162
11555
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11163
11556
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11557
|
+
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11558
|
+
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11164
11559
|
from_layer: z.ZodString;
|
|
11165
11560
|
to_layer: z.ZodString;
|
|
11166
11561
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11169,12 +11564,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11169
11564
|
to_layer: string;
|
|
11170
11565
|
route_type: "via";
|
|
11171
11566
|
from_layer: string;
|
|
11567
|
+
hole_diameter?: number | undefined;
|
|
11568
|
+
outer_diameter?: number | undefined;
|
|
11172
11569
|
}, {
|
|
11173
11570
|
x: string | number;
|
|
11174
11571
|
y: string | number;
|
|
11175
11572
|
to_layer: string;
|
|
11176
11573
|
route_type: "via";
|
|
11177
11574
|
from_layer: string;
|
|
11575
|
+
hole_diameter?: string | number | undefined;
|
|
11576
|
+
outer_diameter?: string | number | undefined;
|
|
11178
11577
|
}>]>, "many">;
|
|
11179
11578
|
}, "strip", z.ZodTypeAny, {
|
|
11180
11579
|
type: "pcb_trace";
|
|
@@ -11193,6 +11592,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11193
11592
|
to_layer: string;
|
|
11194
11593
|
route_type: "via";
|
|
11195
11594
|
from_layer: string;
|
|
11595
|
+
hole_diameter?: number | undefined;
|
|
11596
|
+
outer_diameter?: number | undefined;
|
|
11196
11597
|
})[];
|
|
11197
11598
|
subcircuit_id?: string | undefined;
|
|
11198
11599
|
source_trace_id?: string | undefined;
|
|
@@ -11220,6 +11621,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11220
11621
|
to_layer: string;
|
|
11221
11622
|
route_type: "via";
|
|
11222
11623
|
from_layer: string;
|
|
11624
|
+
hole_diameter?: string | number | undefined;
|
|
11625
|
+
outer_diameter?: string | number | undefined;
|
|
11223
11626
|
})[];
|
|
11224
11627
|
subcircuit_id?: string | undefined;
|
|
11225
11628
|
source_trace_id?: string | undefined;
|
|
@@ -11605,6 +12008,159 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11605
12008
|
pcb_group_id?: string | undefined;
|
|
11606
12009
|
pcb_smtpad_id?: string | undefined;
|
|
11607
12010
|
pcb_solder_paste_id?: string | undefined;
|
|
12011
|
+
}>, z.ZodObject<{
|
|
12012
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
12013
|
+
shape: z.ZodLiteral<"pill">;
|
|
12014
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
12015
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
12016
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12017
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12018
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12019
|
+
width: z.ZodNumber;
|
|
12020
|
+
height: z.ZodNumber;
|
|
12021
|
+
radius: z.ZodNumber;
|
|
12022
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
12023
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
12024
|
+
}, "strip", z.ZodTypeAny, {
|
|
12025
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12026
|
+
}, {
|
|
12027
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12028
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12029
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12030
|
+
}>;
|
|
12031
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12032
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
12033
|
+
}, "strip", z.ZodTypeAny, {
|
|
12034
|
+
x: number;
|
|
12035
|
+
y: number;
|
|
12036
|
+
type: "pcb_solder_paste";
|
|
12037
|
+
width: number;
|
|
12038
|
+
height: number;
|
|
12039
|
+
shape: "pill";
|
|
12040
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12041
|
+
radius: number;
|
|
12042
|
+
pcb_solder_paste_id: string;
|
|
12043
|
+
subcircuit_id?: string | undefined;
|
|
12044
|
+
pcb_component_id?: string | undefined;
|
|
12045
|
+
pcb_group_id?: string | undefined;
|
|
12046
|
+
pcb_smtpad_id?: string | undefined;
|
|
12047
|
+
}, {
|
|
12048
|
+
x: string | number;
|
|
12049
|
+
y: string | number;
|
|
12050
|
+
type: "pcb_solder_paste";
|
|
12051
|
+
width: number;
|
|
12052
|
+
height: number;
|
|
12053
|
+
shape: "pill";
|
|
12054
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12055
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12056
|
+
};
|
|
12057
|
+
radius: number;
|
|
12058
|
+
subcircuit_id?: string | undefined;
|
|
12059
|
+
pcb_component_id?: string | undefined;
|
|
12060
|
+
pcb_group_id?: string | undefined;
|
|
12061
|
+
pcb_smtpad_id?: string | undefined;
|
|
12062
|
+
pcb_solder_paste_id?: string | undefined;
|
|
12063
|
+
}>, z.ZodObject<{
|
|
12064
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
12065
|
+
shape: z.ZodLiteral<"rotated_rect">;
|
|
12066
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
12067
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
12068
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12069
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12070
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12071
|
+
width: z.ZodNumber;
|
|
12072
|
+
height: z.ZodNumber;
|
|
12073
|
+
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12074
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
12075
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
12076
|
+
}, "strip", z.ZodTypeAny, {
|
|
12077
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12078
|
+
}, {
|
|
12079
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12080
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12081
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12082
|
+
}>;
|
|
12083
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12084
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
12085
|
+
}, "strip", z.ZodTypeAny, {
|
|
12086
|
+
x: number;
|
|
12087
|
+
y: number;
|
|
12088
|
+
type: "pcb_solder_paste";
|
|
12089
|
+
width: number;
|
|
12090
|
+
height: number;
|
|
12091
|
+
shape: "rotated_rect";
|
|
12092
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12093
|
+
ccw_rotation: number;
|
|
12094
|
+
pcb_solder_paste_id: string;
|
|
12095
|
+
subcircuit_id?: string | undefined;
|
|
12096
|
+
pcb_component_id?: string | undefined;
|
|
12097
|
+
pcb_group_id?: string | undefined;
|
|
12098
|
+
pcb_smtpad_id?: string | undefined;
|
|
12099
|
+
}, {
|
|
12100
|
+
x: string | number;
|
|
12101
|
+
y: string | number;
|
|
12102
|
+
type: "pcb_solder_paste";
|
|
12103
|
+
width: number;
|
|
12104
|
+
height: number;
|
|
12105
|
+
shape: "rotated_rect";
|
|
12106
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12107
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12108
|
+
};
|
|
12109
|
+
ccw_rotation: string | number;
|
|
12110
|
+
subcircuit_id?: string | undefined;
|
|
12111
|
+
pcb_component_id?: string | undefined;
|
|
12112
|
+
pcb_group_id?: string | undefined;
|
|
12113
|
+
pcb_smtpad_id?: string | undefined;
|
|
12114
|
+
pcb_solder_paste_id?: string | undefined;
|
|
12115
|
+
}>, z.ZodObject<{
|
|
12116
|
+
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
12117
|
+
shape: z.ZodLiteral<"oval">;
|
|
12118
|
+
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
12119
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
12120
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12121
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12122
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12123
|
+
width: z.ZodNumber;
|
|
12124
|
+
height: z.ZodNumber;
|
|
12125
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
12126
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
12127
|
+
}, "strip", z.ZodTypeAny, {
|
|
12128
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12129
|
+
}, {
|
|
12130
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12131
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12132
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12133
|
+
}>;
|
|
12134
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12135
|
+
pcb_smtpad_id: z.ZodOptional<z.ZodString>;
|
|
12136
|
+
}, "strip", z.ZodTypeAny, {
|
|
12137
|
+
x: number;
|
|
12138
|
+
y: number;
|
|
12139
|
+
type: "pcb_solder_paste";
|
|
12140
|
+
width: number;
|
|
12141
|
+
height: number;
|
|
12142
|
+
shape: "oval";
|
|
12143
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12144
|
+
pcb_solder_paste_id: string;
|
|
12145
|
+
subcircuit_id?: string | undefined;
|
|
12146
|
+
pcb_component_id?: string | undefined;
|
|
12147
|
+
pcb_group_id?: string | undefined;
|
|
12148
|
+
pcb_smtpad_id?: string | undefined;
|
|
12149
|
+
}, {
|
|
12150
|
+
x: string | number;
|
|
12151
|
+
y: string | number;
|
|
12152
|
+
type: "pcb_solder_paste";
|
|
12153
|
+
width: number;
|
|
12154
|
+
height: number;
|
|
12155
|
+
shape: "oval";
|
|
12156
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12157
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12158
|
+
};
|
|
12159
|
+
subcircuit_id?: string | undefined;
|
|
12160
|
+
pcb_component_id?: string | undefined;
|
|
12161
|
+
pcb_group_id?: string | undefined;
|
|
12162
|
+
pcb_smtpad_id?: string | undefined;
|
|
12163
|
+
pcb_solder_paste_id?: string | undefined;
|
|
11608
12164
|
}>]>, z.ZodObject<{
|
|
11609
12165
|
type: z.ZodLiteral<"pcb_board">;
|
|
11610
12166
|
pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -13150,4 +13706,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
13150
13706
|
*/
|
|
13151
13707
|
type CircuitJson = AnyCircuitElement[];
|
|
13152
13708
|
|
|
13153
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type Distance, type InferredProjectMetadata, 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 PCBMissingFootprintError, 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 PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, 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 PcbSmtPadPill, type PcbSmtPadRect, type PcbSmtPadRotatedRect, 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 SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, 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 SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, 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, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_autorouting_error, pcb_board, pcb_component, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, 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_smtpad_pill, 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_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_group, source_led, source_net, source_port, source_project_metadata, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
|
|
13709
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type Distance, type InferredProjectMetadata, 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 PCBMissingFootprintError, 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 PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, 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 PcbSmtPadPill, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, 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 SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, 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 SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, 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, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_autorouting_error, pcb_board, pcb_component, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, 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_smtpad_pill, 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_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_group, source_led, source_net, source_port, source_project_metadata, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
|