@tscircuit/props 0.0.658 → 0.0.659
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 +6 -6
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -21290,9 +21290,9 @@ interface AutorouterConfig {
|
|
|
21290
21290
|
algorithmFn?: (simpleRouteJson: any) => Promise<any>;
|
|
21291
21291
|
/** Override the solver used to place implicit breakout points. */
|
|
21292
21292
|
implicitBreakoutPointSolverFn?: ImplicitBreakoutPointSolverFn;
|
|
21293
|
-
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" | /** @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";
|
|
21293
|
+
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";
|
|
21294
21294
|
}
|
|
21295
|
-
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" | "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";
|
|
21295
|
+
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" | "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";
|
|
21296
21296
|
type AutorouterProp = AutorouterConfig | AutocompleteString<AutorouterPreset>;
|
|
21297
21297
|
declare const routingTolerances: z.ZodObject<{
|
|
21298
21298
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -21337,7 +21337,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
21337
21337
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "sequential-trace"]>>;
|
|
21338
21338
|
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
21339
21339
|
implicitBreakoutPointSolverFn: z.ZodOptional<z.ZodType<ImplicitBreakoutPointSolverFn, z.ZodTypeDef, ImplicitBreakoutPointSolverFn>>;
|
|
21340
|
-
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", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
21340
|
+
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"]>>;
|
|
21341
21341
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
21342
21342
|
}, "strip", z.ZodTypeAny, {
|
|
21343
21343
|
serverUrl?: string | undefined;
|
|
@@ -21351,7 +21351,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
21351
21351
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
21352
21352
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
21353
21353
|
implicitBreakoutPointSolverFn?: ImplicitBreakoutPointSolverFn | undefined;
|
|
21354
|
-
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" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
21354
|
+
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;
|
|
21355
21355
|
local?: boolean | undefined;
|
|
21356
21356
|
}, {
|
|
21357
21357
|
serverUrl?: string | undefined;
|
|
@@ -21365,10 +21365,10 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
21365
21365
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
21366
21366
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
21367
21367
|
implicitBreakoutPointSolverFn?: ImplicitBreakoutPointSolverFn | undefined;
|
|
21368
|
-
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" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
21368
|
+
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;
|
|
21369
21369
|
local?: boolean | undefined;
|
|
21370
21370
|
}>;
|
|
21371
|
-
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<"auto-jumper">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
21371
|
+
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">]>;
|
|
21372
21372
|
declare const autorouterProp: z.ZodType<AutorouterProp>;
|
|
21373
21373
|
declare const autorouterEffortLevel: z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>;
|
|
21374
21374
|
declare const preflightRoutingCheckPolicy: z.ZodEnum<["none", "basic", "conservative"]>;
|
package/dist/index.js
CHANGED
|
@@ -16467,6 +16467,7 @@ var autorouterConfig = z43.object({
|
|
|
16467
16467
|
"laser_prefab",
|
|
16468
16468
|
"single_layer_fanout",
|
|
16469
16469
|
"fanout",
|
|
16470
|
+
"bus_lanes",
|
|
16470
16471
|
"auto-jumper",
|
|
16471
16472
|
"sequential-trace",
|
|
16472
16473
|
"auto-local",
|
|
@@ -16490,6 +16491,7 @@ var autorouterPreset = z43.union([
|
|
|
16490
16491
|
// Prefabricated PCB with laser copper ablation
|
|
16491
16492
|
z43.literal("single_layer_fanout"),
|
|
16492
16493
|
z43.literal("fanout"),
|
|
16494
|
+
z43.literal("bus_lanes"),
|
|
16493
16495
|
z43.literal("auto-jumper"),
|
|
16494
16496
|
z43.literal("sequential-trace"),
|
|
16495
16497
|
z43.literal("auto-local"),
|