@tscircuit/core 0.0.542 → 0.0.544
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 +5 -0
- package/dist/index.js +4 -4
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1548,6 +1548,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1548
1548
|
traceClearance: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
1549
1549
|
groupMode: zod.ZodOptional<zod.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
1550
1550
|
algorithmFn: zod.ZodOptional<zod.ZodType<(simpleRouteJson: any) => Promise<any>, zod.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
1551
|
+
preset: zod.ZodOptional<zod.ZodEnum<["sequential-trace", "subcircuit", "auto", "auto-local", "auto-cloud"]>>;
|
|
1551
1552
|
local: zod.ZodOptional<zod.ZodBoolean>;
|
|
1552
1553
|
}, "strip", zod.ZodTypeAny, {
|
|
1553
1554
|
serverUrl?: string | undefined;
|
|
@@ -1558,6 +1559,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1558
1559
|
traceClearance?: number | undefined;
|
|
1559
1560
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
1560
1561
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
1562
|
+
preset?: "sequential-trace" | "subcircuit" | "auto" | "auto-local" | "auto-cloud" | undefined;
|
|
1561
1563
|
local?: boolean | undefined;
|
|
1562
1564
|
}, {
|
|
1563
1565
|
serverUrl?: string | undefined;
|
|
@@ -1568,6 +1570,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1568
1570
|
traceClearance?: string | number | undefined;
|
|
1569
1571
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
1570
1572
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
1573
|
+
preset?: "sequential-trace" | "subcircuit" | "auto" | "auto-local" | "auto-cloud" | undefined;
|
|
1571
1574
|
local?: boolean | undefined;
|
|
1572
1575
|
}>, zod.ZodLiteral<"sequential-trace">, zod.ZodLiteral<"subcircuit">, zod.ZodLiteral<"auto">, zod.ZodLiteral<"auto-local">, zod.ZodLiteral<"auto-cloud">]>>;
|
|
1573
1576
|
} & {
|
|
@@ -1746,6 +1749,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1746
1749
|
traceClearance?: number | undefined;
|
|
1747
1750
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
1748
1751
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
1752
|
+
preset?: "sequential-trace" | "subcircuit" | "auto" | "auto-local" | "auto-cloud" | undefined;
|
|
1749
1753
|
local?: boolean | undefined;
|
|
1750
1754
|
} | undefined;
|
|
1751
1755
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
@@ -1920,6 +1924,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1920
1924
|
traceClearance?: string | number | undefined;
|
|
1921
1925
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
1922
1926
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
1927
|
+
preset?: "sequential-trace" | "subcircuit" | "auto" | "auto-local" | "auto-cloud" | undefined;
|
|
1923
1928
|
local?: boolean | undefined;
|
|
1924
1929
|
} | undefined;
|
|
1925
1930
|
schAutoLayoutEnabled?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -8317,7 +8317,7 @@ var Group = class extends NormalComponent {
|
|
|
8317
8317
|
serverMode: "job",
|
|
8318
8318
|
serverCacheEnabled: true
|
|
8319
8319
|
};
|
|
8320
|
-
const autorouter = this._parsedProps.autorouter
|
|
8320
|
+
const autorouter = this._parsedProps.autorouter || this._parsedProps.autorouter?.preset || this.getInheritedProperty("autorouter");
|
|
8321
8321
|
if (typeof autorouter === "object") {
|
|
8322
8322
|
return {
|
|
8323
8323
|
local: !(autorouter.serverUrl || autorouter.serverMode || autorouter.serverCacheEnabled),
|
|
@@ -10678,7 +10678,7 @@ import { identity as identity4 } from "transformation-matrix";
|
|
|
10678
10678
|
var package_default = {
|
|
10679
10679
|
name: "@tscircuit/core",
|
|
10680
10680
|
type: "module",
|
|
10681
|
-
version: "0.0.
|
|
10681
|
+
version: "0.0.543",
|
|
10682
10682
|
types: "dist/index.d.ts",
|
|
10683
10683
|
main: "dist/index.js",
|
|
10684
10684
|
module: "dist/index.js",
|
|
@@ -10704,13 +10704,13 @@ var package_default = {
|
|
|
10704
10704
|
"@tscircuit/capacity-autorouter": "^0.0.89",
|
|
10705
10705
|
"@tscircuit/checks": "^0.0.52",
|
|
10706
10706
|
"@tscircuit/circuit-json-util": "^0.0.50",
|
|
10707
|
-
"@tscircuit/footprinter": "^0.0.
|
|
10707
|
+
"@tscircuit/footprinter": "^0.0.189",
|
|
10708
10708
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
10709
10709
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
10710
10710
|
"@tscircuit/layout": "^0.0.28",
|
|
10711
10711
|
"@tscircuit/log-soup": "^1.0.2",
|
|
10712
10712
|
"@tscircuit/math-utils": "^0.0.18",
|
|
10713
|
-
"@tscircuit/props": "^0.0.
|
|
10713
|
+
"@tscircuit/props": "^0.0.251",
|
|
10714
10714
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
10715
10715
|
"@tscircuit/schematic-corpus": "^0.0.33",
|
|
10716
10716
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.544",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"@tscircuit/capacity-autorouter": "^0.0.89",
|
|
28
28
|
"@tscircuit/checks": "^0.0.52",
|
|
29
29
|
"@tscircuit/circuit-json-util": "^0.0.50",
|
|
30
|
-
"@tscircuit/footprinter": "^0.0.
|
|
30
|
+
"@tscircuit/footprinter": "^0.0.189",
|
|
31
31
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
32
32
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
33
33
|
"@tscircuit/layout": "^0.0.28",
|
|
34
34
|
"@tscircuit/log-soup": "^1.0.2",
|
|
35
35
|
"@tscircuit/math-utils": "^0.0.18",
|
|
36
|
-
"@tscircuit/props": "^0.0.
|
|
36
|
+
"@tscircuit/props": "^0.0.251",
|
|
37
37
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
38
38
|
"@tscircuit/schematic-corpus": "^0.0.33",
|
|
39
39
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|