Integrate changes from lemmynsfw fork (#232)

See https://github.com/LemmyNet/lemmy/pull/4393
This commit is contained in:
Nutomic 2024-01-23 13:44:58 +01:00 committed by GitHub
parent c01fc0c017
commit f2868f31de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 9 additions and 0 deletions

View file

@ -19,4 +19,5 @@ export interface Community {
hidden: boolean;
posting_restricted_to_mods: boolean;
instance_id: InstanceId;
only_followers_can_vote: boolean;
}

View file

@ -11,4 +11,5 @@ export interface CreateCommunity {
posting_restricted_to_mods?: boolean;
discussion_languages?: Array<LanguageId>;
local_only?: boolean;
only_followers_can_vote?: boolean;
}

View file

@ -43,4 +43,6 @@ export interface CreateSite {
blocked_instances?: Array<string>;
taglines?: Array<string>;
registration_mode?: RegistrationMode;
content_warning?: string;
auto_expand_images?: boolean;
}

View file

@ -12,4 +12,5 @@ export interface EditCommunity {
posting_restricted_to_mods?: boolean;
discussion_languages?: Array<LanguageId>;
local_only?: boolean;
only_followers_can_vote?: boolean;
}

View file

@ -44,4 +44,6 @@ export interface EditSite {
taglines?: Array<string>;
registration_mode?: RegistrationMode;
reports_email_admins?: boolean;
content_warning?: string;
auto_expand_images?: boolean;
}

View file

@ -29,4 +29,6 @@ export interface LocalSite {
registration_mode: RegistrationMode;
reports_email_admins: boolean;
federation_signed_fetch: boolean;
content_warning?: string;
auto_expand_images: boolean;
}