@tscircuit/core 0.0.539 → 0.0.540
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 +7 -4
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1545,6 +1545,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1545
1545
|
serverMode: zod.ZodOptional<zod.ZodEnum<["job", "solve-endpoint"]>>;
|
|
1546
1546
|
serverCacheEnabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
1547
1547
|
cache: zod.ZodOptional<zod.ZodType<_tscircuit_props.PcbRouteCache, zod.ZodTypeDef, _tscircuit_props.PcbRouteCache>>;
|
|
1548
|
+
traceClearance: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
1548
1549
|
groupMode: zod.ZodOptional<zod.ZodEnum<["sequential-trace", "subcircuit"]>>;
|
|
1549
1550
|
algorithmFn: zod.ZodOptional<zod.ZodType<(simpleRouteJson: any) => Promise<any>, zod.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
1550
1551
|
local: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -1554,6 +1555,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1554
1555
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
1555
1556
|
serverCacheEnabled?: boolean | undefined;
|
|
1556
1557
|
cache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
1558
|
+
traceClearance?: number | undefined;
|
|
1557
1559
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
1558
1560
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
1559
1561
|
local?: boolean | undefined;
|
|
@@ -1563,6 +1565,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1563
1565
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
1564
1566
|
serverCacheEnabled?: boolean | undefined;
|
|
1565
1567
|
cache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
1568
|
+
traceClearance?: string | number | undefined;
|
|
1566
1569
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
1567
1570
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
1568
1571
|
local?: boolean | undefined;
|
|
@@ -1740,6 +1743,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1740
1743
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
1741
1744
|
serverCacheEnabled?: boolean | undefined;
|
|
1742
1745
|
cache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
1746
|
+
traceClearance?: number | undefined;
|
|
1743
1747
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
1744
1748
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
1745
1749
|
local?: boolean | undefined;
|
|
@@ -1913,6 +1917,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1913
1917
|
serverMode?: "job" | "solve-endpoint" | undefined;
|
|
1914
1918
|
serverCacheEnabled?: boolean | undefined;
|
|
1915
1919
|
cache?: _tscircuit_props.PcbRouteCache | undefined;
|
|
1920
|
+
traceClearance?: string | number | undefined;
|
|
1916
1921
|
groupMode?: "sequential-trace" | "subcircuit" | undefined;
|
|
1917
1922
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
1918
1923
|
local?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -7789,7 +7789,10 @@ var Group = class extends NormalComponent {
|
|
|
7789
7789
|
width: 0,
|
|
7790
7790
|
height: 0,
|
|
7791
7791
|
pcb_component_ids: [],
|
|
7792
|
-
source_group_id: this.source_group_id
|
|
7792
|
+
source_group_id: this.source_group_id,
|
|
7793
|
+
autorouter_configuration: props.autorouter ? {
|
|
7794
|
+
trace_clearance: props.autorouter.traceClearance
|
|
7795
|
+
} : void 0
|
|
7793
7796
|
});
|
|
7794
7797
|
this.pcb_group_id = pcb_group.pcb_group_id;
|
|
7795
7798
|
for (const child of this.children) {
|
|
@@ -10698,7 +10701,7 @@ import { identity as identity4 } from "transformation-matrix";
|
|
|
10698
10701
|
var package_default = {
|
|
10699
10702
|
name: "@tscircuit/core",
|
|
10700
10703
|
type: "module",
|
|
10701
|
-
version: "0.0.
|
|
10704
|
+
version: "0.0.539",
|
|
10702
10705
|
types: "dist/index.d.ts",
|
|
10703
10706
|
main: "dist/index.js",
|
|
10704
10707
|
module: "dist/index.js",
|
|
@@ -10730,7 +10733,7 @@ var package_default = {
|
|
|
10730
10733
|
"@tscircuit/layout": "^0.0.28",
|
|
10731
10734
|
"@tscircuit/log-soup": "^1.0.2",
|
|
10732
10735
|
"@tscircuit/math-utils": "^0.0.18",
|
|
10733
|
-
"@tscircuit/props": "^0.0.
|
|
10736
|
+
"@tscircuit/props": "^0.0.248",
|
|
10734
10737
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
10735
10738
|
"@tscircuit/schematic-corpus": "^0.0.29",
|
|
10736
10739
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
@@ -10744,7 +10747,7 @@ var package_default = {
|
|
|
10744
10747
|
"bun-match-svg": "0.0.11",
|
|
10745
10748
|
"calculate-elbow": "^0.0.5",
|
|
10746
10749
|
"chokidar-cli": "^3.0.0",
|
|
10747
|
-
"circuit-json": "^0.0.
|
|
10750
|
+
"circuit-json": "^0.0.215",
|
|
10748
10751
|
"circuit-json-to-bpc": "^0.0.7",
|
|
10749
10752
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
10750
10753
|
"circuit-json-to-simple-3d": "^0.0.2",
|
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.540",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
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.248",
|
|
37
37
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
38
38
|
"@tscircuit/schematic-corpus": "^0.0.29",
|
|
39
39
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"bun-match-svg": "0.0.11",
|
|
48
48
|
"calculate-elbow": "^0.0.5",
|
|
49
49
|
"chokidar-cli": "^3.0.0",
|
|
50
|
-
"circuit-json": "^0.0.
|
|
50
|
+
"circuit-json": "^0.0.215",
|
|
51
51
|
"circuit-json-to-bpc": "^0.0.7",
|
|
52
52
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
53
53
|
"circuit-json-to-simple-3d": "^0.0.2",
|