n8n/packages/nodes-base/credentials/SpontitApi.credentials.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
470 B
TypeScript
Raw Normal View History

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
export class SpontitApi implements ICredentialType {
name = 'spontitApi';
displayName = 'Spontit API';
documentationUrl = 'spontit';
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
},
{
displayName: 'Username',
name: 'username',
type: 'string',
default: '',
},
];
}