circuit-json 0.0.159 → 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 +514 -2
- package/dist/index.mjs +56 -1
- 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">;
|
|
@@ -7949,6 +8155,159 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7949
8155
|
pcb_group_id?: string | undefined;
|
|
7950
8156
|
pcb_smtpad_id?: string | undefined;
|
|
7951
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;
|
|
7952
8311
|
}>]>, z.ZodObject<{
|
|
7953
8312
|
type: z.ZodLiteral<"pcb_board">;
|
|
7954
8313
|
pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -11649,6 +12008,159 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11649
12008
|
pcb_group_id?: string | undefined;
|
|
11650
12009
|
pcb_smtpad_id?: string | undefined;
|
|
11651
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;
|
|
11652
12164
|
}>]>, z.ZodObject<{
|
|
11653
12165
|
type: z.ZodLiteral<"pcb_board">;
|
|
11654
12166
|
pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -13194,4 +13706,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
13194
13706
|
*/
|
|
13195
13707
|
type CircuitJson = AnyCircuitElement[];
|
|
13196
13708
|
|
|
13197
|
-
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 };
|
package/dist/index.mjs
CHANGED
|
@@ -1068,9 +1068,64 @@ var pcb_solder_paste_rect = z52.object({
|
|
|
1068
1068
|
pcb_component_id: z52.string().optional(),
|
|
1069
1069
|
pcb_smtpad_id: z52.string().optional()
|
|
1070
1070
|
});
|
|
1071
|
-
var
|
|
1071
|
+
var pcb_solder_paste_pill = z52.object({
|
|
1072
|
+
type: z52.literal("pcb_solder_paste"),
|
|
1073
|
+
shape: z52.literal("pill"),
|
|
1074
|
+
pcb_solder_paste_id: getZodPrefixedIdWithDefault("pcb_solder_paste"),
|
|
1075
|
+
pcb_group_id: z52.string().optional(),
|
|
1076
|
+
subcircuit_id: z52.string().optional(),
|
|
1077
|
+
x: distance,
|
|
1078
|
+
y: distance,
|
|
1079
|
+
width: z52.number(),
|
|
1080
|
+
height: z52.number(),
|
|
1081
|
+
radius: z52.number(),
|
|
1082
|
+
layer: layer_ref,
|
|
1083
|
+
pcb_component_id: z52.string().optional(),
|
|
1084
|
+
pcb_smtpad_id: z52.string().optional()
|
|
1085
|
+
});
|
|
1086
|
+
var pcb_solder_paste_rotated_rect = z52.object({
|
|
1087
|
+
type: z52.literal("pcb_solder_paste"),
|
|
1088
|
+
shape: z52.literal("rotated_rect"),
|
|
1089
|
+
pcb_solder_paste_id: getZodPrefixedIdWithDefault("pcb_solder_paste"),
|
|
1090
|
+
pcb_group_id: z52.string().optional(),
|
|
1091
|
+
subcircuit_id: z52.string().optional(),
|
|
1092
|
+
x: distance,
|
|
1093
|
+
y: distance,
|
|
1094
|
+
width: z52.number(),
|
|
1095
|
+
height: z52.number(),
|
|
1096
|
+
ccw_rotation: distance,
|
|
1097
|
+
layer: layer_ref,
|
|
1098
|
+
pcb_component_id: z52.string().optional(),
|
|
1099
|
+
pcb_smtpad_id: z52.string().optional()
|
|
1100
|
+
});
|
|
1101
|
+
var pcb_solder_paste_oval = z52.object({
|
|
1102
|
+
type: z52.literal("pcb_solder_paste"),
|
|
1103
|
+
shape: z52.literal("oval"),
|
|
1104
|
+
pcb_solder_paste_id: getZodPrefixedIdWithDefault("pcb_solder_paste"),
|
|
1105
|
+
pcb_group_id: z52.string().optional(),
|
|
1106
|
+
subcircuit_id: z52.string().optional(),
|
|
1107
|
+
x: distance,
|
|
1108
|
+
y: distance,
|
|
1109
|
+
width: z52.number(),
|
|
1110
|
+
height: z52.number(),
|
|
1111
|
+
layer: layer_ref,
|
|
1112
|
+
pcb_component_id: z52.string().optional(),
|
|
1113
|
+
pcb_smtpad_id: z52.string().optional()
|
|
1114
|
+
});
|
|
1115
|
+
var pcb_solder_paste = z52.union([
|
|
1116
|
+
pcb_solder_paste_circle,
|
|
1117
|
+
pcb_solder_paste_rect,
|
|
1118
|
+
pcb_solder_paste_pill,
|
|
1119
|
+
pcb_solder_paste_rotated_rect,
|
|
1120
|
+
pcb_solder_paste_oval
|
|
1121
|
+
]).describe("Defines solderpaste on the PCB");
|
|
1072
1122
|
expectTypesMatch(true);
|
|
1073
1123
|
expectTypesMatch(true);
|
|
1124
|
+
expectTypesMatch(true);
|
|
1125
|
+
expectTypesMatch(
|
|
1126
|
+
true
|
|
1127
|
+
);
|
|
1128
|
+
expectTypesMatch(true);
|
|
1074
1129
|
|
|
1075
1130
|
// src/pcb/pcb_text.ts
|
|
1076
1131
|
import { z as z53 } from "zod";
|