Skip to main content

Items

Table of contents

Type Aliases

Type Aliases

TCommentItem

Ƭ TCommentItem: TCommentListItem & { comments: TComment[] ; forms: Pick<TForms, "comment"> ; links: Pick<TLinks, "more"> }

Item page that displays a comment.

Remarks

Sample page: https://news.ycombinator.com/item?id=2921983

Defined in

types/src/content/views/items/commentItem.ts:7


TJobItem

Ƭ TJobItem: TJobListItem & { bodyHTML?: string }

Item page that displays a job.

Remarks

Sample page: https://news.ycombinator.com/item?id=37320729

Defined in

types/src/content/views/items/jobItem.ts:7


TPollItem

Ƭ TPollItem: TStoryListItem & { comments: TComment[] ; links: Pick<TLinks, "more"> ; options: TPollOptionItem[] }

Item page that displays a poll.

Remarks

Sample page: https://news.ycombinator.com/item?id=126809

Defined in

types/src/content/views/items/pollItem.ts:7


TStoryItem

Ƭ TStoryItem: TStoryListItem & { bodyHTML?: string ; comments: TComment[] ; forms: Pick<TForms, "comment"> ; links: Pick<TLinks, "more"> }

Item page that displays a story.

Remarks

Sample page: https://news.ycombinator.com/item?id=37392676

Defined in

types/src/content/views/items/storyItem.ts:7