circuit-json 0.0.194 → 0.0.196
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/README.md +20 -0
- package/dist/index.d.mts +525 -7
- package/dist/index.mjs +633 -603
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1150,6 +1150,64 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
|
|
|
1150
1150
|
port_hints?: string[] | undefined;
|
|
1151
1151
|
pcb_port_id?: string | undefined;
|
|
1152
1152
|
pcb_smtpad_id?: string | undefined;
|
|
1153
|
+
}>, z.ZodObject<{
|
|
1154
|
+
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1155
|
+
shape: z.ZodLiteral<"polygon">;
|
|
1156
|
+
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1157
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
points: z.ZodArray<z.ZodObject<{
|
|
1160
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1161
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1162
|
+
}, "strip", z.ZodTypeAny, {
|
|
1163
|
+
x: number;
|
|
1164
|
+
y: number;
|
|
1165
|
+
}, {
|
|
1166
|
+
x: string | number;
|
|
1167
|
+
y: string | number;
|
|
1168
|
+
}>, "many">;
|
|
1169
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
1170
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
1171
|
+
}, "strip", z.ZodTypeAny, {
|
|
1172
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1173
|
+
}, {
|
|
1174
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1175
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1176
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1177
|
+
}>;
|
|
1178
|
+
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1179
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
}, "strip", z.ZodTypeAny, {
|
|
1182
|
+
type: "pcb_smtpad";
|
|
1183
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1184
|
+
shape: "polygon";
|
|
1185
|
+
pcb_smtpad_id: string;
|
|
1186
|
+
points: {
|
|
1187
|
+
x: number;
|
|
1188
|
+
y: number;
|
|
1189
|
+
}[];
|
|
1190
|
+
pcb_component_id?: string | undefined;
|
|
1191
|
+
subcircuit_id?: string | undefined;
|
|
1192
|
+
pcb_group_id?: string | undefined;
|
|
1193
|
+
port_hints?: string[] | undefined;
|
|
1194
|
+
pcb_port_id?: string | undefined;
|
|
1195
|
+
}, {
|
|
1196
|
+
type: "pcb_smtpad";
|
|
1197
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1198
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1199
|
+
};
|
|
1200
|
+
shape: "polygon";
|
|
1201
|
+
points: {
|
|
1202
|
+
x: string | number;
|
|
1203
|
+
y: string | number;
|
|
1204
|
+
}[];
|
|
1205
|
+
pcb_component_id?: string | undefined;
|
|
1206
|
+
subcircuit_id?: string | undefined;
|
|
1207
|
+
pcb_group_id?: string | undefined;
|
|
1208
|
+
port_hints?: string[] | undefined;
|
|
1209
|
+
pcb_port_id?: string | undefined;
|
|
1210
|
+
pcb_smtpad_id?: string | undefined;
|
|
1153
1211
|
}>]>;
|
|
1154
1212
|
type PCBSMTPadInput = z.input<typeof pcb_smtpad>;
|
|
1155
1213
|
/**
|
|
@@ -1225,7 +1283,22 @@ interface PcbSmtPadPill {
|
|
|
1225
1283
|
pcb_component_id?: string;
|
|
1226
1284
|
pcb_port_id?: string;
|
|
1227
1285
|
}
|
|
1228
|
-
|
|
1286
|
+
/**
|
|
1287
|
+
* Defines a polygonal SMT pad on the PCB
|
|
1288
|
+
*/
|
|
1289
|
+
interface PcbSmtPadPolygon {
|
|
1290
|
+
type: "pcb_smtpad";
|
|
1291
|
+
shape: "polygon";
|
|
1292
|
+
pcb_smtpad_id: string;
|
|
1293
|
+
pcb_group_id?: string;
|
|
1294
|
+
subcircuit_id?: string;
|
|
1295
|
+
points: Point[];
|
|
1296
|
+
layer: LayerRef;
|
|
1297
|
+
port_hints?: string[];
|
|
1298
|
+
pcb_component_id?: string;
|
|
1299
|
+
pcb_port_id?: string;
|
|
1300
|
+
}
|
|
1301
|
+
type PcbSmtPad = PcbSmtPadCircle | PcbSmtPadRect | PcbSmtPadRotatedRect | PcbSmtPadPill | PcbSmtPadPolygon;
|
|
1229
1302
|
/**
|
|
1230
1303
|
* @deprecated use PcbSmtPad
|
|
1231
1304
|
*/
|
|
@@ -3157,11 +3230,11 @@ declare const pcb_cutout_polygon: z.ZodObject<{
|
|
|
3157
3230
|
}, "strip", z.ZodTypeAny, {
|
|
3158
3231
|
type: "pcb_cutout";
|
|
3159
3232
|
shape: "polygon";
|
|
3160
|
-
pcb_cutout_id: string;
|
|
3161
3233
|
points: {
|
|
3162
3234
|
x: number;
|
|
3163
3235
|
y: number;
|
|
3164
3236
|
}[];
|
|
3237
|
+
pcb_cutout_id: string;
|
|
3165
3238
|
subcircuit_id?: string | undefined;
|
|
3166
3239
|
pcb_group_id?: string | undefined;
|
|
3167
3240
|
}, {
|
|
@@ -3294,11 +3367,11 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
3294
3367
|
}, "strip", z.ZodTypeAny, {
|
|
3295
3368
|
type: "pcb_cutout";
|
|
3296
3369
|
shape: "polygon";
|
|
3297
|
-
pcb_cutout_id: string;
|
|
3298
3370
|
points: {
|
|
3299
3371
|
x: number;
|
|
3300
3372
|
y: number;
|
|
3301
3373
|
}[];
|
|
3374
|
+
pcb_cutout_id: string;
|
|
3302
3375
|
subcircuit_id?: string | undefined;
|
|
3303
3376
|
pcb_group_id?: string | undefined;
|
|
3304
3377
|
}, {
|
|
@@ -5781,6 +5854,75 @@ interface SourceSimpleTransistor extends SourceComponentBase {
|
|
|
5781
5854
|
transistor_type: "npn" | "pnp";
|
|
5782
5855
|
}
|
|
5783
5856
|
|
|
5857
|
+
declare const source_simple_test_point: z.ZodObject<{
|
|
5858
|
+
type: z.ZodLiteral<"source_component">;
|
|
5859
|
+
source_component_id: z.ZodString;
|
|
5860
|
+
name: z.ZodString;
|
|
5861
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
5862
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
5863
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
5864
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5865
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5866
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5867
|
+
} & {
|
|
5868
|
+
ftype: z.ZodLiteral<"simple_test_point">;
|
|
5869
|
+
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
5870
|
+
pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
|
|
5871
|
+
pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5872
|
+
hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5873
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5874
|
+
height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5875
|
+
}, "strip", z.ZodTypeAny, {
|
|
5876
|
+
type: "source_component";
|
|
5877
|
+
name: string;
|
|
5878
|
+
source_component_id: string;
|
|
5879
|
+
ftype: "simple_test_point";
|
|
5880
|
+
width?: string | number | undefined;
|
|
5881
|
+
height?: string | number | undefined;
|
|
5882
|
+
hole_diameter?: string | number | undefined;
|
|
5883
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
5884
|
+
source_group_id?: string | undefined;
|
|
5885
|
+
manufacturer_part_number?: string | undefined;
|
|
5886
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5887
|
+
display_value?: string | undefined;
|
|
5888
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
5889
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
5890
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
5891
|
+
pad_diameter?: string | number | undefined;
|
|
5892
|
+
}, {
|
|
5893
|
+
type: "source_component";
|
|
5894
|
+
name: string;
|
|
5895
|
+
source_component_id: string;
|
|
5896
|
+
ftype: "simple_test_point";
|
|
5897
|
+
width?: string | number | undefined;
|
|
5898
|
+
height?: string | number | undefined;
|
|
5899
|
+
hole_diameter?: string | number | undefined;
|
|
5900
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
5901
|
+
source_group_id?: string | undefined;
|
|
5902
|
+
manufacturer_part_number?: string | undefined;
|
|
5903
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5904
|
+
display_value?: string | undefined;
|
|
5905
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
5906
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
5907
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
5908
|
+
pad_diameter?: string | number | undefined;
|
|
5909
|
+
}>;
|
|
5910
|
+
type SourceSimpleTestPointInput = z.input<typeof source_simple_test_point>;
|
|
5911
|
+
/**
|
|
5912
|
+
* Defines a simple test point component
|
|
5913
|
+
* Can be surface-mount or through-hole.
|
|
5914
|
+
* Pad shape and dimensions configurable for different use cases.
|
|
5915
|
+
*/
|
|
5916
|
+
interface SourceSimpleTestPoint extends SourceComponentBase {
|
|
5917
|
+
ftype: "simple_test_point";
|
|
5918
|
+
footprint_variant?: "pad" | "through_hole";
|
|
5919
|
+
pad_shape?: "rect" | "circle";
|
|
5920
|
+
pad_diameter?: number | string;
|
|
5921
|
+
hole_diameter?: number | string;
|
|
5922
|
+
width?: number | string;
|
|
5923
|
+
height?: number | string;
|
|
5924
|
+
}
|
|
5925
|
+
|
|
5784
5926
|
declare const source_simple_mosfet: z.ZodObject<{
|
|
5785
5927
|
type: z.ZodLiteral<"source_component">;
|
|
5786
5928
|
source_component_id: z.ZodString;
|
|
@@ -6698,6 +6840,58 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6698
6840
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6699
6841
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6700
6842
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6843
|
+
} & {
|
|
6844
|
+
ftype: z.ZodLiteral<"simple_test_point">;
|
|
6845
|
+
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
6846
|
+
pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
|
|
6847
|
+
pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6848
|
+
hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6849
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6850
|
+
height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6851
|
+
}, "strip", z.ZodTypeAny, {
|
|
6852
|
+
type: "source_component";
|
|
6853
|
+
name: string;
|
|
6854
|
+
source_component_id: string;
|
|
6855
|
+
ftype: "simple_test_point";
|
|
6856
|
+
width?: string | number | undefined;
|
|
6857
|
+
height?: string | number | undefined;
|
|
6858
|
+
hole_diameter?: string | number | undefined;
|
|
6859
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
6860
|
+
source_group_id?: string | undefined;
|
|
6861
|
+
manufacturer_part_number?: string | undefined;
|
|
6862
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6863
|
+
display_value?: string | undefined;
|
|
6864
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
6865
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6866
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
6867
|
+
pad_diameter?: string | number | undefined;
|
|
6868
|
+
}, {
|
|
6869
|
+
type: "source_component";
|
|
6870
|
+
name: string;
|
|
6871
|
+
source_component_id: string;
|
|
6872
|
+
ftype: "simple_test_point";
|
|
6873
|
+
width?: string | number | undefined;
|
|
6874
|
+
height?: string | number | undefined;
|
|
6875
|
+
hole_diameter?: string | number | undefined;
|
|
6876
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
6877
|
+
source_group_id?: string | undefined;
|
|
6878
|
+
manufacturer_part_number?: string | undefined;
|
|
6879
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6880
|
+
display_value?: string | undefined;
|
|
6881
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
6882
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6883
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
6884
|
+
pad_diameter?: string | number | undefined;
|
|
6885
|
+
}>, z.ZodObject<{
|
|
6886
|
+
type: z.ZodLiteral<"source_component">;
|
|
6887
|
+
source_component_id: z.ZodString;
|
|
6888
|
+
name: z.ZodString;
|
|
6889
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
6890
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
6891
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
6892
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6893
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6894
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6701
6895
|
} & {
|
|
6702
6896
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
6703
6897
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -6866,7 +7060,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6866
7060
|
* Deprecated: use `AnySourceElement` instead
|
|
6867
7061
|
*/
|
|
6868
7062
|
type AnySourceComponent = z.infer<typeof any_source_component>;
|
|
6869
|
-
type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceLed | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError;
|
|
7063
|
+
type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceLed | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleTestPoint | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError;
|
|
6870
7064
|
|
|
6871
7065
|
declare const source_port: z.ZodObject<{
|
|
6872
7066
|
type: z.ZodLiteral<"source_port">;
|
|
@@ -7874,6 +8068,58 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7874
8068
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7875
8069
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7876
8070
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8071
|
+
} & {
|
|
8072
|
+
ftype: z.ZodLiteral<"simple_test_point">;
|
|
8073
|
+
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
8074
|
+
pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
|
|
8075
|
+
pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8076
|
+
hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8077
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8078
|
+
height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8079
|
+
}, "strip", z.ZodTypeAny, {
|
|
8080
|
+
type: "source_component";
|
|
8081
|
+
name: string;
|
|
8082
|
+
source_component_id: string;
|
|
8083
|
+
ftype: "simple_test_point";
|
|
8084
|
+
width?: string | number | undefined;
|
|
8085
|
+
height?: string | number | undefined;
|
|
8086
|
+
hole_diameter?: string | number | undefined;
|
|
8087
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
8088
|
+
source_group_id?: string | undefined;
|
|
8089
|
+
manufacturer_part_number?: string | undefined;
|
|
8090
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8091
|
+
display_value?: string | undefined;
|
|
8092
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
8093
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8094
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
8095
|
+
pad_diameter?: string | number | undefined;
|
|
8096
|
+
}, {
|
|
8097
|
+
type: "source_component";
|
|
8098
|
+
name: string;
|
|
8099
|
+
source_component_id: string;
|
|
8100
|
+
ftype: "simple_test_point";
|
|
8101
|
+
width?: string | number | undefined;
|
|
8102
|
+
height?: string | number | undefined;
|
|
8103
|
+
hole_diameter?: string | number | undefined;
|
|
8104
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
8105
|
+
source_group_id?: string | undefined;
|
|
8106
|
+
manufacturer_part_number?: string | undefined;
|
|
8107
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8108
|
+
display_value?: string | undefined;
|
|
8109
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
8110
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8111
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
8112
|
+
pad_diameter?: string | number | undefined;
|
|
8113
|
+
}>, z.ZodObject<{
|
|
8114
|
+
type: z.ZodLiteral<"source_component">;
|
|
8115
|
+
source_component_id: z.ZodString;
|
|
8116
|
+
name: z.ZodString;
|
|
8117
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
8118
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8119
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
8120
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8121
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8122
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7877
8123
|
} & {
|
|
7878
8124
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
7879
8125
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -8631,6 +8877,58 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8631
8877
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8632
8878
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8633
8879
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8880
|
+
} & {
|
|
8881
|
+
ftype: z.ZodLiteral<"simple_test_point">;
|
|
8882
|
+
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
8883
|
+
pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
|
|
8884
|
+
pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8885
|
+
hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8886
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8887
|
+
height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8888
|
+
}, "strip", z.ZodTypeAny, {
|
|
8889
|
+
type: "source_component";
|
|
8890
|
+
name: string;
|
|
8891
|
+
source_component_id: string;
|
|
8892
|
+
ftype: "simple_test_point";
|
|
8893
|
+
width?: string | number | undefined;
|
|
8894
|
+
height?: string | number | undefined;
|
|
8895
|
+
hole_diameter?: string | number | undefined;
|
|
8896
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
8897
|
+
source_group_id?: string | undefined;
|
|
8898
|
+
manufacturer_part_number?: string | undefined;
|
|
8899
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8900
|
+
display_value?: string | undefined;
|
|
8901
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
8902
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8903
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
8904
|
+
pad_diameter?: string | number | undefined;
|
|
8905
|
+
}, {
|
|
8906
|
+
type: "source_component";
|
|
8907
|
+
name: string;
|
|
8908
|
+
source_component_id: string;
|
|
8909
|
+
ftype: "simple_test_point";
|
|
8910
|
+
width?: string | number | undefined;
|
|
8911
|
+
height?: string | number | undefined;
|
|
8912
|
+
hole_diameter?: string | number | undefined;
|
|
8913
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
8914
|
+
source_group_id?: string | undefined;
|
|
8915
|
+
manufacturer_part_number?: string | undefined;
|
|
8916
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8917
|
+
display_value?: string | undefined;
|
|
8918
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
8919
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8920
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
8921
|
+
pad_diameter?: string | number | undefined;
|
|
8922
|
+
}>, z.ZodObject<{
|
|
8923
|
+
type: z.ZodLiteral<"source_component">;
|
|
8924
|
+
source_component_id: z.ZodString;
|
|
8925
|
+
name: z.ZodString;
|
|
8926
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
8927
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8928
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
8929
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8930
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8931
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8634
8932
|
} & {
|
|
8635
8933
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
8636
8934
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -9747,6 +10045,64 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9747
10045
|
port_hints?: string[] | undefined;
|
|
9748
10046
|
pcb_port_id?: string | undefined;
|
|
9749
10047
|
pcb_smtpad_id?: string | undefined;
|
|
10048
|
+
}>, z.ZodObject<{
|
|
10049
|
+
type: z.ZodLiteral<"pcb_smtpad">;
|
|
10050
|
+
shape: z.ZodLiteral<"polygon">;
|
|
10051
|
+
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10052
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10053
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10054
|
+
points: z.ZodArray<z.ZodObject<{
|
|
10055
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10056
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10057
|
+
}, "strip", z.ZodTypeAny, {
|
|
10058
|
+
x: number;
|
|
10059
|
+
y: number;
|
|
10060
|
+
}, {
|
|
10061
|
+
x: string | number;
|
|
10062
|
+
y: string | number;
|
|
10063
|
+
}>, "many">;
|
|
10064
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
10065
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
10066
|
+
}, "strip", z.ZodTypeAny, {
|
|
10067
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10068
|
+
}, {
|
|
10069
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10070
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10071
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10072
|
+
}>;
|
|
10073
|
+
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10074
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
10075
|
+
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
10076
|
+
}, "strip", z.ZodTypeAny, {
|
|
10077
|
+
type: "pcb_smtpad";
|
|
10078
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10079
|
+
shape: "polygon";
|
|
10080
|
+
pcb_smtpad_id: string;
|
|
10081
|
+
points: {
|
|
10082
|
+
x: number;
|
|
10083
|
+
y: number;
|
|
10084
|
+
}[];
|
|
10085
|
+
pcb_component_id?: string | undefined;
|
|
10086
|
+
subcircuit_id?: string | undefined;
|
|
10087
|
+
pcb_group_id?: string | undefined;
|
|
10088
|
+
port_hints?: string[] | undefined;
|
|
10089
|
+
pcb_port_id?: string | undefined;
|
|
10090
|
+
}, {
|
|
10091
|
+
type: "pcb_smtpad";
|
|
10092
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10093
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10094
|
+
};
|
|
10095
|
+
shape: "polygon";
|
|
10096
|
+
points: {
|
|
10097
|
+
x: string | number;
|
|
10098
|
+
y: string | number;
|
|
10099
|
+
}[];
|
|
10100
|
+
pcb_component_id?: string | undefined;
|
|
10101
|
+
subcircuit_id?: string | undefined;
|
|
10102
|
+
pcb_group_id?: string | undefined;
|
|
10103
|
+
port_hints?: string[] | undefined;
|
|
10104
|
+
pcb_port_id?: string | undefined;
|
|
10105
|
+
pcb_smtpad_id?: string | undefined;
|
|
9750
10106
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
9751
10107
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
9752
10108
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -10770,11 +11126,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10770
11126
|
}, "strip", z.ZodTypeAny, {
|
|
10771
11127
|
type: "pcb_cutout";
|
|
10772
11128
|
shape: "polygon";
|
|
10773
|
-
pcb_cutout_id: string;
|
|
10774
11129
|
points: {
|
|
10775
11130
|
x: number;
|
|
10776
11131
|
y: number;
|
|
10777
11132
|
}[];
|
|
11133
|
+
pcb_cutout_id: string;
|
|
10778
11134
|
subcircuit_id?: string | undefined;
|
|
10779
11135
|
pcb_group_id?: string | undefined;
|
|
10780
11136
|
}, {
|
|
@@ -12488,6 +12844,58 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12488
12844
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12489
12845
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12490
12846
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12847
|
+
} & {
|
|
12848
|
+
ftype: z.ZodLiteral<"simple_test_point">;
|
|
12849
|
+
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
12850
|
+
pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
|
|
12851
|
+
pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
12852
|
+
hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
12853
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
12854
|
+
height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
12855
|
+
}, "strip", z.ZodTypeAny, {
|
|
12856
|
+
type: "source_component";
|
|
12857
|
+
name: string;
|
|
12858
|
+
source_component_id: string;
|
|
12859
|
+
ftype: "simple_test_point";
|
|
12860
|
+
width?: string | number | undefined;
|
|
12861
|
+
height?: string | number | undefined;
|
|
12862
|
+
hole_diameter?: string | number | undefined;
|
|
12863
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
12864
|
+
source_group_id?: string | undefined;
|
|
12865
|
+
manufacturer_part_number?: string | undefined;
|
|
12866
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12867
|
+
display_value?: string | undefined;
|
|
12868
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
12869
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12870
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
12871
|
+
pad_diameter?: string | number | undefined;
|
|
12872
|
+
}, {
|
|
12873
|
+
type: "source_component";
|
|
12874
|
+
name: string;
|
|
12875
|
+
source_component_id: string;
|
|
12876
|
+
ftype: "simple_test_point";
|
|
12877
|
+
width?: string | number | undefined;
|
|
12878
|
+
height?: string | number | undefined;
|
|
12879
|
+
hole_diameter?: string | number | undefined;
|
|
12880
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
12881
|
+
source_group_id?: string | undefined;
|
|
12882
|
+
manufacturer_part_number?: string | undefined;
|
|
12883
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12884
|
+
display_value?: string | undefined;
|
|
12885
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
12886
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12887
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
12888
|
+
pad_diameter?: string | number | undefined;
|
|
12889
|
+
}>, z.ZodObject<{
|
|
12890
|
+
type: z.ZodLiteral<"source_component">;
|
|
12891
|
+
source_component_id: z.ZodString;
|
|
12892
|
+
name: z.ZodString;
|
|
12893
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
12894
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
12895
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
12896
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12897
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12898
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12491
12899
|
} & {
|
|
12492
12900
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
12493
12901
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -13245,6 +13653,58 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13245
13653
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13246
13654
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13247
13655
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13656
|
+
} & {
|
|
13657
|
+
ftype: z.ZodLiteral<"simple_test_point">;
|
|
13658
|
+
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
13659
|
+
pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
|
|
13660
|
+
pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13661
|
+
hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13662
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13663
|
+
height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13664
|
+
}, "strip", z.ZodTypeAny, {
|
|
13665
|
+
type: "source_component";
|
|
13666
|
+
name: string;
|
|
13667
|
+
source_component_id: string;
|
|
13668
|
+
ftype: "simple_test_point";
|
|
13669
|
+
width?: string | number | undefined;
|
|
13670
|
+
height?: string | number | undefined;
|
|
13671
|
+
hole_diameter?: string | number | undefined;
|
|
13672
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
13673
|
+
source_group_id?: string | undefined;
|
|
13674
|
+
manufacturer_part_number?: string | undefined;
|
|
13675
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
13676
|
+
display_value?: string | undefined;
|
|
13677
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
13678
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13679
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
13680
|
+
pad_diameter?: string | number | undefined;
|
|
13681
|
+
}, {
|
|
13682
|
+
type: "source_component";
|
|
13683
|
+
name: string;
|
|
13684
|
+
source_component_id: string;
|
|
13685
|
+
ftype: "simple_test_point";
|
|
13686
|
+
width?: string | number | undefined;
|
|
13687
|
+
height?: string | number | undefined;
|
|
13688
|
+
hole_diameter?: string | number | undefined;
|
|
13689
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
13690
|
+
source_group_id?: string | undefined;
|
|
13691
|
+
manufacturer_part_number?: string | undefined;
|
|
13692
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
13693
|
+
display_value?: string | undefined;
|
|
13694
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
13695
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13696
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
13697
|
+
pad_diameter?: string | number | undefined;
|
|
13698
|
+
}>, z.ZodObject<{
|
|
13699
|
+
type: z.ZodLiteral<"source_component">;
|
|
13700
|
+
source_component_id: z.ZodString;
|
|
13701
|
+
name: z.ZodString;
|
|
13702
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
13703
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
13704
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
13705
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13706
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13707
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13248
13708
|
} & {
|
|
13249
13709
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
13250
13710
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -14361,6 +14821,64 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14361
14821
|
port_hints?: string[] | undefined;
|
|
14362
14822
|
pcb_port_id?: string | undefined;
|
|
14363
14823
|
pcb_smtpad_id?: string | undefined;
|
|
14824
|
+
}>, z.ZodObject<{
|
|
14825
|
+
type: z.ZodLiteral<"pcb_smtpad">;
|
|
14826
|
+
shape: z.ZodLiteral<"polygon">;
|
|
14827
|
+
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
14828
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
14829
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
14830
|
+
points: z.ZodArray<z.ZodObject<{
|
|
14831
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14832
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14833
|
+
}, "strip", z.ZodTypeAny, {
|
|
14834
|
+
x: number;
|
|
14835
|
+
y: number;
|
|
14836
|
+
}, {
|
|
14837
|
+
x: string | number;
|
|
14838
|
+
y: string | number;
|
|
14839
|
+
}>, "many">;
|
|
14840
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
14841
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
14842
|
+
}, "strip", z.ZodTypeAny, {
|
|
14843
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14844
|
+
}, {
|
|
14845
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14846
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
14847
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14848
|
+
}>;
|
|
14849
|
+
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14850
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
14851
|
+
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
14852
|
+
}, "strip", z.ZodTypeAny, {
|
|
14853
|
+
type: "pcb_smtpad";
|
|
14854
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14855
|
+
shape: "polygon";
|
|
14856
|
+
pcb_smtpad_id: string;
|
|
14857
|
+
points: {
|
|
14858
|
+
x: number;
|
|
14859
|
+
y: number;
|
|
14860
|
+
}[];
|
|
14861
|
+
pcb_component_id?: string | undefined;
|
|
14862
|
+
subcircuit_id?: string | undefined;
|
|
14863
|
+
pcb_group_id?: string | undefined;
|
|
14864
|
+
port_hints?: string[] | undefined;
|
|
14865
|
+
pcb_port_id?: string | undefined;
|
|
14866
|
+
}, {
|
|
14867
|
+
type: "pcb_smtpad";
|
|
14868
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
14869
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14870
|
+
};
|
|
14871
|
+
shape: "polygon";
|
|
14872
|
+
points: {
|
|
14873
|
+
x: string | number;
|
|
14874
|
+
y: string | number;
|
|
14875
|
+
}[];
|
|
14876
|
+
pcb_component_id?: string | undefined;
|
|
14877
|
+
subcircuit_id?: string | undefined;
|
|
14878
|
+
pcb_group_id?: string | undefined;
|
|
14879
|
+
port_hints?: string[] | undefined;
|
|
14880
|
+
pcb_port_id?: string | undefined;
|
|
14881
|
+
pcb_smtpad_id?: string | undefined;
|
|
14364
14882
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
14365
14883
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
14366
14884
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -15384,11 +15902,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15384
15902
|
}, "strip", z.ZodTypeAny, {
|
|
15385
15903
|
type: "pcb_cutout";
|
|
15386
15904
|
shape: "polygon";
|
|
15387
|
-
pcb_cutout_id: string;
|
|
15388
15905
|
points: {
|
|
15389
15906
|
x: number;
|
|
15390
15907
|
y: number;
|
|
15391
15908
|
}[];
|
|
15909
|
+
pcb_cutout_id: string;
|
|
15392
15910
|
subcircuit_id?: string | undefined;
|
|
15393
15911
|
pcb_group_id?: string | undefined;
|
|
15394
15912
|
}, {
|
|
@@ -16376,4 +16894,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
16376
16894
|
*/
|
|
16377
16895
|
type CircuitJson = AnyCircuitElement[];
|
|
16378
16896
|
|
|
16379
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, 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 PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, 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 SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, 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 SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, 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 SourceSimpleLed, type SourceSimpleLedInput, 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_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, 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_group, schematic_layout_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_failed_to_create_component_error, source_group, source_led, source_missing_property_error, 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_led, 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 };
|
|
16897
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, 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 PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, 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 PcbSmtPadPolygon, 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 SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, 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 SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, 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 SourceSimpleLed, type SourceSimpleLedInput, 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 SourceSimpleTestPoint, type SourceSimpleTestPointInput, 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_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, 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_group, schematic_layout_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_failed_to_create_component_error, source_group, source_led, source_missing_property_error, 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_led, 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_test_point, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
|