@tscircuit/core 0.0.646 → 0.0.648
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.ts +164 -161
- package/dist/index.js +375 -308
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2723,39 +2723,41 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
|
|
|
2723
2723
|
|
|
2724
2724
|
declare class Chip<PinLabels extends string = never> extends NormalComponent<typeof chipProps, PinLabels> {
|
|
2725
2725
|
schematicBoxDimensions: SchematicBoxDimensions | null;
|
|
2726
|
+
private _invalidPinLabelMessages;
|
|
2727
|
+
constructor(props: z.input<typeof chipProps>);
|
|
2726
2728
|
get config(): {
|
|
2727
2729
|
componentName: string;
|
|
2728
|
-
zodProps:
|
|
2729
|
-
pcbX:
|
|
2730
|
-
pcbY:
|
|
2731
|
-
pcbRotation:
|
|
2732
|
-
schX:
|
|
2733
|
-
schY:
|
|
2734
|
-
schRotation:
|
|
2735
|
-
layer:
|
|
2736
|
-
name:
|
|
2737
|
-
}, "strip",
|
|
2730
|
+
zodProps: z.ZodObject<{
|
|
2731
|
+
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
2732
|
+
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
2733
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
2734
|
+
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
2735
|
+
schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
2736
|
+
schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
2737
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
2738
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
2739
|
+
}, "strip", z.ZodTypeAny, {
|
|
2738
2740
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2739
2741
|
}, {
|
|
2740
2742
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2741
2743
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
2742
2744
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2743
2745
|
}>>;
|
|
2744
|
-
footprint:
|
|
2745
|
-
relative:
|
|
2746
|
-
schRelative:
|
|
2747
|
-
pcbRelative:
|
|
2746
|
+
footprint: z.ZodOptional<z.ZodType<_tscircuit_props.FootprintProp, z.ZodTypeDef, _tscircuit_props.FootprintProp>>;
|
|
2747
|
+
relative: z.ZodOptional<z.ZodBoolean>;
|
|
2748
|
+
schRelative: z.ZodOptional<z.ZodBoolean>;
|
|
2749
|
+
pcbRelative: z.ZodOptional<z.ZodBoolean>;
|
|
2748
2750
|
} & {
|
|
2749
|
-
supplierPartNumbers:
|
|
2751
|
+
supplierPartNumbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
2750
2752
|
} & {
|
|
2751
|
-
key:
|
|
2752
|
-
name:
|
|
2753
|
-
cadModel:
|
|
2754
|
-
rotationOffset:
|
|
2755
|
-
x:
|
|
2756
|
-
y:
|
|
2757
|
-
z:
|
|
2758
|
-
}, "strip",
|
|
2753
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
2754
|
+
name: z.ZodString;
|
|
2755
|
+
cadModel: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodObject<{
|
|
2756
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
2757
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2758
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2759
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2760
|
+
}, "strip", z.ZodTypeAny, {
|
|
2759
2761
|
x: string | number;
|
|
2760
2762
|
y: string | number;
|
|
2761
2763
|
z: string | number;
|
|
@@ -2764,11 +2766,11 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2764
2766
|
y: string | number;
|
|
2765
2767
|
z: string | number;
|
|
2766
2768
|
}>]>>;
|
|
2767
|
-
positionOffset:
|
|
2768
|
-
x:
|
|
2769
|
-
y:
|
|
2770
|
-
z:
|
|
2771
|
-
}, "strip",
|
|
2769
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
2770
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2771
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2772
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2773
|
+
}, "strip", z.ZodTypeAny, {
|
|
2772
2774
|
x: number;
|
|
2773
2775
|
y: number;
|
|
2774
2776
|
z: number;
|
|
@@ -2777,11 +2779,11 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2777
2779
|
y: string | number;
|
|
2778
2780
|
z: string | number;
|
|
2779
2781
|
}>>;
|
|
2780
|
-
size:
|
|
2781
|
-
x:
|
|
2782
|
-
y:
|
|
2783
|
-
z:
|
|
2784
|
-
}, "strip",
|
|
2782
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
2783
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2784
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2785
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2786
|
+
}, "strip", z.ZodTypeAny, {
|
|
2785
2787
|
x: number;
|
|
2786
2788
|
y: number;
|
|
2787
2789
|
z: number;
|
|
@@ -2791,8 +2793,8 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2791
2793
|
z: string | number;
|
|
2792
2794
|
}>>;
|
|
2793
2795
|
} & {
|
|
2794
|
-
stlUrl:
|
|
2795
|
-
}, "strip",
|
|
2796
|
+
stlUrl: z.ZodString;
|
|
2797
|
+
}, "strip", z.ZodTypeAny, {
|
|
2796
2798
|
stlUrl: string;
|
|
2797
2799
|
rotationOffset?: number | {
|
|
2798
2800
|
x: string | number;
|
|
@@ -2826,12 +2828,12 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2826
2828
|
y: string | number;
|
|
2827
2829
|
z: string | number;
|
|
2828
2830
|
} | undefined;
|
|
2829
|
-
}>,
|
|
2830
|
-
rotationOffset:
|
|
2831
|
-
x:
|
|
2832
|
-
y:
|
|
2833
|
-
z:
|
|
2834
|
-
}, "strip",
|
|
2831
|
+
}>, z.ZodObject<{
|
|
2832
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
2833
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2834
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2835
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2836
|
+
}, "strip", z.ZodTypeAny, {
|
|
2835
2837
|
x: string | number;
|
|
2836
2838
|
y: string | number;
|
|
2837
2839
|
z: string | number;
|
|
@@ -2840,11 +2842,11 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2840
2842
|
y: string | number;
|
|
2841
2843
|
z: string | number;
|
|
2842
2844
|
}>]>>;
|
|
2843
|
-
positionOffset:
|
|
2844
|
-
x:
|
|
2845
|
-
y:
|
|
2846
|
-
z:
|
|
2847
|
-
}, "strip",
|
|
2845
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
2846
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2847
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2848
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2849
|
+
}, "strip", z.ZodTypeAny, {
|
|
2848
2850
|
x: number;
|
|
2849
2851
|
y: number;
|
|
2850
2852
|
z: number;
|
|
@@ -2853,11 +2855,11 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2853
2855
|
y: string | number;
|
|
2854
2856
|
z: string | number;
|
|
2855
2857
|
}>>;
|
|
2856
|
-
size:
|
|
2857
|
-
x:
|
|
2858
|
-
y:
|
|
2859
|
-
z:
|
|
2860
|
-
}, "strip",
|
|
2858
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
2859
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2860
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2861
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2862
|
+
}, "strip", z.ZodTypeAny, {
|
|
2861
2863
|
x: number;
|
|
2862
2864
|
y: number;
|
|
2863
2865
|
z: number;
|
|
@@ -2867,9 +2869,9 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2867
2869
|
z: string | number;
|
|
2868
2870
|
}>>;
|
|
2869
2871
|
} & {
|
|
2870
|
-
objUrl:
|
|
2871
|
-
mtlUrl:
|
|
2872
|
-
}, "strip",
|
|
2872
|
+
objUrl: z.ZodString;
|
|
2873
|
+
mtlUrl: z.ZodOptional<z.ZodString>;
|
|
2874
|
+
}, "strip", z.ZodTypeAny, {
|
|
2873
2875
|
objUrl: string;
|
|
2874
2876
|
rotationOffset?: number | {
|
|
2875
2877
|
x: string | number;
|
|
@@ -2905,12 +2907,12 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2905
2907
|
z: string | number;
|
|
2906
2908
|
} | undefined;
|
|
2907
2909
|
mtlUrl?: string | undefined;
|
|
2908
|
-
}>,
|
|
2909
|
-
rotationOffset:
|
|
2910
|
-
x:
|
|
2911
|
-
y:
|
|
2912
|
-
z:
|
|
2913
|
-
}, "strip",
|
|
2910
|
+
}>, z.ZodObject<{
|
|
2911
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
2912
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2913
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2914
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2915
|
+
}, "strip", z.ZodTypeAny, {
|
|
2914
2916
|
x: string | number;
|
|
2915
2917
|
y: string | number;
|
|
2916
2918
|
z: string | number;
|
|
@@ -2919,11 +2921,11 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2919
2921
|
y: string | number;
|
|
2920
2922
|
z: string | number;
|
|
2921
2923
|
}>]>>;
|
|
2922
|
-
positionOffset:
|
|
2923
|
-
x:
|
|
2924
|
-
y:
|
|
2925
|
-
z:
|
|
2926
|
-
}, "strip",
|
|
2924
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
2925
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2926
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2927
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2928
|
+
}, "strip", z.ZodTypeAny, {
|
|
2927
2929
|
x: number;
|
|
2928
2930
|
y: number;
|
|
2929
2931
|
z: number;
|
|
@@ -2932,11 +2934,11 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2932
2934
|
y: string | number;
|
|
2933
2935
|
z: string | number;
|
|
2934
2936
|
}>>;
|
|
2935
|
-
size:
|
|
2936
|
-
x:
|
|
2937
|
-
y:
|
|
2938
|
-
z:
|
|
2939
|
-
}, "strip",
|
|
2937
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
2938
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2939
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2940
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2941
|
+
}, "strip", z.ZodTypeAny, {
|
|
2940
2942
|
x: number;
|
|
2941
2943
|
y: number;
|
|
2942
2944
|
z: number;
|
|
@@ -2946,8 +2948,8 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2946
2948
|
z: string | number;
|
|
2947
2949
|
}>>;
|
|
2948
2950
|
} & {
|
|
2949
|
-
jscad:
|
|
2950
|
-
}, "strip",
|
|
2951
|
+
jscad: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2952
|
+
}, "strip", z.ZodTypeAny, {
|
|
2951
2953
|
jscad: Record<string, any>;
|
|
2952
2954
|
rotationOffset?: number | {
|
|
2953
2955
|
x: string | number;
|
|
@@ -2982,17 +2984,17 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2982
2984
|
z: string | number;
|
|
2983
2985
|
} | undefined;
|
|
2984
2986
|
}>]>>;
|
|
2985
|
-
children:
|
|
2986
|
-
symbolName:
|
|
2987
|
-
doNotPlace:
|
|
2988
|
-
pinAttributes:
|
|
2989
|
-
providesPower:
|
|
2990
|
-
requiresPower:
|
|
2991
|
-
providesGround:
|
|
2992
|
-
requiresGround:
|
|
2993
|
-
providesVoltage:
|
|
2994
|
-
requiresVoltage:
|
|
2995
|
-
}, "strip",
|
|
2987
|
+
children: z.ZodOptional<z.ZodAny>;
|
|
2988
|
+
symbolName: z.ZodOptional<z.ZodString>;
|
|
2989
|
+
doNotPlace: z.ZodOptional<z.ZodBoolean>;
|
|
2990
|
+
pinAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2991
|
+
providesPower: z.ZodOptional<z.ZodBoolean>;
|
|
2992
|
+
requiresPower: z.ZodOptional<z.ZodBoolean>;
|
|
2993
|
+
providesGround: z.ZodOptional<z.ZodBoolean>;
|
|
2994
|
+
requiresGround: z.ZodOptional<z.ZodBoolean>;
|
|
2995
|
+
providesVoltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
2996
|
+
requiresVoltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
2997
|
+
}, "strip", z.ZodTypeAny, {
|
|
2996
2998
|
providesPower?: boolean | undefined;
|
|
2997
2999
|
requiresPower?: boolean | undefined;
|
|
2998
3000
|
providesGround?: boolean | undefined;
|
|
@@ -3008,62 +3010,62 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
3008
3010
|
requiresVoltage?: string | number | undefined;
|
|
3009
3011
|
}>>>;
|
|
3010
3012
|
} & {
|
|
3011
|
-
manufacturerPartNumber:
|
|
3012
|
-
pinLabels:
|
|
3013
|
-
showPinAliases:
|
|
3014
|
-
pcbPinLabels:
|
|
3015
|
-
internallyConnectedPins:
|
|
3016
|
-
externallyConnectedPins:
|
|
3017
|
-
schPinArrangement:
|
|
3018
|
-
leftSize:
|
|
3019
|
-
topSize:
|
|
3020
|
-
rightSize:
|
|
3021
|
-
bottomSize:
|
|
3022
|
-
leftPinCount:
|
|
3023
|
-
rightPinCount:
|
|
3024
|
-
topPinCount:
|
|
3025
|
-
bottomPinCount:
|
|
3026
|
-
leftSide:
|
|
3027
|
-
pins:
|
|
3028
|
-
direction:
|
|
3029
|
-
}, "strip",
|
|
3013
|
+
manufacturerPartNumber: z.ZodOptional<z.ZodString>;
|
|
3014
|
+
pinLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
3015
|
+
showPinAliases: z.ZodOptional<z.ZodBoolean>;
|
|
3016
|
+
pcbPinLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3017
|
+
internallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">, "many">>;
|
|
3018
|
+
externallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
3019
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
3020
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
3021
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
3022
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
3023
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
3024
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
3025
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
3026
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
3027
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
3028
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
3029
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3030
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
3031
|
+
}, "strip", z.ZodTypeAny, {
|
|
3030
3032
|
pins: (string | number)[];
|
|
3031
3033
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3032
3034
|
}, {
|
|
3033
3035
|
pins: (string | number)[];
|
|
3034
3036
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3035
3037
|
}>>;
|
|
3036
|
-
rightSide:
|
|
3037
|
-
pins:
|
|
3038
|
-
direction:
|
|
3039
|
-
}, "strip",
|
|
3038
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
3039
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3040
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
3041
|
+
}, "strip", z.ZodTypeAny, {
|
|
3040
3042
|
pins: (string | number)[];
|
|
3041
3043
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3042
3044
|
}, {
|
|
3043
3045
|
pins: (string | number)[];
|
|
3044
3046
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3045
3047
|
}>>;
|
|
3046
|
-
topSide:
|
|
3047
|
-
pins:
|
|
3048
|
-
direction:
|
|
3049
|
-
}, "strip",
|
|
3048
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
3049
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3050
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
3051
|
+
}, "strip", z.ZodTypeAny, {
|
|
3050
3052
|
pins: (string | number)[];
|
|
3051
3053
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3052
3054
|
}, {
|
|
3053
3055
|
pins: (string | number)[];
|
|
3054
3056
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3055
3057
|
}>>;
|
|
3056
|
-
bottomSide:
|
|
3057
|
-
pins:
|
|
3058
|
-
direction:
|
|
3059
|
-
}, "strip",
|
|
3058
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
3059
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3060
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
3061
|
+
}, "strip", z.ZodTypeAny, {
|
|
3060
3062
|
pins: (string | number)[];
|
|
3061
3063
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3062
3064
|
}, {
|
|
3063
3065
|
pins: (string | number)[];
|
|
3064
3066
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3065
3067
|
}>>;
|
|
3066
|
-
}, "strip",
|
|
3068
|
+
}, "strip", z.ZodTypeAny, {
|
|
3067
3069
|
leftSize?: number | undefined;
|
|
3068
3070
|
topSize?: number | undefined;
|
|
3069
3071
|
rightSize?: number | undefined;
|
|
@@ -3114,56 +3116,56 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
3114
3116
|
topPinCount?: number | undefined;
|
|
3115
3117
|
bottomPinCount?: number | undefined;
|
|
3116
3118
|
}>>;
|
|
3117
|
-
schPortArrangement:
|
|
3118
|
-
leftSize:
|
|
3119
|
-
topSize:
|
|
3120
|
-
rightSize:
|
|
3121
|
-
bottomSize:
|
|
3122
|
-
leftPinCount:
|
|
3123
|
-
rightPinCount:
|
|
3124
|
-
topPinCount:
|
|
3125
|
-
bottomPinCount:
|
|
3126
|
-
leftSide:
|
|
3127
|
-
pins:
|
|
3128
|
-
direction:
|
|
3129
|
-
}, "strip",
|
|
3119
|
+
schPortArrangement: z.ZodOptional<z.ZodObject<{
|
|
3120
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
3121
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
3122
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
3123
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
3124
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
3125
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
3126
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
3127
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
3128
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
3129
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3130
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
3131
|
+
}, "strip", z.ZodTypeAny, {
|
|
3130
3132
|
pins: (string | number)[];
|
|
3131
3133
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3132
3134
|
}, {
|
|
3133
3135
|
pins: (string | number)[];
|
|
3134
3136
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3135
3137
|
}>>;
|
|
3136
|
-
rightSide:
|
|
3137
|
-
pins:
|
|
3138
|
-
direction:
|
|
3139
|
-
}, "strip",
|
|
3138
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
3139
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3140
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
3141
|
+
}, "strip", z.ZodTypeAny, {
|
|
3140
3142
|
pins: (string | number)[];
|
|
3141
3143
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3142
3144
|
}, {
|
|
3143
3145
|
pins: (string | number)[];
|
|
3144
3146
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3145
3147
|
}>>;
|
|
3146
|
-
topSide:
|
|
3147
|
-
pins:
|
|
3148
|
-
direction:
|
|
3149
|
-
}, "strip",
|
|
3148
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
3149
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3150
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
3151
|
+
}, "strip", z.ZodTypeAny, {
|
|
3150
3152
|
pins: (string | number)[];
|
|
3151
3153
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3152
3154
|
}, {
|
|
3153
3155
|
pins: (string | number)[];
|
|
3154
3156
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3155
3157
|
}>>;
|
|
3156
|
-
bottomSide:
|
|
3157
|
-
pins:
|
|
3158
|
-
direction:
|
|
3159
|
-
}, "strip",
|
|
3158
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
3159
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3160
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
3161
|
+
}, "strip", z.ZodTypeAny, {
|
|
3160
3162
|
pins: (string | number)[];
|
|
3161
3163
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3162
3164
|
}, {
|
|
3163
3165
|
pins: (string | number)[];
|
|
3164
3166
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3165
3167
|
}>>;
|
|
3166
|
-
}, "strip",
|
|
3168
|
+
}, "strip", z.ZodTypeAny, {
|
|
3167
3169
|
leftSize?: number | undefined;
|
|
3168
3170
|
topSize?: number | undefined;
|
|
3169
3171
|
rightSize?: number | undefined;
|
|
@@ -3214,26 +3216,26 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
3214
3216
|
topPinCount?: number | undefined;
|
|
3215
3217
|
bottomPinCount?: number | undefined;
|
|
3216
3218
|
}>>;
|
|
3217
|
-
pinCompatibleVariants:
|
|
3218
|
-
manufacturerPartNumber:
|
|
3219
|
-
supplierPartNumber:
|
|
3220
|
-
}, "strip",
|
|
3219
|
+
pinCompatibleVariants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3220
|
+
manufacturerPartNumber: z.ZodOptional<z.ZodString>;
|
|
3221
|
+
supplierPartNumber: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
3222
|
+
}, "strip", z.ZodTypeAny, {
|
|
3221
3223
|
manufacturerPartNumber?: string | undefined;
|
|
3222
3224
|
supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3223
3225
|
}, {
|
|
3224
3226
|
manufacturerPartNumber?: string | undefined;
|
|
3225
3227
|
supplierPartNumber?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3226
3228
|
}>, "many">>;
|
|
3227
|
-
schPinStyle:
|
|
3228
|
-
marginLeft:
|
|
3229
|
-
marginRight:
|
|
3230
|
-
marginTop:
|
|
3231
|
-
marginBottom:
|
|
3232
|
-
leftMargin:
|
|
3233
|
-
rightMargin:
|
|
3234
|
-
topMargin:
|
|
3235
|
-
bottomMargin:
|
|
3236
|
-
}, "strip",
|
|
3229
|
+
schPinStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3230
|
+
marginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3231
|
+
marginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3232
|
+
marginTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3233
|
+
marginBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3234
|
+
leftMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3235
|
+
rightMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3236
|
+
topMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3237
|
+
bottomMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3238
|
+
}, "strip", z.ZodTypeAny, {
|
|
3237
3239
|
marginLeft?: number | undefined;
|
|
3238
3240
|
marginRight?: number | undefined;
|
|
3239
3241
|
marginTop?: number | undefined;
|
|
@@ -3252,12 +3254,12 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
3252
3254
|
topMargin?: string | number | undefined;
|
|
3253
3255
|
bottomMargin?: string | number | undefined;
|
|
3254
3256
|
}>>>;
|
|
3255
|
-
schPinSpacing:
|
|
3256
|
-
schWidth:
|
|
3257
|
-
schHeight:
|
|
3258
|
-
noSchematicRepresentation:
|
|
3259
|
-
connections:
|
|
3260
|
-
}, "strip",
|
|
3257
|
+
schPinSpacing: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3258
|
+
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3259
|
+
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3260
|
+
noSchematicRepresentation: z.ZodOptional<z.ZodBoolean>;
|
|
3261
|
+
connections: z.ZodOptional<z.ZodPipeline<z.ZodType<Partial<Record<string, string | string[] | readonly string[]>>, z.ZodTypeDef, Partial<Record<string, string | string[] | readonly string[]>>>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
|
|
3262
|
+
}, "strip", z.ZodTypeAny, {
|
|
3261
3263
|
name: string;
|
|
3262
3264
|
pcbX?: number | undefined;
|
|
3263
3265
|
pcbY?: number | undefined;
|
|
@@ -9480,6 +9482,7 @@ declare class NetLabel extends PrimitiveComponent<typeof netLabelProps> {
|
|
|
9480
9482
|
_getNetName(): string;
|
|
9481
9483
|
doInitialCreateNetsFromProps(): void;
|
|
9482
9484
|
doInitialCreateTracesFromNetLabels(): void;
|
|
9485
|
+
doInitialSchematicTraceRender(): void;
|
|
9483
9486
|
}
|
|
9484
9487
|
|
|
9485
9488
|
declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
|