[shared] Refactor namespaces
This commit is contained in:
parent
6ba71b0511
commit
e0461ee3fd
91 changed files with 97 additions and 28 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Iceshrimp.Shared.HubSchemas;
|
||||
using Iceshrimp.Shared.Schemas.SignalR;
|
||||
using Microsoft.AspNetCore.SignalR;
|
||||
|
||||
namespace Iceshrimp.Backend.Hubs;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
@using Iceshrimp.Assets.PhosphorIcons
|
||||
@using Iceshrimp.Shared.Schemas
|
||||
@using Iceshrimp.Shared.Schemas.Web
|
||||
|
||||
@if (Attachment.ContentType.StartsWith("image"))
|
||||
{
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
@using Iceshrimp.Frontend.Core.Services
|
||||
@using Iceshrimp.Shared.Schemas
|
||||
@using Iceshrimp.Shared.Schemas.Web
|
||||
@inject EmojiService EmojiService
|
||||
|
||||
@if (_display)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
@using Iceshrimp.Frontend.Core.Miscellaneous
|
||||
@using Iceshrimp.Shared.Schemas
|
||||
@using Iceshrimp.Shared.Schemas.Web
|
||||
@TextBody
|
||||
|
||||
@code {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
@using Iceshrimp.Shared.Schemas
|
||||
@using Iceshrimp.Shared.Schemas.Web
|
||||
<div class="attachment-container">
|
||||
@foreach (var element in Attachments)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
@using Iceshrimp.Shared.Schemas
|
||||
@using Iceshrimp.Shared.Schemas.Web
|
||||
@if (NoteBase.Cw != null)
|
||||
{
|
||||
<div class="cw">
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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")">
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
@using Iceshrimp.Shared.Schemas.Web
|
||||
@if (_init)
|
||||
{
|
||||
<VirtualScroller @ref=VirtualScroller NoteResponseList="State.Timeline" ReachedEnd="FetchOlder" ReachedStart="FetchNewer"/>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
using Iceshrimp.Frontend.Core.Services;
|
||||
using Iceshrimp.Shared.Schemas;
|
||||
using Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
namespace Iceshrimp.Frontend.Core.ControllerModels;
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
using Iceshrimp.Frontend.Core.Services;
|
||||
using Iceshrimp.Shared.Schemas;
|
||||
using Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
namespace Iceshrimp.Frontend.Core.ControllerModels;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
using Iceshrimp.Frontend.Core.Services;
|
||||
using Iceshrimp.Shared.Schemas;
|
||||
using Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
namespace Iceshrimp.Frontend.Core.ControllerModels;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using Iceshrimp.Shared.Schemas;
|
||||
using Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
namespace Iceshrimp.Frontend.Core.Miscellaneous;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
using System.Text.Json.Serialization;
|
||||
using Iceshrimp.Shared.Schemas;
|
||||
using Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
namespace Iceshrimp.Frontend.Core.Schemas;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using Iceshrimp.Shared.Schemas;
|
||||
using Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
namespace Iceshrimp.Frontend.Core.Services.StateServicePatterns;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using Iceshrimp.Shared.Schemas;
|
||||
using Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
namespace Iceshrimp.Frontend.Core.Services.StateServicePatterns;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Iceshrimp.Shared.HubSchemas;
|
||||
using Iceshrimp.Shared.Schemas.SignalR;
|
||||
using Microsoft.AspNetCore.SignalR.Client;
|
||||
using TypedSignalR.Client;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.HubSchemas;
|
||||
namespace Iceshrimp.Shared.Schemas.SignalR;
|
||||
|
||||
public interface IExampleHubServer
|
||||
{
|
|
@ -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
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class AdminSchemas
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class AuthRequest
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public enum AuthStatusEnum
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class DriveFileResponse
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class EmojiResponse
|
||||
{
|
|
@ -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
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class InviteResponse
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class NoteCreateRequest
|
||||
{
|
|
@ -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
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class NotificationResponse
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class RedirectResponse
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class UpdateDriveFileRequest
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class UpdateEmojiRequest
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class UserProfileResponse
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class UserResponse
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class UserSettingsEntity
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Iceshrimp.Shared.Schemas;
|
||||
namespace Iceshrimp.Shared.Schemas.Web;
|
||||
|
||||
public class ValueResponse(long count)
|
||||
{
|
Loading…
Add table
Reference in a new issue