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

26 lines
452 B
TypeScript
Raw Normal View History

2020-01-17 14:48:54 -08:00
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class CopperApi implements ICredentialType {
name = 'copperApi';
displayName = 'Copper API';
properties = [
{
displayName: 'API Key',
name: 'apiKey',
required: true,
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Email',
name: 'email',
required: true,
type: 'string' as NodePropertyTypes,
default: '',
},
];
}