mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-23 03:11:26 +00:00
API changes for local-only community (#228)
https://github.com/LemmyNet/lemmy/pull/4350 Please push to npm for writing api tests.
This commit is contained in:
parent
cfffa99cda
commit
d5c2fca01c
2 changed files with 2 additions and 0 deletions
|
@ -10,4 +10,5 @@ export interface CreateCommunity {
|
||||||
nsfw?: boolean;
|
nsfw?: boolean;
|
||||||
posting_restricted_to_mods?: boolean;
|
posting_restricted_to_mods?: boolean;
|
||||||
discussion_languages?: Array<LanguageId>;
|
discussion_languages?: Array<LanguageId>;
|
||||||
|
local_only?: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,4 +11,5 @@ export interface EditCommunity {
|
||||||
nsfw?: boolean;
|
nsfw?: boolean;
|
||||||
posting_restricted_to_mods?: boolean;
|
posting_restricted_to_mods?: boolean;
|
||||||
discussion_languages?: Array<LanguageId>;
|
discussion_languages?: Array<LanguageId>;
|
||||||
|
local_only?: boolean;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue