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

20 lines
375 B
TypeScript
Raw Normal View History

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