circuit-json 0.0.195 → 0.0.197
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -14
- package/dist/index.d.mts +331 -215
- package/dist/index.mjs +43 -37
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5381,49 +5381,6 @@ interface SourceSimpleChip extends SourceComponentBase {
|
|
|
5381
5381
|
ftype: "simple_chip";
|
|
5382
5382
|
}
|
|
5383
5383
|
|
|
5384
|
-
declare const source_led: z.ZodObject<{
|
|
5385
|
-
type: z.ZodLiteral<"source_component">;
|
|
5386
|
-
source_component_id: z.ZodString;
|
|
5387
|
-
name: z.ZodString;
|
|
5388
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
5389
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
5390
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
5391
|
-
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5392
|
-
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5393
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5394
|
-
} & {
|
|
5395
|
-
ftype: z.ZodLiteral<"led">;
|
|
5396
|
-
}, "strip", z.ZodTypeAny, {
|
|
5397
|
-
type: "source_component";
|
|
5398
|
-
name: string;
|
|
5399
|
-
source_component_id: string;
|
|
5400
|
-
ftype: "led";
|
|
5401
|
-
source_group_id?: string | undefined;
|
|
5402
|
-
manufacturer_part_number?: string | undefined;
|
|
5403
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5404
|
-
display_value?: string | undefined;
|
|
5405
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
5406
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
5407
|
-
}, {
|
|
5408
|
-
type: "source_component";
|
|
5409
|
-
name: string;
|
|
5410
|
-
source_component_id: string;
|
|
5411
|
-
ftype: "led";
|
|
5412
|
-
source_group_id?: string | undefined;
|
|
5413
|
-
manufacturer_part_number?: string | undefined;
|
|
5414
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5415
|
-
display_value?: string | undefined;
|
|
5416
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
5417
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
5418
|
-
}>;
|
|
5419
|
-
type SourceLedInput = z.input<typeof source_led>;
|
|
5420
|
-
/**
|
|
5421
|
-
* Defines an LED component that extends the simple diode
|
|
5422
|
-
*/
|
|
5423
|
-
interface SourceLed extends SourceComponentBase {
|
|
5424
|
-
ftype: "led";
|
|
5425
|
-
}
|
|
5426
|
-
|
|
5427
5384
|
declare const source_simple_power_source: z.ZodObject<{
|
|
5428
5385
|
type: z.ZodLiteral<"source_component">;
|
|
5429
5386
|
source_component_id: z.ZodString;
|
|
@@ -5854,6 +5811,75 @@ interface SourceSimpleTransistor extends SourceComponentBase {
|
|
|
5854
5811
|
transistor_type: "npn" | "pnp";
|
|
5855
5812
|
}
|
|
5856
5813
|
|
|
5814
|
+
declare const source_simple_test_point: z.ZodObject<{
|
|
5815
|
+
type: z.ZodLiteral<"source_component">;
|
|
5816
|
+
source_component_id: z.ZodString;
|
|
5817
|
+
name: z.ZodString;
|
|
5818
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
5819
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
5820
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
5821
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5822
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5823
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5824
|
+
} & {
|
|
5825
|
+
ftype: z.ZodLiteral<"simple_test_point">;
|
|
5826
|
+
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
5827
|
+
pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
|
|
5828
|
+
pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5829
|
+
hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5830
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5831
|
+
height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5832
|
+
}, "strip", z.ZodTypeAny, {
|
|
5833
|
+
type: "source_component";
|
|
5834
|
+
name: string;
|
|
5835
|
+
source_component_id: string;
|
|
5836
|
+
ftype: "simple_test_point";
|
|
5837
|
+
width?: string | number | undefined;
|
|
5838
|
+
height?: string | number | undefined;
|
|
5839
|
+
hole_diameter?: string | number | undefined;
|
|
5840
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
5841
|
+
source_group_id?: string | undefined;
|
|
5842
|
+
manufacturer_part_number?: string | undefined;
|
|
5843
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5844
|
+
display_value?: string | undefined;
|
|
5845
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
5846
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
5847
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
5848
|
+
pad_diameter?: string | number | undefined;
|
|
5849
|
+
}, {
|
|
5850
|
+
type: "source_component";
|
|
5851
|
+
name: string;
|
|
5852
|
+
source_component_id: string;
|
|
5853
|
+
ftype: "simple_test_point";
|
|
5854
|
+
width?: string | number | undefined;
|
|
5855
|
+
height?: string | number | undefined;
|
|
5856
|
+
hole_diameter?: string | number | undefined;
|
|
5857
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
5858
|
+
source_group_id?: string | undefined;
|
|
5859
|
+
manufacturer_part_number?: string | undefined;
|
|
5860
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5861
|
+
display_value?: string | undefined;
|
|
5862
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
5863
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
5864
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
5865
|
+
pad_diameter?: string | number | undefined;
|
|
5866
|
+
}>;
|
|
5867
|
+
type SourceSimpleTestPointInput = z.input<typeof source_simple_test_point>;
|
|
5868
|
+
/**
|
|
5869
|
+
* Defines a simple test point component
|
|
5870
|
+
* Can be surface-mount or through-hole.
|
|
5871
|
+
* Pad shape and dimensions configurable for different use cases.
|
|
5872
|
+
*/
|
|
5873
|
+
interface SourceSimpleTestPoint extends SourceComponentBase {
|
|
5874
|
+
ftype: "simple_test_point";
|
|
5875
|
+
footprint_variant?: "pad" | "through_hole";
|
|
5876
|
+
pad_shape?: "rect" | "circle";
|
|
5877
|
+
pad_diameter?: number | string;
|
|
5878
|
+
hole_diameter?: number | string;
|
|
5879
|
+
width?: number | string;
|
|
5880
|
+
height?: number | string;
|
|
5881
|
+
}
|
|
5882
|
+
|
|
5857
5883
|
declare const source_simple_mosfet: z.ZodObject<{
|
|
5858
5884
|
type: z.ZodLiteral<"source_component">;
|
|
5859
5885
|
source_component_id: z.ZodString;
|
|
@@ -6361,40 +6387,6 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6361
6387
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6362
6388
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6363
6389
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6364
|
-
} & {
|
|
6365
|
-
ftype: z.ZodLiteral<"led">;
|
|
6366
|
-
}, "strip", z.ZodTypeAny, {
|
|
6367
|
-
type: "source_component";
|
|
6368
|
-
name: string;
|
|
6369
|
-
source_component_id: string;
|
|
6370
|
-
ftype: "led";
|
|
6371
|
-
source_group_id?: string | undefined;
|
|
6372
|
-
manufacturer_part_number?: string | undefined;
|
|
6373
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6374
|
-
display_value?: string | undefined;
|
|
6375
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
6376
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6377
|
-
}, {
|
|
6378
|
-
type: "source_component";
|
|
6379
|
-
name: string;
|
|
6380
|
-
source_component_id: string;
|
|
6381
|
-
ftype: "led";
|
|
6382
|
-
source_group_id?: string | undefined;
|
|
6383
|
-
manufacturer_part_number?: string | undefined;
|
|
6384
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6385
|
-
display_value?: string | undefined;
|
|
6386
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
6387
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6388
|
-
}>, z.ZodObject<{
|
|
6389
|
-
type: z.ZodLiteral<"source_component">;
|
|
6390
|
-
source_component_id: z.ZodString;
|
|
6391
|
-
name: z.ZodString;
|
|
6392
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
6393
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
6394
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
6395
|
-
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6396
|
-
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6397
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6398
6390
|
} & {
|
|
6399
6391
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
6400
6392
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6771,6 +6763,58 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6771
6763
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6772
6764
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6773
6765
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6766
|
+
} & {
|
|
6767
|
+
ftype: z.ZodLiteral<"simple_test_point">;
|
|
6768
|
+
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
6769
|
+
pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
|
|
6770
|
+
pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6771
|
+
hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6772
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6773
|
+
height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6774
|
+
}, "strip", z.ZodTypeAny, {
|
|
6775
|
+
type: "source_component";
|
|
6776
|
+
name: string;
|
|
6777
|
+
source_component_id: string;
|
|
6778
|
+
ftype: "simple_test_point";
|
|
6779
|
+
width?: string | number | undefined;
|
|
6780
|
+
height?: string | number | undefined;
|
|
6781
|
+
hole_diameter?: string | number | undefined;
|
|
6782
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
6783
|
+
source_group_id?: string | undefined;
|
|
6784
|
+
manufacturer_part_number?: string | undefined;
|
|
6785
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6786
|
+
display_value?: string | undefined;
|
|
6787
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
6788
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6789
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
6790
|
+
pad_diameter?: string | number | undefined;
|
|
6791
|
+
}, {
|
|
6792
|
+
type: "source_component";
|
|
6793
|
+
name: string;
|
|
6794
|
+
source_component_id: string;
|
|
6795
|
+
ftype: "simple_test_point";
|
|
6796
|
+
width?: string | number | undefined;
|
|
6797
|
+
height?: string | number | undefined;
|
|
6798
|
+
hole_diameter?: string | number | undefined;
|
|
6799
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
6800
|
+
source_group_id?: string | undefined;
|
|
6801
|
+
manufacturer_part_number?: string | undefined;
|
|
6802
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6803
|
+
display_value?: string | undefined;
|
|
6804
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
6805
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6806
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
6807
|
+
pad_diameter?: string | number | undefined;
|
|
6808
|
+
}>, z.ZodObject<{
|
|
6809
|
+
type: z.ZodLiteral<"source_component">;
|
|
6810
|
+
source_component_id: z.ZodString;
|
|
6811
|
+
name: z.ZodString;
|
|
6812
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
6813
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
6814
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
6815
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6816
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6817
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6774
6818
|
} & {
|
|
6775
6819
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
6776
6820
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -6939,7 +6983,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
6939
6983
|
* Deprecated: use `AnySourceElement` instead
|
|
6940
6984
|
*/
|
|
6941
6985
|
type AnySourceComponent = z.infer<typeof any_source_component>;
|
|
6942
|
-
type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip |
|
|
6986
|
+
type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleTestPoint | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError;
|
|
6943
6987
|
|
|
6944
6988
|
declare const source_port: z.ZodObject<{
|
|
6945
6989
|
type: z.ZodLiteral<"source_port">;
|
|
@@ -7537,40 +7581,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7537
7581
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7538
7582
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7539
7583
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7540
|
-
} & {
|
|
7541
|
-
ftype: z.ZodLiteral<"led">;
|
|
7542
|
-
}, "strip", z.ZodTypeAny, {
|
|
7543
|
-
type: "source_component";
|
|
7544
|
-
name: string;
|
|
7545
|
-
source_component_id: string;
|
|
7546
|
-
ftype: "led";
|
|
7547
|
-
source_group_id?: string | undefined;
|
|
7548
|
-
manufacturer_part_number?: string | undefined;
|
|
7549
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7550
|
-
display_value?: string | undefined;
|
|
7551
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
7552
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7553
|
-
}, {
|
|
7554
|
-
type: "source_component";
|
|
7555
|
-
name: string;
|
|
7556
|
-
source_component_id: string;
|
|
7557
|
-
ftype: "led";
|
|
7558
|
-
source_group_id?: string | undefined;
|
|
7559
|
-
manufacturer_part_number?: string | undefined;
|
|
7560
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7561
|
-
display_value?: string | undefined;
|
|
7562
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
7563
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7564
|
-
}>, z.ZodObject<{
|
|
7565
|
-
type: z.ZodLiteral<"source_component">;
|
|
7566
|
-
source_component_id: z.ZodString;
|
|
7567
|
-
name: z.ZodString;
|
|
7568
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
7569
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
7570
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
7571
|
-
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7572
|
-
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7573
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7574
7584
|
} & {
|
|
7575
7585
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
7576
7586
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7947,6 +7957,58 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7947
7957
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7948
7958
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7949
7959
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7960
|
+
} & {
|
|
7961
|
+
ftype: z.ZodLiteral<"simple_test_point">;
|
|
7962
|
+
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
7963
|
+
pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
|
|
7964
|
+
pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
7965
|
+
hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
7966
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
7967
|
+
height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
7968
|
+
}, "strip", z.ZodTypeAny, {
|
|
7969
|
+
type: "source_component";
|
|
7970
|
+
name: string;
|
|
7971
|
+
source_component_id: string;
|
|
7972
|
+
ftype: "simple_test_point";
|
|
7973
|
+
width?: string | number | undefined;
|
|
7974
|
+
height?: string | number | undefined;
|
|
7975
|
+
hole_diameter?: string | number | undefined;
|
|
7976
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
7977
|
+
source_group_id?: string | undefined;
|
|
7978
|
+
manufacturer_part_number?: string | undefined;
|
|
7979
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7980
|
+
display_value?: string | undefined;
|
|
7981
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
7982
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7983
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
7984
|
+
pad_diameter?: string | number | undefined;
|
|
7985
|
+
}, {
|
|
7986
|
+
type: "source_component";
|
|
7987
|
+
name: string;
|
|
7988
|
+
source_component_id: string;
|
|
7989
|
+
ftype: "simple_test_point";
|
|
7990
|
+
width?: string | number | undefined;
|
|
7991
|
+
height?: string | number | undefined;
|
|
7992
|
+
hole_diameter?: string | number | undefined;
|
|
7993
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
7994
|
+
source_group_id?: string | undefined;
|
|
7995
|
+
manufacturer_part_number?: string | undefined;
|
|
7996
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7997
|
+
display_value?: string | undefined;
|
|
7998
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
7999
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8000
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
8001
|
+
pad_diameter?: string | number | undefined;
|
|
8002
|
+
}>, z.ZodObject<{
|
|
8003
|
+
type: z.ZodLiteral<"source_component">;
|
|
8004
|
+
source_component_id: z.ZodString;
|
|
8005
|
+
name: z.ZodString;
|
|
8006
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
8007
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8008
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
8009
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8010
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8011
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7950
8012
|
} & {
|
|
7951
8013
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
7952
8014
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -8111,40 +8173,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8111
8173
|
y?: number | undefined;
|
|
8112
8174
|
} | undefined;
|
|
8113
8175
|
}>]>, z.ZodObject<{
|
|
8114
|
-
type: z.ZodLiteral<"source_component">;
|
|
8115
|
-
source_component_id: z.ZodString;
|
|
8116
|
-
name: z.ZodString;
|
|
8117
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
8118
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8119
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
8120
|
-
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8121
|
-
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8122
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8123
|
-
} & {
|
|
8124
|
-
ftype: z.ZodLiteral<"led">;
|
|
8125
|
-
}, "strip", z.ZodTypeAny, {
|
|
8126
|
-
type: "source_component";
|
|
8127
|
-
name: string;
|
|
8128
|
-
source_component_id: string;
|
|
8129
|
-
ftype: "led";
|
|
8130
|
-
source_group_id?: string | undefined;
|
|
8131
|
-
manufacturer_part_number?: string | undefined;
|
|
8132
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8133
|
-
display_value?: string | undefined;
|
|
8134
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
8135
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8136
|
-
}, {
|
|
8137
|
-
type: "source_component";
|
|
8138
|
-
name: string;
|
|
8139
|
-
source_component_id: string;
|
|
8140
|
-
ftype: "led";
|
|
8141
|
-
source_group_id?: string | undefined;
|
|
8142
|
-
manufacturer_part_number?: string | undefined;
|
|
8143
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8144
|
-
display_value?: string | undefined;
|
|
8145
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
8146
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8147
|
-
}>, z.ZodObject<{
|
|
8148
8176
|
type: z.ZodLiteral<"source_net">;
|
|
8149
8177
|
source_net_id: z.ZodString;
|
|
8150
8178
|
name: z.ZodString;
|
|
@@ -8704,6 +8732,58 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8704
8732
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8705
8733
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8706
8734
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8735
|
+
} & {
|
|
8736
|
+
ftype: z.ZodLiteral<"simple_test_point">;
|
|
8737
|
+
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
8738
|
+
pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
|
|
8739
|
+
pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8740
|
+
hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8741
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8742
|
+
height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8743
|
+
}, "strip", z.ZodTypeAny, {
|
|
8744
|
+
type: "source_component";
|
|
8745
|
+
name: string;
|
|
8746
|
+
source_component_id: string;
|
|
8747
|
+
ftype: "simple_test_point";
|
|
8748
|
+
width?: string | number | undefined;
|
|
8749
|
+
height?: string | number | undefined;
|
|
8750
|
+
hole_diameter?: string | number | undefined;
|
|
8751
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
8752
|
+
source_group_id?: string | undefined;
|
|
8753
|
+
manufacturer_part_number?: string | undefined;
|
|
8754
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8755
|
+
display_value?: string | undefined;
|
|
8756
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
8757
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8758
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
8759
|
+
pad_diameter?: string | number | undefined;
|
|
8760
|
+
}, {
|
|
8761
|
+
type: "source_component";
|
|
8762
|
+
name: string;
|
|
8763
|
+
source_component_id: string;
|
|
8764
|
+
ftype: "simple_test_point";
|
|
8765
|
+
width?: string | number | undefined;
|
|
8766
|
+
height?: string | number | undefined;
|
|
8767
|
+
hole_diameter?: string | number | undefined;
|
|
8768
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
8769
|
+
source_group_id?: string | undefined;
|
|
8770
|
+
manufacturer_part_number?: string | undefined;
|
|
8771
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8772
|
+
display_value?: string | undefined;
|
|
8773
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
8774
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8775
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
8776
|
+
pad_diameter?: string | number | undefined;
|
|
8777
|
+
}>, z.ZodObject<{
|
|
8778
|
+
type: z.ZodLiteral<"source_component">;
|
|
8779
|
+
source_component_id: z.ZodString;
|
|
8780
|
+
name: z.ZodString;
|
|
8781
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
8782
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
8783
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
8784
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8785
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8786
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8707
8787
|
} & {
|
|
8708
8788
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
8709
8789
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -12209,40 +12289,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12209
12289
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12210
12290
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12211
12291
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12212
|
-
} & {
|
|
12213
|
-
ftype: z.ZodLiteral<"led">;
|
|
12214
|
-
}, "strip", z.ZodTypeAny, {
|
|
12215
|
-
type: "source_component";
|
|
12216
|
-
name: string;
|
|
12217
|
-
source_component_id: string;
|
|
12218
|
-
ftype: "led";
|
|
12219
|
-
source_group_id?: string | undefined;
|
|
12220
|
-
manufacturer_part_number?: string | undefined;
|
|
12221
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12222
|
-
display_value?: string | undefined;
|
|
12223
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
12224
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12225
|
-
}, {
|
|
12226
|
-
type: "source_component";
|
|
12227
|
-
name: string;
|
|
12228
|
-
source_component_id: string;
|
|
12229
|
-
ftype: "led";
|
|
12230
|
-
source_group_id?: string | undefined;
|
|
12231
|
-
manufacturer_part_number?: string | undefined;
|
|
12232
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12233
|
-
display_value?: string | undefined;
|
|
12234
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
12235
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12236
|
-
}>, z.ZodObject<{
|
|
12237
|
-
type: z.ZodLiteral<"source_component">;
|
|
12238
|
-
source_component_id: z.ZodString;
|
|
12239
|
-
name: z.ZodString;
|
|
12240
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
12241
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
12242
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
12243
|
-
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12244
|
-
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12245
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12246
12292
|
} & {
|
|
12247
12293
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
12248
12294
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12619,6 +12665,58 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12619
12665
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12620
12666
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12621
12667
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12668
|
+
} & {
|
|
12669
|
+
ftype: z.ZodLiteral<"simple_test_point">;
|
|
12670
|
+
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
12671
|
+
pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
|
|
12672
|
+
pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
12673
|
+
hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
12674
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
12675
|
+
height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
12676
|
+
}, "strip", z.ZodTypeAny, {
|
|
12677
|
+
type: "source_component";
|
|
12678
|
+
name: string;
|
|
12679
|
+
source_component_id: string;
|
|
12680
|
+
ftype: "simple_test_point";
|
|
12681
|
+
width?: string | number | undefined;
|
|
12682
|
+
height?: string | number | undefined;
|
|
12683
|
+
hole_diameter?: string | number | undefined;
|
|
12684
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
12685
|
+
source_group_id?: string | undefined;
|
|
12686
|
+
manufacturer_part_number?: string | undefined;
|
|
12687
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12688
|
+
display_value?: string | undefined;
|
|
12689
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
12690
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12691
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
12692
|
+
pad_diameter?: string | number | undefined;
|
|
12693
|
+
}, {
|
|
12694
|
+
type: "source_component";
|
|
12695
|
+
name: string;
|
|
12696
|
+
source_component_id: string;
|
|
12697
|
+
ftype: "simple_test_point";
|
|
12698
|
+
width?: string | number | undefined;
|
|
12699
|
+
height?: string | number | undefined;
|
|
12700
|
+
hole_diameter?: string | number | undefined;
|
|
12701
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
12702
|
+
source_group_id?: string | undefined;
|
|
12703
|
+
manufacturer_part_number?: string | undefined;
|
|
12704
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12705
|
+
display_value?: string | undefined;
|
|
12706
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
12707
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12708
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
12709
|
+
pad_diameter?: string | number | undefined;
|
|
12710
|
+
}>, z.ZodObject<{
|
|
12711
|
+
type: z.ZodLiteral<"source_component">;
|
|
12712
|
+
source_component_id: z.ZodString;
|
|
12713
|
+
name: z.ZodString;
|
|
12714
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
12715
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
12716
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
12717
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12718
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12719
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12622
12720
|
} & {
|
|
12623
12721
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
12624
12722
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -12783,40 +12881,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12783
12881
|
y?: number | undefined;
|
|
12784
12882
|
} | undefined;
|
|
12785
12883
|
}>]>, z.ZodObject<{
|
|
12786
|
-
type: z.ZodLiteral<"source_component">;
|
|
12787
|
-
source_component_id: z.ZodString;
|
|
12788
|
-
name: z.ZodString;
|
|
12789
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
12790
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
12791
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
12792
|
-
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12793
|
-
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12794
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12795
|
-
} & {
|
|
12796
|
-
ftype: z.ZodLiteral<"led">;
|
|
12797
|
-
}, "strip", z.ZodTypeAny, {
|
|
12798
|
-
type: "source_component";
|
|
12799
|
-
name: string;
|
|
12800
|
-
source_component_id: string;
|
|
12801
|
-
ftype: "led";
|
|
12802
|
-
source_group_id?: string | undefined;
|
|
12803
|
-
manufacturer_part_number?: string | undefined;
|
|
12804
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12805
|
-
display_value?: string | undefined;
|
|
12806
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
12807
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12808
|
-
}, {
|
|
12809
|
-
type: "source_component";
|
|
12810
|
-
name: string;
|
|
12811
|
-
source_component_id: string;
|
|
12812
|
-
ftype: "led";
|
|
12813
|
-
source_group_id?: string | undefined;
|
|
12814
|
-
manufacturer_part_number?: string | undefined;
|
|
12815
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12816
|
-
display_value?: string | undefined;
|
|
12817
|
-
are_pins_interchangeable?: boolean | undefined;
|
|
12818
|
-
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12819
|
-
}>, z.ZodObject<{
|
|
12820
12884
|
type: z.ZodLiteral<"source_net">;
|
|
12821
12885
|
source_net_id: z.ZodString;
|
|
12822
12886
|
name: z.ZodString;
|
|
@@ -13376,6 +13440,58 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13376
13440
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13377
13441
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13378
13442
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13443
|
+
} & {
|
|
13444
|
+
ftype: z.ZodLiteral<"simple_test_point">;
|
|
13445
|
+
footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
|
|
13446
|
+
pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
|
|
13447
|
+
pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13448
|
+
hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13449
|
+
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13450
|
+
height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
13451
|
+
}, "strip", z.ZodTypeAny, {
|
|
13452
|
+
type: "source_component";
|
|
13453
|
+
name: string;
|
|
13454
|
+
source_component_id: string;
|
|
13455
|
+
ftype: "simple_test_point";
|
|
13456
|
+
width?: string | number | undefined;
|
|
13457
|
+
height?: string | number | undefined;
|
|
13458
|
+
hole_diameter?: string | number | undefined;
|
|
13459
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
13460
|
+
source_group_id?: string | undefined;
|
|
13461
|
+
manufacturer_part_number?: string | undefined;
|
|
13462
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
13463
|
+
display_value?: string | undefined;
|
|
13464
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
13465
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13466
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
13467
|
+
pad_diameter?: string | number | undefined;
|
|
13468
|
+
}, {
|
|
13469
|
+
type: "source_component";
|
|
13470
|
+
name: string;
|
|
13471
|
+
source_component_id: string;
|
|
13472
|
+
ftype: "simple_test_point";
|
|
13473
|
+
width?: string | number | undefined;
|
|
13474
|
+
height?: string | number | undefined;
|
|
13475
|
+
hole_diameter?: string | number | undefined;
|
|
13476
|
+
pad_shape?: "circle" | "rect" | undefined;
|
|
13477
|
+
source_group_id?: string | undefined;
|
|
13478
|
+
manufacturer_part_number?: string | undefined;
|
|
13479
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
13480
|
+
display_value?: string | undefined;
|
|
13481
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
13482
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13483
|
+
footprint_variant?: "pad" | "through_hole" | undefined;
|
|
13484
|
+
pad_diameter?: string | number | undefined;
|
|
13485
|
+
}>, z.ZodObject<{
|
|
13486
|
+
type: z.ZodLiteral<"source_component">;
|
|
13487
|
+
source_component_id: z.ZodString;
|
|
13488
|
+
name: z.ZodString;
|
|
13489
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
13490
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
13491
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
13492
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13493
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13494
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13379
13495
|
} & {
|
|
13380
13496
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
13381
13497
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
@@ -16565,4 +16681,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
16565
16681
|
*/
|
|
16566
16682
|
type CircuitJson = AnyCircuitElement[];
|
|
16567
16683
|
|
|
16568
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type
|
|
16684
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_autorouting_error, pcb_board, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_port, source_project_metadata, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
|