From 6379a462c75faefb08ac1e8e367fc7ead0c206c3 Mon Sep 17 00:00:00 2001 From: Frans Bongers Date: Sat, 22 Feb 2025 13:36:46 +0100 Subject: refactor: rename leaf to state node --- types.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'types.d.ts') diff --git a/types.d.ts b/types.d.ts index cab4b5d..4594775 100644 --- a/types.d.ts +++ b/types.d.ts @@ -114,7 +114,7 @@ export type States = { [key: string]: any; }; -export type EngineNode = FunctionNode | LeafNode | SeqNode; +export type EngineNode = FunctionNode | StateNode | SeqNode; export interface FunctionNode { t: 'f'; @@ -128,7 +128,7 @@ export interface SeqNode { c: EngineNode[]; } -export interface LeafNode { +export interface StateNode { t: 'l'; s: string; // State p: FactionId | 'None' | 'all' | FactionId[]; // Player -- cgit v1.2.3