summary refs log tree commit diff
path: root/src/util/schemas
diff options
context:
space:
mode:
authorTomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>2024-07-13 06:09:07 +0200
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2024-07-17 19:53:31 +1000
commitd56ba868519c673c59bb7074af0c595f4fe5cb47 (patch)
treee4c68d7e02c4452be6ddd9e968f9a6a79e703078 /src/util/schemas
parentAdd /policies/instance/connections (diff)
downloadserver-ts-d56ba868519c673c59bb7074af0c595f4fe5cb47.tar.xz
Update schema & add response type
Diffstat (limited to 'src/util/schemas')
-rw-r--r--src/util/schemas/responses/TypedResponses.ts10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/util/schemas/responses/TypedResponses.ts b/src/util/schemas/responses/TypedResponses.ts

index fa169c25..14067844 100644 --- a/src/util/schemas/responses/TypedResponses.ts +++ b/src/util/schemas/responses/TypedResponses.ts
@@ -1,17 +1,17 @@ /* Spacebar: A FOSS re-implementation and extension of the Discord.com backend. Copyright (C) 2023 Spacebar and Spacebar Contributors - + This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. */ @@ -104,3 +104,7 @@ export type APIGuildVoiceRegion = GuildVoiceRegion[]; export type APILimitsConfiguration = LimitsConfiguration; export type APIStickerPackArray = StickerPack[]; + +export type APIConnectionsConfiguration = Record<string, { + enabled: boolean; +}>;