circuit-json 0.0.99 → 0.0.100
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/dist/index.d.mts +252 -34
- package/dist/index.mjs +385 -375
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -280,39 +280,6 @@ declare const source_simple_chip: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
280
280
|
type SourceSimpleChip = z.infer<typeof source_simple_chip>;
|
|
281
281
|
type SourceSimpleChipInput = z.input<typeof source_simple_chip>;
|
|
282
282
|
|
|
283
|
-
declare const source_simple_inductor: z.ZodObject<z.objectUtil.extendShape<{
|
|
284
|
-
type: z.ZodLiteral<"source_component">;
|
|
285
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
286
|
-
source_component_id: z.ZodString;
|
|
287
|
-
name: z.ZodString;
|
|
288
|
-
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
289
|
-
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
290
|
-
display_value: z.ZodOptional<z.ZodString>;
|
|
291
|
-
}, {
|
|
292
|
-
ftype: z.ZodLiteral<"simple_inductor">;
|
|
293
|
-
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
294
|
-
}>, "strip", z.ZodTypeAny, {
|
|
295
|
-
type: "source_component";
|
|
296
|
-
ftype: "simple_inductor";
|
|
297
|
-
source_component_id: string;
|
|
298
|
-
name: string;
|
|
299
|
-
inductance: number;
|
|
300
|
-
manufacturer_part_number?: string | undefined;
|
|
301
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
302
|
-
display_value?: string | undefined;
|
|
303
|
-
}, {
|
|
304
|
-
type: "source_component";
|
|
305
|
-
ftype: "simple_inductor";
|
|
306
|
-
source_component_id: string;
|
|
307
|
-
name: string;
|
|
308
|
-
inductance: string | number;
|
|
309
|
-
manufacturer_part_number?: string | undefined;
|
|
310
|
-
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
311
|
-
display_value?: string | undefined;
|
|
312
|
-
}>;
|
|
313
|
-
type SourceSimpleInductor = z.infer<typeof source_simple_inductor>;
|
|
314
|
-
type SourceSimpleInductorInput = z.input<typeof source_simple_inductor>;
|
|
315
|
-
|
|
316
283
|
declare const source_led: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
317
284
|
type: z.ZodLiteral<"source_component">;
|
|
318
285
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -655,6 +622,32 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
655
622
|
manufacturer_part_number?: string | undefined;
|
|
656
623
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
657
624
|
display_value?: string | undefined;
|
|
625
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
626
|
+
type: z.ZodLiteral<"source_component">;
|
|
627
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
628
|
+
source_component_id: z.ZodString;
|
|
629
|
+
name: z.ZodString;
|
|
630
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
631
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
632
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
633
|
+
}, {
|
|
634
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
635
|
+
}>, "strip", z.ZodTypeAny, {
|
|
636
|
+
type: "source_component";
|
|
637
|
+
ftype: "simple_push_button";
|
|
638
|
+
source_component_id: string;
|
|
639
|
+
name: string;
|
|
640
|
+
manufacturer_part_number?: string | undefined;
|
|
641
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
642
|
+
display_value?: string | undefined;
|
|
643
|
+
}, {
|
|
644
|
+
type: "source_component";
|
|
645
|
+
ftype: "simple_push_button";
|
|
646
|
+
source_component_id: string;
|
|
647
|
+
name: string;
|
|
648
|
+
manufacturer_part_number?: string | undefined;
|
|
649
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
650
|
+
display_value?: string | undefined;
|
|
658
651
|
}>]>;
|
|
659
652
|
type AnySourceComponent = z.infer<typeof any_source_component>;
|
|
660
653
|
|
|
@@ -819,6 +812,69 @@ declare const source_simple_battery: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
819
812
|
type SourceSimpleBattery = z.infer<typeof source_simple_battery>;
|
|
820
813
|
type SourceSimpleBatteryInput = z.input<typeof source_simple_battery>;
|
|
821
814
|
|
|
815
|
+
declare const source_simple_inductor: z.ZodObject<z.objectUtil.extendShape<{
|
|
816
|
+
type: z.ZodLiteral<"source_component">;
|
|
817
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
818
|
+
source_component_id: z.ZodString;
|
|
819
|
+
name: z.ZodString;
|
|
820
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
821
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
822
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
823
|
+
}, {
|
|
824
|
+
ftype: z.ZodLiteral<"simple_inductor">;
|
|
825
|
+
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
826
|
+
}>, "strip", z.ZodTypeAny, {
|
|
827
|
+
type: "source_component";
|
|
828
|
+
ftype: "simple_inductor";
|
|
829
|
+
source_component_id: string;
|
|
830
|
+
name: string;
|
|
831
|
+
inductance: number;
|
|
832
|
+
manufacturer_part_number?: string | undefined;
|
|
833
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
834
|
+
display_value?: string | undefined;
|
|
835
|
+
}, {
|
|
836
|
+
type: "source_component";
|
|
837
|
+
ftype: "simple_inductor";
|
|
838
|
+
source_component_id: string;
|
|
839
|
+
name: string;
|
|
840
|
+
inductance: string | 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
|
+
}>;
|
|
845
|
+
type SourceSimpleInductor = z.infer<typeof source_simple_inductor>;
|
|
846
|
+
type SourceSimpleInductorInput = z.input<typeof source_simple_inductor>;
|
|
847
|
+
|
|
848
|
+
declare const source_simple_push_button: z.ZodObject<z.objectUtil.extendShape<{
|
|
849
|
+
type: z.ZodLiteral<"source_component">;
|
|
850
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
851
|
+
source_component_id: z.ZodString;
|
|
852
|
+
name: z.ZodString;
|
|
853
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
854
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
855
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
856
|
+
}, {
|
|
857
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
858
|
+
}>, "strip", z.ZodTypeAny, {
|
|
859
|
+
type: "source_component";
|
|
860
|
+
ftype: "simple_push_button";
|
|
861
|
+
source_component_id: string;
|
|
862
|
+
name: string;
|
|
863
|
+
manufacturer_part_number?: string | undefined;
|
|
864
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
865
|
+
display_value?: string | undefined;
|
|
866
|
+
}, {
|
|
867
|
+
type: "source_component";
|
|
868
|
+
ftype: "simple_push_button";
|
|
869
|
+
source_component_id: string;
|
|
870
|
+
name: string;
|
|
871
|
+
manufacturer_part_number?: string | undefined;
|
|
872
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
873
|
+
display_value?: string | undefined;
|
|
874
|
+
}>;
|
|
875
|
+
type SourceSimplePushbutton = z.infer<typeof source_simple_push_button>;
|
|
876
|
+
type SourceSimplePushbuttonInput = z.input<typeof source_simple_push_button>;
|
|
877
|
+
|
|
822
878
|
declare const schematic_box: z.ZodObject<{
|
|
823
879
|
type: z.ZodLiteral<"schematic_box">;
|
|
824
880
|
schematic_component_id: z.ZodString;
|
|
@@ -4525,6 +4581,32 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4525
4581
|
manufacturer_part_number?: string | undefined;
|
|
4526
4582
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4527
4583
|
display_value?: string | undefined;
|
|
4584
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4585
|
+
type: z.ZodLiteral<"source_component">;
|
|
4586
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
4587
|
+
source_component_id: z.ZodString;
|
|
4588
|
+
name: z.ZodString;
|
|
4589
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
4590
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
4591
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
4592
|
+
}, {
|
|
4593
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
4594
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4595
|
+
type: "source_component";
|
|
4596
|
+
ftype: "simple_push_button";
|
|
4597
|
+
source_component_id: string;
|
|
4598
|
+
name: string;
|
|
4599
|
+
manufacturer_part_number?: string | undefined;
|
|
4600
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4601
|
+
display_value?: string | undefined;
|
|
4602
|
+
}, {
|
|
4603
|
+
type: "source_component";
|
|
4604
|
+
ftype: "simple_push_button";
|
|
4605
|
+
source_component_id: string;
|
|
4606
|
+
name: string;
|
|
4607
|
+
manufacturer_part_number?: string | undefined;
|
|
4608
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4609
|
+
display_value?: string | undefined;
|
|
4528
4610
|
}>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
4529
4611
|
type: z.ZodLiteral<"source_component">;
|
|
4530
4612
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -4789,6 +4871,61 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4789
4871
|
manufacturer_part_number?: string | undefined;
|
|
4790
4872
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4791
4873
|
display_value?: string | undefined;
|
|
4874
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4875
|
+
type: z.ZodLiteral<"source_component">;
|
|
4876
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
4877
|
+
source_component_id: z.ZodString;
|
|
4878
|
+
name: z.ZodString;
|
|
4879
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
4880
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
4881
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
4882
|
+
}, {
|
|
4883
|
+
ftype: z.ZodLiteral<"simple_inductor">;
|
|
4884
|
+
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4885
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4886
|
+
type: "source_component";
|
|
4887
|
+
ftype: "simple_inductor";
|
|
4888
|
+
source_component_id: string;
|
|
4889
|
+
name: string;
|
|
4890
|
+
inductance: number;
|
|
4891
|
+
manufacturer_part_number?: string | undefined;
|
|
4892
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4893
|
+
display_value?: string | undefined;
|
|
4894
|
+
}, {
|
|
4895
|
+
type: "source_component";
|
|
4896
|
+
ftype: "simple_inductor";
|
|
4897
|
+
source_component_id: string;
|
|
4898
|
+
name: string;
|
|
4899
|
+
inductance: string | number;
|
|
4900
|
+
manufacturer_part_number?: string | undefined;
|
|
4901
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4902
|
+
display_value?: string | undefined;
|
|
4903
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4904
|
+
type: z.ZodLiteral<"source_component">;
|
|
4905
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
4906
|
+
source_component_id: z.ZodString;
|
|
4907
|
+
name: z.ZodString;
|
|
4908
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
4909
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
4910
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
4911
|
+
}, {
|
|
4912
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
4913
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4914
|
+
type: "source_component";
|
|
4915
|
+
ftype: "simple_push_button";
|
|
4916
|
+
source_component_id: string;
|
|
4917
|
+
name: string;
|
|
4918
|
+
manufacturer_part_number?: string | undefined;
|
|
4919
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4920
|
+
display_value?: string | undefined;
|
|
4921
|
+
}, {
|
|
4922
|
+
type: "source_component";
|
|
4923
|
+
ftype: "simple_push_button";
|
|
4924
|
+
source_component_id: string;
|
|
4925
|
+
name: string;
|
|
4926
|
+
manufacturer_part_number?: string | undefined;
|
|
4927
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4928
|
+
display_value?: string | undefined;
|
|
4792
4929
|
}>, z.ZodObject<{
|
|
4793
4930
|
type: z.ZodLiteral<"pcb_component">;
|
|
4794
4931
|
pcb_component_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -7166,6 +7303,32 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7166
7303
|
manufacturer_part_number?: string | undefined;
|
|
7167
7304
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7168
7305
|
display_value?: string | undefined;
|
|
7306
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
7307
|
+
type: z.ZodLiteral<"source_component">;
|
|
7308
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
7309
|
+
source_component_id: z.ZodString;
|
|
7310
|
+
name: z.ZodString;
|
|
7311
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
7312
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
7313
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
7314
|
+
}, {
|
|
7315
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
7316
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7317
|
+
type: "source_component";
|
|
7318
|
+
ftype: "simple_push_button";
|
|
7319
|
+
source_component_id: string;
|
|
7320
|
+
name: string;
|
|
7321
|
+
manufacturer_part_number?: string | undefined;
|
|
7322
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7323
|
+
display_value?: string | undefined;
|
|
7324
|
+
}, {
|
|
7325
|
+
type: "source_component";
|
|
7326
|
+
ftype: "simple_push_button";
|
|
7327
|
+
source_component_id: string;
|
|
7328
|
+
name: string;
|
|
7329
|
+
manufacturer_part_number?: string | undefined;
|
|
7330
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7331
|
+
display_value?: string | undefined;
|
|
7169
7332
|
}>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
7170
7333
|
type: z.ZodLiteral<"source_component">;
|
|
7171
7334
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -7430,6 +7593,61 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7430
7593
|
manufacturer_part_number?: string | undefined;
|
|
7431
7594
|
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7432
7595
|
display_value?: string | undefined;
|
|
7596
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
7597
|
+
type: z.ZodLiteral<"source_component">;
|
|
7598
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
7599
|
+
source_component_id: z.ZodString;
|
|
7600
|
+
name: z.ZodString;
|
|
7601
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
7602
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
7603
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
7604
|
+
}, {
|
|
7605
|
+
ftype: z.ZodLiteral<"simple_inductor">;
|
|
7606
|
+
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7607
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7608
|
+
type: "source_component";
|
|
7609
|
+
ftype: "simple_inductor";
|
|
7610
|
+
source_component_id: string;
|
|
7611
|
+
name: string;
|
|
7612
|
+
inductance: number;
|
|
7613
|
+
manufacturer_part_number?: string | undefined;
|
|
7614
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7615
|
+
display_value?: string | undefined;
|
|
7616
|
+
}, {
|
|
7617
|
+
type: "source_component";
|
|
7618
|
+
ftype: "simple_inductor";
|
|
7619
|
+
source_component_id: string;
|
|
7620
|
+
name: string;
|
|
7621
|
+
inductance: string | number;
|
|
7622
|
+
manufacturer_part_number?: string | undefined;
|
|
7623
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7624
|
+
display_value?: string | undefined;
|
|
7625
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
7626
|
+
type: z.ZodLiteral<"source_component">;
|
|
7627
|
+
ftype: z.ZodOptional<z.ZodString>;
|
|
7628
|
+
source_component_id: z.ZodString;
|
|
7629
|
+
name: z.ZodString;
|
|
7630
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
7631
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
7632
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
7633
|
+
}, {
|
|
7634
|
+
ftype: z.ZodLiteral<"simple_push_button">;
|
|
7635
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7636
|
+
type: "source_component";
|
|
7637
|
+
ftype: "simple_push_button";
|
|
7638
|
+
source_component_id: string;
|
|
7639
|
+
name: string;
|
|
7640
|
+
manufacturer_part_number?: string | undefined;
|
|
7641
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7642
|
+
display_value?: string | undefined;
|
|
7643
|
+
}, {
|
|
7644
|
+
type: "source_component";
|
|
7645
|
+
ftype: "simple_push_button";
|
|
7646
|
+
source_component_id: string;
|
|
7647
|
+
name: string;
|
|
7648
|
+
manufacturer_part_number?: string | undefined;
|
|
7649
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7650
|
+
display_value?: string | undefined;
|
|
7433
7651
|
}>, z.ZodObject<{
|
|
7434
7652
|
type: z.ZodLiteral<"pcb_component">;
|
|
7435
7653
|
pcb_component_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -9499,4 +9717,4 @@ type AnySoupElement = AnyCircuitElement;
|
|
|
9499
9717
|
*/
|
|
9500
9718
|
type AnySoupElementInput = AnyCircuitElementInput;
|
|
9501
9719
|
|
|
9502
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, 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 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 PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleOval, type PcbHoleOvalInput, 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 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 Size, type SourceComponentBase, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, 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, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_board, pcb_component, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, 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, 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_diode, source_simple_ground, source_simple_inductor, source_simple_power_source, source_simple_resistor, source_trace, supplier_name, time, visible_layer, voltage };
|
|
9720
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, 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 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 PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleOval, type PcbHoleOvalInput, 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 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 Size, type SourceComponentBase, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, 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, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_board, pcb_component, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, 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, 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_diode, source_simple_ground, source_simple_inductor, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_trace, supplier_name, time, visible_layer, voltage };
|