From 17b7e9996eea4e4dd3bcc212321d52d05ed2b941 Mon Sep 17 00:00:00 2001 From: xiangning Date: Thu, 2 Jul 2026 14:53:56 +0800 Subject: [PATCH] =?UTF-8?q?chore(dependencies):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=20using=20=E8=AF=AD?= =?UTF-8?q?=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 从多个文件中移除未使用的 System.Linq.Dynamic.Core 引用 - 从多个文件中移除未使用的 Microsoft.EntityFrameworkCore 引用 - 从 IM 模块中移除未使用的 MongoDB.Driver.Linq 引用 - 清理 Handler 文件中的冗余命名空间引用 - 优化代码结构减少不必要的依赖引入 - 提高代码整洁性和编译效率 --- .../workflow/Notification/NotificationClaimsExtensions.cs | 1 - .../Features/Files/Handlers/CheckFileQueryHandler.cs | 1 - .../Features/Files/Handlers/UploadFileCommandHandler.cs | 1 - .../Features/Folders/Handlers/DeleteFolderCommandHandler.cs | 1 - .../Features/Folders/Handlers/GetFolderQueryHandler.cs | 2 -- .../Features/Folders/Handlers/GetFolderTreeQueryHandler.cs | 2 -- .../Features/Folders/Handlers/MoveFileCommandHandler.cs | 1 - .../Features/Folders/Handlers/RenameFolderCommandHandler.cs | 1 - .../Features/Multipart/Handlers/AbortMultipartCommandHandler.cs | 1 - .../Multipart/Handlers/CompleteMultipartCommandHandler.cs | 1 - .../Features/Multipart/Handlers/InitMultipartCommandHandler.cs | 1 - .../Features/Multipart/Handlers/ListPartsQueryHandler.cs | 1 - .../Features/Multipart/Handlers/UploadPartCommandHandler.cs | 1 - .../Features/Shares/Handlers/DeleteShareCommandHandler.cs | 1 - .../Features/Shares/Handlers/DownloadShareQueryHandler.cs | 1 - .../Features/Shares/Handlers/GetShareInfoQueryHandler.cs | 1 - .../im/Application/Chat/Handlers/CreateGroupCommandHandler.cs | 1 - .../rag/Application/Auth/Handlers/GetAccessCodesQueryHandler.cs | 1 - .../rag/Application/Auth/Handlers/GetCurrentUserQueryHandler.cs | 1 - .../rag/Application/Auth/Handlers/LoginCommandHandler.cs | 1 - .../rag/Application/Auth/Handlers/LogoutCommandHandler.cs | 1 - .../rag/Application/Auth/Handlers/RefreshTokenCommandHandler.cs | 1 - .../rag/Application/Auth/Handlers/RegisterCommandHandler.cs | 1 - .../rag/Application/Auth/Handlers/RevokeTokenCommandHandler.cs | 1 - .../Application/Auth/Handlers/UpdateProfileCommandHandler.cs | 1 - .../Chat/Handlers/GetConversationDetailQueryHandler.cs | 2 -- .../Application/Chat/Handlers/GetConversationsQueryHandler.cs | 2 -- .../rag/Application/Chat/Handlers/SendMessageCommandHandler.cs | 2 -- .../Document/Handlers/GetDocumentChunksQueryHandler.cs | 2 -- .../Application/Document/Handlers/GetDocumentsQueryHandler.cs | 2 -- .../Document/Handlers/ProcessDocumentCommandHandler.cs | 2 -- .../Document/Handlers/ProcessKnowledgeBaseCommandHandler.cs | 2 -- src/modules/rag/Application/Integration/AiBotHandler.cs | 1 - .../KnowledgeBase/Handlers/GetKnowledgeBasesQueryHandler.cs | 1 - .../rag/Application/Menus/Handlers/GetAllMenusQueryHandler.cs | 2 -- .../Handlers/GetUnreadNotificationCountQueryHandler.cs | 1 - .../Handlers/MarkAllNotificationsReadCommandHandler.cs | 2 -- .../Handlers/MarkNotificationReadCommandHandler.cs | 1 - .../Notifications/Handlers/PublishNotificationCommandHandler.cs | 2 -- .../Obsidian/Handlers/SyncObsidianVaultCommandHandler.cs | 2 -- .../Permissions/Handlers/GetPermissionListQueryHandler.cs | 1 - .../Roles/Handlers/AssignPermissionsCommandHandler.cs | 2 -- .../rag/Application/Roles/Handlers/CreateRoleCommandHandler.cs | 1 - .../rag/Application/Roles/Handlers/DeleteRoleCommandHandler.cs | 1 - .../rag/Application/Roles/Handlers/GetRoleByIdQueryHandler.cs | 1 - .../rag/Application/Roles/Handlers/GetRoleListQueryHandler.cs | 1 - .../rag/Application/Roles/Handlers/UpdateRoleCommandHandler.cs | 1 - .../rag/Application/Users/Handlers/AssignRolesCommandHandler.cs | 2 -- .../rag/Application/Users/Handlers/CreateUserCommandHandler.cs | 1 - .../rag/Application/Users/Handlers/DeleteUserCommandHandler.cs | 1 - .../rag/Application/Users/Handlers/GetUserByIdQueryHandler.cs | 1 - .../rag/Application/Users/Handlers/GetUserListQueryHandler.cs | 2 -- .../rag/Application/Users/Handlers/GetUserNamesQueryHandler.cs | 2 -- .../rag/Application/Users/Handlers/UpdateUserCommandHandler.cs | 1 - src/modules/rag/Infrastructure/Persistence/SeedData.cs | 1 - .../Roles/Handlers/AssignPermissionsCommandHandler.cs | 1 - .../sso/Application/Users/Handlers/AssignRolesCommandHandler.cs | 1 - .../sso/Application/Users/Handlers/GetUserListQueryHandler.cs | 1 - src/modules/sso/Infrastructure/Persistence/SeedData.cs | 1 - src/modules/workflow/Application/Engine/ProcessEngine.cs | 1 - .../Features/Notifications/GetUnreadNotificationCountHandler.cs | 1 - .../Notifications/MarkAllNotificationsReadCommandHandler.cs | 1 - .../WorkflowDefinitions/Handlers/CreateNodeCommandHandler.cs | 1 - .../WorkflowDefinitions/Handlers/DeleteNodeCommandHandler.cs | 1 - .../Handlers/GetWorkflowDefinitionByIdQueryHandler.cs | 1 - .../WorkflowDefinitions/Handlers/UpdateNodeCommandHandler.cs | 1 - .../Handlers/WithdrawWorkflowInstanceCommandHandler.cs | 1 - .../Features/WorkflowTasks/Handlers/GetTaskByIdQueryHandler.cs | 1 - .../Application/Form/Aggregates/FormAggregateRefreshService.cs | 1 - .../ComponentRegistry/Handlers/GetFormComponentsQueryHandler.cs | 1 - .../FormDefinition/Handlers/CompareFormVersionsQueryHandler.cs | 1 - .../Handlers/CreateFormDefinitionCommandHandler.cs | 1 - .../Form/FormDefinition/Handlers/GetFormVersionsQueryHandler.cs | 1 - .../Handlers/UpdateFormDefinitionCommandHandler.cs | 1 - .../workflow/Application/Integration/WorkflowTriggerService.cs | 1 - .../workflow/Application/Scheduler/OverdueTaskProcessor.cs | 1 - .../Notifications/PublishNotificationCommandTests.cs | 1 - tests/BuildFlow.Workflow.Tests/Engine/MultiApprovalTests.cs | 1 - tests/BuildFlow.Workflow.Tests/Engine/ProcessEngineTests.cs | 1 - .../Handlers/WorkflowInstanceHandlerTests.cs | 1 - 80 files changed, 97 deletions(-) diff --git a/src/BuildFlow.Host/Endpoints/workflow/Notification/NotificationClaimsExtensions.cs b/src/BuildFlow.Host/Endpoints/workflow/Notification/NotificationClaimsExtensions.cs index 7b06eb7..e551f5b 100644 --- a/src/BuildFlow.Host/Endpoints/workflow/Notification/NotificationClaimsExtensions.cs +++ b/src/BuildFlow.Host/Endpoints/workflow/Notification/NotificationClaimsExtensions.cs @@ -1,5 +1,4 @@ using System.Security.Claims; -using MongoDB.Driver.Linq; namespace BuildFlow.Host.Endpoints.workflow.Notification; diff --git a/src/modules/file/Application/Features/Files/Handlers/CheckFileQueryHandler.cs b/src/modules/file/Application/Features/Files/Handlers/CheckFileQueryHandler.cs index 63736b4..05f1671 100644 --- a/src/modules/file/Application/Features/Files/Handlers/CheckFileQueryHandler.cs +++ b/src/modules/file/Application/Features/Files/Handlers/CheckFileQueryHandler.cs @@ -5,7 +5,6 @@ using File.Application.Features.Folders.DTOs; using File.Infrastructure.Persistence; using File.Infrastructure.Storage; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Files.Handlers; diff --git a/src/modules/file/Application/Features/Files/Handlers/UploadFileCommandHandler.cs b/src/modules/file/Application/Features/Files/Handlers/UploadFileCommandHandler.cs index ade1e9c..37e16d5 100644 --- a/src/modules/file/Application/Features/Files/Handlers/UploadFileCommandHandler.cs +++ b/src/modules/file/Application/Features/Files/Handlers/UploadFileCommandHandler.cs @@ -7,7 +7,6 @@ using File.Domain.Exceptions; using File.Infrastructure.Persistence; using File.Infrastructure.Storage; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Files.Handlers; diff --git a/src/modules/file/Application/Features/Folders/Handlers/DeleteFolderCommandHandler.cs b/src/modules/file/Application/Features/Folders/Handlers/DeleteFolderCommandHandler.cs index 36fc3cb..6a47290 100644 --- a/src/modules/file/Application/Features/Folders/Handlers/DeleteFolderCommandHandler.cs +++ b/src/modules/file/Application/Features/Folders/Handlers/DeleteFolderCommandHandler.cs @@ -4,7 +4,6 @@ using File.Application.Features.Folders.Commands; using File.Infrastructure.Persistence; using File.Infrastructure.Storage; using MediatR; -using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; namespace File.Application.Features.Folders.Handlers; diff --git a/src/modules/file/Application/Features/Folders/Handlers/GetFolderQueryHandler.cs b/src/modules/file/Application/Features/Folders/Handlers/GetFolderQueryHandler.cs index ca512a1..34205ec 100644 --- a/src/modules/file/Application/Features/Folders/Handlers/GetFolderQueryHandler.cs +++ b/src/modules/file/Application/Features/Folders/Handlers/GetFolderQueryHandler.cs @@ -1,11 +1,9 @@ -using System.Linq.Dynamic.Core; using BuildFlow.Shared.Domain.Common; using File.Application.Features.Folders.Commands; using File.Application.Features.Folders.DTOs; using File.Application.Features.Folders.Queries; using File.Infrastructure.Persistence; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Folders.Handlers; diff --git a/src/modules/file/Application/Features/Folders/Handlers/GetFolderTreeQueryHandler.cs b/src/modules/file/Application/Features/Folders/Handlers/GetFolderTreeQueryHandler.cs index f48d5bd..673b9a0 100644 --- a/src/modules/file/Application/Features/Folders/Handlers/GetFolderTreeQueryHandler.cs +++ b/src/modules/file/Application/Features/Folders/Handlers/GetFolderTreeQueryHandler.cs @@ -1,11 +1,9 @@ -using System.Linq.Dynamic.Core; using BuildFlow.Shared.Domain.Common; using File.Application.Features.Folders.Commands; using File.Application.Features.Folders.DTOs; using File.Application.Features.Folders.Queries; using File.Infrastructure.Persistence; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Folders.Handlers; diff --git a/src/modules/file/Application/Features/Folders/Handlers/MoveFileCommandHandler.cs b/src/modules/file/Application/Features/Folders/Handlers/MoveFileCommandHandler.cs index ae8369a..f05c676 100644 --- a/src/modules/file/Application/Features/Folders/Handlers/MoveFileCommandHandler.cs +++ b/src/modules/file/Application/Features/Folders/Handlers/MoveFileCommandHandler.cs @@ -3,7 +3,6 @@ using File.Application.Features.Folders.Commands; using File.Domain.Exceptions; using File.Infrastructure.Persistence; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Folders.Handlers; diff --git a/src/modules/file/Application/Features/Folders/Handlers/RenameFolderCommandHandler.cs b/src/modules/file/Application/Features/Folders/Handlers/RenameFolderCommandHandler.cs index 01cfd8b..f44c61d 100644 --- a/src/modules/file/Application/Features/Folders/Handlers/RenameFolderCommandHandler.cs +++ b/src/modules/file/Application/Features/Folders/Handlers/RenameFolderCommandHandler.cs @@ -3,7 +3,6 @@ using File.Application.Features.Folders.Commands; using File.Application.Features.Folders.DTOs; using File.Infrastructure.Persistence; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Folders.Handlers; diff --git a/src/modules/file/Application/Features/Multipart/Handlers/AbortMultipartCommandHandler.cs b/src/modules/file/Application/Features/Multipart/Handlers/AbortMultipartCommandHandler.cs index a95dec8..422d61a 100644 --- a/src/modules/file/Application/Features/Multipart/Handlers/AbortMultipartCommandHandler.cs +++ b/src/modules/file/Application/Features/Multipart/Handlers/AbortMultipartCommandHandler.cs @@ -5,7 +5,6 @@ using File.Domain.Exceptions; using File.Infrastructure.Persistence; using File.Infrastructure.Storage; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Multipart.Handlers; diff --git a/src/modules/file/Application/Features/Multipart/Handlers/CompleteMultipartCommandHandler.cs b/src/modules/file/Application/Features/Multipart/Handlers/CompleteMultipartCommandHandler.cs index c70be8a..20069b3 100644 --- a/src/modules/file/Application/Features/Multipart/Handlers/CompleteMultipartCommandHandler.cs +++ b/src/modules/file/Application/Features/Multipart/Handlers/CompleteMultipartCommandHandler.cs @@ -6,7 +6,6 @@ using File.Domain.Exceptions; using File.Infrastructure.Persistence; using File.Infrastructure.Storage; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Multipart.Handlers; diff --git a/src/modules/file/Application/Features/Multipart/Handlers/InitMultipartCommandHandler.cs b/src/modules/file/Application/Features/Multipart/Handlers/InitMultipartCommandHandler.cs index 1ce8ebf..1410fb2 100644 --- a/src/modules/file/Application/Features/Multipart/Handlers/InitMultipartCommandHandler.cs +++ b/src/modules/file/Application/Features/Multipart/Handlers/InitMultipartCommandHandler.cs @@ -5,7 +5,6 @@ using File.Domain.Entities; using File.Infrastructure.Persistence; using File.Infrastructure.Storage; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Multipart.Handlers; diff --git a/src/modules/file/Application/Features/Multipart/Handlers/ListPartsQueryHandler.cs b/src/modules/file/Application/Features/Multipart/Handlers/ListPartsQueryHandler.cs index 04e068e..704f158 100644 --- a/src/modules/file/Application/Features/Multipart/Handlers/ListPartsQueryHandler.cs +++ b/src/modules/file/Application/Features/Multipart/Handlers/ListPartsQueryHandler.cs @@ -5,7 +5,6 @@ using File.Domain.Entities; using File.Infrastructure.Persistence; using File.Infrastructure.Storage; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Multipart.Handlers; diff --git a/src/modules/file/Application/Features/Multipart/Handlers/UploadPartCommandHandler.cs b/src/modules/file/Application/Features/Multipart/Handlers/UploadPartCommandHandler.cs index 02a33a9..bce29e7 100644 --- a/src/modules/file/Application/Features/Multipart/Handlers/UploadPartCommandHandler.cs +++ b/src/modules/file/Application/Features/Multipart/Handlers/UploadPartCommandHandler.cs @@ -6,7 +6,6 @@ using File.Domain.Exceptions; using File.Infrastructure.Persistence; using File.Infrastructure.Storage; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Multipart.Handlers; diff --git a/src/modules/file/Application/Features/Shares/Handlers/DeleteShareCommandHandler.cs b/src/modules/file/Application/Features/Shares/Handlers/DeleteShareCommandHandler.cs index 33c31f0..0f733c7 100644 --- a/src/modules/file/Application/Features/Shares/Handlers/DeleteShareCommandHandler.cs +++ b/src/modules/file/Application/Features/Shares/Handlers/DeleteShareCommandHandler.cs @@ -2,7 +2,6 @@ using BuildFlow.Shared.Domain.Common; using File.Application.Features.Shares.Commands; using File.Infrastructure.Persistence; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Shares.Handlers; diff --git a/src/modules/file/Application/Features/Shares/Handlers/DownloadShareQueryHandler.cs b/src/modules/file/Application/Features/Shares/Handlers/DownloadShareQueryHandler.cs index e69f46a..682447c 100644 --- a/src/modules/file/Application/Features/Shares/Handlers/DownloadShareQueryHandler.cs +++ b/src/modules/file/Application/Features/Shares/Handlers/DownloadShareQueryHandler.cs @@ -5,7 +5,6 @@ using File.Domain.Exceptions; using File.Infrastructure.Persistence; using File.Infrastructure.Storage; using MediatR; -using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; namespace File.Application.Features.Shares.Handlers; diff --git a/src/modules/file/Application/Features/Shares/Handlers/GetShareInfoQueryHandler.cs b/src/modules/file/Application/Features/Shares/Handlers/GetShareInfoQueryHandler.cs index d5b02ca..bd2d387 100644 --- a/src/modules/file/Application/Features/Shares/Handlers/GetShareInfoQueryHandler.cs +++ b/src/modules/file/Application/Features/Shares/Handlers/GetShareInfoQueryHandler.cs @@ -2,7 +2,6 @@ using File.Application.Features.Shares.DTOs; using File.Application.Features.Shares.Queries; using File.Infrastructure.Persistence; using MediatR; -using Microsoft.EntityFrameworkCore; namespace File.Application.Features.Shares.Handlers; diff --git a/src/modules/im/Application/Chat/Handlers/CreateGroupCommandHandler.cs b/src/modules/im/Application/Chat/Handlers/CreateGroupCommandHandler.cs index e2c798f..0c903d5 100644 --- a/src/modules/im/Application/Chat/Handlers/CreateGroupCommandHandler.cs +++ b/src/modules/im/Application/Chat/Handlers/CreateGroupCommandHandler.cs @@ -3,7 +3,6 @@ using IM.Application.Chat.DTOs; using IM.Domain.Enums; using IM.Infrastructure.Persistence; using MediatR; -using MongoDB.Driver.Linq; namespace IM.Application.Chat.Handlers; diff --git a/src/modules/rag/Application/Auth/Handlers/GetAccessCodesQueryHandler.cs b/src/modules/rag/Application/Auth/Handlers/GetAccessCodesQueryHandler.cs index fe82930..18e70d8 100644 --- a/src/modules/rag/Application/Auth/Handlers/GetAccessCodesQueryHandler.cs +++ b/src/modules/rag/Application/Auth/Handlers/GetAccessCodesQueryHandler.cs @@ -1,6 +1,5 @@ using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Auth.Queries; diff --git a/src/modules/rag/Application/Auth/Handlers/GetCurrentUserQueryHandler.cs b/src/modules/rag/Application/Auth/Handlers/GetCurrentUserQueryHandler.cs index f502649..9a6ce0e 100644 --- a/src/modules/rag/Application/Auth/Handlers/GetCurrentUserQueryHandler.cs +++ b/src/modules/rag/Application/Auth/Handlers/GetCurrentUserQueryHandler.cs @@ -1,6 +1,5 @@ using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Auth.Queries; diff --git a/src/modules/rag/Application/Auth/Handlers/LoginCommandHandler.cs b/src/modules/rag/Application/Auth/Handlers/LoginCommandHandler.cs index abca8ca..80b480e 100644 --- a/src/modules/rag/Application/Auth/Handlers/LoginCommandHandler.cs +++ b/src/modules/rag/Application/Auth/Handlers/LoginCommandHandler.cs @@ -4,7 +4,6 @@ using System.Security.Claims; using System.Security.Cryptography; using System.Text; using MediatR; -using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.IdentityModel.Tokens; using BuildFlow.Application.Auth.DTOs; diff --git a/src/modules/rag/Application/Auth/Handlers/LogoutCommandHandler.cs b/src/modules/rag/Application/Auth/Handlers/LogoutCommandHandler.cs index 8873733..248d0f8 100644 --- a/src/modules/rag/Application/Auth/Handlers/LogoutCommandHandler.cs +++ b/src/modules/rag/Application/Auth/Handlers/LogoutCommandHandler.cs @@ -1,5 +1,4 @@ using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Auth.Commands; diff --git a/src/modules/rag/Application/Auth/Handlers/RefreshTokenCommandHandler.cs b/src/modules/rag/Application/Auth/Handlers/RefreshTokenCommandHandler.cs index 15029dc..1f1e43a 100644 --- a/src/modules/rag/Application/Auth/Handlers/RefreshTokenCommandHandler.cs +++ b/src/modules/rag/Application/Auth/Handlers/RefreshTokenCommandHandler.cs @@ -3,7 +3,6 @@ using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Text; using MediatR; -using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.IdentityModel.Tokens; using BuildFlow.Application.Auth.DTOs; diff --git a/src/modules/rag/Application/Auth/Handlers/RegisterCommandHandler.cs b/src/modules/rag/Application/Auth/Handlers/RegisterCommandHandler.cs index 439fbeb..1b88b6d 100644 --- a/src/modules/rag/Application/Auth/Handlers/RegisterCommandHandler.cs +++ b/src/modules/rag/Application/Auth/Handlers/RegisterCommandHandler.cs @@ -1,6 +1,5 @@ using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Domain.Entities; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Auth.Commands; diff --git a/src/modules/rag/Application/Auth/Handlers/RevokeTokenCommandHandler.cs b/src/modules/rag/Application/Auth/Handlers/RevokeTokenCommandHandler.cs index 7c55b8a..7dfa671 100644 --- a/src/modules/rag/Application/Auth/Handlers/RevokeTokenCommandHandler.cs +++ b/src/modules/rag/Application/Auth/Handlers/RevokeTokenCommandHandler.cs @@ -1,6 +1,5 @@ using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Auth.Commands; diff --git a/src/modules/rag/Application/Auth/Handlers/UpdateProfileCommandHandler.cs b/src/modules/rag/Application/Auth/Handlers/UpdateProfileCommandHandler.cs index 3c8c9ad..9318a16 100644 --- a/src/modules/rag/Application/Auth/Handlers/UpdateProfileCommandHandler.cs +++ b/src/modules/rag/Application/Auth/Handlers/UpdateProfileCommandHandler.cs @@ -1,5 +1,4 @@ using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Auth.Queries; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Shared.Domain.Exceptions; diff --git a/src/modules/rag/Application/Chat/Handlers/GetConversationDetailQueryHandler.cs b/src/modules/rag/Application/Chat/Handlers/GetConversationDetailQueryHandler.cs index 1dbfb24..f547965 100644 --- a/src/modules/rag/Application/Chat/Handlers/GetConversationDetailQueryHandler.cs +++ b/src/modules/rag/Application/Chat/Handlers/GetConversationDetailQueryHandler.cs @@ -1,6 +1,4 @@ -using System.Linq.Dynamic.Core; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Chat.DTOs; using BuildFlow.Shared.Domain.Exceptions; using BuildFlow.Domain.Interfaces; diff --git a/src/modules/rag/Application/Chat/Handlers/GetConversationsQueryHandler.cs b/src/modules/rag/Application/Chat/Handlers/GetConversationsQueryHandler.cs index 0bddd77..149d6d3 100644 --- a/src/modules/rag/Application/Chat/Handlers/GetConversationsQueryHandler.cs +++ b/src/modules/rag/Application/Chat/Handlers/GetConversationsQueryHandler.cs @@ -1,6 +1,4 @@ -using System.Linq.Dynamic.Core; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Chat.DTOs; using BuildFlow.Shared.Domain.Common; using BuildFlow.Infrastructure.Persistence; diff --git a/src/modules/rag/Application/Chat/Handlers/SendMessageCommandHandler.cs b/src/modules/rag/Application/Chat/Handlers/SendMessageCommandHandler.cs index 7b4340a..3baab59 100644 --- a/src/modules/rag/Application/Chat/Handlers/SendMessageCommandHandler.cs +++ b/src/modules/rag/Application/Chat/Handlers/SendMessageCommandHandler.cs @@ -1,6 +1,4 @@ -using System.Linq.Dynamic.Core; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Chat.DTOs; using BuildFlow.Domain.Entities; using BuildFlow.Domain.Enums; diff --git a/src/modules/rag/Application/Document/Handlers/GetDocumentChunksQueryHandler.cs b/src/modules/rag/Application/Document/Handlers/GetDocumentChunksQueryHandler.cs index 85f581e..e7322c4 100644 --- a/src/modules/rag/Application/Document/Handlers/GetDocumentChunksQueryHandler.cs +++ b/src/modules/rag/Application/Document/Handlers/GetDocumentChunksQueryHandler.cs @@ -1,6 +1,4 @@ -using System.Linq.Dynamic.Core; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Document.DTOs; using BuildFlow.Shared.Domain.Exceptions; using BuildFlow.Infrastructure.Persistence; diff --git a/src/modules/rag/Application/Document/Handlers/GetDocumentsQueryHandler.cs b/src/modules/rag/Application/Document/Handlers/GetDocumentsQueryHandler.cs index d7375af..0b91749 100644 --- a/src/modules/rag/Application/Document/Handlers/GetDocumentsQueryHandler.cs +++ b/src/modules/rag/Application/Document/Handlers/GetDocumentsQueryHandler.cs @@ -1,6 +1,4 @@ -using System.Linq.Dynamic.Core; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Document.DTOs; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Document.Queries; diff --git a/src/modules/rag/Application/Document/Handlers/ProcessDocumentCommandHandler.cs b/src/modules/rag/Application/Document/Handlers/ProcessDocumentCommandHandler.cs index 62a619f..4908e1a 100644 --- a/src/modules/rag/Application/Document/Handlers/ProcessDocumentCommandHandler.cs +++ b/src/modules/rag/Application/Document/Handlers/ProcessDocumentCommandHandler.cs @@ -1,8 +1,6 @@ -using System.Linq.Dynamic.Core; using System.Security.Cryptography; using MediatR; using Microsoft.AspNetCore.Http; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Document.DTOs; using BuildFlow.Domain.Interfaces; using BuildFlow.Domain.Entities; diff --git a/src/modules/rag/Application/Document/Handlers/ProcessKnowledgeBaseCommandHandler.cs b/src/modules/rag/Application/Document/Handlers/ProcessKnowledgeBaseCommandHandler.cs index 3be5e64..0e120de 100644 --- a/src/modules/rag/Application/Document/Handlers/ProcessKnowledgeBaseCommandHandler.cs +++ b/src/modules/rag/Application/Document/Handlers/ProcessKnowledgeBaseCommandHandler.cs @@ -1,6 +1,4 @@ -using System.Linq.Dynamic.Core; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Document.DTOs; using BuildFlow.Domain.Enums; using BuildFlow.Shared.Domain.Exceptions; diff --git a/src/modules/rag/Application/Integration/AiBotHandler.cs b/src/modules/rag/Application/Integration/AiBotHandler.cs index 497b731..855ea03 100644 --- a/src/modules/rag/Application/Integration/AiBotHandler.cs +++ b/src/modules/rag/Application/Integration/AiBotHandler.cs @@ -1,5 +1,4 @@ using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.RagQA.Commands; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Shared.Integration; diff --git a/src/modules/rag/Application/KnowledgeBase/Handlers/GetKnowledgeBasesQueryHandler.cs b/src/modules/rag/Application/KnowledgeBase/Handlers/GetKnowledgeBasesQueryHandler.cs index 1a826f0..488099f 100644 --- a/src/modules/rag/Application/KnowledgeBase/Handlers/GetKnowledgeBasesQueryHandler.cs +++ b/src/modules/rag/Application/KnowledgeBase/Handlers/GetKnowledgeBasesQueryHandler.cs @@ -1,7 +1,6 @@ using MediatR; using BuildFlow.Application.KnowledgeBase.DTOs; using BuildFlow.Infrastructure.Persistence; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.KnowledgeBase.Queries; namespace BuildFlow.Application.KnowledgeBase.Handlers; diff --git a/src/modules/rag/Application/Menus/Handlers/GetAllMenusQueryHandler.cs b/src/modules/rag/Application/Menus/Handlers/GetAllMenusQueryHandler.cs index c361ceb..e78b532 100644 --- a/src/modules/rag/Application/Menus/Handlers/GetAllMenusQueryHandler.cs +++ b/src/modules/rag/Application/Menus/Handlers/GetAllMenusQueryHandler.cs @@ -1,6 +1,4 @@ -using System.Linq.Dynamic.Core; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Menus.DTOs; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Menus.Queries; diff --git a/src/modules/rag/Application/Notifications/Handlers/GetUnreadNotificationCountQueryHandler.cs b/src/modules/rag/Application/Notifications/Handlers/GetUnreadNotificationCountQueryHandler.cs index b9c249e..e3ae676 100644 --- a/src/modules/rag/Application/Notifications/Handlers/GetUnreadNotificationCountQueryHandler.cs +++ b/src/modules/rag/Application/Notifications/Handlers/GetUnreadNotificationCountQueryHandler.cs @@ -1,5 +1,4 @@ using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Notifications.Queries; diff --git a/src/modules/rag/Application/Notifications/Handlers/MarkAllNotificationsReadCommandHandler.cs b/src/modules/rag/Application/Notifications/Handlers/MarkAllNotificationsReadCommandHandler.cs index bdf8052..7acdc55 100644 --- a/src/modules/rag/Application/Notifications/Handlers/MarkAllNotificationsReadCommandHandler.cs +++ b/src/modules/rag/Application/Notifications/Handlers/MarkAllNotificationsReadCommandHandler.cs @@ -1,6 +1,4 @@ -using System.Linq.Dynamic.Core; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Notifications.Commands; diff --git a/src/modules/rag/Application/Notifications/Handlers/MarkNotificationReadCommandHandler.cs b/src/modules/rag/Application/Notifications/Handlers/MarkNotificationReadCommandHandler.cs index cff3032..5a12b73 100644 --- a/src/modules/rag/Application/Notifications/Handlers/MarkNotificationReadCommandHandler.cs +++ b/src/modules/rag/Application/Notifications/Handlers/MarkNotificationReadCommandHandler.cs @@ -1,5 +1,4 @@ using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Notifications.Commands; diff --git a/src/modules/rag/Application/Notifications/Handlers/PublishNotificationCommandHandler.cs b/src/modules/rag/Application/Notifications/Handlers/PublishNotificationCommandHandler.cs index cbf03ff..3b1d124 100644 --- a/src/modules/rag/Application/Notifications/Handlers/PublishNotificationCommandHandler.cs +++ b/src/modules/rag/Application/Notifications/Handlers/PublishNotificationCommandHandler.cs @@ -1,6 +1,4 @@ -using System.Linq.Dynamic.Core; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Domain.Entities; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Notifications.Commands; diff --git a/src/modules/rag/Application/Obsidian/Handlers/SyncObsidianVaultCommandHandler.cs b/src/modules/rag/Application/Obsidian/Handlers/SyncObsidianVaultCommandHandler.cs index 286a806..e31d2af 100644 --- a/src/modules/rag/Application/Obsidian/Handlers/SyncObsidianVaultCommandHandler.cs +++ b/src/modules/rag/Application/Obsidian/Handlers/SyncObsidianVaultCommandHandler.cs @@ -1,7 +1,5 @@ -using System.Linq.Dynamic.Core; using System.Security.Cryptography; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Obsidian.DTOs; using BuildFlow.Domain.Enums; using BuildFlow.Shared.Domain.Exceptions; diff --git a/src/modules/rag/Application/Permissions/Handlers/GetPermissionListQueryHandler.cs b/src/modules/rag/Application/Permissions/Handlers/GetPermissionListQueryHandler.cs index c303b6a..eb86217 100644 --- a/src/modules/rag/Application/Permissions/Handlers/GetPermissionListQueryHandler.cs +++ b/src/modules/rag/Application/Permissions/Handlers/GetPermissionListQueryHandler.cs @@ -1,5 +1,4 @@ using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Permissions.DTOs; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Permissions.Queries; diff --git a/src/modules/rag/Application/Roles/Handlers/AssignPermissionsCommandHandler.cs b/src/modules/rag/Application/Roles/Handlers/AssignPermissionsCommandHandler.cs index c336952..b34fd76 100644 --- a/src/modules/rag/Application/Roles/Handlers/AssignPermissionsCommandHandler.cs +++ b/src/modules/rag/Application/Roles/Handlers/AssignPermissionsCommandHandler.cs @@ -1,7 +1,5 @@ -using System.Linq.Dynamic.Core; using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Roles.DTOs; using BuildFlow.Domain.Entities; using BuildFlow.Infrastructure.Persistence; diff --git a/src/modules/rag/Application/Roles/Handlers/CreateRoleCommandHandler.cs b/src/modules/rag/Application/Roles/Handlers/CreateRoleCommandHandler.cs index 48e5a16..b76e1d6 100644 --- a/src/modules/rag/Application/Roles/Handlers/CreateRoleCommandHandler.cs +++ b/src/modules/rag/Application/Roles/Handlers/CreateRoleCommandHandler.cs @@ -1,6 +1,5 @@ using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Roles.DTOs; using BuildFlow.Domain.Entities; using BuildFlow.Infrastructure.Persistence; diff --git a/src/modules/rag/Application/Roles/Handlers/DeleteRoleCommandHandler.cs b/src/modules/rag/Application/Roles/Handlers/DeleteRoleCommandHandler.cs index 8ee2ee5..96a2f5f 100644 --- a/src/modules/rag/Application/Roles/Handlers/DeleteRoleCommandHandler.cs +++ b/src/modules/rag/Application/Roles/Handlers/DeleteRoleCommandHandler.cs @@ -1,6 +1,5 @@ using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Roles.Commands; diff --git a/src/modules/rag/Application/Roles/Handlers/GetRoleByIdQueryHandler.cs b/src/modules/rag/Application/Roles/Handlers/GetRoleByIdQueryHandler.cs index 0c44509..97d0ece 100644 --- a/src/modules/rag/Application/Roles/Handlers/GetRoleByIdQueryHandler.cs +++ b/src/modules/rag/Application/Roles/Handlers/GetRoleByIdQueryHandler.cs @@ -1,6 +1,5 @@ using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Roles.DTOs; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Roles.Queries; diff --git a/src/modules/rag/Application/Roles/Handlers/GetRoleListQueryHandler.cs b/src/modules/rag/Application/Roles/Handlers/GetRoleListQueryHandler.cs index 4726205..9101cc3 100644 --- a/src/modules/rag/Application/Roles/Handlers/GetRoleListQueryHandler.cs +++ b/src/modules/rag/Application/Roles/Handlers/GetRoleListQueryHandler.cs @@ -1,5 +1,4 @@ using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Roles.DTOs; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Roles.Queries; diff --git a/src/modules/rag/Application/Roles/Handlers/UpdateRoleCommandHandler.cs b/src/modules/rag/Application/Roles/Handlers/UpdateRoleCommandHandler.cs index d00da72..4720e8a 100644 --- a/src/modules/rag/Application/Roles/Handlers/UpdateRoleCommandHandler.cs +++ b/src/modules/rag/Application/Roles/Handlers/UpdateRoleCommandHandler.cs @@ -1,6 +1,5 @@ using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Roles.DTOs; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Roles.Commands; diff --git a/src/modules/rag/Application/Users/Handlers/AssignRolesCommandHandler.cs b/src/modules/rag/Application/Users/Handlers/AssignRolesCommandHandler.cs index 0df41b5..c292dc3 100644 --- a/src/modules/rag/Application/Users/Handlers/AssignRolesCommandHandler.cs +++ b/src/modules/rag/Application/Users/Handlers/AssignRolesCommandHandler.cs @@ -1,7 +1,5 @@ -using System.Linq.Dynamic.Core; using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Users.DTOs; using BuildFlow.Domain.Entities; using BuildFlow.Infrastructure.Persistence; diff --git a/src/modules/rag/Application/Users/Handlers/CreateUserCommandHandler.cs b/src/modules/rag/Application/Users/Handlers/CreateUserCommandHandler.cs index a0283d0..b6134b3 100644 --- a/src/modules/rag/Application/Users/Handlers/CreateUserCommandHandler.cs +++ b/src/modules/rag/Application/Users/Handlers/CreateUserCommandHandler.cs @@ -1,6 +1,5 @@ using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Users.DTOs; using BuildFlow.Domain.Entities; using BuildFlow.Infrastructure.Persistence; diff --git a/src/modules/rag/Application/Users/Handlers/DeleteUserCommandHandler.cs b/src/modules/rag/Application/Users/Handlers/DeleteUserCommandHandler.cs index 25018b4..d6fbdef 100644 --- a/src/modules/rag/Application/Users/Handlers/DeleteUserCommandHandler.cs +++ b/src/modules/rag/Application/Users/Handlers/DeleteUserCommandHandler.cs @@ -1,6 +1,5 @@ using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Users.Commands; diff --git a/src/modules/rag/Application/Users/Handlers/GetUserByIdQueryHandler.cs b/src/modules/rag/Application/Users/Handlers/GetUserByIdQueryHandler.cs index 476e634..a70f0da 100644 --- a/src/modules/rag/Application/Users/Handlers/GetUserByIdQueryHandler.cs +++ b/src/modules/rag/Application/Users/Handlers/GetUserByIdQueryHandler.cs @@ -1,6 +1,5 @@ using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Users.DTOs; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Users.Queries; diff --git a/src/modules/rag/Application/Users/Handlers/GetUserListQueryHandler.cs b/src/modules/rag/Application/Users/Handlers/GetUserListQueryHandler.cs index c566f02..e3005ab 100644 --- a/src/modules/rag/Application/Users/Handlers/GetUserListQueryHandler.cs +++ b/src/modules/rag/Application/Users/Handlers/GetUserListQueryHandler.cs @@ -1,6 +1,4 @@ -using System.Linq.Dynamic.Core; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Users.DTOs; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Users.Queries; diff --git a/src/modules/rag/Application/Users/Handlers/GetUserNamesQueryHandler.cs b/src/modules/rag/Application/Users/Handlers/GetUserNamesQueryHandler.cs index 8c04506..7aab433 100644 --- a/src/modules/rag/Application/Users/Handlers/GetUserNamesQueryHandler.cs +++ b/src/modules/rag/Application/Users/Handlers/GetUserNamesQueryHandler.cs @@ -1,6 +1,4 @@ -using System.Linq.Dynamic.Core; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Users.Queries; diff --git a/src/modules/rag/Application/Users/Handlers/UpdateUserCommandHandler.cs b/src/modules/rag/Application/Users/Handlers/UpdateUserCommandHandler.cs index ab726d4..c0e89aa 100644 --- a/src/modules/rag/Application/Users/Handlers/UpdateUserCommandHandler.cs +++ b/src/modules/rag/Application/Users/Handlers/UpdateUserCommandHandler.cs @@ -1,6 +1,5 @@ using BuildFlow.Shared.Domain.Exceptions; using MediatR; -using Microsoft.EntityFrameworkCore; using BuildFlow.Application.Users.DTOs; using BuildFlow.Infrastructure.Persistence; using BuildFlow.Application.Users.Commands; diff --git a/src/modules/rag/Infrastructure/Persistence/SeedData.cs b/src/modules/rag/Infrastructure/Persistence/SeedData.cs index dd77bb3..fbd03e8 100644 --- a/src/modules/rag/Infrastructure/Persistence/SeedData.cs +++ b/src/modules/rag/Infrastructure/Persistence/SeedData.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using BuildFlow.Domain.Entities; using Microsoft.EntityFrameworkCore; diff --git a/src/modules/sso/Application/Roles/Handlers/AssignPermissionsCommandHandler.cs b/src/modules/sso/Application/Roles/Handlers/AssignPermissionsCommandHandler.cs index e79e51b..6578c6a 100644 --- a/src/modules/sso/Application/Roles/Handlers/AssignPermissionsCommandHandler.cs +++ b/src/modules/sso/Application/Roles/Handlers/AssignPermissionsCommandHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using BuildFlow.Shared.Domain.Exceptions; using MediatR; using Microsoft.EntityFrameworkCore; diff --git a/src/modules/sso/Application/Users/Handlers/AssignRolesCommandHandler.cs b/src/modules/sso/Application/Users/Handlers/AssignRolesCommandHandler.cs index 86a5ef9..df55b2a 100644 --- a/src/modules/sso/Application/Users/Handlers/AssignRolesCommandHandler.cs +++ b/src/modules/sso/Application/Users/Handlers/AssignRolesCommandHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using BuildFlow.Shared.Domain.Exceptions; using MediatR; using Microsoft.EntityFrameworkCore; diff --git a/src/modules/sso/Application/Users/Handlers/GetUserListQueryHandler.cs b/src/modules/sso/Application/Users/Handlers/GetUserListQueryHandler.cs index d642569..ab83ae5 100644 --- a/src/modules/sso/Application/Users/Handlers/GetUserListQueryHandler.cs +++ b/src/modules/sso/Application/Users/Handlers/GetUserListQueryHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Microsoft.EntityFrameworkCore; using SSO.Application.Users.DTOs; diff --git a/src/modules/sso/Infrastructure/Persistence/SeedData.cs b/src/modules/sso/Infrastructure/Persistence/SeedData.cs index cc46ba2..5b929a5 100644 --- a/src/modules/sso/Infrastructure/Persistence/SeedData.cs +++ b/src/modules/sso/Infrastructure/Persistence/SeedData.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using Microsoft.EntityFrameworkCore; using SSO.Domain.Entities; diff --git a/src/modules/workflow/Application/Engine/ProcessEngine.cs b/src/modules/workflow/Application/Engine/ProcessEngine.cs index 3d7ed16..cccf266 100644 --- a/src/modules/workflow/Application/Engine/ProcessEngine.cs +++ b/src/modules/workflow/Application/Engine/ProcessEngine.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using System.Text.Json; using Microsoft.Extensions.DependencyInjection; using Workflow.Application.Notifications; diff --git a/src/modules/workflow/Application/Features/Notifications/GetUnreadNotificationCountHandler.cs b/src/modules/workflow/Application/Features/Notifications/GetUnreadNotificationCountHandler.cs index 186f4d3..7bcebe8 100644 --- a/src/modules/workflow/Application/Features/Notifications/GetUnreadNotificationCountHandler.cs +++ b/src/modules/workflow/Application/Features/Notifications/GetUnreadNotificationCountHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Infrastructure.Persistence; diff --git a/src/modules/workflow/Application/Features/Notifications/MarkAllNotificationsReadCommandHandler.cs b/src/modules/workflow/Application/Features/Notifications/MarkAllNotificationsReadCommandHandler.cs index 472b6ec..db62cb4 100644 --- a/src/modules/workflow/Application/Features/Notifications/MarkAllNotificationsReadCommandHandler.cs +++ b/src/modules/workflow/Application/Features/Notifications/MarkAllNotificationsReadCommandHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Infrastructure.Persistence; diff --git a/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/CreateNodeCommandHandler.cs b/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/CreateNodeCommandHandler.cs index 010a22f..fc29a68 100644 --- a/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/CreateNodeCommandHandler.cs +++ b/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/CreateNodeCommandHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Application.Features.WorkflowDefinitions.Commands; using Workflow.Application.Features.WorkflowDefinitions.DTOs; diff --git a/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/DeleteNodeCommandHandler.cs b/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/DeleteNodeCommandHandler.cs index 136fcd8..8b59cd7 100644 --- a/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/DeleteNodeCommandHandler.cs +++ b/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/DeleteNodeCommandHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Application.Features.WorkflowDefinitions.Commands; using Workflow.Infrastructure.Persistence; diff --git a/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/GetWorkflowDefinitionByIdQueryHandler.cs b/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/GetWorkflowDefinitionByIdQueryHandler.cs index 706d9e0..4647d18 100644 --- a/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/GetWorkflowDefinitionByIdQueryHandler.cs +++ b/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/GetWorkflowDefinitionByIdQueryHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Application.Features.WorkflowDefinitions.DTOs; using Workflow.Application.Features.WorkflowDefinitions.Queries; diff --git a/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/UpdateNodeCommandHandler.cs b/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/UpdateNodeCommandHandler.cs index 6ed2f10..416edcb 100644 --- a/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/UpdateNodeCommandHandler.cs +++ b/src/modules/workflow/Application/Features/WorkflowDefinitions/Handlers/UpdateNodeCommandHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Application.Features.WorkflowDefinitions.Commands; using Workflow.Application.Features.WorkflowDefinitions.DTOs; diff --git a/src/modules/workflow/Application/Features/WorkflowInstances/Handlers/WithdrawWorkflowInstanceCommandHandler.cs b/src/modules/workflow/Application/Features/WorkflowInstances/Handlers/WithdrawWorkflowInstanceCommandHandler.cs index fbb0af8..5e3a3e9 100644 --- a/src/modules/workflow/Application/Features/WorkflowInstances/Handlers/WithdrawWorkflowInstanceCommandHandler.cs +++ b/src/modules/workflow/Application/Features/WorkflowInstances/Handlers/WithdrawWorkflowInstanceCommandHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Application.Features.WorkflowInstances.Commands; using Workflow.Domain.Enums; diff --git a/src/modules/workflow/Application/Features/WorkflowTasks/Handlers/GetTaskByIdQueryHandler.cs b/src/modules/workflow/Application/Features/WorkflowTasks/Handlers/GetTaskByIdQueryHandler.cs index d31c147..a6f44b6 100644 --- a/src/modules/workflow/Application/Features/WorkflowTasks/Handlers/GetTaskByIdQueryHandler.cs +++ b/src/modules/workflow/Application/Features/WorkflowTasks/Handlers/GetTaskByIdQueryHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Application.Features.WorkflowTasks.DTOs; using Workflow.Application.Features.WorkflowTasks.Queries; diff --git a/src/modules/workflow/Application/Form/Aggregates/FormAggregateRefreshService.cs b/src/modules/workflow/Application/Form/Aggregates/FormAggregateRefreshService.cs index 7415134..996043c 100644 --- a/src/modules/workflow/Application/Form/Aggregates/FormAggregateRefreshService.cs +++ b/src/modules/workflow/Application/Form/Aggregates/FormAggregateRefreshService.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using System.Text.Encodings.Web; using System.Text.Json; using System.Text.Json.Nodes; diff --git a/src/modules/workflow/Application/Form/ComponentRegistry/Handlers/GetFormComponentsQueryHandler.cs b/src/modules/workflow/Application/Form/ComponentRegistry/Handlers/GetFormComponentsQueryHandler.cs index 2cabca4..5b15a97 100644 --- a/src/modules/workflow/Application/Form/ComponentRegistry/Handlers/GetFormComponentsQueryHandler.cs +++ b/src/modules/workflow/Application/Form/ComponentRegistry/Handlers/GetFormComponentsQueryHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Application.Form.ComponentRegistry.DTOs; using Workflow.Application.Form.ComponentRegistry.Queries; diff --git a/src/modules/workflow/Application/Form/FormDefinition/Handlers/CompareFormVersionsQueryHandler.cs b/src/modules/workflow/Application/Form/FormDefinition/Handlers/CompareFormVersionsQueryHandler.cs index 766f315..47ccacc 100644 --- a/src/modules/workflow/Application/Form/FormDefinition/Handlers/CompareFormVersionsQueryHandler.cs +++ b/src/modules/workflow/Application/Form/FormDefinition/Handlers/CompareFormVersionsQueryHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Application.Form.DTOs; using Workflow.Application.Form.FormDefinition.Queries; diff --git a/src/modules/workflow/Application/Form/FormDefinition/Handlers/CreateFormDefinitionCommandHandler.cs b/src/modules/workflow/Application/Form/FormDefinition/Handlers/CreateFormDefinitionCommandHandler.cs index 41ad7fc..1ffd75f 100644 --- a/src/modules/workflow/Application/Form/FormDefinition/Handlers/CreateFormDefinitionCommandHandler.cs +++ b/src/modules/workflow/Application/Form/FormDefinition/Handlers/CreateFormDefinitionCommandHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Application.Form.DTOs; using Workflow.Application.Form.FormDefinition.Commands; diff --git a/src/modules/workflow/Application/Form/FormDefinition/Handlers/GetFormVersionsQueryHandler.cs b/src/modules/workflow/Application/Form/FormDefinition/Handlers/GetFormVersionsQueryHandler.cs index b130df6..aee131a 100644 --- a/src/modules/workflow/Application/Form/FormDefinition/Handlers/GetFormVersionsQueryHandler.cs +++ b/src/modules/workflow/Application/Form/FormDefinition/Handlers/GetFormVersionsQueryHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Application.Form.DTOs; using Workflow.Application.Form.FormDefinition.Queries; diff --git a/src/modules/workflow/Application/Form/FormDefinition/Handlers/UpdateFormDefinitionCommandHandler.cs b/src/modules/workflow/Application/Form/FormDefinition/Handlers/UpdateFormDefinitionCommandHandler.cs index 41756d9..57d20b1 100644 --- a/src/modules/workflow/Application/Form/FormDefinition/Handlers/UpdateFormDefinitionCommandHandler.cs +++ b/src/modules/workflow/Application/Form/FormDefinition/Handlers/UpdateFormDefinitionCommandHandler.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using MediatR; using Workflow.Application.Form.DTOs; using Workflow.Application.Form.FormDefinition.Commands; diff --git a/src/modules/workflow/Application/Integration/WorkflowTriggerService.cs b/src/modules/workflow/Application/Integration/WorkflowTriggerService.cs index 01303d5..572f229 100644 --- a/src/modules/workflow/Application/Integration/WorkflowTriggerService.cs +++ b/src/modules/workflow/Application/Integration/WorkflowTriggerService.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using BuildFlow.Shared.Integration; using Workflow.Application.Features.WorkflowInstances.Commands; using Workflow.Domain.Enums; diff --git a/src/modules/workflow/Application/Scheduler/OverdueTaskProcessor.cs b/src/modules/workflow/Application/Scheduler/OverdueTaskProcessor.cs index 98cf2e6..6bc557d 100644 --- a/src/modules/workflow/Application/Scheduler/OverdueTaskProcessor.cs +++ b/src/modules/workflow/Application/Scheduler/OverdueTaskProcessor.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using Microsoft.Extensions.Logging; using Workflow.Application.Engine; using Workflow.Application.Notifications; diff --git a/tests/BuildFlow.Rag.Tests/Notifications/PublishNotificationCommandTests.cs b/tests/BuildFlow.Rag.Tests/Notifications/PublishNotificationCommandTests.cs index 68b1a35..106ae19 100644 --- a/tests/BuildFlow.Rag.Tests/Notifications/PublishNotificationCommandTests.cs +++ b/tests/BuildFlow.Rag.Tests/Notifications/PublishNotificationCommandTests.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using BuildFlow.Application.Notifications; using BuildFlow.Application.Notifications.Commands; using BuildFlow.Application.Notifications.Handlers; diff --git a/tests/BuildFlow.Workflow.Tests/Engine/MultiApprovalTests.cs b/tests/BuildFlow.Workflow.Tests/Engine/MultiApprovalTests.cs index ae85f10..be7ef70 100644 --- a/tests/BuildFlow.Workflow.Tests/Engine/MultiApprovalTests.cs +++ b/tests/BuildFlow.Workflow.Tests/Engine/MultiApprovalTests.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using Workflow.Application.Engine; using Workflow.Domain.Entities; using Workflow.Domain.Enums; diff --git a/tests/BuildFlow.Workflow.Tests/Engine/ProcessEngineTests.cs b/tests/BuildFlow.Workflow.Tests/Engine/ProcessEngineTests.cs index f5853ca..69d25e7 100644 --- a/tests/BuildFlow.Workflow.Tests/Engine/ProcessEngineTests.cs +++ b/tests/BuildFlow.Workflow.Tests/Engine/ProcessEngineTests.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using Workflow.Application.Engine; using Workflow.Domain.Entities; using Workflow.Domain.Enums; diff --git a/tests/BuildFlow.Workflow.Tests/Handlers/WorkflowInstanceHandlerTests.cs b/tests/BuildFlow.Workflow.Tests/Handlers/WorkflowInstanceHandlerTests.cs index cdce39a..3094be1 100644 --- a/tests/BuildFlow.Workflow.Tests/Handlers/WorkflowInstanceHandlerTests.cs +++ b/tests/BuildFlow.Workflow.Tests/Handlers/WorkflowInstanceHandlerTests.cs @@ -1,4 +1,3 @@ -using System.Linq.Dynamic.Core; using FluentAssertions; using Microsoft.EntityFrameworkCore; using Workflow.Application.Engine;