@tscircuit/capacity-autorouter 0.0.99 → 0.0.101
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 +9 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as graphics_debug from 'graphics-debug';
|
|
2
|
-
import { GraphicsObject } from 'graphics-debug';
|
|
2
|
+
import { GraphicsObject, Rect, Circle, Line, Point as Point$3 } from 'graphics-debug';
|
|
3
3
|
import { ConnectivityMap } from 'circuit-json-to-connectivity-map';
|
|
4
4
|
|
|
5
5
|
type TraceId = string;
|
|
@@ -2074,4 +2074,11 @@ declare function getGlobalLocalStorageCache(): LocalStorageCache;
|
|
|
2074
2074
|
declare function getGlobalInMemoryCache(): InMemoryCache;
|
|
2075
2075
|
declare function setupGlobalCaches(): void;
|
|
2076
2076
|
|
|
2077
|
-
|
|
2077
|
+
declare const convertSrjToGraphicsObject: (srj: SimpleRouteJson) => {
|
|
2078
|
+
rects: Rect[];
|
|
2079
|
+
circles: Circle[];
|
|
2080
|
+
lines: Line[];
|
|
2081
|
+
points: Point$3[];
|
|
2082
|
+
};
|
|
2083
|
+
|
|
2084
|
+
export { type CachableSolver, type CacheProvider, CapacityMeshSolver, InMemoryCache, LocalStorageCache, calculateOptimalCapacityDepth, convertSrjToGraphicsObject, getGlobalInMemoryCache, getGlobalLocalStorageCache, getTunedTotalCapacity1, setupGlobalCaches };
|
package/dist/index.js
CHANGED
|
@@ -10149,7 +10149,7 @@ var MultipleHighDensityRouteStitchSolver = class extends BaseSolver {
|
|
|
10149
10149
|
}
|
|
10150
10150
|
};
|
|
10151
10151
|
|
|
10152
|
-
//
|
|
10152
|
+
// lib/utils/convertSrjToGraphicsObject.ts
|
|
10153
10153
|
var convertSrjToGraphicsObject = (srj) => {
|
|
10154
10154
|
const lines = [];
|
|
10155
10155
|
const circles = [];
|
|
@@ -17083,6 +17083,7 @@ export {
|
|
|
17083
17083
|
InMemoryCache,
|
|
17084
17084
|
LocalStorageCache,
|
|
17085
17085
|
calculateOptimalCapacityDepth,
|
|
17086
|
+
convertSrjToGraphicsObject,
|
|
17086
17087
|
getGlobalInMemoryCache,
|
|
17087
17088
|
getGlobalLocalStorageCache,
|
|
17088
17089
|
getTunedTotalCapacity1,
|