@tscircuit/props 0.0.671 → 0.0.672
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 +12 -6
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/lib/components/breakout.ts +4 -0
- package/lib/components/group.ts +5 -0
- 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,10 +33718,10 @@ 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
33726
|
declare const autorouterEffortLevel: z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>;
|
|
33725
33727
|
declare const preflightRoutingCheckPolicy: z.ZodEnum<["none", "basic", "conservative"]>;
|
|
@@ -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
|
/**
|
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"),
|