circuit-json 0.0.119 → 0.0.120
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 +15 -0
- package/dist/index.d.mts +229 -3
- package/dist/index.mjs +407 -394
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
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
|
|
|
@@ -1164,6 +1199,53 @@ declare const source_simple_pin_header: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1164
1199
|
type SourceSimplePinHeader = z.infer<typeof source_simple_pin_header>;
|
|
1165
1200
|
type SourceSimplePinHeaderInput = z.input<typeof source_simple_pin_header>;
|
|
1166
1201
|
|
|
1202
|
+
declare const source_simple_resonator: z.ZodObject<z.objectUtil.extendShape<{
|
|
1203
|
+
type: z.ZodLiteral<"source_component">;
|
|
1204
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
1205
|
+
source_component_id: z.ZodString;
|
|
1206
|
+
name: z.ZodString;
|
|
1207
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
1208
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
1209
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
}, {
|
|
1211
|
+
ftype: z.ZodLiteral<"simple_resonator">;
|
|
1212
|
+
load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1213
|
+
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
1214
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1215
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1216
|
+
type: "source_component";
|
|
1217
|
+
ftype: "simple_resonator";
|
|
1218
|
+
source_component_id: string;
|
|
1219
|
+
name: string;
|
|
1220
|
+
frequency: number;
|
|
1221
|
+
load_capacitance: number;
|
|
1222
|
+
manufacturer_part_number?: string | undefined;
|
|
1223
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1224
|
+
display_value?: string | undefined;
|
|
1225
|
+
equivalent_series_resistance?: number | undefined;
|
|
1226
|
+
}, {
|
|
1227
|
+
type: "source_component";
|
|
1228
|
+
ftype: "simple_resonator";
|
|
1229
|
+
source_component_id: string;
|
|
1230
|
+
name: string;
|
|
1231
|
+
frequency: string | number;
|
|
1232
|
+
load_capacitance: string | number;
|
|
1233
|
+
manufacturer_part_number?: string | undefined;
|
|
1234
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1235
|
+
display_value?: string | undefined;
|
|
1236
|
+
equivalent_series_resistance?: string | number | undefined;
|
|
1237
|
+
}>;
|
|
1238
|
+
type SourceSimpleResonatorInput = z.input<typeof source_simple_resonator>;
|
|
1239
|
+
/**
|
|
1240
|
+
* Defines a simple resonator component
|
|
1241
|
+
*/
|
|
1242
|
+
interface SourceSimpleResonator extends SourceComponentBase {
|
|
1243
|
+
ftype: "simple_resonator";
|
|
1244
|
+
load_capacitance: number;
|
|
1245
|
+
equivalent_series_resistance?: number;
|
|
1246
|
+
frequency: number;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1167
1249
|
interface SchematicBox {
|
|
1168
1250
|
type: "schematic_box";
|
|
1169
1251
|
schematic_component_id: string;
|
|
@@ -5269,6 +5351,41 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
5269
5351
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5270
5352
|
display_value?: string | undefined;
|
|
5271
5353
|
gender?: "male" | "female" | undefined;
|
|
5354
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
5355
|
+
type: z.ZodLiteral<"source_component">;
|
|
5356
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
5357
|
+
source_component_id: z.ZodString;
|
|
5358
|
+
name: z.ZodString;
|
|
5359
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
5360
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
5361
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
5362
|
+
}, {
|
|
5363
|
+
ftype: z.ZodLiteral<"simple_resonator">;
|
|
5364
|
+
load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5365
|
+
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5366
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5367
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5368
|
+
type: "source_component";
|
|
5369
|
+
ftype: "simple_resonator";
|
|
5370
|
+
source_component_id: string;
|
|
5371
|
+
name: string;
|
|
5372
|
+
frequency: number;
|
|
5373
|
+
load_capacitance: number;
|
|
5374
|
+
manufacturer_part_number?: string | undefined;
|
|
5375
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5376
|
+
display_value?: string | undefined;
|
|
5377
|
+
equivalent_series_resistance?: number | undefined;
|
|
5378
|
+
}, {
|
|
5379
|
+
type: "source_component";
|
|
5380
|
+
ftype: "simple_resonator";
|
|
5381
|
+
source_component_id: string;
|
|
5382
|
+
name: string;
|
|
5383
|
+
frequency: string | number;
|
|
5384
|
+
load_capacitance: string | number;
|
|
5385
|
+
manufacturer_part_number?: string | undefined;
|
|
5386
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5387
|
+
display_value?: string | undefined;
|
|
5388
|
+
equivalent_series_resistance?: string | number | undefined;
|
|
5272
5389
|
}>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
5273
5390
|
type: z.ZodLiteral<"source_component">;
|
|
5274
5391
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -5602,6 +5719,41 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
5602
5719
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
5603
5720
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
5604
5721
|
display_value: z.ZodOptional<z.ZodString>;
|
|
5722
|
+
}, {
|
|
5723
|
+
ftype: z.ZodLiteral<"simple_resonator">;
|
|
5724
|
+
load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5725
|
+
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5726
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5727
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5728
|
+
type: "source_component";
|
|
5729
|
+
ftype: "simple_resonator";
|
|
5730
|
+
source_component_id: string;
|
|
5731
|
+
name: string;
|
|
5732
|
+
frequency: number;
|
|
5733
|
+
load_capacitance: number;
|
|
5734
|
+
manufacturer_part_number?: string | undefined;
|
|
5735
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5736
|
+
display_value?: string | undefined;
|
|
5737
|
+
equivalent_series_resistance?: number | undefined;
|
|
5738
|
+
}, {
|
|
5739
|
+
type: "source_component";
|
|
5740
|
+
ftype: "simple_resonator";
|
|
5741
|
+
source_component_id: string;
|
|
5742
|
+
name: string;
|
|
5743
|
+
frequency: string | number;
|
|
5744
|
+
load_capacitance: string | number;
|
|
5745
|
+
manufacturer_part_number?: string | undefined;
|
|
5746
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5747
|
+
display_value?: string | undefined;
|
|
5748
|
+
equivalent_series_resistance?: string | number | undefined;
|
|
5749
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
5750
|
+
type: z.ZodLiteral<"source_component">;
|
|
5751
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
5752
|
+
source_component_id: z.ZodString;
|
|
5753
|
+
name: z.ZodString;
|
|
5754
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
5755
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
5756
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
5605
5757
|
}, {
|
|
5606
5758
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
5607
5759
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7151,7 +7303,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7151
7303
|
box_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7152
7304
|
symbol_name: z.ZodOptional<z.ZodString>;
|
|
7153
7305
|
port_arrangement: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7154
|
-
left_size: z.ZodNumber;
|
|
7306
|
+
left_size: z.ZodNumber; /**
|
|
7307
|
+
* @deprecated use any_circuit_element instead
|
|
7308
|
+
*/
|
|
7155
7309
|
right_size: z.ZodNumber;
|
|
7156
7310
|
top_size: z.ZodOptional<z.ZodNumber>;
|
|
7157
7311
|
bottom_size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8308,6 +8462,41 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8308
8462
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8309
8463
|
display_value?: string | undefined;
|
|
8310
8464
|
gender?: "male" | "female" | undefined;
|
|
8465
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
8466
|
+
type: z.ZodLiteral<"source_component">;
|
|
8467
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
8468
|
+
source_component_id: z.ZodString;
|
|
8469
|
+
name: z.ZodString;
|
|
8470
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
8471
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8472
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
8473
|
+
}, {
|
|
8474
|
+
ftype: z.ZodLiteral<"simple_resonator">;
|
|
8475
|
+
load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8476
|
+
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8477
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8478
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8479
|
+
type: "source_component";
|
|
8480
|
+
ftype: "simple_resonator";
|
|
8481
|
+
source_component_id: string;
|
|
8482
|
+
name: string;
|
|
8483
|
+
frequency: number;
|
|
8484
|
+
load_capacitance: number;
|
|
8485
|
+
manufacturer_part_number?: string | undefined;
|
|
8486
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8487
|
+
display_value?: string | undefined;
|
|
8488
|
+
equivalent_series_resistance?: number | undefined;
|
|
8489
|
+
}, {
|
|
8490
|
+
type: "source_component";
|
|
8491
|
+
ftype: "simple_resonator";
|
|
8492
|
+
source_component_id: string;
|
|
8493
|
+
name: string;
|
|
8494
|
+
frequency: string | number;
|
|
8495
|
+
load_capacitance: string | number;
|
|
8496
|
+
manufacturer_part_number?: string | undefined;
|
|
8497
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8498
|
+
display_value?: string | undefined;
|
|
8499
|
+
equivalent_series_resistance?: string | number | undefined;
|
|
8311
8500
|
}>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
8312
8501
|
type: z.ZodLiteral<"source_component">;
|
|
8313
8502
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -8641,6 +8830,41 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8641
8830
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
8642
8831
|
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8643
8832
|
display_value: z.ZodOptional<z.ZodString>;
|
|
8833
|
+
}, {
|
|
8834
|
+
ftype: z.ZodLiteral<"simple_resonator">;
|
|
8835
|
+
load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8836
|
+
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8837
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8838
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8839
|
+
type: "source_component";
|
|
8840
|
+
ftype: "simple_resonator";
|
|
8841
|
+
source_component_id: string;
|
|
8842
|
+
name: string;
|
|
8843
|
+
frequency: number;
|
|
8844
|
+
load_capacitance: number;
|
|
8845
|
+
manufacturer_part_number?: string | undefined;
|
|
8846
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8847
|
+
display_value?: string | undefined;
|
|
8848
|
+
equivalent_series_resistance?: number | undefined;
|
|
8849
|
+
}, {
|
|
8850
|
+
type: "source_component";
|
|
8851
|
+
ftype: "simple_resonator";
|
|
8852
|
+
source_component_id: string;
|
|
8853
|
+
name: string;
|
|
8854
|
+
frequency: string | number;
|
|
8855
|
+
load_capacitance: string | number;
|
|
8856
|
+
manufacturer_part_number?: string | undefined;
|
|
8857
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8858
|
+
display_value?: string | undefined;
|
|
8859
|
+
equivalent_series_resistance?: string | number | undefined;
|
|
8860
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
8861
|
+
type: z.ZodLiteral<"source_component">;
|
|
8862
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
8863
|
+
source_component_id: z.ZodString;
|
|
8864
|
+
name: z.ZodString;
|
|
8865
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
8866
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8867
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
8644
8868
|
}, {
|
|
8645
8869
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
8646
8870
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -10190,7 +10414,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10190
10414
|
box_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
10191
10415
|
symbol_name: z.ZodOptional<z.ZodString>;
|
|
10192
10416
|
port_arrangement: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
10193
|
-
left_size: z.ZodNumber;
|
|
10417
|
+
left_size: z.ZodNumber; /**
|
|
10418
|
+
* @deprecated use any_circuit_element instead
|
|
10419
|
+
*/
|
|
10194
10420
|
right_size: z.ZodNumber;
|
|
10195
10421
|
top_size: z.ZodOptional<z.ZodNumber>;
|
|
10196
10422
|
bottom_size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10925,4 +11151,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
10925
11151
|
*/
|
|
10926
11152
|
type CircuitJson = AnyCircuitElement[];
|
|
10927
11153
|
|
|
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 };
|
|
11154
|
+
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 };
|