n8n/packages/nodes-base/credentials/OpenWeatherMapApi.credentials.ts
2019-06-23 12:35:23 +02:00

19 lines
341 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class OpenWeatherMapApi implements ICredentialType {
name = 'openWeatherMapApi';
displayName = 'OpenWeatherMap API';
properties = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}