@tscircuit/props 0.0.671 → 0.0.673
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 +4 -0
- package/dist/index.d.ts +38 -32
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/lib/components/breakout.ts +4 -0
- package/lib/components/group.ts +14 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -502,6 +502,10 @@ export interface BreakoutProps
|
|
|
502
502
|
/**
|
|
503
503
|
* Autorouter used to escape the components inside the breakout boundary.
|
|
504
504
|
* Defaults to the multilayer fanout autorouter.
|
|
505
|
+
* `"dogbone"` selects local pad-to-via escapes without boundary routing.
|
|
506
|
+
* Accepted as a preset string or `{ preset: "dogbone" }`; parsing preserves
|
|
507
|
+
* the selected form. This adds an explicit preset with no aliases or changes
|
|
508
|
+
* to the default. Routing requires a core version supporting this preset.
|
|
505
509
|
*/
|
|
506
510
|
autorouter?: AutorouterProp;
|
|
507
511
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -33638,9 +33638,11 @@ interface AutorouterConfig {
|
|
|
33638
33638
|
algorithmFn?: (simpleRouteJson: any) => Promise<any>;
|
|
33639
33639
|
/** Override the solver used to place implicit breakout points. */
|
|
33640
33640
|
implicitBreakoutPointSolverFn?: ImplicitBreakoutPointSolverFn;
|
|
33641
|
-
preset?: /** @deprecated Disabled by default in core. Use the default autorouter with <autoroutingphase /> or <fanout /> as needed. Legacy support requires platformConfig.allowLegacyAutorouters: true. */ "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "simplify" | "laser_prefab" | "single_layer_fanout" | "fanout" | "bus_lanes" | /** @deprecated Use "auto_jumper" */ "auto-jumper" | /** @deprecated Disabled by default in core. Use the default autorouter with <autoroutingphase /> or <fanout /> as needed. Legacy support requires platformConfig.allowLegacyAutorouters: true. */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
|
|
33641
|
+
preset?: /** @deprecated Disabled by default in core. Use the default autorouter with <autoroutingphase /> or <fanout /> as needed. Legacy support requires platformConfig.allowLegacyAutorouters: true. */ "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "simplify" | "laser_prefab" | "single_layer_fanout" | "fanout" | "dogbone" | "bus_lanes" | /** @deprecated Use "auto_jumper" */ "auto-jumper" | /** @deprecated Disabled by default in core. Use the default autorouter with <autoroutingphase /> or <fanout /> as needed. Legacy support requires platformConfig.allowLegacyAutorouters: true. */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
|
|
33642
33642
|
}
|
|
33643
|
-
type AutorouterPreset = /** @deprecated Disabled by default in core. Use the default autorouter with <autoroutingphase /> or <fanout /> as needed. Legacy support requires platformConfig.allowLegacyAutorouters: true. */ "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "simplify" | "laser_prefab" | "single_layer_fanout" | "fanout"
|
|
33643
|
+
type AutorouterPreset = /** @deprecated Disabled by default in core. Use the default autorouter with <autoroutingphase /> or <fanout /> as needed. Legacy support requires platformConfig.allowLegacyAutorouters: true. */ "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "simplify" | "laser_prefab" | "single_layer_fanout" | "fanout"
|
|
33644
|
+
/** Local pad-to-via fanout without routing to a breakout boundary. */
|
|
33645
|
+
| "dogbone" | "bus_lanes" | "auto-jumper" | /** @deprecated Disabled by default in core. Use the default autorouter with <autoroutingphase /> or <fanout /> as needed. Legacy support requires platformConfig.allowLegacyAutorouters: true. */ "sequential-trace" | "auto-local" | "auto-cloud";
|
|
33644
33646
|
type AutorouterProp = AutorouterConfig | AutocompleteString<AutorouterPreset>;
|
|
33645
33647
|
declare const routingTolerances: z.ZodObject<{
|
|
33646
33648
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -33688,7 +33690,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
33688
33690
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "sequential-trace"]>>;
|
|
33689
33691
|
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
33690
33692
|
implicitBreakoutPointSolverFn: z.ZodOptional<z.ZodType<ImplicitBreakoutPointSolverFn, z.ZodTypeDef, ImplicitBreakoutPointSolverFn>>;
|
|
33691
|
-
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "default", "auto", "auto_local", "auto_cloud", "auto_jumper", "tscircuit_beta", "krt", "freerouting", "simplify", "laser_prefab", "single_layer_fanout", "fanout", "bus_lanes", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
33693
|
+
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "default", "auto", "auto_local", "auto_cloud", "auto_jumper", "tscircuit_beta", "krt", "freerouting", "simplify", "laser_prefab", "single_layer_fanout", "fanout", "dogbone", "bus_lanes", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
33692
33694
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
33693
33695
|
}, "strip", z.ZodTypeAny, {
|
|
33694
33696
|
serverUrl?: string | undefined;
|
|
@@ -33702,7 +33704,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
33702
33704
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
33703
33705
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
33704
33706
|
implicitBreakoutPointSolverFn?: ImplicitBreakoutPointSolverFn | undefined;
|
|
33705
|
-
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "simplify" | "laser_prefab" | "single_layer_fanout" | "fanout" | "bus_lanes" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
33707
|
+
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "simplify" | "laser_prefab" | "single_layer_fanout" | "fanout" | "dogbone" | "bus_lanes" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
33706
33708
|
local?: boolean | undefined;
|
|
33707
33709
|
}, {
|
|
33708
33710
|
serverUrl?: string | undefined;
|
|
@@ -33716,12 +33718,12 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
33716
33718
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
33717
33719
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
33718
33720
|
implicitBreakoutPointSolverFn?: ImplicitBreakoutPointSolverFn | undefined;
|
|
33719
|
-
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "simplify" | "laser_prefab" | "single_layer_fanout" | "fanout" | "bus_lanes" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
33721
|
+
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "simplify" | "laser_prefab" | "single_layer_fanout" | "fanout" | "dogbone" | "bus_lanes" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
33720
33722
|
local?: boolean | undefined;
|
|
33721
33723
|
}>;
|
|
33722
|
-
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"auto_jumper">, z.ZodLiteral<"tscircuit_beta">, z.ZodLiteral<"krt">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"simplify">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"single_layer_fanout">, z.ZodLiteral<"fanout">, z.ZodLiteral<"bus_lanes">, z.ZodLiteral<"auto-jumper">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
33724
|
+
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"auto_jumper">, z.ZodLiteral<"tscircuit_beta">, z.ZodLiteral<"krt">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"simplify">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"single_layer_fanout">, z.ZodLiteral<"fanout">, z.ZodLiteral<"dogbone">, z.ZodLiteral<"bus_lanes">, z.ZodLiteral<"auto-jumper">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
33723
33725
|
declare const autorouterProp: z.ZodType<AutorouterProp>;
|
|
33724
|
-
declare const autorouterEffortLevel: z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>;
|
|
33726
|
+
declare const autorouterEffortLevel: z.ZodEnum<["1x", "1.5x", "2x", "5x", "10x", "100x"]>;
|
|
33725
33727
|
declare const preflightRoutingCheckPolicy: z.ZodEnum<["none", "basic", "conservative"]>;
|
|
33726
33728
|
type PreflightRoutingCheckPolicy = z.infer<typeof preflightRoutingCheckPolicy>;
|
|
33727
33729
|
type AutorouterVersion = "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest";
|
|
@@ -33740,7 +33742,7 @@ interface SubcircuitGroupProps extends BaseGroupProps, RoutingTolerances {
|
|
|
33740
33742
|
pcbRouteCache?: PcbRouteCache;
|
|
33741
33743
|
autorouter?: AutorouterProp;
|
|
33742
33744
|
preflightRoutingCheckPolicy?: PreflightRoutingCheckPolicy;
|
|
33743
|
-
autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x";
|
|
33745
|
+
autorouterEffortLevel?: "1x" | "1.5x" | "2x" | "5x" | "10x" | "100x";
|
|
33744
33746
|
/**
|
|
33745
33747
|
* Selects the local autorouting pipeline. Unknown string values emit a
|
|
33746
33748
|
* warning and fall back to `latest`.
|
|
@@ -35435,7 +35437,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
35435
35437
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
35436
35438
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
35437
35439
|
preflightRoutingCheckPolicy: z.ZodOptional<z.ZodEnum<["none", "basic", "conservative"]>>;
|
|
35438
|
-
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
35440
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "1.5x", "2x", "5x", "10x", "100x"]>>;
|
|
35439
35441
|
autorouterVersion: z.ZodOptional<z.ZodEffects<z.ZodType<AutocompleteString<AutorouterVersion>, z.ZodTypeDef, AutocompleteString<AutorouterVersion>>, "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest", AutocompleteString<AutorouterVersion>>>;
|
|
35440
35442
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
35441
35443
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
@@ -35904,7 +35906,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
35904
35906
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
35905
35907
|
autorouter?: AutorouterProp | undefined;
|
|
35906
35908
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
35907
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
35909
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
35908
35910
|
autorouterVersion?: "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest" | undefined;
|
|
35909
35911
|
circuitJson?: any[] | undefined;
|
|
35910
35912
|
exposedNets?: string[] | undefined;
|
|
@@ -36229,7 +36231,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
36229
36231
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
36230
36232
|
autorouter?: AutorouterProp | undefined;
|
|
36231
36233
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
36232
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
36234
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
36233
36235
|
autorouterVersion?: AutocompleteString<AutorouterVersion> | undefined;
|
|
36234
36236
|
circuitJson?: any[] | undefined;
|
|
36235
36237
|
exposedNets?: string[] | undefined;
|
|
@@ -36850,7 +36852,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
36850
36852
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
36851
36853
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
36852
36854
|
preflightRoutingCheckPolicy: z.ZodOptional<z.ZodEnum<["none", "basic", "conservative"]>>;
|
|
36853
|
-
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
36855
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "1.5x", "2x", "5x", "10x", "100x"]>>;
|
|
36854
36856
|
autorouterVersion: z.ZodOptional<z.ZodEffects<z.ZodType<AutocompleteString<AutorouterVersion>, z.ZodTypeDef, AutocompleteString<AutorouterVersion>>, "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest", AutocompleteString<AutorouterVersion>>>;
|
|
36855
36857
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
36856
36858
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
@@ -37322,7 +37324,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
37322
37324
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
37323
37325
|
autorouter?: AutorouterProp | undefined;
|
|
37324
37326
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
37325
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
37327
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
37326
37328
|
autorouterVersion?: "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest" | undefined;
|
|
37327
37329
|
circuitJson?: any[] | undefined;
|
|
37328
37330
|
exposedNets?: string[] | undefined;
|
|
@@ -37648,7 +37650,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
37648
37650
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
37649
37651
|
autorouter?: AutorouterProp | undefined;
|
|
37650
37652
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
37651
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
37653
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
37652
37654
|
autorouterVersion?: AutocompleteString<AutorouterVersion> | undefined;
|
|
37653
37655
|
circuitJson?: any[] | undefined;
|
|
37654
37656
|
exposedNets?: string[] | undefined;
|
|
@@ -39352,7 +39354,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
39352
39354
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
39353
39355
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
39354
39356
|
preflightRoutingCheckPolicy: z.ZodOptional<z.ZodEnum<["none", "basic", "conservative"]>>;
|
|
39355
|
-
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
39357
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "1.5x", "2x", "5x", "10x", "100x"]>>;
|
|
39356
39358
|
autorouterVersion: z.ZodOptional<z.ZodEffects<z.ZodType<AutocompleteString<AutorouterVersion>, z.ZodTypeDef, AutocompleteString<AutorouterVersion>>, "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest", AutocompleteString<AutorouterVersion>>>;
|
|
39357
39359
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
39358
39360
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
@@ -39824,7 +39826,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
39824
39826
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
39825
39827
|
autorouter?: AutorouterProp | undefined;
|
|
39826
39828
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
39827
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
39829
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
39828
39830
|
autorouterVersion?: "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest" | undefined;
|
|
39829
39831
|
circuitJson?: any[] | undefined;
|
|
39830
39832
|
exposedNets?: string[] | undefined;
|
|
@@ -40150,7 +40152,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
40150
40152
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
40151
40153
|
autorouter?: AutorouterProp | undefined;
|
|
40152
40154
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
40153
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
40155
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
40154
40156
|
autorouterVersion?: AutocompleteString<AutorouterVersion> | undefined;
|
|
40155
40157
|
circuitJson?: any[] | undefined;
|
|
40156
40158
|
exposedNets?: string[] | undefined;
|
|
@@ -41024,7 +41026,7 @@ declare const boardProps: z.ZodObject<{
|
|
|
41024
41026
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
41025
41027
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
41026
41028
|
preflightRoutingCheckPolicy: z.ZodOptional<z.ZodEnum<["none", "basic", "conservative"]>>;
|
|
41027
|
-
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
41029
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "1.5x", "2x", "5x", "10x", "100x"]>>;
|
|
41028
41030
|
autorouterVersion: z.ZodOptional<z.ZodEffects<z.ZodType<AutocompleteString<AutorouterVersion>, z.ZodTypeDef, AutocompleteString<AutorouterVersion>>, "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest", AutocompleteString<AutorouterVersion>>>;
|
|
41029
41031
|
circuitJson: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
41030
41032
|
exposedNets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -41417,7 +41419,7 @@ declare const boardProps: z.ZodObject<{
|
|
|
41417
41419
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
41418
41420
|
autorouter?: AutorouterProp | undefined;
|
|
41419
41421
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
41420
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
41422
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
41421
41423
|
autorouterVersion?: "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest" | undefined;
|
|
41422
41424
|
circuitJson?: any[] | undefined;
|
|
41423
41425
|
exposedNets?: string[] | undefined;
|
|
@@ -41767,7 +41769,7 @@ declare const boardProps: z.ZodObject<{
|
|
|
41767
41769
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
41768
41770
|
autorouter?: AutorouterProp | undefined;
|
|
41769
41771
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
41770
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
41772
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
41771
41773
|
autorouterVersion?: AutocompleteString<AutorouterVersion> | undefined;
|
|
41772
41774
|
circuitJson?: any[] | undefined;
|
|
41773
41775
|
exposedNets?: string[] | undefined;
|
|
@@ -45011,6 +45013,10 @@ interface BreakoutProps extends Omit<SubcircuitGroupProps, "subcircuit">, Fanout
|
|
|
45011
45013
|
/**
|
|
45012
45014
|
* Autorouter used to escape the components inside the breakout boundary.
|
|
45013
45015
|
* Defaults to the multilayer fanout autorouter.
|
|
45016
|
+
* `"dogbone"` selects local pad-to-via escapes without boundary routing.
|
|
45017
|
+
* Accepted as a preset string or `{ preset: "dogbone" }`; parsing preserves
|
|
45018
|
+
* the selected form. This adds an explicit preset with no aliases or changes
|
|
45019
|
+
* to the default. Routing requires a core version supporting this preset.
|
|
45014
45020
|
*/
|
|
45015
45021
|
autorouter?: AutorouterProp;
|
|
45016
45022
|
/**
|
|
@@ -45593,7 +45599,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
45593
45599
|
_subcircuitCachingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
45594
45600
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
45595
45601
|
preflightRoutingCheckPolicy: z.ZodOptional<z.ZodEnum<["none", "basic", "conservative"]>>;
|
|
45596
|
-
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
45602
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "1.5x", "2x", "5x", "10x", "100x"]>>;
|
|
45597
45603
|
autorouterVersion: z.ZodOptional<z.ZodEffects<z.ZodType<AutocompleteString<AutorouterVersion>, z.ZodTypeDef, AutocompleteString<AutorouterVersion>>, "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest", AutocompleteString<AutorouterVersion>>>;
|
|
45598
45604
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
45599
45605
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
@@ -46268,7 +46274,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
46268
46274
|
defaultTraceWidth?: number | undefined;
|
|
46269
46275
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
46270
46276
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
46271
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
46277
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
46272
46278
|
autorouterVersion?: "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest" | undefined;
|
|
46273
46279
|
circuitJson?: any[] | undefined;
|
|
46274
46280
|
exposedNets?: string[] | undefined;
|
|
@@ -46624,7 +46630,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
46624
46630
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
46625
46631
|
autorouter?: AutorouterProp | undefined;
|
|
46626
46632
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
46627
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
46633
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
46628
46634
|
autorouterVersion?: AutocompleteString<AutorouterVersion> | undefined;
|
|
46629
46635
|
circuitJson?: any[] | undefined;
|
|
46630
46636
|
exposedNets?: string[] | undefined;
|
|
@@ -115488,7 +115494,7 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
115488
115494
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
115489
115495
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
115490
115496
|
preflightRoutingCheckPolicy: z.ZodOptional<z.ZodEnum<["none", "basic", "conservative"]>>;
|
|
115491
|
-
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
115497
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "1.5x", "2x", "5x", "10x", "100x"]>>;
|
|
115492
115498
|
autorouterVersion: z.ZodOptional<z.ZodEffects<z.ZodType<AutocompleteString<AutorouterVersion>, z.ZodTypeDef, AutocompleteString<AutorouterVersion>>, "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest", AutocompleteString<AutorouterVersion>>>;
|
|
115493
115499
|
circuitJson: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
115494
115500
|
exposedNets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -115896,7 +115902,7 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
115896
115902
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
115897
115903
|
autorouter?: AutorouterProp | undefined;
|
|
115898
115904
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
115899
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
115905
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
115900
115906
|
autorouterVersion?: "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest" | undefined;
|
|
115901
115907
|
circuitJson?: any[] | undefined;
|
|
115902
115908
|
exposedNets?: string[] | undefined;
|
|
@@ -116256,7 +116262,7 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
116256
116262
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
116257
116263
|
autorouter?: AutorouterProp | undefined;
|
|
116258
116264
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
116259
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
116265
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
116260
116266
|
autorouterVersion?: AutocompleteString<AutorouterVersion> | undefined;
|
|
116261
116267
|
circuitJson?: any[] | undefined;
|
|
116262
116268
|
exposedNets?: string[] | undefined;
|
|
@@ -143692,7 +143698,7 @@ declare const mountedboardProps: z.ZodObject<{
|
|
|
143692
143698
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
143693
143699
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
143694
143700
|
preflightRoutingCheckPolicy: z.ZodOptional<z.ZodEnum<["none", "basic", "conservative"]>>;
|
|
143695
|
-
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
143701
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "1.5x", "2x", "5x", "10x", "100x"]>>;
|
|
143696
143702
|
autorouterVersion: z.ZodOptional<z.ZodEffects<z.ZodType<AutocompleteString<AutorouterVersion>, z.ZodTypeDef, AutocompleteString<AutorouterVersion>>, "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest", AutocompleteString<AutorouterVersion>>>;
|
|
143697
143703
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
143698
143704
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
@@ -144306,7 +144312,7 @@ declare const mountedboardProps: z.ZodObject<{
|
|
|
144306
144312
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
144307
144313
|
autorouter?: AutorouterProp | undefined;
|
|
144308
144314
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
144309
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
144315
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
144310
144316
|
autorouterVersion?: "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest" | undefined;
|
|
144311
144317
|
circuitJson?: any[] | undefined;
|
|
144312
144318
|
exposedNets?: string[] | undefined;
|
|
@@ -144670,7 +144676,7 @@ declare const mountedboardProps: z.ZodObject<{
|
|
|
144670
144676
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
144671
144677
|
autorouter?: AutorouterProp | undefined;
|
|
144672
144678
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
144673
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
144679
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
144674
144680
|
autorouterVersion?: AutocompleteString<AutorouterVersion> | undefined;
|
|
144675
144681
|
circuitJson?: any[] | undefined;
|
|
144676
144682
|
exposedNets?: string[] | undefined;
|
|
@@ -159674,7 +159680,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
159674
159680
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
159675
159681
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
159676
159682
|
preflightRoutingCheckPolicy: z.ZodOptional<z.ZodEnum<["none", "basic", "conservative"]>>;
|
|
159677
|
-
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
159683
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "1.5x", "2x", "5x", "10x", "100x"]>>;
|
|
159678
159684
|
autorouterVersion: z.ZodOptional<z.ZodEffects<z.ZodType<AutocompleteString<AutorouterVersion>, z.ZodTypeDef, AutocompleteString<AutorouterVersion>>, "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest", AutocompleteString<AutorouterVersion>>>;
|
|
159679
159685
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
159680
159686
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
@@ -160143,7 +160149,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
160143
160149
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
160144
160150
|
autorouter?: AutorouterProp | undefined;
|
|
160145
160151
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
160146
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
160152
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
160147
160153
|
autorouterVersion?: "beta_pipeline1" | "beta_pipeline3" | "beta_pipeline4" | "beta_pipeline5" | "beta_pipeline7" | "beta_pipeline9" | "latest" | undefined;
|
|
160148
160154
|
circuitJson?: any[] | undefined;
|
|
160149
160155
|
exposedNets?: string[] | undefined;
|
|
@@ -160468,7 +160474,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
160468
160474
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
160469
160475
|
autorouter?: AutorouterProp | undefined;
|
|
160470
160476
|
preflightRoutingCheckPolicy?: "none" | "basic" | "conservative" | undefined;
|
|
160471
|
-
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
160477
|
+
autorouterEffortLevel?: "2x" | "1x" | "1.5x" | "5x" | "10x" | "100x" | undefined;
|
|
160472
160478
|
autorouterVersion?: AutocompleteString<AutorouterVersion> | undefined;
|
|
160473
160479
|
circuitJson?: any[] | undefined;
|
|
160474
160480
|
exposedNets?: string[] | undefined;
|
package/dist/index.js
CHANGED
|
@@ -16531,6 +16531,7 @@ var autorouterConfig = z44.object({
|
|
|
16531
16531
|
"laser_prefab",
|
|
16532
16532
|
"single_layer_fanout",
|
|
16533
16533
|
"fanout",
|
|
16534
|
+
"dogbone",
|
|
16534
16535
|
"bus_lanes",
|
|
16535
16536
|
"auto-jumper",
|
|
16536
16537
|
"sequential-trace",
|
|
@@ -16555,6 +16556,7 @@ var autorouterPreset = z44.union([
|
|
|
16555
16556
|
// Prefabricated PCB with laser copper ablation
|
|
16556
16557
|
z44.literal("single_layer_fanout"),
|
|
16557
16558
|
z44.literal("fanout"),
|
|
16559
|
+
z44.literal("dogbone"),
|
|
16558
16560
|
z44.literal("bus_lanes"),
|
|
16559
16561
|
z44.literal("auto-jumper"),
|
|
16560
16562
|
z44.literal("sequential-trace"),
|
|
@@ -16567,7 +16569,14 @@ var autorouterProp = z44.union([
|
|
|
16567
16569
|
autorouterPreset,
|
|
16568
16570
|
autorouterString
|
|
16569
16571
|
]);
|
|
16570
|
-
var autorouterEffortLevel = z44.enum([
|
|
16572
|
+
var autorouterEffortLevel = z44.enum([
|
|
16573
|
+
"1x",
|
|
16574
|
+
"1.5x",
|
|
16575
|
+
"2x",
|
|
16576
|
+
"5x",
|
|
16577
|
+
"10x",
|
|
16578
|
+
"100x"
|
|
16579
|
+
]);
|
|
16571
16580
|
var preflightRoutingCheckPolicy = z44.enum([
|
|
16572
16581
|
"none",
|
|
16573
16582
|
"basic",
|