mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
43 lines
927 B
TypeScript
43 lines
927 B
TypeScript
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
|
|
import { NodeConnectionTypes, type INodeTypeDescription } from 'n8n-workflow';
|
|
|
|
import { rowFields, rowOperations } from './RowDescription';
|
|
|
|
export const versionDescription: INodeTypeDescription = {
|
|
displayName: 'SeaTable',
|
|
name: 'seaTable',
|
|
icon: 'file:seaTable.svg',
|
|
group: ['input'],
|
|
version: 1,
|
|
subtitle: '={{$parameter["resource"] + ": " + $parameter["operation"]}}',
|
|
description: 'Consume the SeaTable API',
|
|
defaults: {
|
|
name: 'SeaTable',
|
|
},
|
|
inputs: [NodeConnectionTypes.Main],
|
|
outputs: [NodeConnectionTypes.Main],
|
|
credentials: [
|
|
{
|
|
name: 'seaTableApi',
|
|
required: true,
|
|
},
|
|
],
|
|
properties: [
|
|
{
|
|
displayName: 'Resource',
|
|
name: 'resource',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
options: [
|
|
{
|
|
name: 'Row',
|
|
value: 'row',
|
|
},
|
|
],
|
|
default: 'row',
|
|
},
|
|
...rowOperations,
|
|
...rowFields,
|
|
],
|
|
};
|