diff --git a/src/util/config/Config.ts b/src/util/config/Config.ts index 0a567660c..9dd5b8935 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 b2eadd917..000000000 --- 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 . -*/ - -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 cc671bfa6..fc8c85605 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";