circuit-json 0.0.236 → 0.0.237
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 +14 -0
- package/dist/index.d.mts +233 -2
- package/dist/index.mjs +818 -808
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,6 +66,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
66
66
|
- [SourceSimpleInductor](#sourcesimpleinductor)
|
|
67
67
|
- [SourceSimpleLed](#sourcesimpleled)
|
|
68
68
|
- [SourceSimpleMosfet](#sourcesimplemosfet)
|
|
69
|
+
- [SourceSimplePinout](#sourcesimplepinout)
|
|
69
70
|
- [SourceSimplePowerSource](#sourcesimplepowersource)
|
|
70
71
|
- [SourceSimplePushButton](#sourcesimplepushbutton)
|
|
71
72
|
- [SourceSimpleResistor](#sourcesimpleresistor)
|
|
@@ -537,6 +538,19 @@ interface SourceSimpleMosfet extends SourceComponentBase {
|
|
|
537
538
|
}
|
|
538
539
|
```
|
|
539
540
|
|
|
541
|
+
### SourceSimplePinout
|
|
542
|
+
|
|
543
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_pinout.ts)
|
|
544
|
+
|
|
545
|
+
Defines a simple pinout component
|
|
546
|
+
|
|
547
|
+
```typescript
|
|
548
|
+
/** Defines a simple pinout component */
|
|
549
|
+
interface SourceSimplePinout extends SourceComponentBase {
|
|
550
|
+
ftype: "simple_pinout"
|
|
551
|
+
}
|
|
552
|
+
```
|
|
553
|
+
|
|
540
554
|
### SourceSimplePowerSource
|
|
541
555
|
|
|
542
556
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_power_source.ts)
|
package/dist/index.d.mts
CHANGED
|
@@ -6585,6 +6585,52 @@ interface SourceSimplePinHeader extends SourceSimplePinHeaderInput {
|
|
|
6585
6585
|
gender: "male" | "female";
|
|
6586
6586
|
}
|
|
6587
6587
|
|
|
6588
|
+
declare const source_simple_pinout: z.ZodObject<{
|
|
6589
|
+
type: z.ZodLiteral<"source_component">;
|
|
6590
|
+
source_component_id: z.ZodString;
|
|
6591
|
+
name: z.ZodString;
|
|
6592
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
6593
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
6594
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
6595
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6596
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6597
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6598
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6599
|
+
} & {
|
|
6600
|
+
ftype: z.ZodLiteral<"simple_pinout">;
|
|
6601
|
+
}, "strip", z.ZodTypeAny, {
|
|
6602
|
+
type: "source_component";
|
|
6603
|
+
name: string;
|
|
6604
|
+
source_component_id: string;
|
|
6605
|
+
ftype: "simple_pinout";
|
|
6606
|
+
subcircuit_id?: string | undefined;
|
|
6607
|
+
source_group_id?: string | undefined;
|
|
6608
|
+
manufacturer_part_number?: string | undefined;
|
|
6609
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6610
|
+
display_value?: string | undefined;
|
|
6611
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
6612
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6613
|
+
}, {
|
|
6614
|
+
type: "source_component";
|
|
6615
|
+
name: string;
|
|
6616
|
+
source_component_id: string;
|
|
6617
|
+
ftype: "simple_pinout";
|
|
6618
|
+
subcircuit_id?: string | undefined;
|
|
6619
|
+
source_group_id?: string | undefined;
|
|
6620
|
+
manufacturer_part_number?: string | undefined;
|
|
6621
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6622
|
+
display_value?: string | undefined;
|
|
6623
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
6624
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6625
|
+
}>;
|
|
6626
|
+
type SourceSimplePinoutInput = z.input<typeof source_simple_pinout>;
|
|
6627
|
+
/**
|
|
6628
|
+
* Defines a simple pinout component
|
|
6629
|
+
*/
|
|
6630
|
+
interface SourceSimplePinout extends SourceComponentBase {
|
|
6631
|
+
ftype: "simple_pinout";
|
|
6632
|
+
}
|
|
6633
|
+
|
|
6588
6634
|
declare const source_simple_resonator: z.ZodObject<{
|
|
6589
6635
|
type: z.ZodLiteral<"source_component">;
|
|
6590
6636
|
source_component_id: z.ZodString;
|
|
@@ -7688,6 +7734,43 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7688
7734
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7689
7735
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7690
7736
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7737
|
+
} & {
|
|
7738
|
+
ftype: z.ZodLiteral<"simple_pinout">;
|
|
7739
|
+
}, "strip", z.ZodTypeAny, {
|
|
7740
|
+
type: "source_component";
|
|
7741
|
+
name: string;
|
|
7742
|
+
source_component_id: string;
|
|
7743
|
+
ftype: "simple_pinout";
|
|
7744
|
+
subcircuit_id?: string | undefined;
|
|
7745
|
+
source_group_id?: string | undefined;
|
|
7746
|
+
manufacturer_part_number?: string | undefined;
|
|
7747
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7748
|
+
display_value?: string | undefined;
|
|
7749
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
7750
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7751
|
+
}, {
|
|
7752
|
+
type: "source_component";
|
|
7753
|
+
name: string;
|
|
7754
|
+
source_component_id: string;
|
|
7755
|
+
ftype: "simple_pinout";
|
|
7756
|
+
subcircuit_id?: string | undefined;
|
|
7757
|
+
source_group_id?: string | undefined;
|
|
7758
|
+
manufacturer_part_number?: string | undefined;
|
|
7759
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7760
|
+
display_value?: string | undefined;
|
|
7761
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
7762
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7763
|
+
}>, z.ZodObject<{
|
|
7764
|
+
type: z.ZodLiteral<"source_component">;
|
|
7765
|
+
source_component_id: z.ZodString;
|
|
7766
|
+
name: z.ZodString;
|
|
7767
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
7768
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
7769
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
7770
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7771
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7772
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7773
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7691
7774
|
} & {
|
|
7692
7775
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
7693
7776
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -8126,7 +8209,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
8126
8209
|
* Deprecated: use `AnySourceElement` instead
|
|
8127
8210
|
*/
|
|
8128
8211
|
type AnySourceComponent = z.infer<typeof any_source_component>;
|
|
8129
|
-
type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleTestPoint | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError | SourceTraceNotConnectedError | SourcePropertyIgnoredWarning | SourcePinMissingTraceWarning;
|
|
8212
|
+
type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimplePinout | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleTestPoint | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError | SourceTraceNotConnectedError | SourcePropertyIgnoredWarning | SourcePinMissingTraceWarning;
|
|
8130
8213
|
|
|
8131
8214
|
declare const source_port: z.ZodObject<{
|
|
8132
8215
|
type: z.ZodLiteral<"source_port">;
|
|
@@ -9246,6 +9329,43 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9246
9329
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
9247
9330
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9248
9331
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9332
|
+
} & {
|
|
9333
|
+
ftype: z.ZodLiteral<"simple_pinout">;
|
|
9334
|
+
}, "strip", z.ZodTypeAny, {
|
|
9335
|
+
type: "source_component";
|
|
9336
|
+
name: string;
|
|
9337
|
+
source_component_id: string;
|
|
9338
|
+
ftype: "simple_pinout";
|
|
9339
|
+
subcircuit_id?: string | undefined;
|
|
9340
|
+
source_group_id?: string | undefined;
|
|
9341
|
+
manufacturer_part_number?: string | undefined;
|
|
9342
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9343
|
+
display_value?: string | undefined;
|
|
9344
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
9345
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
9346
|
+
}, {
|
|
9347
|
+
type: "source_component";
|
|
9348
|
+
name: string;
|
|
9349
|
+
source_component_id: string;
|
|
9350
|
+
ftype: "simple_pinout";
|
|
9351
|
+
subcircuit_id?: string | undefined;
|
|
9352
|
+
source_group_id?: string | undefined;
|
|
9353
|
+
manufacturer_part_number?: string | undefined;
|
|
9354
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9355
|
+
display_value?: string | undefined;
|
|
9356
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
9357
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
9358
|
+
}>, z.ZodObject<{
|
|
9359
|
+
type: z.ZodLiteral<"source_component">;
|
|
9360
|
+
source_component_id: z.ZodString;
|
|
9361
|
+
name: z.ZodString;
|
|
9362
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
9363
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
9364
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
9365
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
9366
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
9367
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
9368
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9249
9369
|
} & {
|
|
9250
9370
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
9251
9371
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -10125,6 +10245,43 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10125
10245
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
10126
10246
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
10127
10247
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10248
|
+
} & {
|
|
10249
|
+
ftype: z.ZodLiteral<"simple_pinout">;
|
|
10250
|
+
}, "strip", z.ZodTypeAny, {
|
|
10251
|
+
type: "source_component";
|
|
10252
|
+
name: string;
|
|
10253
|
+
source_component_id: string;
|
|
10254
|
+
ftype: "simple_pinout";
|
|
10255
|
+
subcircuit_id?: string | undefined;
|
|
10256
|
+
source_group_id?: string | undefined;
|
|
10257
|
+
manufacturer_part_number?: string | undefined;
|
|
10258
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
10259
|
+
display_value?: string | undefined;
|
|
10260
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
10261
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
10262
|
+
}, {
|
|
10263
|
+
type: "source_component";
|
|
10264
|
+
name: string;
|
|
10265
|
+
source_component_id: string;
|
|
10266
|
+
ftype: "simple_pinout";
|
|
10267
|
+
subcircuit_id?: string | undefined;
|
|
10268
|
+
source_group_id?: string | undefined;
|
|
10269
|
+
manufacturer_part_number?: string | undefined;
|
|
10270
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
10271
|
+
display_value?: string | undefined;
|
|
10272
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
10273
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
10274
|
+
}>, z.ZodObject<{
|
|
10275
|
+
type: z.ZodLiteral<"source_component">;
|
|
10276
|
+
source_component_id: z.ZodString;
|
|
10277
|
+
name: z.ZodString;
|
|
10278
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
10279
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
10280
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
10281
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
10282
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
10283
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
10284
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10128
10285
|
} & {
|
|
10129
10286
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
10130
10287
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -14805,6 +14962,43 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14805
14962
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
14806
14963
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14807
14964
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
14965
|
+
} & {
|
|
14966
|
+
ftype: z.ZodLiteral<"simple_pinout">;
|
|
14967
|
+
}, "strip", z.ZodTypeAny, {
|
|
14968
|
+
type: "source_component";
|
|
14969
|
+
name: string;
|
|
14970
|
+
source_component_id: string;
|
|
14971
|
+
ftype: "simple_pinout";
|
|
14972
|
+
subcircuit_id?: string | undefined;
|
|
14973
|
+
source_group_id?: string | undefined;
|
|
14974
|
+
manufacturer_part_number?: string | undefined;
|
|
14975
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
14976
|
+
display_value?: string | undefined;
|
|
14977
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
14978
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
14979
|
+
}, {
|
|
14980
|
+
type: "source_component";
|
|
14981
|
+
name: string;
|
|
14982
|
+
source_component_id: string;
|
|
14983
|
+
ftype: "simple_pinout";
|
|
14984
|
+
subcircuit_id?: string | undefined;
|
|
14985
|
+
source_group_id?: string | undefined;
|
|
14986
|
+
manufacturer_part_number?: string | undefined;
|
|
14987
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
14988
|
+
display_value?: string | undefined;
|
|
14989
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
14990
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
14991
|
+
}>, z.ZodObject<{
|
|
14992
|
+
type: z.ZodLiteral<"source_component">;
|
|
14993
|
+
source_component_id: z.ZodString;
|
|
14994
|
+
name: z.ZodString;
|
|
14995
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
14996
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
14997
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
14998
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
14999
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
15000
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
15001
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
14808
15002
|
} & {
|
|
14809
15003
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
14810
15004
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -15684,6 +15878,43 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15684
15878
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
15685
15879
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
15686
15880
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15881
|
+
} & {
|
|
15882
|
+
ftype: z.ZodLiteral<"simple_pinout">;
|
|
15883
|
+
}, "strip", z.ZodTypeAny, {
|
|
15884
|
+
type: "source_component";
|
|
15885
|
+
name: string;
|
|
15886
|
+
source_component_id: string;
|
|
15887
|
+
ftype: "simple_pinout";
|
|
15888
|
+
subcircuit_id?: string | undefined;
|
|
15889
|
+
source_group_id?: string | undefined;
|
|
15890
|
+
manufacturer_part_number?: string | undefined;
|
|
15891
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
15892
|
+
display_value?: string | undefined;
|
|
15893
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
15894
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
15895
|
+
}, {
|
|
15896
|
+
type: "source_component";
|
|
15897
|
+
name: string;
|
|
15898
|
+
source_component_id: string;
|
|
15899
|
+
ftype: "simple_pinout";
|
|
15900
|
+
subcircuit_id?: string | undefined;
|
|
15901
|
+
source_group_id?: string | undefined;
|
|
15902
|
+
manufacturer_part_number?: string | undefined;
|
|
15903
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
15904
|
+
display_value?: string | undefined;
|
|
15905
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
15906
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
15907
|
+
}>, z.ZodObject<{
|
|
15908
|
+
type: z.ZodLiteral<"source_component">;
|
|
15909
|
+
source_component_id: z.ZodString;
|
|
15910
|
+
name: z.ZodString;
|
|
15911
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
15912
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
15913
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
15914
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
15915
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
15916
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
15917
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15687
15918
|
} & {
|
|
15688
15919
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
15689
15920
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
@@ -19777,4 +20008,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
19777
20008
|
*/
|
|
19778
20009
|
type CircuitJson = AnyCircuitElement[];
|
|
19779
20010
|
|
|
19780
|
-
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 NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, 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 PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, 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 PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, 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 PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, 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 PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, 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 SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, 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 SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, 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, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, 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_connected_error, 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_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, 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_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, 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, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };
|
|
20011
|
+
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 NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, 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 PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, 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 PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, 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 PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, 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 PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, 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 SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, 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 SourceSimplePinout, type SourceSimplePinoutInput, 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 SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, 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, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, 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_connected_error, 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_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, 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_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, 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_pinout, 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, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };
|