@tscircuit/props 0.0.439 → 0.0.441
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/README.md +2 -0
- package/dist/index.d.ts +41 -6
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -163,6 +163,7 @@ export interface SubcircuitGroupProps extends BaseGroupProps {
|
|
|
163
163
|
routingDisabled?: boolean;
|
|
164
164
|
defaultTraceWidth?: Distance;
|
|
165
165
|
minTraceWidth?: Distance;
|
|
166
|
+
nominalTraceWidth?: Distance;
|
|
166
167
|
pcbRouteCache?: PcbRouteCache;
|
|
167
168
|
|
|
168
169
|
autorouter?: AutorouterProp;
|
|
@@ -737,6 +738,7 @@ export interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
|
737
738
|
pcbWidth?: Distance;
|
|
738
739
|
pcbHeight?: Distance;
|
|
739
740
|
minTraceWidth?: Distance;
|
|
741
|
+
nominalTraceWidth?: Distance;
|
|
740
742
|
schWidth?: Distance;
|
|
741
743
|
schHeight?: Distance;
|
|
742
744
|
|
package/dist/index.d.ts
CHANGED
|
@@ -5586,6 +5586,7 @@ interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
|
5586
5586
|
pcbWidth?: Distance;
|
|
5587
5587
|
pcbHeight?: Distance;
|
|
5588
5588
|
minTraceWidth?: Distance;
|
|
5589
|
+
nominalTraceWidth?: Distance;
|
|
5589
5590
|
schWidth?: Distance;
|
|
5590
5591
|
schHeight?: Distance;
|
|
5591
5592
|
pcbLayout?: LayoutConfig;
|
|
@@ -5669,9 +5670,9 @@ interface AutorouterConfig {
|
|
|
5669
5670
|
groupMode?: "sequential_trace" | "subcircuit" | /** @deprecated Use "sequential_trace" */ "sequential-trace";
|
|
5670
5671
|
local?: boolean;
|
|
5671
5672
|
algorithmFn?: (simpleRouteJson: any) => Promise<any>;
|
|
5672
|
-
preset?: "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "tscircuit_beta" | "freerouting" | "laser_prefab" | /** @deprecated Use "sequential_trace" */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
|
|
5673
|
+
preset?: "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "freerouting" | "laser_prefab" | /** @deprecated Use "auto_jumper" */ "auto-jumper" | /** @deprecated Use "sequential_trace" */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
|
|
5673
5674
|
}
|
|
5674
|
-
type AutorouterPreset = "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "tscircuit_beta" | "freerouting" | "laser_prefab" | "sequential-trace" | "auto-local" | "auto-cloud";
|
|
5675
|
+
type AutorouterPreset = "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "freerouting" | "laser_prefab" | "auto-jumper" | "sequential-trace" | "auto-local" | "auto-cloud";
|
|
5675
5676
|
type AutorouterProp = AutorouterConfig | AutocompleteString<AutorouterPreset>;
|
|
5676
5677
|
declare const autorouterConfig: z.ZodObject<{
|
|
5677
5678
|
serverUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -5682,7 +5683,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
5682
5683
|
traceClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5683
5684
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "sequential-trace"]>>;
|
|
5684
5685
|
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
5685
|
-
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "auto", "auto_local", "auto_cloud", "tscircuit_beta", "freerouting", "laser_prefab", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
5686
|
+
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "auto", "auto_local", "auto_cloud", "auto_jumper", "tscircuit_beta", "freerouting", "laser_prefab", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
5686
5687
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
5687
5688
|
}, "strip", z.ZodTypeAny, {
|
|
5688
5689
|
serverUrl?: string | undefined;
|
|
@@ -5693,7 +5694,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
5693
5694
|
traceClearance?: number | undefined;
|
|
5694
5695
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
5695
5696
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
5696
|
-
preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "tscircuit_beta" | "freerouting" | "laser_prefab" | "auto-local" | "auto-cloud" | undefined;
|
|
5697
|
+
preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "freerouting" | "laser_prefab" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
5697
5698
|
local?: boolean | undefined;
|
|
5698
5699
|
}, {
|
|
5699
5700
|
serverUrl?: string | undefined;
|
|
@@ -5704,10 +5705,10 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
5704
5705
|
traceClearance?: string | number | undefined;
|
|
5705
5706
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
5706
5707
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
5707
|
-
preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "tscircuit_beta" | "freerouting" | "laser_prefab" | "auto-local" | "auto-cloud" | undefined;
|
|
5708
|
+
preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "freerouting" | "laser_prefab" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
5708
5709
|
local?: boolean | undefined;
|
|
5709
5710
|
}>;
|
|
5710
|
-
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"tscircuit_beta">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
5711
|
+
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"auto_jumper">, z.ZodLiteral<"tscircuit_beta">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"auto-jumper">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
5711
5712
|
declare const autorouterProp: z.ZodType<AutorouterProp>;
|
|
5712
5713
|
declare const autorouterEffortLevel: z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>;
|
|
5713
5714
|
interface SubcircuitGroupProps extends BaseGroupProps {
|
|
@@ -5716,6 +5717,7 @@ interface SubcircuitGroupProps extends BaseGroupProps {
|
|
|
5716
5717
|
bomDisabled?: boolean;
|
|
5717
5718
|
defaultTraceWidth?: Distance;
|
|
5718
5719
|
minTraceWidth?: Distance;
|
|
5720
|
+
nominalTraceWidth?: Distance;
|
|
5719
5721
|
pcbRouteCache?: PcbRouteCache;
|
|
5720
5722
|
autorouter?: AutorouterProp;
|
|
5721
5723
|
autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x";
|
|
@@ -5884,6 +5886,7 @@ declare const baseGroupProps: z.ZodObject<{
|
|
|
5884
5886
|
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5885
5887
|
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5886
5888
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5889
|
+
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5887
5890
|
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5888
5891
|
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5889
5892
|
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
@@ -6413,6 +6416,7 @@ declare const baseGroupProps: z.ZodObject<{
|
|
|
6413
6416
|
pcbWidth?: number | undefined;
|
|
6414
6417
|
pcbHeight?: number | undefined;
|
|
6415
6418
|
minTraceWidth?: number | undefined;
|
|
6419
|
+
nominalTraceWidth?: number | undefined;
|
|
6416
6420
|
schWidth?: number | undefined;
|
|
6417
6421
|
schHeight?: number | undefined;
|
|
6418
6422
|
pcbLayout?: {
|
|
@@ -6669,6 +6673,7 @@ declare const baseGroupProps: z.ZodObject<{
|
|
|
6669
6673
|
pcbWidth?: string | number | undefined;
|
|
6670
6674
|
pcbHeight?: string | number | undefined;
|
|
6671
6675
|
minTraceWidth?: string | number | undefined;
|
|
6676
|
+
nominalTraceWidth?: string | number | undefined;
|
|
6672
6677
|
schWidth?: string | number | undefined;
|
|
6673
6678
|
schHeight?: string | number | undefined;
|
|
6674
6679
|
pcbLayout?: {
|
|
@@ -7503,6 +7508,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
7503
7508
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
7504
7509
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7505
7510
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7511
|
+
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7506
7512
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
7507
7513
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
7508
7514
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
@@ -7650,6 +7656,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
7650
7656
|
pcbWidth?: number | undefined;
|
|
7651
7657
|
pcbHeight?: number | undefined;
|
|
7652
7658
|
minTraceWidth?: number | undefined;
|
|
7659
|
+
nominalTraceWidth?: number | undefined;
|
|
7653
7660
|
schWidth?: number | undefined;
|
|
7654
7661
|
schHeight?: number | undefined;
|
|
7655
7662
|
pcbLayout?: {
|
|
@@ -7954,6 +7961,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
7954
7961
|
pcbWidth?: string | number | undefined;
|
|
7955
7962
|
pcbHeight?: string | number | undefined;
|
|
7956
7963
|
minTraceWidth?: string | number | undefined;
|
|
7964
|
+
nominalTraceWidth?: string | number | undefined;
|
|
7957
7965
|
schWidth?: string | number | undefined;
|
|
7958
7966
|
schHeight?: string | number | undefined;
|
|
7959
7967
|
pcbLayout?: {
|
|
@@ -8837,6 +8845,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
8837
8845
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
8838
8846
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8839
8847
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8848
|
+
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8840
8849
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
8841
8850
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
8842
8851
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
@@ -8987,6 +8996,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
8987
8996
|
pcbWidth?: number | undefined;
|
|
8988
8997
|
pcbHeight?: number | undefined;
|
|
8989
8998
|
minTraceWidth?: number | undefined;
|
|
8999
|
+
nominalTraceWidth?: number | undefined;
|
|
8990
9000
|
schWidth?: number | undefined;
|
|
8991
9001
|
schHeight?: number | undefined;
|
|
8992
9002
|
pcbLayout?: {
|
|
@@ -9292,6 +9302,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
9292
9302
|
pcbWidth?: string | number | undefined;
|
|
9293
9303
|
pcbHeight?: string | number | undefined;
|
|
9294
9304
|
minTraceWidth?: string | number | undefined;
|
|
9305
|
+
nominalTraceWidth?: string | number | undefined;
|
|
9295
9306
|
schWidth?: string | number | undefined;
|
|
9296
9307
|
schHeight?: string | number | undefined;
|
|
9297
9308
|
pcbLayout?: {
|
|
@@ -9601,6 +9612,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
9601
9612
|
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9602
9613
|
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9603
9614
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9615
|
+
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9604
9616
|
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9605
9617
|
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9606
9618
|
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
@@ -10132,6 +10144,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
10132
10144
|
pcbWidth?: number | undefined;
|
|
10133
10145
|
pcbHeight?: number | undefined;
|
|
10134
10146
|
minTraceWidth?: number | undefined;
|
|
10147
|
+
nominalTraceWidth?: number | undefined;
|
|
10135
10148
|
schWidth?: number | undefined;
|
|
10136
10149
|
schHeight?: number | undefined;
|
|
10137
10150
|
pcbLayout?: {
|
|
@@ -10389,6 +10402,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
10389
10402
|
pcbWidth?: string | number | undefined;
|
|
10390
10403
|
pcbHeight?: string | number | undefined;
|
|
10391
10404
|
minTraceWidth?: string | number | undefined;
|
|
10405
|
+
nominalTraceWidth?: string | number | undefined;
|
|
10392
10406
|
schWidth?: string | number | undefined;
|
|
10393
10407
|
schHeight?: string | number | undefined;
|
|
10394
10408
|
pcbLayout?: {
|
|
@@ -11222,6 +11236,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11222
11236
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
11223
11237
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11224
11238
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11239
|
+
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11225
11240
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
11226
11241
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
11227
11242
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
@@ -11372,6 +11387,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11372
11387
|
pcbWidth?: number | undefined;
|
|
11373
11388
|
pcbHeight?: number | undefined;
|
|
11374
11389
|
minTraceWidth?: number | undefined;
|
|
11390
|
+
nominalTraceWidth?: number | undefined;
|
|
11375
11391
|
schWidth?: number | undefined;
|
|
11376
11392
|
schHeight?: number | undefined;
|
|
11377
11393
|
pcbLayout?: {
|
|
@@ -11677,6 +11693,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11677
11693
|
pcbWidth?: string | number | undefined;
|
|
11678
11694
|
pcbHeight?: string | number | undefined;
|
|
11679
11695
|
minTraceWidth?: string | number | undefined;
|
|
11696
|
+
nominalTraceWidth?: string | number | undefined;
|
|
11680
11697
|
schWidth?: string | number | undefined;
|
|
11681
11698
|
schHeight?: string | number | undefined;
|
|
11682
11699
|
pcbLayout?: {
|
|
@@ -12591,6 +12608,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
12591
12608
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
12592
12609
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12593
12610
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12611
|
+
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12594
12612
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
12595
12613
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
12596
12614
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
@@ -12766,6 +12784,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
12766
12784
|
pcbWidth?: number | undefined;
|
|
12767
12785
|
pcbHeight?: number | undefined;
|
|
12768
12786
|
minTraceWidth?: number | undefined;
|
|
12787
|
+
nominalTraceWidth?: number | undefined;
|
|
12769
12788
|
schWidth?: number | undefined;
|
|
12770
12789
|
schHeight?: number | undefined;
|
|
12771
12790
|
pcbLayout?: {
|
|
@@ -13085,6 +13104,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
13085
13104
|
pcbWidth?: string | number | undefined;
|
|
13086
13105
|
pcbHeight?: string | number | undefined;
|
|
13087
13106
|
minTraceWidth?: string | number | undefined;
|
|
13107
|
+
nominalTraceWidth?: string | number | undefined;
|
|
13088
13108
|
schWidth?: string | number | undefined;
|
|
13089
13109
|
schHeight?: string | number | undefined;
|
|
13090
13110
|
pcbLayout?: {
|
|
@@ -13441,6 +13461,7 @@ declare const panelProps: z.ZodObject<Omit<{
|
|
|
13441
13461
|
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13442
13462
|
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13443
13463
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13464
|
+
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13444
13465
|
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13445
13466
|
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13446
13467
|
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
@@ -13992,6 +14013,7 @@ declare const panelProps: z.ZodObject<Omit<{
|
|
|
13992
14013
|
pcbWidth?: number | undefined;
|
|
13993
14014
|
pcbHeight?: number | undefined;
|
|
13994
14015
|
minTraceWidth?: number | undefined;
|
|
14016
|
+
nominalTraceWidth?: number | undefined;
|
|
13995
14017
|
schWidth?: number | undefined;
|
|
13996
14018
|
schHeight?: number | undefined;
|
|
13997
14019
|
pcbLayout?: {
|
|
@@ -14264,6 +14286,7 @@ declare const panelProps: z.ZodObject<Omit<{
|
|
|
14264
14286
|
pcbWidth?: string | number | undefined;
|
|
14265
14287
|
pcbHeight?: string | number | undefined;
|
|
14266
14288
|
minTraceWidth?: string | number | undefined;
|
|
14289
|
+
nominalTraceWidth?: string | number | undefined;
|
|
14267
14290
|
schWidth?: string | number | undefined;
|
|
14268
14291
|
schHeight?: string | number | undefined;
|
|
14269
14292
|
pcbLayout?: {
|
|
@@ -14541,6 +14564,7 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
14541
14564
|
pcbWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14542
14565
|
pcbHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14543
14566
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14567
|
+
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14544
14568
|
schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14545
14569
|
schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14546
14570
|
pcbLayout: z.ZodOptional<z.ZodObject<{
|
|
@@ -15092,6 +15116,7 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
15092
15116
|
pcbWidth?: number | undefined;
|
|
15093
15117
|
pcbHeight?: number | undefined;
|
|
15094
15118
|
minTraceWidth?: number | undefined;
|
|
15119
|
+
nominalTraceWidth?: number | undefined;
|
|
15095
15120
|
schWidth?: number | undefined;
|
|
15096
15121
|
schHeight?: number | undefined;
|
|
15097
15122
|
pcbLayout?: {
|
|
@@ -15364,6 +15389,7 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
15364
15389
|
pcbWidth?: string | number | undefined;
|
|
15365
15390
|
pcbHeight?: string | number | undefined;
|
|
15366
15391
|
minTraceWidth?: string | number | undefined;
|
|
15392
|
+
nominalTraceWidth?: string | number | undefined;
|
|
15367
15393
|
schWidth?: string | number | undefined;
|
|
15368
15394
|
schHeight?: string | number | undefined;
|
|
15369
15395
|
pcbLayout?: {
|
|
@@ -16214,6 +16240,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16214
16240
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
16215
16241
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16216
16242
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16243
|
+
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16217
16244
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
16218
16245
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
16219
16246
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
@@ -16367,6 +16394,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16367
16394
|
pcbWidth?: number | undefined;
|
|
16368
16395
|
pcbHeight?: number | undefined;
|
|
16369
16396
|
minTraceWidth?: number | undefined;
|
|
16397
|
+
nominalTraceWidth?: number | undefined;
|
|
16370
16398
|
schWidth?: number | undefined;
|
|
16371
16399
|
schHeight?: number | undefined;
|
|
16372
16400
|
pcbLayout?: {
|
|
@@ -16671,6 +16699,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16671
16699
|
pcbWidth?: string | number | undefined;
|
|
16672
16700
|
pcbHeight?: string | number | undefined;
|
|
16673
16701
|
minTraceWidth?: string | number | undefined;
|
|
16702
|
+
nominalTraceWidth?: string | number | undefined;
|
|
16674
16703
|
schWidth?: string | number | undefined;
|
|
16675
16704
|
schHeight?: string | number | undefined;
|
|
16676
16705
|
pcbLayout?: {
|
|
@@ -35046,6 +35075,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35046
35075
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
35047
35076
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35048
35077
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35078
|
+
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35049
35079
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
35050
35080
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
35051
35081
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
@@ -35236,6 +35266,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35236
35266
|
pcbWidth?: number | undefined;
|
|
35237
35267
|
pcbHeight?: number | undefined;
|
|
35238
35268
|
minTraceWidth?: number | undefined;
|
|
35269
|
+
nominalTraceWidth?: number | undefined;
|
|
35239
35270
|
schWidth?: number | undefined;
|
|
35240
35271
|
schHeight?: number | undefined;
|
|
35241
35272
|
pcbLayout?: {
|
|
@@ -35565,6 +35596,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35565
35596
|
pcbWidth?: string | number | undefined;
|
|
35566
35597
|
pcbHeight?: string | number | undefined;
|
|
35567
35598
|
minTraceWidth?: string | number | undefined;
|
|
35599
|
+
nominalTraceWidth?: string | number | undefined;
|
|
35568
35600
|
schWidth?: string | number | undefined;
|
|
35569
35601
|
schHeight?: string | number | undefined;
|
|
35570
35602
|
pcbLayout?: {
|
|
@@ -47066,6 +47098,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47066
47098
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
47067
47099
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
47068
47100
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
47101
|
+
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
47069
47102
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
47070
47103
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
47071
47104
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
@@ -47213,6 +47246,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47213
47246
|
pcbWidth?: number | undefined;
|
|
47214
47247
|
pcbHeight?: number | undefined;
|
|
47215
47248
|
minTraceWidth?: number | undefined;
|
|
47249
|
+
nominalTraceWidth?: number | undefined;
|
|
47216
47250
|
schWidth?: number | undefined;
|
|
47217
47251
|
schHeight?: number | undefined;
|
|
47218
47252
|
pcbLayout?: {
|
|
@@ -47517,6 +47551,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47517
47551
|
pcbWidth?: string | number | undefined;
|
|
47518
47552
|
pcbHeight?: string | number | undefined;
|
|
47519
47553
|
minTraceWidth?: string | number | undefined;
|
|
47554
|
+
nominalTraceWidth?: string | number | undefined;
|
|
47520
47555
|
schWidth?: string | number | undefined;
|
|
47521
47556
|
schHeight?: string | number | undefined;
|
|
47522
47557
|
pcbLayout?: {
|
package/dist/index.js
CHANGED
|
@@ -585,9 +585,11 @@ var autorouterConfig = z30.object({
|
|
|
585
585
|
"auto",
|
|
586
586
|
"auto_local",
|
|
587
587
|
"auto_cloud",
|
|
588
|
+
"auto_jumper",
|
|
588
589
|
"tscircuit_beta",
|
|
589
590
|
"freerouting",
|
|
590
591
|
"laser_prefab",
|
|
592
|
+
"auto-jumper",
|
|
591
593
|
"sequential-trace",
|
|
592
594
|
"auto-local",
|
|
593
595
|
"auto-cloud"
|
|
@@ -600,10 +602,12 @@ var autorouterPreset = z30.union([
|
|
|
600
602
|
z30.literal("auto"),
|
|
601
603
|
z30.literal("auto_local"),
|
|
602
604
|
z30.literal("auto_cloud"),
|
|
605
|
+
z30.literal("auto_jumper"),
|
|
603
606
|
z30.literal("tscircuit_beta"),
|
|
604
607
|
z30.literal("freerouting"),
|
|
605
608
|
z30.literal("laser_prefab"),
|
|
606
609
|
// Prefabricated PCB with laser copper ablation
|
|
610
|
+
z30.literal("auto-jumper"),
|
|
607
611
|
z30.literal("sequential-trace"),
|
|
608
612
|
z30.literal("auto-local"),
|
|
609
613
|
z30.literal("auto-cloud")
|
|
@@ -685,6 +689,7 @@ var baseGroupProps = commonLayoutProps.extend({
|
|
|
685
689
|
pcbWidth: length2.optional(),
|
|
686
690
|
pcbHeight: length2.optional(),
|
|
687
691
|
minTraceWidth: length2.optional(),
|
|
692
|
+
nominalTraceWidth: length2.optional(),
|
|
688
693
|
schWidth: length2.optional(),
|
|
689
694
|
schHeight: length2.optional(),
|
|
690
695
|
pcbLayout: layoutConfig.optional(),
|
|
@@ -713,6 +718,7 @@ var subcircuitGroupProps = baseGroupProps.extend({
|
|
|
713
718
|
bomDisabled: z30.boolean().optional(),
|
|
714
719
|
defaultTraceWidth: length2.optional(),
|
|
715
720
|
minTraceWidth: length2.optional(),
|
|
721
|
+
nominalTraceWidth: length2.optional(),
|
|
716
722
|
partsEngine: partsEngine.optional(),
|
|
717
723
|
pcbRouteCache: z30.custom((v) => true).optional(),
|
|
718
724
|
autorouter: autorouterProp.optional(),
|