Flowise
26 строк · 773.0 Байт
1import { INodeParams, INodeCredential } from '../src/Interface'2
3class NotionApi implements INodeCredential {4label: string5name: string6version: number7description: string8inputs: INodeParams[]9
10constructor() {11this.label = 'Notion API'12this.name = 'notionApi'13this.version = 1.014this.description =15'You can find integration token <a target="_blank" href="https://developers.notion.com/docs/create-a-notion-integration#step-1-create-an-integration">here</a>'16this.inputs = [17{18label: 'Notion Integration Token',19name: 'notionIntegrationToken',20type: 'password'21}22]23}24}
25
26module.exports = { credClass: NotionApi }27