From 9b86f9e84d0c5ea64df0e9f69a646c154c3b8834 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sun, 23 Jul 2023 22:50:41 -0700 Subject: [PATCH] Cleaned up the consts and moved the Authorization.cs to the correct namespace --- .../Consts}/Authorization.cs | 0 .../Consts/ConfigConnectionStringsConst.cs | 10 ---------- Newsbot.Collector.Domain/Consts/ConfigTwitchConst.cs | 11 ----------- Newsbot.Collector.Domain/Consts/ConfigYoutubeConst.cs | 10 ---------- 4 files changed, 31 deletions(-) rename {Newsbot.Collector.Api/Domain => Newsbot.Collector.Domain/Consts}/Authorization.cs (100%) delete mode 100644 Newsbot.Collector.Domain/Consts/ConfigConnectionStringsConst.cs delete mode 100644 Newsbot.Collector.Domain/Consts/ConfigTwitchConst.cs delete mode 100644 Newsbot.Collector.Domain/Consts/ConfigYoutubeConst.cs diff --git a/Newsbot.Collector.Api/Domain/Authorization.cs b/Newsbot.Collector.Domain/Consts/Authorization.cs similarity index 100% rename from Newsbot.Collector.Api/Domain/Authorization.cs rename to Newsbot.Collector.Domain/Consts/Authorization.cs diff --git a/Newsbot.Collector.Domain/Consts/ConfigConnectionStringsConst.cs b/Newsbot.Collector.Domain/Consts/ConfigConnectionStringsConst.cs deleted file mode 100644 index 85f9db6..0000000 --- a/Newsbot.Collector.Domain/Consts/ConfigConnectionStringsConst.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Newsbot.Collector.Domain.Consts; - -/// -/// This class contains const entries to access keys within IConfiguration. -/// -public static class ConfigConnectionStringConst -{ - public const string Database = "ConnectionStrings:Database"; - public const string OpenTelemetry = "ConnectionStrings:OpenTelemetry"; -} \ No newline at end of file diff --git a/Newsbot.Collector.Domain/Consts/ConfigTwitchConst.cs b/Newsbot.Collector.Domain/Consts/ConfigTwitchConst.cs deleted file mode 100644 index 24b02fd..0000000 --- a/Newsbot.Collector.Domain/Consts/ConfigTwitchConst.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Newsbot.Collector.Domain.Consts; - -/// -/// This class contains const entries to access keys within IConfiguration. -/// -public class ConfigTwitchConst -{ - public const string IsEnabled = "Twitch:IsEnabled"; - public const string ClientID = "Twitch:ClientID"; - public const string ClientSecret = "Twitch:ClientSecret"; -} \ No newline at end of file diff --git a/Newsbot.Collector.Domain/Consts/ConfigYoutubeConst.cs b/Newsbot.Collector.Domain/Consts/ConfigYoutubeConst.cs deleted file mode 100644 index 41012f7..0000000 --- a/Newsbot.Collector.Domain/Consts/ConfigYoutubeConst.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Newsbot.Collector.Domain.Consts; - -/// -/// This class contains const entries to access keys within IConfiguration. -/// -public class ConfigYoutubeConst -{ - public const string IsEnable = "Youtube:IsEnabled"; - public const string Debug = "Youtube:Debug"; -} \ No newline at end of file