feat: add box node
This commit is contained in:
@@ -77,7 +77,7 @@ export interface RuntimeExecutor {
|
||||
* @param graph - The graph to execute
|
||||
* @returns The result of the execution
|
||||
*/
|
||||
execute: (graph: Graph) => void;
|
||||
execute: (graph: Graph) => unknown;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -36,7 +36,11 @@ type DefaultOptions = {
|
||||
label?: string;
|
||||
}
|
||||
|
||||
export type NodeInput = (NodeInputSeed | NodeInputBoolean | NodeInputFloat | NodeInputInteger | NodeInputSelect) & DefaultOptions;
|
||||
type InputTypes = (NodeInputSeed | NodeInputBoolean | NodeInputFloat | NodeInputInteger | NodeInputSelect);
|
||||
|
||||
export type NodeInput = InputTypes & {
|
||||
type: InputTypes["type"] | InputTypes["type"][];
|
||||
} & DefaultOptions;
|
||||
|
||||
|
||||
export type NodeInputType<T extends Record<string, NodeInput>> = {
|
||||
|
Reference in New Issue
Block a user