mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-30 06:59:41 -08:00
42 lines
851 B
TypeScript
42 lines
851 B
TypeScript
|
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
|
||
|
import type { INodeTypeDescription } from 'n8n-workflow';
|
||
|
|
||
|
import * as item from './Item/Item.resource';
|
||
|
|
||
|
export const versionDescription: INodeTypeDescription = {
|
||
|
displayName: 'Webflow',
|
||
|
name: 'webflow',
|
||
|
icon: 'file:webflow.svg',
|
||
|
group: ['transform'],
|
||
|
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
||
|
description: 'Consume the Webflow API',
|
||
|
version: [2],
|
||
|
defaults: {
|
||
|
name: 'Webflow',
|
||
|
},
|
||
|
inputs: ['main'],
|
||
|
outputs: ['main'],
|
||
|
credentials: [
|
||
|
{
|
||
|
name: 'webflowOAuth2Api',
|
||
|
required: true,
|
||
|
},
|
||
|
],
|
||
|
properties: [
|
||
|
{
|
||
|
displayName: 'Resource',
|
||
|
name: 'resource',
|
||
|
type: 'options',
|
||
|
noDataExpression: true,
|
||
|
options: [
|
||
|
{
|
||
|
name: 'Item',
|
||
|
value: 'item',
|
||
|
},
|
||
|
],
|
||
|
default: 'item',
|
||
|
},
|
||
|
...item.description,
|
||
|
],
|
||
|
};
|