From d5c2fca01cfb9c3d9fe5b83f7e299bdb07915350 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Mon, 8 Jan 2024 13:30:44 +0100 Subject: [PATCH] API changes for local-only community (#228) https://github.com/LemmyNet/lemmy/pull/4350 Please push to npm for writing api tests. --- src/types/CreateCommunity.ts | 1 + src/types/EditCommunity.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/types/CreateCommunity.ts b/src/types/CreateCommunity.ts index 41c06c1..5c84a37 100644 --- a/src/types/CreateCommunity.ts +++ b/src/types/CreateCommunity.ts @@ -10,4 +10,5 @@ export interface CreateCommunity { nsfw?: boolean; posting_restricted_to_mods?: boolean; discussion_languages?: Array; + local_only?: boolean; } diff --git a/src/types/EditCommunity.ts b/src/types/EditCommunity.ts index 9d48fb4..5f9ecc6 100644 --- a/src/types/EditCommunity.ts +++ b/src/types/EditCommunity.ts @@ -11,4 +11,5 @@ export interface EditCommunity { nsfw?: boolean; posting_restricted_to_mods?: boolean; discussion_languages?: Array; + local_only?: boolean; }