Skip to content

Commit

Permalink
[alg] Export AlgNode, AlgLeaf, AlgBranch.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Aug 3, 2022
1 parent e9a01d3 commit 82ba522
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cubing/alg/alg-nodes/AlgNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { Newline } from "./leaves/Newline";
import type { Pause } from "./leaves/Pause";

export type AlgLeaf = Move | LineComment | Newline | Pause;
export type AlgContainer = Grouping | Conjugate | Commutator;
export type AlgBranch = Grouping | Conjugate | Commutator;

/** @category Alg */
export type AlgNode = AlgLeaf | AlgContainer;
export type AlgNode = AlgLeaf | AlgBranch;
2 changes: 2 additions & 0 deletions src/cubing/alg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export { keyToMove } from "./keyboard";
export * from "./alg-nodes";
export type { MoveModifications } from "./alg-nodes/leaves/Move";

export type { AlgLeaf, AlgBranch, AlgNode } from "./alg-nodes/AlgNode";

export { experimentalAlgCubingNetLink } from "./url";
export type { AlgCubingNetOptions } from "./url";

Expand Down

0 comments on commit 82ba522

Please sign in to comment.