@tscircuit/props 0.0.440 → 0.0.442

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.
@@ -314,9 +314,11 @@ export interface AutorouterConfig {
314
314
  | "auto"
315
315
  | "auto_local"
316
316
  | "auto_cloud"
317
+ | "auto_jumper"
317
318
  | "tscircuit_beta"
318
319
  | "freerouting"
319
320
  | "laser_prefab" // Prefabricated PCB with laser copper ablation
321
+ | /** @deprecated Use "auto_jumper" */ "auto-jumper"
320
322
  | /** @deprecated Use "sequential_trace" */ "sequential-trace"
321
323
  | /** @deprecated Use "auto_local" */ "auto-local"
322
324
  | /** @deprecated Use "auto_cloud" */ "auto-cloud"
@@ -328,9 +330,11 @@ export type AutorouterPreset =
328
330
  | "auto"
329
331
  | "auto_local"
330
332
  | "auto_cloud"
333
+ | "auto_jumper"
331
334
  | "tscircuit_beta"
332
335
  | "freerouting"
333
336
  | "laser_prefab"
337
+ | "auto-jumper"
334
338
  | "sequential-trace"
335
339
  | "auto-local"
336
340
  | "auto-cloud"
@@ -365,9 +369,11 @@ export const autorouterConfig = z.object({
365
369
  "auto",
366
370
  "auto_local",
367
371
  "auto_cloud",
372
+ "auto_jumper",
368
373
  "tscircuit_beta",
369
374
  "freerouting",
370
375
  "laser_prefab",
376
+ "auto-jumper",
371
377
  "sequential-trace",
372
378
  "auto-local",
373
379
  "auto-cloud",
@@ -382,9 +388,11 @@ export const autorouterPreset = z.union([
382
388
  z.literal("auto"),
383
389
  z.literal("auto_local"),
384
390
  z.literal("auto_cloud"),
391
+ z.literal("auto_jumper"),
385
392
  z.literal("tscircuit_beta"),
386
393
  z.literal("freerouting"),
387
394
  z.literal("laser_prefab"), // Prefabricated PCB with laser copper ablation
395
+ z.literal("auto-jumper"),
388
396
  z.literal("sequential-trace"),
389
397
  z.literal("auto-local"),
390
398
  z.literal("auto-cloud"),
@@ -413,6 +421,7 @@ export interface SubcircuitGroupProps extends BaseGroupProps {
413
421
 
414
422
  autorouter?: AutorouterProp
415
423
  autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x"
424
+ autorouterVersion?: "v1" | "v2" | "latest"
416
425
 
417
426
  /**
418
427
  * Serialized circuit JSON describing a precompiled subcircuit
@@ -573,6 +582,7 @@ export const subcircuitGroupProps = baseGroupProps.extend({
573
582
  pcbRouteCache: z.custom<PcbRouteCache>((v) => true).optional(),
574
583
  autorouter: autorouterProp.optional(),
575
584
  autorouterEffortLevel: autorouterEffortLevel.optional(),
585
+ autorouterVersion: z.enum(["v1", "v2", "latest"]).optional(),
576
586
  square: z.boolean().optional(),
577
587
  emptyArea: z.string().optional(),
578
588
  filledArea: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.440",
3
+ "version": "0.0.442",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",