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

20 lines
376 B
TypeScript
Raw Normal View History

import { 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: '',
},
];
}