Skip to content

Commit

Permalink
move TenantRole and SubscriptionPlanType in Kernel DomainKernel
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEggenberger committed Dec 1, 2024
1 parent f31ef60 commit 71ae5b2
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Microsoft.EntityFrameworkCore;
using Modules.Subscriptions.Features.DomainFeatures.StripeCustomers;
using Shared.Features.Domain;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.DomainKernel;

namespace Modules.Subscriptions.Features.DomainFeatures.StripeSubscriptions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Modules.Subscriptions.Features.Infrastructure.StripePayments;
using Shared.Features.Configuration;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.DomainKernel;

namespace Modules.Subscriptions.Features.Infrastructure.Configuration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Modules.Subscriptions.Features.Infrastructure.Configuration;
using Modules.Subscriptions.Features.Infrastructure.EFCore;
using Shared.Features.Messaging.Command;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.DomainKernel;
using Stripe.Checkout;

namespace Modules.Subscriptions.Features.Infrastructure.StripePayments
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.DomainKernel;

namespace Modules.Subscriptions.Features.Infrastructure.StripePayments
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Shared.Kernel.BuildingBlocks;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.DomainKernel;

namespace Modules.Subscriptions.IntegrationEvents
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Microsoft.AspNetCore.Mvc;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.BuildingBlocks.Auth.Attributes;
using Modules.Subscriptions.Features.Infrastructure.StripePayments;
using Shared.Features.Server;
using Shared.Kernel.DomainKernel;

namespace Modules.Subscriptions.Server.Controllers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Shared.Features.Domain;
using Shared.Features.Domain.Exceptions;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.DomainKernel;
using Shared.Kernel.Errors;

namespace Modules.TenantIdentity.Features.DomainFeatures.Tenants.Domain
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Microsoft.Extensions.Hosting;
using Shared.Kernel.BuildingBlocks;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.DomainKernel;
using Shared.Kernel.Extensions.ClaimsPrincipal;

namespace Shared.Features.Server.ExecutionContext
Expand Down
1 change: 1 addition & 0 deletions Source/Shared/Kernel/BuildingBlocks/IExecutionContext.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Microsoft.Extensions.Hosting;
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.DomainKernel;


namespace Shared.Kernel.BuildingBlocks
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Shared.Kernel.BuildingBlocks.Auth
namespace Shared.Kernel.DomainKernel
{
public enum SubscriptionPlanType
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Shared.Kernel.BuildingBlocks.Auth;
using Shared.Kernel.BuildingBlocks.Auth.Constants;
using Shared.Kernel.DomainKernel;
using Shared.Kernel.Extensions.ClaimsPrincipal.Exceptions;
using System.ComponentModel;

Expand Down

0 comments on commit 71ae5b2

Please sign in to comment.