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

23 lines
462 B
TypeScript
Raw Normal View History

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