@tscircuit/props 0.0.143 → 0.0.145
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 +70 -2
- package/dist/index.js +152 -150
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +4 -0
- package/lib/components/potentiometer.ts +5 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2587,6 +2587,8 @@ interface AutorouterConfig {
|
|
|
2587
2587
|
serverMode?: "job" | "solve-endpoint";
|
|
2588
2588
|
serverCacheEnabled?: boolean;
|
|
2589
2589
|
cache?: PcbRouteCache;
|
|
2590
|
+
groupMode?: "sequential-trace" | "subcircuit";
|
|
2591
|
+
local?: boolean;
|
|
2590
2592
|
}
|
|
2591
2593
|
type AutorouterProp = AutorouterConfig | "sequential-trace" | "subcircuit" | "auto" | "auto-local" | "auto-cloud";
|
|
2592
2594
|
declare const autorouterConfig: z.ZodObject<{
|
|
@@ -2595,18 +2597,24 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
2595
2597
|
serverMode: z.ZodOptional<z.ZodEnum<["job", "solve-endpoint"]>>;
|
|
2596
2598
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2597
2599
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
2600
|
+
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
2601
|
+
local: z.ZodOptional<z.ZodBoolean>;
|
|
2598
2602
|
}, "strip", z.ZodTypeAny, {
|
|
2599
2603
|
serverUrl?: string | undefined;
|
|
2600
2604
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
2601
2605
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
2602
2606
|
serverCacheEnabled?: boolean | undefined;
|
|
2603
2607
|
cache?: PcbRouteCache | undefined;
|
|
2608
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
2609
|
+
local?: boolean | undefined;
|
|
2604
2610
|
}, {
|
|
2605
2611
|
serverUrl?: string | undefined;
|
|
2606
2612
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
2607
2613
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
2608
2614
|
serverCacheEnabled?: boolean | undefined;
|
|
2609
2615
|
cache?: PcbRouteCache | undefined;
|
|
2616
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
2617
|
+
local?: boolean | undefined;
|
|
2610
2618
|
}>;
|
|
2611
2619
|
declare const autorouterProp: z.ZodUnion<[z.ZodObject<{
|
|
2612
2620
|
serverUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2614,18 +2622,24 @@ declare const autorouterProp: z.ZodUnion<[z.ZodObject<{
|
|
|
2614
2622
|
serverMode: z.ZodOptional<z.ZodEnum<["job", "solve-endpoint"]>>;
|
|
2615
2623
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2616
2624
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
2625
|
+
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
2626
|
+
local: z.ZodOptional<z.ZodBoolean>;
|
|
2617
2627
|
}, "strip", z.ZodTypeAny, {
|
|
2618
2628
|
serverUrl?: string | undefined;
|
|
2619
2629
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
2620
2630
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
2621
2631
|
serverCacheEnabled?: boolean | undefined;
|
|
2622
2632
|
cache?: PcbRouteCache | undefined;
|
|
2633
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
2634
|
+
local?: boolean | undefined;
|
|
2623
2635
|
}, {
|
|
2624
2636
|
serverUrl?: string | undefined;
|
|
2625
2637
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
2626
2638
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
2627
2639
|
serverCacheEnabled?: boolean | undefined;
|
|
2628
2640
|
cache?: PcbRouteCache | undefined;
|
|
2641
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
2642
|
+
local?: boolean | undefined;
|
|
2629
2643
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
2630
2644
|
interface SubcircuitGroupProps extends BaseGroupProps {
|
|
2631
2645
|
layout?: LayoutBuilder;
|
|
@@ -2904,18 +2918,24 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2904
2918
|
serverMode: z.ZodOptional<z.ZodEnum<["job", "solve-endpoint"]>>;
|
|
2905
2919
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2906
2920
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
2921
|
+
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
2922
|
+
local: z.ZodOptional<z.ZodBoolean>;
|
|
2907
2923
|
}, "strip", z.ZodTypeAny, {
|
|
2908
2924
|
serverUrl?: string | undefined;
|
|
2909
2925
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
2910
2926
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
2911
2927
|
serverCacheEnabled?: boolean | undefined;
|
|
2912
2928
|
cache?: PcbRouteCache | undefined;
|
|
2929
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
2930
|
+
local?: boolean | undefined;
|
|
2913
2931
|
}, {
|
|
2914
2932
|
serverUrl?: string | undefined;
|
|
2915
2933
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
2916
2934
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
2917
2935
|
serverCacheEnabled?: boolean | undefined;
|
|
2918
2936
|
cache?: PcbRouteCache | undefined;
|
|
2937
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
2938
|
+
local?: boolean | undefined;
|
|
2919
2939
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
2920
2940
|
}>, "strip", z.ZodTypeAny, {
|
|
2921
2941
|
pcbX?: number | undefined;
|
|
@@ -2968,6 +2988,8 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2968
2988
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
2969
2989
|
serverCacheEnabled?: boolean | undefined;
|
|
2970
2990
|
cache?: PcbRouteCache | undefined;
|
|
2991
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
2992
|
+
local?: boolean | undefined;
|
|
2971
2993
|
} | undefined;
|
|
2972
2994
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
2973
2995
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -3027,6 +3049,8 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
3027
3049
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
3028
3050
|
serverCacheEnabled?: boolean | undefined;
|
|
3029
3051
|
cache?: PcbRouteCache | undefined;
|
|
3052
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3053
|
+
local?: boolean | undefined;
|
|
3030
3054
|
} | undefined;
|
|
3031
3055
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
3032
3056
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -3234,18 +3258,24 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
3234
3258
|
serverMode: z.ZodOptional<z.ZodEnum<["job", "solve-endpoint"]>>;
|
|
3235
3259
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3236
3260
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
3261
|
+
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
3262
|
+
local: z.ZodOptional<z.ZodBoolean>;
|
|
3237
3263
|
}, "strip", z.ZodTypeAny, {
|
|
3238
3264
|
serverUrl?: string | undefined;
|
|
3239
3265
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
3240
3266
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
3241
3267
|
serverCacheEnabled?: boolean | undefined;
|
|
3242
3268
|
cache?: PcbRouteCache | undefined;
|
|
3269
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3270
|
+
local?: boolean | undefined;
|
|
3243
3271
|
}, {
|
|
3244
3272
|
serverUrl?: string | undefined;
|
|
3245
3273
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
3246
3274
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
3247
3275
|
serverCacheEnabled?: boolean | undefined;
|
|
3248
3276
|
cache?: PcbRouteCache | undefined;
|
|
3277
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3278
|
+
local?: boolean | undefined;
|
|
3249
3279
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
3250
3280
|
}>, {
|
|
3251
3281
|
subcircuit: z.ZodLiteral<true>;
|
|
@@ -3301,6 +3331,8 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
3301
3331
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
3302
3332
|
serverCacheEnabled?: boolean | undefined;
|
|
3303
3333
|
cache?: PcbRouteCache | undefined;
|
|
3334
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3335
|
+
local?: boolean | undefined;
|
|
3304
3336
|
} | undefined;
|
|
3305
3337
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
3306
3338
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -3361,6 +3393,8 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
3361
3393
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
3362
3394
|
serverCacheEnabled?: boolean | undefined;
|
|
3363
3395
|
cache?: PcbRouteCache | undefined;
|
|
3396
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3397
|
+
local?: boolean | undefined;
|
|
3364
3398
|
} | undefined;
|
|
3365
3399
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
3366
3400
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -3619,18 +3653,24 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3619
3653
|
serverMode: z.ZodOptional<z.ZodEnum<["job", "solve-endpoint"]>>;
|
|
3620
3654
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3621
3655
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
3656
|
+
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
3657
|
+
local: z.ZodOptional<z.ZodBoolean>;
|
|
3622
3658
|
}, "strip", z.ZodTypeAny, {
|
|
3623
3659
|
serverUrl?: string | undefined;
|
|
3624
3660
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
3625
3661
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
3626
3662
|
serverCacheEnabled?: boolean | undefined;
|
|
3627
3663
|
cache?: PcbRouteCache | undefined;
|
|
3664
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3665
|
+
local?: boolean | undefined;
|
|
3628
3666
|
}, {
|
|
3629
3667
|
serverUrl?: string | undefined;
|
|
3630
3668
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
3631
3669
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
3632
3670
|
serverCacheEnabled?: boolean | undefined;
|
|
3633
3671
|
cache?: PcbRouteCache | undefined;
|
|
3672
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3673
|
+
local?: boolean | undefined;
|
|
3634
3674
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
3635
3675
|
}>, {
|
|
3636
3676
|
subcircuit: z.ZodLiteral<true>;
|
|
@@ -3686,6 +3726,8 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3686
3726
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
3687
3727
|
serverCacheEnabled?: boolean | undefined;
|
|
3688
3728
|
cache?: PcbRouteCache | undefined;
|
|
3729
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3730
|
+
local?: boolean | undefined;
|
|
3689
3731
|
} | undefined;
|
|
3690
3732
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
3691
3733
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -3746,6 +3788,8 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3746
3788
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
3747
3789
|
serverCacheEnabled?: boolean | undefined;
|
|
3748
3790
|
cache?: PcbRouteCache | undefined;
|
|
3791
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3792
|
+
local?: boolean | undefined;
|
|
3749
3793
|
} | undefined;
|
|
3750
3794
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
3751
3795
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -3966,18 +4010,24 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3966
4010
|
serverMode: z.ZodOptional<z.ZodEnum<["job", "solve-endpoint"]>>;
|
|
3967
4011
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3968
4012
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
4013
|
+
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
4014
|
+
local: z.ZodOptional<z.ZodBoolean>;
|
|
3969
4015
|
}, "strip", z.ZodTypeAny, {
|
|
3970
4016
|
serverUrl?: string | undefined;
|
|
3971
4017
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
3972
4018
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
3973
4019
|
serverCacheEnabled?: boolean | undefined;
|
|
3974
4020
|
cache?: PcbRouteCache | undefined;
|
|
4021
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
4022
|
+
local?: boolean | undefined;
|
|
3975
4023
|
}, {
|
|
3976
4024
|
serverUrl?: string | undefined;
|
|
3977
4025
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
3978
4026
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
3979
4027
|
serverCacheEnabled?: boolean | undefined;
|
|
3980
4028
|
cache?: PcbRouteCache | undefined;
|
|
4029
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
4030
|
+
local?: boolean | undefined;
|
|
3981
4031
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
3982
4032
|
}>, {
|
|
3983
4033
|
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -4045,6 +4095,8 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
4045
4095
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
4046
4096
|
serverCacheEnabled?: boolean | undefined;
|
|
4047
4097
|
cache?: PcbRouteCache | undefined;
|
|
4098
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
4099
|
+
local?: boolean | undefined;
|
|
4048
4100
|
} | undefined;
|
|
4049
4101
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
4050
4102
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -4112,6 +4164,8 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
4112
4164
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
4113
4165
|
serverCacheEnabled?: boolean | undefined;
|
|
4114
4166
|
cache?: PcbRouteCache | undefined;
|
|
4167
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
4168
|
+
local?: boolean | undefined;
|
|
4115
4169
|
} | undefined;
|
|
4116
4170
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
4117
4171
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -6873,8 +6927,10 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
6873
6927
|
}>;
|
|
6874
6928
|
declare const resistorPins: readonly ["pin1", "left", "pin2", "right"];
|
|
6875
6929
|
|
|
6930
|
+
type PotentiometerPinVariant = "two_pin" | "three_pin";
|
|
6876
6931
|
interface PotentiometerProps extends CommonComponentProps {
|
|
6877
6932
|
maxResistance: number | string;
|
|
6933
|
+
pinVariant?: PotentiometerPinVariant;
|
|
6878
6934
|
}
|
|
6879
6935
|
declare const potentiometerProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
6880
6936
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -7134,6 +7190,7 @@ declare const potentiometerProps: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
7134
7190
|
symbolName: z.ZodOptional<z.ZodString>;
|
|
7135
7191
|
}>, {
|
|
7136
7192
|
maxResistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7193
|
+
pinVariant: z.ZodOptional<z.ZodEnum<["two_pin", "three_pin"]>>;
|
|
7137
7194
|
}>, "strip", z.ZodTypeAny, {
|
|
7138
7195
|
name: string;
|
|
7139
7196
|
maxResistance: number;
|
|
@@ -7202,6 +7259,7 @@ declare const potentiometerProps: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
7202
7259
|
} | undefined;
|
|
7203
7260
|
children?: any;
|
|
7204
7261
|
symbolName?: string | undefined;
|
|
7262
|
+
pinVariant?: "two_pin" | "three_pin" | undefined;
|
|
7205
7263
|
}, {
|
|
7206
7264
|
name: string;
|
|
7207
7265
|
maxResistance: string | number;
|
|
@@ -7272,8 +7330,8 @@ declare const potentiometerProps: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
7272
7330
|
} | undefined;
|
|
7273
7331
|
children?: any;
|
|
7274
7332
|
symbolName?: string | undefined;
|
|
7333
|
+
pinVariant?: "two_pin" | "three_pin" | undefined;
|
|
7275
7334
|
}>;
|
|
7276
|
-
declare const potentiometerPins: readonly ["pin1", "left", "pin2", "right"];
|
|
7277
7335
|
|
|
7278
7336
|
type PinVariant = "2pin" | "4pin";
|
|
7279
7337
|
interface CrystalProps extends CommonComponentProps {
|
|
@@ -11006,18 +11064,24 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
11006
11064
|
serverMode: z.ZodOptional<z.ZodEnum<["job", "solve-endpoint"]>>;
|
|
11007
11065
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
11008
11066
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
11067
|
+
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
11068
|
+
local: z.ZodOptional<z.ZodBoolean>;
|
|
11009
11069
|
}, "strip", z.ZodTypeAny, {
|
|
11010
11070
|
serverUrl?: string | undefined;
|
|
11011
11071
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
11012
11072
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
11013
11073
|
serverCacheEnabled?: boolean | undefined;
|
|
11014
11074
|
cache?: PcbRouteCache | undefined;
|
|
11075
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
11076
|
+
local?: boolean | undefined;
|
|
11015
11077
|
}, {
|
|
11016
11078
|
serverUrl?: string | undefined;
|
|
11017
11079
|
inputFormat?: "simplified" | "circuit-json" | undefined;
|
|
11018
11080
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
11019
11081
|
serverCacheEnabled?: boolean | undefined;
|
|
11020
11082
|
cache?: PcbRouteCache | undefined;
|
|
11083
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
11084
|
+
local?: boolean | undefined;
|
|
11021
11085
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
11022
11086
|
}>, "strip", z.ZodTypeAny, {
|
|
11023
11087
|
pcbX?: number | undefined;
|
|
@@ -11070,6 +11134,8 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
11070
11134
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
11071
11135
|
serverCacheEnabled?: boolean | undefined;
|
|
11072
11136
|
cache?: PcbRouteCache | undefined;
|
|
11137
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
11138
|
+
local?: boolean | undefined;
|
|
11073
11139
|
} | undefined;
|
|
11074
11140
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
11075
11141
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -11129,6 +11195,8 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
11129
11195
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
11130
11196
|
serverCacheEnabled?: boolean | undefined;
|
|
11131
11197
|
cache?: PcbRouteCache | undefined;
|
|
11198
|
+
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
11199
|
+
local?: boolean | undefined;
|
|
11132
11200
|
} | undefined;
|
|
11133
11201
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
11134
11202
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -14910,4 +14978,4 @@ declare const portProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14910
14978
|
}>;
|
|
14911
14979
|
type PortProps = z.input<typeof portProps>;
|
|
14912
14980
|
|
|
14913
|
-
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type JumperProps, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PinHeaderProps, type PinLabels, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PortHints, type PortProps, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_schematic_component_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netProps, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinHeaderProps, pinLabelsProp, platedHoleProps, point3, portHints, portProps, portRef,
|
|
14981
|
+
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type JumperProps, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PinHeaderProps, type PinLabels, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_schematic_component_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netProps, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinHeaderProps, pinLabelsProp, platedHoleProps, point3, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|