n8n-nodes-base
Version:
Base nodes of n8n
36 lines (32 loc) • 841 B
text/typescript
/**
* NASA Node - Version 1
* Discriminator: resource=asteroidNeoLookup, operation=get
*/
interface Credentials {
nasaApi: CredentialReference;
}
/** Get the Astronomy Picture of the Day */
export type NasaV1AsteroidNeoLookupGetParams = {
resource: 'asteroidNeoLookup';
operation: 'get';
/**
* The ID of the asteroid to be returned
*/
asteroidId?: string | Expression<string> | PlaceholderValue;
/**
* Additional Fields
* @default {}
*/
additionalFields?: {
/** Whether to include all the close approach data in the asteroid lookup
* @default false
*/
includeCloseApproachData?: boolean | Expression<boolean>;
};
};
export type NasaV1AsteroidNeoLookupGetNode = {
type: 'n8n-nodes-base.nasa';
version: 1;
credentials?: Credentials;
config: NodeConfig<NasaV1AsteroidNeoLookupGetParams>;
};