[shared] Refactor namespaces

This commit is contained in:
Laura Hausmann 2024-07-04 17:53:11 +02:00
parent 6ba71b0511
commit e0461ee3fd
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
91 changed files with 97 additions and 28 deletions

View file

@ -12,6 +12,7 @@ using Iceshrimp.Backend.Core.Helpers;
using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;

View file

@ -7,6 +7,7 @@ using Iceshrimp.Backend.Core.Helpers;
using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;
using Microsoft.EntityFrameworkCore;

View file

@ -5,6 +5,7 @@ using Iceshrimp.Backend.Core.Database;
using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;

View file

@ -4,6 +4,7 @@ using Iceshrimp.Backend.Core.Database;
using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;
using Microsoft.EntityFrameworkCore;

View file

@ -2,6 +2,7 @@ using System.Net;
using System.Net.Mime;
using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;

View file

@ -10,6 +10,7 @@ using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Backend.Core.Queues;
using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;

View file

@ -9,6 +9,7 @@ using Iceshrimp.Backend.Core.Database;
using Iceshrimp.Backend.Core.Database.Tables;
using Iceshrimp.Backend.Core.Federation.WebFinger;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;

View file

@ -11,6 +11,7 @@ using Iceshrimp.Backend.Core.Helpers;
using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;
using Microsoft.EntityFrameworkCore;

View file

@ -6,6 +6,7 @@ using Iceshrimp.Backend.Core.Database;
using Iceshrimp.Backend.Core.Extensions;
using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;
using Microsoft.EntityFrameworkCore;

View file

@ -5,6 +5,7 @@ using Iceshrimp.Backend.Core.Extensions;
using Iceshrimp.Backend.Core.Helpers;
using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;

View file

@ -1,6 +1,7 @@
using Iceshrimp.Backend.Core.Database.Tables;
using Iceshrimp.Backend.Core.Extensions;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
namespace Iceshrimp.Backend.Controllers.Renderers;

View file

@ -2,6 +2,7 @@ using Iceshrimp.Backend.Core.Database;
using Iceshrimp.Backend.Core.Database.Tables;
using Iceshrimp.Backend.Core.Extensions;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.EntityFrameworkCore;
namespace Iceshrimp.Backend.Controllers.Renderers;

View file

@ -3,6 +3,7 @@ using Iceshrimp.Backend.Core.Database;
using Iceshrimp.Backend.Core.Database.Tables;
using Iceshrimp.Backend.Core.Extensions;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;

View file

@ -10,6 +10,7 @@ using Iceshrimp.Backend.Core.Extensions;
using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;
using Microsoft.EntityFrameworkCore;

View file

@ -3,6 +3,7 @@ using Iceshrimp.Backend.Core.Database;
using Iceshrimp.Backend.Core.Database.Tables;
using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;

View file

@ -8,6 +8,7 @@ using Iceshrimp.Backend.Core.Extensions;
using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;
using Microsoft.EntityFrameworkCore;

View file

@ -9,6 +9,7 @@ using Iceshrimp.Backend.Core.Extensions;
using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;
using Microsoft.EntityFrameworkCore;

View file

@ -13,6 +13,7 @@ using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Backend.Hubs.Authentication;
using Iceshrimp.Shared.Configuration;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption;

View file

@ -1,6 +1,7 @@
using System.Linq.Expressions;
using Iceshrimp.Backend.Controllers.Mastodon.Schemas.Entities;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
namespace Iceshrimp.Backend.Core.Helpers;

View file

@ -4,6 +4,7 @@ using Iceshrimp.Backend.Controllers.Mastodon.Attributes;
using Iceshrimp.Backend.Controllers.Mastodon.Schemas;
using Iceshrimp.Backend.Core.Configuration;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.Extensions.Options;
namespace Iceshrimp.Backend.Core.Middleware;

View file

@ -4,8 +4,9 @@ using Iceshrimp.Backend.Controllers.Renderers;
using Iceshrimp.Backend.Core.Database.Tables;
using Iceshrimp.Backend.Hubs;
using Iceshrimp.Backend.Hubs.Helpers;
using Iceshrimp.Shared.HubSchemas;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.SignalR;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.SignalR;
namespace Iceshrimp.Backend.Core.Services;

