import { INode, INodeOutputsValue, INodeParams } from '../../../src/Interface' class StickyNote implements INode { label: string name: string version: number description: string type: string icon: string category: string baseClasses: string[] inputs: INodeParams[] disableOutput: boolean constructor() { this.label = 'Sticky Note' this.name = 'stickyNote' this.version = 1.0 this.type = 'StickyNote' this.icon = 'stickyNote.svg' this.category = 'Tools' this.description = 'Add a note about a node' this.inputs = [ { label: 'Note', name: 'note', type: 'string', rows: 4, placeholder: 'Input your notes', optional: true } ] this.disableOutput = true this.baseClasses = [this.type] } async init(): Promise { return new StickyNote() } } module.exports = { nodeClass: StickyNote }