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

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

20 lines
381 B
TypeScript
Raw Normal View History

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2020-02-25 11:50:42 -08:00
export class AffinityApi implements ICredentialType {
name = 'affinityApi';
2020-02-25 11:50:42 -08:00
displayName = 'Affinity API';
documentationUrl = 'affinity';
properties: INodeProperties[] = [
2020-02-25 11:50:42 -08:00
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
2020-02-25 11:50:42 -08:00
default: '',
},
];
}