This commit is contained in:
2026-04-29 20:58:36 -04:00
parent 20f8a14bfb
commit 43bcf449fd
126 changed files with 524 additions and 394 deletions

View File

@@ -1,4 +1,4 @@
namespace Socialize.Modules.Notifications.Contracts;
namespace Socialize.Api.Modules.Notifications.Contracts;
public record NotificationEventWriteModel(
Guid WorkspaceId,

View File

@@ -1,4 +1,4 @@
namespace Socialize.Modules.Notifications.Data;
namespace Socialize.Api.Modules.Notifications.Data;
public class NotificationEvent
{

View File

@@ -1,4 +1,6 @@
namespace Socialize.Modules.Notifications.Data;
using Microsoft.EntityFrameworkCore;
namespace Socialize.Api.Modules.Notifications.Data;
public static class NotificationModelConfiguration
{

View File

@@ -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
{

View File

@@ -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);

View File

@@ -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,

View File

@@ -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)