@tokens-studio/graph-engine-nodes-figma
Version:
Figma-specific nodes for the graph engine
31 lines • 963 B
TypeScript
import { INodeDefinition, Node, ToInput, ToOutput } from '@tokens-studio/graph-engine';
import { SingleToken } from '@tokens-studio/types';
export default class NodeDefinition extends Node {
static title: string;
static type: string;
static description: string;
inputs: ToInput<{
token: SingleToken;
gapBetween: boolean;
padding: boolean;
cornerRadius: boolean;
fontProperties: boolean;
fontWeight: boolean;
fontSize: boolean;
lineHeight: boolean;
letterSpacing: boolean;
paragraphSpacing: boolean;
paragraphIndent: boolean;
layerOpacity: boolean;
effects: boolean;
stroke: boolean;
textContent: boolean;
widthAndHeight: boolean;
}>;
outputs: ToOutput<{
token: SingleToken;
}>;
constructor(props: INodeDefinition);
execute(): void | Promise<void>;
}
//# sourceMappingURL=scopeNumber.d.ts.map