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

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

22 lines
544 B
TypeScript
Raw Normal View History

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2020-02-28 16:55:14 -08:00
export class DriftApi implements ICredentialType {
name = 'driftApi';
2020-02-28 16:55:14 -08:00
displayName = 'Drift API';
documentationUrl = 'drift';
properties: INodeProperties[] = [
2020-02-28 16:55:14 -08:00
{
displayName: 'Personal Access Token',
name: 'accessToken',
type: 'string',
typeOptions: { password: true },
2020-02-28 16:55:14 -08:00
default: '',
description:
'Visit your account details page, and grab the Access Token. See <a href="https://devdocs.drift.com/docs/quick-start">Drift auth</a>.',
2020-02-28 16:55:14 -08:00
},
];
}