Interface: FunctionTree
helpers/utils/captain-action.FunctionTree
Defines a tree structure where each key can either be another FunctionTree
or a function that takes
a properties object and performs an action. This structure allows for nested, dynamic function calls.
Indexable
▪ [key: string
]: FunctionTree
| (properties
: Record
<string
, unknown
>) => void