mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-23 03:11:26 +00:00
Integrate changes from lemmynsfw fork (#232)
See https://github.com/LemmyNet/lemmy/pull/4393
This commit is contained in:
parent
c01fc0c017
commit
f2868f31de
6 changed files with 9 additions and 0 deletions
|
@ -19,4 +19,5 @@ export interface Community {
|
||||||
hidden: boolean;
|
hidden: boolean;
|
||||||
posting_restricted_to_mods: boolean;
|
posting_restricted_to_mods: boolean;
|
||||||
instance_id: InstanceId;
|
instance_id: InstanceId;
|
||||||
|
only_followers_can_vote: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,4 +11,5 @@ export interface CreateCommunity {
|
||||||
posting_restricted_to_mods?: boolean;
|
posting_restricted_to_mods?: boolean;
|
||||||
discussion_languages?: Array<LanguageId>;
|
discussion_languages?: Array<LanguageId>;
|
||||||
local_only?: boolean;
|
local_only?: boolean;
|
||||||
|
only_followers_can_vote?: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,4 +43,6 @@ export interface CreateSite {
|
||||||
blocked_instances?: Array<string>;
|
blocked_instances?: Array<string>;
|
||||||
taglines?: Array<string>;
|
taglines?: Array<string>;
|
||||||
registration_mode?: RegistrationMode;
|
registration_mode?: RegistrationMode;
|
||||||
|
content_warning?: string;
|
||||||
|
auto_expand_images?: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,4 +12,5 @@ export interface EditCommunity {
|
||||||
posting_restricted_to_mods?: boolean;
|
posting_restricted_to_mods?: boolean;
|
||||||
discussion_languages?: Array<LanguageId>;
|
discussion_languages?: Array<LanguageId>;
|
||||||
local_only?: boolean;
|
local_only?: boolean;
|
||||||
|
only_followers_can_vote?: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,4 +44,6 @@ export interface EditSite {
|
||||||
taglines?: Array<string>;
|
taglines?: Array<string>;
|
||||||
registration_mode?: RegistrationMode;
|
registration_mode?: RegistrationMode;
|
||||||
reports_email_admins?: boolean;
|
reports_email_admins?: boolean;
|
||||||
|
content_warning?: string;
|
||||||
|
auto_expand_images?: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,4 +29,6 @@ export interface LocalSite {
|
||||||
registration_mode: RegistrationMode;
|
registration_mode: RegistrationMode;
|
||||||
reports_email_admins: boolean;
|
reports_email_admins: boolean;
|
||||||
federation_signed_fetch: boolean;
|
federation_signed_fetch: boolean;
|
||||||
|
content_warning?: string;
|
||||||
|
auto_expand_images: boolean;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue