From 4e4116848815744a157b8de49ebf2399fb01ba54 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 29 Apr 2022 13:21:23 -0400 Subject: [PATCH] Adding posting_restricted_to_mods (#48) --- src/interfaces/api/community.ts | 2 ++ src/interfaces/source.ts | 1 + 2 files changed, 3 insertions(+) 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 {