update input/output types

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-09-30 15:31:01 +02:00 committed by Christoph Dyllick-Brenzinger
parent 19c8e5f3fb
commit c6acb62112
5 changed files with 21 additions and 23 deletions

View file

@ -1,13 +1,11 @@
import type {
IPollFunctions,
INodeExecutionData,
INodeType,
INodeTypeDescription,
} from 'n8n-workflow';
import moment from 'moment-timezone'; import moment from 'moment-timezone';
import {
import { seaTableApiRequest, simplify_new, enrichColumns } from './v2/GenericFunctions'; type IPollFunctions,
type INodeExecutionData,
type INodeType,
type INodeTypeDescription,
NodeConnectionType,
} from 'n8n-workflow';
import type { import type {
ICtx, ICtx,
@ -20,7 +18,7 @@ import type {
ICollaboratorsResult, ICollaboratorsResult,
IColumnDigitalSignature, IColumnDigitalSignature,
} from './v2/actions/Interfaces'; } from './v2/actions/Interfaces';
import { seaTableApiRequest, simplify_new, enrichColumns } from './v2/GenericFunctions';
import { loadOptions } from './v2/methods'; import { loadOptions } from './v2/methods';
export class SeaTableTrigger implements INodeType { export class SeaTableTrigger implements INodeType {
@ -43,7 +41,7 @@ export class SeaTableTrigger implements INodeType {
], ],
polling: true, polling: true,
inputs: [], inputs: [],
outputs: ['main'], outputs: [NodeConnectionType.Main],
properties: [ properties: [
{ {
displayName: 'Event', displayName: 'Event',

View file

@ -1,4 +1,4 @@
import type { INodeTypeDescription } from 'n8n-workflow'; import { NodeConnectionType, type INodeTypeDescription } from 'n8n-workflow';
import { rowFields, rowOperations } from './RowDescription'; import { rowFields, rowOperations } from './RowDescription';
export const versionDescription: INodeTypeDescription = { export const versionDescription: INodeTypeDescription = {
@ -12,8 +12,8 @@ export const versionDescription: INodeTypeDescription = {
defaults: { defaults: {
name: 'SeaTable', name: 'SeaTable',
}, },
inputs: ['main'], inputs: [NodeConnectionType.Main],
outputs: ['main'], outputs: [NodeConnectionType.Main],
credentials: [ credentials: [
{ {
name: 'seaTableApi', name: 'seaTableApi',

View file

@ -1,5 +1,5 @@
/* eslint-disable n8n-nodes-base/node-filename-against-convention */ /* eslint-disable n8n-nodes-base/node-filename-against-convention */
import type { INodeTypeDescription } from 'n8n-workflow'; import { NodeConnectionType, type INodeTypeDescription } from 'n8n-workflow';
import { rowFields, rowOperations } from './RowDescription'; import { rowFields, rowOperations } from './RowDescription';
export const versionDescription: INodeTypeDescription = { export const versionDescription: INodeTypeDescription = {
@ -13,8 +13,8 @@ export const versionDescription: INodeTypeDescription = {
defaults: { defaults: {
name: 'SeaTable', name: 'SeaTable',
}, },
inputs: ['main'], inputs: [NodeConnectionType.Main],
outputs: ['main'], outputs: [NodeConnectionType.Main],
credentials: [ credentials: [
{ {
name: 'seaTableApi', name: 'seaTableApi',

View file

@ -1,4 +1,4 @@
import type { INodeTypeDescription } from 'n8n-workflow'; import { NodeConnectionType, type INodeTypeDescription } from 'n8n-workflow';
import * as row from './row'; import * as row from './row';
import * as base from './base'; import * as base from './base';
import * as link from './link'; import * as link from './link';
@ -15,8 +15,8 @@ export const versionDescription: INodeTypeDescription = {
defaults: { defaults: {
name: 'SeaTable', name: 'SeaTable',
}, },
inputs: ['main'], inputs: [NodeConnectionType.Main],
outputs: ['main'], outputs: [NodeConnectionType.Main],
credentials: [ credentials: [
{ {
name: 'seaTableApi', name: 'seaTableApi',

View file

@ -1,5 +1,5 @@
/* eslint-disable n8n-nodes-base/node-filename-against-convention */ /* eslint-disable n8n-nodes-base/node-filename-against-convention */
import type { INodeTypeDescription } from 'n8n-workflow'; import { NodeConnectionType, type INodeTypeDescription } from 'n8n-workflow';
import * as row from './row'; import * as row from './row';
import * as base from './base'; import * as base from './base';
import * as link from './link'; import * as link from './link';
@ -16,8 +16,8 @@ export const versionDescription: INodeTypeDescription = {
defaults: { defaults: {
name: 'SeaTable', name: 'SeaTable',
}, },
inputs: ['main'], inputs: [NodeConnectionType.Main],
outputs: ['main'], outputs: [NodeConnectionType.Main],
credentials: [ credentials: [
{ {
name: 'seaTableApi', name: 'seaTableApi',