@tscircuit/props 0.0.675 → 0.0.676
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 +8 -10
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +8 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -33639,19 +33639,17 @@ interface AutorouterConfig {
|
|
|
33639
33639
|
/** Override the solver used to place implicit breakout points. */
|
|
33640
33640
|
implicitBreakoutPointSolverFn?: ImplicitBreakoutPointSolverFn;
|
|
33641
33641
|
/**
|
|
33642
|
-
*
|
|
33643
|
-
*
|
|
33644
|
-
* conflicting fields
|
|
33642
|
+
* single_layer_routing is an alias that parses as bus_lanes.
|
|
33643
|
+
* Replaces single_layer_bus and single_layer_buses. Omitted leaves the preset
|
|
33644
|
+
* unset; other presets remain unchanged and no conflicting fields are introduced.
|
|
33645
33645
|
*/
|
|
33646
|
-
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" | "
|
|
33646
|
+
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" | "single_layer_routing" | /** @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";
|
|
33647
33647
|
}
|
|
33648
33648
|
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"
|
|
33649
33649
|
/** Local pad-to-via fanout without routing to a breakout boundary. */
|
|
33650
33650
|
| "dogbone" | "bus_lanes"
|
|
33651
33651
|
/** Alias for bus_lanes; parsing normalizes to bus_lanes. */
|
|
33652
|
-
| "
|
|
33653
|
-
/** Alias for bus_lanes; parsing normalizes to bus_lanes. */
|
|
33654
|
-
| "single_layer_buses" | "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";
|
|
33652
|
+
| "single_layer_routing" | "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";
|
|
33655
33653
|
type AutorouterProp = AutorouterConfig | AutocompleteString<AutorouterPreset>;
|
|
33656
33654
|
declare const routingTolerances: z.ZodObject<{
|
|
33657
33655
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -33699,7 +33697,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
33699
33697
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "sequential-trace"]>>;
|
|
33700
33698
|
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
33701
33699
|
implicitBreakoutPointSolverFn: z.ZodOptional<z.ZodType<ImplicitBreakoutPointSolverFn, z.ZodTypeDef, ImplicitBreakoutPointSolverFn>>;
|
|
33702
|
-
preset: z.ZodOptional<z.ZodEffects<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", "
|
|
33700
|
+
preset: z.ZodOptional<z.ZodEffects<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", "single_layer_routing", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>, "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", "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" | "single_layer_routing" | "auto-jumper" | "auto-local" | "auto-cloud">>;
|
|
33703
33701
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
33704
33702
|
}, "strip", z.ZodTypeAny, {
|
|
33705
33703
|
serverUrl?: string | undefined;
|
|
@@ -33727,10 +33725,10 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
33727
33725
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
33728
33726
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
33729
33727
|
implicitBreakoutPointSolverFn?: ImplicitBreakoutPointSolverFn | undefined;
|
|
33730
|
-
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" | "
|
|
33728
|
+
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" | "single_layer_routing" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
33731
33729
|
local?: boolean | undefined;
|
|
33732
33730
|
}>;
|
|
33733
|
-
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.ZodEffects<z.ZodLiteral<"
|
|
33731
|
+
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.ZodEffects<z.ZodLiteral<"single_layer_routing">, "bus_lanes", "single_layer_routing">, z.ZodLiteral<"auto-jumper">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
33734
33732
|
declare const autorouterProp: z.ZodType<AutorouterProp>;
|
|
33735
33733
|
declare const autorouterEffortLevel: z.ZodEnum<["1x", "1.5x", "2x", "5x", "10x", "100x"]>;
|
|
33736
33734
|
declare const preflightRoutingCheckPolicy: z.ZodEnum<["none", "basic", "conservative"]>;
|
package/dist/index.js
CHANGED
|
@@ -16533,14 +16533,13 @@ var autorouterConfig = z44.object({
|
|
|
16533
16533
|
"fanout",
|
|
16534
16534
|
"dogbone",
|
|
16535
16535
|
"bus_lanes",
|
|
16536
|
-
"
|
|
16537
|
-
"single_layer_buses",
|
|
16536
|
+
"single_layer_routing",
|
|
16538
16537
|
"auto-jumper",
|
|
16539
16538
|
"sequential-trace",
|
|
16540
16539
|
"auto-local",
|
|
16541
16540
|
"auto-cloud"
|
|
16542
16541
|
]).transform(
|
|
16543
|
-
(preset) => preset === "
|
|
16542
|
+
(preset) => preset === "single_layer_routing" ? "bus_lanes" : preset
|
|
16544
16543
|
).optional(),
|
|
16545
16544
|
local: z44.boolean().optional()
|
|
16546
16545
|
});
|
|
@@ -16562,8 +16561,7 @@ var autorouterPreset = z44.union([
|
|
|
16562
16561
|
z44.literal("fanout"),
|
|
16563
16562
|
z44.literal("dogbone"),
|
|
16564
16563
|
z44.literal("bus_lanes"),
|
|
16565
|
-
z44.literal("
|
|
16566
|
-
z44.literal("single_layer_buses").transform(() => "bus_lanes"),
|
|
16564
|
+
z44.literal("single_layer_routing").transform(() => "bus_lanes"),
|
|
16567
16565
|
z44.literal("auto-jumper"),
|
|
16568
16566
|
z44.literal("sequential-trace"),
|
|
16569
16567
|
z44.literal("auto-local"),
|