Skip to content

Commit

Permalink
Removed Aggregate from Namespace paths
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidEggenberger committed Feb 25, 2024
1 parent 6896da9 commit 4d1c9d6
Show file tree
Hide file tree
Showing 76 changed files with 208 additions and 208 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ public partial class LandingPage : ComponentBase
public bool ShowSignIn { get; set; }


protected FeatureSection SelectedFeature;
protected DomainFeaturesection SelectedFeature;
private bool clicked;
private List<FAQ> faqs;

protected override async Task OnInitializedAsync()
{
SelectedFeature = FeatureSection.ExcelTable;
SelectedFeature = DomainFeaturesection.ExcelTable;
faqs = new List<FAQ>()
{
new FAQ() { Answer = "I already use LinkedIn, what does ContactCone bring me?" }
Expand Down Expand Up @@ -59,7 +59,7 @@ private async Task CarouselInitAsync()
return;
}
var currentIndex = (int)SelectedFeature;
SelectedFeature = (FeatureSection)((currentIndex % 4) + 1);
SelectedFeature = (DomainFeaturesection)((currentIndex % 4) + 1);
StateHasChanged();
}
}
Expand All @@ -76,7 +76,7 @@ public void OpenSignUpModal()
//modalReference = ModalService.Show<SignUpModal>(string.Empty, modelParameters, DefaultModalOptions.Options);
}
}
public enum FeatureSection
public enum DomainFeaturesection
{
ExcelTable = 1,
Touchpoints = 2,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using Microsoft.EntityFrameworkCore;
using Modules.Subscription.Features.Infrastructure.EFCore;
using Modules.Subscription.DomainFeatures.Infrastructure.EFCore;
using Modules.TenantIdentity.IntegrationEvents;
using Shared.Features.CQRS.IntegrationEvent;
using Stripe;

namespace Modules.Subscriptions.Features.Aggregates.StripeCustomerAggregate.Application.IntegrationEvents
namespace Modules.Subscriptions.DomainFeatures.StripeCustomerAggregate.Application.IntegrationEvents
{
public class TenantAdminCreatedIntegrationEventHandler : IIntegrationEventHandler<TenantAdminCreatedIntegrationEvent>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Microsoft.EntityFrameworkCore;
using Modules.Subscription.Features.Infrastructure.EFCore;
using Modules.Subscriptions.Features.Agregates.StripeCustomerAggregate;
using Modules.Subscription.DomainFeatures.Infrastructure.EFCore;
using Modules.Subscriptions.DomainFeatures.Agregates.StripeCustomerAggregate;
using Shared.Features.CQRS.Query;

namespace Modules.Subscriptions.Features.Aggregates.StripeCustomerAggregate.Application.Queries
namespace Modules.Subscriptions.DomainFeatures.StripeCustomerAggregate.Application.Queries
{
public class GetStripeCustomerByStripePortalId : IQuery<StripeCustomer>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.Domain;

namespace Modules.Subscriptions.Features.Agregates.StripeCustomerAggregate
namespace Modules.Subscriptions.DomainFeatures.Agregates.StripeCustomerAggregate
{
public class StripeCustomer : Entity
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using Microsoft.EntityFrameworkCore;
using Modules.Subscription.Features.Infrastructure.Configuration;
using Modules.Subscription.Features.Infrastructure.EFCore;
using Modules.Subscriptions.Features.Agregates.StripeSubscriptionAggregate;
using Modules.Subscription.DomainFeatures.Infrastructure.Configuration;
using Modules.Subscription.DomainFeatures.Infrastructure.EFCore;
using Modules.Subscriptions.DomainFeatures.Agregates.StripeSubscriptionAggregate;
using Modules.Subscriptions.IntegrationEvents;
using Shared.Features.CQRS.Command;
using Shared.Features.CQRS.IntegrationEvent;
using Stripe;

namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands
namespace Modules.Subscriptions.DomainFeatures.StripeSubscriptionAggregate.Application.Commands
{
public class CreateTrialingSubscriptionForTenant : ICommand
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.CQRS.Command;

namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands
namespace Modules.Subscriptions.DomainFeatures.StripeSubscriptionAggregate.Application.Commands
{
public class DeleteSubscription : ICommand
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Shared.Features.CQRS.Query;
using Shared.Kernel.BuildingBlocks.Auth.Attributes;

namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands
namespace Modules.Subscriptions.DomainFeatures.StripeSubscriptionAggregate.Application.Commands
{
[AuthorizeTenantAdmin]
public class GetSubscriptionForTenant : IQuery<object>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Features.CQRS.Command;

namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands
namespace Modules.Subscriptions.DomainFeatures.StripeSubscriptionAggregate.Application.Commands
{
public class UpdateSubscriptionPeriodEnd : ICommand
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Modules.Subscriptions.Features.Agregates.StripeSubscriptionAggregate;
using Modules.Subscriptions.DomainFeatures.Agregates.StripeSubscriptionAggregate;

namespace Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Infrastructure
namespace Modules.Subscriptions.DomainFeatures.StripeSubscriptionAggregate.Infrastructure
{
public class StripeSubscriptionEFConfiguration : IEntityTypeConfiguration<StripeSubscription>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Modules.Subscriptions.Features.Agregates.StripeCustomerAggregate;
using Modules.Subscriptions.DomainFeatures.Agregates.StripeCustomerAggregate;
using Shared.Features.Domain;
using Shared.Kernel.BuildingBlocks.Auth;

namespace Modules.Subscriptions.Features.Agregates.StripeSubscriptionAggregate
namespace Modules.Subscriptions.DomainFeatures.Agregates.StripeSubscriptionAggregate
{
public class StripeSubscription : AggregateRoot
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Modules.Subscriptions.Features.Agregates.StripeSubscriptionAggregate
namespace Modules.Subscriptions.DomainFeatures.Agregates.StripeSubscriptionAggregate
{
public enum StripeSubscriptionStatus
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.Extensions.Options;
using Stripe;

namespace Modules.Subscription.Features.Infrastructure.Configuration
namespace Modules.Subscription.DomainFeatures.Infrastructure.Configuration
{
public static class Registrator
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Modules.Subscriptions.Features.Infrastructure.StripePayments;
using Modules.Subscriptions.DomainFeatures.Infrastructure.StripePayments;
using Shared.Kernel.BuildingBlocks.Auth;

namespace Modules.Subscription.Features.Infrastructure.Configuration
namespace Modules.Subscription.DomainFeatures.Infrastructure.Configuration
{
public class SubscriptionsConfiguration
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.Extensions.Options;

namespace Modules.Subscription.Features.Infrastructure.Configuration
namespace Modules.Subscription.DomainFeatures.Infrastructure.Configuration
{
public class SubscriptionsConfigurationValidator : IValidateOptions<SubscriptionsConfiguration>
{
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#nullable disable

namespace Modules.Subscriptions.Features.Infrastructure.EFCore.Migrations
namespace Modules.Subscriptions.DomainFeatures.Infrastructure.EFCore.Migrations
{
/// <inheritdoc />
public partial class initial : Migration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Modules.Subscription.Features.Infrastructure.EFCore;
using Modules.Subscription.DomainFeatures.Infrastructure.EFCore;

#nullable disable

namespace Modules.Subscriptions.Features.Infrastructure.EFCore.Migrations
namespace Modules.Subscriptions.DomainFeatures.Infrastructure.EFCore.Migrations
{
[DbContext(typeof(SubscriptionsDbContext))]
partial class SubscriptionsDbContextModelSnapshot : ModelSnapshot
Expand All @@ -23,7 +23,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)

SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);

modelBuilder.Entity("Modules.Subscriptions.Features.Agregates.StripeCustomerAggregate.StripeCustomer", b =>
modelBuilder.Entity("Modules.Subscriptions.DomainFeatures.Agregates.StripeCustomerAggregate.StripeCustomer", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
Expand Down Expand Up @@ -53,7 +53,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.ToTable("StripeCustomers", "Subscriptions");
});

modelBuilder.Entity("Modules.Subscriptions.Features.Agregates.StripeSubscriptionAggregate.StripeSubscription", b =>
modelBuilder.Entity("Modules.Subscriptions.DomainFeatures.Agregates.StripeSubscriptionAggregate.StripeSubscription", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
Expand Down Expand Up @@ -94,9 +94,9 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.ToTable("StripeSubscriptions", "Subscriptions");
});

modelBuilder.Entity("Modules.Subscriptions.Features.Agregates.StripeSubscriptionAggregate.StripeSubscription", b =>
modelBuilder.Entity("Modules.Subscriptions.DomainFeatures.Agregates.StripeSubscriptionAggregate.StripeSubscription", b =>
{
b.HasOne("Modules.Subscriptions.Features.Agregates.StripeCustomerAggregate.StripeCustomer", "StripeCustomer")
b.HasOne("Modules.Subscriptions.DomainFeatures.Agregates.StripeCustomerAggregate.StripeCustomer", "StripeCustomer")
.WithMany()
.HasForeignKey("StripeCustomerId")
.OnDelete(DeleteBehavior.Cascade)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Microsoft.EntityFrameworkCore;
using Modules.Subscriptions.Features.Agregates.StripeCustomerAggregate;
using Modules.Subscriptions.Features.Agregates.StripeSubscriptionAggregate;
using Modules.Subscriptions.DomainFeatures.Agregates.StripeCustomerAggregate;
using Modules.Subscriptions.DomainFeatures.Agregates.StripeSubscriptionAggregate;
using Shared.Features.EFCore;

namespace Modules.Subscription.Features.Infrastructure.EFCore
namespace Modules.Subscription.DomainFeatures.Infrastructure.EFCore
{
public class SubscriptionsDbContext : BaseDbContext<SubscriptionsDbContext>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Microsoft.EntityFrameworkCore;
using Modules.Subscription.Features.Infrastructure.EFCore;
using Modules.Subscription.DomainFeatures.Infrastructure.EFCore;
using Shared.Features.CQRS.Command;
using Stripe.BillingPortal;

namespace Modules.Subscriptions.Features.Infrastructure.StripePayments
namespace Modules.Subscriptions.DomainFeatures.Infrastructure.StripePayments
{
public class CreateStripeBillingPortalSession : ICommand<Stripe.BillingPortal.Session>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using Microsoft.EntityFrameworkCore;
using Modules.Subscription.Features.Infrastructure.Configuration;
using Modules.Subscription.Features.Infrastructure.EFCore;
using Modules.Subscription.DomainFeatures.Infrastructure.Configuration;
using Modules.Subscription.DomainFeatures.Infrastructure.EFCore;
using Shared.Features.CQRS.Command;
using Shared.Kernel.BuildingBlocks.Auth;
using Stripe.Checkout;

namespace Modules.Subscriptions.Features.Infrastructure.StripePayments
namespace Modules.Subscriptions.DomainFeatures.Infrastructure.StripePayments
{
public class CreateStripeCheckoutSession : ICommand<Stripe.Checkout.Session>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Shared.Kernel.BuildingBlocks.Auth;

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

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

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

namespace Modules.Subscription.Server.Controllers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Mvc;
using Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands;
using Modules.Subscriptions.DomainFeatures.StripeSubscriptionAggregate.Application.Commands;
using Shared.Features.Server;
using Shared.Kernel.BuildingBlocks.Auth.Attributes;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
using Microsoft.AspNetCore.Mvc;
using Shared.Kernel.BuildingBlocks.Auth;
using Stripe.Checkout;
using Modules.Subscriptions.Features.Agregates.StripeCustomerAggregate;
using Modules.Subscriptions.DomainFeatures.Agregates.StripeCustomerAggregate;
using Shared.Features.Server;
using Modules.Subscriptions.Features.Aggregates.StripeCustomerAggregate.Application.Queries;
using Modules.Subscriptions.DomainFeatures.StripeCustomerAggregate.Application.Queries;

namespace Modules.Subscription.Server.Controllers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Modules.Subscription.Features.Infrastructure.Configuration;
using Modules.Subscription.Features.Infrastructure.EFCore;
using Modules.Subscription.DomainFeatures.Infrastructure.Configuration;
using Modules.Subscription.DomainFeatures.Infrastructure.EFCore;
using Shared.Features.EFCore;
using Shared.Features.Modules;
using System.Reflection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using Microsoft.AspNetCore.Mvc;
using Stripe;
using Shared.Features.Server;
using Modules.Subscription.Features.Infrastructure.Configuration;
using Modules.Subscriptions.Features.Aggregates.StripeSubscriptionAggregate.Application.Commands;
using Modules.Subscription.DomainFeatures.Infrastructure.Configuration;
using Modules.Subscriptions.DomainFeatures.StripeSubscriptionAggregate.Application.Commands;

namespace Modules.Subscription.Server.WebHooks
{
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4d1c9d6

Please sign in to comment.