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:
Nutomic 2024-01-08 13:30:44 +01:00 committed by GitHub
parent cfffa99cda
commit d5c2fca01c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

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

View file

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