mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 00:54:06 -08:00
update input/output types
This commit is contained in:
parent
19c8e5f3fb
commit
c6acb62112
|
@ -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',
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue