Interface: ListSearchResponse
Defined in: src/types/index.ts:81
Extends
output<typeofschemas.ListSearchResponse>
Properties
| Property | Type | Inherited from | Defined in |
|---|---|---|---|
next_page? | string | number | z.infer.next_page | src/schemas/PagableResponse.ts:6 |
prev_page? | string | number | z.infer.prev_page | src/schemas/PagableResponse.ts:7 |
data | ( | { banned_from_community: boolean; comment: { ap_id: string; child_count: number; content: string; creator_id: number; deleted: boolean; distinguished: boolean; downvotes: number; id: number; language_id: number; local: boolean; path: string; post_id: number; published_at: string; removed: boolean; score: number; updated_at?: string; upvotes: number; }; community: { ap_id: string; banner?: string; comments: number; deleted: boolean; icon?: string; id: number; local: boolean; name: string; nsfw: boolean; posting_restricted_to_mods: boolean; posts: number; published_at: string; removed: boolean; sidebar?: string; subscribers: number; subscribers_local: number; summary?: string; title: string; updated_at?: string; users_active_day: number; users_active_half_year: number; users_active_month: number; users_active_week: number; visibility: | "public" | "unlisted" | "local_only_public" | "local_only_private" | "private"; }; creator: { ap_id: string; avatar?: string; banner?: string; bio?: string; bot_account: boolean; comment_count: number; deleted: boolean; display_name?: string; id: number; local: boolean; name: string; post_count: number; published_at: string; }; creator_banned_from_community: boolean; creator_is_admin: boolean; creator_is_moderator: boolean; my_vote?: number; post: { alt_text?: string; ap_id: string; body?: string; comments: number; community_id: number; creator_id: number; deleted: boolean; downvotes: number; embed_description?: string; embed_title?: string; featured_community: boolean; featured_local: boolean; id: number; language_id: number; local: boolean; locked: boolean; name: string; newest_comment_time_at?: string; nsfw: boolean; published_at: string; removed: boolean; score: number; thumbnail_url?: string; updated_at?: string; upvotes: number; url?: string; url_content_type?: string; }; saved: boolean; subscribed: "Subscribed" | "NotSubscribed" | "Pending" | "ApprovalRequired"; } | { banned_from_community: boolean; community: { ap_id: string; banner?: string; comments: number; deleted: boolean; icon?: string; id: number; local: boolean; name: string; nsfw: boolean; posting_restricted_to_mods: boolean; posts: number; published_at: string; removed: boolean; sidebar?: string; subscribers: number; subscribers_local: number; summary?: string; title: string; updated_at?: string; users_active_day: number; users_active_half_year: number; users_active_month: number; users_active_week: number; visibility: | "public" | "unlisted" | "local_only_public" | "local_only_private" | "private"; }; creator: { ap_id: string; avatar?: string; banner?: string; bio?: string; bot_account: boolean; comment_count: number; deleted: boolean; display_name?: string; id: number; local: boolean; name: string; post_count: number; published_at: string; }; creator_banned_from_community: boolean; creator_blocked: boolean; creator_is_admin: boolean; creator_is_moderator: boolean; hidden: boolean; my_vote?: number; notifications: "replies_and_mentions" | "mute" | "all_comments"; post: { alt_text?: string; ap_id: string; body?: string; comments: number; community_id: number; creator_id: number; deleted: boolean; downvotes: number; embed_description?: string; embed_title?: string; featured_community: boolean; featured_local: boolean; id: number; language_id: number; local: boolean; locked: boolean; name: string; newest_comment_time_at?: string; nsfw: boolean; published_at: string; removed: boolean; score: number; thumbnail_url?: string; updated_at?: string; upvotes: number; url?: string; url_content_type?: string; }; read: boolean; read_comments_at?: string; saved: boolean; subscribed: "Subscribed" | "NotSubscribed" | "Pending" | "ApprovalRequired"; tags: object[]; unread_comments: number; } | { is_admin: boolean; person: { ap_id: string; avatar?: string; banner?: string; bio?: string; bot_account: boolean; comment_count: number; deleted: boolean; display_name?: string; id: number; local: boolean; name: string; post_count: number; published_at: string; }; } | { blocked: boolean; community: { ap_id: string; banner?: string; comments: number; deleted: boolean; icon?: string; id: number; local: boolean; name: string; nsfw: boolean; posting_restricted_to_mods: boolean; posts: number; published_at: string; removed: boolean; sidebar?: string; subscribers: number; subscribers_local: number; summary?: string; title: string; updated_at?: string; users_active_day: number; users_active_half_year: number; users_active_month: number; users_active_week: number; visibility: | "public" | "unlisted" | "local_only_public" | "local_only_private" | "private"; }; notifications: | "all_posts_and_comments" | "all_posts" | "replies_and_mentions" | "mute"; subscribed: "Subscribed" | "NotSubscribed" | "Pending" | "ApprovalRequired"; })[] | z.infer.data | src/schemas/PagableResponse.ts:14 |
