mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +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:
48
packages/nodes-base/credentials/SeaTableApi.credentials.ts
Normal file
48
packages/nodes-base/credentials/SeaTableApi.credentials.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class SeaTableApi implements ICredentialType {
|
||||
name = 'seaTableApi';
|
||||
displayName = 'SeaTable API';
|
||||
documentationUrl = 'seaTable';
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Environment',
|
||||
name: 'environment',
|
||||
type: 'options',
|
||||
default: 'cloudHosted',
|
||||
options: [
|
||||
{
|
||||
name: 'Cloud-hosted',
|
||||
value: 'cloudHosted',
|
||||
},
|
||||
{
|
||||
name: 'Self-hosted',
|
||||
value: 'selfHosted',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
displayName: 'Self-hosted domain',
|
||||
name: 'domain',
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'https://www.mydomain.com',
|
||||
displayOptions: {
|
||||
show: {
|
||||
environment: [
|
||||
'selfHosted',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'API Token (of a Base)',
|
||||
name: 'token',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user