We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6eda8 commit 0530aabCopy full SHA for 0530aab
src/types/v2/community.v2.types.ts
@@ -1,7 +1,18 @@
1
+export type CommunityJoinPolicy =
2
+ | 'Open'
3
+ | 'RestrictedJoinRequestsDisabled'
4
+ | 'RestrictedJoinRequestsRequireAdminApproval'
5
+ | 'RestrictedJoinRequestsRequireModeratorApproval'
6
+ | 'SuperFollowRequired';
7
+
8
export interface CommunityV2 {
9
id: string;
10
name: string;
11
created_at: string;
12
+ description?: string;
13
+ access?: 'Public' | 'Closed';
14
+ join_policy?: CommunityJoinPolicy;
15
+ member_count?: number;
16
}
17
18
export interface CommunityErrorV2 {
0 commit comments