mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
Refactor: migrate Core -> Domain and reorganize projects
Large refactor that renames/moves core types into a new Govor.Domain surface and reorganizes the Application layer. Models, configurations, migrations and many files moved from Govor.Core/Govor.Data to Govor.Domain; numerous Application services, interfaces and implementations were relocated or added (authentication, friends, messages, medias, push notifications, user sessions, storage, synching, private chats, etc.). Tests updated to use Govor.Domain namespaces and adjusted project references (removed Govor.Data reference from API tests). Also updated API, Hub and mapping code and project files to reflect the new structure and naming. This is primarily a codebase-wide namespace and module reorganization to establish a Domain project and restructure application services.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
using Govor.API.Common.SignalR.Helpers;
|
||||
using Govor.Application.Interfaces;
|
||||
using Govor.Application.Interfaces.Friends;
|
||||
using Govor.Application.Interfaces.Medias;
|
||||
using Govor.Application.Friends;
|
||||
using Govor.Application.Medias;
|
||||
using Govor.Application.Profiles;
|
||||
using Govor.Application.Synching;
|
||||
using Govor.Contracts.DTOs;
|
||||
using Govor.Contracts.Responses.SignalR;
|
||||
using Govor.Core.Repositories.Groups;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.SignalR;
|
||||
|
||||
@@ -13,7 +13,6 @@ namespace Govor.API.Hubs;
|
||||
[Authorize]
|
||||
public class ProfileHub : Hub
|
||||
{
|
||||
private readonly IGroupsRepository _groupsRepository;
|
||||
private readonly IFriendshipService _friendsService;
|
||||
private readonly IProfileService _profileService;
|
||||
private readonly IHubUserAccessor _userAccessor;
|
||||
@@ -22,7 +21,6 @@ public class ProfileHub : Hub
|
||||
private readonly IMediaService _mediaService;
|
||||
|
||||
public ProfileHub(
|
||||
IGroupsRepository groupsRepository,
|
||||
IFriendshipService friendsService,
|
||||
IProfileService profileService,
|
||||
IHubUserAccessor userAccessor,
|
||||
@@ -30,7 +28,6 @@ public class ProfileHub : Hub
|
||||
IMediaService mediaService,
|
||||
ILogger<ProfileHub> logger)
|
||||
{
|
||||
_groupsRepository = groupsRepository;
|
||||
_friendsService = friendsService;
|
||||
_profileService = profileService;
|
||||
_userAccessor = userAccessor;
|
||||
|
||||
Reference in New Issue
Block a user