diff --git a/src/interfaces/api/community.ts b/src/interfaces/api/community.ts index 6341ab1..ddb97e3 100644 --- a/src/interfaces/api/community.ts +++ b/src/interfaces/api/community.ts @@ -30,6 +30,7 @@ export interface CreateCommunity { icon?: string; banner?: string; nsfw?: boolean; + posting_restricted_to_mods?: boolean; auth: string; } @@ -99,6 +100,7 @@ export interface EditCommunity { icon?: string; banner?: string; nsfw?: boolean; + posting_restricted_to_mods?: boolean; auth: string; } diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index 10a5d94..8d01aa2 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -223,6 +223,7 @@ export interface CommunitySafe { local: boolean; icon?: string; banner?: string; + posting_restricted_to_mods: boolean; } export interface CommentReport {