20 lines
366 B
TypeScript
Executable File
20 lines
366 B
TypeScript
Executable File
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
|
|
export class NasaApi implements ICredentialType {
|
|
name = 'nasaApi';
|
|
|
|
displayName = 'NASA API';
|
|
|
|
documentationUrl = 'nasa';
|
|
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'API Key',
|
|
name: 'api_key',
|
|
type: 'string',
|
|
typeOptions: { password: true },
|
|
default: '',
|
|
},
|
|
];
|
|
}
|