mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-12-17 01:43:00 -06:00
BeeFlow 1
This commit is contained in:
parent
cfade8a9b3
commit
812cdaeace
8 changed files with 446 additions and 92 deletions
18
credentials/BeeFlowOmni.credentials.ts
Normal file
18
credentials/BeeFlowOmni.credentials.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import {
|
||||
ICredentialType,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class BeeFlowOmniKey implements ICredentialType {
|
||||
name = 'BeeFlowOmniKey';
|
||||
displayName = 'BeeFlow Omni API Key';
|
||||
documentationUrl = 'BeeFlowOmni';
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Authorization',
|
||||
name: 'apiKey Authorization',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
import {
|
||||
ICredentialType,
|
||||
NodePropertyTypes,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
|
||||
export class ExampleCredentials implements ICredentialType {
|
||||
name = 'exampleCredentials';
|
||||
displayName = 'Example Credentials';
|
||||
properties = [
|
||||
// The credentials to get from user and save encrypted.
|
||||
// Properties can be defined exactly in the same way
|
||||
// as node properties.
|
||||
{
|
||||
displayName: 'User',
|
||||
name: 'user',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Access Token',
|
||||
name: 'accessToken',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
},
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue