Skip to content

Commit 82ba522

Browse files
committed
[alg] Export AlgNode, AlgLeaf, AlgBranch.
1 parent e9a01d3 commit 82ba522

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/cubing/alg/alg-nodes/AlgNode.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { Newline } from "./leaves/Newline";
77
import type { Pause } from "./leaves/Pause";
88

99
export type AlgLeaf = Move | LineComment | Newline | Pause;
10-
export type AlgContainer = Grouping | Conjugate | Commutator;
10+
export type AlgBranch = Grouping | Conjugate | Commutator;
1111

1212
/** @category Alg */
13-
export type AlgNode = AlgLeaf | AlgContainer;
13+
export type AlgNode = AlgLeaf | AlgBranch;

src/cubing/alg/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ export { keyToMove } from "./keyboard";
1414
export * from "./alg-nodes";
1515
export type { MoveModifications } from "./alg-nodes/leaves/Move";
1616

17+
export type { AlgLeaf, AlgBranch, AlgNode } from "./alg-nodes/AlgNode";
18+
1719
export { experimentalAlgCubingNetLink } from "./url";
1820
export type { AlgCubingNetOptions } from "./url";
1921

0 commit comments

Comments
 (0)