@tokens-studio/graph-engine
Version:
An execution engine to handle Token Studios generators and resolvers
26 lines • 683 B
TypeScript
import { INodeDefinition, ToInput, ToOutput } from '../../index.js';
import { Node } from '../../programmatic/node.js';
export default class NodeDefinition<T> extends Node {
static title: string;
static type: string;
static description: string;
inputs: ToInput<{
/**
* The array to push to
*/
array: T[];
/**
* The item to push to the array
*/
item: T;
}>;
outputs: ToOutput<{
/**
* The array with the item pushed to it
*/
value: T[];
}>;
constructor(props: INodeDefinition);
execute(): void | Promise<void>;
}
//# sourceMappingURL=push.d.ts.map