View file

@ -1,4 +1,4 @@
using Iceshrimp.Shared.HubSchemas;
using Iceshrimp.Shared.Schemas.SignalR;
using Microsoft.AspNetCore.SignalR;
namespace Iceshrimp.Backend.Hubs;

View file

@ -7,8 +7,9 @@ using Iceshrimp.Backend.Core.Events;
using Iceshrimp.Backend.Core.Extensions;
using Iceshrimp.Backend.Core.Helpers;
using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.HubSchemas;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.SignalR;
using Iceshrimp.Shared.Schemas.Web;
using JetBrains.Annotations;
using Microsoft.AspNetCore.SignalR;
using Microsoft.EntityFrameworkCore;

View file

@ -1,6 +1,6 @@
using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.HubSchemas;
using Iceshrimp.Shared.Schemas.SignalR;
using Microsoft.AspNetCore.SignalR;
namespace Iceshrimp.Backend.Hubs;

View file

@ -1,6 +1,7 @@
@* ReSharper disable once RedundantUsingDirective *@
@using Iceshrimp.Frontend.Components.Note
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@inject NavigationManager NavigationManager
<div class="note">
<div class="note-container">

View file

@ -1,5 +1,6 @@
@using Iceshrimp.Assets.PhosphorIcons
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@if (Attachment.ContentType.StartsWith("image"))
{

View file

@ -1,5 +1,6 @@
@using Iceshrimp.Assets.PhosphorIcons
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@inject IJSRuntime Js
<dialog class="attachment-view" @ref="Dialog">

View file

@ -4,6 +4,7 @@
@using Iceshrimp.Frontend.Localization
@using Iceshrimp.Parsing
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@using Microsoft.Extensions.Localization
@inject IJSRuntime Js
@inject ApiService ApiService

View file

@ -1,5 +1,6 @@
@using Iceshrimp.Frontend.Core.Services
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@inject EmojiService EmojiService
@if (_display)

View file

@ -1,4 +1,5 @@
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@using Ljbc1994.Blazor.IntersectionObserver
@using Ljbc1994.Blazor.IntersectionObserver.API
@using Ljbc1994.Blazor.IntersectionObserver.Components

View file

@ -1,5 +1,6 @@
@using Iceshrimp.Frontend.Core.Miscellaneous
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@TextBody
@code {

View file

@ -1,5 +1,6 @@
@using Iceshrimp.Frontend.Core.Services
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@inject ApiService ApiService
@inject NavigationManager NavigationManager
@inject ComposeService ComposeService

View file

@ -1,4 +1,5 @@
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
<div class="attachment-container">
@foreach (var element in Attachments)
{

View file

@ -1,4 +1,5 @@
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@if (NoteBase.Cw != null)
{
<div class="cw">

View file

@ -1,5 +1,6 @@
@using Iceshrimp.Frontend.Core.Services
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@inject ApiService ApiService;
@inject NavigationManager NavigationManager
@inject ComposeService ComposeService

View file

@ -2,6 +2,7 @@
@using Iceshrimp.Frontend.Core.Services
@using Iceshrimp.Frontend.Localization
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@using Microsoft.Extensions.Localization
@inject IStringLocalizer<Localization> Loc;
@inject IJSRuntime Js;

View file

@ -1,6 +1,7 @@
@using Iceshrimp.Assets.PhosphorIcons
@using Iceshrimp.Frontend.Localization
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@using Microsoft.Extensions.Localization
@inject IStringLocalizer<Localization> Loc;

View file

@ -1,4 +1,5 @@
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
<button @onclick="React" class="reaction">
<span class="icon">
@if (Reaction.Url == null)

View file

@ -2,6 +2,7 @@
@using Iceshrimp.Frontend.Components.Note
@using Iceshrimp.Frontend.Localization
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@using Microsoft.Extensions.Localization
@inject IStringLocalizer<Localization> Loc;
@inject NavigationManager NavigationManager

View file

@ -1,6 +1,7 @@
using Iceshrimp.Frontend.Core.Miscellaneous;
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Components;
namespace Iceshrimp.Frontend.Components;

View file

@ -1,5 +1,6 @@
@using Iceshrimp.Frontend.Localization
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@using Microsoft.Extensions.Localization
@inject IStringLocalizer<Localization> Loc;
<div class="profile-info">

View file

@ -1,4 +1,5 @@
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
<div class="field">
<span class="field-name">@Field.Name</span>
<span class="field-value">

View file

@ -1,6 +1,7 @@
@* ReSharper disable once RedundantUsingDirective *@
@using Iceshrimp.Frontend.Components.Note
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@inject NavigationManager NavigationManager
<div class="@(Depth > 0 ? "descendant" : "root-note")">

View file

@ -6,6 +6,7 @@
@using Microsoft.Extensions.Localization
@* ReSharper disable once RedundantUsingDirective *@
@using Iceshrimp.Frontend.Components.Note
@using Iceshrimp.Shared.Schemas.Web
@inject IStringLocalizer<Localization> Loc;
@inject ApiService Api;
@inject NavigationManager Navigation;

View file

@ -1,3 +1,4 @@
@using Iceshrimp.Shared.Schemas.Web
@if (_init)
{
<VirtualScroller @ref=VirtualScroller NoteResponseList="State.Timeline" ReachedEnd="FetchOlder" ReachedStart="FetchNewer"/>

View file

@ -1,8 +1,9 @@
using Iceshrimp.Frontend.Core.Miscellaneous;
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Frontend.Core.Services.StateServicePatterns;
using Iceshrimp.Shared.HubSchemas;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.SignalR;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Components;
namespace Iceshrimp.Frontend.Components;

View file

@ -1,6 +1,7 @@
@* ReSharper disable once RedundantUsingDirective *@
@using Iceshrimp.Frontend.Components.Note
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@inject NavigationManager Navigation
<div class="note-container" @onclick="OpenNote" id="@Note.Id">
<Note NoteResponse="Note"></Note>

View file

@ -1,6 +1,7 @@
@inject ApiService Api;
@using Iceshrimp.Frontend.Core.Services
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@if (UserProfile != null)
{
<div class="profile-card">

View file

@ -1,6 +1,7 @@
@using Iceshrimp.Frontend.Core.Services
@using Iceshrimp.Frontend.Core.Services.StateServicePatterns
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@using Ljbc1994.Blazor.IntersectionObserver
@using Ljbc1994.Blazor.IntersectionObserver.API
@inject IIntersectionObserverService ObserverService

View file

@ -1,5 +1,6 @@
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
namespace Iceshrimp.Frontend.Core.ControllerModels;

View file

@ -1,5 +1,6 @@
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
namespace Iceshrimp.Frontend.Core.ControllerModels;

View file

@ -1,5 +1,6 @@
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Components.Forms;
namespace Iceshrimp.Frontend.Core.ControllerModels;

View file

@ -1,5 +1,6 @@
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Components.Forms;
namespace Iceshrimp.Frontend.Core.ControllerModels;

View file

@ -2,6 +2,7 @@ using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Http;
namespace Iceshrimp.Frontend.Core.ControllerModels;

View file

@ -1,6 +1,7 @@
using Iceshrimp.Frontend.Core.Miscellaneous;
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
namespace Iceshrimp.Frontend.Core.ControllerModels;

View file

@ -1,6 +1,7 @@
using Iceshrimp.Frontend.Core.Miscellaneous;
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Http;
namespace Iceshrimp.Frontend.Core.ControllerModels;

View file

@ -1,5 +1,6 @@
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
namespace Iceshrimp.Frontend.Core.ControllerModels;

View file

@ -1,6 +1,7 @@
using Iceshrimp.Frontend.Core.Miscellaneous;
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
namespace Iceshrimp.Frontend.Core.ControllerModels;

View file

@ -1,6 +1,7 @@
using Iceshrimp.Frontend.Core.Miscellaneous;
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Http;
namespace Iceshrimp.Frontend.Core.ControllerModels;

View file

@ -1,4 +1,5 @@
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
namespace Iceshrimp.Frontend.Core.Miscellaneous;

View file

@ -2,6 +2,7 @@ using AngleSharp;
using AngleSharp.Dom;
using Iceshrimp.Parsing;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Components;
namespace Iceshrimp.Frontend.Core.Miscellaneous;

View file

@ -1,5 +1,6 @@
using System.Text.Json.Serialization;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
namespace Iceshrimp.Frontend.Core.Schemas;

View file

@ -6,6 +6,7 @@ using System.Text.Json;
using Iceshrimp.Frontend.Core.Miscellaneous;
using Iceshrimp.Shared.Configuration;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Components.Forms;
using Microsoft.AspNetCore.Http;

View file

@ -1,5 +1,6 @@
using Iceshrimp.Frontend.Core.Miscellaneous;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Components;
namespace Iceshrimp.Frontend.Core.Services;

View file

@ -1,4 +1,5 @@
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
namespace Iceshrimp.Frontend.Core.Services.StateServicePatterns;

View file

@ -1,4 +1,5 @@
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
namespace Iceshrimp.Frontend.Core.Services.StateServicePatterns;

View file

@ -1,6 +1,7 @@
using Iceshrimp.Frontend.Core.Schemas;
using Iceshrimp.Shared.HubSchemas;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.SignalR;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Http.Connections.Client;
using Microsoft.AspNetCore.SignalR.Client;

View file

@ -1,4 +1,4 @@
using Iceshrimp.Shared.HubSchemas;
using Iceshrimp.Shared.Schemas.SignalR;
using Microsoft.AspNetCore.SignalR.Client;
using TypedSignalR.Client;

View file

@ -3,6 +3,7 @@
@using Iceshrimp.Frontend.Core.Schemas
@using Iceshrimp.Frontend.Core.Services
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@inject ApiService Api
@inject SessionService SessionService
@inject NavigationManager Navigation

View file

@ -5,6 +5,7 @@
@using Iceshrimp.Frontend.Core.Miscellaneous
@using Iceshrimp.Frontend.Core.Services
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@inject ApiService Api
@if (_init)

View file

@ -3,6 +3,7 @@
@using Iceshrimp.Frontend.Components.Note
@using Iceshrimp.Frontend.Core.Services
@using Iceshrimp.Shared.Schemas
@using Iceshrimp.Shared.Schemas.Web
@inject ApiService ApiService
@inject IJSRuntime Js

View file

@ -1,6 +1,7 @@
using Iceshrimp.Frontend.Core.Services;
using Iceshrimp.Shared.HubSchemas;
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.SignalR;
using Iceshrimp.Shared.Schemas.Web;
using Microsoft.AspNetCore.Components;
namespace Iceshrimp.Frontend.Pages;

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.HubSchemas;
namespace Iceshrimp.Shared.Schemas.SignalR;
public interface IExampleHubServer
{

View file

@ -1,6 +1,6 @@
using Iceshrimp.Shared.Schemas;
using Iceshrimp.Shared.Schemas.Web;
namespace Iceshrimp.Shared.HubSchemas;
namespace Iceshrimp.Shared.Schemas.SignalR;
public interface IStreamingHubServer
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class AdminSchemas
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class AuthRequest
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public enum AuthStatusEnum
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class DriveFileResponse
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class EmojiResponse
{

View file

@ -1,7 +1,7 @@
using System.Text.Json.Serialization;
using JI = System.Text.Json.Serialization.JsonIgnoreAttribute;
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class ErrorResponse
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class InviteResponse
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class NoteCreateRequest
{

View file

@ -1,7 +1,7 @@
using System.Text.Json.Serialization;
using JI = System.Text.Json.Serialization.JsonIgnoreAttribute;
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class NoteResponse : NoteWithQuote, ICloneable
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class NotificationResponse
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class RedirectResponse
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class UpdateDriveFileRequest
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class UpdateEmojiRequest
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class UserProfileResponse
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class UserResponse
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class UserSettingsEntity
{

View file

@ -1,4 +1,4 @@
namespace Iceshrimp.Shared.Schemas;
namespace Iceshrimp.Shared.Schemas.Web;
public class ValueResponse(long count)
{