mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
20 lines
375 B
TypeScript
20 lines
375 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
export class OpenWeatherMapApi implements ICredentialType {
|
|
name = 'openWeatherMapApi';
|
|
displayName = 'OpenWeatherMap API';
|
|
documentationUrl = 'openWeatherMap';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Access Token',
|
|
name: 'accessToken',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
];
|
|
}
|