From 47b1627605da46106d3a6e9f6fb985ee25638e0e Mon Sep 17 00:00:00 2001 From: Jay Malhotra Date: Fri, 6 Sep 2024 21:04:02 +0100 Subject: [PATCH] Import MoqQueryable namespace + remove unused usings --- .../Repositories/FortRepositoryTest.cs | 1 - DragaliaAPI/DragaliaAPI.Database/Entities/DbNewsItem.cs | 4 +--- .../CustomWebApplicationFactory.cs | 2 -- .../Features/Dungeon/DungeonRecordTest.cs | 3 --- .../Features/Dungeon/DungeonStartTest.cs | 1 - .../Features/Login/LoginTest.cs | 1 - .../Features/SavefileUpdate/V18UpdateTest.cs | 1 - .../Features/SavefileUpdate/V1UpdateTest.cs | 1 - .../Features/StorySkip/StorySkipTest.cs | 1 - .../Features/Wall/WallRecordTest.cs | 2 -- .../DragaliaAPI.Integration.Test/Features/Wall/WallTest.cs | 2 -- DragaliaAPI/DragaliaAPI.Integration.Test/TestFixture.cs | 2 -- DragaliaAPI/DragaliaAPI.MissionDesigner/Program.cs | 1 - .../DragaliaAPI.Shared.SourceGenerator/Transforms.cs | 1 - .../DragaliaAPI.Shared/MasterAsset/MasterAssetData.cs | 1 - .../DragaliaAPI.Shared/MasterAsset/MasterAssetGroup.cs | 1 - .../MasterAsset/Models/Event/EventData.cs | 3 +-- .../Controllers/AbilityCrestControllerTest.cs | 5 +---- .../DragaliaAPI.Test/Controllers/DungeonControllerTest.cs | 2 -- .../DragaliaAPI.Test/Controllers/QuestControllerTest.cs | 2 -- .../Features/AbilityCrests/AbilityCrestServiceTest.cs | 1 - .../DragaliaAPI.Test/Features/Dmode/DmodeControllerTest.cs | 4 +--- .../DragaliaAPI.Test/Features/Dmode/DmodeServiceTest.cs | 3 +-- .../Features/Dungeon/AbilityCrestMultiplierServiceTest.cs | 4 +--- .../Features/Dungeon/DungeonServiceTest.cs | 1 - .../Dungeon/Record/DungeonRecordRewardServiceTest.cs | 1 - .../Features/Dungeon/Record/DungeonRecordServiceTest.cs | 2 -- .../DragaliaAPI.Test/Features/Fort/FortServiceTest.cs | 3 +-- .../Features/Missions/MissionControllerTest.cs | 3 +-- .../Features/Tutorial/TutorialServiceTest.cs | 3 +-- .../DragaliaAPI.Test/Features/Wall/WallControllerTest.cs | 1 - .../Features/Wall/WallRecordControllerTest.cs | 1 - DragaliaAPI/DragaliaAPI.Test/Services/AuthServiceTest.cs | 3 +-- DragaliaAPI/DragaliaAPI.Test/Services/BonusServiceTest.cs | 3 +-- DragaliaAPI/DragaliaAPI.Test/Services/DragonServiceTest.cs | 3 +-- DragaliaAPI/DragaliaAPI.Test/Services/StoryServiceTest.cs | 6 +----- DragaliaAPI/DragaliaAPI.Test/UnitTestUtils.cs | 3 +-- .../Features/AbilityCrests/AbilityCrestService.cs | 1 - DragaliaAPI/DragaliaAPI/Features/Dmode/DmodeController.cs | 1 - .../DragaliaAPI/Features/Dmode/DmodeSkipResetAction.cs | 1 - .../Features/Dungeon/AbilityCrestMultiplierService.cs | 1 - .../Features/Dungeon/AutoRepeat/AutoRepeatService.cs | 1 - .../DragaliaAPI/Features/Dungeon/DungeonController.cs | 2 -- DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonMapper.cs | 1 - DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonService.cs | 3 +-- .../DragaliaAPI/Features/Dungeon/IDungeonService.cs | 4 +--- .../Features/Dungeon/IQuestCompletionService.cs | 3 +-- .../DragaliaAPI/Features/Dungeon/QuestCompletionService.cs | 1 - .../Features/Dungeon/Record/DungeonRecordHelperService.cs | 3 --- .../Features/Dungeon/Record/DungeonRecordService.cs | 2 -- .../Features/Dungeon/Record/IDungeonRecordRewardService.cs | 1 - .../Features/Dungeon/Record/IDungeonRecordService.cs | 3 +-- .../Features/Dungeon/Skip/DungeonSkipController.cs | 1 - .../DragaliaAPI/Features/GraphQL/UserDataMutations.cs | 1 - DragaliaAPI/DragaliaAPI/Features/Login/LoginController.cs | 2 -- .../Features/Missions/InitialProgress/WallCalculator.cs | 1 - .../Features/Present/PresentControllerService.cs | 4 +--- DragaliaAPI/DragaliaAPI/Features/Present/PresentService.cs | 1 - DragaliaAPI/DragaliaAPI/Features/Quest/IQuestService.cs | 1 - DragaliaAPI/DragaliaAPI/Features/Quest/QuestController.cs | 2 -- DragaliaAPI/DragaliaAPI/Features/Quest/QuestService.cs | 1 - .../Features/Reward/Handlers/AbilityCrestRewardHandler.cs | 1 - .../DragaliaAPI/Features/SavefileUpdate/V14Update.cs | 1 - .../DragaliaAPI/Features/SavefileUpdate/V15Update.cs | 4 +--- .../DragaliaAPI/Features/SavefileUpdate/V18Update.cs | 2 -- .../DragaliaAPI/Features/SavefileUpdate/V1Update.cs | 1 - .../DragaliaAPI/Features/SavefileUpdate/V4Update.cs | 1 - .../DragaliaAPI/Features/SavefileUpdate/V7Update.cs | 4 +--- .../DragaliaAPI/Features/SavefileUpdate/V9Update.cs | 1 - DragaliaAPI/DragaliaAPI/Features/Story/StoryService.cs | 1 - .../Features/Summoning/RedoableSummonController.cs | 1 - DragaliaAPI/DragaliaAPI/Features/Wall/WallController.cs | 1 - .../DragaliaAPI/Features/Wall/WallRecordController.cs | 1 - .../DragaliaAPI/Features/Wall/WallStartController.cs | 3 +-- DragaliaAPI/DragaliaAPI/Features/Web/FeatureExtensions.cs | 1 - DragaliaAPI/DragaliaAPI/Features/Web/News/NewsService.cs | 1 - .../Features/Web/Savefile/EditorWidgetsService.cs | 2 -- .../Features/Web/Savefile/SavefileController.cs | 1 - .../Features/Web/TimeAttack/TimeAttackService.cs | 1 - .../DragaliaAPI/Features/Web/WebAuthenticationHelper.cs | 6 ------ .../Middleware/ResultCodeLoggingMiddleware.cs | 2 -- DragaliaAPI/DragaliaAPI/Models/Results/DragaliaResponse.cs | 1 - .../RazorComponents/TimeAttack/Team/AbilityCrestIcon.razor | 3 +-- .../RazorComponents/TimeAttack/Team/CharaIcon.razor | 3 +-- .../RazorComponents/TimeAttack/Team/DragonIcon.razor | 3 +-- .../RazorComponents/TimeAttack/Team/SkillIcon.razor | 3 +-- .../RazorComponents/TimeAttack/Team/TalismanIcon.razor | 3 +-- .../RazorComponents/TimeAttack/Team/WeaponIcon.razor | 3 +-- DragaliaAPI/DragaliaAPI/ServiceConfiguration.cs | 7 ------- .../DragaliaAPI/Services/Photon/HeroParamService.cs | 4 +--- .../Event/GameCloseTest.cs | 1 - .../Event/MatchingTypeTest.cs | 1 - .../Event/RoomIdTest.cs | 1 - .../Event/VisibleTest.cs | 1 - .../Controllers/EventController.cs | 1 - 95 files changed, 29 insertions(+), 166 deletions(-) diff --git a/DragaliaAPI/DragaliaAPI.Database.Test/Repositories/FortRepositoryTest.cs b/DragaliaAPI/DragaliaAPI.Database.Test/Repositories/FortRepositoryTest.cs index 39d040bcf..2f7bbf647 100644 --- a/DragaliaAPI/DragaliaAPI.Database.Test/Repositories/FortRepositoryTest.cs +++ b/DragaliaAPI/DragaliaAPI.Database.Test/Repositories/FortRepositoryTest.cs @@ -3,7 +3,6 @@ using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.PlayerDetails; using DragaliaAPI.Test.Utils; -using Microsoft.EntityFrameworkCore; namespace DragaliaAPI.Database.Test.Repositories; diff --git a/DragaliaAPI/DragaliaAPI.Database/Entities/DbNewsItem.cs b/DragaliaAPI/DragaliaAPI.Database/Entities/DbNewsItem.cs index 7f67910f9..663f64cd7 100644 --- a/DragaliaAPI/DragaliaAPI.Database/Entities/DbNewsItem.cs +++ b/DragaliaAPI/DragaliaAPI.Database/Entities/DbNewsItem.cs @@ -1,6 +1,4 @@ -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace DragaliaAPI.Database.Entities; diff --git a/DragaliaAPI/DragaliaAPI.Integration.Test/CustomWebApplicationFactory.cs b/DragaliaAPI/DragaliaAPI.Integration.Test/CustomWebApplicationFactory.cs index 2d6defc7f..64a6237a6 100644 --- a/DragaliaAPI/DragaliaAPI.Integration.Test/CustomWebApplicationFactory.cs +++ b/DragaliaAPI/DragaliaAPI.Integration.Test/CustomWebApplicationFactory.cs @@ -1,5 +1,4 @@ using DragaliaAPI.Database; -using DragaliaAPI.Features.Web; using DragaliaAPI.Models.Options; using DragaliaAPI.Services.Api; using DragaliaAPI.Shared.MasterAsset; @@ -12,7 +11,6 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; -using Microsoft.Extensions.Options; using Npgsql; using Respawn; using Respawn.Graph; diff --git a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Dungeon/DungeonRecordTest.cs b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Dungeon/DungeonRecordTest.cs index 85ff1c764..d1db609e2 100644 --- a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Dungeon/DungeonRecordTest.cs +++ b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Dungeon/DungeonRecordTest.cs @@ -3,12 +3,9 @@ using DragaliaAPI.Database.Entities; using DragaliaAPI.Features.Dungeon; using DragaliaAPI.Features.Tutorial; -using DragaliaAPI.Models; -using DragaliaAPI.Services.Game; using DragaliaAPI.Shared.Features.Presents; using DragaliaAPI.Shared.MasterAsset; using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.DependencyInjection; namespace DragaliaAPI.Integration.Test.Features.Dungeon; diff --git a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Dungeon/DungeonStartTest.cs b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Dungeon/DungeonStartTest.cs index 1b7f54e7e..7e9100603 100644 --- a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Dungeon/DungeonStartTest.cs +++ b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Dungeon/DungeonStartTest.cs @@ -1,6 +1,5 @@ using DragaliaAPI.Database.Entities; using DragaliaAPI.Features.Tutorial; -using DragaliaAPI.Services.Game; using DragaliaAPI.Shared.MasterAsset; using DragaliaAPI.Shared.MasterAsset.Models; using Microsoft.EntityFrameworkCore; diff --git a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Login/LoginTest.cs b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Login/LoginTest.cs index 6850358fe..51fc55368 100644 --- a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Login/LoginTest.cs +++ b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Login/LoginTest.cs @@ -1,5 +1,4 @@ using DragaliaAPI.Database.Entities; -using DragaliaAPI.Features.Login; using DragaliaAPI.Features.Login.Actions; using DragaliaAPI.Features.Wall; using DragaliaAPI.Shared.MasterAsset.Models.Missions; diff --git a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/SavefileUpdate/V18UpdateTest.cs b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/SavefileUpdate/V18UpdateTest.cs index a5c24be41..6740462b4 100644 --- a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/SavefileUpdate/V18UpdateTest.cs +++ b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/SavefileUpdate/V18UpdateTest.cs @@ -1,7 +1,6 @@ using DragaliaAPI.Database.Entities; using DragaliaAPI.Database.Utils; using DragaliaAPI.Features.Tutorial; -using DragaliaAPI.Services.Game; using DragaliaAPI.Shared.MasterAsset.Models.Missions; namespace DragaliaAPI.Integration.Test.Features.SavefileUpdate; diff --git a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/SavefileUpdate/V1UpdateTest.cs b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/SavefileUpdate/V1UpdateTest.cs index 760fc3f5c..93a046230 100644 --- a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/SavefileUpdate/V1UpdateTest.cs +++ b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/SavefileUpdate/V1UpdateTest.cs @@ -1,6 +1,5 @@ using DragaliaAPI.Database.Entities; using DragaliaAPI.Features.Tutorial; -using DragaliaAPI.Services.Game; using Microsoft.EntityFrameworkCore; namespace DragaliaAPI.Integration.Test.Features.SavefileUpdate; diff --git a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/StorySkip/StorySkipTest.cs b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/StorySkip/StorySkipTest.cs index c4b7bc634..59d7a3060 100644 --- a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/StorySkip/StorySkipTest.cs +++ b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/StorySkip/StorySkipTest.cs @@ -3,7 +3,6 @@ using DragaliaAPI.Database.Utils; using DragaliaAPI.Features.StorySkip; using DragaliaAPI.Shared.Features.StorySkip; -using DragaliaAPI.Shared.MasterAsset.Models.Missions; using Microsoft.EntityFrameworkCore; using static DragaliaAPI.Shared.Features.StorySkip.StorySkipRewards; diff --git a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Wall/WallRecordTest.cs b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Wall/WallRecordTest.cs index 54a403c6b..a036983df 100644 --- a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Wall/WallRecordTest.cs +++ b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Wall/WallRecordTest.cs @@ -1,10 +1,8 @@ using DragaliaAPI.Database.Entities; using DragaliaAPI.Database.Utils; using DragaliaAPI.Features.Dungeon; -using DragaliaAPI.Models; using DragaliaAPI.Shared.MasterAsset.Models.Missions; using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.DependencyInjection; namespace DragaliaAPI.Integration.Test.Features.Wall; diff --git a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Wall/WallTest.cs b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Wall/WallTest.cs index 3e075ff8e..720c9a8d4 100644 --- a/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Wall/WallTest.cs +++ b/DragaliaAPI/DragaliaAPI.Integration.Test/Features/Wall/WallTest.cs @@ -1,8 +1,6 @@ using DragaliaAPI.Database.Entities; using DragaliaAPI.Features.Dungeon; -using DragaliaAPI.Models; using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.DependencyInjection; namespace DragaliaAPI.Integration.Test.Features.Wall; diff --git a/DragaliaAPI/DragaliaAPI.Integration.Test/TestFixture.cs b/DragaliaAPI/DragaliaAPI.Integration.Test/TestFixture.cs index cf390c1e0..09d18ad86 100644 --- a/DragaliaAPI/DragaliaAPI.Integration.Test/TestFixture.cs +++ b/DragaliaAPI/DragaliaAPI.Integration.Test/TestFixture.cs @@ -5,14 +5,12 @@ using DragaliaAPI.Extensions; using DragaliaAPI.Features.Dungeon; using DragaliaAPI.Features.Fort; -using DragaliaAPI.Features.Web; using DragaliaAPI.Models; using DragaliaAPI.Models.Options; using DragaliaAPI.Services; using DragaliaAPI.Services.Api; using DragaliaAPI.Shared.PlayerDetails; using DragaliaAPI.Shared.Serialization; -using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.EntityFrameworkCore; diff --git a/DragaliaAPI/DragaliaAPI.MissionDesigner/Program.cs b/DragaliaAPI/DragaliaAPI.MissionDesigner/Program.cs index d77bc642d..4a723ba74 100644 --- a/DragaliaAPI/DragaliaAPI.MissionDesigner/Program.cs +++ b/DragaliaAPI/DragaliaAPI.MissionDesigner/Program.cs @@ -2,7 +2,6 @@ using System.Text.Json; using System.Text.Json.Serialization; using DragaliaAPI.MissionDesigner; -using DragaliaAPI.MissionDesigner.Missions; using DragaliaAPI.MissionDesigner.Missions.Drill; using DragaliaAPI.MissionDesigner.Models.Attributes; using DragaliaAPI.Shared.Serialization; diff --git a/DragaliaAPI/DragaliaAPI.Shared.SourceGenerator/Transforms.cs b/DragaliaAPI/DragaliaAPI.Shared.SourceGenerator/Transforms.cs index f8e679c79..c7c34f05d 100644 --- a/DragaliaAPI/DragaliaAPI.Shared.SourceGenerator/Transforms.cs +++ b/DragaliaAPI/DragaliaAPI.Shared.SourceGenerator/Transforms.cs @@ -1,6 +1,5 @@ using System.Diagnostics.CodeAnalysis; using Microsoft.CodeAnalysis; -using Microsoft.CodeAnalysis.CSharp.Syntax; namespace DragaliaAPI.Shared.SourceGenerator; diff --git a/DragaliaAPI/DragaliaAPI.Shared/MasterAsset/MasterAssetData.cs b/DragaliaAPI/DragaliaAPI.Shared/MasterAsset/MasterAssetData.cs index 0aee5748e..f3cd362da 100644 --- a/DragaliaAPI/DragaliaAPI.Shared/MasterAsset/MasterAssetData.cs +++ b/DragaliaAPI/DragaliaAPI.Shared/MasterAsset/MasterAssetData.cs @@ -2,7 +2,6 @@ using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.Reflection; -using DragaliaAPI.Shared.Serialization; using MessagePack; namespace DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI.Shared/MasterAsset/MasterAssetGroup.cs b/DragaliaAPI/DragaliaAPI.Shared/MasterAsset/MasterAssetGroup.cs index cb10bffd8..12601cf71 100644 --- a/DragaliaAPI/DragaliaAPI.Shared/MasterAsset/MasterAssetGroup.cs +++ b/DragaliaAPI/DragaliaAPI.Shared/MasterAsset/MasterAssetGroup.cs @@ -2,7 +2,6 @@ using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Text.Json; -using DragaliaAPI.Shared.Serialization; using MessagePack; using MessagePack.Resolvers; diff --git a/DragaliaAPI/DragaliaAPI.Shared/MasterAsset/Models/Event/EventData.cs b/DragaliaAPI/DragaliaAPI.Shared/MasterAsset/Models/Event/EventData.cs index 03be48b43..1499423fc 100644 --- a/DragaliaAPI/DragaliaAPI.Shared/MasterAsset/Models/Event/EventData.cs +++ b/DragaliaAPI/DragaliaAPI.Shared/MasterAsset/Models/Event/EventData.cs @@ -1,5 +1,4 @@ -using System.Collections.Frozen; -using DragaliaAPI.Shared.Definitions.Enums; +using DragaliaAPI.Shared.Definitions.Enums; namespace DragaliaAPI.Shared.MasterAsset.Models.Event; diff --git a/DragaliaAPI/DragaliaAPI.Test/Controllers/AbilityCrestControllerTest.cs b/DragaliaAPI/DragaliaAPI.Test/Controllers/AbilityCrestControllerTest.cs index dff50c1ff..ca9e79540 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Controllers/AbilityCrestControllerTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Controllers/AbilityCrestControllerTest.cs @@ -1,15 +1,12 @@ using AutoMapper; -using DragaliaAPI.Controllers.Dragalia; using DragaliaAPI.Database.Entities; -using DragaliaAPI.Database.Repositories; using DragaliaAPI.Features.AbilityCrests; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset; using DragaliaAPI.Test.Utils; -using MockQueryable.EntityFrameworkCore; -using MockQueryable.Moq; +using MockQueryable; namespace DragaliaAPI.Test.Controllers; diff --git a/DragaliaAPI/DragaliaAPI.Test/Controllers/DungeonControllerTest.cs b/DragaliaAPI/DragaliaAPI.Test/Controllers/DungeonControllerTest.cs index 4c42d3b71..4be406617 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Controllers/DungeonControllerTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Controllers/DungeonControllerTest.cs @@ -1,9 +1,7 @@ using DragaliaAPI.Features.Dungeon; using DragaliaAPI.Features.Dungeon.Record; -using DragaliaAPI.Features.Dungeon.Start; using DragaliaAPI.Features.Quest; using DragaliaAPI.Features.Reward; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services; using DragaliaAPI.Services.Photon; diff --git a/DragaliaAPI/DragaliaAPI.Test/Controllers/QuestControllerTest.cs b/DragaliaAPI/DragaliaAPI.Test/Controllers/QuestControllerTest.cs index c92eb1981..16107c7e1 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Controllers/QuestControllerTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Controllers/QuestControllerTest.cs @@ -1,11 +1,9 @@ using DragaliaAPI.Features.ClearParty; using DragaliaAPI.Features.Quest; -using DragaliaAPI.Features.Reward; using DragaliaAPI.Features.Story; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services; using DragaliaAPI.Shared.Definitions.Enums; -using Microsoft.EntityFrameworkCore.Metadata.Internal; namespace DragaliaAPI.Test.Controllers; diff --git a/DragaliaAPI/DragaliaAPI.Test/Features/AbilityCrests/AbilityCrestServiceTest.cs b/DragaliaAPI/DragaliaAPI.Test/Features/AbilityCrests/AbilityCrestServiceTest.cs index 95ecb7795..84d4e2e75 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Features/AbilityCrests/AbilityCrestServiceTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Features/AbilityCrests/AbilityCrestServiceTest.cs @@ -4,7 +4,6 @@ using DragaliaAPI.Features.Missions; using DragaliaAPI.Features.Tutorial; using DragaliaAPI.Models.Generated; -using DragaliaAPI.Services; using DragaliaAPI.Services.Exceptions; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI.Test/Features/Dmode/DmodeControllerTest.cs b/DragaliaAPI/DragaliaAPI.Test/Features/Dmode/DmodeControllerTest.cs index 921f29895..9029b89d2 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Features/Dmode/DmodeControllerTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Features/Dmode/DmodeControllerTest.cs @@ -1,5 +1,4 @@ using DragaliaAPI.Database.Entities; -using DragaliaAPI.Database.Repositories; using DragaliaAPI.Features.Dmode; using DragaliaAPI.Features.Reward; using DragaliaAPI.Features.Story; @@ -7,8 +6,7 @@ using DragaliaAPI.Services; using DragaliaAPI.Shared.Definitions.Enums; using Microsoft.Extensions.Time.Testing; -using MockQueryable.EntityFrameworkCore; -using MockQueryable.Moq; +using MockQueryable; namespace DragaliaAPI.Test.Features.Dmode; diff --git a/DragaliaAPI/DragaliaAPI.Test/Features/Dmode/DmodeServiceTest.cs b/DragaliaAPI/DragaliaAPI.Test/Features/Dmode/DmodeServiceTest.cs index cea5f1df4..e58e63897 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Features/Dmode/DmodeServiceTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Features/Dmode/DmodeServiceTest.cs @@ -10,8 +10,7 @@ using DragaliaAPI.Shared.MasterAsset.Models.Dmode; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Time.Testing; -using MockQueryable.EntityFrameworkCore; -using MockQueryable.Moq; +using MockQueryable; using DbPlayerDmodeDungeon = DragaliaAPI.Database.Entities.DbPlayerDmodeDungeon; namespace DragaliaAPI.Test.Features.Dmode; diff --git a/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/AbilityCrestMultiplierServiceTest.cs b/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/AbilityCrestMultiplierServiceTest.cs index 2bf861e75..8395a192b 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/AbilityCrestMultiplierServiceTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/AbilityCrestMultiplierServiceTest.cs @@ -1,12 +1,10 @@ using DragaliaAPI.Database.Entities; -using DragaliaAPI.Database.Repositories; using DragaliaAPI.Features.AbilityCrests; using DragaliaAPI.Features.Dungeon; using DragaliaAPI.Models.Generated; using DragaliaAPI.Shared.Definitions.Enums; using Microsoft.Extensions.Logging.Abstractions; -using MockQueryable.EntityFrameworkCore; -using MockQueryable.Moq; +using MockQueryable; namespace DragaliaAPI.Test.Features.Dungeon; diff --git a/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/DungeonServiceTest.cs b/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/DungeonServiceTest.cs index 1b31656fd..c2f2146a4 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/DungeonServiceTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/DungeonServiceTest.cs @@ -1,5 +1,4 @@ using DragaliaAPI.Features.Dungeon; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; using DragaliaAPI.Models.Options; using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/Record/DungeonRecordRewardServiceTest.cs b/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/Record/DungeonRecordRewardServiceTest.cs index 3ce7e8611..2fbf972ed 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/Record/DungeonRecordRewardServiceTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/Record/DungeonRecordRewardServiceTest.cs @@ -6,7 +6,6 @@ using DragaliaAPI.Features.Missions; using DragaliaAPI.Features.Present; using DragaliaAPI.Features.Reward; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/Record/DungeonRecordServiceTest.cs b/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/Record/DungeonRecordServiceTest.cs index 55becf5e2..f535ad3bb 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/Record/DungeonRecordServiceTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Features/Dungeon/Record/DungeonRecordServiceTest.cs @@ -6,9 +6,7 @@ using DragaliaAPI.Features.Quest; using DragaliaAPI.Features.Reward; using DragaliaAPI.Features.Tutorial; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; -using DragaliaAPI.Services; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset; using DragaliaAPI.Test.Utils; diff --git a/DragaliaAPI/DragaliaAPI.Test/Features/Fort/FortServiceTest.cs b/DragaliaAPI/DragaliaAPI.Test/Features/Fort/FortServiceTest.cs index 02e2edb84..9a28f52fa 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Features/Fort/FortServiceTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Features/Fort/FortServiceTest.cs @@ -14,8 +14,7 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Microsoft.Extensions.Time.Testing; -using MockQueryable.EntityFrameworkCore; -using MockQueryable.Moq; +using MockQueryable; using Range = Moq.Range; namespace DragaliaAPI.Test.Features.Fort; diff --git a/DragaliaAPI/DragaliaAPI.Test/Features/Missions/MissionControllerTest.cs b/DragaliaAPI/DragaliaAPI.Test/Features/Missions/MissionControllerTest.cs index 5308acc31..ec4a22765 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Features/Missions/MissionControllerTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Features/Missions/MissionControllerTest.cs @@ -7,8 +7,7 @@ using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset.Models.Missions; using DragaliaAPI.Test.Utils; -using MockQueryable.EntityFrameworkCore; -using MockQueryable.Moq; +using MockQueryable; namespace DragaliaAPI.Test.Features.Missions; diff --git a/DragaliaAPI/DragaliaAPI.Test/Features/Tutorial/TutorialServiceTest.cs b/DragaliaAPI/DragaliaAPI.Test/Features/Tutorial/TutorialServiceTest.cs index 21a30c633..6fd785051 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Features/Tutorial/TutorialServiceTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Features/Tutorial/TutorialServiceTest.cs @@ -5,8 +5,7 @@ using DragaliaAPI.Features.Tutorial; using DragaliaAPI.Features.Wall; using Microsoft.Extensions.Logging; -using MockQueryable.EntityFrameworkCore; -using MockQueryable.Moq; +using MockQueryable; namespace DragaliaAPI.Test.Features.Tutorial; diff --git a/DragaliaAPI/DragaliaAPI.Test/Features/Wall/WallControllerTest.cs b/DragaliaAPI/DragaliaAPI.Test/Features/Wall/WallControllerTest.cs index 1eb4d9c22..e5e092a71 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Features/Wall/WallControllerTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Features/Wall/WallControllerTest.cs @@ -7,7 +7,6 @@ using DragaliaAPI.Services; using DragaliaAPI.Shared.Definitions.Enums; using Microsoft.Extensions.Logging.Abstractions; -using NSubstitute; namespace DragaliaAPI.Test.Features.Wall; diff --git a/DragaliaAPI/DragaliaAPI.Test/Features/Wall/WallRecordControllerTest.cs b/DragaliaAPI/DragaliaAPI.Test/Features/Wall/WallRecordControllerTest.cs index d9787bcc5..a98523259 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Features/Wall/WallRecordControllerTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Features/Wall/WallRecordControllerTest.cs @@ -4,7 +4,6 @@ using DragaliaAPI.Features.Present; using DragaliaAPI.Features.Reward; using DragaliaAPI.Features.Wall; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services; using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI.Test/Services/AuthServiceTest.cs b/DragaliaAPI/DragaliaAPI.Test/Services/AuthServiceTest.cs index e7c6b130e..7663b21f7 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Services/AuthServiceTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Services/AuthServiceTest.cs @@ -17,8 +17,7 @@ using Microsoft.Extensions.Options; using Microsoft.Extensions.Time.Testing; using Microsoft.IdentityModel.Tokens; -using MockQueryable.EntityFrameworkCore; -using MockQueryable.Moq; +using MockQueryable; namespace DragaliaAPI.Test.Services; diff --git a/DragaliaAPI/DragaliaAPI.Test/Services/BonusServiceTest.cs b/DragaliaAPI/DragaliaAPI.Test/Services/BonusServiceTest.cs index a41dff398..ba3e95649 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Services/BonusServiceTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Services/BonusServiceTest.cs @@ -8,8 +8,7 @@ using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.Serialization; using Microsoft.Extensions.Logging; -using MockQueryable.EntityFrameworkCore; -using MockQueryable.Moq; +using MockQueryable; using static DragaliaAPI.Test.Utils.IdentityTestUtils; namespace DragaliaAPI.Test.Services; diff --git a/DragaliaAPI/DragaliaAPI.Test/Services/DragonServiceTest.cs b/DragaliaAPI/DragaliaAPI.Test/Services/DragonServiceTest.cs index 839f93f86..3d5dffb3f 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Services/DragonServiceTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Services/DragonServiceTest.cs @@ -13,8 +13,7 @@ using DragaliaAPI.Shared.MasterAsset; using DragaliaAPI.Test.Utils; using Microsoft.Extensions.Time.Testing; -using MockQueryable.EntityFrameworkCore; -using MockQueryable.Moq; +using MockQueryable; namespace DragaliaAPI.Test.Services; diff --git a/DragaliaAPI/DragaliaAPI.Test/Services/StoryServiceTest.cs b/DragaliaAPI/DragaliaAPI.Test/Services/StoryServiceTest.cs index b1f734d81..2fb2b5351 100644 --- a/DragaliaAPI/DragaliaAPI.Test/Services/StoryServiceTest.cs +++ b/DragaliaAPI/DragaliaAPI.Test/Services/StoryServiceTest.cs @@ -1,4 +1,3 @@ -using DragaliaAPI.Database; using DragaliaAPI.Database.Entities; using DragaliaAPI.Database.Repositories; using DragaliaAPI.Database.Test; @@ -11,13 +10,10 @@ using DragaliaAPI.Features.Story; using DragaliaAPI.Features.Tutorial; using DragaliaAPI.Models.Generated; -using DragaliaAPI.Services; -using DragaliaAPI.Services.Game; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.PlayerDetails; using Microsoft.Extensions.Logging; -using MockQueryable.EntityFrameworkCore; -using MockQueryable.Moq; +using MockQueryable; namespace DragaliaAPI.Test.Services; diff --git a/DragaliaAPI/DragaliaAPI.Test/UnitTestUtils.cs b/DragaliaAPI/DragaliaAPI.Test/UnitTestUtils.cs index 2a3845063..d4a2789f7 100644 --- a/DragaliaAPI/DragaliaAPI.Test/UnitTestUtils.cs +++ b/DragaliaAPI/DragaliaAPI.Test/UnitTestUtils.cs @@ -6,8 +6,7 @@ using DragaliaAPI.Shared.PlayerDetails; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; -using MockQueryable.EntityFrameworkCore; -using MockQueryable.Moq; +using MockQueryable; using Moq.Language.Flow; using Xunit.Abstractions; diff --git a/DragaliaAPI/DragaliaAPI/Features/AbilityCrests/AbilityCrestService.cs b/DragaliaAPI/DragaliaAPI/Features/AbilityCrests/AbilityCrestService.cs index 729d595d2..4fc0a88f9 100644 --- a/DragaliaAPI/DragaliaAPI/Features/AbilityCrests/AbilityCrestService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/AbilityCrests/AbilityCrestService.cs @@ -4,7 +4,6 @@ using DragaliaAPI.Features.Missions; using DragaliaAPI.Features.Tutorial; using DragaliaAPI.Models.Generated; -using DragaliaAPI.Services; using DragaliaAPI.Services.Exceptions; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dmode/DmodeController.cs b/DragaliaAPI/DragaliaAPI/Features/Dmode/DmodeController.cs index 07bd7d21c..e2db168b2 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dmode/DmodeController.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dmode/DmodeController.cs @@ -1,5 +1,4 @@ using DragaliaAPI.Controllers; -using DragaliaAPI.Database.Repositories; using DragaliaAPI.Features.Reward; using DragaliaAPI.Features.Story; using DragaliaAPI.Models.Generated; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dmode/DmodeSkipResetAction.cs b/DragaliaAPI/DragaliaAPI/Features/Dmode/DmodeSkipResetAction.cs index 261f8a373..26be3d927 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dmode/DmodeSkipResetAction.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dmode/DmodeSkipResetAction.cs @@ -1,5 +1,4 @@ using DragaliaAPI.Database.Entities; -using DragaliaAPI.Features.Login; using DragaliaAPI.Features.Login.Actions; using Microsoft.EntityFrameworkCore; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/AbilityCrestMultiplierService.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/AbilityCrestMultiplierService.cs index 1ca5f1282..e3f0ab04b 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/AbilityCrestMultiplierService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/AbilityCrestMultiplierService.cs @@ -1,6 +1,5 @@ using System.Diagnostics; using DragaliaAPI.Database.Entities; -using DragaliaAPI.Database.Repositories; using DragaliaAPI.Features.AbilityCrests; using DragaliaAPI.Models.Generated; using DragaliaAPI.Shared.Definitions.Enums; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/AutoRepeat/AutoRepeatService.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/AutoRepeat/AutoRepeatService.cs index 48c4f7cdc..ed1eeac9e 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/AutoRepeat/AutoRepeatService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/AutoRepeat/AutoRepeatService.cs @@ -2,7 +2,6 @@ using DragaliaAPI.Models.Options; using DragaliaAPI.Shared.Definitions.Enums.Dungeon; using DragaliaAPI.Shared.PlayerDetails; -using Microsoft.EntityFrameworkCore.Metadata.Internal; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Options; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonController.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonController.cs index b1fc4d500..1f93b7c8a 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonController.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonController.cs @@ -2,10 +2,8 @@ using DragaliaAPI.Features.Dungeon.Record; using DragaliaAPI.Features.Quest; using DragaliaAPI.Features.Reward; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services; -using DragaliaAPI.Services.Game; using DragaliaAPI.Services.Photon; using Microsoft.AspNetCore.Mvc; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonMapper.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonMapper.cs index 431508e75..97d28ea17 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonMapper.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonMapper.cs @@ -1,4 +1,3 @@ -using System.Collections; using DragaliaAPI.Database.Entities; using DragaliaAPI.Database.Entities.Scaffold; using DragaliaAPI.Models.Generated; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonService.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonService.cs index cc994ad0b..8e3061690 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/DungeonService.cs @@ -1,5 +1,4 @@ -using DragaliaAPI.Models; -using DragaliaAPI.Models.Options; +using DragaliaAPI.Models.Options; using DragaliaAPI.Shared.PlayerDetails; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Options; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/IDungeonService.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/IDungeonService.cs index 52fb17401..58a2c2812 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/IDungeonService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/IDungeonService.cs @@ -1,6 +1,4 @@ -using DragaliaAPI.Models; - -namespace DragaliaAPI.Features.Dungeon; +namespace DragaliaAPI.Features.Dungeon; public interface IDungeonService { diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/IQuestCompletionService.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/IQuestCompletionService.cs index 4b4883bb4..3f5ec0927 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/IQuestCompletionService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/IQuestCompletionService.cs @@ -1,5 +1,4 @@ -using DragaliaAPI.Models; -using DragaliaAPI.Models.Generated; +using DragaliaAPI.Models.Generated; namespace DragaliaAPI.Features.Dungeon; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/QuestCompletionService.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/QuestCompletionService.cs index 265159f72..7eb2a3abb 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/QuestCompletionService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/QuestCompletionService.cs @@ -1,7 +1,6 @@ using DragaliaAPI.Database.Repositories; using DragaliaAPI.Features.Missions; using DragaliaAPI.Features.Reward; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services.Exceptions; using DragaliaAPI.Shared.Definitions.Enums; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/DungeonRecordHelperService.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/DungeonRecordHelperService.cs index 7f5d15b63..d18b59903 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/DungeonRecordHelperService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/DungeonRecordHelperService.cs @@ -1,12 +1,9 @@ using DragaliaAPI.Database; -using DragaliaAPI.Database.Entities; -using DragaliaAPI.Database.Repositories; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services; using DragaliaAPI.Services.Photon; using DragaliaAPI.Shared.PlayerDetails; using Microsoft.EntityFrameworkCore; -using PhotonPlayer = DragaliaAPI.Photon.Shared.Models.Player; namespace DragaliaAPI.Features.Dungeon.Record; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/DungeonRecordService.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/DungeonRecordService.cs index e99917db8..f605f123d 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/DungeonRecordService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/DungeonRecordService.cs @@ -3,9 +3,7 @@ using DragaliaAPI.Features.Quest; using DragaliaAPI.Features.Reward; using DragaliaAPI.Features.Tutorial; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; -using DragaliaAPI.Services; using DragaliaAPI.Shared.Definitions.Enums; using static DragaliaAPI.Features.Tutorial.TutorialService; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/IDungeonRecordRewardService.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/IDungeonRecordRewardService.cs index a8dd4d7ff..db2065681 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/IDungeonRecordRewardService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/IDungeonRecordRewardService.cs @@ -1,4 +1,3 @@ -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; namespace DragaliaAPI.Features.Dungeon.Record; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/IDungeonRecordService.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/IDungeonRecordService.cs index dd8d32e9d..0ab51a169 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/IDungeonRecordService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/Record/IDungeonRecordService.cs @@ -1,5 +1,4 @@ -using DragaliaAPI.Models; -using DragaliaAPI.Models.Generated; +using DragaliaAPI.Models.Generated; namespace DragaliaAPI.Features.Dungeon.Record; diff --git a/DragaliaAPI/DragaliaAPI/Features/Dungeon/Skip/DungeonSkipController.cs b/DragaliaAPI/DragaliaAPI/Features/Dungeon/Skip/DungeonSkipController.cs index 86dcf0325..23492e03f 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Dungeon/Skip/DungeonSkipController.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Dungeon/Skip/DungeonSkipController.cs @@ -4,7 +4,6 @@ using DragaliaAPI.Features.Dungeon.Record; using DragaliaAPI.Features.Reward; using DragaliaAPI.Features.Shop; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services; using DragaliaAPI.Services.Exceptions; diff --git a/DragaliaAPI/DragaliaAPI/Features/GraphQL/UserDataMutations.cs b/DragaliaAPI/DragaliaAPI/Features/GraphQL/UserDataMutations.cs index c4cf68eb6..d91cd9ef0 100644 --- a/DragaliaAPI/DragaliaAPI/Features/GraphQL/UserDataMutations.cs +++ b/DragaliaAPI/DragaliaAPI/Features/GraphQL/UserDataMutations.cs @@ -2,7 +2,6 @@ using DragaliaAPI.Database; using DragaliaAPI.Database.Entities; using DragaliaAPI.Features.Tutorial; -using DragaliaAPI.Services; using DragaliaAPI.Shared.PlayerDetails; using EntityGraphQL.Schema; using Microsoft.EntityFrameworkCore; diff --git a/DragaliaAPI/DragaliaAPI/Features/Login/LoginController.cs b/DragaliaAPI/DragaliaAPI/Features/Login/LoginController.cs index bdfc67f13..26aed0a0e 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Login/LoginController.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Login/LoginController.cs @@ -1,10 +1,8 @@ using DragaliaAPI.Controllers; using DragaliaAPI.Database; using DragaliaAPI.Database.Entities; -using DragaliaAPI.Database.Repositories; using DragaliaAPI.Features.Login.Actions; using DragaliaAPI.Features.Reward; -using DragaliaAPI.Features.Wall; using DragaliaAPI.Mapping; using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; diff --git a/DragaliaAPI/DragaliaAPI/Features/Missions/InitialProgress/WallCalculator.cs b/DragaliaAPI/DragaliaAPI/Features/Missions/InitialProgress/WallCalculator.cs index 3072d9ddd..c33900973 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Missions/InitialProgress/WallCalculator.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Missions/InitialProgress/WallCalculator.cs @@ -1,5 +1,4 @@ using DragaliaAPI.Database; -using DragaliaAPI.Features.Wall; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset.Models.Missions; using JetBrains.Annotations; diff --git a/DragaliaAPI/DragaliaAPI/Features/Present/PresentControllerService.cs b/DragaliaAPI/DragaliaAPI/Features/Present/PresentControllerService.cs index 046525223..962699e80 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Present/PresentControllerService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Present/PresentControllerService.cs @@ -1,6 +1,4 @@ -using System.Linq.Expressions; -using AutoMapper; -using DragaliaAPI.Database; +using DragaliaAPI.Database; using DragaliaAPI.Database.Entities; using DragaliaAPI.Features.Reward; using DragaliaAPI.Models.Generated; diff --git a/DragaliaAPI/DragaliaAPI/Features/Present/PresentService.cs b/DragaliaAPI/DragaliaAPI/Features/Present/PresentService.cs index db1f94930..af9804abd 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Present/PresentService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Present/PresentService.cs @@ -1,5 +1,4 @@ using DragaliaAPI.Database; -using DragaliaAPI.Database.Entities; using DragaliaAPI.Models.Generated; using DragaliaAPI.Shared.PlayerDetails; using Microsoft.EntityFrameworkCore; diff --git a/DragaliaAPI/DragaliaAPI/Features/Quest/IQuestService.cs b/DragaliaAPI/DragaliaAPI/Features/Quest/IQuestService.cs index bb549ebc6..2d8c59d98 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Quest/IQuestService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Quest/IQuestService.cs @@ -1,6 +1,5 @@ using DragaliaAPI.Features.Dungeon; using DragaliaAPI.Features.Player; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; namespace DragaliaAPI.Features.Quest; diff --git a/DragaliaAPI/DragaliaAPI/Features/Quest/QuestController.cs b/DragaliaAPI/DragaliaAPI/Features/Quest/QuestController.cs index e57bfb1eb..504b6acab 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Quest/QuestController.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Quest/QuestController.cs @@ -1,10 +1,8 @@ using DragaliaAPI.Controllers; using DragaliaAPI.Features.ClearParty; -using DragaliaAPI.Features.Reward; using DragaliaAPI.Features.Story; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services; -using DragaliaAPI.Services.Game; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset; using DragaliaAPI.Shared.MasterAsset.Models.QuestDrops; diff --git a/DragaliaAPI/DragaliaAPI/Features/Quest/QuestService.cs b/DragaliaAPI/DragaliaAPI/Features/Quest/QuestService.cs index 9213f815a..5ac1c8de0 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Quest/QuestService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Quest/QuestService.cs @@ -4,7 +4,6 @@ using DragaliaAPI.Features.Missions; using DragaliaAPI.Features.Player; using DragaliaAPI.Features.Reward; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services.Exceptions; using DragaliaAPI.Shared.Definitions.Enums; diff --git a/DragaliaAPI/DragaliaAPI/Features/Reward/Handlers/AbilityCrestRewardHandler.cs b/DragaliaAPI/DragaliaAPI/Features/Reward/Handlers/AbilityCrestRewardHandler.cs index c33d49ff7..43513b086 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Reward/Handlers/AbilityCrestRewardHandler.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Reward/Handlers/AbilityCrestRewardHandler.cs @@ -1,5 +1,4 @@ using System.Collections.Immutable; -using DragaliaAPI.Database.Repositories; using DragaliaAPI.Features.AbilityCrests; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V14Update.cs b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V14Update.cs index a18fa9305..7c07291a7 100644 --- a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V14Update.cs +++ b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V14Update.cs @@ -1,6 +1,5 @@ using DragaliaAPI.Database; using DragaliaAPI.Database.Entities; -using DragaliaAPI.Database.Repositories; using DragaliaAPI.Features.Emblem; using DragaliaAPI.Features.Story; using DragaliaAPI.Shared.Definitions.Enums; diff --git a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V15Update.cs b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V15Update.cs index d796c5919..74440145b 100644 --- a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V15Update.cs +++ b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V15Update.cs @@ -1,8 +1,6 @@ -using DragaliaAPI.Database.Repositories; -using DragaliaAPI.Features.Story; +using DragaliaAPI.Features.Story; using DragaliaAPI.Features.Tutorial; using DragaliaAPI.Features.Wall; -using DragaliaAPI.Services.Game; namespace DragaliaAPI.Features.SavefileUpdate; diff --git a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V18Update.cs b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V18Update.cs index 9c4422645..2b27d0b08 100644 --- a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V18Update.cs +++ b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V18Update.cs @@ -1,10 +1,8 @@ using System.Diagnostics; -using DragaliaAPI.Database.Repositories; using DragaliaAPI.Features.Missions; using DragaliaAPI.Features.Story; using DragaliaAPI.Features.Tutorial; using DragaliaAPI.Features.Wall; -using DragaliaAPI.Services.Game; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset; using DragaliaAPI.Shared.MasterAsset.Models.Missions; diff --git a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V1Update.cs b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V1Update.cs index 4d98e8ce0..756cbd81e 100644 --- a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V1Update.cs +++ b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V1Update.cs @@ -3,7 +3,6 @@ using DragaliaAPI.Features.Fort; using DragaliaAPI.Features.Story; using DragaliaAPI.Features.Tutorial; -using DragaliaAPI.Services.Game; using DragaliaAPI.Shared.Definitions.Enums; using Microsoft.EntityFrameworkCore; diff --git a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V4Update.cs b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V4Update.cs index 47abbc6c1..8ccabee69 100644 --- a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V4Update.cs +++ b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V4Update.cs @@ -3,7 +3,6 @@ using DragaliaAPI.Features.Fort; using DragaliaAPI.Features.Story; using DragaliaAPI.Features.Tutorial; -using DragaliaAPI.Services; using Microsoft.EntityFrameworkCore; namespace DragaliaAPI.Features.SavefileUpdate; diff --git a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V7Update.cs b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V7Update.cs index 8a4366dbe..4811fcab2 100644 --- a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V7Update.cs +++ b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V7Update.cs @@ -1,7 +1,5 @@ -using DragaliaAPI.Database.Repositories; -using DragaliaAPI.Features.Story; +using DragaliaAPI.Features.Story; using DragaliaAPI.Features.Tutorial; -using DragaliaAPI.Services; namespace DragaliaAPI.Features.SavefileUpdate; diff --git a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V9Update.cs b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V9Update.cs index db0310b13..f508216cd 100644 --- a/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V9Update.cs +++ b/DragaliaAPI/DragaliaAPI/Features/SavefileUpdate/V9Update.cs @@ -1,6 +1,5 @@ using DragaliaAPI.Database; using DragaliaAPI.Database.Entities; -using DragaliaAPI.Database.Repositories; using DragaliaAPI.Features.Story; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI/Features/Story/StoryService.cs b/DragaliaAPI/DragaliaAPI/Features/Story/StoryService.cs index 25bfb39ce..154165cc8 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Story/StoryService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Story/StoryService.cs @@ -9,7 +9,6 @@ using DragaliaAPI.Features.Shop; using DragaliaAPI.Features.Tutorial; using DragaliaAPI.Models.Generated; -using DragaliaAPI.Services; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.Features.Presents; using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI/Features/Summoning/RedoableSummonController.cs b/DragaliaAPI/DragaliaAPI/Features/Summoning/RedoableSummonController.cs index 273460187..c030cfb78 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Summoning/RedoableSummonController.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Summoning/RedoableSummonController.cs @@ -1,6 +1,5 @@ using DragaliaAPI.Controllers; using DragaliaAPI.Database.Entities; -using DragaliaAPI.Database.Repositories; using DragaliaAPI.Features.Story; using DragaliaAPI.Features.Tutorial; using DragaliaAPI.Models.Generated; diff --git a/DragaliaAPI/DragaliaAPI/Features/Wall/WallController.cs b/DragaliaAPI/DragaliaAPI/Features/Wall/WallController.cs index bb3c12001..8eb5a91ad 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Wall/WallController.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Wall/WallController.cs @@ -3,7 +3,6 @@ using DragaliaAPI.Features.ClearParty; using DragaliaAPI.Features.Dungeon; using DragaliaAPI.Features.Reward; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services; using DragaliaAPI.Shared.Definitions.Enums; diff --git a/DragaliaAPI/DragaliaAPI/Features/Wall/WallRecordController.cs b/DragaliaAPI/DragaliaAPI/Features/Wall/WallRecordController.cs index f8e4cbb78..5361436b0 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Wall/WallRecordController.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Wall/WallRecordController.cs @@ -4,7 +4,6 @@ using DragaliaAPI.Features.Dungeon.Record; using DragaliaAPI.Features.Present; using DragaliaAPI.Features.Reward; -using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services; using DragaliaAPI.Shared.Definitions.Enums; diff --git a/DragaliaAPI/DragaliaAPI/Features/Wall/WallStartController.cs b/DragaliaAPI/DragaliaAPI/Features/Wall/WallStartController.cs index 0e471f435..cba608332 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Wall/WallStartController.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Wall/WallStartController.cs @@ -1,5 +1,4 @@ -using AutoMapper; -using DragaliaAPI.Controllers; +using DragaliaAPI.Controllers; using DragaliaAPI.Features.Dungeon; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services; diff --git a/DragaliaAPI/DragaliaAPI/Features/Web/FeatureExtensions.cs b/DragaliaAPI/DragaliaAPI/Features/Web/FeatureExtensions.cs index fd4ce3a19..e18eb7a1a 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Web/FeatureExtensions.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Web/FeatureExtensions.cs @@ -1,4 +1,3 @@ -using System.Diagnostics; using DragaliaAPI.Features.Web; using DragaliaAPI.Features.Web.News; using DragaliaAPI.Features.Web.Savefile; diff --git a/DragaliaAPI/DragaliaAPI/Features/Web/News/NewsService.cs b/DragaliaAPI/DragaliaAPI/Features/Web/News/NewsService.cs index fed4a474c..29c9ce273 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Web/News/NewsService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Web/News/NewsService.cs @@ -1,6 +1,5 @@ using DragaliaAPI.Database; using DragaliaAPI.Database.Entities; -using DragaliaAPI.Features.Blazor; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; diff --git a/DragaliaAPI/DragaliaAPI/Features/Web/Savefile/EditorWidgetsService.cs b/DragaliaAPI/DragaliaAPI/Features/Web/Savefile/EditorWidgetsService.cs index c8d7de1c5..9f0ef1034 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Web/Savefile/EditorWidgetsService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Web/Savefile/EditorWidgetsService.cs @@ -1,5 +1,3 @@ -using System.Collections.Frozen; -using System.Diagnostics.CodeAnalysis; using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI/Features/Web/Savefile/SavefileController.cs b/DragaliaAPI/DragaliaAPI/Features/Web/Savefile/SavefileController.cs index a60fa5834..5e998995e 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Web/Savefile/SavefileController.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Web/Savefile/SavefileController.cs @@ -1,4 +1,3 @@ -using System.Diagnostics.CodeAnalysis; using DragaliaAPI.Models; using DragaliaAPI.Models.Generated; using DragaliaAPI.Services; diff --git a/DragaliaAPI/DragaliaAPI/Features/Web/TimeAttack/TimeAttackService.cs b/DragaliaAPI/DragaliaAPI/Features/Web/TimeAttack/TimeAttackService.cs index e7c7cd0b0..c2c6d3ea5 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Web/TimeAttack/TimeAttackService.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Web/TimeAttack/TimeAttackService.cs @@ -10,7 +10,6 @@ using LinqToDB; using LinqToDB.DataProvider.PostgreSQL; using LinqToDB.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore; namespace DragaliaAPI.Features.Web.TimeAttack; diff --git a/DragaliaAPI/DragaliaAPI/Features/Web/WebAuthenticationHelper.cs b/DragaliaAPI/DragaliaAPI/Features/Web/WebAuthenticationHelper.cs index e96437d09..c11c3a274 100644 --- a/DragaliaAPI/DragaliaAPI/Features/Web/WebAuthenticationHelper.cs +++ b/DragaliaAPI/DragaliaAPI/Features/Web/WebAuthenticationHelper.cs @@ -1,19 +1,13 @@ using System.Diagnostics; using System.Net.Http.Headers; using System.Security.Claims; -using System.Text.Encodings.Web; using DragaliaAPI.Database; -using DragaliaAPI.Database.Entities; -using DragaliaAPI.Models.Options; using DragaliaAPI.Services.Api; using DragaliaAPI.Shared.PlayerDetails; -using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Caching.Distributed; -using Microsoft.Extensions.Options; using Microsoft.IdentityModel.JsonWebTokens; -using Microsoft.IdentityModel.Tokens; namespace DragaliaAPI.Features.Web; diff --git a/DragaliaAPI/DragaliaAPI/Infrastructure/Middleware/ResultCodeLoggingMiddleware.cs b/DragaliaAPI/DragaliaAPI/Infrastructure/Middleware/ResultCodeLoggingMiddleware.cs index 02a977a1e..5afbff575 100644 --- a/DragaliaAPI/DragaliaAPI/Infrastructure/Middleware/ResultCodeLoggingMiddleware.cs +++ b/DragaliaAPI/DragaliaAPI/Infrastructure/Middleware/ResultCodeLoggingMiddleware.cs @@ -1,5 +1,3 @@ -using System.Collections.Frozen; - namespace DragaliaAPI.Infrastructure.Middleware; internal partial class ResultCodeLoggingMiddleware(ILogger logger) diff --git a/DragaliaAPI/DragaliaAPI/Models/Results/DragaliaResponse.cs b/DragaliaAPI/DragaliaAPI/Models/Results/DragaliaResponse.cs index 6d2db6fe3..f0db490dc 100644 --- a/DragaliaAPI/DragaliaAPI/Models/Results/DragaliaResponse.cs +++ b/DragaliaAPI/DragaliaAPI/Models/Results/DragaliaResponse.cs @@ -1,5 +1,4 @@ using System.Text.Json.Serialization; -using DragaliaAPI.Infrastructure; using MessagePack; namespace DragaliaAPI.Models.Results; diff --git a/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/AbilityCrestIcon.razor b/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/AbilityCrestIcon.razor index ae93343ab..d114356d7 100644 --- a/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/AbilityCrestIcon.razor +++ b/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/AbilityCrestIcon.razor @@ -1,5 +1,4 @@ -@using DragaliaAPI.Features.Blazor; -@using DragaliaAPI.Features.Web +@using DragaliaAPI.Features.Web @using DragaliaAPI.Shared.Definitions.Enums; @using DragaliaAPI.Shared.Features.TextLabel; @using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/CharaIcon.razor b/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/CharaIcon.razor index 9321d59ec..065b2982d 100644 --- a/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/CharaIcon.razor +++ b/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/CharaIcon.razor @@ -1,5 +1,4 @@ -@using DragaliaAPI.Features.Blazor; -@using DragaliaAPI.Features.Web +@using DragaliaAPI.Features.Web @using DragaliaAPI.Shared.Definitions.Enums; @using DragaliaAPI.Shared.Features.TextLabel; @using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/DragonIcon.razor b/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/DragonIcon.razor index d7968dbac..0020554d6 100644 --- a/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/DragonIcon.razor +++ b/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/DragonIcon.razor @@ -1,5 +1,4 @@ -@using DragaliaAPI.Features.Blazor; -@using DragaliaAPI.Features.Web +@using DragaliaAPI.Features.Web @using DragaliaAPI.Shared.Definitions.Enums; @using DragaliaAPI.Shared.Features.TextLabel; @using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/SkillIcon.razor b/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/SkillIcon.razor index 9d974620d..fb8246a09 100644 --- a/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/SkillIcon.razor +++ b/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/SkillIcon.razor @@ -1,5 +1,4 @@ -@using DragaliaAPI.Features.Blazor; -@using DragaliaAPI.Features.Web +@using DragaliaAPI.Features.Web @using DragaliaAPI.Shared.MasterAsset; @using DragaliaAPI.Shared.MasterAsset.Models; @using Microsoft.Extensions.Options; diff --git a/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/TalismanIcon.razor b/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/TalismanIcon.razor index 6d10b5530..95edd2456 100644 --- a/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/TalismanIcon.razor +++ b/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/TalismanIcon.razor @@ -1,5 +1,4 @@ -@using DragaliaAPI.Features.Blazor; -@using DragaliaAPI.Features.Web +@using DragaliaAPI.Features.Web @using DragaliaAPI.Shared.Definitions.Enums; @using DragaliaAPI.Shared.Features.TextLabel; @using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/WeaponIcon.razor b/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/WeaponIcon.razor index c5af08044..c3b46610e 100644 --- a/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/WeaponIcon.razor +++ b/DragaliaAPI/DragaliaAPI/RazorComponents/TimeAttack/Team/WeaponIcon.razor @@ -1,5 +1,4 @@ -@using DragaliaAPI.Features.Blazor; -@using DragaliaAPI.Features.Web +@using DragaliaAPI.Features.Web @using DragaliaAPI.Shared.Definitions.Enums; @using DragaliaAPI.Shared.Features.TextLabel; @using DragaliaAPI.Shared.MasterAsset; diff --git a/DragaliaAPI/DragaliaAPI/ServiceConfiguration.cs b/DragaliaAPI/DragaliaAPI/ServiceConfiguration.cs index 460b97780..8b5918080 100644 --- a/DragaliaAPI/DragaliaAPI/ServiceConfiguration.cs +++ b/DragaliaAPI/DragaliaAPI/ServiceConfiguration.cs @@ -1,7 +1,5 @@ using DragaliaAPI.Authentication; using DragaliaAPI.Database; -using DragaliaAPI.Features.AbilityCrests; -using DragaliaAPI.Features.Blazor; using DragaliaAPI.Features.Chara; using DragaliaAPI.Features.ClearParty; using DragaliaAPI.Features.Dmode; @@ -14,23 +12,18 @@ using DragaliaAPI.Features.Event; using DragaliaAPI.Features.Fort; using DragaliaAPI.Features.Item; -using DragaliaAPI.Features.Login.Actions; using DragaliaAPI.Features.Maintenance; using DragaliaAPI.Features.Missions; using DragaliaAPI.Features.PartyPower; using DragaliaAPI.Features.Player; -using DragaliaAPI.Features.Present; -using DragaliaAPI.Features.Quest; using DragaliaAPI.Features.SavefileUpdate; using DragaliaAPI.Features.Shared.Options; using DragaliaAPI.Features.Shop; using DragaliaAPI.Features.Stamp; -using DragaliaAPI.Features.Story; using DragaliaAPI.Features.StorySkip; using DragaliaAPI.Features.Talisman; using DragaliaAPI.Features.TimeAttack; using DragaliaAPI.Features.Trade; -using DragaliaAPI.Features.Tutorial; using DragaliaAPI.Features.Version; using DragaliaAPI.Features.Web; using DragaliaAPI.Features.Zena; diff --git a/DragaliaAPI/DragaliaAPI/Services/Photon/HeroParamService.cs b/DragaliaAPI/DragaliaAPI/Services/Photon/HeroParamService.cs index 113953946..d6f80c3fc 100644 --- a/DragaliaAPI/DragaliaAPI/Services/Photon/HeroParamService.cs +++ b/DragaliaAPI/DragaliaAPI/Services/Photon/HeroParamService.cs @@ -1,5 +1,4 @@ -using System.Collections.Immutable; -using System.Diagnostics; +using System.Diagnostics; using DragaliaAPI.Database.Entities; using DragaliaAPI.Database.Entities.Scaffold; using DragaliaAPI.Database.Repositories; @@ -7,7 +6,6 @@ using DragaliaAPI.Features.Weapon; using DragaliaAPI.Models.Generated; using DragaliaAPI.Photon.Shared.Models; -using DragaliaAPI.Shared.Definitions.Enums; using DragaliaAPI.Shared.MasterAsset; using DragaliaAPI.Shared.MasterAsset.Models; using DragaliaAPI.Shared.PlayerDetails; diff --git a/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/GameCloseTest.cs b/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/GameCloseTest.cs index 6cd912020..0d1778973 100644 --- a/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/GameCloseTest.cs +++ b/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/GameCloseTest.cs @@ -1,7 +1,6 @@ using System.Net; using System.Net.Http.Json; using DragaliaAPI.Photon.Shared.Enums; -using DragaliaAPI.Photon.Shared.Models; using DragaliaAPI.Photon.Shared.Requests; using DragaliaAPI.Photon.StateManager.Models; using DragaliaAPI.Photon.StateManager.Test.Helpers; diff --git a/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/MatchingTypeTest.cs b/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/MatchingTypeTest.cs index e76c4d9ed..f04a1eb2f 100644 --- a/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/MatchingTypeTest.cs +++ b/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/MatchingTypeTest.cs @@ -1,7 +1,6 @@ using System.Net; using System.Net.Http.Json; using DragaliaAPI.Photon.Shared.Enums; -using DragaliaAPI.Photon.Shared.Models; using DragaliaAPI.Photon.Shared.Requests; using DragaliaAPI.Photon.StateManager.Models; using DragaliaAPI.Photon.StateManager.Test.Helpers; diff --git a/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/RoomIdTest.cs b/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/RoomIdTest.cs index 87b767870..195fc4bdc 100644 --- a/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/RoomIdTest.cs +++ b/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/RoomIdTest.cs @@ -1,7 +1,6 @@ using System.Net; using System.Net.Http.Json; using DragaliaAPI.Photon.Shared.Enums; -using DragaliaAPI.Photon.Shared.Models; using DragaliaAPI.Photon.Shared.Requests; using DragaliaAPI.Photon.StateManager.Models; using DragaliaAPI.Photon.StateManager.Test.Helpers; diff --git a/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/VisibleTest.cs b/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/VisibleTest.cs index 58178d7e7..680235d15 100644 --- a/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/VisibleTest.cs +++ b/PhotonStateManager/DragaliaAPI.Photon.StateManager.Test/Event/VisibleTest.cs @@ -1,7 +1,6 @@ using System.Net; using System.Net.Http.Json; using DragaliaAPI.Photon.Shared.Enums; -using DragaliaAPI.Photon.Shared.Models; using DragaliaAPI.Photon.Shared.Requests; using DragaliaAPI.Photon.StateManager.Models; using DragaliaAPI.Photon.StateManager.Test.Helpers; diff --git a/PhotonStateManager/DragaliaAPI.Photon.StateManager/Controllers/EventController.cs b/PhotonStateManager/DragaliaAPI.Photon.StateManager/Controllers/EventController.cs index 2f6a619b0..dde65b110 100644 --- a/PhotonStateManager/DragaliaAPI.Photon.StateManager/Controllers/EventController.cs +++ b/PhotonStateManager/DragaliaAPI.Photon.StateManager/Controllers/EventController.cs @@ -1,4 +1,3 @@ -using DragaliaAPI.Photon.Shared.Models; using DragaliaAPI.Photon.Shared.Requests; using DragaliaAPI.Photon.StateManager.Authentication; using DragaliaAPI.Photon.StateManager.Models;