@tscircuit/props 0.0.441 → 0.0.442
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 +22 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5721,6 +5721,7 @@ interface SubcircuitGroupProps extends BaseGroupProps {
|
|
|
5721
5721
|
pcbRouteCache?: PcbRouteCache;
|
|
5722
5722
|
autorouter?: AutorouterProp;
|
|
5723
5723
|
autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x";
|
|
5724
|
+
autorouterVersion?: "v1" | "v2" | "latest";
|
|
5724
5725
|
/**
|
|
5725
5726
|
* Serialized circuit JSON describing a precompiled subcircuit
|
|
5726
5727
|
*/
|
|
@@ -7513,6 +7514,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
7513
7514
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
7514
7515
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
7515
7516
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
7517
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "latest"]>>;
|
|
7516
7518
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
7517
7519
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
7518
7520
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -7824,6 +7826,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
7824
7826
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
7825
7827
|
autorouter?: AutorouterProp | undefined;
|
|
7826
7828
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
7829
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
7827
7830
|
square?: boolean | undefined;
|
|
7828
7831
|
emptyArea?: string | undefined;
|
|
7829
7832
|
filledArea?: string | undefined;
|
|
@@ -8131,6 +8134,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
8131
8134
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
8132
8135
|
autorouter?: AutorouterProp | undefined;
|
|
8133
8136
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
8137
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
8134
8138
|
square?: boolean | undefined;
|
|
8135
8139
|
emptyArea?: string | undefined;
|
|
8136
8140
|
filledArea?: string | undefined;
|
|
@@ -8850,6 +8854,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
8850
8854
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
8851
8855
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
8852
8856
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
8857
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "latest"]>>;
|
|
8853
8858
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
8854
8859
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
8855
8860
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -9164,6 +9169,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
9164
9169
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
9165
9170
|
autorouter?: AutorouterProp | undefined;
|
|
9166
9171
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
9172
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
9167
9173
|
square?: boolean | undefined;
|
|
9168
9174
|
emptyArea?: string | undefined;
|
|
9169
9175
|
filledArea?: string | undefined;
|
|
@@ -9472,6 +9478,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
9472
9478
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
9473
9479
|
autorouter?: AutorouterProp | undefined;
|
|
9474
9480
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
9481
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
9475
9482
|
square?: boolean | undefined;
|
|
9476
9483
|
emptyArea?: string | undefined;
|
|
9477
9484
|
filledArea?: string | undefined;
|
|
@@ -11241,6 +11248,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11241
11248
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
11242
11249
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
11243
11250
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
11251
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "latest"]>>;
|
|
11244
11252
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
11245
11253
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
11246
11254
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -11555,6 +11563,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11555
11563
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
11556
11564
|
autorouter?: AutorouterProp | undefined;
|
|
11557
11565
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
11566
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
11558
11567
|
square?: boolean | undefined;
|
|
11559
11568
|
emptyArea?: string | undefined;
|
|
11560
11569
|
filledArea?: string | undefined;
|
|
@@ -11863,6 +11872,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11863
11872
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
11864
11873
|
autorouter?: AutorouterProp | undefined;
|
|
11865
11874
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
11875
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
11866
11876
|
square?: boolean | undefined;
|
|
11867
11877
|
emptyArea?: string | undefined;
|
|
11868
11878
|
filledArea?: string | undefined;
|
|
@@ -12613,6 +12623,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
12613
12623
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
12614
12624
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
12615
12625
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
12626
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "latest"]>>;
|
|
12616
12627
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
12617
12628
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
12618
12629
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -12952,6 +12963,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
12952
12963
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
12953
12964
|
autorouter?: AutorouterProp | undefined;
|
|
12954
12965
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
12966
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
12955
12967
|
square?: boolean | undefined;
|
|
12956
12968
|
emptyArea?: string | undefined;
|
|
12957
12969
|
filledArea?: string | undefined;
|
|
@@ -13274,6 +13286,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
13274
13286
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
13275
13287
|
autorouter?: AutorouterProp | undefined;
|
|
13276
13288
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
13289
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
13277
13290
|
square?: boolean | undefined;
|
|
13278
13291
|
emptyArea?: string | undefined;
|
|
13279
13292
|
filledArea?: string | undefined;
|
|
@@ -16245,6 +16258,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16245
16258
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
16246
16259
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
16247
16260
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
16261
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "latest"]>>;
|
|
16248
16262
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
16249
16263
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
16250
16264
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -16562,6 +16576,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16562
16576
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
16563
16577
|
autorouter?: AutorouterProp | undefined;
|
|
16564
16578
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
16579
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
16565
16580
|
square?: boolean | undefined;
|
|
16566
16581
|
emptyArea?: string | undefined;
|
|
16567
16582
|
filledArea?: string | undefined;
|
|
@@ -16869,6 +16884,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16869
16884
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
16870
16885
|
autorouter?: AutorouterProp | undefined;
|
|
16871
16886
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
16887
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
16872
16888
|
square?: boolean | undefined;
|
|
16873
16889
|
emptyArea?: string | undefined;
|
|
16874
16890
|
filledArea?: string | undefined;
|
|
@@ -35080,6 +35096,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35080
35096
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
35081
35097
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
35082
35098
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
35099
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "latest"]>>;
|
|
35083
35100
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
35084
35101
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
35085
35102
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -35434,6 +35451,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35434
35451
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
35435
35452
|
autorouter?: AutorouterProp | undefined;
|
|
35436
35453
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
35454
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
35437
35455
|
square?: boolean | undefined;
|
|
35438
35456
|
emptyArea?: string | undefined;
|
|
35439
35457
|
filledArea?: string | undefined;
|
|
@@ -35766,6 +35784,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35766
35784
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
35767
35785
|
autorouter?: AutorouterProp | undefined;
|
|
35768
35786
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
35787
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
35769
35788
|
square?: boolean | undefined;
|
|
35770
35789
|
emptyArea?: string | undefined;
|
|
35771
35790
|
filledArea?: string | undefined;
|
|
@@ -47103,6 +47122,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47103
47122
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
47104
47123
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
47105
47124
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
47125
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "latest"]>>;
|
|
47106
47126
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
47107
47127
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
47108
47128
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -47414,6 +47434,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47414
47434
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
47415
47435
|
autorouter?: AutorouterProp | undefined;
|
|
47416
47436
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
47437
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
47417
47438
|
square?: boolean | undefined;
|
|
47418
47439
|
emptyArea?: string | undefined;
|
|
47419
47440
|
filledArea?: string | undefined;
|
|
@@ -47721,6 +47742,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47721
47742
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
47722
47743
|
autorouter?: AutorouterProp | undefined;
|
|
47723
47744
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
47745
|
+
autorouterVersion?: "v1" | "v2" | "latest" | undefined;
|
|
47724
47746
|
square?: boolean | undefined;
|
|
47725
47747
|
emptyArea?: string | undefined;
|
|
47726
47748
|
filledArea?: string | undefined;
|
package/dist/index.js
CHANGED
|
@@ -723,6 +723,7 @@ var subcircuitGroupProps = baseGroupProps.extend({
|
|
|
723
723
|
pcbRouteCache: z30.custom((v) => true).optional(),
|
|
724
724
|
autorouter: autorouterProp.optional(),
|
|
725
725
|
autorouterEffortLevel: autorouterEffortLevel.optional(),
|
|
726
|
+
autorouterVersion: z30.enum(["v1", "v2", "latest"]).optional(),
|
|
726
727
|
square: z30.boolean().optional(),
|
|
727
728
|
emptyArea: z30.string().optional(),
|
|
728
729
|
filledArea: z30.string().optional(),
|