summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-25 07:28:58 +0100
committerRory& <root@rory.gay>2025-12-25 07:28:58 +0100
commit4ddd05e35c5889acff593d59e3c77f4d1fd06a40 (patch)
tree1d24f74728194e315114a96a39addf50a93ba294
parentWIP nix stuff (diff)
downloadserver-ts-4ddd05e35c5889acff593d59e3c77f4d1fd06a40.tar.xz
Drop unused Kafka configuration
-rw-r--r--src/util/config/Config.ts2
-rw-r--r--src/util/config/types/KafkaConfiguration.ts23
-rw-r--r--src/util/config/types/index.ts1
3 files changed, 0 insertions, 26 deletions
diff --git a/src/util/config/Config.ts b/src/util/config/Config.ts

index 0a567660..9dd5b893 100644 --- a/src/util/config/Config.ts +++ b/src/util/config/Config.ts
@@ -26,7 +26,6 @@ import { GeneralConfiguration, GifConfiguration, GuildConfiguration, - KafkaConfiguration, LimitsConfiguration, LoginConfiguration, MetricsConfiguration, @@ -53,7 +52,6 @@ export class ConfigValue { guild: GuildConfiguration = new GuildConfiguration(); gif: GifConfiguration = new GifConfiguration(); rabbitmq: RabbitMQConfiguration = new RabbitMQConfiguration(); - kafka: KafkaConfiguration = new KafkaConfiguration(); templates: TemplateConfiguration = new TemplateConfiguration(); metrics: MetricsConfiguration = new MetricsConfiguration(); defaults: DefaultsConfiguration = new DefaultsConfiguration(); diff --git a/src/util/config/types/KafkaConfiguration.ts b/src/util/config/types/KafkaConfiguration.ts deleted file mode 100644
index b2eadd91..00000000 --- a/src/util/config/types/KafkaConfiguration.ts +++ /dev/null
@@ -1,23 +0,0 @@ -/* - 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/>. -*/ - -import { KafkaBroker } from "."; - -export class KafkaConfiguration { - brokers: KafkaBroker[] | null = null; -} diff --git a/src/util/config/types/index.ts b/src/util/config/types/index.ts
index cc671bfa..fc8c8560 100644 --- a/src/util/config/types/index.ts +++ b/src/util/config/types/index.ts
@@ -25,7 +25,6 @@ export * from "./ExternalTokensConfiguration"; export * from "./GeneralConfiguration"; export * from "./GifConfiguration"; export * from "./GuildConfiguration"; -export * from "./KafkaConfiguration"; export * from "./LimitConfigurations"; export * from "./LoginConfiguration"; export * from "./MetricsConfiguration";