mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-17 01:54:06 -08:00
42 lines
905 B
TypeScript
42 lines
905 B
TypeScript
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
|
|
import { NodeConnectionType, 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: [NodeConnectionType.Main],
|
|
outputs: [NodeConnectionType.Main],
|
|
credentials: [
|
|
{
|
|
name: 'webflowOAuth2Api',
|
|
required: true,
|
|
},
|
|
],
|
|
properties: [
|
|
{
|
|
displayName: 'Resource',
|
|
name: 'resource',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
options: [
|
|
{
|
|
name: 'Item',
|
|
value: 'item',
|
|
},
|
|
],
|
|
default: 'item',
|
|
},
|
|
...item.description,
|
|
],
|
|
};
|