@tscircuit/props 0.0.651 → 0.0.652

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 CHANGED
@@ -2421,7 +2421,10 @@ export interface PlatformConfig {
2421
2421
  /**
2422
2422
  * Allows the deprecated sequential_trace and auto_cloud autorouter presets.
2423
2423
  * Defaults to false because these presets are otherwise disabled.
2424
+ * This also applies to the sequential-trace and auto-cloud aliases.
2424
2425
  * Platforms should only enable this temporarily while migrating projects.
2426
+ * For sequential_trace / sequential-trace, use the default autorouter with
2427
+ * <autoroutingphase /> or <fanout /> elements as needed instead.
2425
2428
  */
2426
2429
  allowLegacyAutorouters?: boolean;
2427
2430
 
package/dist/index.d.ts CHANGED
@@ -21285,14 +21285,14 @@ interface AutorouterConfig {
21285
21285
  traceClearance?: Distance;
21286
21286
  availableJumperTypes?: Array<"1206x4" | "0603">;
21287
21287
  allowViaInPad?: boolean;
21288
- groupMode?: "sequential_trace" | "subcircuit" | /** @deprecated Use "sequential_trace" */ "sequential-trace";
21288
+ groupMode?: /** @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" | /** @deprecated Disabled by default in core. Use the default autorouter with <autoroutingphase /> or <fanout /> as needed. Legacy support requires platformConfig.allowLegacyAutorouters: true. */ "sequential-trace";
21289
21289
  local?: boolean;
21290
21290
  algorithmFn?: (simpleRouteJson: any) => Promise<any>;
21291
21291
  /** Override the solver used to place implicit breakout points. */
21292
21292
  implicitBreakoutPointSolverFn?: ImplicitBreakoutPointSolverFn;
21293
- preset?: "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 Use "sequential_trace" */ "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" | /** @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 = "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";
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";
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>>;
@@ -228230,7 +228230,10 @@ interface PlatformConfig {
228230
228230
  /**
228231
228231
  * Allows the deprecated sequential_trace and auto_cloud autorouter presets.
228232
228232
  * Defaults to false because these presets are otherwise disabled.
228233
+ * This also applies to the sequential-trace and auto-cloud aliases.
228233
228234
  * Platforms should only enable this temporarily while migrating projects.
228235
+ * For sequential_trace / sequential-trace, use the default autorouter with
228236
+ * <autoroutingphase /> or <fanout /> elements as needed instead.
228234
228237
  */
228235
228238
  allowLegacyAutorouters?: boolean;
228236
228239
  /** A localStorage-compatible cache used by render phases and engines. */