Adding posting_restricted_to_mods (#48)

This commit is contained in:
Dessalines 2022-04-29 13:21:23 -04:00 committed by GitHub
parent 8d0fc63474
commit 4e41168488
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -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;
}

View file

@ -223,6 +223,7 @@ export interface CommunitySafe {
local: boolean;
icon?: string;
banner?: string;
posting_restricted_to_mods: boolean;
}
export interface CommentReport {