mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-22 19:01:27 +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;
|
||||
posting_restricted_to_mods: boolean;
|
||||
instance_id: InstanceId;
|
||||
only_followers_can_vote: boolean;
|
||||
}
|
||||
|
|
|
@ -11,4 +11,5 @@ export interface CreateCommunity {
|
|||
posting_restricted_to_mods?: boolean;
|
||||
discussion_languages?: Array<LanguageId>;
|
||||
local_only?: boolean;
|
||||
only_followers_can_vote?: boolean;
|
||||
}
|
||||
|
|
|
@ -43,4 +43,6 @@ export interface CreateSite {
|
|||
blocked_instances?: Array<string>;
|
||||
taglines?: Array<string>;
|
||||
registration_mode?: RegistrationMode;
|
||||
content_warning?: string;
|
||||
auto_expand_images?: boolean;
|
||||
}
|
||||
|
|
|
@ -12,4 +12,5 @@ export interface EditCommunity {
|
|||
posting_restricted_to_mods?: boolean;
|
||||
discussion_languages?: Array<LanguageId>;
|
||||
local_only?: boolean;
|
||||
only_followers_can_vote?: boolean;
|
||||
}
|
||||
|
|
|
@ -44,4 +44,6 @@ export interface EditSite {
|
|||
taglines?: Array<string>;
|
||||
registration_mode?: RegistrationMode;
|
||||
reports_email_admins?: boolean;
|
||||
content_warning?: string;
|
||||
auto_expand_images?: boolean;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue