mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
✨ Add SeaTable node and trigger (#2240)
* Add SeaTable node Node for SeaTable, initial credentials, trigger- and standard-node. Contribution-by: SeaTable GmbH <https://seatable.io> Signed-off-by: Tom Klingenberg <tkl@seatable.io> * ⚡ Improvements * ⚡ Improvements * ⚡ Fix node and method names and table parameter * ⚡ Change display name for now again Co-authored-by: Tom Klingenberg <tkl@seatable.io> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
49
packages/nodes-base/nodes/SeaTable/Schema.ts
Normal file
49
packages/nodes-base/nodes/SeaTable/Schema.ts
Normal file
@@ -0,0 +1,49 @@
|
||||
import {TColumnType, TDateTimeFormat, TInheritColumnKey} from './types';
|
||||
|
||||
export type ColumnType = keyof typeof schema.columnTypes;
|
||||
|
||||
export const schema = {
|
||||
rowFetchSegmentLimit: 1000,
|
||||
dateTimeFormat: 'YYYY-MM-DDTHH:mm:ss.SSSZ',
|
||||
internalNames: {
|
||||
'_id': 'text',
|
||||
'_creator': 'creator',
|
||||
'_ctime': 'ctime',
|
||||
'_last_modifier': 'last-modifier',
|
||||
'_mtime': 'mtime',
|
||||
'_seq': 'auto-number',
|
||||
},
|
||||
columnTypes: {
|
||||
text: 'Text',
|
||||
'long-text': 'Long Text',
|
||||
number: 'Number',
|
||||
collaborator: 'Collaborator',
|
||||
date: 'Date',
|
||||
duration: 'Duration',
|
||||
'single-select': 'Single Select',
|
||||
'multiple-select': 'Multiple Select',
|
||||
email: 'Email',
|
||||
url: 'URL',
|
||||
'rate': 'Rating',
|
||||
checkbox: 'Checkbox',
|
||||
formula: 'Formula',
|
||||
creator: 'Creator',
|
||||
ctime: 'Created time',
|
||||
'last-modifier': 'Last Modifier',
|
||||
mtime: 'Last modified time',
|
||||
'auto-number': 'Auto number',
|
||||
},
|
||||
nonUpdateAbleColumnTypes: {
|
||||
'creator': 'creator',
|
||||
'ctime': 'ctime',
|
||||
'last-modifier': 'last-modifier',
|
||||
'mtime': 'mtime',
|
||||
'auto-number': 'auto-number',
|
||||
},
|
||||
} as {
|
||||
rowFetchSegmentLimit: number,
|
||||
dateTimeFormat: TDateTimeFormat,
|
||||
internalNames: { [key in TInheritColumnKey]: ColumnType }
|
||||
columnTypes: { [key in TColumnType]: string }
|
||||
nonUpdateAbleColumnTypes: { [key in ColumnType]: ColumnType }
|
||||
};
|
||||
Reference in New Issue
Block a user