mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
48830eda77
* Add E-goi Node * ⚡ Improvements to #1224 * ⚡ Small improvements * ⚡ Minor improvements to Egoi-Node * ⚡ Add 'simple' option to get and getAll operations. * ⚡ Minor improvements to Egoi-Node Co-authored-by: fbobiano <fbobiano@e-goi.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
21 lines
439 B
TypeScript
21 lines
439 B
TypeScript
import {
|
|
ICredentialType,
|
|
NodePropertyTypes,
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
export class EgoiApi implements ICredentialType {
|
|
name = 'egoiApi';
|
|
displayName = 'e-goi API';
|
|
properties = [
|
|
// The credentials to get from user and save encrypted.
|
|
// Properties can be defined exactly in the same way
|
|
// as node properties.
|
|
{
|
|
displayName: 'API Key',
|
|
name: 'apiKey',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
},
|
|
];
|
|
} |