Interface: ResolveObjectResponse
Defined in: src/types/index.ts:123
Extends
output<typeofschemas.ResolveObjectResponse>
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
comment? | object | - | z.infer.comment | src/schemas/ResolveObjectResponse.ts:9 |
comment.banned_from_community | boolean | - | - | src/schemas/CommentView.ts:11 |
comment.comment | object | - | - | src/schemas/CommentView.ts:12 |
comment.comment.ap_id | string | The federated activity id / ap_id. | - | src/schemas/Comment.ts:7 |
comment.comment.child_count | number | The total number of children in this comment branch. | - | src/schemas/Comment.ts:11 |
comment.comment.content | string | - | - | src/schemas/Comment.ts:12 |
comment.comment.creator_id | number | - | - | src/schemas/Comment.ts:13 |
comment.comment.deleted | boolean | Whether the comment has been deleted by its creator. | - | src/schemas/Comment.ts:17 |
comment.comment.distinguished | boolean | Whether the comment has been distinguished (speaking officially) by a mod. | - | src/schemas/Comment.ts:21 |
comment.comment.downvotes | number | - | - | src/schemas/Comment.ts:22 |
comment.comment.id | number | - | - | src/schemas/Comment.ts:23 |
comment.comment.language_id | number | - | - | src/schemas/Comment.ts:24 |
comment.comment.local | boolean | Whether the comment is local. | - | src/schemas/Comment.ts:28 |
comment.comment.path | string | The path / tree location of a comment, separated by dots, ending with the comment's id. Ex: 0.24.27 | - | src/schemas/Comment.ts:33 |
comment.comment.post_id | number | - | - | src/schemas/Comment.ts:34 |
comment.comment.published_at | string | - | - | src/schemas/Comment.ts:35 |
comment.comment.removed | boolean | Whether the comment has been removed. | - | src/schemas/Comment.ts:39 |
comment.comment.score | number | - | - | src/schemas/Comment.ts:40 |
comment.comment.updated_at? | string | - | - | src/schemas/Comment.ts:41 |
comment.comment.upvotes | number | - | - | src/schemas/Comment.ts:42 |
comment.community | object | - | - | src/schemas/CommentView.ts:13 |
comment.community.ap_id | string | The federated activity id / ap_id. | - | src/schemas/Community.ts:9 |
comment.community.banner? | string | - | - | src/schemas/Community.ts:10 |
comment.community.comments | number | - | - | src/schemas/Community.ts:11 |
comment.community.deleted | boolean | - | - | src/schemas/Community.ts:12 |
comment.community.icon? | string | - | - | src/schemas/Community.ts:13 |
comment.community.id | number | - | - | src/schemas/Community.ts:14 |
comment.community.local | boolean | - | - | src/schemas/Community.ts:15 |
comment.community.name | string | - | - | src/schemas/Community.ts:16 |
comment.community.nsfw | boolean | - | - | src/schemas/Community.ts:17 |
comment.community.posting_restricted_to_mods | boolean | - | - | src/schemas/Community.ts:18 |
comment.community.posts | number | - | - | src/schemas/Community.ts:19 |
comment.community.published_at | string | - | - | src/schemas/Community.ts:20 |
comment.community.removed | boolean | - | - | src/schemas/Community.ts:21 |
comment.community.sidebar? | string | Long-form sidebar markdown (replaced v0's description). | - | src/schemas/Community.ts:25 |
comment.community.subscribers | number | - | - | src/schemas/Community.ts:26 |
comment.community.subscribers_local | number | - | - | src/schemas/Community.ts:27 |
comment.community.summary? | string | Short one-line summary. | - | src/schemas/Community.ts:31 |
comment.community.title | string | - | - | src/schemas/Community.ts:32 |
comment.community.updated_at? | string | - | - | src/schemas/Community.ts:33 |
comment.community.users_active_day | number | - | - | src/schemas/Community.ts:34 |
comment.community.users_active_half_year | number | - | - | src/schemas/Community.ts:35 |
comment.community.users_active_month | number | - | - | src/schemas/Community.ts:36 |
comment.community.users_active_week | number | - | - | src/schemas/Community.ts:37 |
comment.community.visibility | | "public" | "unlisted" | "local_only_public" | "local_only_private" | "private" | - | - | src/schemas/Community.ts:38 |
comment.creator | object | - | - | src/schemas/CommentView.ts:14 |
comment.creator.ap_id | string | The federated activity id / ap_id. | - | src/schemas/Person.ts:7 |
comment.creator.avatar? | string | - | - | src/schemas/Person.ts:8 |
comment.creator.banner? | string | - | - | src/schemas/Person.ts:9 |
comment.creator.bio? | string | - | - | src/schemas/Person.ts:10 |
comment.creator.bot_account | boolean | - | - | src/schemas/Person.ts:11 |
comment.creator.comment_count | number | - | - | src/schemas/Person.ts:12 |
comment.creator.deleted | boolean | - | - | src/schemas/Person.ts:13 |
comment.creator.display_name? | string | - | - | src/schemas/Person.ts:14 |
comment.creator.id | number | - | - | src/schemas/Person.ts:15 |
comment.creator.local | boolean | - | - | src/schemas/Person.ts:16 |
comment.creator.name | string | - | - | src/schemas/Person.ts:17 |
comment.creator.post_count | number | - | - | src/schemas/Person.ts:18 |
comment.creator.published_at | string | - | - | src/schemas/Person.ts:19 |
comment.creator_banned_from_community | boolean | - | - | src/schemas/CommentView.ts:15 |
comment.creator_is_admin | boolean | - | - | src/schemas/CommentView.ts:16 |
comment.creator_is_moderator | boolean | - | - | src/schemas/CommentView.ts:17 |
comment.my_vote? | number | - | - | src/schemas/CommentView.ts:18 |
comment.post | object | - | - | src/schemas/CommentView.ts:19 |
comment.post.alt_text? | string | An optional alt_text, usable for image posts. | - | src/schemas/Post.ts:7 |
comment.post.ap_id | string | The federated activity id / ap_id. | - | src/schemas/Post.ts:11 |
comment.post.body? | string | An optional post body, in markdown. | - | src/schemas/Post.ts:15 |
comment.post.comments | number | - | - | src/schemas/Post.ts:16 |
comment.post.community_id | number | - | - | src/schemas/Post.ts:17 |
comment.post.creator_id | number | - | - | src/schemas/Post.ts:18 |
comment.post.deleted | boolean | Whether the post is deleted. | - | src/schemas/Post.ts:22 |
comment.post.downvotes | number | - | - | src/schemas/Post.ts:23 |
comment.post.embed_description? | string | A description for the link. | - | src/schemas/Post.ts:27 |
comment.post.embed_title? | string | A title for the link. | - | src/schemas/Post.ts:31 |
comment.post.featured_community | boolean | Whether the post is featured to its community. | - | src/schemas/Post.ts:35 |
comment.post.featured_local | boolean | Whether the post is featured to its site. | - | src/schemas/Post.ts:39 |
comment.post.id | number | - | - | src/schemas/Post.ts:40 |
comment.post.language_id | number | - | - | src/schemas/Post.ts:41 |
comment.post.local | boolean | Whether the post is local. | - | src/schemas/Post.ts:45 |
comment.post.locked | boolean | Whether the post is locked. | - | src/schemas/Post.ts:49 |
comment.post.name | string | - | - | src/schemas/Post.ts:50 |
comment.post.newest_comment_time_at? | string | The time of the newest comment in the post. | - | src/schemas/Post.ts:54 |
comment.post.nsfw | boolean | Whether the post is NSFW. | - | src/schemas/Post.ts:58 |
comment.post.published_at | string | - | - | src/schemas/Post.ts:59 |
comment.post.removed | boolean | Whether the post is removed. | - | src/schemas/Post.ts:63 |
comment.post.score | number | - | - | src/schemas/Post.ts:64 |
comment.post.thumbnail_url? | string | A thumbnail picture url. | - | src/schemas/Post.ts:68 |
comment.post.updated_at? | string | - | - | src/schemas/Post.ts:69 |
comment.post.upvotes | number | - | - | src/schemas/Post.ts:70 |
comment.post.url? | string | An optional link / url for the post. | - | src/schemas/Post.ts:74 |
comment.post.url_content_type? | string | - | - | src/schemas/Post.ts:75 |
comment.saved | boolean | - | - | src/schemas/CommentView.ts:20 |
comment.subscribed | "Subscribed" | "NotSubscribed" | "Pending" | "ApprovalRequired" | - | - | src/schemas/CommentView.ts:21 |
community? | object | - | z.infer.community | src/schemas/ResolveObjectResponse.ts:10 |
community.blocked | boolean | - | - | src/schemas/CommunityView.ts:8 |
community.community | object | - | - | src/schemas/CommunityView.ts:9 |
community.community.ap_id | string | The federated activity id / ap_id. | - | src/schemas/Community.ts:9 |
community.community.banner? | string | - | - | src/schemas/Community.ts:10 |
community.community.comments | number | - | - | src/schemas/Community.ts:11 |
community.community.deleted | boolean | - | - | src/schemas/Community.ts:12 |
community.community.icon? | string | - | - | src/schemas/Community.ts:13 |
community.community.id | number | - | - | src/schemas/Community.ts:14 |
community.community.local | boolean | - | - | src/schemas/Community.ts:15 |
community.community.name | string | - | - | src/schemas/Community.ts:16 |
community.community.nsfw | boolean | - | - | src/schemas/Community.ts:17 |
community.community.posting_restricted_to_mods | boolean | - | - | src/schemas/Community.ts:18 |
community.community.posts | number | - | - | src/schemas/Community.ts:19 |
community.community.published_at | string | - | - | src/schemas/Community.ts:20 |
community.community.removed | boolean | - | - | src/schemas/Community.ts:21 |
community.community.sidebar? | string | Long-form sidebar markdown (replaced v0's description). | - | src/schemas/Community.ts:25 |
community.community.subscribers | number | - | - | src/schemas/Community.ts:26 |
community.community.subscribers_local | number | - | - | src/schemas/Community.ts:27 |
community.community.summary? | string | Short one-line summary. | - | src/schemas/Community.ts:31 |
community.community.title | string | - | - | src/schemas/Community.ts:32 |
community.community.updated_at? | string | - | - | src/schemas/Community.ts:33 |
community.community.users_active_day | number | - | - | src/schemas/Community.ts:34 |
community.community.users_active_half_year | number | - | - | src/schemas/Community.ts:35 |
community.community.users_active_month | number | - | - | src/schemas/Community.ts:36 |
community.community.users_active_week | number | - | - | src/schemas/Community.ts:37 |
community.community.visibility | | "public" | "unlisted" | "local_only_public" | "local_only_private" | "private" | - | - | src/schemas/Community.ts:38 |
community.notifications | | "all_posts_and_comments" | "all_posts" | "replies_and_mentions" | "mute" | - | - | src/schemas/CommunityView.ts:10 |
community.subscribed | "Subscribed" | "NotSubscribed" | "Pending" | "ApprovalRequired" | - | - | src/schemas/CommunityView.ts:11 |
person? | object | - | z.infer.person | src/schemas/ResolveObjectResponse.ts:11 |
person.is_admin | boolean | - | - | src/schemas/PersonView.ts:6 |
person.person | object | - | - | src/schemas/PersonView.ts:7 |
person.person.ap_id | string | The federated activity id / ap_id. | - | src/schemas/Person.ts:7 |
person.person.avatar? | string | - | - | src/schemas/Person.ts:8 |
person.person.banner? | string | - | - | src/schemas/Person.ts:9 |
person.person.bio? | string | - | - | src/schemas/Person.ts:10 |
person.person.bot_account | boolean | - | - | src/schemas/Person.ts:11 |
person.person.comment_count | number | - | - | src/schemas/Person.ts:12 |
person.person.deleted | boolean | - | - | src/schemas/Person.ts:13 |
person.person.display_name? | string | - | - | src/schemas/Person.ts:14 |
person.person.id | number | - | - | src/schemas/Person.ts:15 |
person.person.local | boolean | - | - | src/schemas/Person.ts:16 |
person.person.name | string | - | - | src/schemas/Person.ts:17 |
person.person.post_count | number | - | - | src/schemas/Person.ts:18 |
person.person.published_at | string | - | - | src/schemas/Person.ts:19 |
post? | object | - | z.infer.post | src/schemas/ResolveObjectResponse.ts:12 |
post.banned_from_community | boolean | - | - | src/schemas/PostView.ts:12 |
post.community | object | - | - | src/schemas/PostView.ts:13 |
post.community.ap_id | string | The federated activity id / ap_id. | - | src/schemas/Community.ts:9 |
post.community.banner? | string | - | - | src/schemas/Community.ts:10 |
post.community.comments | number | - | - | src/schemas/Community.ts:11 |
post.community.deleted | boolean | - | - | src/schemas/Community.ts:12 |
post.community.icon? | string | - | - | src/schemas/Community.ts:13 |
post.community.id | number | - | - | src/schemas/Community.ts:14 |
post.community.local | boolean | - | - | src/schemas/Community.ts:15 |
post.community.name | string | - | - | src/schemas/Community.ts:16 |
post.community.nsfw | boolean | - | - | src/schemas/Community.ts:17 |
post.community.posting_restricted_to_mods | boolean | - | - | src/schemas/Community.ts:18 |
post.community.posts | number | - | - | src/schemas/Community.ts:19 |
post.community.published_at | string | - | - | src/schemas/Community.ts:20 |
post.community.removed | boolean | - | - | src/schemas/Community.ts:21 |
post.community.sidebar? | string | Long-form sidebar markdown (replaced v0's description). | - | src/schemas/Community.ts:25 |
post.community.subscribers | number | - | - | src/schemas/Community.ts:26 |
post.community.subscribers_local | number | - | - | src/schemas/Community.ts:27 |
post.community.summary? | string | Short one-line summary. | - | src/schemas/Community.ts:31 |
post.community.title | string | - | - | src/schemas/Community.ts:32 |
post.community.updated_at? | string | - | - | src/schemas/Community.ts:33 |
post.community.users_active_day | number | - | - | src/schemas/Community.ts:34 |
post.community.users_active_half_year | number | - | - | src/schemas/Community.ts:35 |
post.community.users_active_month | number | - | - | src/schemas/Community.ts:36 |
post.community.users_active_week | number | - | - | src/schemas/Community.ts:37 |
post.community.visibility | | "public" | "unlisted" | "local_only_public" | "local_only_private" | "private" | - | - | src/schemas/Community.ts:38 |
post.creator | object | - | - | src/schemas/PostView.ts:14 |
post.creator.ap_id | string | The federated activity id / ap_id. | - | src/schemas/Person.ts:7 |
post.creator.avatar? | string | - | - | src/schemas/Person.ts:8 |
post.creator.banner? | string | - | - | src/schemas/Person.ts:9 |
post.creator.bio? | string | - | - | src/schemas/Person.ts:10 |
post.creator.bot_account | boolean | - | - | src/schemas/Person.ts:11 |
post.creator.comment_count | number | - | - | src/schemas/Person.ts:12 |
post.creator.deleted | boolean | - | - | src/schemas/Person.ts:13 |
post.creator.display_name? | string | - | - | src/schemas/Person.ts:14 |
post.creator.id | number | - | - | src/schemas/Person.ts:15 |
post.creator.local | boolean | - | - | src/schemas/Person.ts:16 |
post.creator.name | string | - | - | src/schemas/Person.ts:17 |
post.creator.post_count | number | - | - | src/schemas/Person.ts:18 |
post.creator.published_at | string | - | - | src/schemas/Person.ts:19 |
post.creator_banned_from_community | boolean | - | - | src/schemas/PostView.ts:15 |
post.creator_blocked | boolean | - | - | src/schemas/PostView.ts:16 |
post.creator_is_admin | boolean | - | - | src/schemas/PostView.ts:17 |
post.creator_is_moderator | boolean | - | - | src/schemas/PostView.ts:18 |
post.hidden | boolean | - | - | src/schemas/PostView.ts:19 |
post.my_vote? | number | - | - | src/schemas/PostView.ts:20 |
post.notifications | "replies_and_mentions" | "mute" | "all_comments" | - | - | src/schemas/PostView.ts:21 |
post.post | object | - | - | src/schemas/PostView.ts:22 |
post.post.alt_text? | string | An optional alt_text, usable for image posts. | - | src/schemas/Post.ts:7 |
post.post.ap_id | string | The federated activity id / ap_id. | - | src/schemas/Post.ts:11 |
post.post.body? | string | An optional post body, in markdown. | - | src/schemas/Post.ts:15 |
post.post.comments | number | - | - | src/schemas/Post.ts:16 |
post.post.community_id | number | - | - | src/schemas/Post.ts:17 |
post.post.creator_id | number | - | - | src/schemas/Post.ts:18 |
post.post.deleted | boolean | Whether the post is deleted. | - | src/schemas/Post.ts:22 |
post.post.downvotes | number | - | - | src/schemas/Post.ts:23 |
post.post.embed_description? | string | A description for the link. | - | src/schemas/Post.ts:27 |
post.post.embed_title? | string | A title for the link. | - | src/schemas/Post.ts:31 |
post.post.featured_community | boolean | Whether the post is featured to its community. | - | src/schemas/Post.ts:35 |
post.post.featured_local | boolean | Whether the post is featured to its site. | - | src/schemas/Post.ts:39 |
post.post.id | number | - | - | src/schemas/Post.ts:40 |
post.post.language_id | number | - | - | src/schemas/Post.ts:41 |
post.post.local | boolean | Whether the post is local. | - | src/schemas/Post.ts:45 |
post.post.locked | boolean | Whether the post is locked. | - | src/schemas/Post.ts:49 |
post.post.name | string | - | - | src/schemas/Post.ts:50 |
post.post.newest_comment_time_at? | string | The time of the newest comment in the post. | - | src/schemas/Post.ts:54 |
post.post.nsfw | boolean | Whether the post is NSFW. | - | src/schemas/Post.ts:58 |
post.post.published_at | string | - | - | src/schemas/Post.ts:59 |
post.post.removed | boolean | Whether the post is removed. | - | src/schemas/Post.ts:63 |
post.post.score | number | - | - | src/schemas/Post.ts:64 |
post.post.thumbnail_url? | string | A thumbnail picture url. | - | src/schemas/Post.ts:68 |
post.post.updated_at? | string | - | - | src/schemas/Post.ts:69 |
post.post.upvotes | number | - | - | src/schemas/Post.ts:70 |
post.post.url? | string | An optional link / url for the post. | - | src/schemas/Post.ts:74 |
post.post.url_content_type? | string | - | - | src/schemas/Post.ts:75 |
post.read | boolean | - | - | src/schemas/PostView.ts:23 |
post.read_comments_at? | string | When the current user last read the comments on this post (ISO 8601). Comments published after this can be treated as unread. Only provided by providers that track it (Lemmy v1); undefined otherwise. | - | src/schemas/PostView.ts:29 |
post.saved | boolean | - | - | src/schemas/PostView.ts:30 |
post.subscribed | "Subscribed" | "NotSubscribed" | "Pending" | "ApprovalRequired" | - | - | src/schemas/PostView.ts:31 |
post.tags | object[] | - | - | src/schemas/PostView.ts:32 |
post.unread_comments | number | - | - | src/schemas/PostView.ts:33 |
