@tokens-studio/graph-engine
Version:
An execution engine to handle Token Studios generators and resolvers
31 lines • 830 B
TypeScript
import { INodeDefinition, ToInput, ToOutput } from '../../index.js';
import { Node } from '../../programmatic/node.js';
export declare enum CaseType {
CAMEL = "camel",
SNAKE = "snake",
KEBAB = "kebab",
PASCAL = "pascal"
}
/**
* This node converts strings between different case formats
*/
export default class NodeDefinition extends Node {
static title: string;
static type: string;
static description: string;
inputs: ToInput<{
string: string;
type: CaseType;
/**
* Characters to be replaced with spaces. Default: -_.
* @default "-_."
*/
delimiters: string;
}>;
outputs: ToOutput<{
string: string;
}>;
constructor(props: INodeDefinition);
execute(): void | Promise<void>;
}
//# sourceMappingURL=case.d.ts.map