@tscircuit/capacity-autorouter 0.0.163 → 0.0.165

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 CHANGED
@@ -8,13 +8,21 @@ type TraceId = string;
8
8
  type NetId = string;
9
9
  type PointId = string;
10
10
  type OffBoardConnectionId = string;
11
- type ConnectionPoint = {
11
+ type SingleLayerConnectionPoint = {
12
12
  x: number;
13
13
  y: number;
14
14
  layer: string;
15
15
  pointId?: PointId;
16
16
  pcb_port_id?: string;
17
17
  };
18
+ type MultiLayerConnectionPoint = {
19
+ x: number;
20
+ y: number;
21
+ layers: string[];
22
+ pointId?: PointId;
23
+ pcb_port_id?: string;
24
+ };
25
+ type ConnectionPoint = SingleLayerConnectionPoint | MultiLayerConnectionPoint;
18
26
  interface SimpleRouteJson {
19
27
  layerCount: number;
20
28
  minTraceWidth: number;
@@ -52,7 +60,7 @@ interface SimpleRouteConnection {
52
60
  isOffBoard?: boolean;
53
61
  netConnectionName?: string;
54
62
  nominalTraceWidth?: number;
55
- pointsToConnect: ConnectionPoint[];
63
+ pointsToConnect: Array<ConnectionPoint>;
56
64
  /** @deprecated DO NOT USE **/
57
65
  externallyConnectedPointIds?: PointId[][];
58
66
  }