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

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

20 lines
415 B
TypeScript
Raw Permalink Normal View History

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2019-06-23 03:35:23 -07:00
export class OpenWeatherMapApi implements ICredentialType {
name = 'openWeatherMapApi';
2019-06-23 03:35:23 -07:00
displayName = 'OpenWeatherMap API';
documentationUrl = 'openWeatherMap';
properties: INodeProperties[] = [
2019-06-23 03:35:23 -07:00
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string',
typeOptions: { password: true },
2019-06-23 03:35:23 -07:00
default: '',
},
];
}