mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-27 05:29:42 -08:00
18 lines
301 B
TypeScript
18 lines
301 B
TypeScript
|
import {
|
||
|
ICredentialType,
|
||
|
NodePropertyTypes,
|
||
|
} from 'n8n-workflow';
|
||
|
|
||
|
export class NasaApi implements ICredentialType {
|
||
|
name = 'nasaApi';
|
||
|
displayName = 'NASA API';
|
||
|
properties = [
|
||
|
{
|
||
|
displayName: 'API Key',
|
||
|
name: 'api_key',
|
||
|
type: 'string' as NodePropertyTypes,
|
||
|
default: '',
|
||
|
},
|
||
|
];
|
||
|
}
|