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?: string
The ID of the Hacker News article to be returned
readonly limit?: number
Max 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?: boolean
Whether to return all results or only up to a given limit
readonly username?: string
The Hacker News user to be returned
Default: {}