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

20 lines
415 B
TypeScript
Raw 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: '',
},
];
}