Interface: GetCommunityResponse
Defined in: src/types/index.ts:29
Extends
output<typeofschemas.GetCommunityResponse>
Properties
| Property | Type | Default value | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
community_view | object | CommunityView | - | z.infer.community_view | src/schemas/GetCommunityResponse.ts:6 |
community_view.blocked | boolean | undefined | - | - | src/schemas/CommunityView.ts:8 |
community_view.community | object | Community | - | - | src/schemas/CommunityView.ts:9 |
community_view.community.ap_id | string | undefined | The federated activity id / ap_id. | - | src/schemas/Community.ts:9 |
community_view.community.banner? | string | undefined | - | - | src/schemas/Community.ts:10 |
community_view.community.comments | number | undefined | - | - | src/schemas/Community.ts:11 |
community_view.community.deleted | boolean | undefined | - | - | src/schemas/Community.ts:12 |
community_view.community.icon? | string | undefined | - | - | src/schemas/Community.ts:13 |
community_view.community.id | number | undefined | - | - | src/schemas/Community.ts:14 |
community_view.community.local | boolean | undefined | - | - | src/schemas/Community.ts:15 |
community_view.community.name | string | undefined | - | - | src/schemas/Community.ts:16 |
community_view.community.nsfw | boolean | undefined | - | - | src/schemas/Community.ts:17 |
community_view.community.posting_restricted_to_mods | boolean | undefined | - | - | src/schemas/Community.ts:18 |
community_view.community.posts | number | undefined | - | - | src/schemas/Community.ts:19 |
community_view.community.published_at | string | undefined | - | - | src/schemas/Community.ts:20 |
community_view.community.removed | boolean | undefined | - | - | src/schemas/Community.ts:21 |
community_view.community.sidebar? | string | undefined | Long-form sidebar markdown (replaced v0's description). | - | src/schemas/Community.ts:25 |
community_view.community.subscribers | number | undefined | - | - | src/schemas/Community.ts:26 |
community_view.community.subscribers_local | number | undefined | - | - | src/schemas/Community.ts:27 |
community_view.community.summary? | string | undefined | Short one-line summary. | - | src/schemas/Community.ts:31 |
community_view.community.title | string | undefined | - | - | src/schemas/Community.ts:32 |
community_view.community.updated_at? | string | undefined | - | - | src/schemas/Community.ts:33 |
community_view.community.users_active_day | number | undefined | - | - | src/schemas/Community.ts:34 |
community_view.community.users_active_half_year | number | undefined | - | - | src/schemas/Community.ts:35 |
community_view.community.users_active_month | number | undefined | - | - | src/schemas/Community.ts:36 |
community_view.community.users_active_week | number | undefined | - | - | src/schemas/Community.ts:37 |
community_view.community.visibility | | "public" | "unlisted" | "local_only_public" | "local_only_private" | "private" | CommunityVisibility | - | - | src/schemas/Community.ts:38 |
community_view.notifications | | "all_posts_and_comments" | "all_posts" | "replies_and_mentions" | "mute" | CommunityNotificationsMode | - | - | src/schemas/CommunityView.ts:10 |
community_view.subscribed | "Subscribed" | "NotSubscribed" | "Pending" | "ApprovalRequired" | SubscribedType | - | - | src/schemas/CommunityView.ts:11 |
moderators | object[] | undefined | - | z.infer.moderators | src/schemas/GetCommunityResponse.ts:7 |
