circuit-json 0.0.119 → 0.0.121
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 +16 -0
- package/dist/index.d.mts +223 -7
- package/dist/index.mjs +412 -394
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -4
package/README.md
CHANGED
|
@@ -55,6 +55,7 @@ and is the primary way that Circuit JSON is defined and maintained.
|
|
|
55
55
|
- [SourceSimplePowerSource](#sourcesimplepowersource)
|
|
56
56
|
- [SourceSimplePushButton](#sourcesimplepushbutton)
|
|
57
57
|
- [SourceSimpleResistor](#sourcesimpleresistor)
|
|
58
|
+
- [SourceSimpleResonator](#sourcesimpleresonator)
|
|
58
59
|
- [SourceTrace](#sourcetrace)
|
|
59
60
|
- [PCB Elements](#pcb-elements)
|
|
60
61
|
- [PcbBoard](#pcbboard)
|
|
@@ -314,6 +315,20 @@ interface SourceSimpleResistor extends SourceComponentBase {
|
|
|
314
315
|
}
|
|
315
316
|
```
|
|
316
317
|
|
|
318
|
+
### SourceSimpleResonator
|
|
319
|
+
|
|
320
|
+
Defines a simple resonator component
|
|
321
|
+
|
|
322
|
+
```typescript
|
|
323
|
+
/** Defines a simple resonator component */
|
|
324
|
+
interface SourceSimpleResonator extends SourceComponentBase {
|
|
325
|
+
ftype: "simple_resonator"
|
|
326
|
+
load_capacitance: number
|
|
327
|
+
equivalent_series_resistance?: number
|
|
328
|
+
frequency: number
|
|
329
|
+
}
|
|
330
|
+
```
|
|
331
|
+
|
|
317
332
|
### SourceTrace
|
|
318
333
|
|
|
319
334
|
```typescript
|
|
@@ -697,6 +712,7 @@ interface PcbText {
|
|
|
697
712
|
width: Length
|
|
698
713
|
height: Length
|
|
699
714
|
lines: number
|
|
715
|
+
// @ts-ignore
|
|
700
716
|
align: "bottom-left"
|
|
701
717
|
}
|
|
702
718
|
```
|
package/dist/index.d.mts
CHANGED
|
@@ -818,6 +818,41 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
818
818
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
819
819
|
display_value?: string | undefined;
|
|
820
820
|
gender?: "male" | "female" | undefined;
|
|
821
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
822
|
+
type: z.ZodLiteral<"source_component">;
|
|
823
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
824
|
+
source_component_id: z.ZodString;
|
|
825
|
+
name: z.ZodString;
|
|
826
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
827
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
828
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
829
|
+
}, {
|
|
830
|
+
ftype: z.ZodLiteral<"simple_resonator">;
|
|
831
|
+
load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
832
|
+
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
833
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
834
|
+
}>, "strip", z.ZodTypeAny, {
|
|
835
|
+
type: "source_component";
|
|
836
|
+
ftype: "simple_resonator";
|
|
837
|
+
source_component_id: string;
|
|
838
|
+
name: string;
|
|
839
|
+
frequency: number;
|
|
840
|
+
load_capacitance: number;
|
|
841
|
+
manufacturer_part_number?: string | undefined;
|
|
842
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
843
|
+
display_value?: string | undefined;
|
|
844
|
+
equivalent_series_resistance?: number | undefined;
|
|
845
|
+
}, {
|
|
846
|
+
type: "source_component";
|
|
847
|
+
ftype: "simple_resonator";
|
|
848
|
+
source_component_id: string;
|
|
849
|
+
name: string;
|
|
850
|
+
frequency: string | number;
|
|
851
|
+
load_capacitance: string | number;
|
|
852
|
+
manufacturer_part_number?: string | undefined;
|
|
853
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
854
|
+
display_value?: string | undefined;
|
|
855
|
+
equivalent_series_resistance?: string | number | undefined;
|
|
821
856
|
}>]>;
|
|
822
857
|
type AnySourceComponent = z.infer<typeof any_source_component>;
|
|
823
858
|
|
|
@@ -1012,9 +1047,6 @@ interface SourceSimpleInductor extends SourceComponentBase {
|
|
|
1012
1047
|
}
|
|
1013
1048
|
|
|
1014
1049
|
declare const source_simple_push_button: z.ZodObject<z.objectUtil.extendShape<{
|
|
1015
|
-
/**
|
|
1016
|
-
* Defines a simple push button component
|
|
1017
|
-
*/
|
|
1018
1050
|
type: z.ZodLiteral<"source_component">;
|
|
1019
1051
|
ftype: z.ZodOptional<z.ZodString>;
|
|
1020
1052
|
source_component_id: z.ZodString;
|
|
@@ -1086,9 +1118,6 @@ declare const source_simple_crystal: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1086
1118
|
type: z.ZodLiteral<"source_component">;
|
|
1087
1119
|
ftype: z.ZodOptional<z.ZodString>;
|
|
1088
1120
|
source_component_id: z.ZodString;
|
|
1089
|
-
/**
|
|
1090
|
-
* Defines a simple crystal oscillator component
|
|
1091
|
-
*/
|
|
1092
1121
|
name: z.ZodString;
|
|
1093
1122
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
1094
1123
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -1164,6 +1193,53 @@ declare const source_simple_pin_header: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1164
1193
|
type SourceSimplePinHeader = z.infer<typeof source_simple_pin_header>;
|
|
1165
1194
|
type SourceSimplePinHeaderInput = z.input<typeof source_simple_pin_header>;
|
|
1166
1195
|
|
|
1196
|
+
declare const source_simple_resonator: z.ZodObject<z.objectUtil.extendShape<{
|
|
1197
|
+
type: z.ZodLiteral<"source_component">;
|
|
1198
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
1199
|
+
source_component_id: z.ZodString;
|
|
1200
|
+
name: z.ZodString;
|
|
1201
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
1202
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
1203
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
}, {
|
|
1205
|
+
ftype: z.ZodLiteral<"simple_resonator">;
|
|
1206
|
+
load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1207
|
+
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
1208
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1209
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1210
|
+
type: "source_component";
|
|
1211
|
+
ftype: "simple_resonator";
|
|
1212
|
+
source_component_id: string;
|
|
1213
|
+
name: string;
|
|
1214
|
+
frequency: number;
|
|
1215
|
+
load_capacitance: number;
|
|
1216
|
+
manufacturer_part_number?: string | undefined;
|
|
1217
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1218
|
+
display_value?: string | undefined;
|
|
1219
|
+
equivalent_series_resistance?: number | undefined;
|
|
1220
|
+
}, {
|
|
1221
|
+
type: "source_component";
|
|
1222
|
+
ftype: "simple_resonator";
|
|
1223
|
+
source_component_id: string;
|
|
1224
|
+
name: string;
|
|
1225
|
+
frequency: string | number;
|
|
1226
|
+
load_capacitance: string | number;
|
|
1227
|
+
manufacturer_part_number?: string | undefined;
|
|
1228
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1229
|
+
display_value?: string | undefined;
|
|
1230
|
+
equivalent_series_resistance?: string | number | undefined;
|
|
1231
|
+
}>;
|
|
1232
|
+
type SourceSimpleResonatorInput = z.input<typeof source_simple_resonator>;
|
|
1233
|
+
/**
|
|
1234
|
+
* Defines a simple resonator component
|
|
1235
|
+
*/
|
|
1236
|
+
interface SourceSimpleResonator extends SourceComponentBase {
|
|
1237
|
+
ftype: "simple_resonator";
|
|
1238
|
+
load_capacitance: number;
|
|
1239
|
+
equivalent_series_resistance?: number;
|
|
1240
|
+
frequency: number;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1167
1243
|
interface SchematicBox {
|
|
1168
1244
|
type: "schematic_box";
|
|
1169
1245
|
schematic_component_id: string;
|
|
@@ -5269,6 +5345,41 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
5269
5345
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5270
5346
|
display_value?: string | undefined;
|
|
5271
5347
|
gender?: "male" | "female" | undefined;
|
|
5348
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
5349
|
+
type: z.ZodLiteral<"source_component">;
|
|
5350
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
5351
|
+
source_component_id: z.ZodString;
|
|
5352
|
+
name: z.ZodString;
|
|
5353
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
5354
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
5355
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
5356
|
+
}, {
|
|
5357
|
+
ftype: z.ZodLiteral<"simple_resonator">;
|
|
5358
|
+
load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5359
|
+
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5360
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5361
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5362
|
+
type: "source_component";
|
|
5363
|
+
ftype: "simple_resonator";
|
|
5364
|
+
source_component_id: string;
|
|
5365
|
+
name: string;
|
|
5366
|
+
frequency: number;
|
|
5367
|
+
load_capacitance: number;
|
|
5368
|
+
manufacturer_part_number?: string | undefined;
|
|
5369
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5370
|
+
display_value?: string | undefined;
|
|
5371
|
+
equivalent_series_resistance?: number | undefined;
|
|
5372
|
+
}, {
|
|
5373
|
+
type: "source_component";
|
|
5374
|
+
ftype: "simple_resonator";
|
|
5375
|
+
source_component_id: string;
|
|
5376
|
+
name: string;
|
|
5377
|
+
frequency: string | number;
|
|
5378
|
+
load_capacitance: string | number;
|
|
5379
|
+
manufacturer_part_number?: string | undefined;
|
|
5380
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5381
|
+
display_value?: string | undefined;
|
|
5382
|
+
equivalent_series_resistance?: string | number | undefined;
|
|
5272
5383
|
}>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
5273
5384
|
type: z.ZodLiteral<"source_component">;
|
|
5274
5385
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -5602,6 +5713,41 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
5602
5713
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
5603
5714
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
5604
5715
|
display_value: z.ZodOptional<z.ZodString>;
|
|
5716
|
+
}, {
|
|
5717
|
+
ftype: z.ZodLiteral<"simple_resonator">;
|
|
5718
|
+
load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5719
|
+
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5720
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5721
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5722
|
+
type: "source_component";
|
|
5723
|
+
ftype: "simple_resonator";
|
|
5724
|
+
source_component_id: string;
|
|
5725
|
+
name: string;
|
|
5726
|
+
frequency: number;
|
|
5727
|
+
load_capacitance: number;
|
|
5728
|
+
manufacturer_part_number?: string | undefined;
|
|
5729
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5730
|
+
display_value?: string | undefined;
|
|
5731
|
+
equivalent_series_resistance?: number | undefined;
|
|
5732
|
+
}, {
|
|
5733
|
+
type: "source_component";
|
|
5734
|
+
ftype: "simple_resonator";
|
|
5735
|
+
source_component_id: string;
|
|
5736
|
+
name: string;
|
|
5737
|
+
frequency: string | number;
|
|
5738
|
+
load_capacitance: string | number;
|
|
5739
|
+
manufacturer_part_number?: string | undefined;
|
|
5740
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5741
|
+
display_value?: string | undefined;
|
|
5742
|
+
equivalent_series_resistance?: string | number | undefined;
|
|
5743
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
5744
|
+
type: z.ZodLiteral<"source_component">;
|
|
5745
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
5746
|
+
source_component_id: z.ZodString;
|
|
5747
|
+
name: z.ZodString;
|
|
5748
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
5749
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
5750
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
5605
5751
|
}, {
|
|
5606
5752
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
5607
5753
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -8308,6 +8454,41 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8308
8454
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8309
8455
|
display_value?: string | undefined;
|
|
8310
8456
|
gender?: "male" | "female" | undefined;
|
|
8457
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
8458
|
+
type: z.ZodLiteral<"source_component">;
|
|
8459
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
8460
|
+
source_component_id: z.ZodString;
|
|
8461
|
+
name: z.ZodString;
|
|
8462
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
8463
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8464
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
8465
|
+
}, {
|
|
8466
|
+
ftype: z.ZodLiteral<"simple_resonator">;
|
|
8467
|
+
load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8468
|
+
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8469
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8470
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8471
|
+
type: "source_component";
|
|
8472
|
+
ftype: "simple_resonator";
|
|
8473
|
+
source_component_id: string;
|
|
8474
|
+
name: string;
|
|
8475
|
+
frequency: number;
|
|
8476
|
+
load_capacitance: number;
|
|
8477
|
+
manufacturer_part_number?: string | undefined;
|
|
8478
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8479
|
+
display_value?: string | undefined;
|
|
8480
|
+
equivalent_series_resistance?: number | undefined;
|
|
8481
|
+
}, {
|
|
8482
|
+
type: "source_component";
|
|
8483
|
+
ftype: "simple_resonator";
|
|
8484
|
+
source_component_id: string;
|
|
8485
|
+
name: string;
|
|
8486
|
+
frequency: string | number;
|
|
8487
|
+
load_capacitance: string | number;
|
|
8488
|
+
manufacturer_part_number?: string | undefined;
|
|
8489
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8490
|
+
display_value?: string | undefined;
|
|
8491
|
+
equivalent_series_resistance?: string | number | undefined;
|
|
8311
8492
|
}>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8312
8493
|
type: z.ZodLiteral<"source_component">;
|
|
8313
8494
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -8641,6 +8822,41 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8641
8822
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
8642
8823
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8643
8824
|
display_value: z.ZodOptional<z.ZodString>;
|
|
8825
|
+
}, {
|
|
8826
|
+
ftype: z.ZodLiteral<"simple_resonator">;
|
|
8827
|
+
load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8828
|
+
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8829
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8830
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8831
|
+
type: "source_component";
|
|
8832
|
+
ftype: "simple_resonator";
|
|
8833
|
+
source_component_id: string;
|
|
8834
|
+
name: string;
|
|
8835
|
+
frequency: number;
|
|
8836
|
+
load_capacitance: number;
|
|
8837
|
+
manufacturer_part_number?: string | undefined;
|
|
8838
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8839
|
+
display_value?: string | undefined;
|
|
8840
|
+
equivalent_series_resistance?: number | undefined;
|
|
8841
|
+
}, {
|
|
8842
|
+
type: "source_component";
|
|
8843
|
+
ftype: "simple_resonator";
|
|
8844
|
+
source_component_id: string;
|
|
8845
|
+
name: string;
|
|
8846
|
+
frequency: string | number;
|
|
8847
|
+
load_capacitance: string | number;
|
|
8848
|
+
manufacturer_part_number?: string | undefined;
|
|
8849
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8850
|
+
display_value?: string | undefined;
|
|
8851
|
+
equivalent_series_resistance?: string | number | undefined;
|
|
8852
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
8853
|
+
type: z.ZodLiteral<"source_component">;
|
|
8854
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
8855
|
+
source_component_id: z.ZodString;
|
|
8856
|
+
name: z.ZodString;
|
|
8857
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
8858
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8859
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
8644
8860
|
}, {
|
|
8645
8861
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
8646
8862
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -10925,4 +11141,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
10925
11141
|
*/
|
|
10926
11142
|
type CircuitJson = AnyCircuitElement[];
|
|
10927
11143
|
|
|
10928
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type CircuitJson, type Distance, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBManualEditConflictError, 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 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 PcbHoleOval, type PcbHoleOvalInput, type PcbManualEditConflictError, type PcbManualEditConflictErrorInput, 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 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 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 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 SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, 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_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_error, 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_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_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_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_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_trace, supplier_name, time, visible_layer, voltage };
|
|
11144
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type CircuitJson, type Distance, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBManualEditConflictError, 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 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 PcbHoleOval, type PcbHoleOvalInput, type PcbManualEditConflictError, type PcbManualEditConflictErrorInput, 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 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 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 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 SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, 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_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_error, 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_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_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_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_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_trace, supplier_name, time, visible_layer, voltage };
|