interface HackerNewsNodeParameters {
additionalFields?:
| { includeComments?: boolean }
| {
keyword?: string;
tags?: (
| "comment"
| "ask_hn"
| "front_page"
| "poll"
| "show_hn"
| "story"
)[];
};
articleId?: string;
limit?: number;
operation?: "get"
| "getAll";
resource?: "all" | "user" | "article";
returnAll?: boolean;
username?: string;
}Properties§
§§§§§§
readonly additional Fields?:
| { includeComments?: boolean }
| {
keyword?: string;
tags?: (
| "comment"
| "ask_hn"
| "front_page"
| "poll"
| "show_hn"
| "story"
)[];
}§
readonly article Id?: stringThe ID of the Hacker News article to be returned
readonly limit?: numberMax number of results to return Default: 100 Type options: {"minValue":1}
readonly operation?: "get" | "getAll"Default: "getAll"
readonly resource?: "all" | "user" | "article"Default: "article"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly username?: stringThe Hacker News user to be returned
Default: {}