UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

41 lines (37 loc) 932 B
/** * Hacker News Node - Version 1 * Discriminator: resource=article, operation=get */ /** Get a Hacker News article */ export type HackerNewsV1ArticleGetParams = { resource: 'article'; operation: 'get'; /** * The ID of the Hacker News article to be returned */ articleId?: string | Expression<string> | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Whether to include all the comments in a Hacker News article * @default false */ includeComments?: boolean | Expression<boolean>; }; }; export type HackerNewsV1ArticleGetOutput = { author?: string; created_at?: string; created_at_i?: number; id?: number; story_id?: number; type?: string; }; export type HackerNewsV1ArticleGetNode = { type: 'n8n-nodes-base.hackerNews'; version: 1; config: NodeConfig<HackerNewsV1ArticleGetParams>; output?: Items<HackerNewsV1ArticleGetOutput>; };