@tscircuit/props 0.0.158 → 0.0.160
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 +421 -4
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +6 -0
- package/lib/components/push-button.ts +3 -10
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2665,6 +2665,7 @@ interface AutorouterConfig {
|
|
|
2665
2665
|
cache?: PcbRouteCache;
|
|
2666
2666
|
groupMode?: "sequential-trace" | "subcircuit";
|
|
2667
2667
|
local?: boolean;
|
|
2668
|
+
algorithmFn?: (simpleRouteJson: any) => Promise<any>;
|
|
2668
2669
|
}
|
|
2669
2670
|
type AutorouterProp = AutorouterConfig | "sequential-trace" | "subcircuit" | "auto" | "auto-local" | "auto-cloud";
|
|
2670
2671
|
declare const autorouterConfig: z.ZodObject<{
|
|
@@ -2674,6 +2675,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
2674
2675
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2675
2676
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
2676
2677
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
2678
|
+
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
2677
2679
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
2678
2680
|
}, "strip", z.ZodTypeAny, {
|
|
2679
2681
|
serverUrl?: string | undefined;
|
|
@@ -2682,6 +2684,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
2682
2684
|
serverCacheEnabled?: boolean | undefined;
|
|
2683
2685
|
cache?: PcbRouteCache | undefined;
|
|
2684
2686
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
2687
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
2685
2688
|
local?: boolean | undefined;
|
|
2686
2689
|
}, {
|
|
2687
2690
|
serverUrl?: string | undefined;
|
|
@@ -2690,6 +2693,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
2690
2693
|
serverCacheEnabled?: boolean | undefined;
|
|
2691
2694
|
cache?: PcbRouteCache | undefined;
|
|
2692
2695
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
2696
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
2693
2697
|
local?: boolean | undefined;
|
|
2694
2698
|
}>;
|
|
2695
2699
|
declare const autorouterProp: z.ZodUnion<[z.ZodObject<{
|
|
@@ -2699,6 +2703,7 @@ declare const autorouterProp: z.ZodUnion<[z.ZodObject<{
|
|
|
2699
2703
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2700
2704
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
2701
2705
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
2706
|
+
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
2702
2707
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
2703
2708
|
}, "strip", z.ZodTypeAny, {
|
|
2704
2709
|
serverUrl?: string | undefined;
|
|
@@ -2707,6 +2712,7 @@ declare const autorouterProp: z.ZodUnion<[z.ZodObject<{
|
|
|
2707
2712
|
serverCacheEnabled?: boolean | undefined;
|
|
2708
2713
|
cache?: PcbRouteCache | undefined;
|
|
2709
2714
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
2715
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
2710
2716
|
local?: boolean | undefined;
|
|
2711
2717
|
}, {
|
|
2712
2718
|
serverUrl?: string | undefined;
|
|
@@ -2715,6 +2721,7 @@ declare const autorouterProp: z.ZodUnion<[z.ZodObject<{
|
|
|
2715
2721
|
serverCacheEnabled?: boolean | undefined;
|
|
2716
2722
|
cache?: PcbRouteCache | undefined;
|
|
2717
2723
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
2724
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
2718
2725
|
local?: boolean | undefined;
|
|
2719
2726
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
2720
2727
|
interface SubcircuitGroupProps extends BaseGroupProps {
|
|
@@ -3356,6 +3363,7 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
3356
3363
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3357
3364
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
3358
3365
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
3366
|
+
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
3359
3367
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
3360
3368
|
}, "strip", z.ZodTypeAny, {
|
|
3361
3369
|
serverUrl?: string | undefined;
|
|
@@ -3364,6 +3372,7 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
3364
3372
|
serverCacheEnabled?: boolean | undefined;
|
|
3365
3373
|
cache?: PcbRouteCache | undefined;
|
|
3366
3374
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3375
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
3367
3376
|
local?: boolean | undefined;
|
|
3368
3377
|
}, {
|
|
3369
3378
|
serverUrl?: string | undefined;
|
|
@@ -3372,6 +3381,7 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
3372
3381
|
serverCacheEnabled?: boolean | undefined;
|
|
3373
3382
|
cache?: PcbRouteCache | undefined;
|
|
3374
3383
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3384
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
3375
3385
|
local?: boolean | undefined;
|
|
3376
3386
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
3377
3387
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -3482,6 +3492,7 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
3482
3492
|
serverCacheEnabled?: boolean | undefined;
|
|
3483
3493
|
cache?: PcbRouteCache | undefined;
|
|
3484
3494
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3495
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
3485
3496
|
local?: boolean | undefined;
|
|
3486
3497
|
} | undefined;
|
|
3487
3498
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -3599,6 +3610,7 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
3599
3610
|
serverCacheEnabled?: boolean | undefined;
|
|
3600
3611
|
cache?: PcbRouteCache | undefined;
|
|
3601
3612
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3613
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
3602
3614
|
local?: boolean | undefined;
|
|
3603
3615
|
} | undefined;
|
|
3604
3616
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -3932,6 +3944,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
3932
3944
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3933
3945
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
3934
3946
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
3947
|
+
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
3935
3948
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
3936
3949
|
}, "strip", z.ZodTypeAny, {
|
|
3937
3950
|
serverUrl?: string | undefined;
|
|
@@ -3940,6 +3953,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
3940
3953
|
serverCacheEnabled?: boolean | undefined;
|
|
3941
3954
|
cache?: PcbRouteCache | undefined;
|
|
3942
3955
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3956
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
3943
3957
|
local?: boolean | undefined;
|
|
3944
3958
|
}, {
|
|
3945
3959
|
serverUrl?: string | undefined;
|
|
@@ -3948,6 +3962,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
3948
3962
|
serverCacheEnabled?: boolean | undefined;
|
|
3949
3963
|
cache?: PcbRouteCache | undefined;
|
|
3950
3964
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
3965
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
3951
3966
|
local?: boolean | undefined;
|
|
3952
3967
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
3953
3968
|
}>, {
|
|
@@ -4061,6 +4076,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
4061
4076
|
serverCacheEnabled?: boolean | undefined;
|
|
4062
4077
|
cache?: PcbRouteCache | undefined;
|
|
4063
4078
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
4079
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
4064
4080
|
local?: boolean | undefined;
|
|
4065
4081
|
} | undefined;
|
|
4066
4082
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -4179,6 +4195,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
4179
4195
|
serverCacheEnabled?: boolean | undefined;
|
|
4180
4196
|
cache?: PcbRouteCache | undefined;
|
|
4181
4197
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
4198
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
4182
4199
|
local?: boolean | undefined;
|
|
4183
4200
|
} | undefined;
|
|
4184
4201
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -4799,6 +4816,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
4799
4816
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4800
4817
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
4801
4818
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
4819
|
+
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
4802
4820
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
4803
4821
|
}, "strip", z.ZodTypeAny, {
|
|
4804
4822
|
serverUrl?: string | undefined;
|
|
@@ -4807,6 +4825,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
4807
4825
|
serverCacheEnabled?: boolean | undefined;
|
|
4808
4826
|
cache?: PcbRouteCache | undefined;
|
|
4809
4827
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
4828
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
4810
4829
|
local?: boolean | undefined;
|
|
4811
4830
|
}, {
|
|
4812
4831
|
serverUrl?: string | undefined;
|
|
@@ -4815,6 +4834,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
4815
4834
|
serverCacheEnabled?: boolean | undefined;
|
|
4816
4835
|
cache?: PcbRouteCache | undefined;
|
|
4817
4836
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
4837
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
4818
4838
|
local?: boolean | undefined;
|
|
4819
4839
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
4820
4840
|
}>, {
|
|
@@ -4928,6 +4948,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
4928
4948
|
serverCacheEnabled?: boolean | undefined;
|
|
4929
4949
|
cache?: PcbRouteCache | undefined;
|
|
4930
4950
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
4951
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
4931
4952
|
local?: boolean | undefined;
|
|
4932
4953
|
} | undefined;
|
|
4933
4954
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -5046,6 +5067,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
5046
5067
|
serverCacheEnabled?: boolean | undefined;
|
|
5047
5068
|
cache?: PcbRouteCache | undefined;
|
|
5048
5069
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
5070
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
5049
5071
|
local?: boolean | undefined;
|
|
5050
5072
|
} | undefined;
|
|
5051
5073
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -5392,6 +5414,7 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
5392
5414
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5393
5415
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
5394
5416
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
5417
|
+
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
5395
5418
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
5396
5419
|
}, "strip", z.ZodTypeAny, {
|
|
5397
5420
|
serverUrl?: string | undefined;
|
|
@@ -5400,6 +5423,7 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
5400
5423
|
serverCacheEnabled?: boolean | undefined;
|
|
5401
5424
|
cache?: PcbRouteCache | undefined;
|
|
5402
5425
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
5426
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
5403
5427
|
local?: boolean | undefined;
|
|
5404
5428
|
}, {
|
|
5405
5429
|
serverUrl?: string | undefined;
|
|
@@ -5408,6 +5432,7 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
5408
5432
|
serverCacheEnabled?: boolean | undefined;
|
|
5409
5433
|
cache?: PcbRouteCache | undefined;
|
|
5410
5434
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
5435
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
5411
5436
|
local?: boolean | undefined;
|
|
5412
5437
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
5413
5438
|
}>, {
|
|
@@ -5533,6 +5558,7 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
5533
5558
|
serverCacheEnabled?: boolean | undefined;
|
|
5534
5559
|
cache?: PcbRouteCache | undefined;
|
|
5535
5560
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
5561
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
5536
5562
|
local?: boolean | undefined;
|
|
5537
5563
|
} | undefined;
|
|
5538
5564
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -5658,6 +5684,7 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
5658
5684
|
serverCacheEnabled?: boolean | undefined;
|
|
5659
5685
|
cache?: PcbRouteCache | undefined;
|
|
5660
5686
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
5687
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
5661
5688
|
local?: boolean | undefined;
|
|
5662
5689
|
} | undefined;
|
|
5663
5690
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -10071,6 +10098,7 @@ declare const stampboardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10071
10098
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
10072
10099
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
10073
10100
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
10101
|
+
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
10074
10102
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
10075
10103
|
}, "strip", z.ZodTypeAny, {
|
|
10076
10104
|
serverUrl?: string | undefined;
|
|
@@ -10079,6 +10107,7 @@ declare const stampboardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10079
10107
|
serverCacheEnabled?: boolean | undefined;
|
|
10080
10108
|
cache?: PcbRouteCache | undefined;
|
|
10081
10109
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
10110
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
10082
10111
|
local?: boolean | undefined;
|
|
10083
10112
|
}, {
|
|
10084
10113
|
serverUrl?: string | undefined;
|
|
@@ -10087,6 +10116,7 @@ declare const stampboardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10087
10116
|
serverCacheEnabled?: boolean | undefined;
|
|
10088
10117
|
cache?: PcbRouteCache | undefined;
|
|
10089
10118
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
10119
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
10090
10120
|
local?: boolean | undefined;
|
|
10091
10121
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
10092
10122
|
}>, {
|
|
@@ -10227,6 +10257,7 @@ declare const stampboardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10227
10257
|
serverCacheEnabled?: boolean | undefined;
|
|
10228
10258
|
cache?: PcbRouteCache | undefined;
|
|
10229
10259
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
10260
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
10230
10261
|
local?: boolean | undefined;
|
|
10231
10262
|
} | undefined;
|
|
10232
10263
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -10362,6 +10393,7 @@ declare const stampboardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10362
10393
|
serverCacheEnabled?: boolean | undefined;
|
|
10363
10394
|
cache?: PcbRouteCache | undefined;
|
|
10364
10395
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
10396
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
10365
10397
|
local?: boolean | undefined;
|
|
10366
10398
|
} | undefined;
|
|
10367
10399
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -12697,10 +12729,9 @@ declare const netAliasProps: z.ZodObject<{
|
|
|
12697
12729
|
anchorSide?: "up" | "down" | "left" | "right" | undefined;
|
|
12698
12730
|
}>;
|
|
12699
12731
|
|
|
12700
|
-
interface PushButtonProps extends
|
|
12701
|
-
internallyConnectedPins?: string[][];
|
|
12732
|
+
interface PushButtonProps extends ChipProps {
|
|
12702
12733
|
}
|
|
12703
|
-
declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
12734
|
+
declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
12704
12735
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12705
12736
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12706
12737
|
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -12957,8 +12988,244 @@ declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
12957
12988
|
children: z.ZodOptional<z.ZodAny>;
|
|
12958
12989
|
symbolName: z.ZodOptional<z.ZodString>;
|
|
12959
12990
|
}>, {
|
|
12991
|
+
manufacturerPartNumber: z.ZodOptional<z.ZodString>;
|
|
12992
|
+
pinLabels: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>>>;
|
|
12960
12993
|
internallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12961
|
-
|
|
12994
|
+
externallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12995
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
12996
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
12997
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
12998
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
12999
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
13000
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
13001
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
13002
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
13003
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
13004
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
13005
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
13006
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
13007
|
+
}, "strip", z.ZodTypeAny, {
|
|
13008
|
+
pins: (string | number)[];
|
|
13009
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13010
|
+
}, {
|
|
13011
|
+
pins: (string | number)[];
|
|
13012
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13013
|
+
}>>;
|
|
13014
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
13015
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
13016
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
13017
|
+
}, "strip", z.ZodTypeAny, {
|
|
13018
|
+
pins: (string | number)[];
|
|
13019
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13020
|
+
}, {
|
|
13021
|
+
pins: (string | number)[];
|
|
13022
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13023
|
+
}>>;
|
|
13024
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
13025
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
13026
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
13027
|
+
}, "strip", z.ZodTypeAny, {
|
|
13028
|
+
pins: (string | number)[];
|
|
13029
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13030
|
+
}, {
|
|
13031
|
+
pins: (string | number)[];
|
|
13032
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13033
|
+
}>>;
|
|
13034
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
13035
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
13036
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
13037
|
+
}, "strip", z.ZodTypeAny, {
|
|
13038
|
+
pins: (string | number)[];
|
|
13039
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13040
|
+
}, {
|
|
13041
|
+
pins: (string | number)[];
|
|
13042
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13043
|
+
}>>;
|
|
13044
|
+
}, "strip", z.ZodTypeAny, {
|
|
13045
|
+
leftSize?: number | undefined;
|
|
13046
|
+
topSize?: number | undefined;
|
|
13047
|
+
rightSize?: number | undefined;
|
|
13048
|
+
bottomSize?: number | undefined;
|
|
13049
|
+
leftSide?: {
|
|
13050
|
+
pins: (string | number)[];
|
|
13051
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13052
|
+
} | undefined;
|
|
13053
|
+
topSide?: {
|
|
13054
|
+
pins: (string | number)[];
|
|
13055
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13056
|
+
} | undefined;
|
|
13057
|
+
rightSide?: {
|
|
13058
|
+
pins: (string | number)[];
|
|
13059
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13060
|
+
} | undefined;
|
|
13061
|
+
bottomSide?: {
|
|
13062
|
+
pins: (string | number)[];
|
|
13063
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13064
|
+
} | undefined;
|
|
13065
|
+
leftPinCount?: number | undefined;
|
|
13066
|
+
rightPinCount?: number | undefined;
|
|
13067
|
+
topPinCount?: number | undefined;
|
|
13068
|
+
bottomPinCount?: number | undefined;
|
|
13069
|
+
}, {
|
|
13070
|
+
leftSize?: number | undefined;
|
|
13071
|
+
topSize?: number | undefined;
|
|
13072
|
+
rightSize?: number | undefined;
|
|
13073
|
+
bottomSize?: number | undefined;
|
|
13074
|
+
leftSide?: {
|
|
13075
|
+
pins: (string | number)[];
|
|
13076
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13077
|
+
} | undefined;
|
|
13078
|
+
topSide?: {
|
|
13079
|
+
pins: (string | number)[];
|
|
13080
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13081
|
+
} | undefined;
|
|
13082
|
+
rightSide?: {
|
|
13083
|
+
pins: (string | number)[];
|
|
13084
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13085
|
+
} | undefined;
|
|
13086
|
+
bottomSide?: {
|
|
13087
|
+
pins: (string | number)[];
|
|
13088
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13089
|
+
} | undefined;
|
|
13090
|
+
leftPinCount?: number | undefined;
|
|
13091
|
+
rightPinCount?: number | undefined;
|
|
13092
|
+
topPinCount?: number | undefined;
|
|
13093
|
+
bottomPinCount?: number | undefined;
|
|
13094
|
+
}>>;
|
|
13095
|
+
schPortArrangement: z.ZodOptional<z.ZodObject<{
|
|
13096
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
13097
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
13098
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
13099
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
13100
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
13101
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
13102
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
13103
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
13104
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
13105
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
13106
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
13107
|
+
}, "strip", z.ZodTypeAny, {
|
|
13108
|
+
pins: (string | number)[];
|
|
13109
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13110
|
+
}, {
|
|
13111
|
+
pins: (string | number)[];
|
|
13112
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13113
|
+
}>>;
|
|
13114
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
13115
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
13116
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
13117
|
+
}, "strip", z.ZodTypeAny, {
|
|
13118
|
+
pins: (string | number)[];
|
|
13119
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13120
|
+
}, {
|
|
13121
|
+
pins: (string | number)[];
|
|
13122
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13123
|
+
}>>;
|
|
13124
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
13125
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
13126
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
13127
|
+
}, "strip", z.ZodTypeAny, {
|
|
13128
|
+
pins: (string | number)[];
|
|
13129
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13130
|
+
}, {
|
|
13131
|
+
pins: (string | number)[];
|
|
13132
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13133
|
+
}>>;
|
|
13134
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
13135
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
13136
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
13137
|
+
}, "strip", z.ZodTypeAny, {
|
|
13138
|
+
pins: (string | number)[];
|
|
13139
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13140
|
+
}, {
|
|
13141
|
+
pins: (string | number)[];
|
|
13142
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13143
|
+
}>>;
|
|
13144
|
+
}, "strip", z.ZodTypeAny, {
|
|
13145
|
+
leftSize?: number | undefined;
|
|
13146
|
+
topSize?: number | undefined;
|
|
13147
|
+
rightSize?: number | undefined;
|
|
13148
|
+
bottomSize?: number | undefined;
|
|
13149
|
+
leftSide?: {
|
|
13150
|
+
pins: (string | number)[];
|
|
13151
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13152
|
+
} | undefined;
|
|
13153
|
+
topSide?: {
|
|
13154
|
+
pins: (string | number)[];
|
|
13155
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13156
|
+
} | undefined;
|
|
13157
|
+
rightSide?: {
|
|
13158
|
+
pins: (string | number)[];
|
|
13159
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13160
|
+
} | undefined;
|
|
13161
|
+
bottomSide?: {
|
|
13162
|
+
pins: (string | number)[];
|
|
13163
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13164
|
+
} | undefined;
|
|
13165
|
+
leftPinCount?: number | undefined;
|
|
13166
|
+
rightPinCount?: number | undefined;
|
|
13167
|
+
topPinCount?: number | undefined;
|
|
13168
|
+
bottomPinCount?: number | undefined;
|
|
13169
|
+
}, {
|
|
13170
|
+
leftSize?: number | undefined;
|
|
13171
|
+
topSize?: number | undefined;
|
|
13172
|
+
rightSize?: number | undefined;
|
|
13173
|
+
bottomSize?: number | undefined;
|
|
13174
|
+
leftSide?: {
|
|
13175
|
+
pins: (string | number)[];
|
|
13176
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13177
|
+
} | undefined;
|
|
13178
|
+
topSide?: {
|
|
13179
|
+
pins: (string | number)[];
|
|
13180
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13181
|
+
} | undefined;
|
|
13182
|
+
rightSide?: {
|
|
13183
|
+
pins: (string | number)[];
|
|
13184
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13185
|
+
} | undefined;
|
|
13186
|
+
bottomSide?: {
|
|
13187
|
+
pins: (string | number)[];
|
|
13188
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13189
|
+
} | undefined;
|
|
13190
|
+
leftPinCount?: number | undefined;
|
|
13191
|
+
rightPinCount?: number | undefined;
|
|
13192
|
+
topPinCount?: number | undefined;
|
|
13193
|
+
bottomPinCount?: number | undefined;
|
|
13194
|
+
}>>;
|
|
13195
|
+
schPinStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
13196
|
+
marginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13197
|
+
marginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13198
|
+
marginTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13199
|
+
marginBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13200
|
+
leftMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13201
|
+
rightMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13202
|
+
topMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13203
|
+
bottomMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13204
|
+
}, "strip", z.ZodTypeAny, {
|
|
13205
|
+
marginLeft?: number | undefined;
|
|
13206
|
+
marginRight?: number | undefined;
|
|
13207
|
+
marginTop?: number | undefined;
|
|
13208
|
+
marginBottom?: number | undefined;
|
|
13209
|
+
leftMargin?: number | undefined;
|
|
13210
|
+
rightMargin?: number | undefined;
|
|
13211
|
+
topMargin?: number | undefined;
|
|
13212
|
+
bottomMargin?: number | undefined;
|
|
13213
|
+
}, {
|
|
13214
|
+
marginLeft?: string | number | undefined;
|
|
13215
|
+
marginRight?: string | number | undefined;
|
|
13216
|
+
marginTop?: string | number | undefined;
|
|
13217
|
+
marginBottom?: string | number | undefined;
|
|
13218
|
+
leftMargin?: string | number | undefined;
|
|
13219
|
+
rightMargin?: string | number | undefined;
|
|
13220
|
+
topMargin?: string | number | undefined;
|
|
13221
|
+
bottomMargin?: string | number | undefined;
|
|
13222
|
+
}>>>;
|
|
13223
|
+
schPinSpacing: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13224
|
+
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13225
|
+
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13226
|
+
noSchematicRepresentation: z.ZodOptional<z.ZodBoolean>;
|
|
13227
|
+
connections: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
13228
|
+
}>, {}>, "strip", z.ZodTypeAny, {
|
|
12962
13229
|
name: string;
|
|
12963
13230
|
pcbX?: number | undefined;
|
|
12964
13231
|
pcbY?: number | undefined;
|
|
@@ -13025,7 +13292,77 @@ declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
13025
13292
|
} | undefined;
|
|
13026
13293
|
children?: any;
|
|
13027
13294
|
symbolName?: string | undefined;
|
|
13295
|
+
schWidth?: number | undefined;
|
|
13296
|
+
schHeight?: number | undefined;
|
|
13297
|
+
manufacturerPartNumber?: string | undefined;
|
|
13298
|
+
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
13028
13299
|
internallyConnectedPins?: string[][] | undefined;
|
|
13300
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
13301
|
+
schPinArrangement?: {
|
|
13302
|
+
leftSize?: number | undefined;
|
|
13303
|
+
topSize?: number | undefined;
|
|
13304
|
+
rightSize?: number | undefined;
|
|
13305
|
+
bottomSize?: number | undefined;
|
|
13306
|
+
leftSide?: {
|
|
13307
|
+
pins: (string | number)[];
|
|
13308
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13309
|
+
} | undefined;
|
|
13310
|
+
topSide?: {
|
|
13311
|
+
pins: (string | number)[];
|
|
13312
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13313
|
+
} | undefined;
|
|
13314
|
+
rightSide?: {
|
|
13315
|
+
pins: (string | number)[];
|
|
13316
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13317
|
+
} | undefined;
|
|
13318
|
+
bottomSide?: {
|
|
13319
|
+
pins: (string | number)[];
|
|
13320
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13321
|
+
} | undefined;
|
|
13322
|
+
leftPinCount?: number | undefined;
|
|
13323
|
+
rightPinCount?: number | undefined;
|
|
13324
|
+
topPinCount?: number | undefined;
|
|
13325
|
+
bottomPinCount?: number | undefined;
|
|
13326
|
+
} | undefined;
|
|
13327
|
+
schPortArrangement?: {
|
|
13328
|
+
leftSize?: number | undefined;
|
|
13329
|
+
topSize?: number | undefined;
|
|
13330
|
+
rightSize?: number | undefined;
|
|
13331
|
+
bottomSize?: number | undefined;
|
|
13332
|
+
leftSide?: {
|
|
13333
|
+
pins: (string | number)[];
|
|
13334
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13335
|
+
} | undefined;
|
|
13336
|
+
topSide?: {
|
|
13337
|
+
pins: (string | number)[];
|
|
13338
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13339
|
+
} | undefined;
|
|
13340
|
+
rightSide?: {
|
|
13341
|
+
pins: (string | number)[];
|
|
13342
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13343
|
+
} | undefined;
|
|
13344
|
+
bottomSide?: {
|
|
13345
|
+
pins: (string | number)[];
|
|
13346
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13347
|
+
} | undefined;
|
|
13348
|
+
leftPinCount?: number | undefined;
|
|
13349
|
+
rightPinCount?: number | undefined;
|
|
13350
|
+
topPinCount?: number | undefined;
|
|
13351
|
+
bottomPinCount?: number | undefined;
|
|
13352
|
+
} | undefined;
|
|
13353
|
+
schPinStyle?: Record<string, {
|
|
13354
|
+
marginLeft?: number | undefined;
|
|
13355
|
+
marginRight?: number | undefined;
|
|
13356
|
+
marginTop?: number | undefined;
|
|
13357
|
+
marginBottom?: number | undefined;
|
|
13358
|
+
leftMargin?: number | undefined;
|
|
13359
|
+
rightMargin?: number | undefined;
|
|
13360
|
+
topMargin?: number | undefined;
|
|
13361
|
+
bottomMargin?: number | undefined;
|
|
13362
|
+
}> | undefined;
|
|
13363
|
+
schPinSpacing?: number | undefined;
|
|
13364
|
+
noSchematicRepresentation?: boolean | undefined;
|
|
13365
|
+
connections?: Record<string | number, string | readonly string[] | string[]> | undefined;
|
|
13029
13366
|
}, {
|
|
13030
13367
|
name: string;
|
|
13031
13368
|
pcbX?: string | number | undefined;
|
|
@@ -13095,7 +13432,77 @@ declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
13095
13432
|
} | undefined;
|
|
13096
13433
|
children?: any;
|
|
13097
13434
|
symbolName?: string | undefined;
|
|
13435
|
+
schWidth?: string | number | undefined;
|
|
13436
|
+
schHeight?: string | number | undefined;
|
|
13437
|
+
manufacturerPartNumber?: string | undefined;
|
|
13438
|
+
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
13098
13439
|
internallyConnectedPins?: string[][] | undefined;
|
|
13440
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
13441
|
+
schPinArrangement?: {
|
|
13442
|
+
leftSize?: number | undefined;
|
|
13443
|
+
topSize?: number | undefined;
|
|
13444
|
+
rightSize?: number | undefined;
|
|
13445
|
+
bottomSize?: number | undefined;
|
|
13446
|
+
leftSide?: {
|
|
13447
|
+
pins: (string | number)[];
|
|
13448
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13449
|
+
} | undefined;
|
|
13450
|
+
topSide?: {
|
|
13451
|
+
pins: (string | number)[];
|
|
13452
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13453
|
+
} | undefined;
|
|
13454
|
+
rightSide?: {
|
|
13455
|
+
pins: (string | number)[];
|
|
13456
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13457
|
+
} | undefined;
|
|
13458
|
+
bottomSide?: {
|
|
13459
|
+
pins: (string | number)[];
|
|
13460
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13461
|
+
} | undefined;
|
|
13462
|
+
leftPinCount?: number | undefined;
|
|
13463
|
+
rightPinCount?: number | undefined;
|
|
13464
|
+
topPinCount?: number | undefined;
|
|
13465
|
+
bottomPinCount?: number | undefined;
|
|
13466
|
+
} | undefined;
|
|
13467
|
+
schPortArrangement?: {
|
|
13468
|
+
leftSize?: number | undefined;
|
|
13469
|
+
topSize?: number | undefined;
|
|
13470
|
+
rightSize?: number | undefined;
|
|
13471
|
+
bottomSize?: number | undefined;
|
|
13472
|
+
leftSide?: {
|
|
13473
|
+
pins: (string | number)[];
|
|
13474
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13475
|
+
} | undefined;
|
|
13476
|
+
topSide?: {
|
|
13477
|
+
pins: (string | number)[];
|
|
13478
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13479
|
+
} | undefined;
|
|
13480
|
+
rightSide?: {
|
|
13481
|
+
pins: (string | number)[];
|
|
13482
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13483
|
+
} | undefined;
|
|
13484
|
+
bottomSide?: {
|
|
13485
|
+
pins: (string | number)[];
|
|
13486
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
13487
|
+
} | undefined;
|
|
13488
|
+
leftPinCount?: number | undefined;
|
|
13489
|
+
rightPinCount?: number | undefined;
|
|
13490
|
+
topPinCount?: number | undefined;
|
|
13491
|
+
bottomPinCount?: number | undefined;
|
|
13492
|
+
} | undefined;
|
|
13493
|
+
schPinStyle?: Record<string, {
|
|
13494
|
+
marginLeft?: string | number | undefined;
|
|
13495
|
+
marginRight?: string | number | undefined;
|
|
13496
|
+
marginTop?: string | number | undefined;
|
|
13497
|
+
marginBottom?: string | number | undefined;
|
|
13498
|
+
leftMargin?: string | number | undefined;
|
|
13499
|
+
rightMargin?: string | number | undefined;
|
|
13500
|
+
topMargin?: string | number | undefined;
|
|
13501
|
+
bottomMargin?: string | number | undefined;
|
|
13502
|
+
}> | undefined;
|
|
13503
|
+
schPinSpacing?: string | number | undefined;
|
|
13504
|
+
noSchematicRepresentation?: boolean | undefined;
|
|
13505
|
+
connections?: Record<string | number, string | readonly string[] | string[]> | undefined;
|
|
13099
13506
|
}>;
|
|
13100
13507
|
|
|
13101
13508
|
type SubcircuitProps = SubcircuitGroupProps;
|
|
@@ -13426,6 +13833,7 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
13426
13833
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
13427
13834
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
13428
13835
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
13836
|
+
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
13429
13837
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
13430
13838
|
}, "strip", z.ZodTypeAny, {
|
|
13431
13839
|
serverUrl?: string | undefined;
|
|
@@ -13434,6 +13842,7 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
13434
13842
|
serverCacheEnabled?: boolean | undefined;
|
|
13435
13843
|
cache?: PcbRouteCache | undefined;
|
|
13436
13844
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
13845
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
13437
13846
|
local?: boolean | undefined;
|
|
13438
13847
|
}, {
|
|
13439
13848
|
serverUrl?: string | undefined;
|
|
@@ -13442,6 +13851,7 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
13442
13851
|
serverCacheEnabled?: boolean | undefined;
|
|
13443
13852
|
cache?: PcbRouteCache | undefined;
|
|
13444
13853
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
13854
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
13445
13855
|
local?: boolean | undefined;
|
|
13446
13856
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
13447
13857
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -13552,6 +13962,7 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
13552
13962
|
serverCacheEnabled?: boolean | undefined;
|
|
13553
13963
|
cache?: PcbRouteCache | undefined;
|
|
13554
13964
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
13965
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
13555
13966
|
local?: boolean | undefined;
|
|
13556
13967
|
} | undefined;
|
|
13557
13968
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -13669,6 +14080,7 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
13669
14080
|
serverCacheEnabled?: boolean | undefined;
|
|
13670
14081
|
cache?: PcbRouteCache | undefined;
|
|
13671
14082
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
14083
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
13672
14084
|
local?: boolean | undefined;
|
|
13673
14085
|
} | undefined;
|
|
13674
14086
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -17477,6 +17889,7 @@ declare const platformConfig: z.ZodObject<{
|
|
|
17477
17889
|
serverCacheEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
17478
17890
|
cache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
17479
17891
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
17892
|
+
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
17480
17893
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
17481
17894
|
}, "strip", z.ZodTypeAny, {
|
|
17482
17895
|
serverUrl?: string | undefined;
|
|
@@ -17485,6 +17898,7 @@ declare const platformConfig: z.ZodObject<{
|
|
|
17485
17898
|
serverCacheEnabled?: boolean | undefined;
|
|
17486
17899
|
cache?: PcbRouteCache | undefined;
|
|
17487
17900
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
17901
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
17488
17902
|
local?: boolean | undefined;
|
|
17489
17903
|
}, {
|
|
17490
17904
|
serverUrl?: string | undefined;
|
|
@@ -17493,6 +17907,7 @@ declare const platformConfig: z.ZodObject<{
|
|
|
17493
17907
|
serverCacheEnabled?: boolean | undefined;
|
|
17494
17908
|
cache?: PcbRouteCache | undefined;
|
|
17495
17909
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
17910
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
17496
17911
|
local?: boolean | undefined;
|
|
17497
17912
|
}>, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>>;
|
|
17498
17913
|
registryApiUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -17505,6 +17920,7 @@ declare const platformConfig: z.ZodObject<{
|
|
|
17505
17920
|
serverCacheEnabled?: boolean | undefined;
|
|
17506
17921
|
cache?: PcbRouteCache | undefined;
|
|
17507
17922
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
17923
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
17508
17924
|
local?: boolean | undefined;
|
|
17509
17925
|
} | undefined;
|
|
17510
17926
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -17518,6 +17934,7 @@ declare const platformConfig: z.ZodObject<{
|
|
|
17518
17934
|
serverCacheEnabled?: boolean | undefined;
|
|
17519
17935
|
cache?: PcbRouteCache | undefined;
|
|
17520
17936
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
17937
|
+
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
17521
17938
|
local?: boolean | undefined;
|
|
17522
17939
|
} | undefined;
|
|
17523
17940
|
partsEngine?: PartsEngine | undefined;
|