wip
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace Socialize.Modules.Notifications.Contracts;
|
||||
namespace Socialize.Api.Modules.Notifications.Contracts;
|
||||
|
||||
public record NotificationEventWriteModel(
|
||||
Guid WorkspaceId,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Socialize.Modules.Notifications.Data;
|
||||
namespace Socialize.Api.Modules.Notifications.Data;
|
||||
|
||||
public class NotificationEvent
|
||||
{
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
namespace Socialize.Modules.Notifications.Data;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Socialize.Api.Modules.Notifications.Data;
|
||||
|
||||
public static class NotificationModelConfiguration
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using Socialize.Modules.Notifications.Contracts;
|
||||
using Socialize.Modules.Notifications.Data;
|
||||
using Socialize.Modules.Notifications.Services;
|
||||
using Socialize.Api.Modules.Notifications.Contracts;
|
||||
using Socialize.Api.Modules.Notifications.Data;
|
||||
using Socialize.Api.Modules.Notifications.Services;
|
||||
|
||||
namespace Socialize.Modules.Notifications;
|
||||
namespace Socialize.Api.Modules.Notifications;
|
||||
|
||||
public static class DependencyInjection
|
||||
{
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
using Socialize.Infrastructure.Security;
|
||||
namespace Socialize.Modules.Notifications.Handlers;
|
||||
using FastEndpoints;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Socialize.Api.Data;
|
||||
using Socialize.Api.Infrastructure.Security;
|
||||
using Socialize.Api.Modules.ContentItems.Data;
|
||||
using Socialize.Api.Modules.Notifications.Data;
|
||||
|
||||
namespace Socialize.Api.Modules.Notifications.Handlers;
|
||||
|
||||
public record GetNotificationsRequest(Guid? WorkspaceId, Guid? ContentItemId);
|
||||
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
using Socialize.Infrastructure.Security;
|
||||
using Socialize.Modules.Notifications.Data;
|
||||
using FastEndpoints;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Socialize.Api.Data;
|
||||
using Socialize.Api.Infrastructure.Security;
|
||||
using Socialize.Api.Modules.Notifications.Data;
|
||||
|
||||
namespace Socialize.Modules.Notifications.Handlers;
|
||||
namespace Socialize.Api.Modules.Notifications.Handlers;
|
||||
|
||||
public class MarkNotificationAsReadHandler(
|
||||
AppDbContext dbContext,
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
using Socialize.Modules.Notifications.Contracts;
|
||||
using Socialize.Modules.Notifications.Data;
|
||||
using Socialize.Api.Data;
|
||||
using Socialize.Api.Modules.Notifications.Contracts;
|
||||
using Socialize.Api.Modules.Notifications.Data;
|
||||
|
||||
namespace Socialize.Modules.Notifications.Services;
|
||||
namespace Socialize.Api.Modules.Notifications.Services;
|
||||
|
||||
public class NotificationEventWriter(
|
||||
AppDbContext dbContext)
|
||||
|
||||
Reference in New Issue
Block a user