Remove unused fat

This commit is contained in:
2024-10-20 14:10:36 -04:00
parent 28d74503df
commit 905d3747d2
48 changed files with 20 additions and 792 deletions

View File

@@ -1,5 +1,4 @@
using Hutopy.Application.AzureBlobStorage.Constants;
using Hutopy.Infrastructure.AzureBlob;
using Hutopy.Infrastructure.BlobStorage;
using Hutopy.Web.Features.Contents.Data;
namespace Hutopy.Web.Features.Contents.Handlers;

View File

@@ -1,5 +1,4 @@
using Hutopy.Application.AzureBlobStorage.Constants;
using Hutopy.Infrastructure.AzureBlob;
using Hutopy.Infrastructure.BlobStorage;
using Hutopy.Web.Features.Contents.Data;
namespace Hutopy.Web.Features.Contents.Handlers;

View File

@@ -1,6 +1,5 @@
using System.Collections.Concurrent;
using Hutopy.Application.AzureBlobStorage.Constants;
using Hutopy.Infrastructure.AzureBlob;
using Hutopy.Infrastructure.BlobStorage;
using Hutopy.Web.Common;
using Hutopy.Web.Features.Contents.Data;
using Hutopy.Web.Features.Contents.Handlers.Models;

View File

@@ -1,5 +1,4 @@
using Hutopy.Application.AzureBlobStorage.Constants;
using Hutopy.Infrastructure.AzureBlob;
using Hutopy.Infrastructure.BlobStorage;
using Hutopy.Infrastructure.Identity;
using Hutopy.Web.Common;

View File

@@ -1,5 +1,4 @@
using Hutopy.Application.AzureBlobStorage.Constants;
using Hutopy.Infrastructure.AzureBlob;
using Hutopy.Infrastructure.BlobStorage;
using Hutopy.Infrastructure.Identity;
namespace Hutopy.Web.Features.Users.Handlers;

View File

@@ -30,8 +30,7 @@ public class GoogleUserInfo
[PublicAPI]
public record LoginWithGoogleRequest(
string Token)
: IRequest<LoginWithGoogleResponse>;
string Token);
public record LoginWithGoogleResponse(
string AccessToken,

View File

@@ -1,6 +1,4 @@
global using Ardalis.GuardClauses;
global using FastEndpoints;
global using FluentValidation;
global using JetBrains.Annotations;
global using MediatR;
global using Microsoft.EntityFrameworkCore;

View File

@@ -1,5 +1,4 @@
using Azure.Identity;
using Hutopy.Application;
using Hutopy.Infrastructure;
using Hutopy.Infrastructure.Data;
using Hutopy.Infrastructure.Identity;

View File

@@ -1,5 +1,4 @@
using Hutopy.Domain.Constants;
using Hutopy.Infrastructure.Identity;
using Hutopy.Infrastructure.Identity;
using Hutopy.Web.Common;
using Hutopy.Web.Features.Contents.Data;
using Hutopy.Web.Features.Messages.Data;
@@ -34,7 +33,7 @@ internal class TestDataSeeder(
{
if (contentContext.Contents.Any()) return;
_users.Add(await CreateUserAsync("admin", null, Roles.Administrator));
_users.Add(await CreateUserAsync("admin", null, KnownRoles.Administrator));
var userA = await CreateUserAsync("userA", null);
_users.Add(userA);
_users.Add(await CreateUserAsync("userB", null));
@@ -44,7 +43,7 @@ internal class TestDataSeeder(
var creatorUser = await CreateUserAsync(
creator.Name,
creator.Images.Logo,
Roles.Creator);
KnownRoles.Creator);
creator.Id = creatorUser.Id;
creator.CreatedBy = creator.Id;

View File

@@ -7,7 +7,6 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Application\Application.csproj" />
<ProjectReference Include="..\Infrastructure\Infrastructure.csproj" />
</ItemGroup>