commit ea6612de2594f3fb6cccdb93e24084d03dad92e2 Author: Laura Hausmann Date: Sun Dec 24 00:45:46 2023 +0100 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..19fe6dce --- /dev/null +++ b/.gitignore @@ -0,0 +1,98 @@ +# Created by https://www.toptal.com/developers/gitignore/api/dotnetcore,rider +# Edit at https://www.toptal.com/developers/gitignore?templates=dotnetcore,rider + +### DotnetCore ### +# .NET Core build folders +bin/ +obj/ + +# Common node modules locations +/node_modules +/wwwroot/node_modules + +### Rider ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +# End of https://www.toptal.com/developers/gitignore/api/dotnetcore,rider + +Iceshrimp.Backend/wwwroot/frontend +Iceshrimp.Backend/wwwroot/.vite +Iceshrimp.Frontend/.yarn + +*.DotSettings.user diff --git a/.idea/.idea.Iceshrimp.NET/.idea/.gitignore b/.idea/.idea.Iceshrimp.NET/.idea/.gitignore new file mode 100644 index 00000000..9a9fa178 --- /dev/null +++ b/.idea/.idea.Iceshrimp.NET/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/contentModel.xml +/projectSettingsUpdater.xml +/modules.xml +/.idea.Iceshrimp.NET.iml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.idea.Iceshrimp.NET/.idea/codeStyles/codeStyleConfig.xml b/.idea/.idea.Iceshrimp.NET/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 00000000..a55e7a17 --- /dev/null +++ b/.idea/.idea.Iceshrimp.NET/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/.idea.Iceshrimp.NET/.idea/encodings.xml b/.idea/.idea.Iceshrimp.NET/.idea/encodings.xml new file mode 100644 index 00000000..df87cf95 --- /dev/null +++ b/.idea/.idea.Iceshrimp.NET/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/.idea.Iceshrimp.NET/.idea/indexLayout.xml b/.idea/.idea.Iceshrimp.NET/.idea/indexLayout.xml new file mode 100644 index 00000000..b673e4e3 --- /dev/null +++ b/.idea/.idea.Iceshrimp.NET/.idea/indexLayout.xml @@ -0,0 +1,10 @@ + + + + + Iceshrimp.Frontend + + + + + \ No newline at end of file diff --git a/.noai b/.noai new file mode 100644 index 00000000..e69de29b diff --git a/Iceshrimp.Backend/Controllers/ActivityPubController.cs b/Iceshrimp.Backend/Controllers/ActivityPubController.cs new file mode 100644 index 00000000..d3b11f2f --- /dev/null +++ b/Iceshrimp.Backend/Controllers/ActivityPubController.cs @@ -0,0 +1,40 @@ +using Iceshrimp.Backend.Controllers.Attributes; +using Iceshrimp.Backend.Controllers.Renderers.ActivityPub; +using Iceshrimp.Backend.Controllers.Schemas; +using Iceshrimp.Backend.Core.Database; +using Iceshrimp.Backend.Core.Federation.ActivityStreams; +using Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; +using Microsoft.AspNetCore.Mvc; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Controllers; + +[ApiController] +[MediaTypeRouteFilter("application/activity+json", "application/ld+json")] +[Produces("application/activity+json", "application/ld+json")] +public class ActivityPubController : Controller { + /* + [HttpGet("/notes/{id}")] + [ProducesResponseType(StatusCodes.Status200OK, Type = typeof(Note))] + [ProducesResponseType(StatusCodes.Status401Unauthorized, Type = typeof(ErrorResponse))] + [ProducesResponseType(StatusCodes.Status404NotFound, Type = typeof(ErrorResponse))] + public async Task GetNote(string id) { + var db = new DatabaseContext(); + var note = await db.Notes.FirstOrDefaultAsync(p => p.Id == id); + if (note == null) return NotFound(); + return Ok(note); + } + */ + + [HttpGet("/users/{id}")] + [ProducesResponseType(StatusCodes.Status200OK, Type = typeof(ASActor))] + [ProducesResponseType(StatusCodes.Status404NotFound, Type = typeof(ErrorResponse))] + public async Task GetUser(string id) { + var db = new DatabaseContext(); + var user = await db.Users.FirstOrDefaultAsync(p => p.Id == id); + if (user == null) return NotFound(); + var rendered = await ActivityPubUserRenderer.Render(user); + var compacted = LDHelpers.Compact(rendered); + return Ok(compacted); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/Attributes/MediaTypeRouteFilterAttribute.cs b/Iceshrimp.Backend/Controllers/Attributes/MediaTypeRouteFilterAttribute.cs new file mode 100644 index 00000000..b979e309 --- /dev/null +++ b/Iceshrimp.Backend/Controllers/Attributes/MediaTypeRouteFilterAttribute.cs @@ -0,0 +1,13 @@ +using Microsoft.AspNetCore.Mvc.ActionConstraints; + +namespace Iceshrimp.Backend.Controllers.Attributes; + +[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)] +public class MediaTypeRouteFilterAttribute(params string[] mediaTypes) : Attribute, IActionConstraint { + public bool Accept(ActionConstraintContext context) { + return context.RouteContext.HttpContext.Request.Headers.ContainsKey("Accept") && + mediaTypes.Contains(context.RouteContext.HttpContext.Request.Headers.Accept.ToString()); + } + + public int Order => HttpMethodActionConstraint.HttpMethodConstraintOrder + 1; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/AuthController.cs b/Iceshrimp.Backend/Controllers/AuthController.cs new file mode 100644 index 00000000..5600ac39 --- /dev/null +++ b/Iceshrimp.Backend/Controllers/AuthController.cs @@ -0,0 +1,60 @@ +using System.Diagnostics.CodeAnalysis; +using System.Net; +using System.Net.Mime; +using Iceshrimp.Backend.Controllers.Schemas; +using Iceshrimp.Backend.Core.Database; +using Iceshrimp.Backend.Core.Database.Tables; +using Iceshrimp.Backend.Core.Helpers; +using Microsoft.AspNetCore.Mvc; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Controllers; + +[ApiController] +[Produces("application/json")] +[Route("/api/iceshrimp/v1/auth")] +public class AuthController : Controller { + [HttpGet] + [ProducesResponseType(StatusCodes.Status200OK, Type = typeof(AuthResponse))] + public async Task GetAuthStatus() { + return new StatusCodeResult((int)HttpStatusCode.NotImplemented); + } + + [HttpPost] + [Consumes(MediaTypeNames.Application.Json)] + [ProducesResponseType(StatusCodes.Status200OK, Type = typeof(TimelineResponse))] + [ProducesResponseType(StatusCodes.Status400BadRequest, Type = typeof(ErrorResponse))] + [ProducesResponseType(StatusCodes.Status401Unauthorized, Type = typeof(ErrorResponse))] + [SuppressMessage("Performance", + "CA1862:Use the \'StringComparison\' method overloads to perform case-insensitive string comparisons")] + public async Task Login([FromBody] AuthRequest request) { + var db = new DatabaseContext(); + var user = await db.Users.FirstOrDefaultAsync(p => p.UsernameLower == request.Username.ToLowerInvariant() && + p.Host == null); + if (user == null) return Unauthorized(); + var profile = await db.UserProfiles.FirstOrDefaultAsync(p => p.UserId == user.Id); + if (profile?.Password == null) return Unauthorized(); + if (!AuthHelpers.ComparePassword(request.Password, profile.Password)) return Unauthorized(); + + var res = await db.AddAsync(new Session { + Id = IdHelpers.GenerateSlowflakeId(), + UserId = user.Id, + Active = !profile.TwoFactorEnabled, + CreatedAt = new DateTime(), + Token = IdHelpers.GenerateRandomString(32) + }); + + var session = res.Entity; + + return Ok(new AuthResponse { + Status = session.Active ? AuthStatusEnum.Authenticated : AuthStatusEnum.TwoFactor, + Token = session.Token, + User = new UserResponse { + Username = session.User.Username, + Id = session.User.Id, + AvatarUrl = session.User.AvatarUrl, + BannerUrl = session.User.BannerUrl + } + }); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/FallbackController.cs b/Iceshrimp.Backend/Controllers/FallbackController.cs new file mode 100644 index 00000000..8563b230 --- /dev/null +++ b/Iceshrimp.Backend/Controllers/FallbackController.cs @@ -0,0 +1,16 @@ +using Iceshrimp.Backend.Controllers.Schemas; +using Microsoft.AspNetCore.Mvc; + +namespace Iceshrimp.Backend.Controllers; + +[Produces("application/json")] +public class FallbackController : Controller { + [ProducesResponseType(StatusCodes.Status501NotImplemented, Type = typeof(ErrorResponse))] + public IActionResult FallbackAction() { + return StatusCode(501, new ErrorResponse { + StatusCode = 501, + Error = "Not implemented", + Message = "This API method has not been implemented" + }); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/Renderers/ActivityPub/NoteRenderer.cs b/Iceshrimp.Backend/Controllers/Renderers/ActivityPub/NoteRenderer.cs new file mode 100644 index 00000000..b136ba20 --- /dev/null +++ b/Iceshrimp.Backend/Controllers/Renderers/ActivityPub/NoteRenderer.cs @@ -0,0 +1,19 @@ +using Iceshrimp.Backend.Controllers.Renderers.Entity; +using Iceshrimp.Backend.Controllers.Schemas; +using Iceshrimp.Backend.Core.Database.Tables; + +namespace Iceshrimp.Backend.Controllers.Renderers.ActivityPub; + +public class NoteRenderer { + public static NoteResponse RenderOne(Note note) { + return new NoteResponse { + Id = note.Id, + Text = note.Text, + User = UserRenderer.RenderOne(note.User) + }; + } + + public static IEnumerable RenderMany(IEnumerable notes) { + return notes.Select(RenderOne); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/Renderers/ActivityPub/UserRenderer.cs b/Iceshrimp.Backend/Controllers/Renderers/ActivityPub/UserRenderer.cs new file mode 100644 index 00000000..c9fd1d30 --- /dev/null +++ b/Iceshrimp.Backend/Controllers/Renderers/ActivityPub/UserRenderer.cs @@ -0,0 +1,43 @@ +using AngleSharp.Text; +using Iceshrimp.Backend.Core.Configuration; +using Iceshrimp.Backend.Core.Database; +using Iceshrimp.Backend.Core.Database.Tables; +using Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Controllers.Renderers.ActivityPub; + +public static class ActivityPubUserRenderer { + public static async Task Render(User user) { + if (user.Host != null) throw new Exception(); + + var db = new DatabaseContext(); + var profile = await db.UserProfiles.FirstOrDefaultAsync(p => p.UserId == user.Id); + + var id = $"{Config.Instance.Url}/users/{user.Id}"; + var type = Constants.SystemUsers.Contains(user.UsernameLower) + ? "Application" + : user.IsBot + ? "Service" + : "Person"; + + return new ASActor { + Id = id, + Type = [type], + //Inbox = $"{id}/inbox", + //Outbox = $"{id}/outbox", + //Followers = $"{id}/followers", + //Following = $"{id}/following", + //SharedInbox = $"{Config.Instance.Url}/inbox", + //Endpoints = new Dictionary { { "SharedInbox", $"{Config.Instance.Url}/inbox" } }, + Url = new ASLink($"{Config.Instance.Url}/@{user.Username}"), + Username = user.Username, + DisplayName = user.Name ?? user.Username, + Summary = profile?.Description != null ? "Not implemented" : null, //TODO: convert to html + MkSummary = profile?.Description, + IsCat = user.IsCat, + IsDiscoverable = user.IsExplorable, + IsLocked = user.IsLocked + }; + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/Renderers/Entity/NoteRenderer.cs b/Iceshrimp.Backend/Controllers/Renderers/Entity/NoteRenderer.cs new file mode 100644 index 00000000..3a44ae1b --- /dev/null +++ b/Iceshrimp.Backend/Controllers/Renderers/Entity/NoteRenderer.cs @@ -0,0 +1,18 @@ +using Iceshrimp.Backend.Controllers.Schemas; +using Iceshrimp.Backend.Core.Database.Tables; + +namespace Iceshrimp.Backend.Controllers.Renderers.Entity; + +public class NoteRenderer { + public static NoteResponse RenderOne(Note note) { + return new NoteResponse { + Id = note.Id, + Text = note.Text, + User = UserRenderer.RenderOne(note.User) + }; + } + + public static IEnumerable RenderMany(IEnumerable notes) { + return notes.Select(RenderOne); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/Renderers/Entity/TimelineRenderer.cs b/Iceshrimp.Backend/Controllers/Renderers/Entity/TimelineRenderer.cs new file mode 100644 index 00000000..05fd10fa --- /dev/null +++ b/Iceshrimp.Backend/Controllers/Renderers/Entity/TimelineRenderer.cs @@ -0,0 +1,13 @@ +using Iceshrimp.Backend.Controllers.Schemas; +using Iceshrimp.Backend.Core.Database.Tables; + +namespace Iceshrimp.Backend.Controllers.Renderers.Entity; + +public class TimelineRenderer { + public static TimelineResponse Render(IEnumerable notes, int limit) { + return new TimelineResponse { + Notes = NoteRenderer.RenderMany(notes), + Limit = limit + }; + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/Renderers/Entity/UserRenderer.cs b/Iceshrimp.Backend/Controllers/Renderers/Entity/UserRenderer.cs new file mode 100644 index 00000000..c6d80478 --- /dev/null +++ b/Iceshrimp.Backend/Controllers/Renderers/Entity/UserRenderer.cs @@ -0,0 +1,19 @@ +using Iceshrimp.Backend.Controllers.Schemas; +using Iceshrimp.Backend.Core.Database.Tables; + +namespace Iceshrimp.Backend.Controllers.Renderers.Entity; + +public class UserRenderer { + public static UserResponse RenderOne(User user) { + return new UserResponse { + Id = user.Id, + Username = user.Username, + AvatarUrl = user.AvatarUrl, + BannerUrl = user.BannerUrl + }; + } + + public static IEnumerable RenderMany(IEnumerable users) { + return users.Select(RenderOne); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/Schemas/AuthRequest.cs b/Iceshrimp.Backend/Controllers/Schemas/AuthRequest.cs new file mode 100644 index 00000000..67e882f2 --- /dev/null +++ b/Iceshrimp.Backend/Controllers/Schemas/AuthRequest.cs @@ -0,0 +1,8 @@ +using J = System.Text.Json.Serialization.JsonPropertyNameAttribute; + +namespace Iceshrimp.Backend.Controllers.Schemas; + +public class AuthRequest { + [J("username")] public required string Username { get; set; } + [J("password")] public required string Password { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/Schemas/AuthResponse.cs b/Iceshrimp.Backend/Controllers/Schemas/AuthResponse.cs new file mode 100644 index 00000000..f1552b36 --- /dev/null +++ b/Iceshrimp.Backend/Controllers/Schemas/AuthResponse.cs @@ -0,0 +1,18 @@ +using System.Text.Json.Serialization; +using J = System.Text.Json.Serialization.JsonPropertyNameAttribute; +using JE = System.Runtime.Serialization.EnumMemberAttribute; + +namespace Iceshrimp.Backend.Controllers.Schemas; + +[JsonConverter(typeof(JsonStringEnumConverter))] +public enum AuthStatusEnum { + [JE(Value = "guest")] Guest, + [JE(Value = "authenticated")] Authenticated, + [JE(Value = "2fa")] TwoFactor +} + +public class AuthResponse { + [J("status")] public required AuthStatusEnum Status { get; set; } + [J("token")] public required string? Token { get; set; } + [J("user")] public required UserResponse? User { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/Schemas/ErrorResponse.cs b/Iceshrimp.Backend/Controllers/Schemas/ErrorResponse.cs new file mode 100644 index 00000000..bb7eb62a --- /dev/null +++ b/Iceshrimp.Backend/Controllers/Schemas/ErrorResponse.cs @@ -0,0 +1,9 @@ +using J = System.Text.Json.Serialization.JsonPropertyNameAttribute; + +namespace Iceshrimp.Backend.Controllers.Schemas; + +public class ErrorResponse { + [J("statusCode")] public required int StatusCode { get; set; } + [J("error")] public required string Error { get; set; } + [J("message")] public required string Message { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/Schemas/NoteResponse.cs b/Iceshrimp.Backend/Controllers/Schemas/NoteResponse.cs new file mode 100644 index 00000000..e12d4841 --- /dev/null +++ b/Iceshrimp.Backend/Controllers/Schemas/NoteResponse.cs @@ -0,0 +1,19 @@ +using J = System.Text.Json.Serialization.JsonPropertyNameAttribute; + +namespace Iceshrimp.Backend.Controllers.Schemas; + +public class NoteResponse : NoteBase { + [J("reply")] public NoteBase? Reply { get; set; } + [J("renote")] public NoteRenote? Renote { get; set; } + [J("quote")] public NoteBase? Quote { get; set; } +} + +public class NoteRenote : NoteBase { + [J("quote")] public NoteBase? Quote { get; set; } +} + +public class NoteBase { + [J("id")] public required string Id { get; set; } + [J("text")] public required string? Text { get; set; } + [J("user")] public required UserResponse User { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/Schemas/TimelineResponse.cs b/Iceshrimp.Backend/Controllers/Schemas/TimelineResponse.cs new file mode 100644 index 00000000..01d8369d --- /dev/null +++ b/Iceshrimp.Backend/Controllers/Schemas/TimelineResponse.cs @@ -0,0 +1,8 @@ +using J = System.Text.Json.Serialization.JsonPropertyNameAttribute; + +namespace Iceshrimp.Backend.Controllers.Schemas; + +public class TimelineResponse { + [J("notes")] public required IEnumerable Notes { get; set; } + [J("limit")] public required int Limit { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/Schemas/UserResponse.cs b/Iceshrimp.Backend/Controllers/Schemas/UserResponse.cs new file mode 100644 index 00000000..e919d1fa --- /dev/null +++ b/Iceshrimp.Backend/Controllers/Schemas/UserResponse.cs @@ -0,0 +1,10 @@ +using J = System.Text.Json.Serialization.JsonPropertyNameAttribute; + +namespace Iceshrimp.Backend.Controllers.Schemas; + +public class UserResponse { + [J("id")] public required string Id { get; set; } + [J("username")] public required string Username { get; set; } + [J("avatarUrl")] public string? AvatarUrl { get; set; } + [J("bannerUrl")] public string? BannerUrl { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Controllers/UserController.cs b/Iceshrimp.Backend/Controllers/UserController.cs new file mode 100644 index 00000000..0ef668e1 --- /dev/null +++ b/Iceshrimp.Backend/Controllers/UserController.cs @@ -0,0 +1,41 @@ +using Iceshrimp.Backend.Controllers.Renderers.Entity; +using Iceshrimp.Backend.Controllers.Schemas; +using Iceshrimp.Backend.Core.Database; +using Microsoft.AspNetCore.Mvc; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Controllers; + +[ApiController] +[Produces("application/json")] +[Route("/api/iceshrimp/v1/user/{id}")] +public class UserController : Controller { + [HttpGet] + [ProducesResponseType(StatusCodes.Status200OK, Type = typeof(UserResponse))] + [ProducesResponseType(StatusCodes.Status404NotFound, Type = typeof(ErrorResponse))] + public async Task GetUser(string id) { + var db = new DatabaseContext(); + var user = await db.Users.FirstOrDefaultAsync(p => p.Id == id); + if (user == null) return NotFound(); + return Ok(user); + } + + [HttpGet("notes")] + [ProducesResponseType(StatusCodes.Status200OK, Type = typeof(TimelineResponse))] + [ProducesResponseType(StatusCodes.Status404NotFound, Type = typeof(ErrorResponse))] + public async Task GetUserNotes(string id) { + var db = new DatabaseContext(); + var user = await db.Users.FirstOrDefaultAsync(p => p.Id == id); + if (user == null) return NotFound(); + + var limit = 10; + var notes = db.Notes + .Include(p => p.User) + .Where(p => p.UserId == id) + .OrderByDescending(p => p.Id) + .Take(limit) + .ToList(); + + return Ok(TimelineRenderer.Render(notes, limit)); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Configuration/Config.cs b/Iceshrimp.Backend/Core/Configuration/Config.cs new file mode 100644 index 00000000..3192d196 --- /dev/null +++ b/Iceshrimp.Backend/Core/Configuration/Config.cs @@ -0,0 +1,10 @@ +namespace Iceshrimp.Backend.Core.Configuration; + +// TODO: something something IConfiguration +public class Config { + public static Config Instance = new() { + Url = "https://shrimp-next.fedi.solutions" + }; + + public required string Url { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Configuration/Constants.cs b/Iceshrimp.Backend/Core/Configuration/Constants.cs new file mode 100644 index 00000000..c1899441 --- /dev/null +++ b/Iceshrimp.Backend/Core/Configuration/Constants.cs @@ -0,0 +1,6 @@ +namespace Iceshrimp.Backend.Core.Configuration; + +public class Constants { + public const string UserAgent = "Iceshrimp/2024.1-experimental (https://shrimp-next.fedi.solutions)"; + public static readonly string[] SystemUsers = { "instance.actor", "relay.actor" }; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/DatabaseContext.cs b/Iceshrimp.Backend/Core/Database/DatabaseContext.cs new file mode 100644 index 00000000..ef9f7e58 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/DatabaseContext.cs @@ -0,0 +1,1722 @@ +using Iceshrimp.Backend.Core.Database.Tables; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database; + +public partial class DatabaseContext : DbContext { + public DatabaseContext() { } + + public DatabaseContext(DbContextOptions options) + : base(options) { } + + public virtual DbSet AbuseUserReports { get; set; } + + public virtual DbSet AccessTokens { get; set; } + + public virtual DbSet Announcements { get; set; } + + public virtual DbSet AnnouncementReads { get; set; } + + public virtual DbSet Antennas { get; set; } + + public virtual DbSet Apps { get; set; } + + public virtual DbSet AttestationChallenges { get; set; } + + public virtual DbSet AuthSessions { get; set; } + + public virtual DbSet Blockings { get; set; } + + public virtual DbSet Channels { get; set; } + + public virtual DbSet ChannelFollowings { get; set; } + + public virtual DbSet ChannelNotePinings { get; set; } + + public virtual DbSet ChartActiveUsers { get; set; } + + public virtual DbSet ChartApRequests { get; set; } + + public virtual DbSet ChartDayActiveUsers { get; set; } + + public virtual DbSet ChartDayApRequests { get; set; } + + public virtual DbSet ChartDayDrives { get; set; } + + public virtual DbSet ChartDayFederations { get; set; } + + public virtual DbSet ChartDayHashtags { get; set; } + + public virtual DbSet ChartDayInstances { get; set; } + + public virtual DbSet ChartDayNetworks { get; set; } + + public virtual DbSet ChartDayNotes { get; set; } + + public virtual DbSet ChartDayPerUserDrives { get; set; } + + public virtual DbSet ChartDayPerUserFollowings { get; set; } + + public virtual DbSet ChartDayPerUserNotes { get; set; } + + public virtual DbSet ChartDayPerUserReactions { get; set; } + + public virtual DbSet ChartDayUsers { get; set; } + + public virtual DbSet ChartDrives { get; set; } + + public virtual DbSet ChartFederations { get; set; } + + public virtual DbSet ChartHashtags { get; set; } + + public virtual DbSet ChartInstances { get; set; } + + public virtual DbSet ChartNetworks { get; set; } + + public virtual DbSet ChartNotes { get; set; } + + public virtual DbSet ChartPerUserDrives { get; set; } + + public virtual DbSet ChartPerUserFollowings { get; set; } + + public virtual DbSet ChartPerUserNotes { get; set; } + + public virtual DbSet ChartPerUserReactions { get; set; } + + public virtual DbSet ChartTests { get; set; } + + public virtual DbSet ChartTestGroupeds { get; set; } + + public virtual DbSet ChartTestUniques { get; set; } + + public virtual DbSet ChartUsers { get; set; } + + public virtual DbSet Clips { get; set; } + + public virtual DbSet ClipNotes { get; set; } + + public virtual DbSet DriveFiles { get; set; } + + public virtual DbSet DriveFolders { get; set; } + + public virtual DbSet Emojis { get; set; } + + public virtual DbSet FollowRequests { get; set; } + + public virtual DbSet Followings { get; set; } + + public virtual DbSet GalleryLikes { get; set; } + + public virtual DbSet GalleryPosts { get; set; } + + public virtual DbSet Hashtags { get; set; } + + public virtual DbSet HtmlNoteCacheEntries { get; set; } + + public virtual DbSet HtmlUserCacheEntries { get; set; } + + public virtual DbSet Instances { get; set; } + + public virtual DbSet MessagingMessages { get; set; } + + public virtual DbSet Meta { get; set; } + + public virtual DbSet Migrations { get; set; } + + public virtual DbSet ModerationLogs { get; set; } + + public virtual DbSet Mutings { get; set; } + + public virtual DbSet Notes { get; set; } + + public virtual DbSet NoteEdits { get; set; } + + public virtual DbSet NoteFavorites { get; set; } + + public virtual DbSet NoteReactions { get; set; } + + public virtual DbSet NoteThreadMutings { get; set; } + + public virtual DbSet NoteUnreads { get; set; } + + public virtual DbSet NoteWatchings { get; set; } + + public virtual DbSet Notifications { get; set; } + + public virtual DbSet OauthApps { get; set; } + + public virtual DbSet OauthTokens { get; set; } + + public virtual DbSet Pages { get; set; } + + public virtual DbSet PageLikes { get; set; } + + public virtual DbSet PasswordResetRequests { get; set; } + + public virtual DbSet Polls { get; set; } + + public virtual DbSet PollVotes { get; set; } + + public virtual DbSet PromoNotes { get; set; } + + public virtual DbSet PromoReads { get; set; } + + public virtual DbSet RegistrationTickets { get; set; } + + public virtual DbSet RegistryItems { get; set; } + + public virtual DbSet Relays { get; set; } + + public virtual DbSet RenoteMutings { get; set; } + + public virtual DbSet Sessions { get; set; } + + public virtual DbSet Signins { get; set; } + + public virtual DbSet SwSubscriptions { get; set; } + + public virtual DbSet UsedUsernames { get; set; } + + public virtual DbSet Users { get; set; } + + public virtual DbSet UserGroups { get; set; } + + public virtual DbSet UserGroupInvitations { get; set; } + + public virtual DbSet UserGroupInvites { get; set; } + + public virtual DbSet UserGroupJoinings { get; set; } + + public virtual DbSet UserIps { get; set; } + + public virtual DbSet UserKeypairs { get; set; } + + public virtual DbSet UserLists { get; set; } + + public virtual DbSet UserListJoinings { get; set; } + + public virtual DbSet UserNotePinings { get; set; } + + public virtual DbSet UserPendings { get; set; } + + public virtual DbSet UserProfiles { get; set; } + + public virtual DbSet UserPublickeys { get; set; } + + public virtual DbSet UserSecurityKeys { get; set; } + + public virtual DbSet Webhooks { get; set; } + + protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) +#warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https: //go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see https://go.microsoft.com/fwlink/?LinkId=723263. + => optionsBuilder.UseNpgsql("Host=localhost;Username=zotan;Database=iceshrimp"); + + protected override void OnModelCreating(ModelBuilder modelBuilder) { + modelBuilder + .HasPostgresEnum("antenna_src_enum", new[] { "home", "all", "users", "list", "group", "instances" }) + .HasPostgresEnum("log_level_enum", new[] { "error", "warning", "info", "success", "debug" }) + .HasPostgresEnum("note_visibility_enum", new[] { "public", "home", "followers", "specified", "hidden" }) + .HasPostgresEnum("notification_type_enum", + new[] { + "follow", "mention", "reply", "renote", "quote", "reaction", "pollVote", "pollEnded", + "receiveFollowRequest", "followRequestAccepted", "groupInvited", "app" + }) + .HasPostgresEnum("page_visibility_enum", new[] { "public", "followers", "specified" }) + .HasPostgresEnum("poll_notevisibility_enum", new[] { "public", "home", "followers", "specified", "hidden" }) + .HasPostgresEnum("relay_status_enum", new[] { "requesting", "accepted", "rejected" }) + .HasPostgresEnum("user_profile_ffvisibility_enum", new[] { "public", "followers", "private" }) + .HasPostgresEnum("user_profile_mutingnotificationtypes_enum", + new[] { + "follow", "mention", "reply", "renote", "quote", "reaction", "pollVote", "pollEnded", + "receiveFollowRequest", "followRequestAccepted", "groupInvited", "app" + }) + .HasPostgresExtension("pg_trgm"); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_87873f5f5cc5c321a1306b2d18c"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the AbuseUserReport."); + entity.Property(e => e.Forwarded).HasDefaultValue(false); + entity.Property(e => e.ReporterHost).HasComment("[Denormalized]"); + entity.Property(e => e.Resolved).HasDefaultValue(false); + entity.Property(e => e.TargetUserHost).HasComment("[Denormalized]"); + + entity.HasOne(d => d.Assignee).WithMany(p => p.AbuseUserReportAssignees) + .OnDelete(DeleteBehavior.SetNull) + .HasConstraintName("FK_08b883dd5fdd6f9c4c1572b36de"); + + entity.HasOne(d => d.Reporter).WithMany(p => p.AbuseUserReportReporters) + .HasConstraintName("FK_04cc96756f89d0b7f9473e8cdf3"); + + entity.HasOne(d => d.TargetUser).WithMany(p => p.AbuseUserReportTargetUsers) + .HasConstraintName("FK_a9021cc2e1feb5f72d3db6e9f5f"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_f20f028607b2603deabd8182d12"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the AccessToken."); + entity.Property(e => e.Fetched).HasDefaultValue(false); + entity.Property(e => e.Permission).HasDefaultValueSql("'{}'::character varying[]"); + + entity.HasOne(d => d.App).WithMany(p => p.AccessTokens) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_a3ff16c90cc87a82a0b5959e560"); + + entity.HasOne(d => d.User).WithMany(p => p.AccessTokens) + .HasConstraintName("FK_9949557d0e1b2c19e5344c171e9"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_e0ef0550174fd1099a308fd18a0"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the Announcement."); + entity.Property(e => e.IsGoodNews).HasDefaultValue(false); + entity.Property(e => e.ShowPopup).HasDefaultValue(false); + entity.Property(e => e.UpdatedAt).HasComment("The updated date of the Announcement."); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_4b90ad1f42681d97b2683890c5e"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the AnnouncementRead."); + + entity.HasOne(d => d.Announcement).WithMany(p => p.AnnouncementReads) + .HasConstraintName("FK_603a7b1e7aa0533c6c88e9bfafe"); + + entity.HasOne(d => d.User).WithMany(p => p.AnnouncementReads) + .HasConstraintName("FK_8288151386172b8109f7239ab28"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_c170b99775e1dccca947c9f2d5f"); + + entity.Property(e => e.CaseSensitive).HasDefaultValue(false); + entity.Property(e => e.CreatedAt).HasComment("The created date of the Antenna."); + entity.Property(e => e.ExcludeKeywords).HasDefaultValueSql("'[]'::jsonb"); + entity.Property(e => e.Instances).HasDefaultValueSql("'[]'::jsonb"); + entity.Property(e => e.Keywords).HasDefaultValueSql("'[]'::jsonb"); + entity.Property(e => e.Name).HasComment("The name of the Antenna."); + entity.Property(e => e.UserId).HasComment("The owner ID."); + entity.Property(e => e.Users).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.WithReplies).HasDefaultValue(false); + + entity.HasOne(d => d.UserGroupJoining).WithMany(p => p.Antennas) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_ccbf5a8c0be4511133dcc50ddeb"); + + entity.HasOne(d => d.User).WithMany(p => p.Antennas).HasConstraintName("FK_6446c571a0e8d0f05f01c789096"); + + entity.HasOne(d => d.UserList).WithMany(p => p.Antennas) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_709d7d32053d0dd7620f678eeb9"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_9478629fc093d229df09e560aea"); + + entity.Property(e => e.CallbackUrl).HasComment("The callbackUrl of the App."); + entity.Property(e => e.CreatedAt).HasComment("The created date of the App."); + entity.Property(e => e.Description).HasComment("The description of the App."); + entity.Property(e => e.Name).HasComment("The name of the App."); + entity.Property(e => e.Permission).HasComment("The permission of the App."); + entity.Property(e => e.Secret).HasComment("The secret key of the App."); + entity.Property(e => e.UserId).HasComment("The owner ID."); + + entity.HasOne(d => d.User).WithMany(p => p.Apps) + .OnDelete(DeleteBehavior.SetNull) + .HasConstraintName("FK_3f5b0899ef90527a3462d7c2cb3"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => new { e.Id, e.UserId }).HasName("PK_d0ba6786e093f1bcb497572a6b5"); + + entity.Property(e => e.Challenge).HasComment("Hex-encoded sha256 hash of the challenge."); + entity.Property(e => e.CreatedAt).HasComment("The date challenge was created for expiry purposes."); + entity.Property(e => e.RegistrationChallenge) + .HasDefaultValue(false) + .HasComment("Indicates that the challenge is only for registration purposes if true to prevent the challenge for being used as authentication."); + + entity.HasOne(d => d.User).WithMany(p => p.AttestationChallenges) + .HasConstraintName("FK_f1a461a618fa1755692d0e0d592"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_19354ed146424a728c1112a8cbf"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the AuthSession."); + + entity.HasOne(d => d.App).WithMany(p => p.AuthSessions).HasConstraintName("FK_dbe037d4bddd17b03a1dc778dee"); + + entity.HasOne(d => d.User).WithMany(p => p.AuthSessions) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_c072b729d71697f959bde66ade0"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_e5d9a541cc1965ee7e048ea09dd"); + + entity.Property(e => e.BlockeeId).HasComment("The blockee user ID."); + entity.Property(e => e.BlockerId).HasComment("The blocker user ID."); + entity.Property(e => e.CreatedAt).HasComment("The created date of the Blocking."); + + entity.HasOne(d => d.Blockee).WithMany(p => p.BlockingBlockees) + .HasConstraintName("FK_2cd4a2743a99671308f5417759e"); + + entity.HasOne(d => d.Blocker).WithMany(p => p.BlockingBlockers) + .HasConstraintName("FK_0627125f1a8a42c9a1929edb552"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_590f33ee6ee7d76437acf362e39"); + + entity.Property(e => e.BannerId).HasComment("The ID of banner Channel."); + entity.Property(e => e.CreatedAt).HasComment("The created date of the Channel."); + entity.Property(e => e.Description).HasComment("The description of the Channel."); + entity.Property(e => e.Name).HasComment("The name of the Channel."); + entity.Property(e => e.NotesCount) + .HasDefaultValue(0) + .HasComment("The count of notes."); + entity.Property(e => e.UserId).HasComment("The owner ID."); + entity.Property(e => e.UsersCount) + .HasDefaultValue(0) + .HasComment("The count of users."); + + entity.HasOne(d => d.Banner).WithMany(p => p.Channels) + .OnDelete(DeleteBehavior.SetNull) + .HasConstraintName("FK_999da2bcc7efadbfe0e92d3bc19"); + + entity.HasOne(d => d.User).WithMany(p => p.Channels) + .OnDelete(DeleteBehavior.SetNull) + .HasConstraintName("FK_823bae55bd81b3be6e05cff4383"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_8b104be7f7415113f2a02cd5bdd"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the ChannelFollowing."); + entity.Property(e => e.FolloweeId).HasComment("The followee channel ID."); + entity.Property(e => e.FollowerId).HasComment("The follower user ID."); + + entity.HasOne(d => d.Followee).WithMany(p => p.ChannelFollowings) + .HasConstraintName("FK_0e43068c3f92cab197c3d3cd86e"); + + entity.HasOne(d => d.Follower).WithMany(p => p.ChannelFollowings) + .HasConstraintName("FK_6d8084ec9496e7334a4602707e1"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_44f7474496bcf2e4b741681146d"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the ChannelNotePining."); + + entity.HasOne(d => d.Channel).WithMany(p => p.ChannelNotePinings) + .HasConstraintName("FK_8125f950afd3093acb10d2db8a8"); + + entity.HasOne(d => d.Note).WithMany(p => p.ChannelNotePinings) + .HasConstraintName("FK_10b19ef67d297ea9de325cd4502"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_317237a9f733b970604a11e314f"); + + entity.Property(e => e.Read).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.ReadWrite).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.RegisteredOutsideMonth).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.RegisteredOutsideWeek).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.RegisteredOutsideYear).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.RegisteredWithinMonth).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.RegisteredWithinWeek).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.RegisteredWithinYear).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.UniqueTempRead).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRegisteredOutsideMonth).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRegisteredOutsideWeek).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRegisteredOutsideYear).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRegisteredWithinMonth).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRegisteredWithinWeek).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRegisteredWithinYear).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempWrite).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.Write).HasDefaultValueSql("'0'::smallint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_56a25cd447c7ee08876b3baf8d8"); + + entity.Property(e => e.DeliverFailed).HasDefaultValue(0); + entity.Property(e => e.DeliverSucceeded).HasDefaultValue(0); + entity.Property(e => e.InboxReceived).HasDefaultValue(0); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_b1790489b14f005ae8f404f5795"); + + entity.Property(e => e.Read).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.ReadWrite).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.RegisteredOutsideMonth).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.RegisteredOutsideWeek).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.RegisteredOutsideYear).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.RegisteredWithinMonth).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.RegisteredWithinWeek).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.RegisteredWithinYear).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.UniqueTempRead).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRegisteredOutsideMonth).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRegisteredOutsideWeek).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRegisteredOutsideYear).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRegisteredWithinMonth).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRegisteredWithinWeek).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRegisteredWithinYear).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempWrite).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.Write).HasDefaultValueSql("'0'::smallint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_9318b49daee320194e23f712e69"); + + entity.Property(e => e.DeliverFailed).HasDefaultValue(0); + entity.Property(e => e.DeliverSucceeded).HasDefaultValue(0); + entity.Property(e => e.InboxReceived).HasDefaultValue(0); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_e7ec0de057c77c40fc8d8b62151"); + + entity.Property(e => e.LocalDecCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalDecSize).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalIncCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalIncSize).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDecCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDecSize).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteIncCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteIncSize).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_7ca721c769f31698e0e1331e8e6"); + + entity.Property(e => e.DeliveredInstances).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.InboxInstances).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.Pub).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.PubActive).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.Pubsub).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.Stalled).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.Sub).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.SubActive).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.UniqueTempDeliveredInstances).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempInboxInstances).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempStalled).HasDefaultValueSql("'{}'::character varying[]"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_13d5a3b089344e5557f8e0980b4"); + + entity.Property(e => e.LocalUsers).HasDefaultValue(0); + entity.Property(e => e.RemoteUsers).HasDefaultValue(0); + entity.Property(e => e.UniqueTempLocalUsers).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRemoteUsers).HasDefaultValueSql("'{}'::character varying[]"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_479a8ff9d959274981087043023"); + + entity.Property(e => e.DriveDecFiles).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DriveDecUsage).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DriveIncFiles).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DriveIncUsage).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DriveTotalFiles).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.FollowersDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.FollowersInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.FollowersTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.FollowingDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.FollowingInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.FollowingTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.NotesDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.NotesDiffsNormal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.NotesDiffsRenote).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.NotesDiffsReply).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.NotesDiffsWithFile).HasDefaultValue(0); + entity.Property(e => e.NotesInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.NotesTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RequestsFailed).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RequestsReceived).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RequestsSucceeded).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.UsersDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.UsersInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.UsersTotal).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_cac499d6f471042dfed1e7e0132"); + + entity.Property(e => e.IncomingBytes).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.IncomingRequests).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.OutgoingBytes).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.OutgoingRequests).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.TotalTime).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_1fa4139e1f338272b758d05e090"); + + entity.Property(e => e.LocalDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalDiffsNormal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalDiffsRenote).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalDiffsReply).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalDiffsWithFile).HasDefaultValue(0); + entity.Property(e => e.LocalInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDiffsNormal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDiffsRenote).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDiffsReply).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDiffsWithFile).HasDefaultValue(0); + entity.Property(e => e.RemoteInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteTotal).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_1ae135254c137011645da7f4045"); + + entity.Property(e => e.DecCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DecSize).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.IncCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.IncSize).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.TotalCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.TotalSize).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_68ce6b67da57166da66fc8fb27e"); + + entity.Property(e => e.LocalFollowersDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalFollowersInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalFollowersTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalFollowingsDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalFollowingsInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalFollowingsTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteFollowersDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteFollowersInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteFollowersTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteFollowingsDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteFollowingsInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteFollowingsTotal).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_58bab6b6d3ad9310cbc7460fd28"); + + entity.Property(e => e.Dec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DiffsNormal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DiffsRenote).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DiffsReply).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DiffsWithFile).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.Inc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.Total).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_8af24e2d51ff781a354fe595eda"); + + entity.Property(e => e.LocalCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteCount).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_d7f7185abb9851f70c4726c54bd"); + + entity.Property(e => e.LocalDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteTotal).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_f96bc548a765cd4b3b354221ce7"); + + entity.Property(e => e.LocalDecCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalDecSize).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalIncCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalIncSize).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDecCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDecSize).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteIncCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteIncSize).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_b39dcd31a0fe1a7757e348e85fd"); + + entity.Property(e => e.DeliveredInstances).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.InboxInstances).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.Pub).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.PubActive).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.Pubsub).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.Stalled).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.Sub).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.SubActive).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.UniqueTempDeliveredInstances).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempInboxInstances).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempStalled).HasDefaultValueSql("'{}'::character varying[]"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_c32f1ea2b44a5d2f7881e37f8f9"); + + entity.Property(e => e.LocalUsers).HasDefaultValue(0); + entity.Property(e => e.RemoteUsers).HasDefaultValue(0); + entity.Property(e => e.UniqueTempLocalUsers).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UniqueTempRemoteUsers).HasDefaultValueSql("'{}'::character varying[]"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_1267c67c7c2d47b4903975f2c00"); + + entity.Property(e => e.DriveDecFiles).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DriveDecUsage).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DriveIncFiles).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DriveIncUsage).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DriveTotalFiles).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.FollowersDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.FollowersInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.FollowersTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.FollowingDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.FollowingInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.FollowingTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.NotesDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.NotesDiffsNormal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.NotesDiffsRenote).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.NotesDiffsReply).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.NotesDiffsWithFile).HasDefaultValue(0); + entity.Property(e => e.NotesInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.NotesTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RequestsFailed).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RequestsReceived).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RequestsSucceeded).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.UsersDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.UsersInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.UsersTotal).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_bc4290c2e27fad14ef0c1ca93f3"); + + entity.Property(e => e.IncomingBytes).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.IncomingRequests).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.OutgoingBytes).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.OutgoingRequests).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.TotalTime).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_0aec823fa85c7f901bdb3863b14"); + + entity.Property(e => e.LocalDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalDiffsNormal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalDiffsRenote).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalDiffsReply).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalDiffsWithFile).HasDefaultValue(0); + entity.Property(e => e.LocalInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDiffsNormal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDiffsRenote).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDiffsReply).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDiffsWithFile).HasDefaultValue(0); + entity.Property(e => e.RemoteInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteTotal).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_d0ef23d24d666e1a44a0cd3d208"); + + entity.Property(e => e.DecCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DecSize).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.IncCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.IncSize).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.TotalCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.TotalSize).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_85bb1b540363a29c2fec83bd907"); + + entity.Property(e => e.LocalFollowersDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalFollowersInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalFollowersTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalFollowingsDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalFollowingsInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalFollowingsTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteFollowersDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteFollowersInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteFollowersTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteFollowingsDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteFollowingsInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteFollowingsTotal).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_334acf6e915af2f29edc11b8e50"); + + entity.Property(e => e.Dec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DiffsNormal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DiffsRenote).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DiffsReply).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.DiffsWithFile).HasDefaultValueSql("'0'::smallint"); + entity.Property(e => e.Inc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.Total).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_984f54dae441e65b633e8d27a7f"); + + entity.Property(e => e.LocalCount).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteCount).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_b4bc31dffbd1b785276a3ecfc1e"); + + entity.HasIndex(e => e.Date, "IDX_dab383a36f3c9db4a0c9b02cf3") + .IsUnique() + .HasFilter("(\"group\" IS NULL)"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_f4a2b175d308695af30d4293272"); + + entity.HasIndex(e => e.Date, "IDX_da522b4008a9f5d7743b87ad55") + .IsUnique() + .HasFilter("(\"group\" IS NULL)"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_409bac9c97cc612d8500012319d"); + + entity.HasIndex(e => e.Date, "IDX_16effb2e888f6763673b579f80") + .IsUnique() + .HasFilter("(\"group\" IS NULL)"); + + entity.Property(e => e.Foo).HasDefaultValueSql("'{}'::character varying[]"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_4dfcf2c78d03524b9eb2c99d328"); + + entity.Property(e => e.LocalDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.LocalTotal).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteDec).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteInc).HasDefaultValueSql("'0'::bigint"); + entity.Property(e => e.RemoteTotal).HasDefaultValueSql("'0'::bigint"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_f0685dac8d4dd056d7255670b75"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the Clip."); + entity.Property(e => e.Description).HasComment("The description of the Clip."); + entity.Property(e => e.IsPublic).HasDefaultValue(false); + entity.Property(e => e.Name).HasComment("The name of the Clip."); + entity.Property(e => e.UserId).HasComment("The owner ID."); + + entity.HasOne(d => d.User).WithMany(p => p.Clips).HasConstraintName("FK_2b5ec6c574d6802c94c80313fb2"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_e94cda2f40a99b57e032a1a738b"); + + entity.Property(e => e.ClipId).HasComment("The clip ID."); + entity.Property(e => e.NoteId).HasComment("The note ID."); + + entity.HasOne(d => d.Clip).WithMany(p => p.ClipNotes).HasConstraintName("FK_ebe99317bbbe9968a0c6f579adf"); + + entity.HasOne(d => d.Note).WithMany(p => p.ClipNotes).HasConstraintName("FK_a012eaf5c87c65da1deb5fdbfa3"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_43ddaaaf18c9e68029b7cbb032e"); + + entity.Property(e => e.Blurhash).HasComment("The BlurHash string."); + entity.Property(e => e.Comment).HasComment("The comment of the DriveFile."); + entity.Property(e => e.CreatedAt).HasComment("The created date of the DriveFile."); + entity.Property(e => e.FolderId) + .HasComment("The parent folder ID. If null, it means the DriveFile is located in root."); + entity.Property(e => e.IsLink) + .HasDefaultValue(false) + .HasComment("Whether the DriveFile is direct link to remote server."); + entity.Property(e => e.IsSensitive) + .HasDefaultValue(false) + .HasComment("Whether the DriveFile is NSFW."); + entity.Property(e => e.Md5).HasComment("The MD5 hash of the DriveFile."); + entity.Property(e => e.Name).HasComment("The file name of the DriveFile."); + entity.Property(e => e.Properties) + .HasDefaultValueSql("'{}'::jsonb") + .HasComment("The any properties of the DriveFile. For example, it includes image width/height."); + entity.Property(e => e.RequestHeaders).HasDefaultValueSql("'{}'::jsonb"); + entity.Property(e => e.Size).HasComment("The file size (bytes) of the DriveFile."); + entity.Property(e => e.ThumbnailUrl).HasComment("The URL of the thumbnail of the DriveFile."); + entity.Property(e => e.Type).HasComment("The content type (MIME) of the DriveFile."); + entity.Property(e => e.Uri) + .HasComment("The URI of the DriveFile. it will be null when the DriveFile is local."); + entity.Property(e => e.Url).HasComment("The URL of the DriveFile."); + entity.Property(e => e.UserHost).HasComment("The host of owner. It will be null if the user in local."); + entity.Property(e => e.UserId).HasComment("The owner ID."); + entity.Property(e => e.WebpublicUrl).HasComment("The URL of the webpublic of the DriveFile."); + + entity.HasOne(d => d.Folder).WithMany(p => p.DriveFiles) + .OnDelete(DeleteBehavior.SetNull) + .HasConstraintName("FK_bb90d1956dafc4068c28aa7560a"); + + entity.HasOne(d => d.User).WithMany(p => p.DriveFiles) + .OnDelete(DeleteBehavior.SetNull) + .HasConstraintName("FK_860fa6f6c7df5bb887249fba22e"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_7a0c089191f5ebdc214e0af808a"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the DriveFolder."); + entity.Property(e => e.Name).HasComment("The name of the DriveFolder."); + entity.Property(e => e.ParentId) + .HasComment("The parent folder ID. If null, it means the DriveFolder is located in root."); + entity.Property(e => e.UserId).HasComment("The owner ID."); + + entity.HasOne(d => d.Parent).WithMany(p => p.InverseParent) + .OnDelete(DeleteBehavior.SetNull) + .HasConstraintName("FK_00ceffb0cdc238b3233294f08f2"); + + entity.HasOne(d => d.User).WithMany(p => p.DriveFolders) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_f4fc06e49c0171c85f1c48060d2"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_df74ce05e24999ee01ea0bc50a3"); + + entity.Property(e => e.Aliases).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.Height).HasComment("Image height"); + entity.Property(e => e.PublicUrl).HasDefaultValueSql("''::character varying"); + entity.Property(e => e.Width).HasComment("Image width"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_53a9aa3725f7a3deb150b39dbfc"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the FollowRequest."); + entity.Property(e => e.FolloweeHost).HasComment("[Denormalized]"); + entity.Property(e => e.FolloweeId).HasComment("The followee user ID."); + entity.Property(e => e.FolloweeInbox).HasComment("[Denormalized]"); + entity.Property(e => e.FolloweeSharedInbox).HasComment("[Denormalized]"); + entity.Property(e => e.FollowerHost).HasComment("[Denormalized]"); + entity.Property(e => e.FollowerId).HasComment("The follower user ID."); + entity.Property(e => e.FollowerInbox).HasComment("[Denormalized]"); + entity.Property(e => e.FollowerSharedInbox).HasComment("[Denormalized]"); + entity.Property(e => e.RequestId).HasComment("id of Follow Activity."); + + entity.HasOne(d => d.Followee).WithMany(p => p.FollowRequestFollowees) + .HasConstraintName("FK_12c01c0d1a79f77d9f6c15fadd2"); + + entity.HasOne(d => d.Follower).WithMany(p => p.FollowRequestFollowers) + .HasConstraintName("FK_a7fd92dd6dc519e6fb435dd108f"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_c76c6e044bdf76ecf8bfb82a645"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the Following."); + entity.Property(e => e.FolloweeHost).HasComment("[Denormalized]"); + entity.Property(e => e.FolloweeId).HasComment("The followee user ID."); + entity.Property(e => e.FolloweeInbox).HasComment("[Denormalized]"); + entity.Property(e => e.FolloweeSharedInbox).HasComment("[Denormalized]"); + entity.Property(e => e.FollowerHost).HasComment("[Denormalized]"); + entity.Property(e => e.FollowerId).HasComment("The follower user ID."); + entity.Property(e => e.FollowerInbox).HasComment("[Denormalized]"); + entity.Property(e => e.FollowerSharedInbox).HasComment("[Denormalized]"); + + entity.HasOne(d => d.Followee).WithMany(p => p.FollowingFollowees) + .HasConstraintName("FK_24e0042143a18157b234df186c3"); + + entity.HasOne(d => d.Follower).WithMany(p => p.FollowingFollowers) + .HasConstraintName("FK_6516c5a6f3c015b4eed39978be5"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_853ab02be39b8de45cd720cc15f"); + + entity.HasOne(d => d.Post).WithMany(p => p.GalleryLikes) + .HasConstraintName("FK_b1cb568bfe569e47b7051699fc8"); + + entity.HasOne(d => d.User).WithMany(p => p.GalleryLikes) + .HasConstraintName("FK_8fd5215095473061855ceb948cf"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_8e90d7b6015f2c4518881b14753"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the GalleryPost."); + entity.Property(e => e.FileIds).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.IsSensitive) + .HasDefaultValue(false) + .HasComment("Whether the post is sensitive."); + entity.Property(e => e.LikedCount).HasDefaultValue(0); + entity.Property(e => e.Tags).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UpdatedAt).HasComment("The updated date of the GalleryPost."); + entity.Property(e => e.UserId).HasComment("The ID of author."); + + entity.HasOne(d => d.User).WithMany(p => p.GalleryPosts) + .HasConstraintName("FK_985b836dddd8615e432d7043ddb"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_cb36eb8af8412bfa978f1165d78"); + + entity.Property(e => e.AttachedLocalUsersCount).HasDefaultValue(0); + entity.Property(e => e.AttachedRemoteUsersCount).HasDefaultValue(0); + entity.Property(e => e.AttachedUsersCount).HasDefaultValue(0); + entity.Property(e => e.MentionedLocalUsersCount).HasDefaultValue(0); + entity.Property(e => e.MentionedRemoteUsersCount).HasDefaultValue(0); + entity.Property(e => e.MentionedUsersCount).HasDefaultValue(0); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.NoteId).HasName("PK_6ef86ec901b2017cbe82d3a8286"); + + entity.HasOne(d => d.Note).WithOne(p => p.HtmlNoteCacheEntry) + .HasConstraintName("FK_6ef86ec901b2017cbe82d3a8286"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.UserId).HasName("PK_920b9474e3c9cae3f3c37c057e1"); + + entity.Property(e => e.Fields).HasDefaultValueSql("'[]'::jsonb"); + + entity.HasOne(d => d.User).WithOne(p => p.HtmlUserCacheEntry) + .HasConstraintName("FK_920b9474e3c9cae3f3c37c057e1"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_eaf60e4a0c399c9935413e06474"); + + entity.Property(e => e.CaughtAt).HasComment("The caught date of the Instance."); + entity.Property(e => e.FollowersCount).HasDefaultValue(0); + entity.Property(e => e.FollowingCount).HasDefaultValue(0); + entity.Property(e => e.Host).HasComment("The host of the Instance."); + entity.Property(e => e.IsNotResponding).HasDefaultValue(false); + entity.Property(e => e.IsSuspended).HasDefaultValue(false); + entity.Property(e => e.NotesCount) + .HasDefaultValue(0) + .HasComment("The count of the notes of the Instance."); + entity.Property(e => e.SoftwareName).HasComment("The software of the Instance."); + entity.Property(e => e.UsersCount) + .HasDefaultValue(0) + .HasComment("The count of the users of the Instance."); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_db398fd79dc95d0eb8c30456eaa"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the MessagingMessage."); + entity.Property(e => e.GroupId).HasComment("The recipient group ID."); + entity.Property(e => e.IsRead).HasDefaultValue(false); + entity.Property(e => e.Reads).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.RecipientId).HasComment("The recipient user ID."); + entity.Property(e => e.UserId).HasComment("The sender user ID."); + + entity.HasOne(d => d.File).WithMany(p => p.MessagingMessages) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_535def119223ac05ad3fa9ef64b"); + + entity.HasOne(d => d.Group).WithMany(p => p.MessagingMessages) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_2c4be03b446884f9e9c502135be"); + + entity.HasOne(d => d.Recipient).WithMany(p => p.MessagingMessageRecipients) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_cac14a4e3944454a5ce7daa5142"); + + entity.HasOne(d => d.User).WithMany(p => p.MessagingMessageUsers) + .HasConstraintName("FK_5377c307783fce2b6d352e1203b"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_c4c17a6c2bd7651338b60fc590b"); + + entity.Property(e => e.AllowedHosts).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.BlockedHosts).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.CacheRemoteFiles).HasDefaultValue(false); + entity.Property(e => e.CustomMotd).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.CustomSplashIcons).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.DeeplIsPro).HasDefaultValue(false); + entity.Property(e => e.DefaultReaction).HasDefaultValueSql("'⭐'::character varying"); + entity.Property(e => e.DisableGlobalTimeline).HasDefaultValue(false); + entity.Property(e => e.DisableLocalTimeline).HasDefaultValue(false); + entity.Property(e => e.DisableRecommendedTimeline).HasDefaultValue(true); + entity.Property(e => e.DisableRegistration).HasDefaultValue(false); + entity.Property(e => e.EmailRequiredForSignup).HasDefaultValue(false); + entity.Property(e => e.EnableActiveEmailValidation).HasDefaultValue(true); + entity.Property(e => e.EnableDiscordIntegration).HasDefaultValue(false); + entity.Property(e => e.EnableEmail).HasDefaultValue(false); + entity.Property(e => e.EnableGithubIntegration).HasDefaultValue(false); + entity.Property(e => e.EnableHcaptcha).HasDefaultValue(false); + entity.Property(e => e.EnableIdenticonGeneration).HasDefaultValue(true); + entity.Property(e => e.EnableIpLogging).HasDefaultValue(false); + entity.Property(e => e.EnableRecaptcha).HasDefaultValue(false); + entity.Property(e => e.EnableServerMachineStats).HasDefaultValue(false); + entity.Property(e => e.ErrorImageUrl) + .HasDefaultValueSql("'/static-assets/badges/error.png'::character varying"); + entity.Property(e => e.ExperimentalFeatures).HasDefaultValueSql("'{}'::jsonb"); + entity.Property(e => e.FeedbackUrl) + .HasDefaultValueSql("'https://iceshrimp.dev/iceshrimp/iceshrimp/issues/new'::character varying"); + entity.Property(e => e.HiddenTags).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.Langs).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.LocalDriveCapacityMb) + .HasDefaultValue(1024) + .HasComment("Drive capacity of a local user (MB)"); + entity.Property(e => e.MascotImageUrl) + .HasDefaultValueSql("'/static-assets/badges/info.png'::character varying"); + entity.Property(e => e.ObjectStorageS3forcePathStyle).HasDefaultValue(true); + entity.Property(e => e.ObjectStorageSetPublicRead).HasDefaultValue(false); + entity.Property(e => e.ObjectStorageUseProxy).HasDefaultValue(true); + entity.Property(e => e.ObjectStorageUseSsl).HasDefaultValue(true); + entity.Property(e => e.PinnedPages) + .HasDefaultValueSql("'{/featured,/channels,/explore,/pages,/about-iceshrimp}'::character varying[]"); + entity.Property(e => e.PinnedUsers).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.PrivateMode).HasDefaultValue(false); + entity.Property(e => e.RecommendedInstances).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.RemoteDriveCapacityMb) + .HasDefaultValue(32) + .HasComment("Drive capacity of a remote user (MB)"); + entity.Property(e => e.RepositoryUrl) + .HasDefaultValueSql("'https://iceshrimp.dev/iceshrimp/iceshrimp'::character varying"); + entity.Property(e => e.SecureMode).HasDefaultValue(true); + entity.Property(e => e.SilencedHosts).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.SmtpSecure).HasDefaultValue(false); + entity.Property(e => e.UseObjectStorage).HasDefaultValue(false); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_8c82d7f526340ab734260ea46be"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_d0adca6ecfd068db83e4526cc26"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the ModerationLog."); + + entity.HasOne(d => d.User).WithMany(p => p.ModerationLogs) + .HasConstraintName("FK_a08ad074601d204e0f69da9a954"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_2e92d06c8b5c602eeb27ca9ba48"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the Muting."); + entity.Property(e => e.MuteeId).HasComment("The mutee user ID."); + entity.Property(e => e.MuterId).HasComment("The muter user ID."); + + entity.HasOne(d => d.Mutee).WithMany(p => p.MutingMutees) + .HasConstraintName("FK_ec96b4fed9dae517e0dbbe0675c"); + + entity.HasOne(d => d.Muter).WithMany(p => p.MutingMuters) + .HasConstraintName("FK_93060675b4a79a577f31d260c67"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_96d0c172a4fba276b1bbed43058"); + + entity.HasIndex(e => e.Mentions, "IDX_NOTE_MENTIONS").HasMethod("gin"); + + entity.HasIndex(e => e.Tags, "IDX_NOTE_TAGS").HasMethod("gin"); + + entity.HasIndex(e => e.VisibleUserIds, "IDX_NOTE_VISIBLE_USER_IDS").HasMethod("gin"); + + entity.HasIndex(e => e.Text, "note_text_fts_idx") + .HasMethod("gin") + .HasOperators("gin_trgm_ops"); + + entity.Property(e => e.AttachedFileTypes).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.ChannelId).HasComment("The ID of source channel."); + entity.Property(e => e.CreatedAt).HasComment("The created date of the Note."); + entity.Property(e => e.Emojis).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.FileIds).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.HasPoll).HasDefaultValue(false); + entity.Property(e => e.LocalOnly).HasDefaultValue(false); + entity.Property(e => e.MentionedRemoteUsers).HasDefaultValueSql("'[]'::text"); + entity.Property(e => e.Mentions).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.Reactions).HasDefaultValueSql("'{}'::jsonb"); + entity.Property(e => e.RenoteCount).HasDefaultValue((short)0); + entity.Property(e => e.RenoteId).HasComment("The ID of renote target."); + entity.Property(e => e.RenoteUserHost).HasComment("[Denormalized]"); + entity.Property(e => e.RenoteUserId).HasComment("[Denormalized]"); + entity.Property(e => e.RepliesCount).HasDefaultValue((short)0); + entity.Property(e => e.ReplyId).HasComment("The ID of reply target."); + entity.Property(e => e.ReplyUserHost).HasComment("[Denormalized]"); + entity.Property(e => e.ReplyUserId).HasComment("[Denormalized]"); + entity.Property(e => e.Score).HasDefaultValue(0); + entity.Property(e => e.Tags).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UpdatedAt).HasComment("The updated date of the Note."); + entity.Property(e => e.Uri).HasComment("The URI of a note. it will be null when the note is local."); + entity.Property(e => e.Url) + .HasComment("The human readable url of a note. it will be null when the note is local."); + entity.Property(e => e.UserHost).HasComment("[Denormalized]"); + entity.Property(e => e.UserId).HasComment("The ID of author."); + entity.Property(e => e.VisibleUserIds).HasDefaultValueSql("'{}'::character varying[]"); + + entity.HasOne(d => d.Channel).WithMany(p => p.Notes) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_f22169eb10657bded6d875ac8f9"); + + entity.HasOne(d => d.Renote).WithMany(p => p.InverseRenote) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_52ccc804d7c69037d558bac4c96"); + + entity.HasOne(d => d.Reply).WithMany(p => p.InverseReply) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_17cb3553c700a4985dff5a30ff5"); + + entity.HasOne(d => d.User).WithMany(p => p.Notes).HasConstraintName("FK_5b87d9d19127bd5d92026017a7b"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_736fc6e0d4e222ecc6f82058e08"); + + entity.Property(e => e.FileIds).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.NoteId).HasComment("The ID of note."); + entity.Property(e => e.UpdatedAt).HasComment("The updated date of the Note."); + + entity.HasOne(d => d.Note).WithMany(p => p.NoteEdits).HasConstraintName("FK_702ad5ae993a672e4fbffbcd38c"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_af0da35a60b9fa4463a62082b36"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the NoteFavorite."); + + entity.HasOne(d => d.Note).WithMany(p => p.NoteFavorites) + .HasConstraintName("FK_0e00498f180193423c992bc4370"); + + entity.HasOne(d => d.User).WithMany(p => p.NoteFavorites) + .HasConstraintName("FK_47f4b1892f5d6ba8efb3057d81a"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_767ec729b108799b587a3fcc9cf"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the NoteReaction."); + + entity.HasOne(d => d.Note).WithMany(p => p.NoteReactions) + .HasConstraintName("FK_45145e4953780f3cd5656f0ea6a"); + + entity.HasOne(d => d.User).WithMany(p => p.NoteReactions) + .HasConstraintName("FK_13761f64257f40c5636d0ff95ee"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_ec5936d94d1a0369646d12a3a47"); + + entity.HasOne(d => d.User).WithMany(p => p.NoteThreadMutings) + .HasConstraintName("FK_29c11c7deb06615076f8c95b80a"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_1904eda61a784f57e6e51fa9c1f"); + + entity.Property(e => e.NoteChannelId).HasComment("[Denormalized]"); + entity.Property(e => e.NoteUserId).HasComment("[Denormalized]"); + + entity.HasOne(d => d.Note).WithMany(p => p.NoteUnreads).HasConstraintName("FK_e637cba4dc4410218c4251260e4"); + + entity.HasOne(d => d.User).WithMany(p => p.NoteUnreads).HasConstraintName("FK_56b0166d34ddae49d8ef7610bb9"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_49286fdb23725945a74aa27d757"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the NoteWatching."); + entity.Property(e => e.NoteId).HasComment("The target Note ID."); + entity.Property(e => e.NoteUserId).HasComment("[Denormalized]"); + entity.Property(e => e.UserId).HasComment("The watcher ID."); + + entity.HasOne(d => d.Note).WithMany(p => p.NoteWatchings) + .HasConstraintName("FK_03e7028ab8388a3f5e3ce2a8619"); + + entity.HasOne(d => d.User).WithMany(p => p.NoteWatchings) + .HasConstraintName("FK_b0134ec406e8d09a540f8182888"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_705b6c7cdf9b2c2ff7ac7872cb7"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the Notification."); + entity.Property(e => e.IsRead) + .HasDefaultValue(false) + .HasComment("Whether the notification was read."); + entity.Property(e => e.NotifieeId).HasComment("The ID of recipient user of the Notification."); + entity.Property(e => e.NotifierId).HasComment("The ID of sender user of the Notification."); + + entity.HasOne(d => d.AppAccessToken).WithMany(p => p.Notifications) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_e22bf6bda77b6adc1fd9e75c8c9"); + + entity.HasOne(d => d.FollowRequest).WithMany(p => p.Notifications) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_bd7fab507621e635b32cd31892c"); + + entity.HasOne(d => d.Note).WithMany(p => p.Notifications) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_769cb6b73a1efe22ddf733ac453"); + + entity.HasOne(d => d.Notifiee).WithMany(p => p.NotificationNotifiees) + .HasConstraintName("FK_3c601b70a1066d2c8b517094cb9"); + + entity.HasOne(d => d.Notifier).WithMany(p => p.NotificationNotifiers) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_3b4e96eec8d36a8bbb9d02aa710"); + + entity.HasOne(d => d.UserGroupInvitation).WithMany(p => p.Notifications) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_8fe87814e978053a53b1beb7e98"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_3256b97c0a3ee2d67240805dca4"); + + entity.Property(e => e.ClientId).HasComment("The client id of the OAuth application"); + entity.Property(e => e.ClientSecret).HasComment("The client secret of the OAuth application"); + entity.Property(e => e.CreatedAt).HasComment("The created date of the OAuth application"); + entity.Property(e => e.Name).HasComment("The name of the OAuth application"); + entity.Property(e => e.RedirectUris).HasComment("The redirect URIs of the OAuth application"); + entity.Property(e => e.Scopes).HasComment("The scopes requested by the OAuth application"); + entity.Property(e => e.Website).HasComment("The website of the OAuth application"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_7e6a25a3cc4395d1658f5b89c73"); + + entity.Property(e => e.Active).HasComment("Whether or not the token has been activated"); + entity.Property(e => e.Code).HasComment("The auth code for the OAuth token"); + entity.Property(e => e.CreatedAt).HasComment("The created date of the OAuth token"); + entity.Property(e => e.RedirectUri).HasComment("The redirect URI of the OAuth token"); + entity.Property(e => e.Scopes).HasComment("The scopes requested by the OAuth token"); + entity.Property(e => e.Token).HasComment("The OAuth token"); + + entity.HasOne(d => d.App).WithMany(p => p.OauthTokens).HasConstraintName("FK_6d3ef28ea647b1449ba79690874"); + + entity.HasOne(d => d.User).WithMany(p => p.OauthTokens).HasConstraintName("FK_f6b4b1ac66b753feab5d831ba04"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_742f4117e065c5b6ad21b37ba1f"); + + entity.Property(e => e.Content).HasDefaultValueSql("'[]'::jsonb"); + entity.Property(e => e.CreatedAt).HasComment("The created date of the Page."); + entity.Property(e => e.HideTitleWhenPinned).HasDefaultValue(false); + entity.Property(e => e.LikedCount).HasDefaultValue(0); + entity.Property(e => e.Script).HasDefaultValueSql("''::character varying"); + entity.Property(e => e.UpdatedAt).HasComment("The updated date of the Page."); + entity.Property(e => e.UserId).HasComment("The ID of author."); + entity.Property(e => e.Variables).HasDefaultValueSql("'[]'::jsonb"); + entity.Property(e => e.VisibleUserIds).HasDefaultValueSql("'{}'::character varying[]"); + + entity.HasOne(d => d.EyeCatchingImage).WithMany(p => p.Pages) + .OnDelete(DeleteBehavior.Cascade) + .HasConstraintName("FK_a9ca79ad939bf06066b81c9d3aa"); + + entity.HasOne(d => d.User).WithMany(p => p.Pages).HasConstraintName("FK_ae1d917992dd0c9d9bbdad06c4a"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_813f034843af992d3ae0f43c64c"); + + entity.HasOne(d => d.Page).WithMany(p => p.PageLikes).HasConstraintName("FK_cf8782626dced3176038176a847"); + + entity.HasOne(d => d.User).WithMany(p => p.PageLikes).HasConstraintName("FK_0e61efab7f88dbb79c9166dbb48"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_fcf4b02eae1403a2edaf87fd074"); + + entity.HasOne(d => d.User).WithMany(p => p.PasswordResetRequests) + .HasConstraintName("FK_4bb7fd4a34492ae0e6cc8d30ac8"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.NoteId).HasName("PK_da851e06d0dfe2ef397d8b1bf1b"); + + entity.Property(e => e.Choices).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UserHost).HasComment("[Denormalized]"); + entity.Property(e => e.UserId).HasComment("[Denormalized]"); + + entity.HasOne(d => d.Note).WithOne(p => p.Poll).HasConstraintName("FK_da851e06d0dfe2ef397d8b1bf1b"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_fd002d371201c472490ba89c6a0"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the PollVote."); + + entity.HasOne(d => d.Note).WithMany(p => p.PollVotes).HasConstraintName("FK_aecfbd5ef60374918e63ee95fa7"); + + entity.HasOne(d => d.User).WithMany(p => p.PollVotes).HasConstraintName("FK_66d2bd2ee31d14bcc23069a89f8"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.NoteId).HasName("PK_e263909ca4fe5d57f8d4230dd5c"); + + entity.Property(e => e.UserId).HasComment("[Denormalized]"); + + entity.HasOne(d => d.Note).WithOne(p => p.PromoNote).HasConstraintName("FK_e263909ca4fe5d57f8d4230dd5c"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_61917c1541002422b703318b7c9"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the PromoRead."); + + entity.HasOne(d => d.Note).WithMany(p => p.PromoReads).HasConstraintName("FK_a46a1a603ecee695d7db26da5f4"); + + entity.HasOne(d => d.User).WithMany(p => p.PromoReads).HasConstraintName("FK_9657d55550c3d37bfafaf7d4b05"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_f11696b6fafcf3662d4292734f8"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_64b3f7e6008b4d89b826cd3af95"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the RegistryItem."); + entity.Property(e => e.Key).HasComment("The key of the RegistryItem."); + entity.Property(e => e.Scope).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UpdatedAt).HasComment("The updated date of the RegistryItem."); + entity.Property(e => e.UserId).HasComment("The owner ID."); + entity.Property(e => e.Value) + .HasDefaultValueSql("'{}'::jsonb") + .HasComment("The value of the RegistryItem."); + + entity.HasOne(d => d.User).WithMany(p => p.RegistryItems) + .HasConstraintName("FK_fb9d21ba0abb83223263df6bcb3"); + }); + + modelBuilder.Entity(entity => { entity.HasKey(e => e.Id).HasName("PK_78ebc9cfddf4292633b7ba57aee"); }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_renoteMuting_id"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the Muting."); + entity.Property(e => e.MuteeId).HasComment("The mutee user ID."); + entity.Property(e => e.MuterId).HasComment("The muter user ID."); + + entity.HasOne(d => d.Mutee).WithMany(p => p.RenoteMutingMutees) + .HasConstraintName("FK_7eac97594bcac5ffcf2068089b6"); + + entity.HasOne(d => d.Muter).WithMany(p => p.RenoteMutingMuters) + .HasConstraintName("FK_7aa72a5fe76019bfe8e5e0e8b7d"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_f55da76ac1c3ac420f444d2ff11"); + + entity.Property(e => e.Active) + .HasComment("Whether or not the token has been activated (i.e. 2fa has been confirmed)"); + entity.Property(e => e.CreatedAt).HasComment("The created date of the OAuth token"); + entity.Property(e => e.Token).HasComment("The authorization token"); + + entity.HasOne(d => d.User).WithMany(p => p.Sessions).HasConstraintName("FK_3d2f174ef04fb312fdebd0ddc53"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_9e96ddc025712616fc492b3b588"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the Signin."); + + entity.HasOne(d => d.User).WithMany(p => p.Signins).HasConstraintName("FK_2c308dbdc50d94dc625670055f7"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_e8f763631530051b95eb6279b91"); + + entity.Property(e => e.SendReadMessage).HasDefaultValue(false); + + entity.HasOne(d => d.User).WithMany(p => p.SwSubscriptions) + .HasConstraintName("FK_97754ca6f2baff9b4abb7f853dd"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Username).HasName("PK_78fd79d2d24c6ac2f4cc9a31a5d"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_cace4a159ff9f2512dd42373760"); + + entity.Property(e => e.AlsoKnownAs).HasComment("URIs the user is known as too"); + entity.Property(e => e.AvatarBlurhash).HasComment("The blurhash of the avatar DriveFile"); + entity.Property(e => e.AvatarId).HasComment("The ID of avatar DriveFile."); + entity.Property(e => e.AvatarUrl).HasComment("The URL of the avatar DriveFile"); + entity.Property(e => e.BannerBlurhash).HasComment("The blurhash of the banner DriveFile"); + entity.Property(e => e.BannerId).HasComment("The ID of banner DriveFile."); + entity.Property(e => e.BannerUrl).HasComment("The URL of the banner DriveFile"); + entity.Property(e => e.CreatedAt).HasComment("The created date of the User."); + entity.Property(e => e.DriveCapacityOverrideMb).HasComment("Overrides user drive capacity limit"); + entity.Property(e => e.Emojis).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.Featured) + .HasComment("The featured URL of the User. It will be null if the origin of the user is local."); + entity.Property(e => e.FollowersCount) + .HasDefaultValue(0) + .HasComment("The count of followers."); + entity.Property(e => e.FollowersUri) + .HasComment("The URI of the user Follower Collection. It will be null if the origin of the user is local."); + entity.Property(e => e.FollowingCount) + .HasDefaultValue(0) + .HasComment("The count of following."); + entity.Property(e => e.HideOnlineStatus).HasDefaultValue(false); + entity.Property(e => e.Host) + .HasComment("The host of the User. It will be null if the origin of the user is local."); + entity.Property(e => e.Inbox) + .HasComment("The inbox URL of the User. It will be null if the origin of the user is local."); + entity.Property(e => e.IsAdmin) + .HasDefaultValue(false) + .HasComment("Whether the User is the admin."); + entity.Property(e => e.IsBot) + .HasDefaultValue(false) + .HasComment("Whether the User is a bot."); + entity.Property(e => e.IsCat) + .HasDefaultValue(false) + .HasComment("Whether the User is a cat."); + entity.Property(e => e.IsDeleted) + .HasDefaultValue(false) + .HasComment("Whether the User is deleted."); + entity.Property(e => e.IsExplorable) + .HasDefaultValue(true) + .HasComment("Whether the User is explorable."); + entity.Property(e => e.IsLocked) + .HasDefaultValue(false) + .HasComment("Whether the User is locked."); + entity.Property(e => e.IsModerator) + .HasDefaultValue(false) + .HasComment("Whether the User is a moderator."); + entity.Property(e => e.IsSilenced) + .HasDefaultValue(false) + .HasComment("Whether the User is silenced."); + entity.Property(e => e.IsSuspended) + .HasDefaultValue(false) + .HasComment("Whether the User is suspended."); + entity.Property(e => e.MovedToUri).HasComment("The URI of the new account of the User"); + entity.Property(e => e.Name).HasComment("The name of the User."); + entity.Property(e => e.NotesCount) + .HasDefaultValue(0) + .HasComment("The count of notes."); + entity.Property(e => e.SharedInbox) + .HasComment("The sharedInbox URL of the User. It will be null if the origin of the user is local."); + entity.Property(e => e.SpeakAsCat) + .HasDefaultValue(true) + .HasComment("Whether to speak as a cat if isCat."); + entity.Property(e => e.Tags).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.Token) + .IsFixedLength() + .HasComment("The native access token of the User. It will be null if the origin of the user is local."); + entity.Property(e => e.UpdatedAt).HasComment("The updated date of the User."); + entity.Property(e => e.Uri) + .HasComment("The URI of the User. It will be null if the origin of the user is local."); + entity.Property(e => e.Username).HasComment("The username of the User."); + entity.Property(e => e.UsernameLower).HasComment("The username (lowercased) of the User."); + + entity.HasOne(d => d.Avatar).WithOne(p => p.UserAvatar) + .OnDelete(DeleteBehavior.SetNull) + .HasConstraintName("FK_58f5c71eaab331645112cf8cfa5"); + + entity.HasOne(d => d.Banner).WithOne(p => p.UserBanner) + .OnDelete(DeleteBehavior.SetNull) + .HasConstraintName("FK_afc64b53f8db3707ceb34eb28e2"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_3c29fba6fe013ec8724378ce7c9"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the UserGroup."); + entity.Property(e => e.IsPrivate).HasDefaultValue(false); + entity.Property(e => e.UserId).HasComment("The ID of owner."); + + entity.HasOne(d => d.User).WithMany(p => p.UserGroups).HasConstraintName("FK_3d6b372788ab01be58853003c93"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_160c63ec02bf23f6a5c5e8140d6"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the UserGroupInvitation."); + entity.Property(e => e.UserGroupId).HasComment("The group ID."); + entity.Property(e => e.UserId).HasComment("The user ID."); + + entity.HasOne(d => d.UserGroup).WithMany(p => p.UserGroupInvitations) + .HasConstraintName("FK_5cc8c468090e129857e9fecce5a"); + + entity.HasOne(d => d.User).WithMany(p => p.UserGroupInvitations) + .HasConstraintName("FK_bfbc6305547539369fe73eb144a"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_3893884af0d3a5f4d01e7921a97"); + + entity.HasOne(d => d.UserGroup).WithMany(p => p.UserGroupInvites) + .HasConstraintName("FK_e10924607d058004304611a436a"); + + entity.HasOne(d => d.User).WithMany(p => p.UserGroupInvites) + .HasConstraintName("FK_1039988afa3bf991185b277fe03"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_15f2425885253c5507e1599cfe7"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the UserGroupJoining."); + entity.Property(e => e.UserGroupId).HasComment("The group ID."); + entity.Property(e => e.UserId).HasComment("The user ID."); + + entity.HasOne(d => d.UserGroup).WithMany(p => p.UserGroupJoinings) + .HasConstraintName("FK_67dc758bc0566985d1b3d399865"); + + entity.HasOne(d => d.User).WithMany(p => p.UserGroupJoinings) + .HasConstraintName("FK_f3a1b4bd0c7cabba958a0c0b231"); + }); + + modelBuilder.Entity(entity => { entity.HasKey(e => e.Id).HasName("PK_2c44ddfbf7c0464d028dcef325e"); }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.UserId).HasName("PK_f4853eb41ab722fe05f81cedeb6"); + + entity.HasOne(d => d.User).WithOne(p => p.UserKeypair).HasConstraintName("FK_f4853eb41ab722fe05f81cedeb6"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_87bab75775fd9b1ff822b656402"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the UserList."); + entity.Property(e => e.HideFromHomeTl) + .HasDefaultValue(false) + .HasComment("Whether posts from list members should be hidden from the home timeline."); + entity.Property(e => e.Name).HasComment("The name of the UserList."); + entity.Property(e => e.UserId).HasComment("The owner ID."); + + entity.HasOne(d => d.User).WithMany(p => p.UserLists).HasConstraintName("FK_b7fcefbdd1c18dce86687531f99"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_11abb3768da1c5f8de101c9df45"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the UserListJoining."); + entity.Property(e => e.UserId).HasComment("The user ID."); + entity.Property(e => e.UserListId).HasComment("The list ID."); + + entity.HasOne(d => d.User).WithMany(p => p.UserListJoinings) + .HasConstraintName("FK_d844bfc6f3f523a05189076efaa"); + + entity.HasOne(d => d.UserList).WithMany(p => p.UserListJoinings) + .HasConstraintName("FK_605472305f26818cc93d1baaa74"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_a6a2dad4ae000abce2ea9d9b103"); + + entity.Property(e => e.CreatedAt).HasComment("The created date of the UserNotePinings."); + + entity.HasOne(d => d.Note).WithMany(p => p.UserNotePinings) + .HasConstraintName("FK_68881008f7c3588ad7ecae471cf"); + + entity.HasOne(d => d.User).WithMany(p => p.UserNotePinings) + .HasConstraintName("FK_bfbc6f79ba4007b4ce5097f08d6"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_d4c84e013c98ec02d19b8fbbafa"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.UserId).HasName("PK_51cb79b5555effaf7d69ba1cff9"); + + entity.Property(e => e.AlwaysMarkNsfw).HasDefaultValue(false); + entity.Property(e => e.AutoAcceptFollowed).HasDefaultValue(false); + entity.Property(e => e.Birthday) + .IsFixedLength() + .HasComment("The birthday (YYYY-MM-DD) of the User."); + entity.Property(e => e.CarefulBot).HasDefaultValue(false); + entity.Property(e => e.ClientData) + .HasDefaultValueSql("'{}'::jsonb") + .HasComment("The client-specific data of the User."); + entity.Property(e => e.Description).HasComment("The description (bio) of the User."); + entity.Property(e => e.Email).HasComment("The email address of the User."); + entity.Property(e => e.EmailNotificationTypes) + .HasDefaultValueSql("'[\"follow\", \"receiveFollowRequest\", \"groupInvited\"]'::jsonb"); + entity.Property(e => e.EmailVerified).HasDefaultValue(false); + entity.Property(e => e.EnableWordMute).HasDefaultValue(false); + entity.Property(e => e.Fields).HasDefaultValueSql("'[]'::jsonb"); + entity.Property(e => e.InjectFeaturedNote).HasDefaultValue(true); + entity.Property(e => e.Integrations).HasDefaultValueSql("'{}'::jsonb"); + entity.Property(e => e.Location).HasComment("The location of the User."); + entity.Property(e => e.Mentions).HasDefaultValueSql("'[]'::jsonb"); + entity.Property(e => e.ModerationNote).HasDefaultValueSql("''::character varying"); + entity.Property(e => e.MutedInstances) + .HasDefaultValueSql("'[]'::jsonb") + .HasComment("List of instances muted by the user."); + entity.Property(e => e.MutedWords).HasDefaultValueSql("'[]'::jsonb"); + entity.Property(e => e.NoCrawle) + .HasDefaultValue(false) + .HasComment("Whether reject index by crawler."); + entity.Property(e => e.Password) + .HasComment("The password hash of the User. It will be null if the origin of the user is local."); + entity.Property(e => e.PreventAiLearning).HasDefaultValue(true); + entity.Property(e => e.PublicReactions).HasDefaultValue(false); + entity.Property(e => e.ReceiveAnnouncementEmail).HasDefaultValue(true); + entity.Property(e => e.Room) + .HasDefaultValueSql("'{}'::jsonb") + .HasComment("The room data of the User."); + entity.Property(e => e.SecurityKeysAvailable).HasDefaultValue(false); + entity.Property(e => e.TwoFactorEnabled).HasDefaultValue(false); + entity.Property(e => e.Url).HasComment("Remote URL of the user."); + entity.Property(e => e.UsePasswordLessLogin).HasDefaultValue(false); + entity.Property(e => e.UserHost).HasComment("[Denormalized]"); + + entity.HasOne(d => d.PinnedPage).WithOne(p => p.UserProfile) + .OnDelete(DeleteBehavior.SetNull) + .HasConstraintName("FK_6dc44f1ceb65b1e72bacef2ca27"); + + entity.HasOne(d => d.User).WithOne(p => p.UserProfile).HasConstraintName("FK_51cb79b5555effaf7d69ba1cff9"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.UserId).HasName("PK_10c146e4b39b443ede016f6736d"); + + entity.HasOne(d => d.User).WithOne(p => p.UserPublickey) + .HasConstraintName("FK_10c146e4b39b443ede016f6736d"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_3e508571121ab39c5f85d10c166"); + + entity.Property(e => e.Id).HasComment("Variable-length id given to navigator.credentials.get()"); + entity.Property(e => e.LastUsed) + .HasComment("The date of the last time the UserSecurityKey was successfully validated."); + entity.Property(e => e.Name).HasComment("User-defined name for this key"); + entity.Property(e => e.PublicKey) + .HasComment("Variable-length public key used to verify attestations (hex-encoded)."); + + entity.HasOne(d => d.User).WithMany(p => p.UserSecurityKeys) + .HasConstraintName("FK_ff9ca3b5f3ee3d0681367a9b447"); + }); + + modelBuilder.Entity(entity => { + entity.HasKey(e => e.Id).HasName("PK_e6765510c2d078db49632b59020"); + + entity.Property(e => e.Active).HasDefaultValue(true); + entity.Property(e => e.CreatedAt).HasComment("The created date of the Antenna."); + entity.Property(e => e.Name).HasComment("The name of the Antenna."); + entity.Property(e => e.On).HasDefaultValueSql("'{}'::character varying[]"); + entity.Property(e => e.UserId).HasComment("The owner ID."); + + entity.HasOne(d => d.User).WithMany(p => p.Webhooks).HasConstraintName("FK_f272c8c8805969e6a6449c77b3c"); + }); + + OnModelCreatingPartial(modelBuilder); + } + + partial void OnModelCreatingPartial(ModelBuilder modelBuilder); +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/AbuseUserReport.cs b/Iceshrimp.Backend/Core/Database/Tables/AbuseUserReport.cs new file mode 100644 index 00000000..0e101238 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/AbuseUserReport.cs @@ -0,0 +1,71 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("abuse_user_report")] +[Index("ReporterId", Name = "IDX_04cc96756f89d0b7f9473e8cdf")] +[Index("Resolved", Name = "IDX_2b15aaf4a0dc5be3499af7ab6a")] +[Index("TargetUserHost", Name = "IDX_4ebbf7f93cdc10e8d1ef2fc6cd")] +[Index("TargetUserId", Name = "IDX_a9021cc2e1feb5f72d3db6e9f5")] +[Index("CreatedAt", Name = "IDX_db2098070b2b5a523c58181f74")] +[Index("ReporterHost", Name = "IDX_f8d8b93740ad12c4ce8213a199")] +public class AbuseUserReport { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the AbuseUserReport. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("targetUserId")] + [StringLength(32)] + public string TargetUserId { get; set; } = null!; + + [Column("reporterId")] + [StringLength(32)] + public string ReporterId { get; set; } = null!; + + [Column("assigneeId")] + [StringLength(32)] + public string? AssigneeId { get; set; } + + [Column("resolved")] public bool Resolved { get; set; } + + [Column("comment")] + [StringLength(2048)] + public string Comment { get; set; } = null!; + + /// + /// [Denormalized] + /// + [Column("targetUserHost")] + [StringLength(512)] + public string? TargetUserHost { get; set; } + + /// + /// [Denormalized] + /// + [Column("reporterHost")] + [StringLength(512)] + public string? ReporterHost { get; set; } + + [Column("forwarded")] public bool Forwarded { get; set; } + + [ForeignKey("AssigneeId")] + [InverseProperty("AbuseUserReportAssignees")] + public virtual User? Assignee { get; set; } + + [ForeignKey("ReporterId")] + [InverseProperty("AbuseUserReportReporters")] + public virtual User Reporter { get; set; } = null!; + + [ForeignKey("TargetUserId")] + [InverseProperty("AbuseUserReportTargetUsers")] + public virtual User TargetUser { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/AccessToken.cs b/Iceshrimp.Backend/Core/Database/Tables/AccessToken.cs new file mode 100644 index 00000000..26ffcb58 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/AccessToken.cs @@ -0,0 +1,63 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("access_token")] +[Index("Hash", Name = "IDX_64c327441248bae40f7d92f34f")] +[Index("Token", Name = "IDX_70ba8f6af34bc924fc9e12adb8")] +[Index("UserId", Name = "IDX_9949557d0e1b2c19e5344c171e")] +[Index("Session", Name = "IDX_bf3a053c07d9fb5d87317c56ee")] +public class AccessToken { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the AccessToken. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("token")] [StringLength(128)] public string Token { get; set; } = null!; + + [Column("hash")] [StringLength(128)] public string Hash { get; set; } = null!; + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("appId")] [StringLength(32)] public string? AppId { get; set; } + + [Column("lastUsedAt")] public DateTime? LastUsedAt { get; set; } + + [Column("session")] + [StringLength(128)] + public string? Session { get; set; } + + [Column("name")] [StringLength(128)] public string? Name { get; set; } + + [Column("description")] + [StringLength(512)] + public string? Description { get; set; } + + [Column("iconUrl")] + [StringLength(512)] + public string? IconUrl { get; set; } + + [Column("permission", TypeName = "character varying(64)[]")] + public List Permission { get; set; } = null!; + + [Column("fetched")] public bool Fetched { get; set; } + + [ForeignKey("AppId")] + [InverseProperty("AccessTokens")] + public virtual App? App { get; set; } + + [InverseProperty("AppAccessToken")] + public virtual ICollection Notifications { get; set; } = new List(); + + [ForeignKey("UserId")] + [InverseProperty("AccessTokens")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Announcement.cs b/Iceshrimp.Backend/Core/Database/Tables/Announcement.cs new file mode 100644 index 00000000..a09b30b2 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Announcement.cs @@ -0,0 +1,41 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("announcement")] +[Index("CreatedAt", Name = "IDX_118ec703e596086fc4515acb39")] +public class Announcement { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Announcement. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("text")] [StringLength(8192)] public string Text { get; set; } = null!; + + [Column("title")] [StringLength(256)] public string Title { get; set; } = null!; + + [Column("imageUrl")] + [StringLength(1024)] + public string? ImageUrl { get; set; } + + /// + /// The updated date of the Announcement. + /// + [Column("updatedAt")] + public DateTime? UpdatedAt { get; set; } + + [Column("showPopup")] public bool ShowPopup { get; set; } + + [Column("isGoodNews")] public bool IsGoodNews { get; set; } + + [InverseProperty("Announcement")] + public virtual ICollection AnnouncementReads { get; set; } = new List(); +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/AnnouncementRead.cs b/Iceshrimp.Backend/Core/Database/Tables/AnnouncementRead.cs new file mode 100644 index 00000000..806257c3 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/AnnouncementRead.cs @@ -0,0 +1,36 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("announcement_read")] +[Index("AnnouncementId", Name = "IDX_603a7b1e7aa0533c6c88e9bfaf")] +[Index("UserId", Name = "IDX_8288151386172b8109f7239ab2")] +[Index("UserId", "AnnouncementId", Name = "IDX_924fa71815cfa3941d003702a0", IsUnique = true)] +public class AnnouncementRead { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("announcementId")] + [StringLength(32)] + public string AnnouncementId { get; set; } = null!; + + /// + /// The created date of the AnnouncementRead. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [ForeignKey("AnnouncementId")] + [InverseProperty("AnnouncementReads")] + public virtual Announcement Announcement { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("AnnouncementReads")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Antenna.cs b/Iceshrimp.Backend/Core/Database/Tables/Antenna.cs new file mode 100644 index 00000000..9340f98a --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Antenna.cs @@ -0,0 +1,78 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("antenna")] +[Index("UserId", Name = "IDX_6446c571a0e8d0f05f01c78909")] +public class Antenna { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Antenna. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The owner ID. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// The name of the Antenna. + /// + [Column("name")] + [StringLength(128)] + public string Name { get; set; } = null!; + + [Column("userListId")] + [StringLength(32)] + public string? UserListId { get; set; } + + [Column("keywords", TypeName = "jsonb")] + public string Keywords { get; set; } = null!; + + [Column("withFile")] public bool WithFile { get; set; } + + [Column("expression")] + [StringLength(2048)] + public string? Expression { get; set; } + + [Column("notify")] public bool Notify { get; set; } + + [Column("caseSensitive")] public bool CaseSensitive { get; set; } + + [Column("withReplies")] public bool WithReplies { get; set; } + + [Column("userGroupJoiningId")] + [StringLength(32)] + public string? UserGroupJoiningId { get; set; } + + [Column("users", TypeName = "character varying(1024)[]")] + public List Users { get; set; } = null!; + + [Column("excludeKeywords", TypeName = "jsonb")] + public string ExcludeKeywords { get; set; } = null!; + + [Column("instances", TypeName = "jsonb")] + public string Instances { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("Antennas")] + public virtual User User { get; set; } = null!; + + [ForeignKey("UserGroupJoiningId")] + [InverseProperty("Antennas")] + public virtual UserGroupJoining? UserGroupJoining { get; set; } + + [ForeignKey("UserListId")] + [InverseProperty("Antennas")] + public virtual UserList? UserList { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/App.cs b/Iceshrimp.Backend/Core/Database/Tables/App.cs new file mode 100644 index 00000000..51723059 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/App.cs @@ -0,0 +1,73 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("app")] +[Index("CreatedAt", Name = "IDX_048a757923ed8b157e9895da53")] +[Index("UserId", Name = "IDX_3f5b0899ef90527a3462d7c2cb")] +[Index("Secret", Name = "IDX_f49922d511d666848f250663c4")] +public class App { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the App. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The owner ID. + /// + [Column("userId")] + [StringLength(32)] + public string? UserId { get; set; } + + /// + /// The secret key of the App. + /// + [Column("secret")] + [StringLength(64)] + public string Secret { get; set; } = null!; + + /// + /// The name of the App. + /// + [Column("name")] + [StringLength(128)] + public string Name { get; set; } = null!; + + /// + /// The description of the App. + /// + [Column("description")] + [StringLength(512)] + public string Description { get; set; } = null!; + + /// + /// The permission of the App. + /// + [Column("permission", TypeName = "character varying(64)[]")] + public List Permission { get; set; } = null!; + + /// + /// The callbackUrl of the App. + /// + [Column("callbackUrl")] + [StringLength(512)] + public string? CallbackUrl { get; set; } + + [InverseProperty("App")] + public virtual ICollection AccessTokens { get; set; } = new List(); + + [InverseProperty("App")] + public virtual ICollection AuthSessions { get; set; } = new List(); + + [ForeignKey("UserId")] + [InverseProperty("Apps")] + public virtual User? User { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/AttestationChallenge.cs b/Iceshrimp.Backend/Core/Database/Tables/AttestationChallenge.cs new file mode 100644 index 00000000..1d8aa9c6 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/AttestationChallenge.cs @@ -0,0 +1,45 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[PrimaryKey("Id", "UserId")] +[Table("attestation_challenge")] +[Index("Challenge", Name = "IDX_47efb914aed1f72dd39a306c7b")] +[Index("UserId", Name = "IDX_f1a461a618fa1755692d0e0d59")] +public class AttestationChallenge { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Key] + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// Hex-encoded sha256 hash of the challenge. + /// + [Column("challenge")] + [StringLength(64)] + public string Challenge { get; set; } = null!; + + /// + /// The date challenge was created for expiry purposes. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// Indicates that the challenge is only for registration purposes if true to prevent the challenge for being used as + /// authentication. + /// + [Column("registrationChallenge")] + public bool RegistrationChallenge { get; set; } + + [ForeignKey("UserId")] + [InverseProperty("AttestationChallenges")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/AuthSession.cs b/Iceshrimp.Backend/Core/Database/Tables/AuthSession.cs new file mode 100644 index 00000000..36b3a8fb --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/AuthSession.cs @@ -0,0 +1,34 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("auth_session")] +[Index("Token", Name = "IDX_62cb09e1129f6ec024ef66e183")] +public class AuthSession { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the AuthSession. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("token")] [StringLength(128)] public string Token { get; set; } = null!; + + [Column("userId")] [StringLength(32)] public string? UserId { get; set; } + + [Column("appId")] [StringLength(32)] public string AppId { get; set; } = null!; + + [ForeignKey("AppId")] + [InverseProperty("AuthSessions")] + public virtual App App { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("AuthSessions")] + public virtual User? User { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Blocking.cs b/Iceshrimp.Backend/Core/Database/Tables/Blocking.cs new file mode 100644 index 00000000..2cf3a15a --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Blocking.cs @@ -0,0 +1,45 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("blocking")] +[Index("BlockerId", Name = "IDX_0627125f1a8a42c9a1929edb55")] +[Index("BlockeeId", Name = "IDX_2cd4a2743a99671308f5417759")] +[Index("BlockerId", "BlockeeId", Name = "IDX_98a1bc5cb30dfd159de056549f", IsUnique = true)] +[Index("CreatedAt", Name = "IDX_b9a354f7941c1e779f3b33aea6")] +public class Blocking { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Blocking. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The blockee user ID. + /// + [Column("blockeeId")] + [StringLength(32)] + public string BlockeeId { get; set; } = null!; + + /// + /// The blocker user ID. + /// + [Column("blockerId")] + [StringLength(32)] + public string BlockerId { get; set; } = null!; + + [ForeignKey("BlockeeId")] + [InverseProperty("BlockingBlockees")] + public virtual User Blockee { get; set; } = null!; + + [ForeignKey("BlockerId")] + [InverseProperty("BlockingBlockers")] + public virtual User Blocker { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Channel.cs b/Iceshrimp.Backend/Core/Database/Tables/Channel.cs new file mode 100644 index 00000000..077150d4 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Channel.cs @@ -0,0 +1,82 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("channel")] +[Index("UsersCount", Name = "IDX_094b86cd36bb805d1aa1e8cc9a")] +[Index("NotesCount", Name = "IDX_0f58c11241e649d2a638a8de94")] +[Index("LastNotedAt", Name = "IDX_29ef80c6f13bcea998447fce43")] +[Index("CreatedAt", Name = "IDX_71cb7b435b7c0d4843317e7e16")] +[Index("UserId", Name = "IDX_823bae55bd81b3be6e05cff438")] +public class Channel { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Channel. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("lastNotedAt")] public DateTime? LastNotedAt { get; set; } + + /// + /// The owner ID. + /// + [Column("userId")] + [StringLength(32)] + public string? UserId { get; set; } + + /// + /// The name of the Channel. + /// + [Column("name")] + [StringLength(128)] + public string Name { get; set; } = null!; + + /// + /// The description of the Channel. + /// + [Column("description")] + [StringLength(2048)] + public string? Description { get; set; } + + /// + /// The ID of banner Channel. + /// + [Column("bannerId")] + [StringLength(32)] + public string? BannerId { get; set; } + + /// + /// The count of notes. + /// + [Column("notesCount")] + public int NotesCount { get; set; } + + /// + /// The count of users. + /// + [Column("usersCount")] + public int UsersCount { get; set; } + + [ForeignKey("BannerId")] + [InverseProperty("Channels")] + public virtual DriveFile? Banner { get; set; } + + [InverseProperty("Followee")] + public virtual ICollection ChannelFollowings { get; set; } = new List(); + + [InverseProperty("Channel")] + public virtual ICollection ChannelNotePinings { get; set; } = new List(); + + [InverseProperty("Channel")] public virtual ICollection Notes { get; set; } = new List(); + + [ForeignKey("UserId")] + [InverseProperty("Channels")] + public virtual User? User { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChannelFollowing.cs b/Iceshrimp.Backend/Core/Database/Tables/ChannelFollowing.cs new file mode 100644 index 00000000..1a4004e4 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChannelFollowing.cs @@ -0,0 +1,45 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("channel_following")] +[Index("FolloweeId", Name = "IDX_0e43068c3f92cab197c3d3cd86")] +[Index("CreatedAt", Name = "IDX_11e71f2511589dcc8a4d3214f9")] +[Index("FollowerId", "FolloweeId", Name = "IDX_2e230dd45a10e671d781d99f3e", IsUnique = true)] +[Index("FollowerId", Name = "IDX_6d8084ec9496e7334a4602707e")] +public class ChannelFollowing { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the ChannelFollowing. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The followee channel ID. + /// + [Column("followeeId")] + [StringLength(32)] + public string FolloweeId { get; set; } = null!; + + /// + /// The follower user ID. + /// + [Column("followerId")] + [StringLength(32)] + public string FollowerId { get; set; } = null!; + + [ForeignKey("FolloweeId")] + [InverseProperty("ChannelFollowings")] + public virtual Channel Followee { get; set; } = null!; + + [ForeignKey("FollowerId")] + [InverseProperty("ChannelFollowings")] + public virtual User Follower { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChannelNotePining.cs b/Iceshrimp.Backend/Core/Database/Tables/ChannelNotePining.cs new file mode 100644 index 00000000..44935672 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChannelNotePining.cs @@ -0,0 +1,35 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("channel_note_pining")] +[Index("ChannelId", Name = "IDX_8125f950afd3093acb10d2db8a")] +[Index("ChannelId", "NoteId", Name = "IDX_f36fed37d6d4cdcc68c803cd9c", IsUnique = true)] +public class ChannelNotePining { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the ChannelNotePining. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("channelId")] + [StringLength(32)] + public string ChannelId { get; set; } = null!; + + [Column("noteId")] [StringLength(32)] public string NoteId { get; set; } = null!; + + [ForeignKey("ChannelId")] + [InverseProperty("ChannelNotePinings")] + public virtual Channel Channel { get; set; } = null!; + + [ForeignKey("NoteId")] + [InverseProperty("ChannelNotePinings")] + public virtual Note Note { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartActiveUser.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartActiveUser.cs new file mode 100644 index 00000000..b2f99408 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartActiveUser.cs @@ -0,0 +1,56 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__active_users")] +[Index("Date", Name = "IDX_0ad37b7ef50f4ddc84363d7ccc", IsUnique = true)] +[Index("Date", Name = "UQ_0ad37b7ef50f4ddc84363d7ccca", IsUnique = true)] +public class ChartActiveUser { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("unique_temp___registeredWithinWeek", TypeName = "character varying[]")] + public List UniqueTempRegisteredWithinWeek { get; set; } = null!; + + [Column("___registeredWithinWeek")] public short RegisteredWithinWeek { get; set; } + + [Column("unique_temp___registeredWithinMonth", TypeName = "character varying[]")] + public List UniqueTempRegisteredWithinMonth { get; set; } = null!; + + [Column("___registeredWithinMonth")] public short RegisteredWithinMonth { get; set; } + + [Column("unique_temp___registeredWithinYear", TypeName = "character varying[]")] + public List UniqueTempRegisteredWithinYear { get; set; } = null!; + + [Column("___registeredWithinYear")] public short RegisteredWithinYear { get; set; } + + [Column("unique_temp___registeredOutsideWeek", TypeName = "character varying[]")] + public List UniqueTempRegisteredOutsideWeek { get; set; } = null!; + + [Column("___registeredOutsideWeek")] public short RegisteredOutsideWeek { get; set; } + + [Column("unique_temp___registeredOutsideMonth", TypeName = "character varying[]")] + public List UniqueTempRegisteredOutsideMonth { get; set; } = null!; + + [Column("___registeredOutsideMonth")] public short RegisteredOutsideMonth { get; set; } + + [Column("unique_temp___registeredOutsideYear", TypeName = "character varying[]")] + public List UniqueTempRegisteredOutsideYear { get; set; } = null!; + + [Column("___registeredOutsideYear")] public short RegisteredOutsideYear { get; set; } + + [Column("___readWrite")] public short ReadWrite { get; set; } + + [Column("unique_temp___read", TypeName = "character varying[]")] + public List UniqueTempRead { get; set; } = null!; + + [Column("___read")] public short Read { get; set; } + + [Column("unique_temp___write", TypeName = "character varying[]")] + public List UniqueTempWrite { get; set; } = null!; + + [Column("___write")] public short Write { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartApRequest.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartApRequest.cs new file mode 100644 index 00000000..773898ab --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartApRequest.cs @@ -0,0 +1,20 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__ap_request")] +[Index("Date", Name = "IDX_e56f4beac5746d44bc3e19c80d", IsUnique = true)] +[Index("Date", Name = "UQ_e56f4beac5746d44bc3e19c80d0", IsUnique = true)] +public class ChartApRequest { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("___deliverFailed")] public int DeliverFailed { get; set; } + + [Column("___deliverSucceeded")] public int DeliverSucceeded { get; set; } + + [Column("___inboxReceived")] public int InboxReceived { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayActiveUser.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayActiveUser.cs new file mode 100644 index 00000000..3a7d3c0d --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayActiveUser.cs @@ -0,0 +1,56 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__active_users")] +[Index("Date", Name = "IDX_d5954f3df5e5e3bdfc3c03f390", IsUnique = true)] +[Index("Date", Name = "UQ_d5954f3df5e5e3bdfc3c03f3906", IsUnique = true)] +public class ChartDayActiveUser { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("unique_temp___registeredWithinWeek", TypeName = "character varying[]")] + public List UniqueTempRegisteredWithinWeek { get; set; } = null!; + + [Column("___registeredWithinWeek")] public short RegisteredWithinWeek { get; set; } + + [Column("unique_temp___registeredWithinMonth", TypeName = "character varying[]")] + public List UniqueTempRegisteredWithinMonth { get; set; } = null!; + + [Column("___registeredWithinMonth")] public short RegisteredWithinMonth { get; set; } + + [Column("unique_temp___registeredWithinYear", TypeName = "character varying[]")] + public List UniqueTempRegisteredWithinYear { get; set; } = null!; + + [Column("___registeredWithinYear")] public short RegisteredWithinYear { get; set; } + + [Column("unique_temp___registeredOutsideWeek", TypeName = "character varying[]")] + public List UniqueTempRegisteredOutsideWeek { get; set; } = null!; + + [Column("___registeredOutsideWeek")] public short RegisteredOutsideWeek { get; set; } + + [Column("unique_temp___registeredOutsideMonth", TypeName = "character varying[]")] + public List UniqueTempRegisteredOutsideMonth { get; set; } = null!; + + [Column("___registeredOutsideMonth")] public short RegisteredOutsideMonth { get; set; } + + [Column("unique_temp___registeredOutsideYear", TypeName = "character varying[]")] + public List UniqueTempRegisteredOutsideYear { get; set; } = null!; + + [Column("___registeredOutsideYear")] public short RegisteredOutsideYear { get; set; } + + [Column("___readWrite")] public short ReadWrite { get; set; } + + [Column("unique_temp___read", TypeName = "character varying[]")] + public List UniqueTempRead { get; set; } = null!; + + [Column("___read")] public short Read { get; set; } + + [Column("unique_temp___write", TypeName = "character varying[]")] + public List UniqueTempWrite { get; set; } = null!; + + [Column("___write")] public short Write { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayApRequest.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayApRequest.cs new file mode 100644 index 00000000..0fd1f30d --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayApRequest.cs @@ -0,0 +1,20 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__ap_request")] +[Index("Date", Name = "IDX_a848f66d6cec11980a5dd59582", IsUnique = true)] +[Index("Date", Name = "UQ_a848f66d6cec11980a5dd595822", IsUnique = true)] +public class ChartDayApRequest { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("___deliverFailed")] public int DeliverFailed { get; set; } + + [Column("___deliverSucceeded")] public int DeliverSucceeded { get; set; } + + [Column("___inboxReceived")] public int InboxReceived { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayDrive.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayDrive.cs new file mode 100644 index 00000000..fe609a0f --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayDrive.cs @@ -0,0 +1,30 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__drive")] +[Index("Date", Name = "IDX_0b60ebb3aa0065f10b0616c117", IsUnique = true)] +[Index("Date", Name = "UQ_0b60ebb3aa0065f10b0616c1171", IsUnique = true)] +public class ChartDayDrive { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("___local_incCount")] public int LocalIncCount { get; set; } + + [Column("___local_incSize")] public int LocalIncSize { get; set; } + + [Column("___local_decCount")] public int LocalDecCount { get; set; } + + [Column("___local_decSize")] public int LocalDecSize { get; set; } + + [Column("___remote_incCount")] public int RemoteIncCount { get; set; } + + [Column("___remote_incSize")] public int RemoteIncSize { get; set; } + + [Column("___remote_decCount")] public int RemoteDecCount { get; set; } + + [Column("___remote_decSize")] public int RemoteDecSize { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayFederation.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayFederation.cs new file mode 100644 index 00000000..f732cf9b --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayFederation.cs @@ -0,0 +1,39 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__federation")] +[Index("Date", Name = "IDX_617a8fe225a6e701d89e02d2c7", IsUnique = true)] +[Index("Date", Name = "UQ_617a8fe225a6e701d89e02d2c74", IsUnique = true)] +public class ChartDayFederation { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("unique_temp___deliveredInstances", TypeName = "character varying[]")] + public List UniqueTempDeliveredInstances { get; set; } = null!; + + [Column("___deliveredInstances")] public short DeliveredInstances { get; set; } + + [Column("unique_temp___inboxInstances", TypeName = "character varying[]")] + public List UniqueTempInboxInstances { get; set; } = null!; + + [Column("___inboxInstances")] public short InboxInstances { get; set; } + + [Column("unique_temp___stalled", TypeName = "character varying[]")] + public List UniqueTempStalled { get; set; } = null!; + + [Column("___stalled")] public short Stalled { get; set; } + + [Column("___sub")] public short Sub { get; set; } + + [Column("___pub")] public short Pub { get; set; } + + [Column("___pubsub")] public short Pubsub { get; set; } + + [Column("___subActive")] public short SubActive { get; set; } + + [Column("___pubActive")] public short PubActive { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayHashtag.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayHashtag.cs new file mode 100644 index 00000000..ff29dda6 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayHashtag.cs @@ -0,0 +1,26 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__hashtag")] +[Index("Date", "Group", Name = "IDX_8f589cf056ff51f09d6096f645", IsUnique = true)] +[Index("Date", "Group", Name = "UQ_8f589cf056ff51f09d6096f6450", IsUnique = true)] +public class ChartDayHashtag { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string Group { get; set; } = null!; + + [Column("___local_users")] public int LocalUsers { get; set; } + + [Column("___remote_users")] public int RemoteUsers { get; set; } + + [Column("unique_temp___local_users", TypeName = "character varying[]")] + public List UniqueTempLocalUsers { get; set; } = null!; + + [Column("unique_temp___remote_users", TypeName = "character varying[]")] + public List UniqueTempRemoteUsers { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayInstance.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayInstance.cs new file mode 100644 index 00000000..5b9ae519 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayInstance.cs @@ -0,0 +1,64 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__instance")] +[Index("Date", "Group", Name = "IDX_fea7c0278325a1a2492f2d6acb", IsUnique = true)] +[Index("Date", "Group", Name = "UQ_fea7c0278325a1a2492f2d6acbf", IsUnique = true)] +public class ChartDayInstance { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string Group { get; set; } = null!; + + [Column("___requests_failed")] public short RequestsFailed { get; set; } + + [Column("___requests_succeeded")] public short RequestsSucceeded { get; set; } + + [Column("___requests_received")] public short RequestsReceived { get; set; } + + [Column("___notes_total")] public int NotesTotal { get; set; } + + [Column("___notes_inc")] public int NotesInc { get; set; } + + [Column("___notes_dec")] public int NotesDec { get; set; } + + [Column("___notes_diffs_normal")] public int NotesDiffsNormal { get; set; } + + [Column("___notes_diffs_reply")] public int NotesDiffsReply { get; set; } + + [Column("___notes_diffs_renote")] public int NotesDiffsRenote { get; set; } + + [Column("___users_total")] public int UsersTotal { get; set; } + + [Column("___users_inc")] public short UsersInc { get; set; } + + [Column("___users_dec")] public short UsersDec { get; set; } + + [Column("___following_total")] public int FollowingTotal { get; set; } + + [Column("___following_inc")] public short FollowingInc { get; set; } + + [Column("___following_dec")] public short FollowingDec { get; set; } + + [Column("___followers_total")] public int FollowersTotal { get; set; } + + [Column("___followers_inc")] public short FollowersInc { get; set; } + + [Column("___followers_dec")] public short FollowersDec { get; set; } + + [Column("___drive_totalFiles")] public int DriveTotalFiles { get; set; } + + [Column("___drive_incFiles")] public int DriveIncFiles { get; set; } + + [Column("___drive_incUsage")] public int DriveIncUsage { get; set; } + + [Column("___drive_decFiles")] public int DriveDecFiles { get; set; } + + [Column("___drive_decUsage")] public int DriveDecUsage { get; set; } + + [Column("___notes_diffs_withFile")] public int NotesDiffsWithFile { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayNetwork.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayNetwork.cs new file mode 100644 index 00000000..8af2ad9e --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayNetwork.cs @@ -0,0 +1,24 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__network")] +[Index("Date", Name = "IDX_8bfa548c2b31f9e07db113773e", IsUnique = true)] +[Index("Date", Name = "UQ_8bfa548c2b31f9e07db113773ee", IsUnique = true)] +public class ChartDayNetwork { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("___incomingRequests")] public int IncomingRequests { get; set; } + + [Column("___outgoingRequests")] public int OutgoingRequests { get; set; } + + [Column("___totalTime")] public int TotalTime { get; set; } + + [Column("___incomingBytes")] public int IncomingBytes { get; set; } + + [Column("___outgoingBytes")] public int OutgoingBytes { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayNote.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayNote.cs new file mode 100644 index 00000000..3a015e28 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayNote.cs @@ -0,0 +1,42 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__notes")] +[Index("Date", Name = "IDX_1a527b423ad0858a1af5a056d4", IsUnique = true)] +[Index("Date", Name = "UQ_1a527b423ad0858a1af5a056d43", IsUnique = true)] +public class ChartDayNote { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("___local_total")] public int LocalTotal { get; set; } + + [Column("___local_inc")] public int LocalInc { get; set; } + + [Column("___local_dec")] public int LocalDec { get; set; } + + [Column("___local_diffs_normal")] public int LocalDiffsNormal { get; set; } + + [Column("___local_diffs_reply")] public int LocalDiffsReply { get; set; } + + [Column("___local_diffs_renote")] public int LocalDiffsRenote { get; set; } + + [Column("___remote_total")] public int RemoteTotal { get; set; } + + [Column("___remote_inc")] public int RemoteInc { get; set; } + + [Column("___remote_dec")] public int RemoteDec { get; set; } + + [Column("___remote_diffs_normal")] public int RemoteDiffsNormal { get; set; } + + [Column("___remote_diffs_reply")] public int RemoteDiffsReply { get; set; } + + [Column("___remote_diffs_renote")] public int RemoteDiffsRenote { get; set; } + + [Column("___local_diffs_withFile")] public int LocalDiffsWithFile { get; set; } + + [Column("___remote_diffs_withFile")] public int RemoteDiffsWithFile { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayPerUserDrive.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayPerUserDrive.cs new file mode 100644 index 00000000..70919cf1 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayPerUserDrive.cs @@ -0,0 +1,28 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__per_user_drive")] +[Index("Date", "Group", Name = "IDX_62aa5047b5aec92524f24c701d", IsUnique = true)] +[Index("Date", "Group", Name = "UQ_62aa5047b5aec92524f24c701d7", IsUnique = true)] +public class ChartDayPerUserDrive { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string Group { get; set; } = null!; + + [Column("___totalCount")] public int TotalCount { get; set; } + + [Column("___totalSize")] public int TotalSize { get; set; } + + [Column("___incCount")] public short IncCount { get; set; } + + [Column("___incSize")] public int IncSize { get; set; } + + [Column("___decCount")] public short DecCount { get; set; } + + [Column("___decSize")] public int DecSize { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayPerUserFollowing.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayPerUserFollowing.cs new file mode 100644 index 00000000..1e344bfa --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayPerUserFollowing.cs @@ -0,0 +1,40 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__per_user_following")] +[Index("Date", "Group", Name = "IDX_e4849a3231f38281280ea4c0ee", IsUnique = true)] +[Index("Date", "Group", Name = "UQ_e4849a3231f38281280ea4c0eee", IsUnique = true)] +public class ChartDayPerUserFollowing { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string Group { get; set; } = null!; + + [Column("___local_followings_total")] public int LocalFollowingsTotal { get; set; } + + [Column("___local_followings_inc")] public short LocalFollowingsInc { get; set; } + + [Column("___local_followings_dec")] public short LocalFollowingsDec { get; set; } + + [Column("___local_followers_total")] public int LocalFollowersTotal { get; set; } + + [Column("___local_followers_inc")] public short LocalFollowersInc { get; set; } + + [Column("___local_followers_dec")] public short LocalFollowersDec { get; set; } + + [Column("___remote_followings_total")] public int RemoteFollowingsTotal { get; set; } + + [Column("___remote_followings_inc")] public short RemoteFollowingsInc { get; set; } + + [Column("___remote_followings_dec")] public short RemoteFollowingsDec { get; set; } + + [Column("___remote_followers_total")] public int RemoteFollowersTotal { get; set; } + + [Column("___remote_followers_inc")] public short RemoteFollowersInc { get; set; } + + [Column("___remote_followers_dec")] public short RemoteFollowersDec { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayPerUserNote.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayPerUserNote.cs new file mode 100644 index 00000000..aaea08d6 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayPerUserNote.cs @@ -0,0 +1,30 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__per_user_notes")] +[Index("Date", "Group", Name = "IDX_c5545d4b31cdc684034e33b81c", IsUnique = true)] +[Index("Date", "Group", Name = "UQ_c5545d4b31cdc684034e33b81c3", IsUnique = true)] +public class ChartDayPerUserNote { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string Group { get; set; } = null!; + + [Column("___total")] public int Total { get; set; } + + [Column("___inc")] public short Inc { get; set; } + + [Column("___dec")] public short Dec { get; set; } + + [Column("___diffs_normal")] public short DiffsNormal { get; set; } + + [Column("___diffs_reply")] public short DiffsReply { get; set; } + + [Column("___diffs_renote")] public short DiffsRenote { get; set; } + + [Column("___diffs_withFile")] public short DiffsWithFile { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayPerUserReaction.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayPerUserReaction.cs new file mode 100644 index 00000000..eabdaa5b --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayPerUserReaction.cs @@ -0,0 +1,20 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__per_user_reaction")] +[Index("Date", "Group", Name = "IDX_d54b653660d808b118e36c184c", IsUnique = true)] +[Index("Date", "Group", Name = "UQ_d54b653660d808b118e36c184c0", IsUnique = true)] +public class ChartDayPerUserReaction { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string Group { get; set; } = null!; + + [Column("___local_count")] public short LocalCount { get; set; } + + [Column("___remote_count")] public short RemoteCount { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDayUser.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDayUser.cs new file mode 100644 index 00000000..eb5bb640 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDayUser.cs @@ -0,0 +1,26 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart_day__users")] +[Index("Date", Name = "IDX_cad6e07c20037f31cdba8a350c", IsUnique = true)] +[Index("Date", Name = "UQ_cad6e07c20037f31cdba8a350c3", IsUnique = true)] +public class ChartDayUser { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("___local_total")] public int LocalTotal { get; set; } + + [Column("___local_inc")] public short LocalInc { get; set; } + + [Column("___local_dec")] public short LocalDec { get; set; } + + [Column("___remote_total")] public int RemoteTotal { get; set; } + + [Column("___remote_inc")] public short RemoteInc { get; set; } + + [Column("___remote_dec")] public short RemoteDec { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartDrive.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartDrive.cs new file mode 100644 index 00000000..ceeb9de1 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartDrive.cs @@ -0,0 +1,30 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__drive")] +[Index("Date", Name = "IDX_13565815f618a1ff53886c5b28", IsUnique = true)] +[Index("Date", Name = "UQ_13565815f618a1ff53886c5b28a", IsUnique = true)] +public class ChartDrive { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("___local_incCount")] public int LocalIncCount { get; set; } + + [Column("___local_incSize")] public int LocalIncSize { get; set; } + + [Column("___local_decCount")] public int LocalDecCount { get; set; } + + [Column("___local_decSize")] public int LocalDecSize { get; set; } + + [Column("___remote_incCount")] public int RemoteIncCount { get; set; } + + [Column("___remote_incSize")] public int RemoteIncSize { get; set; } + + [Column("___remote_decCount")] public int RemoteDecCount { get; set; } + + [Column("___remote_decSize")] public int RemoteDecSize { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartFederation.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartFederation.cs new file mode 100644 index 00000000..49c86563 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartFederation.cs @@ -0,0 +1,39 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__federation")] +[Index("Date", Name = "IDX_36cb699c49580d4e6c2e6159f9", IsUnique = true)] +[Index("Date", Name = "UQ_36cb699c49580d4e6c2e6159f97", IsUnique = true)] +public class ChartFederation { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("unique_temp___deliveredInstances", TypeName = "character varying[]")] + public List UniqueTempDeliveredInstances { get; set; } = null!; + + [Column("___deliveredInstances")] public short DeliveredInstances { get; set; } + + [Column("unique_temp___inboxInstances", TypeName = "character varying[]")] + public List UniqueTempInboxInstances { get; set; } = null!; + + [Column("___inboxInstances")] public short InboxInstances { get; set; } + + [Column("unique_temp___stalled", TypeName = "character varying[]")] + public List UniqueTempStalled { get; set; } = null!; + + [Column("___stalled")] public short Stalled { get; set; } + + [Column("___sub")] public short Sub { get; set; } + + [Column("___pub")] public short Pub { get; set; } + + [Column("___pubsub")] public short Pubsub { get; set; } + + [Column("___subActive")] public short SubActive { get; set; } + + [Column("___pubActive")] public short PubActive { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartHashtag.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartHashtag.cs new file mode 100644 index 00000000..85f4922e --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartHashtag.cs @@ -0,0 +1,26 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__hashtag")] +[Index("Date", "Group", Name = "IDX_25a97c02003338124b2b75fdbc", IsUnique = true)] +[Index("Date", "Group", Name = "UQ_25a97c02003338124b2b75fdbc8", IsUnique = true)] +public class ChartHashtag { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string Group { get; set; } = null!; + + [Column("___local_users")] public int LocalUsers { get; set; } + + [Column("___remote_users")] public int RemoteUsers { get; set; } + + [Column("unique_temp___local_users", TypeName = "character varying[]")] + public List UniqueTempLocalUsers { get; set; } = null!; + + [Column("unique_temp___remote_users", TypeName = "character varying[]")] + public List UniqueTempRemoteUsers { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartInstance.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartInstance.cs new file mode 100644 index 00000000..73b4d6d2 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartInstance.cs @@ -0,0 +1,64 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__instance")] +[Index("Date", "Group", Name = "IDX_39ee857ab2f23493037c6b6631", IsUnique = true)] +[Index("Date", "Group", Name = "UQ_39ee857ab2f23493037c6b66311", IsUnique = true)] +public class ChartInstance { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string Group { get; set; } = null!; + + [Column("___requests_failed")] public short RequestsFailed { get; set; } + + [Column("___requests_succeeded")] public short RequestsSucceeded { get; set; } + + [Column("___requests_received")] public short RequestsReceived { get; set; } + + [Column("___notes_total")] public int NotesTotal { get; set; } + + [Column("___notes_inc")] public int NotesInc { get; set; } + + [Column("___notes_dec")] public int NotesDec { get; set; } + + [Column("___notes_diffs_normal")] public int NotesDiffsNormal { get; set; } + + [Column("___notes_diffs_reply")] public int NotesDiffsReply { get; set; } + + [Column("___notes_diffs_renote")] public int NotesDiffsRenote { get; set; } + + [Column("___users_total")] public int UsersTotal { get; set; } + + [Column("___users_inc")] public short UsersInc { get; set; } + + [Column("___users_dec")] public short UsersDec { get; set; } + + [Column("___following_total")] public int FollowingTotal { get; set; } + + [Column("___following_inc")] public short FollowingInc { get; set; } + + [Column("___following_dec")] public short FollowingDec { get; set; } + + [Column("___followers_total")] public int FollowersTotal { get; set; } + + [Column("___followers_inc")] public short FollowersInc { get; set; } + + [Column("___followers_dec")] public short FollowersDec { get; set; } + + [Column("___drive_totalFiles")] public int DriveTotalFiles { get; set; } + + [Column("___drive_incFiles")] public int DriveIncFiles { get; set; } + + [Column("___drive_incUsage")] public int DriveIncUsage { get; set; } + + [Column("___drive_decFiles")] public int DriveDecFiles { get; set; } + + [Column("___drive_decUsage")] public int DriveDecUsage { get; set; } + + [Column("___notes_diffs_withFile")] public int NotesDiffsWithFile { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartNetwork.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartNetwork.cs new file mode 100644 index 00000000..79ef2af7 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartNetwork.cs @@ -0,0 +1,24 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__network")] +[Index("Date", Name = "IDX_a1efd3e0048a5f2793a47360dc", IsUnique = true)] +[Index("Date", Name = "UQ_a1efd3e0048a5f2793a47360dc6", IsUnique = true)] +public class ChartNetwork { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("___incomingRequests")] public int IncomingRequests { get; set; } + + [Column("___outgoingRequests")] public int OutgoingRequests { get; set; } + + [Column("___totalTime")] public int TotalTime { get; set; } + + [Column("___incomingBytes")] public int IncomingBytes { get; set; } + + [Column("___outgoingBytes")] public int OutgoingBytes { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartNote.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartNote.cs new file mode 100644 index 00000000..47ef5dc9 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartNote.cs @@ -0,0 +1,42 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__notes")] +[Index("Date", Name = "IDX_42eb716a37d381cdf566192b2b", IsUnique = true)] +[Index("Date", Name = "UQ_42eb716a37d381cdf566192b2be", IsUnique = true)] +public class ChartNote { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("___local_total")] public int LocalTotal { get; set; } + + [Column("___local_inc")] public int LocalInc { get; set; } + + [Column("___local_dec")] public int LocalDec { get; set; } + + [Column("___local_diffs_normal")] public int LocalDiffsNormal { get; set; } + + [Column("___local_diffs_reply")] public int LocalDiffsReply { get; set; } + + [Column("___local_diffs_renote")] public int LocalDiffsRenote { get; set; } + + [Column("___remote_total")] public int RemoteTotal { get; set; } + + [Column("___remote_inc")] public int RemoteInc { get; set; } + + [Column("___remote_dec")] public int RemoteDec { get; set; } + + [Column("___remote_diffs_normal")] public int RemoteDiffsNormal { get; set; } + + [Column("___remote_diffs_reply")] public int RemoteDiffsReply { get; set; } + + [Column("___remote_diffs_renote")] public int RemoteDiffsRenote { get; set; } + + [Column("___local_diffs_withFile")] public int LocalDiffsWithFile { get; set; } + + [Column("___remote_diffs_withFile")] public int RemoteDiffsWithFile { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartPerUserDrive.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartPerUserDrive.cs new file mode 100644 index 00000000..0a0d729c --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartPerUserDrive.cs @@ -0,0 +1,28 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__per_user_drive")] +[Index("Date", "Group", Name = "IDX_30bf67687f483ace115c5ca642", IsUnique = true)] +[Index("Date", "Group", Name = "UQ_30bf67687f483ace115c5ca6429", IsUnique = true)] +public class ChartPerUserDrive { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string Group { get; set; } = null!; + + [Column("___totalCount")] public int TotalCount { get; set; } + + [Column("___totalSize")] public int TotalSize { get; set; } + + [Column("___incCount")] public short IncCount { get; set; } + + [Column("___incSize")] public int IncSize { get; set; } + + [Column("___decCount")] public short DecCount { get; set; } + + [Column("___decSize")] public int DecSize { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartPerUserFollowing.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartPerUserFollowing.cs new file mode 100644 index 00000000..9470f652 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartPerUserFollowing.cs @@ -0,0 +1,40 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__per_user_following")] +[Index("Date", "Group", Name = "IDX_b77d4dd9562c3a899d9a286fcd", IsUnique = true)] +[Index("Date", "Group", Name = "UQ_b77d4dd9562c3a899d9a286fcd7", IsUnique = true)] +public class ChartPerUserFollowing { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string Group { get; set; } = null!; + + [Column("___local_followings_total")] public int LocalFollowingsTotal { get; set; } + + [Column("___local_followings_inc")] public short LocalFollowingsInc { get; set; } + + [Column("___local_followings_dec")] public short LocalFollowingsDec { get; set; } + + [Column("___local_followers_total")] public int LocalFollowersTotal { get; set; } + + [Column("___local_followers_inc")] public short LocalFollowersInc { get; set; } + + [Column("___local_followers_dec")] public short LocalFollowersDec { get; set; } + + [Column("___remote_followings_total")] public int RemoteFollowingsTotal { get; set; } + + [Column("___remote_followings_inc")] public short RemoteFollowingsInc { get; set; } + + [Column("___remote_followings_dec")] public short RemoteFollowingsDec { get; set; } + + [Column("___remote_followers_total")] public int RemoteFollowersTotal { get; set; } + + [Column("___remote_followers_inc")] public short RemoteFollowersInc { get; set; } + + [Column("___remote_followers_dec")] public short RemoteFollowersDec { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartPerUserNote.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartPerUserNote.cs new file mode 100644 index 00000000..5bf59f9c --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartPerUserNote.cs @@ -0,0 +1,30 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__per_user_notes")] +[Index("Date", "Group", Name = "IDX_5048e9daccbbbc6d567bb142d3", IsUnique = true)] +[Index("Date", "Group", Name = "UQ_5048e9daccbbbc6d567bb142d34", IsUnique = true)] +public class ChartPerUserNote { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string Group { get; set; } = null!; + + [Column("___total")] public int Total { get; set; } + + [Column("___inc")] public short Inc { get; set; } + + [Column("___dec")] public short Dec { get; set; } + + [Column("___diffs_normal")] public short DiffsNormal { get; set; } + + [Column("___diffs_reply")] public short DiffsReply { get; set; } + + [Column("___diffs_renote")] public short DiffsRenote { get; set; } + + [Column("___diffs_withFile")] public short DiffsWithFile { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartPerUserReaction.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartPerUserReaction.cs new file mode 100644 index 00000000..f404efa8 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartPerUserReaction.cs @@ -0,0 +1,20 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__per_user_reaction")] +[Index("Date", "Group", Name = "IDX_229a41ad465f9205f1f5703291", IsUnique = true)] +[Index("Date", "Group", Name = "UQ_229a41ad465f9205f1f57032910", IsUnique = true)] +public class ChartPerUserReaction { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string Group { get; set; } = null!; + + [Column("___local_count")] public short LocalCount { get; set; } + + [Column("___remote_count")] public short RemoteCount { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartTest.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartTest.cs new file mode 100644 index 00000000..ce0364ad --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartTest.cs @@ -0,0 +1,21 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__test")] +[Index("Date", "Group", Name = "IDX_a319e5dbf47e8a17497623beae", IsUnique = true)] +public class ChartTest { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string? Group { get; set; } + + [Column("___foo_total")] public long FooTotal { get; set; } + + [Column("___foo_inc")] public long FooInc { get; set; } + + [Column("___foo_dec")] public long FooDec { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartTestGrouped.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartTestGrouped.cs new file mode 100644 index 00000000..3e0a89d3 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartTestGrouped.cs @@ -0,0 +1,21 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__test_grouped")] +[Index("Date", "Group", Name = "IDX_b14489029e4b3aaf4bba5fb524", IsUnique = true)] +public class ChartTestGrouped { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string? Group { get; set; } + + [Column("___foo_total")] public long FooTotal { get; set; } + + [Column("___foo_inc")] public long FooInc { get; set; } + + [Column("___foo_dec")] public long FooDec { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartTestUnique.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartTestUnique.cs new file mode 100644 index 00000000..e7f7b8fd --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartTestUnique.cs @@ -0,0 +1,18 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__test_unique")] +[Index("Date", "Group", Name = "IDX_a0cd75442dd10d0643a17c4a49", IsUnique = true)] +public class ChartTestUnique { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("group")] [StringLength(128)] public string? Group { get; set; } + + [Column("___foo", TypeName = "character varying[]")] + public List Foo { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ChartUser.cs b/Iceshrimp.Backend/Core/Database/Tables/ChartUser.cs new file mode 100644 index 00000000..f6d5096b --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ChartUser.cs @@ -0,0 +1,26 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("__chart__users")] +[Index("Date", Name = "IDX_845254b3eaf708ae8a6cac3026", IsUnique = true)] +[Index("Date", Name = "UQ_845254b3eaf708ae8a6cac30265", IsUnique = true)] +public class ChartUser { + [Key] [Column("id")] public int Id { get; set; } + + [Column("date")] public int Date { get; set; } + + [Column("___local_total")] public int LocalTotal { get; set; } + + [Column("___local_inc")] public short LocalInc { get; set; } + + [Column("___local_dec")] public short LocalDec { get; set; } + + [Column("___remote_total")] public int RemoteTotal { get; set; } + + [Column("___remote_inc")] public short RemoteInc { get; set; } + + [Column("___remote_dec")] public short RemoteDec { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Clip.cs b/Iceshrimp.Backend/Core/Database/Tables/Clip.cs new file mode 100644 index 00000000..5b120015 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Clip.cs @@ -0,0 +1,49 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("clip")] +[Index("UserId", Name = "IDX_2b5ec6c574d6802c94c80313fb")] +public class Clip { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Clip. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The owner ID. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// The name of the Clip. + /// + [Column("name")] + [StringLength(128)] + public string Name { get; set; } = null!; + + [Column("isPublic")] public bool IsPublic { get; set; } + + /// + /// The description of the Clip. + /// + [Column("description")] + [StringLength(2048)] + public string? Description { get; set; } + + [InverseProperty("Clip")] public virtual ICollection ClipNotes { get; set; } = new List(); + + [ForeignKey("UserId")] + [InverseProperty("Clips")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ClipNote.cs b/Iceshrimp.Backend/Core/Database/Tables/ClipNote.cs new file mode 100644 index 00000000..0d18f0c5 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ClipNote.cs @@ -0,0 +1,38 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("clip_note")] +[Index("NoteId", "ClipId", Name = "IDX_6fc0ec357d55a18646262fdfff", IsUnique = true)] +[Index("NoteId", Name = "IDX_a012eaf5c87c65da1deb5fdbfa")] +[Index("ClipId", Name = "IDX_ebe99317bbbe9968a0c6f579ad")] +public class ClipNote { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The note ID. + /// + [Column("noteId")] + [StringLength(32)] + public string NoteId { get; set; } = null!; + + /// + /// The clip ID. + /// + [Column("clipId")] + [StringLength(32)] + public string ClipId { get; set; } = null!; + + [ForeignKey("ClipId")] + [InverseProperty("ClipNotes")] + public virtual Clip Clip { get; set; } = null!; + + [ForeignKey("NoteId")] + [InverseProperty("ClipNotes")] + public virtual Note Note { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/DriveFile.cs b/Iceshrimp.Backend/Core/Database/Tables/DriveFile.cs new file mode 100644 index 00000000..21e408ed --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/DriveFile.cs @@ -0,0 +1,186 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("drive_file")] +[Index("IsLink", Name = "IDX_315c779174fe8247ab324f036e")] +[Index("Md5", Name = "IDX_37bb9a1b4585f8a3beb24c62d6")] +[Index("UserId", "FolderId", "Id", Name = "IDX_55720b33a61a7c806a8215b825")] +[Index("UserId", Name = "IDX_860fa6f6c7df5bb887249fba22")] +[Index("UserHost", Name = "IDX_92779627994ac79277f070c91e")] +[Index("Type", Name = "IDX_a40b8df8c989d7db937ea27cf6")] +[Index("IsSensitive", Name = "IDX_a7eba67f8b3fa27271e85d2e26")] +[Index("FolderId", Name = "IDX_bb90d1956dafc4068c28aa7560")] +[Index("WebpublicAccessKey", Name = "IDX_c55b2b7c284d9fef98026fc88e", IsUnique = true)] +[Index("CreatedAt", Name = "IDX_c8dfad3b72196dd1d6b5db168a")] +[Index("AccessKey", Name = "IDX_d85a184c2540d2deba33daf642", IsUnique = true)] +[Index("Uri", Name = "IDX_e5848eac4940934e23dbc17581")] +[Index("ThumbnailAccessKey", Name = "IDX_e74022ce9a074b3866f70e0d27", IsUnique = true)] +public class DriveFile { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the DriveFile. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The owner ID. + /// + [Column("userId")] + [StringLength(32)] + public string? UserId { get; set; } + + /// + /// The host of owner. It will be null if the user in local. + /// + [Column("userHost")] + [StringLength(512)] + public string? UserHost { get; set; } + + /// + /// The MD5 hash of the DriveFile. + /// + [Column("md5")] + [StringLength(32)] + public string Md5 { get; set; } = null!; + + /// + /// The file name of the DriveFile. + /// + [Column("name")] + [StringLength(256)] + public string Name { get; set; } = null!; + + /// + /// The content type (MIME) of the DriveFile. + /// + [Column("type")] + [StringLength(128)] + public string Type { get; set; } = null!; + + /// + /// The file size (bytes) of the DriveFile. + /// + [Column("size")] + public int Size { get; set; } + + /// + /// The comment of the DriveFile. + /// + [Column("comment")] + [StringLength(8192)] + public string? Comment { get; set; } + + /// + /// The any properties of the DriveFile. For example, it includes image width/height. + /// + [Column("properties", TypeName = "jsonb")] + public string Properties { get; set; } = null!; + + [Column("storedInternal")] public bool StoredInternal { get; set; } + + /// + /// The URL of the DriveFile. + /// + [Column("url")] + [StringLength(512)] + public string Url { get; set; } = null!; + + /// + /// The URL of the thumbnail of the DriveFile. + /// + [Column("thumbnailUrl")] + [StringLength(512)] + public string? ThumbnailUrl { get; set; } + + /// + /// The URL of the webpublic of the DriveFile. + /// + [Column("webpublicUrl")] + [StringLength(512)] + public string? WebpublicUrl { get; set; } + + [Column("accessKey")] + [StringLength(256)] + public string? AccessKey { get; set; } + + [Column("thumbnailAccessKey")] + [StringLength(256)] + public string? ThumbnailAccessKey { get; set; } + + [Column("webpublicAccessKey")] + [StringLength(256)] + public string? WebpublicAccessKey { get; set; } + + /// + /// The URI of the DriveFile. it will be null when the DriveFile is local. + /// + [Column("uri")] + [StringLength(512)] + public string? Uri { get; set; } + + [Column("src")] [StringLength(512)] public string? Src { get; set; } + + /// + /// The parent folder ID. If null, it means the DriveFile is located in root. + /// + [Column("folderId")] + [StringLength(32)] + public string? FolderId { get; set; } + + /// + /// Whether the DriveFile is NSFW. + /// + [Column("isSensitive")] + public bool IsSensitive { get; set; } + + /// + /// Whether the DriveFile is direct link to remote server. + /// + [Column("isLink")] + public bool IsLink { get; set; } + + /// + /// The BlurHash string. + /// + [Column("blurhash")] + [StringLength(128)] + public string? Blurhash { get; set; } + + [Column("webpublicType")] + [StringLength(128)] + public string? WebpublicType { get; set; } + + [Column("requestHeaders", TypeName = "jsonb")] + public string? RequestHeaders { get; set; } + + [Column("requestIp")] + [StringLength(128)] + public string? RequestIp { get; set; } + + [InverseProperty("Banner")] public virtual ICollection Channels { get; set; } = new List(); + + [ForeignKey("FolderId")] + [InverseProperty("DriveFiles")] + public virtual DriveFolder? Folder { get; set; } + + [InverseProperty("File")] + public virtual ICollection MessagingMessages { get; set; } = new List(); + + [InverseProperty("EyeCatchingImage")] public virtual ICollection Pages { get; set; } = new List(); + + [ForeignKey("UserId")] + [InverseProperty("DriveFiles")] + public virtual User? User { get; set; } + + [InverseProperty("Avatar")] public virtual User? UserAvatar { get; set; } + + [InverseProperty("Banner")] public virtual User? UserBanner { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/DriveFolder.cs b/Iceshrimp.Backend/Core/Database/Tables/DriveFolder.cs new file mode 100644 index 00000000..af022ff9 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/DriveFolder.cs @@ -0,0 +1,56 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("drive_folder")] +[Index("ParentId", Name = "IDX_00ceffb0cdc238b3233294f08f")] +[Index("CreatedAt", Name = "IDX_02878d441ceae15ce060b73daf")] +[Index("UserId", Name = "IDX_f4fc06e49c0171c85f1c48060d")] +public class DriveFolder { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the DriveFolder. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The name of the DriveFolder. + /// + [Column("name")] + [StringLength(128)] + public string Name { get; set; } = null!; + + /// + /// The owner ID. + /// + [Column("userId")] + [StringLength(32)] + public string? UserId { get; set; } + + /// + /// The parent folder ID. If null, it means the DriveFolder is located in root. + /// + [Column("parentId")] + [StringLength(32)] + public string? ParentId { get; set; } + + [InverseProperty("Folder")] public virtual ICollection DriveFiles { get; set; } = new List(); + + [InverseProperty("Parent")] + public virtual ICollection InverseParent { get; set; } = new List(); + + [ForeignKey("ParentId")] + [InverseProperty("InverseParent")] + public virtual DriveFolder? Parent { get; set; } + + [ForeignKey("UserId")] + [InverseProperty("DriveFolders")] + public virtual User? User { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Emoji.cs b/Iceshrimp.Backend/Core/Database/Tables/Emoji.cs new file mode 100644 index 00000000..985b8bfe --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Emoji.cs @@ -0,0 +1,57 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("emoji")] +[Index("Name", "Host", Name = "IDX_4f4d35e1256c84ae3d1f0eab10", IsUnique = true)] +[Index("Host", Name = "IDX_5900e907bb46516ddf2871327c")] +[Index("Name", Name = "IDX_b37dafc86e9af007e3295c2781")] +public class Emoji { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("updatedAt")] public DateTime? UpdatedAt { get; set; } + + [Column("name")] [StringLength(128)] public string Name { get; set; } = null!; + + [Column("host")] [StringLength(512)] public string? Host { get; set; } + + [Column("originalUrl")] + [StringLength(512)] + public string OriginalUrl { get; set; } = null!; + + [Column("uri")] [StringLength(512)] public string? Uri { get; set; } + + [Column("type")] [StringLength(64)] public string? Type { get; set; } + + [Column("aliases", TypeName = "character varying(128)[]")] + public List Aliases { get; set; } = null!; + + [Column("category")] + [StringLength(128)] + public string? Category { get; set; } + + [Column("publicUrl")] + [StringLength(512)] + public string PublicUrl { get; set; } = null!; + + [Column("license")] + [StringLength(1024)] + public string? License { get; set; } + + /// + /// Image width + /// + [Column("width")] + public int? Width { get; set; } + + /// + /// Image height + /// + [Column("height")] + public int? Height { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/FollowRequest.cs b/Iceshrimp.Backend/Core/Database/Tables/FollowRequest.cs new file mode 100644 index 00000000..595c597f --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/FollowRequest.cs @@ -0,0 +1,96 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("follow_request")] +[Index("FolloweeId", Name = "IDX_12c01c0d1a79f77d9f6c15fadd")] +[Index("FollowerId", Name = "IDX_a7fd92dd6dc519e6fb435dd108")] +[Index("FollowerId", "FolloweeId", Name = "IDX_d54a512b822fac7ed52800f6b4", IsUnique = true)] +public class FollowRequest { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the FollowRequest. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The followee user ID. + /// + [Column("followeeId")] + [StringLength(32)] + public string FolloweeId { get; set; } = null!; + + /// + /// The follower user ID. + /// + [Column("followerId")] + [StringLength(32)] + public string FollowerId { get; set; } = null!; + + /// + /// id of Follow Activity. + /// + [Column("requestId")] + [StringLength(128)] + public string? RequestId { get; set; } + + /// + /// [Denormalized] + /// + [Column("followerHost")] + [StringLength(512)] + public string? FollowerHost { get; set; } + + /// + /// [Denormalized] + /// + [Column("followerInbox")] + [StringLength(512)] + public string? FollowerInbox { get; set; } + + /// + /// [Denormalized] + /// + [Column("followerSharedInbox")] + [StringLength(512)] + public string? FollowerSharedInbox { get; set; } + + /// + /// [Denormalized] + /// + [Column("followeeHost")] + [StringLength(512)] + public string? FolloweeHost { get; set; } + + /// + /// [Denormalized] + /// + [Column("followeeInbox")] + [StringLength(512)] + public string? FolloweeInbox { get; set; } + + /// + /// [Denormalized] + /// + [Column("followeeSharedInbox")] + [StringLength(512)] + public string? FolloweeSharedInbox { get; set; } + + [ForeignKey("FolloweeId")] + [InverseProperty("FollowRequestFollowees")] + public virtual User Followee { get; set; } = null!; + + [ForeignKey("FollowerId")] + [InverseProperty("FollowRequestFollowers")] + public virtual User Follower { get; set; } = null!; + + [InverseProperty("FollowRequest")] + public virtual ICollection Notifications { get; set; } = new List(); +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Following.cs b/Iceshrimp.Backend/Core/Database/Tables/Following.cs new file mode 100644 index 00000000..617da3e2 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Following.cs @@ -0,0 +1,89 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("following")] +[Index("FolloweeId", Name = "IDX_24e0042143a18157b234df186c")] +[Index("FollowerId", "FolloweeId", Name = "IDX_307be5f1d1252e0388662acb96", IsUnique = true)] +[Index("FollowerHost", Name = "IDX_4ccd2239268ebbd1b35e318754")] +[Index("CreatedAt", Name = "IDX_582f8fab771a9040a12961f3e7")] +[Index("FollowerId", Name = "IDX_6516c5a6f3c015b4eed39978be")] +[Index("FolloweeHost", Name = "IDX_fcdafee716dfe9c3b5fde90f30")] +public class Following { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Following. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The followee user ID. + /// + [Column("followeeId")] + [StringLength(32)] + public string FolloweeId { get; set; } = null!; + + /// + /// The follower user ID. + /// + [Column("followerId")] + [StringLength(32)] + public string FollowerId { get; set; } = null!; + + /// + /// [Denormalized] + /// + [Column("followerHost")] + [StringLength(512)] + public string? FollowerHost { get; set; } + + /// + /// [Denormalized] + /// + [Column("followerInbox")] + [StringLength(512)] + public string? FollowerInbox { get; set; } + + /// + /// [Denormalized] + /// + [Column("followerSharedInbox")] + [StringLength(512)] + public string? FollowerSharedInbox { get; set; } + + /// + /// [Denormalized] + /// + [Column("followeeHost")] + [StringLength(512)] + public string? FolloweeHost { get; set; } + + /// + /// [Denormalized] + /// + [Column("followeeInbox")] + [StringLength(512)] + public string? FolloweeInbox { get; set; } + + /// + /// [Denormalized] + /// + [Column("followeeSharedInbox")] + [StringLength(512)] + public string? FolloweeSharedInbox { get; set; } + + [ForeignKey("FolloweeId")] + [InverseProperty("FollowingFollowees")] + public virtual User Followee { get; set; } = null!; + + [ForeignKey("FollowerId")] + [InverseProperty("FollowingFollowers")] + public virtual User Follower { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/GalleryLike.cs b/Iceshrimp.Backend/Core/Database/Tables/GalleryLike.cs new file mode 100644 index 00000000..4a5e0066 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/GalleryLike.cs @@ -0,0 +1,29 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("gallery_like")] +[Index("UserId", Name = "IDX_8fd5215095473061855ceb948c")] +[Index("UserId", "PostId", Name = "IDX_df1b5f4099e99fb0bc5eae53b6", IsUnique = true)] +public class GalleryLike { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("createdAt")] public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("postId")] [StringLength(32)] public string PostId { get; set; } = null!; + + [ForeignKey("PostId")] + [InverseProperty("GalleryLikes")] + public virtual GalleryPost Post { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("GalleryLikes")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/GalleryPost.cs b/Iceshrimp.Backend/Core/Database/Tables/GalleryPost.cs new file mode 100644 index 00000000..9481df77 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/GalleryPost.cs @@ -0,0 +1,66 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("gallery_post")] +[Index("Tags", Name = "IDX_05cca34b985d1b8edc1d1e28df")] +[Index("LikedCount", Name = "IDX_1a165c68a49d08f11caffbd206")] +[Index("FileIds", Name = "IDX_3ca50563facd913c425e7a89ee")] +[Index("CreatedAt", Name = "IDX_8f1a239bd077c8864a20c62c2c")] +[Index("UserId", Name = "IDX_985b836dddd8615e432d7043dd")] +[Index("IsSensitive", Name = "IDX_f2d744d9a14d0dfb8b96cb7fc5")] +[Index("UpdatedAt", Name = "IDX_f631d37835adb04792e361807c")] +public class GalleryPost { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the GalleryPost. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The updated date of the GalleryPost. + /// + [Column("updatedAt")] + public DateTime UpdatedAt { get; set; } + + [Column("title")] [StringLength(256)] public string Title { get; set; } = null!; + + [Column("description")] + [StringLength(2048)] + public string? Description { get; set; } + + /// + /// The ID of author. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + [Column("fileIds", TypeName = "character varying(32)[]")] + public List FileIds { get; set; } = null!; + + /// + /// Whether the post is sensitive. + /// + [Column("isSensitive")] + public bool IsSensitive { get; set; } + + [Column("likedCount")] public int LikedCount { get; set; } + + [Column("tags", TypeName = "character varying(128)[]")] + public List Tags { get; set; } = null!; + + [InverseProperty("Post")] + public virtual ICollection GalleryLikes { get; set; } = new List(); + + [ForeignKey("UserId")] + [InverseProperty("GalleryPosts")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Hashtag.cs b/Iceshrimp.Backend/Core/Database/Tables/Hashtag.cs new file mode 100644 index 00000000..49795475 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Hashtag.cs @@ -0,0 +1,52 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("hashtag")] +[Index("AttachedRemoteUsersCount", Name = "IDX_0b03cbcd7e6a7ce068efa8ecc2")] +[Index("AttachedLocalUsersCount", Name = "IDX_0c44bf4f680964145f2a68a341")] +[Index("MentionedLocalUsersCount", Name = "IDX_0e206cec573f1edff4a3062923")] +[Index("MentionedUsersCount", Name = "IDX_2710a55f826ee236ea1a62698f")] +[Index("Name", Name = "IDX_347fec870eafea7b26c8a73bac", IsUnique = true)] +[Index("MentionedRemoteUsersCount", Name = "IDX_4c02d38a976c3ae132228c6fce")] +[Index("AttachedUsersCount", Name = "IDX_d57f9030cd3af7f63ffb1c267c")] +public class Hashtag { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("name")] [StringLength(128)] public string Name { get; set; } = null!; + + [Column("mentionedUserIds", TypeName = "character varying(32)[]")] + public List MentionedUserIds { get; set; } = null!; + + [Column("mentionedUsersCount")] public int MentionedUsersCount { get; set; } + + [Column("mentionedLocalUserIds", TypeName = "character varying(32)[]")] + public List MentionedLocalUserIds { get; set; } = null!; + + [Column("mentionedLocalUsersCount")] public int MentionedLocalUsersCount { get; set; } + + [Column("mentionedRemoteUserIds", TypeName = "character varying(32)[]")] + public List MentionedRemoteUserIds { get; set; } = null!; + + [Column("mentionedRemoteUsersCount")] public int MentionedRemoteUsersCount { get; set; } + + [Column("attachedUserIds", TypeName = "character varying(32)[]")] + public List AttachedUserIds { get; set; } = null!; + + [Column("attachedUsersCount")] public int AttachedUsersCount { get; set; } + + [Column("attachedLocalUserIds", TypeName = "character varying(32)[]")] + public List AttachedLocalUserIds { get; set; } = null!; + + [Column("attachedLocalUsersCount")] public int AttachedLocalUsersCount { get; set; } + + [Column("attachedRemoteUserIds", TypeName = "character varying(32)[]")] + public List AttachedRemoteUserIds { get; set; } = null!; + + [Column("attachedRemoteUsersCount")] public int AttachedRemoteUsersCount { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/HtmlNoteCacheEntry.cs b/Iceshrimp.Backend/Core/Database/Tables/HtmlNoteCacheEntry.cs new file mode 100644 index 00000000..01446dd5 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/HtmlNoteCacheEntry.cs @@ -0,0 +1,20 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("html_note_cache_entry")] +public class HtmlNoteCacheEntry { + [Key] + [Column("noteId")] + [StringLength(32)] + public string NoteId { get; set; } = null!; + + [Column("updatedAt")] public DateTime? UpdatedAt { get; set; } + + [Column("content")] public string? Content { get; set; } + + [ForeignKey("NoteId")] + [InverseProperty("HtmlNoteCacheEntry")] + public virtual Note Note { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/HtmlUserCacheEntry.cs b/Iceshrimp.Backend/Core/Database/Tables/HtmlUserCacheEntry.cs new file mode 100644 index 00000000..5778c65b --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/HtmlUserCacheEntry.cs @@ -0,0 +1,22 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("html_user_cache_entry")] +public class HtmlUserCacheEntry { + [Key] + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + [Column("updatedAt")] public DateTime? UpdatedAt { get; set; } + + [Column("bio")] public string? Bio { get; set; } + + [Column("fields", TypeName = "jsonb")] public string Fields { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("HtmlUserCacheEntry")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Instance.cs b/Iceshrimp.Backend/Core/Database/Tables/Instance.cs new file mode 100644 index 00000000..41856f45 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Instance.cs @@ -0,0 +1,98 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("instance")] +[Index("CaughtAt", Name = "IDX_2cd3b2a6b4cf0b910b260afe08")] +[Index("IsSuspended", Name = "IDX_34500da2e38ac393f7bb6b299c")] +[Index("Host", Name = "IDX_8d5afc98982185799b160e10eb", IsUnique = true)] +public class Instance { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The caught date of the Instance. + /// + [Column("caughtAt")] + public DateTime CaughtAt { get; set; } + + /// + /// The host of the Instance. + /// + [Column("host")] + [StringLength(512)] + public string Host { get; set; } = null!; + + /// + /// The count of the users of the Instance. + /// + [Column("usersCount")] + public int UsersCount { get; set; } + + /// + /// The count of the notes of the Instance. + /// + [Column("notesCount")] + public int NotesCount { get; set; } + + [Column("followingCount")] public int FollowingCount { get; set; } + + [Column("followersCount")] public int FollowersCount { get; set; } + + [Column("latestRequestSentAt")] public DateTime? LatestRequestSentAt { get; set; } + + [Column("latestStatus")] public int? LatestStatus { get; set; } + + [Column("latestRequestReceivedAt")] public DateTime? LatestRequestReceivedAt { get; set; } + + [Column("lastCommunicatedAt")] public DateTime LastCommunicatedAt { get; set; } + + [Column("isNotResponding")] public bool IsNotResponding { get; set; } + + /// + /// The software of the Instance. + /// + [Column("softwareName")] + [StringLength(64)] + public string? SoftwareName { get; set; } + + [Column("softwareVersion")] + [StringLength(64)] + public string? SoftwareVersion { get; set; } + + [Column("openRegistrations")] public bool? OpenRegistrations { get; set; } + + [Column("name")] [StringLength(256)] public string? Name { get; set; } + + [Column("description")] + [StringLength(4096)] + public string? Description { get; set; } + + [Column("maintainerName")] + [StringLength(128)] + public string? MaintainerName { get; set; } + + [Column("maintainerEmail")] + [StringLength(256)] + public string? MaintainerEmail { get; set; } + + [Column("infoUpdatedAt")] public DateTime? InfoUpdatedAt { get; set; } + + [Column("isSuspended")] public bool IsSuspended { get; set; } + + [Column("iconUrl")] + [StringLength(4096)] + public string? IconUrl { get; set; } + + [Column("themeColor")] + [StringLength(64)] + public string? ThemeColor { get; set; } + + [Column("faviconUrl")] + [StringLength(4096)] + public string? FaviconUrl { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/MessagingMessage.cs b/Iceshrimp.Backend/Core/Database/Tables/MessagingMessage.cs new file mode 100644 index 00000000..73f969d4 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/MessagingMessage.cs @@ -0,0 +1,71 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("messaging_message")] +[Index("GroupId", Name = "IDX_2c4be03b446884f9e9c502135b")] +[Index("UserId", Name = "IDX_5377c307783fce2b6d352e1203")] +[Index("RecipientId", Name = "IDX_cac14a4e3944454a5ce7daa514")] +[Index("CreatedAt", Name = "IDX_e21cd3646e52ef9c94aaf17c2e")] +public class MessagingMessage { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the MessagingMessage. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The sender user ID. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// The recipient user ID. + /// + [Column("recipientId")] + [StringLength(32)] + public string? RecipientId { get; set; } + + [Column("text")] [StringLength(4096)] public string? Text { get; set; } + + [Column("isRead")] public bool IsRead { get; set; } + + [Column("fileId")] [StringLength(32)] public string? FileId { get; set; } + + /// + /// The recipient group ID. + /// + [Column("groupId")] + [StringLength(32)] + public string? GroupId { get; set; } + + [Column("reads", TypeName = "character varying(32)[]")] + public List Reads { get; set; } = null!; + + [Column("uri")] [StringLength(512)] public string? Uri { get; set; } + + [ForeignKey("FileId")] + [InverseProperty("MessagingMessages")] + public virtual DriveFile? File { get; set; } + + [ForeignKey("GroupId")] + [InverseProperty("MessagingMessages")] + public virtual UserGroup? Group { get; set; } + + [ForeignKey("RecipientId")] + [InverseProperty("MessagingMessageRecipients")] + public virtual User? Recipient { get; set; } + + [ForeignKey("UserId")] + [InverseProperty("MessagingMessageUsers")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Metum.cs b/Iceshrimp.Backend/Core/Database/Tables/Metum.cs new file mode 100644 index 00000000..eaa6562f --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Metum.cs @@ -0,0 +1,285 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("meta")] +public class Metum { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("name")] [StringLength(128)] public string? Name { get; set; } + + [Column("description")] + [StringLength(1024)] + public string? Description { get; set; } + + [Column("maintainerName")] + [StringLength(128)] + public string? MaintainerName { get; set; } + + [Column("maintainerEmail")] + [StringLength(128)] + public string? MaintainerEmail { get; set; } + + [Column("disableRegistration")] public bool DisableRegistration { get; set; } + + [Column("disableLocalTimeline")] public bool DisableLocalTimeline { get; set; } + + [Column("disableGlobalTimeline")] public bool DisableGlobalTimeline { get; set; } + + [Column("langs", TypeName = "character varying(64)[]")] + public List Langs { get; set; } = null!; + + [Column("hiddenTags", TypeName = "character varying(256)[]")] + public List HiddenTags { get; set; } = null!; + + [Column("blockedHosts", TypeName = "character varying(256)[]")] + public List BlockedHosts { get; set; } = null!; + + [Column("mascotImageUrl")] + [StringLength(512)] + public string? MascotImageUrl { get; set; } + + [Column("bannerUrl")] + [StringLength(512)] + public string? BannerUrl { get; set; } + + [Column("errorImageUrl")] + [StringLength(512)] + public string? ErrorImageUrl { get; set; } + + [Column("iconUrl")] + [StringLength(512)] + public string? IconUrl { get; set; } + + [Column("cacheRemoteFiles")] public bool CacheRemoteFiles { get; set; } + + [Column("enableRecaptcha")] public bool EnableRecaptcha { get; set; } + + [Column("recaptchaSiteKey")] + [StringLength(64)] + public string? RecaptchaSiteKey { get; set; } + + [Column("recaptchaSecretKey")] + [StringLength(64)] + public string? RecaptchaSecretKey { get; set; } + + /// + /// Drive capacity of a local user (MB) + /// + [Column("localDriveCapacityMb")] + public int LocalDriveCapacityMb { get; set; } + + /// + /// Drive capacity of a remote user (MB) + /// + [Column("remoteDriveCapacityMb")] + public int RemoteDriveCapacityMb { get; set; } + + [Column("summalyProxy")] + [StringLength(128)] + public string? SummalyProxy { get; set; } + + [Column("enableEmail")] public bool EnableEmail { get; set; } + + [Column("email")] [StringLength(128)] public string? Email { get; set; } + + [Column("smtpSecure")] public bool SmtpSecure { get; set; } + + [Column("smtpHost")] + [StringLength(128)] + public string? SmtpHost { get; set; } + + [Column("smtpPort")] public int? SmtpPort { get; set; } + + [Column("smtpUser")] + [StringLength(1024)] + public string? SmtpUser { get; set; } + + [Column("smtpPass")] + [StringLength(1024)] + public string? SmtpPass { get; set; } + + [Column("swPublicKey")] + [StringLength(128)] + public string SwPublicKey { get; set; } = null!; + + [Column("swPrivateKey")] + [StringLength(128)] + public string SwPrivateKey { get; set; } = null!; + + [Column("enableGithubIntegration")] public bool EnableGithubIntegration { get; set; } + + [Column("githubClientId")] + [StringLength(128)] + public string? GithubClientId { get; set; } + + [Column("githubClientSecret")] + [StringLength(128)] + public string? GithubClientSecret { get; set; } + + [Column("enableDiscordIntegration")] public bool EnableDiscordIntegration { get; set; } + + [Column("discordClientId")] + [StringLength(128)] + public string? DiscordClientId { get; set; } + + [Column("discordClientSecret")] + [StringLength(128)] + public string? DiscordClientSecret { get; set; } + + [Column("pinnedUsers", TypeName = "character varying(256)[]")] + public List PinnedUsers { get; set; } = null!; + + [Column("ToSUrl")] [StringLength(512)] public string? ToSurl { get; set; } + + [Column("repositoryUrl")] + [StringLength(512)] + public string RepositoryUrl { get; set; } = null!; + + [Column("feedbackUrl")] + [StringLength(512)] + public string? FeedbackUrl { get; set; } + + [Column("useObjectStorage")] public bool UseObjectStorage { get; set; } + + [Column("objectStorageBucket")] + [StringLength(512)] + public string? ObjectStorageBucket { get; set; } + + [Column("objectStoragePrefix")] + [StringLength(512)] + public string? ObjectStoragePrefix { get; set; } + + [Column("objectStorageBaseUrl")] + [StringLength(512)] + public string? ObjectStorageBaseUrl { get; set; } + + [Column("objectStorageEndpoint")] + [StringLength(512)] + public string? ObjectStorageEndpoint { get; set; } + + [Column("objectStorageRegion")] + [StringLength(512)] + public string? ObjectStorageRegion { get; set; } + + [Column("objectStorageAccessKey")] + [StringLength(512)] + public string? ObjectStorageAccessKey { get; set; } + + [Column("objectStorageSecretKey")] + [StringLength(512)] + public string? ObjectStorageSecretKey { get; set; } + + [Column("objectStoragePort")] public int? ObjectStoragePort { get; set; } + + [Column("objectStorageUseSSL")] public bool ObjectStorageUseSsl { get; set; } + + [Column("objectStorageUseProxy")] public bool ObjectStorageUseProxy { get; set; } + + [Column("enableHcaptcha")] public bool EnableHcaptcha { get; set; } + + [Column("hcaptchaSiteKey")] + [StringLength(64)] + public string? HcaptchaSiteKey { get; set; } + + [Column("hcaptchaSecretKey")] + [StringLength(64)] + public string? HcaptchaSecretKey { get; set; } + + [Column("objectStorageSetPublicRead")] public bool ObjectStorageSetPublicRead { get; set; } + + [Column("pinnedPages", TypeName = "character varying(512)[]")] + public List PinnedPages { get; set; } = null!; + + [Column("backgroundImageUrl")] + [StringLength(512)] + public string? BackgroundImageUrl { get; set; } + + [Column("logoImageUrl")] + [StringLength(512)] + public string? LogoImageUrl { get; set; } + + [Column("pinnedClipId")] + [StringLength(32)] + public string? PinnedClipId { get; set; } + + [Column("objectStorageS3ForcePathStyle")] + public bool ObjectStorageS3forcePathStyle { get; set; } + + [Column("allowedHosts", TypeName = "character varying(256)[]")] + public List AllowedHosts { get; set; } = null!; + + [Column("secureMode")] public bool SecureMode { get; set; } + + [Column("privateMode")] public bool PrivateMode { get; set; } + + [Column("deeplAuthKey")] + [StringLength(128)] + public string? DeeplAuthKey { get; set; } + + [Column("deeplIsPro")] public bool DeeplIsPro { get; set; } + + [Column("emailRequiredForSignup")] public bool EmailRequiredForSignup { get; set; } + + [Column("themeColor")] + [StringLength(512)] + public string? ThemeColor { get; set; } + + [Column("defaultLightTheme")] + [StringLength(8192)] + public string? DefaultLightTheme { get; set; } + + [Column("defaultDarkTheme")] + [StringLength(8192)] + public string? DefaultDarkTheme { get; set; } + + [Column("enableIpLogging")] public bool EnableIpLogging { get; set; } + + [Column("enableActiveEmailValidation")] + public bool EnableActiveEmailValidation { get; set; } + + [Column("customMOTD", TypeName = "character varying(256)[]")] + public List CustomMotd { get; set; } = null!; + + [Column("customSplashIcons", TypeName = "character varying(256)[]")] + public List CustomSplashIcons { get; set; } = null!; + + [Column("disableRecommendedTimeline")] public bool DisableRecommendedTimeline { get; set; } + + [Column("recommendedInstances", TypeName = "character varying(256)[]")] + public List RecommendedInstances { get; set; } = null!; + + [Column("defaultReaction")] + [StringLength(256)] + public string DefaultReaction { get; set; } = null!; + + [Column("libreTranslateApiUrl")] + [StringLength(512)] + public string? LibreTranslateApiUrl { get; set; } + + [Column("libreTranslateApiKey")] + [StringLength(128)] + public string? LibreTranslateApiKey { get; set; } + + [Column("silencedHosts", TypeName = "character varying(256)[]")] + public List SilencedHosts { get; set; } = null!; + + [Column("experimentalFeatures", TypeName = "jsonb")] + public string ExperimentalFeatures { get; set; } = null!; + + [Column("enableServerMachineStats")] public bool EnableServerMachineStats { get; set; } + + [Column("enableIdenticonGeneration")] public bool EnableIdenticonGeneration { get; set; } + + [Column("donationLink")] + [StringLength(256)] + public string? DonationLink { get; set; } + + [Column("autofollowedAccount")] + [StringLength(128)] + public string? AutofollowedAccount { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Migration.cs b/Iceshrimp.Backend/Core/Database/Tables/Migration.cs new file mode 100644 index 00000000..ec8c08cc --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Migration.cs @@ -0,0 +1,14 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("migrations")] +public class Migration { + [Key] [Column("id")] public int Id { get; set; } + + [Column("timestamp")] public long Timestamp { get; set; } + + [Column("name", TypeName = "character varying")] + public string Name { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/ModerationLog.cs b/Iceshrimp.Backend/Core/Database/Tables/ModerationLog.cs new file mode 100644 index 00000000..0166f8d4 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/ModerationLog.cs @@ -0,0 +1,30 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("moderation_log")] +[Index("UserId", Name = "IDX_a08ad074601d204e0f69da9a95")] +public class ModerationLog { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the ModerationLog. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("type")] [StringLength(128)] public string Type { get; set; } = null!; + + [Column("info", TypeName = "jsonb")] public string Info { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("ModerationLogs")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Muting.cs b/Iceshrimp.Backend/Core/Database/Tables/Muting.cs new file mode 100644 index 00000000..03ddd4e0 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Muting.cs @@ -0,0 +1,48 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("muting")] +[Index("MuterId", "MuteeId", Name = "IDX_1eb9d9824a630321a29fd3b290", IsUnique = true)] +[Index("MuterId", Name = "IDX_93060675b4a79a577f31d260c6")] +[Index("ExpiresAt", Name = "IDX_c1fd1c3dfb0627aa36c253fd14")] +[Index("MuteeId", Name = "IDX_ec96b4fed9dae517e0dbbe0675")] +[Index("CreatedAt", Name = "IDX_f86d57fbca33c7a4e6897490cc")] +public class Muting { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Muting. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The mutee user ID. + /// + [Column("muteeId")] + [StringLength(32)] + public string MuteeId { get; set; } = null!; + + /// + /// The muter user ID. + /// + [Column("muterId")] + [StringLength(32)] + public string MuterId { get; set; } = null!; + + [Column("expiresAt")] public DateTime? ExpiresAt { get; set; } + + [ForeignKey("MuteeId")] + [InverseProperty("MutingMutees")] + public virtual User Mutee { get; set; } = null!; + + [ForeignKey("MuterId")] + [InverseProperty("MutingMuters")] + public virtual User Muter { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Note.cs b/Iceshrimp.Backend/Core/Database/Tables/Note.cs new file mode 100644 index 00000000..9d068a5d --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Note.cs @@ -0,0 +1,216 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("note")] +[Index("Uri", Name = "IDX_153536c67d05e9adb24e99fc2b", IsUnique = true)] +[Index("ReplyId", Name = "IDX_17cb3553c700a4985dff5a30ff")] +[Index("AttachedFileTypes", Name = "IDX_25dfc71b0369b003a4cd434d0b")] +[Index("FileIds", Name = "IDX_51c063b6a133a9cb87145450f5")] +[Index("RenoteId", Name = "IDX_52ccc804d7c69037d558bac4c9")] +[Index("Mentions", Name = "IDX_54ebcb6d27222913b908d56fd8")] +[Index("UserId", Name = "IDX_5b87d9d19127bd5d92026017a7")] +[Index("UserHost", Name = "IDX_7125a826ab192eb27e11d358a5")] +[Index("VisibleUserIds", Name = "IDX_796a8c03959361f97dc2be1d5c")] +[Index("Tags", Name = "IDX_88937d94d7443d9a99a76fa5c0")] +[Index("ThreadId", Name = "IDX_d4ebdef929896d6dc4a3c5bb48")] +[Index("CreatedAt", Name = "IDX_e7c0567f5261063592f022e9b5")] +[Index("ChannelId", Name = "IDX_f22169eb10657bded6d875ac8f")] +[Index("CreatedAt", "UserId", Name = "IDX_note_createdAt_userId")] +[Index("Id", "UserHost", Name = "IDX_note_id_userHost")] +[Index("Url", Name = "IDX_note_url")] +[Index("UserId", "Id", Name = "IDX_note_userId_id")] +public class Note { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Note. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The ID of reply target. + /// + [Column("replyId")] + [StringLength(32)] + public string? ReplyId { get; set; } + + /// + /// The ID of renote target. + /// + [Column("renoteId")] + [StringLength(32)] + public string? RenoteId { get; set; } + + [Column("text")] public string? Text { get; set; } + + [Column("name")] [StringLength(256)] public string? Name { get; set; } + + [Column("cw")] [StringLength(512)] public string? Cw { get; set; } + + /// + /// The ID of author. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + [Column("localOnly")] public bool LocalOnly { get; set; } + + [Column("renoteCount")] public short RenoteCount { get; set; } + + [Column("repliesCount")] public short RepliesCount { get; set; } + + [Column("reactions", TypeName = "jsonb")] + public string Reactions { get; set; } = null!; + + /// + /// The URI of a note. it will be null when the note is local. + /// + [Column("uri")] + [StringLength(512)] + public string? Uri { get; set; } + + [Column("score")] public int Score { get; set; } + + [Column("fileIds", TypeName = "character varying(32)[]")] + public List FileIds { get; set; } = null!; + + [Column("attachedFileTypes", TypeName = "character varying(256)[]")] + public List AttachedFileTypes { get; set; } = null!; + + [Column("visibleUserIds", TypeName = "character varying(32)[]")] + public List VisibleUserIds { get; set; } = null!; + + [Column("mentions", TypeName = "character varying(32)[]")] + public List Mentions { get; set; } = null!; + + [Column("mentionedRemoteUsers")] public string MentionedRemoteUsers { get; set; } = null!; + + [Column("emojis", TypeName = "character varying(128)[]")] + public List Emojis { get; set; } = null!; + + [Column("tags", TypeName = "character varying(128)[]")] + public List Tags { get; set; } = null!; + + [Column("hasPoll")] public bool HasPoll { get; set; } + + /// + /// [Denormalized] + /// + [Column("userHost")] + [StringLength(512)] + public string? UserHost { get; set; } + + /// + /// [Denormalized] + /// + [Column("replyUserId")] + [StringLength(32)] + public string? ReplyUserId { get; set; } + + /// + /// [Denormalized] + /// + [Column("replyUserHost")] + [StringLength(512)] + public string? ReplyUserHost { get; set; } + + /// + /// [Denormalized] + /// + [Column("renoteUserId")] + [StringLength(32)] + public string? RenoteUserId { get; set; } + + /// + /// [Denormalized] + /// + [Column("renoteUserHost")] + [StringLength(512)] + public string? RenoteUserHost { get; set; } + + /// + /// The human readable url of a note. it will be null when the note is local. + /// + [Column("url")] + [StringLength(512)] + public string? Url { get; set; } + + /// + /// The ID of source channel. + /// + [Column("channelId")] + [StringLength(32)] + public string? ChannelId { get; set; } + + [Column("threadId")] + [StringLength(256)] + public string? ThreadId { get; set; } + + /// + /// The updated date of the Note. + /// + [Column("updatedAt")] + public DateTime? UpdatedAt { get; set; } + + [ForeignKey("ChannelId")] + [InverseProperty("Notes")] + public virtual Channel? Channel { get; set; } + + [InverseProperty("Note")] + public virtual ICollection ChannelNotePinings { get; set; } = new List(); + + [InverseProperty("Note")] public virtual ICollection ClipNotes { get; set; } = new List(); + + [InverseProperty("Note")] public virtual HtmlNoteCacheEntry? HtmlNoteCacheEntry { get; set; } + + [InverseProperty("Renote")] public virtual ICollection InverseRenote { get; set; } = new List(); + + [InverseProperty("Reply")] public virtual ICollection InverseReply { get; set; } = new List(); + + [InverseProperty("Note")] public virtual ICollection NoteEdits { get; set; } = new List(); + + [InverseProperty("Note")] + public virtual ICollection NoteFavorites { get; set; } = new List(); + + [InverseProperty("Note")] + public virtual ICollection NoteReactions { get; set; } = new List(); + + [InverseProperty("Note")] public virtual ICollection NoteUnreads { get; set; } = new List(); + + [InverseProperty("Note")] + public virtual ICollection NoteWatchings { get; set; } = new List(); + + [InverseProperty("Note")] + public virtual ICollection Notifications { get; set; } = new List(); + + [InverseProperty("Note")] public virtual Poll? Poll { get; set; } + + [InverseProperty("Note")] public virtual ICollection PollVotes { get; set; } = new List(); + + [InverseProperty("Note")] public virtual PromoNote? PromoNote { get; set; } + + [InverseProperty("Note")] public virtual ICollection PromoReads { get; set; } = new List(); + + [ForeignKey("RenoteId")] + [InverseProperty("InverseRenote")] + public virtual Note? Renote { get; set; } + + [ForeignKey("ReplyId")] + [InverseProperty("InverseReply")] + public virtual Note? Reply { get; set; } + + [ForeignKey("UserId")] + [InverseProperty("Notes")] + public virtual User User { get; set; } = null!; + + [InverseProperty("Note")] + public virtual ICollection UserNotePinings { get; set; } = new List(); +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/NoteEdit.cs b/Iceshrimp.Backend/Core/Database/Tables/NoteEdit.cs new file mode 100644 index 00000000..7387ed46 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/NoteEdit.cs @@ -0,0 +1,38 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("note_edit")] +[Index("NoteId", Name = "IDX_702ad5ae993a672e4fbffbcd38")] +public class NoteEdit { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The ID of note. + /// + [Column("noteId")] + [StringLength(32)] + public string NoteId { get; set; } = null!; + + [Column("text")] public string? Text { get; set; } + + [Column("cw")] [StringLength(512)] public string? Cw { get; set; } + + [Column("fileIds", TypeName = "character varying(32)[]")] + public List FileIds { get; set; } = null!; + + /// + /// The updated date of the Note. + /// + [Column("updatedAt")] + public DateTime UpdatedAt { get; set; } + + [ForeignKey("NoteId")] + [InverseProperty("NoteEdits")] + public virtual Note Note { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/NoteFavorite.cs b/Iceshrimp.Backend/Core/Database/Tables/NoteFavorite.cs new file mode 100644 index 00000000..787366ab --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/NoteFavorite.cs @@ -0,0 +1,33 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("note_favorite")] +[Index("UserId", "NoteId", Name = "IDX_0f4fb9ad355f3effff221ef245", IsUnique = true)] +[Index("UserId", Name = "IDX_47f4b1892f5d6ba8efb3057d81")] +public class NoteFavorite { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the NoteFavorite. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("noteId")] [StringLength(32)] public string NoteId { get; set; } = null!; + + [ForeignKey("NoteId")] + [InverseProperty("NoteFavorites")] + public virtual Note Note { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("NoteFavorites")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/NoteReaction.cs b/Iceshrimp.Backend/Core/Database/Tables/NoteReaction.cs new file mode 100644 index 00000000..4ece3c80 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/NoteReaction.cs @@ -0,0 +1,39 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("note_reaction")] +[Index("CreatedAt", Name = "IDX_01f4581f114e0ebd2bbb876f0b")] +[Index("UserId", Name = "IDX_13761f64257f40c5636d0ff95e")] +[Index("NoteId", Name = "IDX_45145e4953780f3cd5656f0ea6")] +[Index("UserId", "NoteId", Name = "IDX_ad0c221b25672daf2df320a817", IsUnique = true)] +public class NoteReaction { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the NoteReaction. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("noteId")] [StringLength(32)] public string NoteId { get; set; } = null!; + + [Column("reaction")] + [StringLength(260)] + public string Reaction { get; set; } = null!; + + [ForeignKey("NoteId")] + [InverseProperty("NoteReactions")] + public virtual Note Note { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("NoteReactions")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/NoteThreadMuting.cs b/Iceshrimp.Backend/Core/Database/Tables/NoteThreadMuting.cs new file mode 100644 index 00000000..dae602d8 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/NoteThreadMuting.cs @@ -0,0 +1,28 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("note_thread_muting")] +[Index("UserId", Name = "IDX_29c11c7deb06615076f8c95b80")] +[Index("UserId", "ThreadId", Name = "IDX_ae7aab18a2641d3e5f25e0c4ea", IsUnique = true)] +[Index("ThreadId", Name = "IDX_c426394644267453e76f036926")] +public class NoteThreadMuting { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("createdAt")] public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("threadId")] + [StringLength(256)] + public string ThreadId { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("NoteThreadMutings")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/NoteUnread.cs b/Iceshrimp.Backend/Core/Database/Tables/NoteUnread.cs new file mode 100644 index 00000000..d4958bcf --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/NoteUnread.cs @@ -0,0 +1,50 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("note_unread")] +[Index("IsMentioned", Name = "IDX_25b1dd384bec391b07b74b861c")] +[Index("NoteUserId", Name = "IDX_29e8c1d579af54d4232939f994")] +[Index("UserId", Name = "IDX_56b0166d34ddae49d8ef7610bb")] +[Index("NoteChannelId", Name = "IDX_6a57f051d82c6d4036c141e107")] +[Index("IsSpecified", Name = "IDX_89a29c9237b8c3b6b3cbb4cb30")] +[Index("UserId", "NoteId", Name = "IDX_d908433a4953cc13216cd9c274", IsUnique = true)] +[Index("NoteId", Name = "IDX_e637cba4dc4410218c4251260e")] +public class NoteUnread { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("noteId")] [StringLength(32)] public string NoteId { get; set; } = null!; + + /// + /// [Denormalized] + /// + [Column("noteUserId")] + [StringLength(32)] + public string NoteUserId { get; set; } = null!; + + [Column("isSpecified")] public bool IsSpecified { get; set; } + + [Column("isMentioned")] public bool IsMentioned { get; set; } + + /// + /// [Denormalized] + /// + [Column("noteChannelId")] + [StringLength(32)] + public string? NoteChannelId { get; set; } + + [ForeignKey("NoteId")] + [InverseProperty("NoteUnreads")] + public virtual Note Note { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("NoteUnreads")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/NoteWatching.cs b/Iceshrimp.Backend/Core/Database/Tables/NoteWatching.cs new file mode 100644 index 00000000..3df2ad04 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/NoteWatching.cs @@ -0,0 +1,53 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("note_watching")] +[Index("NoteId", Name = "IDX_03e7028ab8388a3f5e3ce2a861")] +[Index("CreatedAt", Name = "IDX_318cdf42a9cfc11f479bd802bb")] +[Index("NoteUserId", Name = "IDX_44499765eec6b5489d72c4253b")] +[Index("UserId", "NoteId", Name = "IDX_a42c93c69989ce1d09959df4cf", IsUnique = true)] +[Index("UserId", Name = "IDX_b0134ec406e8d09a540f818288")] +public class NoteWatching { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the NoteWatching. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The watcher ID. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// The target Note ID. + /// + [Column("noteId")] + [StringLength(32)] + public string NoteId { get; set; } = null!; + + /// + /// [Denormalized] + /// + [Column("noteUserId")] + [StringLength(32)] + public string NoteUserId { get; set; } = null!; + + [ForeignKey("NoteId")] + [InverseProperty("NoteWatchings")] + public virtual Note Note { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("NoteWatchings")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Notification.cs b/Iceshrimp.Backend/Core/Database/Tables/Notification.cs new file mode 100644 index 00000000..0867c1f2 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Notification.cs @@ -0,0 +1,100 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("notification")] +[Index("IsRead", Name = "IDX_080ab397c379af09b9d2169e5b")] +[Index("NotifierId", Name = "IDX_3b4e96eec8d36a8bbb9d02aa71")] +[Index("NotifieeId", Name = "IDX_3c601b70a1066d2c8b517094cb")] +[Index("CreatedAt", Name = "IDX_b11a5e627c41d4dc3170f1d370")] +[Index("AppAccessTokenId", Name = "IDX_e22bf6bda77b6adc1fd9e75c8c")] +public class Notification { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Notification. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The ID of recipient user of the Notification. + /// + [Column("notifieeId")] + [StringLength(32)] + public string NotifieeId { get; set; } = null!; + + /// + /// The ID of sender user of the Notification. + /// + [Column("notifierId")] + [StringLength(32)] + public string? NotifierId { get; set; } + + /// + /// Whether the notification was read. + /// + [Column("isRead")] + public bool IsRead { get; set; } + + [Column("noteId")] [StringLength(32)] public string? NoteId { get; set; } + + [Column("reaction")] + [StringLength(128)] + public string? Reaction { get; set; } + + [Column("choice")] public int? Choice { get; set; } + + [Column("followRequestId")] + [StringLength(32)] + public string? FollowRequestId { get; set; } + + [Column("userGroupInvitationId")] + [StringLength(32)] + public string? UserGroupInvitationId { get; set; } + + [Column("customBody")] + [StringLength(2048)] + public string? CustomBody { get; set; } + + [Column("customHeader")] + [StringLength(256)] + public string? CustomHeader { get; set; } + + [Column("customIcon")] + [StringLength(1024)] + public string? CustomIcon { get; set; } + + [Column("appAccessTokenId")] + [StringLength(32)] + public string? AppAccessTokenId { get; set; } + + [ForeignKey("AppAccessTokenId")] + [InverseProperty("Notifications")] + public virtual AccessToken? AppAccessToken { get; set; } + + [ForeignKey("FollowRequestId")] + [InverseProperty("Notifications")] + public virtual FollowRequest? FollowRequest { get; set; } + + [ForeignKey("NoteId")] + [InverseProperty("Notifications")] + public virtual Note? Note { get; set; } + + [ForeignKey("NotifieeId")] + [InverseProperty("NotificationNotifiees")] + public virtual User Notifiee { get; set; } = null!; + + [ForeignKey("NotifierId")] + [InverseProperty("NotificationNotifiers")] + public virtual User? Notifier { get; set; } + + [ForeignKey("UserGroupInvitationId")] + [InverseProperty("Notifications")] + public virtual UserGroupInvitation? UserGroupInvitation { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/OauthApp.cs b/Iceshrimp.Backend/Core/Database/Tables/OauthApp.cs new file mode 100644 index 00000000..fbdc2e7a --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/OauthApp.cs @@ -0,0 +1,62 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("oauth_app")] +[Index("ClientId", Name = "IDX_65b61f406c811241e1315a2f82", IsUnique = true)] +public class OauthApp { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the OAuth application + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The client id of the OAuth application + /// + [Column("clientId")] + [StringLength(64)] + public string ClientId { get; set; } = null!; + + /// + /// The client secret of the OAuth application + /// + [Column("clientSecret")] + [StringLength(64)] + public string ClientSecret { get; set; } = null!; + + /// + /// The name of the OAuth application + /// + [Column("name")] + [StringLength(128)] + public string Name { get; set; } = null!; + + /// + /// The website of the OAuth application + /// + [Column("website")] + [StringLength(256)] + public string? Website { get; set; } + + /// + /// The scopes requested by the OAuth application + /// + [Column("scopes", TypeName = "character varying(64)[]")] + public List Scopes { get; set; } = null!; + + /// + /// The redirect URIs of the OAuth application + /// + [Column("redirectUris", TypeName = "character varying(512)[]")] + public List RedirectUris { get; set; } = null!; + + [InverseProperty("App")] public virtual ICollection OauthTokens { get; set; } = new List(); +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/OauthToken.cs b/Iceshrimp.Backend/Core/Database/Tables/OauthToken.cs new file mode 100644 index 00000000..cfd3c65e --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/OauthToken.cs @@ -0,0 +1,66 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("oauth_token")] +[Index("Token", Name = "IDX_2cbeb4b389444bcf4379ef4273")] +[Index("Code", Name = "IDX_dc5fe174a8b59025055f0ec136")] +public class OauthToken { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the OAuth token + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("appId")] [StringLength(32)] public string AppId { get; set; } = null!; + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + /// + /// The auth code for the OAuth token + /// + [Column("code")] + [StringLength(64)] + public string Code { get; set; } = null!; + + /// + /// The OAuth token + /// + [Column("token")] + [StringLength(64)] + public string Token { get; set; } = null!; + + /// + /// Whether or not the token has been activated + /// + [Column("active")] + public bool Active { get; set; } + + /// + /// The scopes requested by the OAuth token + /// + [Column("scopes", TypeName = "character varying(64)[]")] + public List Scopes { get; set; } = null!; + + /// + /// The redirect URI of the OAuth token + /// + [Column("redirectUri")] + [StringLength(512)] + public string RedirectUri { get; set; } = null!; + + [ForeignKey("AppId")] + [InverseProperty("OauthTokens")] + public virtual OauthApp App { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("OauthTokens")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Page.cs b/Iceshrimp.Backend/Core/Database/Tables/Page.cs new file mode 100644 index 00000000..2f8d4335 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Page.cs @@ -0,0 +1,85 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("page")] +[Index("UserId", "Name", Name = "IDX_2133ef8317e4bdb839c0dcbf13", IsUnique = true)] +[Index("VisibleUserIds", Name = "IDX_90148bbc2bf0854428786bfc15")] +[Index("UserId", Name = "IDX_ae1d917992dd0c9d9bbdad06c4")] +[Index("UpdatedAt", Name = "IDX_af639b066dfbca78b01a920f8a")] +[Index("Name", Name = "IDX_b82c19c08afb292de4600d99e4")] +[Index("CreatedAt", Name = "IDX_fbb4297c927a9b85e9cefa2eb1")] +public class Page { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Page. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The updated date of the Page. + /// + [Column("updatedAt")] + public DateTime UpdatedAt { get; set; } + + [Column("title")] [StringLength(256)] public string Title { get; set; } = null!; + + [Column("name")] [StringLength(256)] public string Name { get; set; } = null!; + + [Column("summary")] + [StringLength(256)] + public string? Summary { get; set; } + + [Column("alignCenter")] public bool AlignCenter { get; set; } + + [Column("font")] [StringLength(32)] public string Font { get; set; } = null!; + + /// + /// The ID of author. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + [Column("eyeCatchingImageId")] + [StringLength(32)] + public string? EyeCatchingImageId { get; set; } + + [Column("content", TypeName = "jsonb")] + public string Content { get; set; } = null!; + + [Column("variables", TypeName = "jsonb")] + public string Variables { get; set; } = null!; + + [Column("visibleUserIds", TypeName = "character varying(32)[]")] + public List VisibleUserIds { get; set; } = null!; + + [Column("likedCount")] public int LikedCount { get; set; } + + [Column("hideTitleWhenPinned")] public bool HideTitleWhenPinned { get; set; } + + [Column("script")] + [StringLength(16384)] + public string Script { get; set; } = null!; + + [Column("isPublic")] public bool IsPublic { get; set; } + + [ForeignKey("EyeCatchingImageId")] + [InverseProperty("Pages")] + public virtual DriveFile? EyeCatchingImage { get; set; } + + [InverseProperty("Page")] public virtual ICollection PageLikes { get; set; } = new List(); + + [ForeignKey("UserId")] + [InverseProperty("Pages")] + public virtual User User { get; set; } = null!; + + [InverseProperty("PinnedPage")] public virtual UserProfile? UserProfile { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/PageLike.cs b/Iceshrimp.Backend/Core/Database/Tables/PageLike.cs new file mode 100644 index 00000000..0aae5ee2 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/PageLike.cs @@ -0,0 +1,29 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("page_like")] +[Index("UserId", Name = "IDX_0e61efab7f88dbb79c9166dbb4")] +[Index("UserId", "PageId", Name = "IDX_4ce6fb9c70529b4c8ac46c9bfa", IsUnique = true)] +public class PageLike { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("createdAt")] public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("pageId")] [StringLength(32)] public string PageId { get; set; } = null!; + + [ForeignKey("PageId")] + [InverseProperty("PageLikes")] + public virtual Page Page { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("PageLikes")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/PasswordResetRequest.cs b/Iceshrimp.Backend/Core/Database/Tables/PasswordResetRequest.cs new file mode 100644 index 00000000..70a04f92 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/PasswordResetRequest.cs @@ -0,0 +1,25 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("password_reset_request")] +[Index("Token", Name = "IDX_0b575fa9a4cfe638a925949285", IsUnique = true)] +[Index("UserId", Name = "IDX_4bb7fd4a34492ae0e6cc8d30ac")] +public class PasswordResetRequest { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("createdAt")] public DateTime CreatedAt { get; set; } + + [Column("token")] [StringLength(256)] public string Token { get; set; } = null!; + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("PasswordResetRequests")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Poll.cs b/Iceshrimp.Backend/Core/Database/Tables/Poll.cs new file mode 100644 index 00000000..6db24dc6 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Poll.cs @@ -0,0 +1,42 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("poll")] +[Index("UserId", Name = "IDX_0610ebcfcfb4a18441a9bcdab2")] +[Index("UserHost", Name = "IDX_7fa20a12319c7f6dc3aed98c0a")] +public class Poll { + [Key] + [Column("noteId")] + [StringLength(32)] + public string NoteId { get; set; } = null!; + + [Column("expiresAt")] public DateTime? ExpiresAt { get; set; } + + [Column("multiple")] public bool Multiple { get; set; } + + [Column("choices", TypeName = "character varying(256)[]")] + public List Choices { get; set; } = null!; + + [Column("votes")] public List Votes { get; set; } = null!; + + /// + /// [Denormalized] + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// [Denormalized] + /// + [Column("userHost")] + [StringLength(512)] + public string? UserHost { get; set; } + + [ForeignKey("NoteId")] + [InverseProperty("Poll")] + public virtual Note Note { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/PollVote.cs b/Iceshrimp.Backend/Core/Database/Tables/PollVote.cs new file mode 100644 index 00000000..5cc335de --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/PollVote.cs @@ -0,0 +1,37 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("poll_vote")] +[Index("CreatedAt", Name = "IDX_0fb627e1c2f753262a74f0562d")] +[Index("UserId", "NoteId", "Choice", Name = "IDX_50bd7164c5b78f1f4a42c4d21f", IsUnique = true)] +[Index("UserId", Name = "IDX_66d2bd2ee31d14bcc23069a89f")] +[Index("NoteId", Name = "IDX_aecfbd5ef60374918e63ee95fa")] +public class PollVote { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the PollVote. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("noteId")] [StringLength(32)] public string NoteId { get; set; } = null!; + + [Column("choice")] public int Choice { get; set; } + + [ForeignKey("NoteId")] + [InverseProperty("PollVotes")] + public virtual Note Note { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("PollVotes")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/PromoNote.cs b/Iceshrimp.Backend/Core/Database/Tables/PromoNote.cs new file mode 100644 index 00000000..6551026b --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/PromoNote.cs @@ -0,0 +1,27 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("promo_note")] +[Index("UserId", Name = "IDX_83f0862e9bae44af52ced7099e")] +public class PromoNote { + [Key] + [Column("noteId")] + [StringLength(32)] + public string NoteId { get; set; } = null!; + + [Column("expiresAt")] public DateTime ExpiresAt { get; set; } + + /// + /// [Denormalized] + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + [ForeignKey("NoteId")] + [InverseProperty("PromoNote")] + public virtual Note Note { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/PromoRead.cs b/Iceshrimp.Backend/Core/Database/Tables/PromoRead.cs new file mode 100644 index 00000000..b2d22789 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/PromoRead.cs @@ -0,0 +1,33 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("promo_read")] +[Index("UserId", "NoteId", Name = "IDX_2882b8a1a07c7d281a98b6db16", IsUnique = true)] +[Index("UserId", Name = "IDX_9657d55550c3d37bfafaf7d4b0")] +public class PromoRead { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the PromoRead. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("noteId")] [StringLength(32)] public string NoteId { get; set; } = null!; + + [ForeignKey("NoteId")] + [InverseProperty("PromoReads")] + public virtual Note Note { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("PromoReads")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/RegistrationTicket.cs b/Iceshrimp.Backend/Core/Database/Tables/RegistrationTicket.cs new file mode 100644 index 00000000..aa082317 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/RegistrationTicket.cs @@ -0,0 +1,18 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("registration_ticket")] +[Index("Code", Name = "IDX_0ff69e8dfa9fe31bb4a4660f59", IsUnique = true)] +public class RegistrationTicket { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("createdAt")] public DateTime CreatedAt { get; set; } + + [Column("code")] [StringLength(64)] public string Code { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/RegistryItem.cs b/Iceshrimp.Backend/Core/Database/Tables/RegistryItem.cs new file mode 100644 index 00000000..7743c1b0 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/RegistryItem.cs @@ -0,0 +1,57 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("registry_item")] +[Index("Domain", Name = "IDX_0a72bdfcdb97c0eca11fe7ecad")] +[Index("Scope", Name = "IDX_22baca135bb8a3ea1a83d13df3")] +[Index("UserId", Name = "IDX_fb9d21ba0abb83223263df6bcb")] +public class RegistryItem { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the RegistryItem. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The updated date of the RegistryItem. + /// + [Column("updatedAt")] + public DateTime UpdatedAt { get; set; } + + /// + /// The owner ID. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// The key of the RegistryItem. + /// + [Column("key")] + [StringLength(1024)] + public string Key { get; set; } = null!; + + [Column("scope", TypeName = "character varying(1024)[]")] + public List Scope { get; set; } = null!; + + [Column("domain")] [StringLength(512)] public string? Domain { get; set; } + + /// + /// The value of the RegistryItem. + /// + [Column("value", TypeName = "jsonb")] + public string? Value { get; set; } + + [ForeignKey("UserId")] + [InverseProperty("RegistryItems")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Relay.cs b/Iceshrimp.Backend/Core/Database/Tables/Relay.cs new file mode 100644 index 00000000..f7475fcb --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Relay.cs @@ -0,0 +1,16 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("relay")] +[Index("Inbox", Name = "IDX_0d9a1738f2cf7f3b1c3334dfab", IsUnique = true)] +public class Relay { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("inbox")] [StringLength(512)] public string Inbox { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/RenoteMuting.cs b/Iceshrimp.Backend/Core/Database/Tables/RenoteMuting.cs new file mode 100644 index 00000000..71f40951 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/RenoteMuting.cs @@ -0,0 +1,45 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("renote_muting")] +[Index("MuterId", "MuteeId", Name = "IDX_0d801c609cec4e9eb4b6b4490c", IsUnique = true)] +[Index("MuterId", Name = "IDX_7aa72a5fe76019bfe8e5e0e8b7")] +[Index("MuteeId", Name = "IDX_7eac97594bcac5ffcf2068089b")] +[Index("CreatedAt", Name = "IDX_d1259a2c2b7bb413ff449e8711")] +public class RenoteMuting { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Muting. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The mutee user ID. + /// + [Column("muteeId")] + [StringLength(32)] + public string MuteeId { get; set; } = null!; + + /// + /// The muter user ID. + /// + [Column("muterId")] + [StringLength(32)] + public string MuterId { get; set; } = null!; + + [ForeignKey("MuteeId")] + [InverseProperty("RenoteMutingMutees")] + public virtual User Mutee { get; set; } = null!; + + [ForeignKey("MuterId")] + [InverseProperty("RenoteMutingMuters")] + public virtual User Muter { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Session.cs b/Iceshrimp.Backend/Core/Database/Tables/Session.cs new file mode 100644 index 00000000..aa42bbac --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Session.cs @@ -0,0 +1,39 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("session")] +[Index("Token", Name = "IDX_232f8e85d7633bd6ddfad42169")] +public class Session { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the OAuth token + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + /// + /// The authorization token + /// + [Column("token")] + [StringLength(64)] + public string Token { get; set; } = null!; + + /// + /// Whether or not the token has been activated (i.e. 2fa has been confirmed) + /// + [Column("active")] + public bool Active { get; set; } + + [ForeignKey("UserId")] + [InverseProperty("Sessions")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Signin.cs b/Iceshrimp.Backend/Core/Database/Tables/Signin.cs new file mode 100644 index 00000000..631c9c91 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Signin.cs @@ -0,0 +1,33 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("signin")] +[Index("UserId", Name = "IDX_2c308dbdc50d94dc625670055f")] +public class Signin { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Signin. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("ip")] [StringLength(128)] public string Ip { get; set; } = null!; + + [Column("headers", TypeName = "jsonb")] + public string Headers { get; set; } = null!; + + [Column("success")] public bool Success { get; set; } + + [ForeignKey("UserId")] + [InverseProperty("Signins")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/SwSubscription.cs b/Iceshrimp.Backend/Core/Database/Tables/SwSubscription.cs new file mode 100644 index 00000000..b04f22e4 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/SwSubscription.cs @@ -0,0 +1,34 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("sw_subscription")] +[Index("UserId", Name = "IDX_97754ca6f2baff9b4abb7f853d")] +public class SwSubscription { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("createdAt")] public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("endpoint")] + [StringLength(512)] + public string Endpoint { get; set; } = null!; + + [Column("auth")] [StringLength(256)] public string Auth { get; set; } = null!; + + [Column("publickey")] + [StringLength(128)] + public string Publickey { get; set; } = null!; + + [Column("sendReadMessage")] public bool SendReadMessage { get; set; } + + [ForeignKey("UserId")] + [InverseProperty("SwSubscriptions")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UsedUsername.cs b/Iceshrimp.Backend/Core/Database/Tables/UsedUsername.cs new file mode 100644 index 00000000..21b41b75 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UsedUsername.cs @@ -0,0 +1,14 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("used_username")] +public class UsedUsername { + [Key] + [Column("username")] + [StringLength(128)] + public string Username { get; set; } = null!; + + [Column("createdAt")] public DateTime CreatedAt { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/User.cs b/Iceshrimp.Backend/Core/Database/Tables/User.cs new file mode 100644 index 00000000..89432245 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/User.cs @@ -0,0 +1,428 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user")] +[Index("Host", Name = "IDX_3252a5df8d5bbd16b281f7799e")] +[Index("UsernameLower", "Host", Name = "IDX_5deb01ae162d1d70b80d064c27", IsUnique = true)] +[Index("UpdatedAt", Name = "IDX_80ca6e6ef65fb9ef34ea8c90f4")] +[Index("UsernameLower", Name = "IDX_a27b942a0d6dcff90e3ee9b5e8")] +[Index("Token", Name = "IDX_a854e557b1b14814750c7c7b0c", IsUnique = true)] +[Index("Uri", Name = "IDX_be623adaa4c566baf5d29ce0c8")] +[Index("LastActiveDate", Name = "IDX_c8cc87bd0f2f4487d17c651fbf")] +[Index("IsExplorable", Name = "IDX_d5a1b83c7cab66f167e6888188")] +[Index("CreatedAt", Name = "IDX_e11e649824a45d8ed01d597fd9")] +[Index("Tags", Name = "IDX_fa99d777623947a5b05f394cae")] +[Index("AvatarId", Name = "REL_58f5c71eaab331645112cf8cfa", IsUnique = true)] +[Index("BannerId", Name = "REL_afc64b53f8db3707ceb34eb28e", IsUnique = true)] +[Index("Token", Name = "UQ_a854e557b1b14814750c7c7b0c9", IsUnique = true)] +public class User { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the User. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The updated date of the User. + /// + [Column("updatedAt")] + public DateTime? UpdatedAt { get; set; } + + [Column("lastFetchedAt")] public DateTime? LastFetchedAt { get; set; } + + /// + /// The username of the User. + /// + [Column("username")] + [StringLength(128)] + public string Username { get; set; } = null!; + + /// + /// The username (lowercased) of the User. + /// + [Column("usernameLower")] + [StringLength(128)] + public string UsernameLower { get; set; } = null!; + + /// + /// The name of the User. + /// + [Column("name")] + [StringLength(128)] + public string? Name { get; set; } + + /// + /// The count of followers. + /// + [Column("followersCount")] + public int FollowersCount { get; set; } + + /// + /// The count of following. + /// + [Column("followingCount")] + public int FollowingCount { get; set; } + + /// + /// The count of notes. + /// + [Column("notesCount")] + public int NotesCount { get; set; } + + /// + /// The ID of avatar DriveFile. + /// + [Column("avatarId")] + [StringLength(32)] + public string? AvatarId { get; set; } + + /// + /// The ID of banner DriveFile. + /// + [Column("bannerId")] + [StringLength(32)] + public string? BannerId { get; set; } + + [Column("tags", TypeName = "character varying(128)[]")] + public List Tags { get; set; } = null!; + + /// + /// Whether the User is suspended. + /// + [Column("isSuspended")] + public bool IsSuspended { get; set; } + + /// + /// Whether the User is silenced. + /// + [Column("isSilenced")] + public bool IsSilenced { get; set; } + + /// + /// Whether the User is locked. + /// + [Column("isLocked")] + public bool IsLocked { get; set; } + + /// + /// Whether the User is a bot. + /// + [Column("isBot")] + public bool IsBot { get; set; } + + /// + /// Whether the User is a cat. + /// + [Column("isCat")] + public bool IsCat { get; set; } + + /// + /// Whether the User is the admin. + /// + [Column("isAdmin")] + public bool IsAdmin { get; set; } + + /// + /// Whether the User is a moderator. + /// + [Column("isModerator")] + public bool IsModerator { get; set; } + + [Column("emojis", TypeName = "character varying(128)[]")] + public List Emojis { get; set; } = null!; + + /// + /// The host of the User. It will be null if the origin of the user is local. + /// + [Column("host")] + [StringLength(512)] + public string? Host { get; set; } + + /// + /// The inbox URL of the User. It will be null if the origin of the user is local. + /// + [Column("inbox")] + [StringLength(512)] + public string? Inbox { get; set; } + + /// + /// The sharedInbox URL of the User. It will be null if the origin of the user is local. + /// + [Column("sharedInbox")] + [StringLength(512)] + public string? SharedInbox { get; set; } + + /// + /// The featured URL of the User. It will be null if the origin of the user is local. + /// + [Column("featured")] + [StringLength(512)] + public string? Featured { get; set; } + + /// + /// The URI of the User. It will be null if the origin of the user is local. + /// + [Column("uri")] + [StringLength(512)] + public string? Uri { get; set; } + + /// + /// The native access token of the User. It will be null if the origin of the user is local. + /// + [Column("token")] + [StringLength(16)] + public string? Token { get; set; } + + /// + /// Whether the User is explorable. + /// + [Column("isExplorable")] + public bool IsExplorable { get; set; } + + /// + /// The URI of the user Follower Collection. It will be null if the origin of the user is local. + /// + [Column("followersUri")] + [StringLength(512)] + public string? FollowersUri { get; set; } + + [Column("lastActiveDate")] public DateTime? LastActiveDate { get; set; } + + [Column("hideOnlineStatus")] public bool HideOnlineStatus { get; set; } + + /// + /// Whether the User is deleted. + /// + [Column("isDeleted")] + public bool IsDeleted { get; set; } + + /// + /// Overrides user drive capacity limit + /// + [Column("driveCapacityOverrideMb")] + public int? DriveCapacityOverrideMb { get; set; } + + /// + /// The URI of the new account of the User + /// + [Column("movedToUri")] + [StringLength(512)] + public string? MovedToUri { get; set; } + + /// + /// URIs the user is known as too + /// + [Column("alsoKnownAs")] + public string? AlsoKnownAs { get; set; } + + /// + /// Whether to speak as a cat if isCat. + /// + [Column("speakAsCat")] + public bool SpeakAsCat { get; set; } + + /// + /// The URL of the avatar DriveFile + /// + [Column("avatarUrl")] + [StringLength(512)] + public string? AvatarUrl { get; set; } + + /// + /// The blurhash of the avatar DriveFile + /// + [Column("avatarBlurhash")] + [StringLength(128)] + public string? AvatarBlurhash { get; set; } + + /// + /// The URL of the banner DriveFile + /// + [Column("bannerUrl")] + [StringLength(512)] + public string? BannerUrl { get; set; } + + /// + /// The blurhash of the banner DriveFile + /// + [Column("bannerBlurhash")] + [StringLength(128)] + public string? BannerBlurhash { get; set; } + + [InverseProperty("Assignee")] + public virtual ICollection AbuseUserReportAssignees { get; set; } = new List(); + + [InverseProperty("Reporter")] + public virtual ICollection AbuseUserReportReporters { get; set; } = new List(); + + [InverseProperty("TargetUser")] + public virtual ICollection AbuseUserReportTargetUsers { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection AccessTokens { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection AnnouncementReads { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection Antennas { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection Apps { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection AttestationChallenges { get; set; } = + new List(); + + [InverseProperty("User")] + public virtual ICollection AuthSessions { get; set; } = new List(); + + [ForeignKey("AvatarId")] + [InverseProperty("UserAvatar")] + public virtual DriveFile? Avatar { get; set; } + + [ForeignKey("BannerId")] + [InverseProperty("UserBanner")] + public virtual DriveFile? Banner { get; set; } + + [InverseProperty("Blockee")] + public virtual ICollection BlockingBlockees { get; set; } = new List(); + + [InverseProperty("Blocker")] + public virtual ICollection BlockingBlockers { get; set; } = new List(); + + [InverseProperty("Follower")] + public virtual ICollection ChannelFollowings { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection Channels { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection Clips { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection DriveFiles { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection DriveFolders { get; set; } = new List(); + + [InverseProperty("Followee")] + public virtual ICollection FollowRequestFollowees { get; set; } = new List(); + + [InverseProperty("Follower")] + public virtual ICollection FollowRequestFollowers { get; set; } = new List(); + + [InverseProperty("Followee")] + public virtual ICollection FollowingFollowees { get; set; } = new List(); + + [InverseProperty("Follower")] + public virtual ICollection FollowingFollowers { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection GalleryLikes { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection GalleryPosts { get; set; } = new List(); + + [InverseProperty("User")] public virtual HtmlUserCacheEntry? HtmlUserCacheEntry { get; set; } + + [InverseProperty("Recipient")] + public virtual ICollection MessagingMessageRecipients { get; set; } = + new List(); + + [InverseProperty("User")] + public virtual ICollection MessagingMessageUsers { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection ModerationLogs { get; set; } = new List(); + + [InverseProperty("Mutee")] public virtual ICollection MutingMutees { get; set; } = new List(); + + [InverseProperty("Muter")] public virtual ICollection MutingMuters { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection NoteFavorites { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection NoteReactions { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection NoteThreadMutings { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection NoteUnreads { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection NoteWatchings { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection Notes { get; set; } = new List(); + + [InverseProperty("Notifiee")] + public virtual ICollection NotificationNotifiees { get; set; } = new List(); + + [InverseProperty("Notifier")] + public virtual ICollection NotificationNotifiers { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection OauthTokens { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection PageLikes { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection Pages { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection PasswordResetRequests { get; set; } = + new List(); + + [InverseProperty("User")] public virtual ICollection PollVotes { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection PromoReads { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection RegistryItems { get; set; } = new List(); + + [InverseProperty("Mutee")] + public virtual ICollection RenoteMutingMutees { get; set; } = new List(); + + [InverseProperty("Muter")] + public virtual ICollection RenoteMutingMuters { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection Sessions { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection Signins { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection SwSubscriptions { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection UserGroupInvitations { get; set; } = + new List(); + + [InverseProperty("User")] + public virtual ICollection UserGroupInvites { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection UserGroupJoinings { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection UserGroups { get; set; } = new List(); + + [InverseProperty("User")] public virtual UserKeypair? UserKeypair { get; set; } + + [InverseProperty("User")] + public virtual ICollection UserListJoinings { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection UserLists { get; set; } = new List(); + + [InverseProperty("User")] + public virtual ICollection UserNotePinings { get; set; } = new List(); + + [InverseProperty("User")] public virtual UserProfile? UserProfile { get; set; } + + [InverseProperty("User")] public virtual UserPublickey? UserPublickey { get; set; } + + [InverseProperty("User")] + public virtual ICollection UserSecurityKeys { get; set; } = new List(); + + [InverseProperty("User")] public virtual ICollection Webhooks { get; set; } = new List(); +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserGroup.cs b/Iceshrimp.Backend/Core/Database/Tables/UserGroup.cs new file mode 100644 index 00000000..827f66af --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserGroup.cs @@ -0,0 +1,49 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_group")] +[Index("CreatedAt", Name = "IDX_20e30aa35180e317e133d75316")] +[Index("UserId", Name = "IDX_3d6b372788ab01be58853003c9")] +public class UserGroup { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the UserGroup. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("name")] [StringLength(256)] public string Name { get; set; } = null!; + + /// + /// The ID of owner. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + [Column("isPrivate")] public bool IsPrivate { get; set; } + + [InverseProperty("Group")] + public virtual ICollection MessagingMessages { get; set; } = new List(); + + [ForeignKey("UserId")] + [InverseProperty("UserGroups")] + public virtual User User { get; set; } = null!; + + [InverseProperty("UserGroup")] + public virtual ICollection UserGroupInvitations { get; set; } = + new List(); + + [InverseProperty("UserGroup")] + public virtual ICollection UserGroupInvites { get; set; } = new List(); + + [InverseProperty("UserGroup")] + public virtual ICollection UserGroupJoinings { get; set; } = new List(); +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserGroupInvitation.cs b/Iceshrimp.Backend/Core/Database/Tables/UserGroupInvitation.cs new file mode 100644 index 00000000..9b72ec76 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserGroupInvitation.cs @@ -0,0 +1,47 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_group_invitation")] +[Index("UserGroupId", Name = "IDX_5cc8c468090e129857e9fecce5")] +[Index("UserId", Name = "IDX_bfbc6305547539369fe73eb144")] +[Index("UserId", "UserGroupId", Name = "IDX_e9793f65f504e5a31fbaedbf2f", IsUnique = true)] +public class UserGroupInvitation { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the UserGroupInvitation. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The user ID. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// The group ID. + /// + [Column("userGroupId")] + [StringLength(32)] + public string UserGroupId { get; set; } = null!; + + [InverseProperty("UserGroupInvitation")] + public virtual ICollection Notifications { get; set; } = new List(); + + [ForeignKey("UserId")] + [InverseProperty("UserGroupInvitations")] + public virtual User User { get; set; } = null!; + + [ForeignKey("UserGroupId")] + [InverseProperty("UserGroupInvitations")] + public virtual UserGroup UserGroup { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserGroupInvite.cs b/Iceshrimp.Backend/Core/Database/Tables/UserGroupInvite.cs new file mode 100644 index 00000000..2109b237 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserGroupInvite.cs @@ -0,0 +1,32 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_group_invite")] +[Index("UserId", Name = "IDX_1039988afa3bf991185b277fe0")] +[Index("UserId", "UserGroupId", Name = "IDX_78787741f9010886796f2320a4", IsUnique = true)] +[Index("UserGroupId", Name = "IDX_e10924607d058004304611a436")] +public class UserGroupInvite { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("createdAt")] public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("userGroupId")] + [StringLength(32)] + public string UserGroupId { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("UserGroupInvites")] + public virtual User User { get; set; } = null!; + + [ForeignKey("UserGroupId")] + [InverseProperty("UserGroupInvites")] + public virtual UserGroup UserGroup { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserGroupJoining.cs b/Iceshrimp.Backend/Core/Database/Tables/UserGroupJoining.cs new file mode 100644 index 00000000..d7c7355a --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserGroupJoining.cs @@ -0,0 +1,47 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_group_joining")] +[Index("UserGroupId", Name = "IDX_67dc758bc0566985d1b3d39986")] +[Index("UserId", "UserGroupId", Name = "IDX_d9ecaed8c6dc43f3592c229282", IsUnique = true)] +[Index("UserId", Name = "IDX_f3a1b4bd0c7cabba958a0c0b23")] +public class UserGroupJoining { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the UserGroupJoining. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The user ID. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// The group ID. + /// + [Column("userGroupId")] + [StringLength(32)] + public string UserGroupId { get; set; } = null!; + + [InverseProperty("UserGroupJoining")] + public virtual ICollection Antennas { get; set; } = new List(); + + [ForeignKey("UserId")] + [InverseProperty("UserGroupJoinings")] + public virtual User User { get; set; } = null!; + + [ForeignKey("UserGroupId")] + [InverseProperty("UserGroupJoinings")] + public virtual UserGroup UserGroup { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserIp.cs b/Iceshrimp.Backend/Core/Database/Tables/UserIp.cs new file mode 100644 index 00000000..b1f273ca --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserIp.cs @@ -0,0 +1,18 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_ip")] +[Index("UserId", "Ip", Name = "IDX_361b500e06721013c124b7b6c5", IsUnique = true)] +[Index("UserId", Name = "IDX_7f7f1c66f48e9a8e18a33bc515")] +public class UserIp { + [Key] [Column("id")] public int Id { get; set; } + + [Column("createdAt")] public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("ip")] [StringLength(128)] public string Ip { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserKeypair.cs b/Iceshrimp.Backend/Core/Database/Tables/UserKeypair.cs new file mode 100644 index 00000000..7a2f109f --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserKeypair.cs @@ -0,0 +1,24 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_keypair")] +public class UserKeypair { + [Key] + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + [Column("publicKey")] + [StringLength(4096)] + public string PublicKey { get; set; } = null!; + + [Column("privateKey")] + [StringLength(4096)] + public string PrivateKey { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("UserKeypair")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserList.cs b/Iceshrimp.Backend/Core/Database/Tables/UserList.cs new file mode 100644 index 00000000..f8e6a7cd --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserList.cs @@ -0,0 +1,49 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_list")] +[Index("UserId", Name = "IDX_b7fcefbdd1c18dce86687531f9")] +public class UserList { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the UserList. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The owner ID. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// The name of the UserList. + /// + [Column("name")] + [StringLength(128)] + public string Name { get; set; } = null!; + + /// + /// Whether posts from list members should be hidden from the home timeline. + /// + [Column("hideFromHomeTl")] + public bool HideFromHomeTl { get; set; } + + [InverseProperty("UserList")] public virtual ICollection Antennas { get; set; } = new List(); + + [ForeignKey("UserId")] + [InverseProperty("UserLists")] + public virtual User User { get; set; } = null!; + + [InverseProperty("UserList")] + public virtual ICollection UserListJoinings { get; set; } = new List(); +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserListJoining.cs b/Iceshrimp.Backend/Core/Database/Tables/UserListJoining.cs new file mode 100644 index 00000000..eeca30f9 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserListJoining.cs @@ -0,0 +1,44 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_list_joining")] +[Index("UserListId", Name = "IDX_605472305f26818cc93d1baaa7")] +[Index("UserId", "UserListId", Name = "IDX_90f7da835e4c10aca6853621e1", IsUnique = true)] +[Index("UserId", Name = "IDX_d844bfc6f3f523a05189076efa")] +public class UserListJoining { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the UserListJoining. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The user ID. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// The list ID. + /// + [Column("userListId")] + [StringLength(32)] + public string UserListId { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("UserListJoinings")] + public virtual User User { get; set; } = null!; + + [ForeignKey("UserListId")] + [InverseProperty("UserListJoinings")] + public virtual UserList UserList { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserNotePining.cs b/Iceshrimp.Backend/Core/Database/Tables/UserNotePining.cs new file mode 100644 index 00000000..972ac576 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserNotePining.cs @@ -0,0 +1,33 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_note_pining")] +[Index("UserId", "NoteId", Name = "IDX_410cd649884b501c02d6e72738", IsUnique = true)] +[Index("UserId", Name = "IDX_bfbc6f79ba4007b4ce5097f08d")] +public class UserNotePining { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the UserNotePinings. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + [Column("noteId")] [StringLength(32)] public string NoteId { get; set; } = null!; + + [ForeignKey("NoteId")] + [InverseProperty("UserNotePinings")] + public virtual Note Note { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("UserNotePinings")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserPending.cs b/Iceshrimp.Backend/Core/Database/Tables/UserPending.cs new file mode 100644 index 00000000..5b9b0fde --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserPending.cs @@ -0,0 +1,28 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_pending")] +[Index("Code", Name = "IDX_4e5c4c99175638ec0761714ab0", IsUnique = true)] +public class UserPending { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + [Column("createdAt")] public DateTime CreatedAt { get; set; } + + [Column("code")] [StringLength(128)] public string Code { get; set; } = null!; + + [Column("username")] + [StringLength(128)] + public string Username { get; set; } = null!; + + [Column("email")] [StringLength(128)] public string Email { get; set; } = null!; + + [Column("password")] + [StringLength(128)] + public string Password { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserProfile.cs b/Iceshrimp.Backend/Core/Database/Tables/UserProfile.cs new file mode 100644 index 00000000..bb4dfac6 --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserProfile.cs @@ -0,0 +1,157 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_profile")] +[Index("EnableWordMute", Name = "IDX_3befe6f999c86aff06eb0257b4")] +[Index("UserHost", Name = "IDX_dce530b98e454793dac5ec2f5a")] +[Index("PinnedPageId", Name = "UQ_6dc44f1ceb65b1e72bacef2ca27", IsUnique = true)] +public class UserProfile { + [Key] + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// The location of the User. + /// + [Column("location")] + [StringLength(128)] + public string? Location { get; set; } + + /// + /// The birthday (YYYY-MM-DD) of the User. + /// + [Column("birthday")] + [StringLength(10)] + public string? Birthday { get; set; } + + /// + /// The description (bio) of the User. + /// + [Column("description")] + [StringLength(2048)] + public string? Description { get; set; } + + [Column("fields", TypeName = "jsonb")] public string Fields { get; set; } = null!; + + /// + /// Remote URL of the user. + /// + [Column("url")] + [StringLength(512)] + public string? Url { get; set; } + + /// + /// The email address of the User. + /// + [Column("email")] + [StringLength(128)] + public string? Email { get; set; } + + [Column("emailVerifyCode")] + [StringLength(128)] + public string? EmailVerifyCode { get; set; } + + [Column("emailVerified")] public bool EmailVerified { get; set; } + + [Column("twoFactorTempSecret")] + [StringLength(128)] + public string? TwoFactorTempSecret { get; set; } + + [Column("twoFactorSecret")] + [StringLength(128)] + public string? TwoFactorSecret { get; set; } + + [Column("twoFactorEnabled")] public bool TwoFactorEnabled { get; set; } + + /// + /// The password hash of the User. It will be null if the origin of the user is local. + /// + [Column("password")] + [StringLength(128)] + public string? Password { get; set; } + + /// + /// The client-specific data of the User. + /// + [Column("clientData", TypeName = "jsonb")] + public string ClientData { get; set; } = null!; + + [Column("autoAcceptFollowed")] public bool AutoAcceptFollowed { get; set; } + + [Column("alwaysMarkNsfw")] public bool AlwaysMarkNsfw { get; set; } + + [Column("carefulBot")] public bool CarefulBot { get; set; } + + /// + /// [Denormalized] + /// + [Column("userHost")] + [StringLength(512)] + public string? UserHost { get; set; } + + [Column("securityKeysAvailable")] public bool SecurityKeysAvailable { get; set; } + + [Column("usePasswordLessLogin")] public bool UsePasswordLessLogin { get; set; } + + [Column("pinnedPageId")] + [StringLength(32)] + public string? PinnedPageId { get; set; } + + /// + /// The room data of the User. + /// + [Column("room", TypeName = "jsonb")] + public string Room { get; set; } = null!; + + [Column("integrations", TypeName = "jsonb")] + public string Integrations { get; set; } = null!; + + [Column("injectFeaturedNote")] public bool InjectFeaturedNote { get; set; } + + [Column("enableWordMute")] public bool EnableWordMute { get; set; } + + [Column("mutedWords", TypeName = "jsonb")] + public string MutedWords { get; set; } = null!; + + /// + /// Whether reject index by crawler. + /// + [Column("noCrawle")] + public bool NoCrawle { get; set; } + + [Column("receiveAnnouncementEmail")] public bool ReceiveAnnouncementEmail { get; set; } + + [Column("emailNotificationTypes", TypeName = "jsonb")] + public string EmailNotificationTypes { get; set; } = null!; + + [Column("lang")] [StringLength(32)] public string? Lang { get; set; } + + /// + /// List of instances muted by the user. + /// + [Column("mutedInstances", TypeName = "jsonb")] + public string MutedInstances { get; set; } = null!; + + [Column("publicReactions")] public bool PublicReactions { get; set; } + + [Column("moderationNote")] + [StringLength(8192)] + public string ModerationNote { get; set; } = null!; + + [Column("preventAiLearning")] public bool PreventAiLearning { get; set; } + + [Column("mentions", TypeName = "jsonb")] + public string Mentions { get; set; } = null!; + + [ForeignKey("PinnedPageId")] + [InverseProperty("UserProfile")] + public virtual Page? PinnedPage { get; set; } + + [ForeignKey("UserId")] + [InverseProperty("UserProfile")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserPublickey.cs b/Iceshrimp.Backend/Core/Database/Tables/UserPublickey.cs new file mode 100644 index 00000000..cdf770ca --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserPublickey.cs @@ -0,0 +1,24 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_publickey")] +[Index("KeyId", Name = "IDX_171e64971c780ebd23fae140bb", IsUnique = true)] +public class UserPublickey { + [Key] + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + [Column("keyId")] [StringLength(512)] public string KeyId { get; set; } = null!; + + [Column("keyPem")] + [StringLength(4096)] + public string KeyPem { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("UserPublickey")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserSecurityKey.cs b/Iceshrimp.Backend/Core/Database/Tables/UserSecurityKey.cs new file mode 100644 index 00000000..4749a5ad --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/UserSecurityKey.cs @@ -0,0 +1,42 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("user_security_key")] +[Index("PublicKey", Name = "IDX_0d7718e562dcedd0aa5cf2c9f7")] +[Index("UserId", Name = "IDX_ff9ca3b5f3ee3d0681367a9b44")] +public class UserSecurityKey { + /// + /// Variable-length id given to navigator.credentials.get() + /// + [Key] + [Column("id", TypeName = "character varying")] + public string Id { get; set; } = null!; + + [Column("userId")] [StringLength(32)] public string UserId { get; set; } = null!; + + /// + /// Variable-length public key used to verify attestations (hex-encoded). + /// + [Column("publicKey", TypeName = "character varying")] + public string PublicKey { get; set; } = null!; + + /// + /// The date of the last time the UserSecurityKey was successfully validated. + /// + [Column("lastUsed")] + public DateTime LastUsed { get; set; } + + /// + /// User-defined name for this key + /// + [Column("name")] + [StringLength(30)] + public string Name { get; set; } = null!; + + [ForeignKey("UserId")] + [InverseProperty("UserSecurityKeys")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Database/Tables/Webhook.cs b/Iceshrimp.Backend/Core/Database/Tables/Webhook.cs new file mode 100644 index 00000000..12a6915b --- /dev/null +++ b/Iceshrimp.Backend/Core/Database/Tables/Webhook.cs @@ -0,0 +1,55 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace Iceshrimp.Backend.Core.Database.Tables; + +[Table("webhook")] +[Index("Active", Name = "IDX_5a056076f76b2efe08216ba655")] +[Index("On", Name = "IDX_8063a0586ed1dfbe86e982d961")] +[Index("UserId", Name = "IDX_f272c8c8805969e6a6449c77b3")] +public class Webhook { + [Key] + [Column("id")] + [StringLength(32)] + public string Id { get; set; } = null!; + + /// + /// The created date of the Antenna. + /// + [Column("createdAt")] + public DateTime CreatedAt { get; set; } + + /// + /// The owner ID. + /// + [Column("userId")] + [StringLength(32)] + public string UserId { get; set; } = null!; + + /// + /// The name of the Antenna. + /// + [Column("name")] + [StringLength(128)] + public string Name { get; set; } = null!; + + [Column("on", TypeName = "character varying(128)[]")] + public List On { get; set; } = null!; + + [Column("url")] [StringLength(1024)] public string Url { get; set; } = null!; + + [Column("secret")] + [StringLength(1024)] + public string Secret { get; set; } = null!; + + [Column("active")] public bool Active { get; set; } + + [Column("latestSentAt")] public DateTime? LatestSentAt { get; set; } + + [Column("latestStatus")] public int? LatestStatus { get; set; } + + [ForeignKey("UserId")] + [InverseProperty("Webhooks")] + public virtual User User { get; set; } = null!; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/ASSerializer.cs b/Iceshrimp.Backend/Core/Federation/ActivityStreams/ASSerializer.cs new file mode 100644 index 00000000..e82019a8 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/ASSerializer.cs @@ -0,0 +1,34 @@ +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; + +namespace Iceshrimp.Backend.Core.Federation.ActivityStreams; + +public static class ASSerializer { + public class ListSingleObjectConverter : JsonConverter { + public override bool CanWrite => false; + + public override bool CanConvert(Type objectType) { + return true; + } + + public override object? ReadJson(JsonReader reader, Type objectType, object? existingValue, + JsonSerializer serializer) { + if (reader.TokenType == JsonToken.StartArray) { + var obj = JArray.Load(reader); + var list = obj.ToObject>(); + return list == null || list.Count == 0 ? null : list[0]; + } + + if (reader.TokenType == JsonToken.StartObject) { + var obj = JObject.Load(reader); + return obj.ToObject(); + } + + return null; + } + + public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) { + throw new NotImplementedException(); + } + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/as.json b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/as.json new file mode 100644 index 00000000..bd703726 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/as.json @@ -0,0 +1,379 @@ +{ + "@context": { + "@vocab": "_:", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "as": "https://www.w3.org/ns/activitystreams#", + "ldp": "http://www.w3.org/ns/ldp#", + "vcard": "http://www.w3.org/2006/vcard/ns#", + "id": "@id", + "type": "@type", + "Accept": "as:Accept", + "Activity": "as:Activity", + "IntransitiveActivity": "as:IntransitiveActivity", + "Add": "as:Add", + "Announce": "as:Announce", + "Application": "as:Application", + "Arrive": "as:Arrive", + "Article": "as:Article", + "Audio": "as:Audio", + "Block": "as:Block", + "Collection": "as:Collection", + "CollectionPage": "as:CollectionPage", + "Relationship": "as:Relationship", + "Create": "as:Create", + "Delete": "as:Delete", + "Dislike": "as:Dislike", + "Document": "as:Document", + "Event": "as:Event", + "Follow": "as:Follow", + "Flag": "as:Flag", + "Group": "as:Group", + "Ignore": "as:Ignore", + "Image": "as:Image", + "Invite": "as:Invite", + "Join": "as:Join", + "Leave": "as:Leave", + "Like": "as:Like", + "Link": "as:Link", + "Mention": "as:Mention", + "Note": "as:Note", + "Object": "as:Object", + "Offer": "as:Offer", + "OrderedCollection": "as:OrderedCollection", + "OrderedCollectionPage": "as:OrderedCollectionPage", + "Organization": "as:Organization", + "Page": "as:Page", + "Person": "as:Person", + "Place": "as:Place", + "Profile": "as:Profile", + "Question": "as:Question", + "Reject": "as:Reject", + "Remove": "as:Remove", + "Service": "as:Service", + "TentativeAccept": "as:TentativeAccept", + "TentativeReject": "as:TentativeReject", + "Tombstone": "as:Tombstone", + "Undo": "as:Undo", + "Update": "as:Update", + "Video": "as:Video", + "View": "as:View", + "Listen": "as:Listen", + "Read": "as:Read", + "Move": "as:Move", + "Travel": "as:Travel", + "IsFollowing": "as:IsFollowing", + "IsFollowedBy": "as:IsFollowedBy", + "IsContact": "as:IsContact", + "IsMember": "as:IsMember", + "subject": { + "@id": "as:subject", + "@type": "@id" + }, + "relationship": { + "@id": "as:relationship", + "@type": "@id" + }, + "actor": { + "@id": "as:actor", + "@type": "@id" + }, + "attributedTo": { + "@id": "as:attributedTo", + "@type": "@id" + }, + "attachment": { + "@id": "as:attachment", + "@type": "@id" + }, + "bcc": { + "@id": "as:bcc", + "@type": "@id" + }, + "bto": { + "@id": "as:bto", + "@type": "@id" + }, + "cc": { + "@id": "as:cc", + "@type": "@id" + }, + "context": { + "@id": "as:context", + "@type": "@id" + }, + "current": { + "@id": "as:current", + "@type": "@id" + }, + "first": { + "@id": "as:first", + "@type": "@id" + }, + "generator": { + "@id": "as:generator", + "@type": "@id" + }, + "icon": { + "@id": "as:icon", + "@type": "@id" + }, + "image": { + "@id": "as:image", + "@type": "@id" + }, + "inReplyTo": { + "@id": "as:inReplyTo", + "@type": "@id" + }, + "items": { + "@id": "as:items", + "@type": "@id" + }, + "instrument": { + "@id": "as:instrument", + "@type": "@id" + }, + "orderedItems": { + "@id": "as:items", + "@type": "@id", + "@container": "@list" + }, + "last": { + "@id": "as:last", + "@type": "@id" + }, + "location": { + "@id": "as:location", + "@type": "@id" + }, + "next": { + "@id": "as:next", + "@type": "@id" + }, + "object": { + "@id": "as:object", + "@type": "@id" + }, + "oneOf": { + "@id": "as:oneOf", + "@type": "@id" + }, + "anyOf": { + "@id": "as:anyOf", + "@type": "@id" + }, + "closed": { + "@id": "as:closed", + "@type": "xsd:dateTime" + }, + "origin": { + "@id": "as:origin", + "@type": "@id" + }, + "accuracy": { + "@id": "as:accuracy", + "@type": "xsd:float" + }, + "prev": { + "@id": "as:prev", + "@type": "@id" + }, + "preview": { + "@id": "as:preview", + "@type": "@id" + }, + "replies": { + "@id": "as:replies", + "@type": "@id" + }, + "result": { + "@id": "as:result", + "@type": "@id" + }, + "audience": { + "@id": "as:audience", + "@type": "@id" + }, + "partOf": { + "@id": "as:partOf", + "@type": "@id" + }, + "tag": { + "@id": "as:tag", + "@type": "@id" + }, + "target": { + "@id": "as:target", + "@type": "@id" + }, + "to": { + "@id": "as:to", + "@type": "@id" + }, + "url": { + "@id": "as:url", + "@type": "@id" + }, + "altitude": { + "@id": "as:altitude", + "@type": "xsd:float" + }, + "content": "as:content", + "contentMap": { + "@id": "as:content", + "@container": "@language" + }, + "name": "as:name", + "nameMap": { + "@id": "as:name", + "@container": "@language" + }, + "duration": { + "@id": "as:duration", + "@type": "xsd:duration" + }, + "endTime": { + "@id": "as:endTime", + "@type": "xsd:dateTime" + }, + "height": { + "@id": "as:height", + "@type": "xsd:nonNegativeInteger" + }, + "href": { + "@id": "as:href", + "@type": "@id" + }, + "hreflang": "as:hreflang", + "latitude": { + "@id": "as:latitude", + "@type": "xsd:float" + }, + "longitude": { + "@id": "as:longitude", + "@type": "xsd:float" + }, + "mediaType": "as:mediaType", + "published": { + "@id": "as:published", + "@type": "xsd:dateTime" + }, + "radius": { + "@id": "as:radius", + "@type": "xsd:float" + }, + "rel": "as:rel", + "startIndex": { + "@id": "as:startIndex", + "@type": "xsd:nonNegativeInteger" + }, + "startTime": { + "@id": "as:startTime", + "@type": "xsd:dateTime" + }, + "summary": "as:summary", + "summaryMap": { + "@id": "as:summary", + "@container": "@language" + }, + "totalItems": { + "@id": "as:totalItems", + "@type": "xsd:nonNegativeInteger" + }, + "units": "as:units", + "updated": { + "@id": "as:updated", + "@type": "xsd:dateTime" + }, + "width": { + "@id": "as:width", + "@type": "xsd:nonNegativeInteger" + }, + "describes": { + "@id": "as:describes", + "@type": "@id" + }, + "formerType": { + "@id": "as:formerType", + "@type": "@id" + }, + "deleted": { + "@id": "as:deleted", + "@type": "xsd:dateTime" + }, + "inbox": { + "@id": "ldp:inbox", + "@type": "@id" + }, + "outbox": { + "@id": "as:outbox", + "@type": "@id" + }, + "following": { + "@id": "as:following", + "@type": "@id" + }, + "followers": { + "@id": "as:followers", + "@type": "@id" + }, + "streams": { + "@id": "as:streams", + "@type": "@id" + }, + "preferredUsername": "as:preferredUsername", + "endpoints": { + "@id": "as:endpoints", + "@type": "@id" + }, + "uploadMedia": { + "@id": "as:uploadMedia", + "@type": "@id" + }, + "proxyUrl": { + "@id": "as:proxyUrl", + "@type": "@id" + }, + "liked": { + "@id": "as:liked", + "@type": "@id" + }, + "oauthAuthorizationEndpoint": { + "@id": "as:oauthAuthorizationEndpoint", + "@type": "@id" + }, + "oauthTokenEndpoint": { + "@id": "as:oauthTokenEndpoint", + "@type": "@id" + }, + "provideClientKey": { + "@id": "as:provideClientKey", + "@type": "@id" + }, + "signClientKey": { + "@id": "as:signClientKey", + "@type": "@id" + }, + "sharedInbox": { + "@id": "as:sharedInbox", + "@type": "@id" + }, + "Public": { + "@id": "as:Public", + "@type": "@id" + }, + "source": "as:source", + "likes": { + "@id": "as:likes", + "@type": "@id" + }, + "shares": { + "@id": "as:shares", + "@type": "@id" + }, + "alsoKnownAs": { + "@id": "as:alsoKnownAs", + "@type": "@id" + } + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/default.json b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/default.json new file mode 100644 index 00000000..255756e7 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/default.json @@ -0,0 +1,31 @@ +{ + "@context": [ + "https://www.w3.org/ns/activitystreams", + "https://w3id.org/security/v1", + { + "manuallyApprovesFollowers": "as:manuallyApprovesFollowers", + "movedToUri": "as:movedTo", + "sensitive": "as:sensitive", + "Hashtag": "as:Hashtag", + "quoteUri": "fedibird:quoteUri", + "quoteUrl": "as:quoteUrl", + "toot": "http://joinmastodon.org/ns#", + "Emoji": "toot:Emoji", + "featured": "toot:featured", + "discoverable": "toot:discoverable", + "schema": "http://schema.org#", + "PropertyValue": "schema:PropertyValue", + "value": "schema:value", + "misskey": "https://misskey-hub.net/ns#", + "_misskey_content": "misskey:_misskey_content", + "_misskey_quote": "misskey:_misskey_quote", + "_misskey_reaction": "misskey:_misskey_reaction", + "_misskey_votes": "misskey:_misskey_votes", + "_misskey_talk": "misskey:_misskey_talk", + "_misskey_summary": "misskey:_misskey_summary", + "isCat": "misskey:isCat", + "fedibird": "http://fedibird.com/ns#", + "vcard": "http://www.w3.org/2006/vcard/ns#" + } + ] +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/security.json b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/security.json new file mode 100644 index 00000000..eef2989b --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Contexts/security.json @@ -0,0 +1,74 @@ +{ + "@context": { + "id": "@id", + "type": "@type", + "dc": "http://purl.org/dc/terms/", + "sec": "https://w3id.org/security#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "EcdsaKoblitzSignature2016": "sec:EcdsaKoblitzSignature2016", + "Ed25519Signature2018": "sec:Ed25519Signature2018", + "EncryptedMessage": "sec:EncryptedMessage", + "GraphSignature2012": "sec:GraphSignature2012", + "LinkedDataSignature2015": "sec:LinkedDataSignature2015", + "LinkedDataSignature2016": "sec:LinkedDataSignature2016", + "CryptographicKey": "sec:Key", + "authenticationTag": "sec:authenticationTag", + "canonicalizationAlgorithm": "sec:canonicalizationAlgorithm", + "cipherAlgorithm": "sec:cipherAlgorithm", + "cipherData": "sec:cipherData", + "cipherKey": "sec:cipherKey", + "created": { + "@id": "dc:created", + "@type": "xsd:dateTime" + }, + "creator": { + "@id": "dc:creator", + "@type": "@id" + }, + "digestAlgorithm": "sec:digestAlgorithm", + "digestValue": "sec:digestValue", + "domain": "sec:domain", + "encryptionKey": "sec:encryptionKey", + "expiration": { + "@id": "sec:expiration", + "@type": "xsd:dateTime" + }, + "expires": { + "@id": "sec:expiration", + "@type": "xsd:dateTime" + }, + "initializationVector": "sec:initializationVector", + "iterationCount": "sec:iterationCount", + "nonce": "sec:nonce", + "normalizationAlgorithm": "sec:normalizationAlgorithm", + "owner": { + "@id": "sec:owner", + "@type": "@id" + }, + "password": "sec:password", + "privateKey": { + "@id": "sec:privateKey", + "@type": "@id" + }, + "privateKeyPem": "sec:privateKeyPem", + "publicKey": { + "@id": "sec:publicKey", + "@type": "@id" + }, + "publicKeyBase58": "sec:publicKeyBase58", + "publicKeyPem": "sec:publicKeyPem", + "publicKeyWif": "sec:publicKeyWif", + "publicKeyService": { + "@id": "sec:publicKeyService", + "@type": "@id" + }, + "revoked": { + "@id": "sec:revoked", + "@type": "xsd:dateTime" + }, + "salt": "sec:salt", + "signature": "sec:signature", + "signatureAlgorithm": "sec:signingAlgorithm", + "signatureValue": "sec:signatureValue" + } +} diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/LDHelpers.cs b/Iceshrimp.Backend/Core/Federation/ActivityStreams/LDHelpers.cs new file mode 100644 index 00000000..1eb13e00 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/LDHelpers.cs @@ -0,0 +1,78 @@ +using System.Collections; +using System.Globalization; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using VDS.RDF; +using VDS.RDF.JsonLd; +using VDS.RDF.Parsing; +using VDS.RDF.Writing.Formatting; + +namespace Iceshrimp.Backend.Core.Federation.ActivityStreams; + +public static class LDHelpers { + private static readonly JsonLdProcessorOptions Options = new() { DocumentLoader = CustomLoader }; + + public static readonly Dictionary ContextCache = new() { + { + "https://www.w3.org/ns/activitystreams", new RemoteDocument { + ContextUrl = new Uri("https://www.w3.org/ns/activitystreams"), + DocumentUrl = new Uri("https://www.w3.org/ns/activitystreams"), + Document = JToken.Parse(File.ReadAllText(Path.Combine("Core", "Federation", "ActivityStreams", + "Contexts", "as.json"))) + } + }, { + "https://w3id.org/security/v1", new RemoteDocument { + ContextUrl = new Uri("https://w3id.org/security/v1"), + DocumentUrl = new Uri("https://w3c-ccg.github.io/security-vocab/contexts/security-v1.jsonld"), + Document = JToken.Parse(File.ReadAllText(Path.Combine("Core", "Federation", "ActivityStreams", + "Contexts", "security.json"))) + } + } + }; + + public static readonly JToken DefaultContext = + JToken.Parse(File.ReadAllText(Path.Combine("Core", "Federation", "ActivityStreams", "Contexts", + "default.json"))); + + private static RemoteDocument CustomLoader(Uri uri, JsonLdLoaderOptions jsonLdLoaderOptions) { + //TODO: cache in redis + RemoteDocument? result; + ContextCache.TryGetValue(uri.ToString(), out result); + if (result != null) return result; + result = DefaultDocumentLoader.LoadJson(uri, jsonLdLoaderOptions); + ContextCache.Add(uri.ToString(), result); + + return result; + } + + private static string NormalizeForSignature(IEnumerable input) { + //TODO: Find a way to convert JSON-LD to RDF directly + //TODO: Fix XMLSchema#string thingy /properly/ + var store = new TripleStore(); + new JsonLdParser(new JsonLdProcessorOptions { DocumentLoader = CustomLoader, PruneBlankNodeIdentifiers = true }) + .Load(store, new StringReader(JsonConvert.SerializeObject(input))); + //Console.WriteLine(store.Triples.SkipLast(1).Last().Object); + + var formatter = new NQuadsFormatter(NQuadsSyntax.Rdf11); + Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture; + var ordered = store.Triples + .Select(p => formatter.Format(p).Replace("^^", "")) + .Order().ToList(); + var processedP1 = ordered.Where(p => p.StartsWith('_')).ToList(); + var processedP2 = ordered.Except(processedP1); + + return string.Join('\n', processedP2.Union(processedP1)); + } + + public static JArray? Expand(JToken? json) { + return JsonLdProcessor.Expand(json, Options); + } + + public static JObject? Compact(JToken? json) { + return JsonLdProcessor.Compact(json, DefaultContext, Options); + } + + public static JObject? Compact(object obj) { + return Compact(JToken.FromObject(obj)); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASActor.cs b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASActor.cs new file mode 100644 index 00000000..27e29c21 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASActor.cs @@ -0,0 +1,79 @@ +using J = Newtonsoft.Json.JsonPropertyAttribute; +using JC = Newtonsoft.Json.JsonConverterAttribute; +using VC = Iceshrimp.Backend.Core.Federation.ActivityStreams.Types.ValueObjectConverter; + +namespace Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; + +public class ASActor : ASObject { + [J("https://misskey-hub.net/ns#_misskey_summary")] + [JC(typeof(VC))] + public string? MkSummary { get; set; } + + [J("https://www.w3.org/ns/activitystreams#summary")] + [JC(typeof(VC))] + public string? Summary { get; set; } + + [J("https://www.w3.org/ns/activitystreams#name")] + [JC(typeof(VC))] + public string? DisplayName { get; set; } + + [J("https://www.w3.org/ns/activitystreams#preferredUsername")] + [JC(typeof(VC))] + public string? Username { get; set; } + + [J("http://joinmastodon.org/ns#discoverable")] + [JC(typeof(VC))] + public bool? IsDiscoverable { get; set; } + + [J("http://joinmastodon.org/ns#indexable")] + [JC(typeof(VC))] + public bool? IsIndexable { get; set; } + + [J("http://joinmastodon.org/ns#memorial")] + [JC(typeof(VC))] + public bool? IsMemorial { get; set; } + + [J("https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers")] + [JC(typeof(VC))] + public bool? IsLocked { get; set; } + + [J("https://misskey-hub.net/ns#isCat")] + [JC(typeof(VC))] + public bool? IsCat { get; set; } + + [J("http://www.w3.org/2006/vcard/ns#Address")] + [JC(typeof(VC))] + public string? Location { get; set; } + + [J("http://www.w3.org/2006/vcard/ns#bday")] + [JC(typeof(VC))] + public string? Birthday { get; set; } + + [J("https://www.w3.org/ns/activitystreams#endpoints")] + [JC(typeof(ASEndpointsConverter))] + public ASEndpoints? Endpoints { get; set; } + + [J("https://www.w3.org/ns/activitystreams#outbox")] + [JC(typeof(ASCollectionConverter))] + public ASCollection? Outbox { get; set; } + + [J("http://www.w3.org/ns/ldp#inbox")] + [JC(typeof(ASLinkConverter))] + public ASLink? Inbox { get; set; } + + [J("https://www.w3.org/ns/activitystreams#followers")] + [JC(typeof(ASCollectionConverter))] + public ASCollection? Followers { get; set; } + + [J("https://www.w3.org/ns/activitystreams#following")] + [JC(typeof(ASCollectionConverter))] + public ASCollection? Following { get; set; } + + [J("https://www.w3.org/ns/activitystreams#sharedInbox")] + [JC(typeof(ASLinkConverter))] + public ASLink? SharedInbox { get; set; } + + [J("https://www.w3.org/ns/activitystreams#url")] + [JC(typeof(ASLinkConverter))] + public ASLink? Url { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASCollection.cs b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASCollection.cs new file mode 100644 index 00000000..a8616492 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASCollection.cs @@ -0,0 +1,69 @@ +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using J = Newtonsoft.Json.JsonPropertyAttribute; +using JC = Newtonsoft.Json.JsonConverterAttribute; +using VC = Iceshrimp.Backend.Core.Federation.ActivityStreams.Types.ValueObjectConverter; + +namespace Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; + +public class ASCollection(string id) : LDIdObject(id) where T : ASObject { + [J("https://www.w3.org/ns/activitystreams#items")] + [JC(typeof(ASCollectionItemsConverter))] + public List? Items { get; set; } + + [J("https://www.w3.org/ns/activitystreams#totalItems")] + [JC(typeof(VC))] + public int? TotalItems { get; set; } +} + +public sealed class ASCollection(string id) : ASCollection(id); + +public sealed class ASCollectionConverter : ASSerializer.ListSingleObjectConverter; + +internal sealed class ASCollectionItemsConverter : JsonConverter { + public override bool CanWrite => false; + + public override bool CanConvert(Type objectType) { + return true; + } + + public override object? ReadJson(JsonReader reader, Type objectType, object? existingValue, + JsonSerializer serializer) { + if (reader.TokenType != JsonToken.StartArray) throw new Exception("this shouldn't happen"); + + var obj = JArray.Load(reader); + if (obj.Count == 0) return null; + + var list = new List(); + foreach (var item in obj.SelectToken("..@list")!.Children()) + if (item.Type == JTokenType.String) { + list.Add(new ASObject { Id = item.Value() }); + } + else if (item.Type == JTokenType.Object) { + if (item["@type"]?[0]?.Type != JTokenType.String) + throw new Exception("this shouldn't happen"); + + ASObject? itemObj = item["@type"]?[0]?.Value() switch { + "https://www.w3.org/ns/activitystreams#Application" => item.ToObject(), + "https://www.w3.org/ns/activitystreams#Group" => item.ToObject(), + "https://www.w3.org/ns/activitystreams#Organization" => item.ToObject(), + "https://www.w3.org/ns/activitystreams#Person" => item.ToObject(), + "https://www.w3.org/ns/activitystreams#Service" => item.ToObject(), + "https://www.w3.org/ns/activitystreams#Note" => item.ToObject(), + "https://www.w3.org/ns/activitystreams#Create" => throw new ArgumentOutOfRangeException(), + _ => null + }; + + if (itemObj != null) list.Add(itemObj); + } + else { + throw new Exception("blablabla"); + } + + return list; + } + + public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) { + throw new NotImplementedException(); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASEndpoints.cs b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASEndpoints.cs new file mode 100644 index 00000000..5823e327 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASEndpoints.cs @@ -0,0 +1,12 @@ +using J = Newtonsoft.Json.JsonPropertyAttribute; +using JC = Newtonsoft.Json.JsonConverterAttribute; + +namespace Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; + +public class ASEndpoints { + [J("https://www.w3.org/ns/activitystreams#sharedInbox")] + [JC(typeof(LDIdObjectConverter))] + public LDIdObject? SharedInbox { get; set; } +} + +public class ASEndpointsConverter : ASSerializer.ListSingleObjectConverter; \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASLink.cs b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASLink.cs new file mode 100644 index 00000000..79cd6d04 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASLink.cs @@ -0,0 +1,16 @@ +using J = Newtonsoft.Json.JsonPropertyAttribute; + +namespace Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; + +public class ASLink(string url) : LDIdObject(url) { + [J("https://www.w3.org/ns/activitystreams#href")] + public string? Href { get; set; } + + public string? Link => Id ?? Href; + + public override string? ToString() { + return Link; + } +} + +public class ASLinkConverter : ASSerializer.ListSingleObjectConverter; \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASNote.cs b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASNote.cs new file mode 100644 index 00000000..331151d5 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASNote.cs @@ -0,0 +1,36 @@ +using J = Newtonsoft.Json.JsonPropertyAttribute; +using JC = Newtonsoft.Json.JsonConverterAttribute; +using VC = Iceshrimp.Backend.Core.Federation.ActivityStreams.Types.ValueObjectConverter; + +namespace Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; + +public class ASNote : ASObject { + [J("https://misskey-hub.net/ns#_misskey_content")] + [JC(typeof(VC))] + public string? MkContent { get; set; } + + [J("https://www.w3.org/ns/activitystreams#content")] + [JC(typeof(VC))] + public string? Content { get; set; } + + [J("https://www.w3.org/ns/activitystreams#sensitive")] + [JC(typeof(VC))] + public bool? Sensitive { get; set; } + + [J("https://www.w3.org/ns/activitystreams#published")] + [JC(typeof(VC))] + public DateTime? PublishedAt { get; set; } + + [J("https://www.w3.org/ns/activitystreams#source")] + [JC(typeof(ASNoteSourceConverter))] + public ASNoteSource? Source { get; set; } + + [J("https://www.w3.org/ns/activitystreams#to")] + public List? To { get; set; } = []; + + [J("https://www.w3.org/ns/activitystreams#cc")] + public List? Cc { get; set; } = []; + + [J("https://www.w3.org/ns/activitystreams#attributedTo")] + public List? AttributedTo { get; set; } = []; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASNoteSource.cs b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASNoteSource.cs new file mode 100644 index 00000000..c47bcca4 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASNoteSource.cs @@ -0,0 +1,17 @@ +using J = Newtonsoft.Json.JsonPropertyAttribute; +using JC = Newtonsoft.Json.JsonConverterAttribute; +using VC = Iceshrimp.Backend.Core.Federation.ActivityStreams.Types.ValueObjectConverter; + +namespace Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; + +public class ASNoteSource { + [J("https://www.w3.org/ns/activitystreams#content")] + [JC(typeof(VC))] + public string? Content { get; set; } + + [J("https://www.w3.org/ns/activitystreams#mediaType")] + [JC(typeof(VC))] + public string? MediaType { get; set; } +} + +public class ASNoteSourceConverter : ASSerializer.ListSingleObjectConverter; \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASObject.cs b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASObject.cs new file mode 100644 index 00000000..35b48e93 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASObject.cs @@ -0,0 +1,8 @@ +using J = Newtonsoft.Json.JsonPropertyAttribute; + +namespace Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; + +public class ASObject { + [J("@id")] public string? Id { get; set; } + [J("@type")] public List? Type { get; set; } //TODO: does this really need to be a list? +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASOrderedCollection.cs b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASOrderedCollection.cs new file mode 100644 index 00000000..c20e78ca --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/ASOrderedCollection.cs @@ -0,0 +1,8 @@ +using J = Newtonsoft.Json.JsonPropertyAttribute; + +namespace Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; + +public class ASOrderedCollection(string id) : ASCollection(id) where T : ASObject { + [J("https://www.w3.org/ns/activitystreams#orderedItems")] + public List? OrderedItems { get; set; } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/LDIdObject.cs b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/LDIdObject.cs new file mode 100644 index 00000000..5cce19da --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/LDIdObject.cs @@ -0,0 +1,13 @@ +using J = Newtonsoft.Json.JsonPropertyAttribute; + +namespace Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; + +public class LDIdObject(string id) { + [J("@id")] public string? Id { get; set; } = id; + + public override string? ToString() { + return Id; + } +} + +public sealed class LDIdObjectConverter : ASSerializer.ListSingleObjectConverter; \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/LDValueObject.cs b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/LDValueObject.cs new file mode 100644 index 00000000..3814cbe6 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/ActivityStreams/Types/LDValueObject.cs @@ -0,0 +1,39 @@ +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using J = Newtonsoft.Json.JsonPropertyAttribute; + +namespace Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; + +public class LDValueObject { + [J("@type")] public string? Type { get; set; } + [J("@value")] public required T Value { get; set; } +} + +public class ValueObjectConverter : JsonConverter { + public override bool CanWrite => false; + + public override bool CanConvert(Type objectType) { + return true; + } + + public override object? ReadJson(JsonReader reader, Type objectType, object? existingValue, + JsonSerializer serializer) { + if (reader.TokenType == JsonToken.StartArray) { + var obj = JArray.Load(reader); + var list = obj.ToObject>>(); + return list == null || list.Count == 0 ? null : list[0].Value; + } + + if (reader.TokenType == JsonToken.StartObject) { + var obj = JObject.Load(reader); + var finalObj = obj.ToObject>(); + return finalObj?.Value; + } + + return null; + } + + public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) { + throw new NotImplementedException(); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Federation/Fetch.cs b/Iceshrimp.Backend/Core/Federation/Fetch.cs new file mode 100644 index 00000000..9d641ea8 --- /dev/null +++ b/Iceshrimp.Backend/Core/Federation/Fetch.cs @@ -0,0 +1,68 @@ +using System.Net.Http.Headers; +using Iceshrimp.Backend.Core.Database; +using Iceshrimp.Backend.Core.Database.Tables; +using Iceshrimp.Backend.Core.Federation.ActivityStreams; +using Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; + +namespace Iceshrimp.Backend.Core.Federation; + +public class Fetch { + private const string Accept = "application/activity+json"; + + //TODO: required attribute doesn't work with Newtonsoft.Json it appears + //TODO: enforce @type values + + public static void Test2() { + var thing = FetchActivity("https://staging.e2net.social/users/9esresfwle/outbox?page=true"); + var collection = thing.ToObject>(); + + /*ASObject test; + test = new ASActor {Id = "asd", Type = ["asd"], Username = "asd"}; + if (test is ASNote note) { + Console.WriteLine(note.PublishedAt); + } + else if (test is ASActor actor) { + Console.WriteLine(actor.Username); + }*/ + + //FetchActivity("https://mastodon.social/@eugen"); + //FetchActivity("https://0w0.is/users/yassie_j"); + //var activity = FetchActivity("https://staging.e2net.social/notes/9koh2bdfcwzzfewv"); + //var notes = activity.ToObject>(); + //notes?.ForEach(PerformActivity); + //notes?.ForEach(p => Console.WriteLine(p.PublishedAt)); + } + + public static void PerformActivity(ASNote note) { + var db = new DatabaseContext(); + var actorUri = note.AttributedTo?.FirstOrDefault()?.Id; + if (actorUri == null) return; + var user = db.Users.FirstOrDefault(p => p.Uri == actorUri) ?? FetchUser(actorUri); + Console.WriteLine($"PerformActivity: {user.Username}@{user.Host ?? "localhost"}"); + } + + public static User FetchUser(string uri) { + Console.WriteLine($"Fetching user: {uri}"); + var activity = FetchActivity(uri); + var actor = activity.ToObject>(); + return new User { + Username = actor![0].Username!, + Host = new Uri(uri).Host + }; + } + + public static JArray FetchActivity(string url) { + var client = new HttpClient { + DefaultRequestHeaders = { Accept = { MediaTypeWithQualityHeaderValue.Parse(Accept) } } + }; + + var input = client.GetAsync(url).Result.Content.ReadAsStringAsync().Result; + var json = JsonConvert.DeserializeObject(input); + + var res = LDHelpers.Expand(json); + if (res == null) throw new Exception(); + return res; + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Helpers/AuthHelpers.cs b/Iceshrimp.Backend/Core/Helpers/AuthHelpers.cs new file mode 100644 index 00000000..f28ca2a0 --- /dev/null +++ b/Iceshrimp.Backend/Core/Helpers/AuthHelpers.cs @@ -0,0 +1,12 @@ +using System.Diagnostics.CodeAnalysis; +using Isopoh.Cryptography.Argon2; + +namespace Iceshrimp.Backend.Core.Helpers; + +public static class AuthHelpers { + // TODO: Implement legacy hash detection + [SuppressMessage("ReSharper.DPA", "DPA0003: Excessive memory allocations in LOH")] + public static bool ComparePassword(string password, string hash) { + return Argon2.Verify(hash, password); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Helpers/IdHelpers.cs b/Iceshrimp.Backend/Core/Helpers/IdHelpers.cs new file mode 100644 index 00000000..a82a75bb --- /dev/null +++ b/Iceshrimp.Backend/Core/Helpers/IdHelpers.cs @@ -0,0 +1,20 @@ +using System.Security.Cryptography; +using Visus.Cuid; + +namespace Iceshrimp.Backend.Core.Helpers; + +public static class IdHelpers { + private const long Time2000 = 946684800000; + + public static string GenerateSlowflakeId() { + var cuid = new Cuid2(16); + var now = (long)DateTime.UtcNow.Subtract(DateTime.UnixEpoch).TotalSeconds; + var time = Math.Max(now - Time2000, 0); + var timestamp = time.ToBase36().PadLeft(8, '0'); + return timestamp + cuid; + } + + public static string GenerateRandomString(int length) { + return Convert.ToBase64String(RandomNumberGenerator.GetBytes(length)); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Core/Helpers/LongExtensions.cs b/Iceshrimp.Backend/Core/Helpers/LongExtensions.cs new file mode 100644 index 00000000..fa5b68ec --- /dev/null +++ b/Iceshrimp.Backend/Core/Helpers/LongExtensions.cs @@ -0,0 +1,31 @@ +using System.Text; + +namespace Iceshrimp.Backend.Core.Helpers; + +public static class NumberExtensions { + private const string Base36Charset = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + + public static string ToBase36(this long input) { + if (input == 0) return "0"; + var result = new StringBuilder(); + + while (input > 0) { + result.Append(Base36Charset[(int)(input % 36)]); + input /= 36; + } + + return result.ToString(); + } + + public static string ToBase36(this int input) { + if (input == 0) return "0"; + var result = new StringBuilder(); + + while (input >= 0) { + result.Append(Base36Charset[input % 36]); + input /= 36; + } + + return result.ToString(); + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Iceshrimp.Backend.csproj b/Iceshrimp.Backend/Iceshrimp.Backend.csproj new file mode 100644 index 00000000..9fa0cb8f --- /dev/null +++ b/Iceshrimp.Backend/Iceshrimp.Backend.csproj @@ -0,0 +1,40 @@ + + + + net8.0 + enable + enable + true + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + + + + + + + + diff --git a/Iceshrimp.Backend/Pages/Error.cshtml b/Iceshrimp.Backend/Pages/Error.cshtml new file mode 100644 index 00000000..89a1b7fc --- /dev/null +++ b/Iceshrimp.Backend/Pages/Error.cshtml @@ -0,0 +1,25 @@ +@page +@model ErrorModel +@{ + ViewData["Title"] = "Error"; +} + +

Error.

+

An error occurred while processing your request.

+ +@if (Model.ShowRequestId) { +

+ Request ID: @Model.RequestId +

+} + +

Development Mode

+

+ Swapping to the Development environment displays detailed information about the error that occurred. +

+

+ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

\ No newline at end of file diff --git a/Iceshrimp.Backend/Pages/Error.cshtml.cs b/Iceshrimp.Backend/Pages/Error.cshtml.cs new file mode 100644 index 00000000..78a02a83 --- /dev/null +++ b/Iceshrimp.Backend/Pages/Error.cshtml.cs @@ -0,0 +1,23 @@ +using System.Diagnostics; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace Iceshrimp.Backend.Pages; + +[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] +[IgnoreAntiforgeryToken] +public class ErrorModel : PageModel { + private readonly ILogger _logger; + + public ErrorModel(ILogger logger) { + _logger = logger; + } + + public string? RequestId { get; set; } + + public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + public void OnGet() { + RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; + } +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Pages/Shared/FrontendSPA.cshtml b/Iceshrimp.Backend/Pages/Shared/FrontendSPA.cshtml new file mode 100644 index 00000000..4d936837 --- /dev/null +++ b/Iceshrimp.Backend/Pages/Shared/FrontendSPA.cshtml @@ -0,0 +1,16 @@ +@page +@addTagHelper *, Vite.AspNetCore +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers + + + + + + Iceshrimp + + + + +
+ + \ No newline at end of file diff --git a/Iceshrimp.Backend/Pages/Shared/_Layout.cshtml b/Iceshrimp.Backend/Pages/Shared/_Layout.cshtml new file mode 100644 index 00000000..ab874f60 --- /dev/null +++ b/Iceshrimp.Backend/Pages/Shared/_Layout.cshtml @@ -0,0 +1,11 @@ + + + + + Iceshrimp + + +
+@RenderBody() + + \ No newline at end of file diff --git a/Iceshrimp.Backend/Pages/Shared/_Layout.cshtml.css b/Iceshrimp.Backend/Pages/Shared/_Layout.cshtml.css new file mode 100644 index 00000000..947d5b5d --- /dev/null +++ b/Iceshrimp.Backend/Pages/Shared/_Layout.cshtml.css @@ -0,0 +1,49 @@ +/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification +for details on configuring this project to bundle and minify static web assets. */ + +a.navbar-brand { + white-space: normal; + text-align: center; + word-break: break-all; +} + +a { + color: #0077cc; +} + +.btn-primary { + color: #fff; + background-color: #1b6ec2; + border-color: #1861ac; +} + +.nav-pills .nav-link.active, .nav-pills .show > .nav-link { + color: #fff; + background-color: #1b6ec2; + border-color: #1861ac; +} + +.border-top { + border-top: 1px solid #e5e5e5; +} + +.border-bottom { + border-bottom: 1px solid #e5e5e5; +} + +.box-shadow { + box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); +} + +button.accept-policy { + font-size: 1rem; + line-height: inherit; +} + +.footer { + position: absolute; + bottom: 0; + width: 100%; + white-space: nowrap; + line-height: 60px; +} diff --git a/Iceshrimp.Backend/Pages/Shared/_ValidationScriptsPartial.cshtml b/Iceshrimp.Backend/Pages/Shared/_ValidationScriptsPartial.cshtml new file mode 100644 index 00000000..660f00c3 --- /dev/null +++ b/Iceshrimp.Backend/Pages/Shared/_ValidationScriptsPartial.cshtml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Iceshrimp.Backend/Pages/_ViewImports.cshtml b/Iceshrimp.Backend/Pages/_ViewImports.cshtml new file mode 100644 index 00000000..63649832 --- /dev/null +++ b/Iceshrimp.Backend/Pages/_ViewImports.cshtml @@ -0,0 +1,3 @@ +@namespace Iceshrimp.Backend.Pages +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers +@addTagHelper *, Vite.AspNetCore \ No newline at end of file diff --git a/Iceshrimp.Backend/Pages/_ViewStart.cshtml b/Iceshrimp.Backend/Pages/_ViewStart.cshtml new file mode 100644 index 00000000..1af6e494 --- /dev/null +++ b/Iceshrimp.Backend/Pages/_ViewStart.cshtml @@ -0,0 +1,3 @@ +@{ + Layout = "_Layout"; +} \ No newline at end of file diff --git a/Iceshrimp.Backend/Properties/launchSettings.json b/Iceshrimp.Backend/Properties/launchSettings.json new file mode 100644 index 00000000..d8efb070 --- /dev/null +++ b/Iceshrimp.Backend/Properties/launchSettings.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://json.schemastore.org/launchsettings.json", + "profiles": { + "Development": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": false, + "applicationUrl": "http://localhost:5250", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "Production": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": false, + "applicationUrl": "http://localhost:5250", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Production" + } + } + } +} diff --git a/Iceshrimp.Backend/Startup.cs b/Iceshrimp.Backend/Startup.cs new file mode 100644 index 00000000..912088fa --- /dev/null +++ b/Iceshrimp.Backend/Startup.cs @@ -0,0 +1,41 @@ +using Asp.Versioning; +using Vite.AspNetCore.Extensions; + +//TODO: Add proper logger +Console.WriteLine("-- Iceshrimp.NET (alpha) --"); + +var builder = WebApplication.CreateBuilder(args); + +builder.Services.AddControllers().AddNewtonsoftJson(); +builder.Services.AddApiVersioning(options => { + options.DefaultApiVersion = new ApiVersion(1); + options.ReportApiVersions = true; + options.UnsupportedApiVersionStatusCode = 501; +}); +builder.Services.AddEndpointsApiExplorer(); +builder.Services.AddSwaggerGen(); +builder.Services.AddRazorPages(); +builder.Services.AddViteServices(options => { + options.PackageDirectory = "../Iceshrimp.Frontend"; + options.PackageManager = "yarn"; + options.Server.AutoRun = false; //TODO: Fix script generation on macOS + options.Server.UseFullDevUrl = true; + options.Base = "frontend"; // relative to wwwroot +}); + +//TODO: load built assets in production + +var app = builder.Build(); + +app.UseSwagger(); +app.UseSwaggerUI(options => { options.DocumentTitle = "Iceshrimp API documentation"; }); +app.UseStaticFiles(); +app.UseAuthorization(); +app.MapControllers(); +app.MapFallbackToController("/api/{**slug}", "FallbackAction", "Fallback"); +app.MapRazorPages(); +app.MapFallbackToPage("/Shared/FrontendSPA"); + +if (app.Environment.IsDevelopment()) app.UseViteDevMiddleware(); + +app.Run(); \ No newline at end of file diff --git a/Iceshrimp.Backend/appsettings.Development.json b/Iceshrimp.Backend/appsettings.Development.json new file mode 100644 index 00000000..0c208ae9 --- /dev/null +++ b/Iceshrimp.Backend/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/Iceshrimp.Backend/appsettings.json b/Iceshrimp.Backend/appsettings.json new file mode 100644 index 00000000..10f68b8c --- /dev/null +++ b/Iceshrimp.Backend/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/Iceshrimp.Frontend/.eslintrc.json b/Iceshrimp.Frontend/.eslintrc.json new file mode 100644 index 00000000..a3661321 --- /dev/null +++ b/Iceshrimp.Frontend/.eslintrc.json @@ -0,0 +1,25 @@ +{ + "extends": ["plugin:vue/vue3-recommended"], + "plugins": ["@typescript-eslint"], + "rules": { + "vue/html-indent": ["error", "tab", { + "attribute": 1, + "baseIndent": 1, + "closeBracket": 0, + "alignAttributesVertically": true, + "ignores": [] + }], + "vue/multi-word-component-names": ["off"], + "vue/max-attributes-per-line": ["error", { + "singleline": { + "max": 4 + }, + "multiline": { + "max": 1 + } + }] + }, + "parserOptions": { + "parser": "@typescript-eslint/parser" + } +} diff --git a/Iceshrimp.Frontend/.gitignore b/Iceshrimp.Frontend/.gitignore new file mode 100644 index 00000000..a547bf36 --- /dev/null +++ b/Iceshrimp.Frontend/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/Iceshrimp.Frontend/.pnp.cjs b/Iceshrimp.Frontend/.pnp.cjs new file mode 100755 index 00000000..dd5f86ec --- /dev/null +++ b/Iceshrimp.Frontend/.pnp.cjs @@ -0,0 +1,10911 @@ +#!/usr/bin/env node +/* eslint-disable */ +"use strict"; + +const RAW_RUNTIME_STATE = +'{\ + "__info": [\ + "This file is automatically generated. Do not touch it, or risk",\ + "your modifications being lost."\ + ],\ + "dependencyTreeRoots": [\ + {\ + "name": "frontend",\ + "reference": "workspace:."\ + }\ + ],\ + "enableTopLevelFallback": true,\ + "ignorePatternData": "(^(?:\\\\.yarn\\\\/sdks(?:\\\\/(?!\\\\.{1,2}(?:\\\\/|$))(?:(?:(?!(?:^|\\\\/)\\\\.{1,2}(?:\\\\/|$)).)*?)|$))$)",\ + "fallbackExclusionList": [\ + ["frontend", ["workspace:."]]\ + ],\ + "fallbackPool": [\ + ],\ + "packageRegistryData": [\ + [null, [\ + [null, {\ + "packageLocation": "./",\ + "packageDependencies": [\ + ["@typescript-eslint/eslint-plugin", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:6.14.0"],\ + ["@typescript-eslint/parser", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:6.14.0"],\ + ["@vitejs/plugin-vue", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:4.5.2"],\ + ["eslint", "npm:8.56.0"],\ + ["eslint-plugin-vue", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:9.19.2"],\ + ["idb-keyval", "npm:6.2.1"],\ + ["sass", "npm:1.69.5"],\ + ["typescript", "patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7"],\ + ["vite", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:5.0.10"],\ + ["vite-plugin-eslint", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:1.8.1"],\ + ["vue", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:3.3.12"],\ + ["vue-eslint-parser", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:9.3.1"],\ + ["vue-router", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:4.2.5"],\ + ["vue-tsc", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:1.8.25"]\ + ],\ + "linkType": "SOFT"\ + }]\ + ]],\ + ["@aashutoshrathi/word-wrap", [\ + ["npm:1.2.6", {\ + "packageLocation": "../../../.yarn/berry/cache/@aashutoshrathi-word-wrap-npm-1.2.6-5b1d95e487-10c0.zip/node_modules/@aashutoshrathi/word-wrap/",\ + "packageDependencies": [\ + ["@aashutoshrathi/word-wrap", "npm:1.2.6"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@babel/helper-string-parser", [\ + ["npm:7.23.4", {\ + "packageLocation": "../../../.yarn/berry/cache/@babel-helper-string-parser-npm-7.23.4-b1f0d030c3-10c0.zip/node_modules/@babel/helper-string-parser/",\ + "packageDependencies": [\ + ["@babel/helper-string-parser", "npm:7.23.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@babel/helper-validator-identifier", [\ + ["npm:7.22.20", {\ + "packageLocation": "../../../.yarn/berry/cache/@babel-helper-validator-identifier-npm-7.22.20-18305bb306-10c0.zip/node_modules/@babel/helper-validator-identifier/",\ + "packageDependencies": [\ + ["@babel/helper-validator-identifier", "npm:7.22.20"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@babel/parser", [\ + ["npm:7.23.6", {\ + "packageLocation": "../../../.yarn/berry/cache/@babel-parser-npm-7.23.6-2fad283d6e-10c0.zip/node_modules/@babel/parser/",\ + "packageDependencies": [\ + ["@babel/parser", "npm:7.23.6"],\ + ["@babel/types", "npm:7.23.6"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@babel/types", [\ + ["npm:7.23.6", {\ + "packageLocation": "../../../.yarn/berry/cache/@babel-types-npm-7.23.6-4e68ac9e9b-10c0.zip/node_modules/@babel/types/",\ + "packageDependencies": [\ + ["@babel/types", "npm:7.23.6"],\ + ["@babel/helper-string-parser", "npm:7.23.4"],\ + ["@babel/helper-validator-identifier", "npm:7.22.20"],\ + ["to-fast-properties", "npm:2.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/android-arm", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-android-arm-npm-0.19.9-189d5af05a/node_modules/@esbuild/android-arm/",\ + "packageDependencies": [\ + ["@esbuild/android-arm", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/android-arm64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-android-arm64-npm-0.19.9-f8392f4a80/node_modules/@esbuild/android-arm64/",\ + "packageDependencies": [\ + ["@esbuild/android-arm64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/android-x64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-android-x64-npm-0.19.9-ea9ebb14a7/node_modules/@esbuild/android-x64/",\ + "packageDependencies": [\ + ["@esbuild/android-x64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/darwin-arm64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-darwin-arm64-npm-0.19.9-5f639a2ca4/node_modules/@esbuild/darwin-arm64/",\ + "packageDependencies": [\ + ["@esbuild/darwin-arm64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/darwin-x64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-darwin-x64-npm-0.19.9-eeee618c70/node_modules/@esbuild/darwin-x64/",\ + "packageDependencies": [\ + ["@esbuild/darwin-x64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/freebsd-arm64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-freebsd-arm64-npm-0.19.9-00cadd32fd/node_modules/@esbuild/freebsd-arm64/",\ + "packageDependencies": [\ + ["@esbuild/freebsd-arm64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/freebsd-x64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-freebsd-x64-npm-0.19.9-3fc6bb83f3/node_modules/@esbuild/freebsd-x64/",\ + "packageDependencies": [\ + ["@esbuild/freebsd-x64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/linux-arm", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-linux-arm-npm-0.19.9-e1fd91cc82/node_modules/@esbuild/linux-arm/",\ + "packageDependencies": [\ + ["@esbuild/linux-arm", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/linux-arm64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-linux-arm64-npm-0.19.9-c28df51e4f/node_modules/@esbuild/linux-arm64/",\ + "packageDependencies": [\ + ["@esbuild/linux-arm64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/linux-ia32", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-linux-ia32-npm-0.19.9-18bbee04d4/node_modules/@esbuild/linux-ia32/",\ + "packageDependencies": [\ + ["@esbuild/linux-ia32", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/linux-loong64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-linux-loong64-npm-0.19.9-c10055c3dc/node_modules/@esbuild/linux-loong64/",\ + "packageDependencies": [\ + ["@esbuild/linux-loong64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/linux-mips64el", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-linux-mips64el-npm-0.19.9-f75b7f7407/node_modules/@esbuild/linux-mips64el/",\ + "packageDependencies": [\ + ["@esbuild/linux-mips64el", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/linux-ppc64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-linux-ppc64-npm-0.19.9-ba823fabbe/node_modules/@esbuild/linux-ppc64/",\ + "packageDependencies": [\ + ["@esbuild/linux-ppc64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/linux-riscv64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-linux-riscv64-npm-0.19.9-5dab6cbcec/node_modules/@esbuild/linux-riscv64/",\ + "packageDependencies": [\ + ["@esbuild/linux-riscv64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/linux-s390x", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-linux-s390x-npm-0.19.9-1698adb824/node_modules/@esbuild/linux-s390x/",\ + "packageDependencies": [\ + ["@esbuild/linux-s390x", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/linux-x64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-linux-x64-npm-0.19.9-d6dbfe74c3/node_modules/@esbuild/linux-x64/",\ + "packageDependencies": [\ + ["@esbuild/linux-x64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/netbsd-x64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-netbsd-x64-npm-0.19.9-63b1ae22c0/node_modules/@esbuild/netbsd-x64/",\ + "packageDependencies": [\ + ["@esbuild/netbsd-x64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/openbsd-x64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-openbsd-x64-npm-0.19.9-7541949297/node_modules/@esbuild/openbsd-x64/",\ + "packageDependencies": [\ + ["@esbuild/openbsd-x64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/sunos-x64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-sunos-x64-npm-0.19.9-f9796ce274/node_modules/@esbuild/sunos-x64/",\ + "packageDependencies": [\ + ["@esbuild/sunos-x64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/win32-arm64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-win32-arm64-npm-0.19.9-7ce8dbc268/node_modules/@esbuild/win32-arm64/",\ + "packageDependencies": [\ + ["@esbuild/win32-arm64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/win32-ia32", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-win32-ia32-npm-0.19.9-2754a04143/node_modules/@esbuild/win32-ia32/",\ + "packageDependencies": [\ + ["@esbuild/win32-ia32", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@esbuild/win32-x64", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/@esbuild-win32-x64-npm-0.19.9-0d00367f1e/node_modules/@esbuild/win32-x64/",\ + "packageDependencies": [\ + ["@esbuild/win32-x64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@eslint-community/eslint-utils", [\ + ["npm:4.4.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@eslint-community-eslint-utils-npm-4.4.0-d1791bd5a3-10c0.zip/node_modules/@eslint-community/eslint-utils/",\ + "packageDependencies": [\ + ["@eslint-community/eslint-utils", "npm:4.4.0"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:6eec398a4132b5372ea5ffc0bc36d4c81602b7e444a89685d0d958016d8fd53df5c0c97c6a8bf99951469e2c6c06135dd192e9309f6e39b1a4c85e0faabe1f6b#npm:4.4.0", {\ + "packageLocation": "./.yarn/__virtual__/@eslint-community-eslint-utils-virtual-719be7711d/4/.yarn/berry/cache/@eslint-community-eslint-utils-npm-4.4.0-d1791bd5a3-10c0.zip/node_modules/@eslint-community/eslint-utils/",\ + "packageDependencies": [\ + ["@eslint-community/eslint-utils", "virtual:6eec398a4132b5372ea5ffc0bc36d4c81602b7e444a89685d0d958016d8fd53df5c0c97c6a8bf99951469e2c6c06135dd192e9309f6e39b1a4c85e0faabe1f6b#npm:4.4.0"],\ + ["@types/eslint", null],\ + ["eslint", "npm:8.56.0"],\ + ["eslint-visitor-keys", "npm:3.4.3"]\ + ],\ + "packagePeers": [\ + "@types/eslint",\ + "eslint"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@eslint-community/regexpp", [\ + ["npm:4.10.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@eslint-community-regexpp-npm-4.10.0-6bfb984c81-10c0.zip/node_modules/@eslint-community/regexpp/",\ + "packageDependencies": [\ + ["@eslint-community/regexpp", "npm:4.10.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@eslint/eslintrc", [\ + ["npm:2.1.4", {\ + "packageLocation": "../../../.yarn/berry/cache/@eslint-eslintrc-npm-2.1.4-1ff4b5f908-10c0.zip/node_modules/@eslint/eslintrc/",\ + "packageDependencies": [\ + ["@eslint/eslintrc", "npm:2.1.4"],\ + ["ajv", "npm:6.12.6"],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ + ["espree", "npm:9.6.1"],\ + ["globals", "npm:13.24.0"],\ + ["ignore", "npm:5.3.0"],\ + ["import-fresh", "npm:3.3.0"],\ + ["js-yaml", "npm:4.1.0"],\ + ["minimatch", "npm:3.1.2"],\ + ["strip-json-comments", "npm:3.1.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@eslint/js", [\ + ["npm:8.56.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@eslint-js-npm-8.56.0-b1de08cbff-10c0.zip/node_modules/@eslint/js/",\ + "packageDependencies": [\ + ["@eslint/js", "npm:8.56.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@humanwhocodes/config-array", [\ + ["npm:0.11.13", {\ + "packageLocation": "../../../.yarn/berry/cache/@humanwhocodes-config-array-npm-0.11.13-12314014f2-10c0.zip/node_modules/@humanwhocodes/config-array/",\ + "packageDependencies": [\ + ["@humanwhocodes/config-array", "npm:0.11.13"],\ + ["@humanwhocodes/object-schema", "npm:2.0.1"],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ + ["minimatch", "npm:3.1.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@humanwhocodes/module-importer", [\ + ["npm:1.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/@humanwhocodes-module-importer-npm-1.0.1-9d07ed2e4a-10c0.zip/node_modules/@humanwhocodes/module-importer/",\ + "packageDependencies": [\ + ["@humanwhocodes/module-importer", "npm:1.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@humanwhocodes/object-schema", [\ + ["npm:2.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/@humanwhocodes-object-schema-npm-2.0.1-c23364bbfc-10c0.zip/node_modules/@humanwhocodes/object-schema/",\ + "packageDependencies": [\ + ["@humanwhocodes/object-schema", "npm:2.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@isaacs/cliui", [\ + ["npm:8.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/@isaacs-cliui-npm-8.0.2-f4364666d5-10c0.zip/node_modules/@isaacs/cliui/",\ + "packageDependencies": [\ + ["@isaacs/cliui", "npm:8.0.2"],\ + ["string-width", "npm:5.1.2"],\ + ["string-width-cjs", [\ + "string-width",\ + "npm:4.2.3"\ + ]],\ + ["strip-ansi", "npm:7.1.0"],\ + ["strip-ansi-cjs", [\ + "strip-ansi",\ + "npm:6.0.1"\ + ]],\ + ["wrap-ansi", "npm:8.1.0"],\ + ["wrap-ansi-cjs", [\ + "wrap-ansi",\ + "npm:7.0.0"\ + ]]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@jridgewell/sourcemap-codec", [\ + ["npm:1.4.15", {\ + "packageLocation": "../../../.yarn/berry/cache/@jridgewell-sourcemap-codec-npm-1.4.15-a055fb62cf-10c0.zip/node_modules/@jridgewell/sourcemap-codec/",\ + "packageDependencies": [\ + ["@jridgewell/sourcemap-codec", "npm:1.4.15"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@nodelib/fs.scandir", [\ + ["npm:2.1.5", {\ + "packageLocation": "../../../.yarn/berry/cache/@nodelib-fs.scandir-npm-2.1.5-89c67370dd-10c0.zip/node_modules/@nodelib/fs.scandir/",\ + "packageDependencies": [\ + ["@nodelib/fs.scandir", "npm:2.1.5"],\ + ["@nodelib/fs.stat", "npm:2.0.5"],\ + ["run-parallel", "npm:1.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@nodelib/fs.stat", [\ + ["npm:2.0.5", {\ + "packageLocation": "../../../.yarn/berry/cache/@nodelib-fs.stat-npm-2.0.5-01f4dd3030-10c0.zip/node_modules/@nodelib/fs.stat/",\ + "packageDependencies": [\ + ["@nodelib/fs.stat", "npm:2.0.5"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@nodelib/fs.walk", [\ + ["npm:1.2.8", {\ + "packageLocation": "../../../.yarn/berry/cache/@nodelib-fs.walk-npm-1.2.8-b4a89da548-10c0.zip/node_modules/@nodelib/fs.walk/",\ + "packageDependencies": [\ + ["@nodelib/fs.walk", "npm:1.2.8"],\ + ["@nodelib/fs.scandir", "npm:2.1.5"],\ + ["fastq", "npm:1.15.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@npmcli/agent", [\ + ["npm:2.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@npmcli-agent-npm-2.2.0-cf04e8a830-10c0.zip/node_modules/@npmcli/agent/",\ + "packageDependencies": [\ + ["@npmcli/agent", "npm:2.2.0"],\ + ["agent-base", "npm:7.1.0"],\ + ["http-proxy-agent", "npm:7.0.0"],\ + ["https-proxy-agent", "npm:7.0.2"],\ + ["lru-cache", "npm:10.1.0"],\ + ["socks-proxy-agent", "npm:8.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@npmcli/fs", [\ + ["npm:3.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@npmcli-fs-npm-3.1.0-0844a57978-10c0.zip/node_modules/@npmcli/fs/",\ + "packageDependencies": [\ + ["@npmcli/fs", "npm:3.1.0"],\ + ["semver", "npm:7.5.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@pkgjs/parseargs", [\ + ["npm:0.11.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@pkgjs-parseargs-npm-0.11.0-cd2a3fe948-10c0.zip/node_modules/@pkgjs/parseargs/",\ + "packageDependencies": [\ + ["@pkgjs/parseargs", "npm:0.11.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/pluginutils", [\ + ["npm:4.2.1", {\ + "packageLocation": "../../../.yarn/berry/cache/@rollup-pluginutils-npm-4.2.1-0f52a5eba2-10c0.zip/node_modules/@rollup/pluginutils/",\ + "packageDependencies": [\ + ["@rollup/pluginutils", "npm:4.2.1"],\ + ["estree-walker", "npm:2.0.2"],\ + ["picomatch", "npm:2.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-android-arm-eabi", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-android-arm-eabi-npm-4.9.0-0dfcd04ac7/node_modules/@rollup/rollup-android-arm-eabi/",\ + "packageDependencies": [\ + ["@rollup/rollup-android-arm-eabi", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-android-arm64", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-android-arm64-npm-4.9.0-cabfd821fb/node_modules/@rollup/rollup-android-arm64/",\ + "packageDependencies": [\ + ["@rollup/rollup-android-arm64", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-darwin-arm64", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-darwin-arm64-npm-4.9.0-b2f55ac115/node_modules/@rollup/rollup-darwin-arm64/",\ + "packageDependencies": [\ + ["@rollup/rollup-darwin-arm64", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-darwin-x64", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-darwin-x64-npm-4.9.0-ddd1012d56/node_modules/@rollup/rollup-darwin-x64/",\ + "packageDependencies": [\ + ["@rollup/rollup-darwin-x64", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-linux-arm-gnueabihf", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-linux-arm-gnueabihf-npm-4.9.0-8947965e0d/node_modules/@rollup/rollup-linux-arm-gnueabihf/",\ + "packageDependencies": [\ + ["@rollup/rollup-linux-arm-gnueabihf", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-linux-arm64-gnu", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-linux-arm64-gnu-npm-4.9.0-1548f32711/node_modules/@rollup/rollup-linux-arm64-gnu/",\ + "packageDependencies": [\ + ["@rollup/rollup-linux-arm64-gnu", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-linux-arm64-musl", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-linux-arm64-musl-npm-4.9.0-05631b84ec/node_modules/@rollup/rollup-linux-arm64-musl/",\ + "packageDependencies": [\ + ["@rollup/rollup-linux-arm64-musl", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-linux-riscv64-gnu", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-linux-riscv64-gnu-npm-4.9.0-7c382d04d5/node_modules/@rollup/rollup-linux-riscv64-gnu/",\ + "packageDependencies": [\ + ["@rollup/rollup-linux-riscv64-gnu", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-linux-x64-gnu", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-linux-x64-gnu-npm-4.9.0-1fecffdb5c/node_modules/@rollup/rollup-linux-x64-gnu/",\ + "packageDependencies": [\ + ["@rollup/rollup-linux-x64-gnu", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-linux-x64-musl", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-linux-x64-musl-npm-4.9.0-09b25a59d3/node_modules/@rollup/rollup-linux-x64-musl/",\ + "packageDependencies": [\ + ["@rollup/rollup-linux-x64-musl", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-win32-arm64-msvc", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-win32-arm64-msvc-npm-4.9.0-b96f4e5c0d/node_modules/@rollup/rollup-win32-arm64-msvc/",\ + "packageDependencies": [\ + ["@rollup/rollup-win32-arm64-msvc", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-win32-ia32-msvc", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-win32-ia32-msvc-npm-4.9.0-6e55917a2b/node_modules/@rollup/rollup-win32-ia32-msvc/",\ + "packageDependencies": [\ + ["@rollup/rollup-win32-ia32-msvc", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@rollup/rollup-win32-x64-msvc", [\ + ["npm:4.9.0", {\ + "packageLocation": "./.yarn/unplugged/@rollup-rollup-win32-x64-msvc-npm-4.9.0-3b53557457/node_modules/@rollup/rollup-win32-x64-msvc/",\ + "packageDependencies": [\ + ["@rollup/rollup-win32-x64-msvc", "npm:4.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@types/eslint", [\ + ["npm:8.44.9", {\ + "packageLocation": "../../../.yarn/berry/cache/@types-eslint-npm-8.44.9-032f805e4c-10c0.zip/node_modules/@types/eslint/",\ + "packageDependencies": [\ + ["@types/eslint", "npm:8.44.9"],\ + ["@types/estree", "npm:1.0.5"],\ + ["@types/json-schema", "npm:7.0.15"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@types/estree", [\ + ["npm:1.0.5", {\ + "packageLocation": "../../../.yarn/berry/cache/@types-estree-npm-1.0.5-5b7faed3b4-10c0.zip/node_modules/@types/estree/",\ + "packageDependencies": [\ + ["@types/estree", "npm:1.0.5"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@types/json-schema", [\ + ["npm:7.0.15", {\ + "packageLocation": "../../../.yarn/berry/cache/@types-json-schema-npm-7.0.15-fd16381786-10c0.zip/node_modules/@types/json-schema/",\ + "packageDependencies": [\ + ["@types/json-schema", "npm:7.0.15"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@types/semver", [\ + ["npm:7.5.6", {\ + "packageLocation": "../../../.yarn/berry/cache/@types-semver-npm-7.5.6-9d2637fc95-10c0.zip/node_modules/@types/semver/",\ + "packageDependencies": [\ + ["@types/semver", "npm:7.5.6"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@typescript-eslint/eslint-plugin", [\ + ["npm:6.14.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@typescript-eslint-eslint-plugin-npm-6.14.0-cf3dccf1da-10c0.zip/node_modules/@typescript-eslint/eslint-plugin/",\ + "packageDependencies": [\ + ["@typescript-eslint/eslint-plugin", "npm:6.14.0"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:6.14.0", {\ + "packageLocation": "./.yarn/__virtual__/@typescript-eslint-eslint-plugin-virtual-ce46ba2d48/4/.yarn/berry/cache/@typescript-eslint-eslint-plugin-npm-6.14.0-cf3dccf1da-10c0.zip/node_modules/@typescript-eslint/eslint-plugin/",\ + "packageDependencies": [\ + ["@typescript-eslint/eslint-plugin", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:6.14.0"],\ + ["@eslint-community/regexpp", "npm:4.10.0"],\ + ["@types/eslint", null],\ + ["@types/typescript", null],\ + ["@types/typescript-eslint__parser", null],\ + ["@typescript-eslint/parser", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:6.14.0"],\ + ["@typescript-eslint/scope-manager", "npm:6.14.0"],\ + ["@typescript-eslint/type-utils", "virtual:ce46ba2d48080c2df84ab39e80b986d30db58b1449c0a3ef2d31c734974d2d21145fec8d91bf4c90f838d4178f28d1c06b276d583cb64571a40adbac062cc63f#npm:6.14.0"],\ + ["@typescript-eslint/utils", "virtual:ce46ba2d48080c2df84ab39e80b986d30db58b1449c0a3ef2d31c734974d2d21145fec8d91bf4c90f838d4178f28d1c06b276d583cb64571a40adbac062cc63f#npm:6.14.0"],\ + ["@typescript-eslint/visitor-keys", "npm:6.14.0"],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ + ["eslint", "npm:8.56.0"],\ + ["graphemer", "npm:1.4.0"],\ + ["ignore", "npm:5.3.0"],\ + ["natural-compare", "npm:1.4.0"],\ + ["semver", "npm:7.5.4"],\ + ["ts-api-utils", "virtual:ce46ba2d48080c2df84ab39e80b986d30db58b1449c0a3ef2d31c734974d2d21145fec8d91bf4c90f838d4178f28d1c06b276d583cb64571a40adbac062cc63f#npm:1.0.3"],\ + ["typescript", "patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7"]\ + ],\ + "packagePeers": [\ + "@types/eslint",\ + "@types/typescript-eslint__parser",\ + "@types/typescript",\ + "@typescript-eslint/parser",\ + "eslint",\ + "typescript"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@typescript-eslint/parser", [\ + ["npm:6.14.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@typescript-eslint-parser-npm-6.14.0-b05bb8f265-10c0.zip/node_modules/@typescript-eslint/parser/",\ + "packageDependencies": [\ + ["@typescript-eslint/parser", "npm:6.14.0"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:6.14.0", {\ + "packageLocation": "./.yarn/__virtual__/@typescript-eslint-parser-virtual-0f24989fdb/4/.yarn/berry/cache/@typescript-eslint-parser-npm-6.14.0-b05bb8f265-10c0.zip/node_modules/@typescript-eslint/parser/",\ + "packageDependencies": [\ + ["@typescript-eslint/parser", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:6.14.0"],\ + ["@types/eslint", null],\ + ["@types/typescript", null],\ + ["@typescript-eslint/scope-manager", "npm:6.14.0"],\ + ["@typescript-eslint/types", "npm:6.14.0"],\ + ["@typescript-eslint/typescript-estree", "virtual:c49b8e55173376694312b4c0dadefd488d52126edafcfa33ca200f5e00fa5bf023b1e40fcc67d1a48c72692471dbaa5fb34918a07128b227b982acf451addf72#npm:6.14.0"],\ + ["@typescript-eslint/visitor-keys", "npm:6.14.0"],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ + ["eslint", "npm:8.56.0"],\ + ["typescript", "patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7"]\ + ],\ + "packagePeers": [\ + "@types/eslint",\ + "@types/typescript",\ + "eslint",\ + "typescript"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@typescript-eslint/scope-manager", [\ + ["npm:6.14.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@typescript-eslint-scope-manager-npm-6.14.0-2737e43e16-10c0.zip/node_modules/@typescript-eslint/scope-manager/",\ + "packageDependencies": [\ + ["@typescript-eslint/scope-manager", "npm:6.14.0"],\ + ["@typescript-eslint/types", "npm:6.14.0"],\ + ["@typescript-eslint/visitor-keys", "npm:6.14.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@typescript-eslint/type-utils", [\ + ["npm:6.14.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@typescript-eslint-type-utils-npm-6.14.0-31cbab8534-10c0.zip/node_modules/@typescript-eslint/type-utils/",\ + "packageDependencies": [\ + ["@typescript-eslint/type-utils", "npm:6.14.0"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:ce46ba2d48080c2df84ab39e80b986d30db58b1449c0a3ef2d31c734974d2d21145fec8d91bf4c90f838d4178f28d1c06b276d583cb64571a40adbac062cc63f#npm:6.14.0", {\ + "packageLocation": "./.yarn/__virtual__/@typescript-eslint-type-utils-virtual-c49b8e5517/4/.yarn/berry/cache/@typescript-eslint-type-utils-npm-6.14.0-31cbab8534-10c0.zip/node_modules/@typescript-eslint/type-utils/",\ + "packageDependencies": [\ + ["@typescript-eslint/type-utils", "virtual:ce46ba2d48080c2df84ab39e80b986d30db58b1449c0a3ef2d31c734974d2d21145fec8d91bf4c90f838d4178f28d1c06b276d583cb64571a40adbac062cc63f#npm:6.14.0"],\ + ["@types/eslint", null],\ + ["@types/typescript", null],\ + ["@typescript-eslint/typescript-estree", "virtual:c49b8e55173376694312b4c0dadefd488d52126edafcfa33ca200f5e00fa5bf023b1e40fcc67d1a48c72692471dbaa5fb34918a07128b227b982acf451addf72#npm:6.14.0"],\ + ["@typescript-eslint/utils", "virtual:ce46ba2d48080c2df84ab39e80b986d30db58b1449c0a3ef2d31c734974d2d21145fec8d91bf4c90f838d4178f28d1c06b276d583cb64571a40adbac062cc63f#npm:6.14.0"],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ + ["eslint", "npm:8.56.0"],\ + ["ts-api-utils", "virtual:ce46ba2d48080c2df84ab39e80b986d30db58b1449c0a3ef2d31c734974d2d21145fec8d91bf4c90f838d4178f28d1c06b276d583cb64571a40adbac062cc63f#npm:1.0.3"],\ + ["typescript", "patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7"]\ + ],\ + "packagePeers": [\ + "@types/eslint",\ + "@types/typescript",\ + "eslint",\ + "typescript"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@typescript-eslint/types", [\ + ["npm:6.14.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@typescript-eslint-types-npm-6.14.0-2f9024a803-10c0.zip/node_modules/@typescript-eslint/types/",\ + "packageDependencies": [\ + ["@typescript-eslint/types", "npm:6.14.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@typescript-eslint/typescript-estree", [\ + ["npm:6.14.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@typescript-eslint-typescript-estree-npm-6.14.0-7b7d4eea91-10c0.zip/node_modules/@typescript-eslint/typescript-estree/",\ + "packageDependencies": [\ + ["@typescript-eslint/typescript-estree", "npm:6.14.0"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:02dfd7e235bd2a5aa134c23de0dd0fb851de652fdcca417cccb865ff54dfe8afa893fa2c28bfed81189219eeed8cff11e7d438ba1ee699c98c07b58afc57057e#npm:6.14.0", {\ + "packageLocation": "./.yarn/__virtual__/@typescript-eslint-typescript-estree-virtual-b398e8529a/4/.yarn/berry/cache/@typescript-eslint-typescript-estree-npm-6.14.0-7b7d4eea91-10c0.zip/node_modules/@typescript-eslint/typescript-estree/",\ + "packageDependencies": [\ + ["@typescript-eslint/typescript-estree", "virtual:02dfd7e235bd2a5aa134c23de0dd0fb851de652fdcca417cccb865ff54dfe8afa893fa2c28bfed81189219eeed8cff11e7d438ba1ee699c98c07b58afc57057e#npm:6.14.0"],\ + ["@types/typescript", null],\ + ["@typescript-eslint/types", "npm:6.14.0"],\ + ["@typescript-eslint/visitor-keys", "npm:6.14.0"],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ + ["globby", "npm:11.1.0"],\ + ["is-glob", "npm:4.0.3"],\ + ["semver", "npm:7.5.4"],\ + ["ts-api-utils", "virtual:b398e8529a30973c485158f855f8bcb8e7e2336095335357b2ae6f9d26a3e06999bd2de847e921dbd6534a040e017e8316445017559105730c12aa2722a03f7b#npm:1.0.3"],\ + ["typescript", null]\ + ],\ + "packagePeers": [\ + "@types/typescript",\ + "typescript"\ + ],\ + "linkType": "HARD"\ + }],\ + ["virtual:c49b8e55173376694312b4c0dadefd488d52126edafcfa33ca200f5e00fa5bf023b1e40fcc67d1a48c72692471dbaa5fb34918a07128b227b982acf451addf72#npm:6.14.0", {\ + "packageLocation": "./.yarn/__virtual__/@typescript-eslint-typescript-estree-virtual-249f08949d/4/.yarn/berry/cache/@typescript-eslint-typescript-estree-npm-6.14.0-7b7d4eea91-10c0.zip/node_modules/@typescript-eslint/typescript-estree/",\ + "packageDependencies": [\ + ["@typescript-eslint/typescript-estree", "virtual:c49b8e55173376694312b4c0dadefd488d52126edafcfa33ca200f5e00fa5bf023b1e40fcc67d1a48c72692471dbaa5fb34918a07128b227b982acf451addf72#npm:6.14.0"],\ + ["@types/typescript", null],\ + ["@typescript-eslint/types", "npm:6.14.0"],\ + ["@typescript-eslint/visitor-keys", "npm:6.14.0"],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ + ["globby", "npm:11.1.0"],\ + ["is-glob", "npm:4.0.3"],\ + ["semver", "npm:7.5.4"],\ + ["ts-api-utils", "virtual:ce46ba2d48080c2df84ab39e80b986d30db58b1449c0a3ef2d31c734974d2d21145fec8d91bf4c90f838d4178f28d1c06b276d583cb64571a40adbac062cc63f#npm:1.0.3"],\ + ["typescript", "patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7"]\ + ],\ + "packagePeers": [\ + "@types/typescript",\ + "typescript"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@typescript-eslint/utils", [\ + ["npm:6.14.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@typescript-eslint-utils-npm-6.14.0-647650f908-10c0.zip/node_modules/@typescript-eslint/utils/",\ + "packageDependencies": [\ + ["@typescript-eslint/utils", "npm:6.14.0"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:ce46ba2d48080c2df84ab39e80b986d30db58b1449c0a3ef2d31c734974d2d21145fec8d91bf4c90f838d4178f28d1c06b276d583cb64571a40adbac062cc63f#npm:6.14.0", {\ + "packageLocation": "./.yarn/__virtual__/@typescript-eslint-utils-virtual-02dfd7e235/4/.yarn/berry/cache/@typescript-eslint-utils-npm-6.14.0-647650f908-10c0.zip/node_modules/@typescript-eslint/utils/",\ + "packageDependencies": [\ + ["@typescript-eslint/utils", "virtual:ce46ba2d48080c2df84ab39e80b986d30db58b1449c0a3ef2d31c734974d2d21145fec8d91bf4c90f838d4178f28d1c06b276d583cb64571a40adbac062cc63f#npm:6.14.0"],\ + ["@eslint-community/eslint-utils", "virtual:6eec398a4132b5372ea5ffc0bc36d4c81602b7e444a89685d0d958016d8fd53df5c0c97c6a8bf99951469e2c6c06135dd192e9309f6e39b1a4c85e0faabe1f6b#npm:4.4.0"],\ + ["@types/eslint", null],\ + ["@types/json-schema", "npm:7.0.15"],\ + ["@types/semver", "npm:7.5.6"],\ + ["@typescript-eslint/scope-manager", "npm:6.14.0"],\ + ["@typescript-eslint/types", "npm:6.14.0"],\ + ["@typescript-eslint/typescript-estree", "virtual:02dfd7e235bd2a5aa134c23de0dd0fb851de652fdcca417cccb865ff54dfe8afa893fa2c28bfed81189219eeed8cff11e7d438ba1ee699c98c07b58afc57057e#npm:6.14.0"],\ + ["eslint", "npm:8.56.0"],\ + ["semver", "npm:7.5.4"]\ + ],\ + "packagePeers": [\ + "@types/eslint",\ + "eslint"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@typescript-eslint/visitor-keys", [\ + ["npm:6.14.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@typescript-eslint-visitor-keys-npm-6.14.0-6e4784842b-10c0.zip/node_modules/@typescript-eslint/visitor-keys/",\ + "packageDependencies": [\ + ["@typescript-eslint/visitor-keys", "npm:6.14.0"],\ + ["@typescript-eslint/types", "npm:6.14.0"],\ + ["eslint-visitor-keys", "npm:3.4.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@ungap/structured-clone", [\ + ["npm:1.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/@ungap-structured-clone-npm-1.2.0-648f0b82e0-10c0.zip/node_modules/@ungap/structured-clone/",\ + "packageDependencies": [\ + ["@ungap/structured-clone", "npm:1.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vitejs/plugin-vue", [\ + ["npm:4.5.2", {\ + "packageLocation": "../../../.yarn/berry/cache/@vitejs-plugin-vue-npm-4.5.2-9dcb3a0766-10c0.zip/node_modules/@vitejs/plugin-vue/",\ + "packageDependencies": [\ + ["@vitejs/plugin-vue", "npm:4.5.2"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:4.5.2", {\ + "packageLocation": "./.yarn/__virtual__/@vitejs-plugin-vue-virtual-4489e1cbab/4/.yarn/berry/cache/@vitejs-plugin-vue-npm-4.5.2-9dcb3a0766-10c0.zip/node_modules/@vitejs/plugin-vue/",\ + "packageDependencies": [\ + ["@vitejs/plugin-vue", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:4.5.2"],\ + ["@types/vite", null],\ + ["@types/vue", null],\ + ["vite", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:5.0.10"],\ + ["vue", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:3.3.12"]\ + ],\ + "packagePeers": [\ + "@types/vite",\ + "@types/vue",\ + "vite",\ + "vue"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@volar/language-core", [\ + ["npm:1.11.1", {\ + "packageLocation": "../../../.yarn/berry/cache/@volar-language-core-npm-1.11.1-e30e50203f-10c0.zip/node_modules/@volar/language-core/",\ + "packageDependencies": [\ + ["@volar/language-core", "npm:1.11.1"],\ + ["@volar/source-map", "npm:1.11.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@volar/source-map", [\ + ["npm:1.11.1", {\ + "packageLocation": "../../../.yarn/berry/cache/@volar-source-map-npm-1.11.1-19e27a8f3b-10c0.zip/node_modules/@volar/source-map/",\ + "packageDependencies": [\ + ["@volar/source-map", "npm:1.11.1"],\ + ["muggle-string", "npm:0.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@volar/typescript", [\ + ["npm:1.11.1", {\ + "packageLocation": "../../../.yarn/berry/cache/@volar-typescript-npm-1.11.1-9a11b85d7c-10c0.zip/node_modules/@volar/typescript/",\ + "packageDependencies": [\ + ["@volar/typescript", "npm:1.11.1"],\ + ["@volar/language-core", "npm:1.11.1"],\ + ["path-browserify", "npm:1.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vue/compiler-core", [\ + ["npm:3.3.12", {\ + "packageLocation": "../../../.yarn/berry/cache/@vue-compiler-core-npm-3.3.12-52aebe71df-10c0.zip/node_modules/@vue/compiler-core/",\ + "packageDependencies": [\ + ["@vue/compiler-core", "npm:3.3.12"],\ + ["@babel/parser", "npm:7.23.6"],\ + ["@vue/shared", "npm:3.3.12"],\ + ["estree-walker", "npm:2.0.2"],\ + ["source-map-js", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vue/compiler-dom", [\ + ["npm:3.3.12", {\ + "packageLocation": "../../../.yarn/berry/cache/@vue-compiler-dom-npm-3.3.12-ecd01b8069-10c0.zip/node_modules/@vue/compiler-dom/",\ + "packageDependencies": [\ + ["@vue/compiler-dom", "npm:3.3.12"],\ + ["@vue/compiler-core", "npm:3.3.12"],\ + ["@vue/shared", "npm:3.3.12"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vue/compiler-sfc", [\ + ["npm:3.3.12", {\ + "packageLocation": "../../../.yarn/berry/cache/@vue-compiler-sfc-npm-3.3.12-2dfa13fdb5-10c0.zip/node_modules/@vue/compiler-sfc/",\ + "packageDependencies": [\ + ["@vue/compiler-sfc", "npm:3.3.12"],\ + ["@babel/parser", "npm:7.23.6"],\ + ["@vue/compiler-core", "npm:3.3.12"],\ + ["@vue/compiler-dom", "npm:3.3.12"],\ + ["@vue/compiler-ssr", "npm:3.3.12"],\ + ["@vue/reactivity-transform", "npm:3.3.12"],\ + ["@vue/shared", "npm:3.3.12"],\ + ["estree-walker", "npm:2.0.2"],\ + ["magic-string", "npm:0.30.5"],\ + ["postcss", "npm:8.4.32"],\ + ["source-map-js", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vue/compiler-ssr", [\ + ["npm:3.3.12", {\ + "packageLocation": "../../../.yarn/berry/cache/@vue-compiler-ssr-npm-3.3.12-ccbfa25588-10c0.zip/node_modules/@vue/compiler-ssr/",\ + "packageDependencies": [\ + ["@vue/compiler-ssr", "npm:3.3.12"],\ + ["@vue/compiler-dom", "npm:3.3.12"],\ + ["@vue/shared", "npm:3.3.12"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vue/devtools-api", [\ + ["npm:6.5.1", {\ + "packageLocation": "../../../.yarn/berry/cache/@vue-devtools-api-npm-6.5.1-a00bfbc22f-10c0.zip/node_modules/@vue/devtools-api/",\ + "packageDependencies": [\ + ["@vue/devtools-api", "npm:6.5.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vue/language-core", [\ + ["npm:1.8.25", {\ + "packageLocation": "../../../.yarn/berry/cache/@vue-language-core-npm-1.8.25-60dd634fe2-10c0.zip/node_modules/@vue/language-core/",\ + "packageDependencies": [\ + ["@vue/language-core", "npm:1.8.25"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:016785135f70fed0f2fcb6cf87bccda3319f9ee3a77fb1b8b8e8ba476bef11b83675faa735d61f2b76bd568237a45cce1c669c1da816d00875a1f05e44a06e7c#npm:1.8.25", {\ + "packageLocation": "./.yarn/__virtual__/@vue-language-core-virtual-9e3532bb5d/4/.yarn/berry/cache/@vue-language-core-npm-1.8.25-60dd634fe2-10c0.zip/node_modules/@vue/language-core/",\ + "packageDependencies": [\ + ["@vue/language-core", "virtual:016785135f70fed0f2fcb6cf87bccda3319f9ee3a77fb1b8b8e8ba476bef11b83675faa735d61f2b76bd568237a45cce1c669c1da816d00875a1f05e44a06e7c#npm:1.8.25"],\ + ["@types/typescript", null],\ + ["@volar/language-core", "npm:1.11.1"],\ + ["@volar/source-map", "npm:1.11.1"],\ + ["@vue/compiler-dom", "npm:3.3.12"],\ + ["@vue/shared", "npm:3.3.12"],\ + ["computeds", "npm:0.0.1"],\ + ["minimatch", "npm:9.0.3"],\ + ["muggle-string", "npm:0.3.1"],\ + ["path-browserify", "npm:1.0.1"],\ + ["typescript", "patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7"],\ + ["vue-template-compiler", "npm:2.7.15"]\ + ],\ + "packagePeers": [\ + "@types/typescript",\ + "typescript"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vue/reactivity", [\ + ["npm:3.3.12", {\ + "packageLocation": "../../../.yarn/berry/cache/@vue-reactivity-npm-3.3.12-4b88e81ecb-10c0.zip/node_modules/@vue/reactivity/",\ + "packageDependencies": [\ + ["@vue/reactivity", "npm:3.3.12"],\ + ["@vue/shared", "npm:3.3.12"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vue/reactivity-transform", [\ + ["npm:3.3.12", {\ + "packageLocation": "../../../.yarn/berry/cache/@vue-reactivity-transform-npm-3.3.12-c5a8f172d5-10c0.zip/node_modules/@vue/reactivity-transform/",\ + "packageDependencies": [\ + ["@vue/reactivity-transform", "npm:3.3.12"],\ + ["@babel/parser", "npm:7.23.6"],\ + ["@vue/compiler-core", "npm:3.3.12"],\ + ["@vue/shared", "npm:3.3.12"],\ + ["estree-walker", "npm:2.0.2"],\ + ["magic-string", "npm:0.30.5"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vue/runtime-core", [\ + ["npm:3.3.12", {\ + "packageLocation": "../../../.yarn/berry/cache/@vue-runtime-core-npm-3.3.12-99071a9d8a-10c0.zip/node_modules/@vue/runtime-core/",\ + "packageDependencies": [\ + ["@vue/runtime-core", "npm:3.3.12"],\ + ["@vue/reactivity", "npm:3.3.12"],\ + ["@vue/shared", "npm:3.3.12"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vue/runtime-dom", [\ + ["npm:3.3.12", {\ + "packageLocation": "../../../.yarn/berry/cache/@vue-runtime-dom-npm-3.3.12-e726ce7d96-10c0.zip/node_modules/@vue/runtime-dom/",\ + "packageDependencies": [\ + ["@vue/runtime-dom", "npm:3.3.12"],\ + ["@vue/runtime-core", "npm:3.3.12"],\ + ["@vue/shared", "npm:3.3.12"],\ + ["csstype", "npm:3.1.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vue/server-renderer", [\ + ["npm:3.3.12", {\ + "packageLocation": "../../../.yarn/berry/cache/@vue-server-renderer-npm-3.3.12-80eb68c492-10c0.zip/node_modules/@vue/server-renderer/",\ + "packageDependencies": [\ + ["@vue/server-renderer", "npm:3.3.12"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:963c1a878878fb763c2a7c34e5a45c298ee8a9669092cf2fcdf4443596a0d8de734eaae9ddd5d8e62935b68de2f36554204c57b121fef8c14be15d6e1710e8b3#npm:3.3.12", {\ + "packageLocation": "./.yarn/__virtual__/@vue-server-renderer-virtual-a453bd4e43/4/.yarn/berry/cache/@vue-server-renderer-npm-3.3.12-80eb68c492-10c0.zip/node_modules/@vue/server-renderer/",\ + "packageDependencies": [\ + ["@vue/server-renderer", "virtual:963c1a878878fb763c2a7c34e5a45c298ee8a9669092cf2fcdf4443596a0d8de734eaae9ddd5d8e62935b68de2f36554204c57b121fef8c14be15d6e1710e8b3#npm:3.3.12"],\ + ["@types/vue", null],\ + ["@vue/compiler-ssr", "npm:3.3.12"],\ + ["@vue/shared", "npm:3.3.12"],\ + ["vue", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:3.3.12"]\ + ],\ + "packagePeers": [\ + "@types/vue",\ + "vue"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@vue/shared", [\ + ["npm:3.3.12", {\ + "packageLocation": "../../../.yarn/berry/cache/@vue-shared-npm-3.3.12-2a241d0577-10c0.zip/node_modules/@vue/shared/",\ + "packageDependencies": [\ + ["@vue/shared", "npm:3.3.12"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["abbrev", [\ + ["npm:2.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/abbrev-npm-2.0.0-0eb38a17e5-10c0.zip/node_modules/abbrev/",\ + "packageDependencies": [\ + ["abbrev", "npm:2.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["acorn", [\ + ["npm:8.11.2", {\ + "packageLocation": "../../../.yarn/berry/cache/acorn-npm-8.11.2-a470f49bb6-10c0.zip/node_modules/acorn/",\ + "packageDependencies": [\ + ["acorn", "npm:8.11.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["acorn-jsx", [\ + ["npm:5.3.2", {\ + "packageLocation": "../../../.yarn/berry/cache/acorn-jsx-npm-5.3.2-d7594599ea-10c0.zip/node_modules/acorn-jsx/",\ + "packageDependencies": [\ + ["acorn-jsx", "npm:5.3.2"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:a50722a5a9326b6a5f12350c494c4db3aa0f4caeac45e3e9e5fe071da20014ecfe738fe2ebe2c9c98abae81a4ea86b42f56d776b3bd5ec37f9ad3670c242b242#npm:5.3.2", {\ + "packageLocation": "./.yarn/__virtual__/acorn-jsx-virtual-834321b202/4/.yarn/berry/cache/acorn-jsx-npm-5.3.2-d7594599ea-10c0.zip/node_modules/acorn-jsx/",\ + "packageDependencies": [\ + ["acorn-jsx", "virtual:a50722a5a9326b6a5f12350c494c4db3aa0f4caeac45e3e9e5fe071da20014ecfe738fe2ebe2c9c98abae81a4ea86b42f56d776b3bd5ec37f9ad3670c242b242#npm:5.3.2"],\ + ["@types/acorn", null],\ + ["acorn", "npm:8.11.2"]\ + ],\ + "packagePeers": [\ + "@types/acorn",\ + "acorn"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["agent-base", [\ + ["npm:7.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/agent-base-npm-7.1.0-4b12ba5111-10c0.zip/node_modules/agent-base/",\ + "packageDependencies": [\ + ["agent-base", "npm:7.1.0"],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["aggregate-error", [\ + ["npm:3.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/aggregate-error-npm-3.1.0-415a406f4e-10c0.zip/node_modules/aggregate-error/",\ + "packageDependencies": [\ + ["aggregate-error", "npm:3.1.0"],\ + ["clean-stack", "npm:2.2.0"],\ + ["indent-string", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["ajv", [\ + ["npm:6.12.6", {\ + "packageLocation": "../../../.yarn/berry/cache/ajv-npm-6.12.6-4b5105e2b2-10c0.zip/node_modules/ajv/",\ + "packageDependencies": [\ + ["ajv", "npm:6.12.6"],\ + ["fast-deep-equal", "npm:3.1.3"],\ + ["fast-json-stable-stringify", "npm:2.1.0"],\ + ["json-schema-traverse", "npm:0.4.1"],\ + ["uri-js", "npm:4.4.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["ansi-regex", [\ + ["npm:5.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/ansi-regex-npm-5.0.1-c963a48615-10c0.zip/node_modules/ansi-regex/",\ + "packageDependencies": [\ + ["ansi-regex", "npm:5.0.1"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:6.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/ansi-regex-npm-6.0.1-8d663a607d-10c0.zip/node_modules/ansi-regex/",\ + "packageDependencies": [\ + ["ansi-regex", "npm:6.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["ansi-styles", [\ + ["npm:4.3.0", {\ + "packageLocation": "../../../.yarn/berry/cache/ansi-styles-npm-4.3.0-245c7d42c7-10c0.zip/node_modules/ansi-styles/",\ + "packageDependencies": [\ + ["ansi-styles", "npm:4.3.0"],\ + ["color-convert", "npm:2.0.1"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:6.2.1", {\ + "packageLocation": "../../../.yarn/berry/cache/ansi-styles-npm-6.2.1-d43647018c-10c0.zip/node_modules/ansi-styles/",\ + "packageDependencies": [\ + ["ansi-styles", "npm:6.2.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["anymatch", [\ + ["npm:3.1.3", {\ + "packageLocation": "../../../.yarn/berry/cache/anymatch-npm-3.1.3-bc81d103b1-10c0.zip/node_modules/anymatch/",\ + "packageDependencies": [\ + ["anymatch", "npm:3.1.3"],\ + ["normalize-path", "npm:3.0.0"],\ + ["picomatch", "npm:2.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["argparse", [\ + ["npm:2.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/argparse-npm-2.0.1-faff7999e6-10c0.zip/node_modules/argparse/",\ + "packageDependencies": [\ + ["argparse", "npm:2.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["array-union", [\ + ["npm:2.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/array-union-npm-2.1.0-4e4852b221-10c0.zip/node_modules/array-union/",\ + "packageDependencies": [\ + ["array-union", "npm:2.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["balanced-match", [\ + ["npm:1.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/balanced-match-npm-1.0.2-a53c126459-10c0.zip/node_modules/balanced-match/",\ + "packageDependencies": [\ + ["balanced-match", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["binary-extensions", [\ + ["npm:2.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/binary-extensions-npm-2.2.0-180c33fec7-10c0.zip/node_modules/binary-extensions/",\ + "packageDependencies": [\ + ["binary-extensions", "npm:2.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["boolbase", [\ + ["npm:1.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/boolbase-npm-1.0.0-965fe9af6d-10c0.zip/node_modules/boolbase/",\ + "packageDependencies": [\ + ["boolbase", "npm:1.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["brace-expansion", [\ + ["npm:1.1.11", {\ + "packageLocation": "../../../.yarn/berry/cache/brace-expansion-npm-1.1.11-fb95eb05ad-10c0.zip/node_modules/brace-expansion/",\ + "packageDependencies": [\ + ["brace-expansion", "npm:1.1.11"],\ + ["balanced-match", "npm:1.0.2"],\ + ["concat-map", "npm:0.0.1"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:2.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/brace-expansion-npm-2.0.1-17aa2616f9-10c0.zip/node_modules/brace-expansion/",\ + "packageDependencies": [\ + ["brace-expansion", "npm:2.0.1"],\ + ["balanced-match", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["braces", [\ + ["npm:3.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/braces-npm-3.0.2-782240b28a-10c0.zip/node_modules/braces/",\ + "packageDependencies": [\ + ["braces", "npm:3.0.2"],\ + ["fill-range", "npm:7.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["cacache", [\ + ["npm:18.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/cacache-npm-18.0.1-11c6564db0-10c0.zip/node_modules/cacache/",\ + "packageDependencies": [\ + ["cacache", "npm:18.0.1"],\ + ["@npmcli/fs", "npm:3.1.0"],\ + ["fs-minipass", "npm:3.0.3"],\ + ["glob", "npm:10.3.10"],\ + ["lru-cache", "npm:10.1.0"],\ + ["minipass", "npm:7.0.4"],\ + ["minipass-collect", "npm:2.0.1"],\ + ["minipass-flush", "npm:1.0.5"],\ + ["minipass-pipeline", "npm:1.2.4"],\ + ["p-map", "npm:4.0.0"],\ + ["ssri", "npm:10.0.5"],\ + ["tar", "npm:6.2.0"],\ + ["unique-filename", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["callsites", [\ + ["npm:3.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/callsites-npm-3.1.0-268f989910-10c0.zip/node_modules/callsites/",\ + "packageDependencies": [\ + ["callsites", "npm:3.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["chalk", [\ + ["npm:4.1.2", {\ + "packageLocation": "../../../.yarn/berry/cache/chalk-npm-4.1.2-ba8b67ab80-10c0.zip/node_modules/chalk/",\ + "packageDependencies": [\ + ["chalk", "npm:4.1.2"],\ + ["ansi-styles", "npm:4.3.0"],\ + ["supports-color", "npm:7.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["chokidar", [\ + ["npm:3.5.3", {\ + "packageLocation": "../../../.yarn/berry/cache/chokidar-npm-3.5.3-c5f9b0a56a-10c0.zip/node_modules/chokidar/",\ + "packageDependencies": [\ + ["chokidar", "npm:3.5.3"],\ + ["anymatch", "npm:3.1.3"],\ + ["braces", "npm:3.0.2"],\ + ["fsevents", "patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1"],\ + ["glob-parent", "npm:5.1.2"],\ + ["is-binary-path", "npm:2.1.0"],\ + ["is-glob", "npm:4.0.3"],\ + ["normalize-path", "npm:3.0.0"],\ + ["readdirp", "npm:3.6.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["chownr", [\ + ["npm:2.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/chownr-npm-2.0.0-638f1c9c61-10c0.zip/node_modules/chownr/",\ + "packageDependencies": [\ + ["chownr", "npm:2.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["clean-stack", [\ + ["npm:2.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/clean-stack-npm-2.2.0-a8ce435a5c-10c0.zip/node_modules/clean-stack/",\ + "packageDependencies": [\ + ["clean-stack", "npm:2.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["color-convert", [\ + ["npm:2.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/color-convert-npm-2.0.1-79730e935b-10c0.zip/node_modules/color-convert/",\ + "packageDependencies": [\ + ["color-convert", "npm:2.0.1"],\ + ["color-name", "npm:1.1.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["color-name", [\ + ["npm:1.1.4", {\ + "packageLocation": "../../../.yarn/berry/cache/color-name-npm-1.1.4-025792b0ea-10c0.zip/node_modules/color-name/",\ + "packageDependencies": [\ + ["color-name", "npm:1.1.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["computeds", [\ + ["npm:0.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/computeds-npm-0.0.1-bef3a1eb28-10c0.zip/node_modules/computeds/",\ + "packageDependencies": [\ + ["computeds", "npm:0.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["concat-map", [\ + ["npm:0.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/concat-map-npm-0.0.1-85a921b7ee-10c0.zip/node_modules/concat-map/",\ + "packageDependencies": [\ + ["concat-map", "npm:0.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["cross-spawn", [\ + ["npm:7.0.3", {\ + "packageLocation": "../../../.yarn/berry/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-10c0.zip/node_modules/cross-spawn/",\ + "packageDependencies": [\ + ["cross-spawn", "npm:7.0.3"],\ + ["path-key", "npm:3.1.1"],\ + ["shebang-command", "npm:2.0.0"],\ + ["which", "npm:2.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["cssesc", [\ + ["npm:3.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/cssesc-npm-3.0.0-15ec56f86f-10c0.zip/node_modules/cssesc/",\ + "packageDependencies": [\ + ["cssesc", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["csstype", [\ + ["npm:3.1.3", {\ + "packageLocation": "../../../.yarn/berry/cache/csstype-npm-3.1.3-e9a1c85013-10c0.zip/node_modules/csstype/",\ + "packageDependencies": [\ + ["csstype", "npm:3.1.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["de-indent", [\ + ["npm:1.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/de-indent-npm-1.0.2-66cccde30f-10c0.zip/node_modules/de-indent/",\ + "packageDependencies": [\ + ["de-indent", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["debug", [\ + ["npm:4.3.4", {\ + "packageLocation": "../../../.yarn/berry/cache/debug-npm-4.3.4-4513954577-10c0.zip/node_modules/debug/",\ + "packageDependencies": [\ + ["debug", "npm:4.3.4"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4", {\ + "packageLocation": "./.yarn/__virtual__/debug-virtual-1040418e3c/4/.yarn/berry/cache/debug-npm-4.3.4-4513954577-10c0.zip/node_modules/debug/",\ + "packageDependencies": [\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ + ["@types/supports-color", null],\ + ["ms", "npm:2.1.2"],\ + ["supports-color", null]\ + ],\ + "packagePeers": [\ + "@types/supports-color",\ + "supports-color"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["deep-is", [\ + ["npm:0.1.4", {\ + "packageLocation": "../../../.yarn/berry/cache/deep-is-npm-0.1.4-88938b5a67-10c0.zip/node_modules/deep-is/",\ + "packageDependencies": [\ + ["deep-is", "npm:0.1.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["dir-glob", [\ + ["npm:3.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/dir-glob-npm-3.0.1-1aea628b1b-10c0.zip/node_modules/dir-glob/",\ + "packageDependencies": [\ + ["dir-glob", "npm:3.0.1"],\ + ["path-type", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["doctrine", [\ + ["npm:3.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/doctrine-npm-3.0.0-c6f1615f04-10c0.zip/node_modules/doctrine/",\ + "packageDependencies": [\ + ["doctrine", "npm:3.0.0"],\ + ["esutils", "npm:2.0.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["eastasianwidth", [\ + ["npm:0.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/eastasianwidth-npm-0.2.0-c37eb16bd1-10c0.zip/node_modules/eastasianwidth/",\ + "packageDependencies": [\ + ["eastasianwidth", "npm:0.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["emoji-regex", [\ + ["npm:8.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/emoji-regex-npm-8.0.0-213764015c-10c0.zip/node_modules/emoji-regex/",\ + "packageDependencies": [\ + ["emoji-regex", "npm:8.0.0"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:9.2.2", {\ + "packageLocation": "../../../.yarn/berry/cache/emoji-regex-npm-9.2.2-e6fac8d058-10c0.zip/node_modules/emoji-regex/",\ + "packageDependencies": [\ + ["emoji-regex", "npm:9.2.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["encoding", [\ + ["npm:0.1.13", {\ + "packageLocation": "../../../.yarn/berry/cache/encoding-npm-0.1.13-82a1837d30-10c0.zip/node_modules/encoding/",\ + "packageDependencies": [\ + ["encoding", "npm:0.1.13"],\ + ["iconv-lite", "npm:0.6.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["env-paths", [\ + ["npm:2.2.1", {\ + "packageLocation": "../../../.yarn/berry/cache/env-paths-npm-2.2.1-7c7577428c-10c0.zip/node_modules/env-paths/",\ + "packageDependencies": [\ + ["env-paths", "npm:2.2.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["err-code", [\ + ["npm:2.0.3", {\ + "packageLocation": "../../../.yarn/berry/cache/err-code-npm-2.0.3-082e0ff9a7-10c0.zip/node_modules/err-code/",\ + "packageDependencies": [\ + ["err-code", "npm:2.0.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["esbuild", [\ + ["npm:0.19.9", {\ + "packageLocation": "./.yarn/unplugged/esbuild-npm-0.19.9-046a8fb7c4/node_modules/esbuild/",\ + "packageDependencies": [\ + ["esbuild", "npm:0.19.9"],\ + ["@esbuild/android-arm", "npm:0.19.9"],\ + ["@esbuild/android-arm64", "npm:0.19.9"],\ + ["@esbuild/android-x64", "npm:0.19.9"],\ + ["@esbuild/darwin-arm64", "npm:0.19.9"],\ + ["@esbuild/darwin-x64", "npm:0.19.9"],\ + ["@esbuild/freebsd-arm64", "npm:0.19.9"],\ + ["@esbuild/freebsd-x64", "npm:0.19.9"],\ + ["@esbuild/linux-arm", "npm:0.19.9"],\ + ["@esbuild/linux-arm64", "npm:0.19.9"],\ + ["@esbuild/linux-ia32", "npm:0.19.9"],\ + ["@esbuild/linux-loong64", "npm:0.19.9"],\ + ["@esbuild/linux-mips64el", "npm:0.19.9"],\ + ["@esbuild/linux-ppc64", "npm:0.19.9"],\ + ["@esbuild/linux-riscv64", "npm:0.19.9"],\ + ["@esbuild/linux-s390x", "npm:0.19.9"],\ + ["@esbuild/linux-x64", "npm:0.19.9"],\ + ["@esbuild/netbsd-x64", "npm:0.19.9"],\ + ["@esbuild/openbsd-x64", "npm:0.19.9"],\ + ["@esbuild/sunos-x64", "npm:0.19.9"],\ + ["@esbuild/win32-arm64", "npm:0.19.9"],\ + ["@esbuild/win32-ia32", "npm:0.19.9"],\ + ["@esbuild/win32-x64", "npm:0.19.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["escape-string-regexp", [\ + ["npm:4.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/escape-string-regexp-npm-4.0.0-4b531d8d59-10c0.zip/node_modules/escape-string-regexp/",\ + "packageDependencies": [\ + ["escape-string-regexp", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["eslint", [\ + ["npm:8.56.0", {\ + "packageLocation": "../../../.yarn/berry/cache/eslint-npm-8.56.0-6eec398a41-10c0.zip/node_modules/eslint/",\ + "packageDependencies": [\ + ["eslint", "npm:8.56.0"],\ + ["@eslint-community/eslint-utils", "virtual:6eec398a4132b5372ea5ffc0bc36d4c81602b7e444a89685d0d958016d8fd53df5c0c97c6a8bf99951469e2c6c06135dd192e9309f6e39b1a4c85e0faabe1f6b#npm:4.4.0"],\ + ["@eslint-community/regexpp", "npm:4.10.0"],\ + ["@eslint/eslintrc", "npm:2.1.4"],\ + ["@eslint/js", "npm:8.56.0"],\ + ["@humanwhocodes/config-array", "npm:0.11.13"],\ + ["@humanwhocodes/module-importer", "npm:1.0.1"],\ + ["@nodelib/fs.walk", "npm:1.2.8"],\ + ["@ungap/structured-clone", "npm:1.2.0"],\ + ["ajv", "npm:6.12.6"],\ + ["chalk", "npm:4.1.2"],\ + ["cross-spawn", "npm:7.0.3"],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ + ["doctrine", "npm:3.0.0"],\ + ["escape-string-regexp", "npm:4.0.0"],\ + ["eslint-scope", "npm:7.2.2"],\ + ["eslint-visitor-keys", "npm:3.4.3"],\ + ["espree", "npm:9.6.1"],\ + ["esquery", "npm:1.5.0"],\ + ["esutils", "npm:2.0.3"],\ + ["fast-deep-equal", "npm:3.1.3"],\ + ["file-entry-cache", "npm:6.0.1"],\ + ["find-up", "npm:5.0.0"],\ + ["glob-parent", "npm:6.0.2"],\ + ["globals", "npm:13.24.0"],\ + ["graphemer", "npm:1.4.0"],\ + ["ignore", "npm:5.3.0"],\ + ["imurmurhash", "npm:0.1.4"],\ + ["is-glob", "npm:4.0.3"],\ + ["is-path-inside", "npm:3.0.3"],\ + ["js-yaml", "npm:4.1.0"],\ + ["json-stable-stringify-without-jsonify", "npm:1.0.1"],\ + ["levn", "npm:0.4.1"],\ + ["lodash.merge", "npm:4.6.2"],\ + ["minimatch", "npm:3.1.2"],\ + ["natural-compare", "npm:1.4.0"],\ + ["optionator", "npm:0.9.3"],\ + ["strip-ansi", "npm:6.0.1"],\ + ["text-table", "npm:0.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["eslint-plugin-vue", [\ + ["npm:9.19.2", {\ + "packageLocation": "../../../.yarn/berry/cache/eslint-plugin-vue-npm-9.19.2-535821f985-10c0.zip/node_modules/eslint-plugin-vue/",\ + "packageDependencies": [\ + ["eslint-plugin-vue", "npm:9.19.2"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:9.19.2", {\ + "packageLocation": "./.yarn/__virtual__/eslint-plugin-vue-virtual-c72fcfecb8/4/.yarn/berry/cache/eslint-plugin-vue-npm-9.19.2-535821f985-10c0.zip/node_modules/eslint-plugin-vue/",\ + "packageDependencies": [\ + ["eslint-plugin-vue", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:9.19.2"],\ + ["@eslint-community/eslint-utils", "virtual:6eec398a4132b5372ea5ffc0bc36d4c81602b7e444a89685d0d958016d8fd53df5c0c97c6a8bf99951469e2c6c06135dd192e9309f6e39b1a4c85e0faabe1f6b#npm:4.4.0"],\ + ["@types/eslint", null],\ + ["eslint", "npm:8.56.0"],\ + ["natural-compare", "npm:1.4.0"],\ + ["nth-check", "npm:2.1.1"],\ + ["postcss-selector-parser", "npm:6.0.13"],\ + ["semver", "npm:7.5.4"],\ + ["vue-eslint-parser", "virtual:c72fcfecb83edc9ecced777c4e48c7e55a16bffc5d5771da37b8a94576e7309fd67d3c81e461308e30ceb50d2daaf0ff697d77d162a4abde3836618d6fc5070f#npm:9.3.2"],\ + ["xml-name-validator", "npm:4.0.0"]\ + ],\ + "packagePeers": [\ + "@types/eslint",\ + "eslint"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["eslint-scope", [\ + ["npm:7.2.2", {\ + "packageLocation": "../../../.yarn/berry/cache/eslint-scope-npm-7.2.2-53cb0df8e8-10c0.zip/node_modules/eslint-scope/",\ + "packageDependencies": [\ + ["eslint-scope", "npm:7.2.2"],\ + ["esrecurse", "npm:4.3.0"],\ + ["estraverse", "npm:5.3.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["eslint-visitor-keys", [\ + ["npm:3.4.3", {\ + "packageLocation": "../../../.yarn/berry/cache/eslint-visitor-keys-npm-3.4.3-a356ac7e46-10c0.zip/node_modules/eslint-visitor-keys/",\ + "packageDependencies": [\ + ["eslint-visitor-keys", "npm:3.4.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["espree", [\ + ["npm:9.6.1", {\ + "packageLocation": "../../../.yarn/berry/cache/espree-npm-9.6.1-a50722a5a9-10c0.zip/node_modules/espree/",\ + "packageDependencies": [\ + ["espree", "npm:9.6.1"],\ + ["acorn", "npm:8.11.2"],\ + ["acorn-jsx", "virtual:a50722a5a9326b6a5f12350c494c4db3aa0f4caeac45e3e9e5fe071da20014ecfe738fe2ebe2c9c98abae81a4ea86b42f56d776b3bd5ec37f9ad3670c242b242#npm:5.3.2"],\ + ["eslint-visitor-keys", "npm:3.4.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["esquery", [\ + ["npm:1.5.0", {\ + "packageLocation": "../../../.yarn/berry/cache/esquery-npm-1.5.0-d8f8a06879-10c0.zip/node_modules/esquery/",\ + "packageDependencies": [\ + ["esquery", "npm:1.5.0"],\ + ["estraverse", "npm:5.3.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["esrecurse", [\ + ["npm:4.3.0", {\ + "packageLocation": "../../../.yarn/berry/cache/esrecurse-npm-4.3.0-10b86a887a-10c0.zip/node_modules/esrecurse/",\ + "packageDependencies": [\ + ["esrecurse", "npm:4.3.0"],\ + ["estraverse", "npm:5.3.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["estraverse", [\ + ["npm:5.3.0", {\ + "packageLocation": "../../../.yarn/berry/cache/estraverse-npm-5.3.0-03284f8f63-10c0.zip/node_modules/estraverse/",\ + "packageDependencies": [\ + ["estraverse", "npm:5.3.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["estree-walker", [\ + ["npm:2.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/estree-walker-npm-2.0.2-dfab42f65c-10c0.zip/node_modules/estree-walker/",\ + "packageDependencies": [\ + ["estree-walker", "npm:2.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["esutils", [\ + ["npm:2.0.3", {\ + "packageLocation": "../../../.yarn/berry/cache/esutils-npm-2.0.3-f865beafd5-10c0.zip/node_modules/esutils/",\ + "packageDependencies": [\ + ["esutils", "npm:2.0.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["exponential-backoff", [\ + ["npm:3.1.1", {\ + "packageLocation": "../../../.yarn/berry/cache/exponential-backoff-npm-3.1.1-04df458b30-10c0.zip/node_modules/exponential-backoff/",\ + "packageDependencies": [\ + ["exponential-backoff", "npm:3.1.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["fast-deep-equal", [\ + ["npm:3.1.3", {\ + "packageLocation": "../../../.yarn/berry/cache/fast-deep-equal-npm-3.1.3-790edcfcf5-10c0.zip/node_modules/fast-deep-equal/",\ + "packageDependencies": [\ + ["fast-deep-equal", "npm:3.1.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["fast-glob", [\ + ["npm:3.3.2", {\ + "packageLocation": "../../../.yarn/berry/cache/fast-glob-npm-3.3.2-0a8cb4f2ca-10c0.zip/node_modules/fast-glob/",\ + "packageDependencies": [\ + ["fast-glob", "npm:3.3.2"],\ + ["@nodelib/fs.stat", "npm:2.0.5"],\ + ["@nodelib/fs.walk", "npm:1.2.8"],\ + ["glob-parent", "npm:5.1.2"],\ + ["merge2", "npm:1.4.1"],\ + ["micromatch", "npm:4.0.5"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["fast-json-stable-stringify", [\ + ["npm:2.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/fast-json-stable-stringify-npm-2.1.0-02e8905fda-10c0.zip/node_modules/fast-json-stable-stringify/",\ + "packageDependencies": [\ + ["fast-json-stable-stringify", "npm:2.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["fast-levenshtein", [\ + ["npm:2.0.6", {\ + "packageLocation": "../../../.yarn/berry/cache/fast-levenshtein-npm-2.0.6-fcd74b8df5-10c0.zip/node_modules/fast-levenshtein/",\ + "packageDependencies": [\ + ["fast-levenshtein", "npm:2.0.6"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["fastq", [\ + ["npm:1.15.0", {\ + "packageLocation": "../../../.yarn/berry/cache/fastq-npm-1.15.0-1013f6514e-10c0.zip/node_modules/fastq/",\ + "packageDependencies": [\ + ["fastq", "npm:1.15.0"],\ + ["reusify", "npm:1.0.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["file-entry-cache", [\ + ["npm:6.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/file-entry-cache-npm-6.0.1-31965cf0af-10c0.zip/node_modules/file-entry-cache/",\ + "packageDependencies": [\ + ["file-entry-cache", "npm:6.0.1"],\ + ["flat-cache", "npm:3.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["fill-range", [\ + ["npm:7.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/fill-range-npm-7.0.1-b8b1817caa-10c0.zip/node_modules/fill-range/",\ + "packageDependencies": [\ + ["fill-range", "npm:7.0.1"],\ + ["to-regex-range", "npm:5.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["find-up", [\ + ["npm:5.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/find-up-npm-5.0.0-e03e9b796d-10c0.zip/node_modules/find-up/",\ + "packageDependencies": [\ + ["find-up", "npm:5.0.0"],\ + ["locate-path", "npm:6.0.0"],\ + ["path-exists", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["flat-cache", [\ + ["npm:3.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/flat-cache-npm-3.2.0-9a887f084e-10c0.zip/node_modules/flat-cache/",\ + "packageDependencies": [\ + ["flat-cache", "npm:3.2.0"],\ + ["flatted", "npm:3.2.9"],\ + ["keyv", "npm:4.5.4"],\ + ["rimraf", "npm:3.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["flatted", [\ + ["npm:3.2.9", {\ + "packageLocation": "../../../.yarn/berry/cache/flatted-npm-3.2.9-0462256d3c-10c0.zip/node_modules/flatted/",\ + "packageDependencies": [\ + ["flatted", "npm:3.2.9"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["foreground-child", [\ + ["npm:3.1.1", {\ + "packageLocation": "../../../.yarn/berry/cache/foreground-child-npm-3.1.1-77e78ed774-10c0.zip/node_modules/foreground-child/",\ + "packageDependencies": [\ + ["foreground-child", "npm:3.1.1"],\ + ["cross-spawn", "npm:7.0.3"],\ + ["signal-exit", "npm:4.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["frontend", [\ + ["workspace:.", {\ + "packageLocation": "./",\ + "packageDependencies": [\ + ["frontend", "workspace:."],\ + ["@typescript-eslint/eslint-plugin", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:6.14.0"],\ + ["@typescript-eslint/parser", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:6.14.0"],\ + ["@vitejs/plugin-vue", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:4.5.2"],\ + ["eslint", "npm:8.56.0"],\ + ["eslint-plugin-vue", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:9.19.2"],\ + ["idb-keyval", "npm:6.2.1"],\ + ["sass", "npm:1.69.5"],\ + ["typescript", "patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7"],\ + ["vite", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:5.0.10"],\ + ["vite-plugin-eslint", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:1.8.1"],\ + ["vue", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:3.3.12"],\ + ["vue-eslint-parser", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:9.3.1"],\ + ["vue-router", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:4.2.5"],\ + ["vue-tsc", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:1.8.25"]\ + ],\ + "linkType": "SOFT"\ + }]\ + ]],\ + ["fs-minipass", [\ + ["npm:2.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/fs-minipass-npm-2.1.0-501ef87306-10c0.zip/node_modules/fs-minipass/",\ + "packageDependencies": [\ + ["fs-minipass", "npm:2.1.0"],\ + ["minipass", "npm:3.3.6"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:3.0.3", {\ + "packageLocation": "../../../.yarn/berry/cache/fs-minipass-npm-3.0.3-d148d6ac19-10c0.zip/node_modules/fs-minipass/",\ + "packageDependencies": [\ + ["fs-minipass", "npm:3.0.3"],\ + ["minipass", "npm:7.0.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["fs.realpath", [\ + ["npm:1.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/fs.realpath-npm-1.0.0-c8f05d8126-10c0.zip/node_modules/fs.realpath/",\ + "packageDependencies": [\ + ["fs.realpath", "npm:1.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["fsevents", [\ + ["patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1", {\ + "packageLocation": "./.yarn/unplugged/fsevents-patch-6b67494872/node_modules/fsevents/",\ + "packageDependencies": [\ + ["fsevents", "patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1"],\ + ["node-gyp", "npm:10.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["glob", [\ + ["npm:10.3.10", {\ + "packageLocation": "../../../.yarn/berry/cache/glob-npm-10.3.10-da1ef8b112-10c0.zip/node_modules/glob/",\ + "packageDependencies": [\ + ["glob", "npm:10.3.10"],\ + ["foreground-child", "npm:3.1.1"],\ + ["jackspeak", "npm:2.3.6"],\ + ["minimatch", "npm:9.0.3"],\ + ["minipass", "npm:7.0.4"],\ + ["path-scurry", "npm:1.10.1"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:7.2.3", {\ + "packageLocation": "../../../.yarn/berry/cache/glob-npm-7.2.3-2d866d17a5-10c0.zip/node_modules/glob/",\ + "packageDependencies": [\ + ["glob", "npm:7.2.3"],\ + ["fs.realpath", "npm:1.0.0"],\ + ["inflight", "npm:1.0.6"],\ + ["inherits", "npm:2.0.4"],\ + ["minimatch", "npm:3.1.2"],\ + ["once", "npm:1.4.0"],\ + ["path-is-absolute", "npm:1.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["glob-parent", [\ + ["npm:5.1.2", {\ + "packageLocation": "../../../.yarn/berry/cache/glob-parent-npm-5.1.2-021ab32634-10c0.zip/node_modules/glob-parent/",\ + "packageDependencies": [\ + ["glob-parent", "npm:5.1.2"],\ + ["is-glob", "npm:4.0.3"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:6.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/glob-parent-npm-6.0.2-2cbef12738-10c0.zip/node_modules/glob-parent/",\ + "packageDependencies": [\ + ["glob-parent", "npm:6.0.2"],\ + ["is-glob", "npm:4.0.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["globals", [\ + ["npm:13.24.0", {\ + "packageLocation": "../../../.yarn/berry/cache/globals-npm-13.24.0-cc7713139c-10c0.zip/node_modules/globals/",\ + "packageDependencies": [\ + ["globals", "npm:13.24.0"],\ + ["type-fest", "npm:0.20.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["globby", [\ + ["npm:11.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/globby-npm-11.1.0-bdcdf20c71-10c0.zip/node_modules/globby/",\ + "packageDependencies": [\ + ["globby", "npm:11.1.0"],\ + ["array-union", "npm:2.1.0"],\ + ["dir-glob", "npm:3.0.1"],\ + ["fast-glob", "npm:3.3.2"],\ + ["ignore", "npm:5.3.0"],\ + ["merge2", "npm:1.4.1"],\ + ["slash", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["graceful-fs", [\ + ["npm:4.2.11", {\ + "packageLocation": "../../../.yarn/berry/cache/graceful-fs-npm-4.2.11-24bb648a68-10c0.zip/node_modules/graceful-fs/",\ + "packageDependencies": [\ + ["graceful-fs", "npm:4.2.11"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["graphemer", [\ + ["npm:1.4.0", {\ + "packageLocation": "../../../.yarn/berry/cache/graphemer-npm-1.4.0-0627732d35-10c0.zip/node_modules/graphemer/",\ + "packageDependencies": [\ + ["graphemer", "npm:1.4.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["has-flag", [\ + ["npm:4.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/has-flag-npm-4.0.0-32af9f0536-10c0.zip/node_modules/has-flag/",\ + "packageDependencies": [\ + ["has-flag", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["he", [\ + ["npm:1.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/he-npm-1.2.0-3b73a2ff07-10c0.zip/node_modules/he/",\ + "packageDependencies": [\ + ["he", "npm:1.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["http-cache-semantics", [\ + ["npm:4.1.1", {\ + "packageLocation": "../../../.yarn/berry/cache/http-cache-semantics-npm-4.1.1-1120131375-10c0.zip/node_modules/http-cache-semantics/",\ + "packageDependencies": [\ + ["http-cache-semantics", "npm:4.1.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["http-proxy-agent", [\ + ["npm:7.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/http-proxy-agent-npm-7.0.0-106a57cc8c-10c0.zip/node_modules/http-proxy-agent/",\ + "packageDependencies": [\ + ["http-proxy-agent", "npm:7.0.0"],\ + ["agent-base", "npm:7.1.0"],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["https-proxy-agent", [\ + ["npm:7.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/https-proxy-agent-npm-7.0.2-83ea6a5d42-10c0.zip/node_modules/https-proxy-agent/",\ + "packageDependencies": [\ + ["https-proxy-agent", "npm:7.0.2"],\ + ["agent-base", "npm:7.1.0"],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["iconv-lite", [\ + ["npm:0.6.3", {\ + "packageLocation": "../../../.yarn/berry/cache/iconv-lite-npm-0.6.3-24b8aae27e-10c0.zip/node_modules/iconv-lite/",\ + "packageDependencies": [\ + ["iconv-lite", "npm:0.6.3"],\ + ["safer-buffer", "npm:2.1.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["idb-keyval", [\ + ["npm:6.2.1", {\ + "packageLocation": "../../../.yarn/berry/cache/idb-keyval-npm-6.2.1-05d362a952-10c0.zip/node_modules/idb-keyval/",\ + "packageDependencies": [\ + ["idb-keyval", "npm:6.2.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["ignore", [\ + ["npm:5.3.0", {\ + "packageLocation": "../../../.yarn/berry/cache/ignore-npm-5.3.0-fb0f5fa062-10c0.zip/node_modules/ignore/",\ + "packageDependencies": [\ + ["ignore", "npm:5.3.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["immutable", [\ + ["npm:4.3.4", {\ + "packageLocation": "../../../.yarn/berry/cache/immutable-npm-4.3.4-2f54cf641b-10c0.zip/node_modules/immutable/",\ + "packageDependencies": [\ + ["immutable", "npm:4.3.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["import-fresh", [\ + ["npm:3.3.0", {\ + "packageLocation": "../../../.yarn/berry/cache/import-fresh-npm-3.3.0-3e34265ca9-10c0.zip/node_modules/import-fresh/",\ + "packageDependencies": [\ + ["import-fresh", "npm:3.3.0"],\ + ["parent-module", "npm:1.0.1"],\ + ["resolve-from", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["imurmurhash", [\ + ["npm:0.1.4", {\ + "packageLocation": "../../../.yarn/berry/cache/imurmurhash-npm-0.1.4-610c5068a0-10c0.zip/node_modules/imurmurhash/",\ + "packageDependencies": [\ + ["imurmurhash", "npm:0.1.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["indent-string", [\ + ["npm:4.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/indent-string-npm-4.0.0-7b717435b2-10c0.zip/node_modules/indent-string/",\ + "packageDependencies": [\ + ["indent-string", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["inflight", [\ + ["npm:1.0.6", {\ + "packageLocation": "../../../.yarn/berry/cache/inflight-npm-1.0.6-ccedb4b908-10c0.zip/node_modules/inflight/",\ + "packageDependencies": [\ + ["inflight", "npm:1.0.6"],\ + ["once", "npm:1.4.0"],\ + ["wrappy", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["inherits", [\ + ["npm:2.0.4", {\ + "packageLocation": "../../../.yarn/berry/cache/inherits-npm-2.0.4-c66b3957a0-10c0.zip/node_modules/inherits/",\ + "packageDependencies": [\ + ["inherits", "npm:2.0.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["ip", [\ + ["npm:2.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/ip-npm-2.0.0-204facb3cc-10c0.zip/node_modules/ip/",\ + "packageDependencies": [\ + ["ip", "npm:2.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["is-binary-path", [\ + ["npm:2.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/is-binary-path-npm-2.1.0-e61d46f557-10c0.zip/node_modules/is-binary-path/",\ + "packageDependencies": [\ + ["is-binary-path", "npm:2.1.0"],\ + ["binary-extensions", "npm:2.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["is-extglob", [\ + ["npm:2.1.1", {\ + "packageLocation": "../../../.yarn/berry/cache/is-extglob-npm-2.1.1-0870ea68b5-10c0.zip/node_modules/is-extglob/",\ + "packageDependencies": [\ + ["is-extglob", "npm:2.1.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["is-fullwidth-code-point", [\ + ["npm:3.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/is-fullwidth-code-point-npm-3.0.0-1ecf4ebee5-10c0.zip/node_modules/is-fullwidth-code-point/",\ + "packageDependencies": [\ + ["is-fullwidth-code-point", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["is-glob", [\ + ["npm:4.0.3", {\ + "packageLocation": "../../../.yarn/berry/cache/is-glob-npm-4.0.3-cb87bf1bdb-10c0.zip/node_modules/is-glob/",\ + "packageDependencies": [\ + ["is-glob", "npm:4.0.3"],\ + ["is-extglob", "npm:2.1.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["is-lambda", [\ + ["npm:1.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/is-lambda-npm-1.0.1-7ab55bc8a8-10c0.zip/node_modules/is-lambda/",\ + "packageDependencies": [\ + ["is-lambda", "npm:1.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["is-number", [\ + ["npm:7.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/is-number-npm-7.0.0-060086935c-10c0.zip/node_modules/is-number/",\ + "packageDependencies": [\ + ["is-number", "npm:7.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["is-path-inside", [\ + ["npm:3.0.3", {\ + "packageLocation": "../../../.yarn/berry/cache/is-path-inside-npm-3.0.3-2ea0ef44fd-10c0.zip/node_modules/is-path-inside/",\ + "packageDependencies": [\ + ["is-path-inside", "npm:3.0.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["isexe", [\ + ["npm:2.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/isexe-npm-2.0.0-b58870bd2e-10c0.zip/node_modules/isexe/",\ + "packageDependencies": [\ + ["isexe", "npm:2.0.0"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:3.1.1", {\ + "packageLocation": "../../../.yarn/berry/cache/isexe-npm-3.1.1-9c0061eead-10c0.zip/node_modules/isexe/",\ + "packageDependencies": [\ + ["isexe", "npm:3.1.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["jackspeak", [\ + ["npm:2.3.6", {\ + "packageLocation": "../../../.yarn/berry/cache/jackspeak-npm-2.3.6-42e1233172-10c0.zip/node_modules/jackspeak/",\ + "packageDependencies": [\ + ["jackspeak", "npm:2.3.6"],\ + ["@isaacs/cliui", "npm:8.0.2"],\ + ["@pkgjs/parseargs", "npm:0.11.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["js-yaml", [\ + ["npm:4.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/js-yaml-npm-4.1.0-3606f32312-10c0.zip/node_modules/js-yaml/",\ + "packageDependencies": [\ + ["js-yaml", "npm:4.1.0"],\ + ["argparse", "npm:2.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["json-buffer", [\ + ["npm:3.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/json-buffer-npm-3.0.1-f8f6d20603-10c0.zip/node_modules/json-buffer/",\ + "packageDependencies": [\ + ["json-buffer", "npm:3.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["json-schema-traverse", [\ + ["npm:0.4.1", {\ + "packageLocation": "../../../.yarn/berry/cache/json-schema-traverse-npm-0.4.1-4759091693-10c0.zip/node_modules/json-schema-traverse/",\ + "packageDependencies": [\ + ["json-schema-traverse", "npm:0.4.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["json-stable-stringify-without-jsonify", [\ + ["npm:1.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/json-stable-stringify-without-jsonify-npm-1.0.1-b65772b28b-10c0.zip/node_modules/json-stable-stringify-without-jsonify/",\ + "packageDependencies": [\ + ["json-stable-stringify-without-jsonify", "npm:1.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["keyv", [\ + ["npm:4.5.4", {\ + "packageLocation": "../../../.yarn/berry/cache/keyv-npm-4.5.4-4c8e2cf7f7-10c0.zip/node_modules/keyv/",\ + "packageDependencies": [\ + ["keyv", "npm:4.5.4"],\ + ["json-buffer", "npm:3.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["levn", [\ + ["npm:0.4.1", {\ + "packageLocation": "../../../.yarn/berry/cache/levn-npm-0.4.1-d183b2d7bb-10c0.zip/node_modules/levn/",\ + "packageDependencies": [\ + ["levn", "npm:0.4.1"],\ + ["prelude-ls", "npm:1.2.1"],\ + ["type-check", "npm:0.4.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["locate-path", [\ + ["npm:6.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/locate-path-npm-6.0.0-06a1e4c528-10c0.zip/node_modules/locate-path/",\ + "packageDependencies": [\ + ["locate-path", "npm:6.0.0"],\ + ["p-locate", "npm:5.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["lodash", [\ + ["npm:4.17.21", {\ + "packageLocation": "../../../.yarn/berry/cache/lodash-npm-4.17.21-6382451519-10c0.zip/node_modules/lodash/",\ + "packageDependencies": [\ + ["lodash", "npm:4.17.21"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["lodash.merge", [\ + ["npm:4.6.2", {\ + "packageLocation": "../../../.yarn/berry/cache/lodash.merge-npm-4.6.2-77cb4416bf-10c0.zip/node_modules/lodash.merge/",\ + "packageDependencies": [\ + ["lodash.merge", "npm:4.6.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["lru-cache", [\ + ["npm:10.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/lru-cache-npm-10.1.0-f3d3a0f0ab-10c0.zip/node_modules/lru-cache/",\ + "packageDependencies": [\ + ["lru-cache", "npm:10.1.0"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:6.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/lru-cache-npm-6.0.0-b4c8668fe1-10c0.zip/node_modules/lru-cache/",\ + "packageDependencies": [\ + ["lru-cache", "npm:6.0.0"],\ + ["yallist", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["magic-string", [\ + ["npm:0.30.5", {\ + "packageLocation": "../../../.yarn/berry/cache/magic-string-npm-0.30.5-dffb7e6a73-10c0.zip/node_modules/magic-string/",\ + "packageDependencies": [\ + ["magic-string", "npm:0.30.5"],\ + ["@jridgewell/sourcemap-codec", "npm:1.4.15"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["make-fetch-happen", [\ + ["npm:13.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/make-fetch-happen-npm-13.0.0-f87a92bb87-10c0.zip/node_modules/make-fetch-happen/",\ + "packageDependencies": [\ + ["make-fetch-happen", "npm:13.0.0"],\ + ["@npmcli/agent", "npm:2.2.0"],\ + ["cacache", "npm:18.0.1"],\ + ["http-cache-semantics", "npm:4.1.1"],\ + ["is-lambda", "npm:1.0.1"],\ + ["minipass", "npm:7.0.4"],\ + ["minipass-fetch", "npm:3.0.4"],\ + ["minipass-flush", "npm:1.0.5"],\ + ["minipass-pipeline", "npm:1.2.4"],\ + ["negotiator", "npm:0.6.3"],\ + ["promise-retry", "npm:2.0.1"],\ + ["ssri", "npm:10.0.5"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["merge2", [\ + ["npm:1.4.1", {\ + "packageLocation": "../../../.yarn/berry/cache/merge2-npm-1.4.1-a2507bd06c-10c0.zip/node_modules/merge2/",\ + "packageDependencies": [\ + ["merge2", "npm:1.4.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["micromatch", [\ + ["npm:4.0.5", {\ + "packageLocation": "../../../.yarn/berry/cache/micromatch-npm-4.0.5-cfab5d7669-10c0.zip/node_modules/micromatch/",\ + "packageDependencies": [\ + ["micromatch", "npm:4.0.5"],\ + ["braces", "npm:3.0.2"],\ + ["picomatch", "npm:2.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["minimatch", [\ + ["npm:3.1.2", {\ + "packageLocation": "../../../.yarn/berry/cache/minimatch-npm-3.1.2-9405269906-10c0.zip/node_modules/minimatch/",\ + "packageDependencies": [\ + ["minimatch", "npm:3.1.2"],\ + ["brace-expansion", "npm:1.1.11"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:9.0.3", {\ + "packageLocation": "../../../.yarn/berry/cache/minimatch-npm-9.0.3-69d7d6fad5-10c0.zip/node_modules/minimatch/",\ + "packageDependencies": [\ + ["minimatch", "npm:9.0.3"],\ + ["brace-expansion", "npm:2.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["minipass", [\ + ["npm:3.3.6", {\ + "packageLocation": "../../../.yarn/berry/cache/minipass-npm-3.3.6-b8d93a945b-10c0.zip/node_modules/minipass/",\ + "packageDependencies": [\ + ["minipass", "npm:3.3.6"],\ + ["yallist", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:5.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/minipass-npm-5.0.0-c64fb63c92-10c0.zip/node_modules/minipass/",\ + "packageDependencies": [\ + ["minipass", "npm:5.0.0"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:7.0.4", {\ + "packageLocation": "../../../.yarn/berry/cache/minipass-npm-7.0.4-eacb4e042e-10c0.zip/node_modules/minipass/",\ + "packageDependencies": [\ + ["minipass", "npm:7.0.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["minipass-collect", [\ + ["npm:2.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/minipass-collect-npm-2.0.1-73d3907e40-10c0.zip/node_modules/minipass-collect/",\ + "packageDependencies": [\ + ["minipass-collect", "npm:2.0.1"],\ + ["minipass", "npm:7.0.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["minipass-fetch", [\ + ["npm:3.0.4", {\ + "packageLocation": "../../../.yarn/berry/cache/minipass-fetch-npm-3.0.4-200ac7c66d-10c0.zip/node_modules/minipass-fetch/",\ + "packageDependencies": [\ + ["minipass-fetch", "npm:3.0.4"],\ + ["encoding", "npm:0.1.13"],\ + ["minipass", "npm:7.0.4"],\ + ["minipass-sized", "npm:1.0.3"],\ + ["minizlib", "npm:2.1.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["minipass-flush", [\ + ["npm:1.0.5", {\ + "packageLocation": "../../../.yarn/berry/cache/minipass-flush-npm-1.0.5-efe79d9826-10c0.zip/node_modules/minipass-flush/",\ + "packageDependencies": [\ + ["minipass-flush", "npm:1.0.5"],\ + ["minipass", "npm:3.3.6"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["minipass-pipeline", [\ + ["npm:1.2.4", {\ + "packageLocation": "../../../.yarn/berry/cache/minipass-pipeline-npm-1.2.4-5924cb077f-10c0.zip/node_modules/minipass-pipeline/",\ + "packageDependencies": [\ + ["minipass-pipeline", "npm:1.2.4"],\ + ["minipass", "npm:3.3.6"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["minipass-sized", [\ + ["npm:1.0.3", {\ + "packageLocation": "../../../.yarn/berry/cache/minipass-sized-npm-1.0.3-306d86f432-10c0.zip/node_modules/minipass-sized/",\ + "packageDependencies": [\ + ["minipass-sized", "npm:1.0.3"],\ + ["minipass", "npm:3.3.6"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["minizlib", [\ + ["npm:2.1.2", {\ + "packageLocation": "../../../.yarn/berry/cache/minizlib-npm-2.1.2-ea89cd0cfb-10c0.zip/node_modules/minizlib/",\ + "packageDependencies": [\ + ["minizlib", "npm:2.1.2"],\ + ["minipass", "npm:3.3.6"],\ + ["yallist", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["mkdirp", [\ + ["npm:1.0.4", {\ + "packageLocation": "../../../.yarn/berry/cache/mkdirp-npm-1.0.4-37f6ef56b9-10c0.zip/node_modules/mkdirp/",\ + "packageDependencies": [\ + ["mkdirp", "npm:1.0.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["ms", [\ + ["npm:2.1.2", {\ + "packageLocation": "../../../.yarn/berry/cache/ms-npm-2.1.2-ec0c1512ff-10c0.zip/node_modules/ms/",\ + "packageDependencies": [\ + ["ms", "npm:2.1.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["muggle-string", [\ + ["npm:0.3.1", {\ + "packageLocation": "../../../.yarn/berry/cache/muggle-string-npm-0.3.1-417964904f-10c0.zip/node_modules/muggle-string/",\ + "packageDependencies": [\ + ["muggle-string", "npm:0.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["nanoid", [\ + ["npm:3.3.7", {\ + "packageLocation": "../../../.yarn/berry/cache/nanoid-npm-3.3.7-98824ba130-10c0.zip/node_modules/nanoid/",\ + "packageDependencies": [\ + ["nanoid", "npm:3.3.7"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["natural-compare", [\ + ["npm:1.4.0", {\ + "packageLocation": "../../../.yarn/berry/cache/natural-compare-npm-1.4.0-97b75b362d-10c0.zip/node_modules/natural-compare/",\ + "packageDependencies": [\ + ["natural-compare", "npm:1.4.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["negotiator", [\ + ["npm:0.6.3", {\ + "packageLocation": "../../../.yarn/berry/cache/negotiator-npm-0.6.3-9d50e36171-10c0.zip/node_modules/negotiator/",\ + "packageDependencies": [\ + ["negotiator", "npm:0.6.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["node-gyp", [\ + ["npm:10.0.1", {\ + "packageLocation": "./.yarn/unplugged/node-gyp-npm-10.0.1-48708ce70b/node_modules/node-gyp/",\ + "packageDependencies": [\ + ["node-gyp", "npm:10.0.1"],\ + ["env-paths", "npm:2.2.1"],\ + ["exponential-backoff", "npm:3.1.1"],\ + ["glob", "npm:10.3.10"],\ + ["graceful-fs", "npm:4.2.11"],\ + ["make-fetch-happen", "npm:13.0.0"],\ + ["nopt", "npm:7.2.0"],\ + ["proc-log", "npm:3.0.0"],\ + ["semver", "npm:7.5.4"],\ + ["tar", "npm:6.2.0"],\ + ["which", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["nopt", [\ + ["npm:7.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/nopt-npm-7.2.0-dd734b678d-10c0.zip/node_modules/nopt/",\ + "packageDependencies": [\ + ["nopt", "npm:7.2.0"],\ + ["abbrev", "npm:2.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["normalize-path", [\ + ["npm:3.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/normalize-path-npm-3.0.0-658ba7d77f-10c0.zip/node_modules/normalize-path/",\ + "packageDependencies": [\ + ["normalize-path", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["nth-check", [\ + ["npm:2.1.1", {\ + "packageLocation": "../../../.yarn/berry/cache/nth-check-npm-2.1.1-f97afc8169-10c0.zip/node_modules/nth-check/",\ + "packageDependencies": [\ + ["nth-check", "npm:2.1.1"],\ + ["boolbase", "npm:1.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["once", [\ + ["npm:1.4.0", {\ + "packageLocation": "../../../.yarn/berry/cache/once-npm-1.4.0-ccf03ef07a-10c0.zip/node_modules/once/",\ + "packageDependencies": [\ + ["once", "npm:1.4.0"],\ + ["wrappy", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["optionator", [\ + ["npm:0.9.3", {\ + "packageLocation": "../../../.yarn/berry/cache/optionator-npm-0.9.3-56c3a4bf80-10c0.zip/node_modules/optionator/",\ + "packageDependencies": [\ + ["optionator", "npm:0.9.3"],\ + ["@aashutoshrathi/word-wrap", "npm:1.2.6"],\ + ["deep-is", "npm:0.1.4"],\ + ["fast-levenshtein", "npm:2.0.6"],\ + ["levn", "npm:0.4.1"],\ + ["prelude-ls", "npm:1.2.1"],\ + ["type-check", "npm:0.4.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["p-limit", [\ + ["npm:3.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/p-limit-npm-3.1.0-05d2ede37f-10c0.zip/node_modules/p-limit/",\ + "packageDependencies": [\ + ["p-limit", "npm:3.1.0"],\ + ["yocto-queue", "npm:0.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["p-locate", [\ + ["npm:5.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/p-locate-npm-5.0.0-92cc7c7a3e-10c0.zip/node_modules/p-locate/",\ + "packageDependencies": [\ + ["p-locate", "npm:5.0.0"],\ + ["p-limit", "npm:3.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["p-map", [\ + ["npm:4.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/p-map-npm-4.0.0-4677ae07c7-10c0.zip/node_modules/p-map/",\ + "packageDependencies": [\ + ["p-map", "npm:4.0.0"],\ + ["aggregate-error", "npm:3.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["parent-module", [\ + ["npm:1.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/parent-module-npm-1.0.1-1fae11b095-10c0.zip/node_modules/parent-module/",\ + "packageDependencies": [\ + ["parent-module", "npm:1.0.1"],\ + ["callsites", "npm:3.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["path-browserify", [\ + ["npm:1.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/path-browserify-npm-1.0.1-f975d99a99-10c0.zip/node_modules/path-browserify/",\ + "packageDependencies": [\ + ["path-browserify", "npm:1.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["path-exists", [\ + ["npm:4.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/path-exists-npm-4.0.0-e9e4f63eb0-10c0.zip/node_modules/path-exists/",\ + "packageDependencies": [\ + ["path-exists", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["path-is-absolute", [\ + ["npm:1.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/path-is-absolute-npm-1.0.1-31bc695ffd-10c0.zip/node_modules/path-is-absolute/",\ + "packageDependencies": [\ + ["path-is-absolute", "npm:1.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["path-key", [\ + ["npm:3.1.1", {\ + "packageLocation": "../../../.yarn/berry/cache/path-key-npm-3.1.1-0e66ea8321-10c0.zip/node_modules/path-key/",\ + "packageDependencies": [\ + ["path-key", "npm:3.1.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["path-scurry", [\ + ["npm:1.10.1", {\ + "packageLocation": "../../../.yarn/berry/cache/path-scurry-npm-1.10.1-52bd946f2e-10c0.zip/node_modules/path-scurry/",\ + "packageDependencies": [\ + ["path-scurry", "npm:1.10.1"],\ + ["lru-cache", "npm:10.1.0"],\ + ["minipass", "npm:7.0.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["path-type", [\ + ["npm:4.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/path-type-npm-4.0.0-10d47fc86a-10c0.zip/node_modules/path-type/",\ + "packageDependencies": [\ + ["path-type", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["picocolors", [\ + ["npm:1.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/picocolors-npm-1.0.0-d81e0b1927-10c0.zip/node_modules/picocolors/",\ + "packageDependencies": [\ + ["picocolors", "npm:1.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["picomatch", [\ + ["npm:2.3.1", {\ + "packageLocation": "../../../.yarn/berry/cache/picomatch-npm-2.3.1-c782cfd986-10c0.zip/node_modules/picomatch/",\ + "packageDependencies": [\ + ["picomatch", "npm:2.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["postcss", [\ + ["npm:8.4.32", {\ + "packageLocation": "../../../.yarn/berry/cache/postcss-npm-8.4.32-2004ba88b8-10c0.zip/node_modules/postcss/",\ + "packageDependencies": [\ + ["postcss", "npm:8.4.32"],\ + ["nanoid", "npm:3.3.7"],\ + ["picocolors", "npm:1.0.0"],\ + ["source-map-js", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["postcss-selector-parser", [\ + ["npm:6.0.13", {\ + "packageLocation": "../../../.yarn/berry/cache/postcss-selector-parser-npm-6.0.13-f732d92326-10c0.zip/node_modules/postcss-selector-parser/",\ + "packageDependencies": [\ + ["postcss-selector-parser", "npm:6.0.13"],\ + ["cssesc", "npm:3.0.0"],\ + ["util-deprecate", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["prelude-ls", [\ + ["npm:1.2.1", {\ + "packageLocation": "../../../.yarn/berry/cache/prelude-ls-npm-1.2.1-3e4d272a55-10c0.zip/node_modules/prelude-ls/",\ + "packageDependencies": [\ + ["prelude-ls", "npm:1.2.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["proc-log", [\ + ["npm:3.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/proc-log-npm-3.0.0-a8c21c2f0f-10c0.zip/node_modules/proc-log/",\ + "packageDependencies": [\ + ["proc-log", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["promise-retry", [\ + ["npm:2.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/promise-retry-npm-2.0.1-871f0b01b7-10c0.zip/node_modules/promise-retry/",\ + "packageDependencies": [\ + ["promise-retry", "npm:2.0.1"],\ + ["err-code", "npm:2.0.3"],\ + ["retry", "npm:0.12.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["punycode", [\ + ["npm:2.3.1", {\ + "packageLocation": "../../../.yarn/berry/cache/punycode-npm-2.3.1-97543c420d-10c0.zip/node_modules/punycode/",\ + "packageDependencies": [\ + ["punycode", "npm:2.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["queue-microtask", [\ + ["npm:1.2.3", {\ + "packageLocation": "../../../.yarn/berry/cache/queue-microtask-npm-1.2.3-fcc98e4e2d-10c0.zip/node_modules/queue-microtask/",\ + "packageDependencies": [\ + ["queue-microtask", "npm:1.2.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["readdirp", [\ + ["npm:3.6.0", {\ + "packageLocation": "../../../.yarn/berry/cache/readdirp-npm-3.6.0-f950cc74ab-10c0.zip/node_modules/readdirp/",\ + "packageDependencies": [\ + ["readdirp", "npm:3.6.0"],\ + ["picomatch", "npm:2.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["resolve-from", [\ + ["npm:4.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/resolve-from-npm-4.0.0-f758ec21bf-10c0.zip/node_modules/resolve-from/",\ + "packageDependencies": [\ + ["resolve-from", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["retry", [\ + ["npm:0.12.0", {\ + "packageLocation": "../../../.yarn/berry/cache/retry-npm-0.12.0-72ac7fb4cc-10c0.zip/node_modules/retry/",\ + "packageDependencies": [\ + ["retry", "npm:0.12.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["reusify", [\ + ["npm:1.0.4", {\ + "packageLocation": "../../../.yarn/berry/cache/reusify-npm-1.0.4-95ac4aec11-10c0.zip/node_modules/reusify/",\ + "packageDependencies": [\ + ["reusify", "npm:1.0.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["rimraf", [\ + ["npm:3.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/rimraf-npm-3.0.2-2cb7dac69a-10c0.zip/node_modules/rimraf/",\ + "packageDependencies": [\ + ["rimraf", "npm:3.0.2"],\ + ["glob", "npm:7.2.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["rollup", [\ + ["npm:2.79.1", {\ + "packageLocation": "../../../.yarn/berry/cache/rollup-npm-2.79.1-94e707a9a3-10c0.zip/node_modules/rollup/",\ + "packageDependencies": [\ + ["rollup", "npm:2.79.1"],\ + ["fsevents", "patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:4.9.0", {\ + "packageLocation": "../../../.yarn/berry/cache/rollup-npm-4.9.0-8c6d128a25-10c0.zip/node_modules/rollup/",\ + "packageDependencies": [\ + ["rollup", "npm:4.9.0"],\ + ["@rollup/rollup-android-arm-eabi", "npm:4.9.0"],\ + ["@rollup/rollup-android-arm64", "npm:4.9.0"],\ + ["@rollup/rollup-darwin-arm64", "npm:4.9.0"],\ + ["@rollup/rollup-darwin-x64", "npm:4.9.0"],\ + ["@rollup/rollup-linux-arm-gnueabihf", "npm:4.9.0"],\ + ["@rollup/rollup-linux-arm64-gnu", "npm:4.9.0"],\ + ["@rollup/rollup-linux-arm64-musl", "npm:4.9.0"],\ + ["@rollup/rollup-linux-riscv64-gnu", "npm:4.9.0"],\ + ["@rollup/rollup-linux-x64-gnu", "npm:4.9.0"],\ + ["@rollup/rollup-linux-x64-musl", "npm:4.9.0"],\ + ["@rollup/rollup-win32-arm64-msvc", "npm:4.9.0"],\ + ["@rollup/rollup-win32-ia32-msvc", "npm:4.9.0"],\ + ["@rollup/rollup-win32-x64-msvc", "npm:4.9.0"],\ + ["fsevents", "patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["run-parallel", [\ + ["npm:1.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/run-parallel-npm-1.2.0-3f47ff2034-10c0.zip/node_modules/run-parallel/",\ + "packageDependencies": [\ + ["run-parallel", "npm:1.2.0"],\ + ["queue-microtask", "npm:1.2.3"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["safer-buffer", [\ + ["npm:2.1.2", {\ + "packageLocation": "../../../.yarn/berry/cache/safer-buffer-npm-2.1.2-8d5c0b705e-10c0.zip/node_modules/safer-buffer/",\ + "packageDependencies": [\ + ["safer-buffer", "npm:2.1.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["sass", [\ + ["npm:1.69.5", {\ + "packageLocation": "../../../.yarn/berry/cache/sass-npm-1.69.5-3f0210c9f9-10c0.zip/node_modules/sass/",\ + "packageDependencies": [\ + ["sass", "npm:1.69.5"],\ + ["chokidar", "npm:3.5.3"],\ + ["immutable", "npm:4.3.4"],\ + ["source-map-js", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["semver", [\ + ["npm:7.5.4", {\ + "packageLocation": "../../../.yarn/berry/cache/semver-npm-7.5.4-c4ad957fcd-10c0.zip/node_modules/semver/",\ + "packageDependencies": [\ + ["semver", "npm:7.5.4"],\ + ["lru-cache", "npm:6.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["shebang-command", [\ + ["npm:2.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/shebang-command-npm-2.0.0-eb2b01921d-10c0.zip/node_modules/shebang-command/",\ + "packageDependencies": [\ + ["shebang-command", "npm:2.0.0"],\ + ["shebang-regex", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["shebang-regex", [\ + ["npm:3.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/shebang-regex-npm-3.0.0-899a0cd65e-10c0.zip/node_modules/shebang-regex/",\ + "packageDependencies": [\ + ["shebang-regex", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["signal-exit", [\ + ["npm:4.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/signal-exit-npm-4.1.0-61fb957687-10c0.zip/node_modules/signal-exit/",\ + "packageDependencies": [\ + ["signal-exit", "npm:4.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["slash", [\ + ["npm:3.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/slash-npm-3.0.0-b87de2279a-10c0.zip/node_modules/slash/",\ + "packageDependencies": [\ + ["slash", "npm:3.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["smart-buffer", [\ + ["npm:4.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/smart-buffer-npm-4.2.0-5ac3f668bb-10c0.zip/node_modules/smart-buffer/",\ + "packageDependencies": [\ + ["smart-buffer", "npm:4.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["socks", [\ + ["npm:2.7.1", {\ + "packageLocation": "../../../.yarn/berry/cache/socks-npm-2.7.1-17f2b53052-10c0.zip/node_modules/socks/",\ + "packageDependencies": [\ + ["socks", "npm:2.7.1"],\ + ["ip", "npm:2.0.0"],\ + ["smart-buffer", "npm:4.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["socks-proxy-agent", [\ + ["npm:8.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/socks-proxy-agent-npm-8.0.2-df165543cf-10c0.zip/node_modules/socks-proxy-agent/",\ + "packageDependencies": [\ + ["socks-proxy-agent", "npm:8.0.2"],\ + ["agent-base", "npm:7.1.0"],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ + ["socks", "npm:2.7.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["source-map-js", [\ + ["npm:1.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/source-map-js-npm-1.0.2-ee4f9f9b30-10c0.zip/node_modules/source-map-js/",\ + "packageDependencies": [\ + ["source-map-js", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["ssri", [\ + ["npm:10.0.5", {\ + "packageLocation": "../../../.yarn/berry/cache/ssri-npm-10.0.5-1a7557d04d-10c0.zip/node_modules/ssri/",\ + "packageDependencies": [\ + ["ssri", "npm:10.0.5"],\ + ["minipass", "npm:7.0.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["string-width", [\ + ["npm:4.2.3", {\ + "packageLocation": "../../../.yarn/berry/cache/string-width-npm-4.2.3-2c27177bae-10c0.zip/node_modules/string-width/",\ + "packageDependencies": [\ + ["string-width", "npm:4.2.3"],\ + ["emoji-regex", "npm:8.0.0"],\ + ["is-fullwidth-code-point", "npm:3.0.0"],\ + ["strip-ansi", "npm:6.0.1"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:5.1.2", {\ + "packageLocation": "../../../.yarn/berry/cache/string-width-npm-5.1.2-bf60531341-10c0.zip/node_modules/string-width/",\ + "packageDependencies": [\ + ["string-width", "npm:5.1.2"],\ + ["eastasianwidth", "npm:0.2.0"],\ + ["emoji-regex", "npm:9.2.2"],\ + ["strip-ansi", "npm:7.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["strip-ansi", [\ + ["npm:6.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/strip-ansi-npm-6.0.1-caddc7cb40-10c0.zip/node_modules/strip-ansi/",\ + "packageDependencies": [\ + ["strip-ansi", "npm:6.0.1"],\ + ["ansi-regex", "npm:5.0.1"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:7.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/strip-ansi-npm-7.1.0-7453b80b79-10c0.zip/node_modules/strip-ansi/",\ + "packageDependencies": [\ + ["strip-ansi", "npm:7.1.0"],\ + ["ansi-regex", "npm:6.0.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["strip-json-comments", [\ + ["npm:3.1.1", {\ + "packageLocation": "../../../.yarn/berry/cache/strip-json-comments-npm-3.1.1-dcb2324823-10c0.zip/node_modules/strip-json-comments/",\ + "packageDependencies": [\ + ["strip-json-comments", "npm:3.1.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["supports-color", [\ + ["npm:7.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/supports-color-npm-7.2.0-606bfcf7da-10c0.zip/node_modules/supports-color/",\ + "packageDependencies": [\ + ["supports-color", "npm:7.2.0"],\ + ["has-flag", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["tar", [\ + ["npm:6.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/tar-npm-6.2.0-3eb25205a7-10c0.zip/node_modules/tar/",\ + "packageDependencies": [\ + ["tar", "npm:6.2.0"],\ + ["chownr", "npm:2.0.0"],\ + ["fs-minipass", "npm:2.1.0"],\ + ["minipass", "npm:5.0.0"],\ + ["minizlib", "npm:2.1.2"],\ + ["mkdirp", "npm:1.0.4"],\ + ["yallist", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["text-table", [\ + ["npm:0.2.0", {\ + "packageLocation": "../../../.yarn/berry/cache/text-table-npm-0.2.0-d92a778b59-10c0.zip/node_modules/text-table/",\ + "packageDependencies": [\ + ["text-table", "npm:0.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["to-fast-properties", [\ + ["npm:2.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/to-fast-properties-npm-2.0.0-0dc60cc481-10c0.zip/node_modules/to-fast-properties/",\ + "packageDependencies": [\ + ["to-fast-properties", "npm:2.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["to-regex-range", [\ + ["npm:5.0.1", {\ + "packageLocation": "../../../.yarn/berry/cache/to-regex-range-npm-5.0.1-f1e8263b00-10c0.zip/node_modules/to-regex-range/",\ + "packageDependencies": [\ + ["to-regex-range", "npm:5.0.1"],\ + ["is-number", "npm:7.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["ts-api-utils", [\ + ["npm:1.0.3", {\ + "packageLocation": "../../../.yarn/berry/cache/ts-api-utils-npm-1.0.3-992f360d9b-10c0.zip/node_modules/ts-api-utils/",\ + "packageDependencies": [\ + ["ts-api-utils", "npm:1.0.3"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:b398e8529a30973c485158f855f8bcb8e7e2336095335357b2ae6f9d26a3e06999bd2de847e921dbd6534a040e017e8316445017559105730c12aa2722a03f7b#npm:1.0.3", {\ + "packageLocation": "./.yarn/__virtual__/ts-api-utils-virtual-61062553cc/4/.yarn/berry/cache/ts-api-utils-npm-1.0.3-992f360d9b-10c0.zip/node_modules/ts-api-utils/",\ + "packageDependencies": [\ + ["ts-api-utils", "virtual:b398e8529a30973c485158f855f8bcb8e7e2336095335357b2ae6f9d26a3e06999bd2de847e921dbd6534a040e017e8316445017559105730c12aa2722a03f7b#npm:1.0.3"],\ + ["@types/typescript", null],\ + ["typescript", null]\ + ],\ + "packagePeers": [\ + "@types/typescript",\ + "typescript"\ + ],\ + "linkType": "HARD"\ + }],\ + ["virtual:ce46ba2d48080c2df84ab39e80b986d30db58b1449c0a3ef2d31c734974d2d21145fec8d91bf4c90f838d4178f28d1c06b276d583cb64571a40adbac062cc63f#npm:1.0.3", {\ + "packageLocation": "./.yarn/__virtual__/ts-api-utils-virtual-0b865a9e22/4/.yarn/berry/cache/ts-api-utils-npm-1.0.3-992f360d9b-10c0.zip/node_modules/ts-api-utils/",\ + "packageDependencies": [\ + ["ts-api-utils", "virtual:ce46ba2d48080c2df84ab39e80b986d30db58b1449c0a3ef2d31c734974d2d21145fec8d91bf4c90f838d4178f28d1c06b276d583cb64571a40adbac062cc63f#npm:1.0.3"],\ + ["@types/typescript", null],\ + ["typescript", "patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7"]\ + ],\ + "packagePeers": [\ + "@types/typescript",\ + "typescript"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["type-check", [\ + ["npm:0.4.0", {\ + "packageLocation": "../../../.yarn/berry/cache/type-check-npm-0.4.0-60565800ce-10c0.zip/node_modules/type-check/",\ + "packageDependencies": [\ + ["type-check", "npm:0.4.0"],\ + ["prelude-ls", "npm:1.2.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["type-fest", [\ + ["npm:0.20.2", {\ + "packageLocation": "../../../.yarn/berry/cache/type-fest-npm-0.20.2-b36432617f-10c0.zip/node_modules/type-fest/",\ + "packageDependencies": [\ + ["type-fest", "npm:0.20.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["typescript", [\ + ["patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7", {\ + "packageLocation": "../../../.yarn/berry/cache/typescript-patch-4778c7998b-10c0.zip/node_modules/typescript/",\ + "packageDependencies": [\ + ["typescript", "patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["unique-filename", [\ + ["npm:3.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/unique-filename-npm-3.0.0-77d68e0a45-10c0.zip/node_modules/unique-filename/",\ + "packageDependencies": [\ + ["unique-filename", "npm:3.0.0"],\ + ["unique-slug", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["unique-slug", [\ + ["npm:4.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/unique-slug-npm-4.0.0-e6b08f28aa-10c0.zip/node_modules/unique-slug/",\ + "packageDependencies": [\ + ["unique-slug", "npm:4.0.0"],\ + ["imurmurhash", "npm:0.1.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["uri-js", [\ + ["npm:4.4.1", {\ + "packageLocation": "../../../.yarn/berry/cache/uri-js-npm-4.4.1-66d11cbcaf-10c0.zip/node_modules/uri-js/",\ + "packageDependencies": [\ + ["uri-js", "npm:4.4.1"],\ + ["punycode", "npm:2.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["util-deprecate", [\ + ["npm:1.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/util-deprecate-npm-1.0.2-e3fe1a219c-10c0.zip/node_modules/util-deprecate/",\ + "packageDependencies": [\ + ["util-deprecate", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["vite", [\ + ["npm:5.0.10", {\ + "packageLocation": "../../../.yarn/berry/cache/vite-npm-5.0.10-8371795915-10c0.zip/node_modules/vite/",\ + "packageDependencies": [\ + ["vite", "npm:5.0.10"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:5.0.10", {\ + "packageLocation": "./.yarn/__virtual__/vite-virtual-325e70b213/4/.yarn/berry/cache/vite-npm-5.0.10-8371795915-10c0.zip/node_modules/vite/",\ + "packageDependencies": [\ + ["vite", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:5.0.10"],\ + ["@types/less", null],\ + ["@types/lightningcss", null],\ + ["@types/node", null],\ + ["@types/sass", null],\ + ["@types/stylus", null],\ + ["@types/sugarss", null],\ + ["@types/terser", null],\ + ["esbuild", "npm:0.19.9"],\ + ["fsevents", "patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1"],\ + ["less", null],\ + ["lightningcss", null],\ + ["postcss", "npm:8.4.32"],\ + ["rollup", "npm:4.9.0"],\ + ["sass", "npm:1.69.5"],\ + ["stylus", null],\ + ["sugarss", null],\ + ["terser", null]\ + ],\ + "packagePeers": [\ + "@types/less",\ + "@types/lightningcss",\ + "@types/node",\ + "@types/sass",\ + "@types/stylus",\ + "@types/sugarss",\ + "@types/terser",\ + "less",\ + "lightningcss",\ + "sass",\ + "stylus",\ + "sugarss",\ + "terser"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["vite-plugin-eslint", [\ + ["npm:1.8.1", {\ + "packageLocation": "../../../.yarn/berry/cache/vite-plugin-eslint-npm-1.8.1-844ad445f5-10c0.zip/node_modules/vite-plugin-eslint/",\ + "packageDependencies": [\ + ["vite-plugin-eslint", "npm:1.8.1"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:1.8.1", {\ + "packageLocation": "./.yarn/__virtual__/vite-plugin-eslint-virtual-7c9d2a0bef/4/.yarn/berry/cache/vite-plugin-eslint-npm-1.8.1-844ad445f5-10c0.zip/node_modules/vite-plugin-eslint/",\ + "packageDependencies": [\ + ["vite-plugin-eslint", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:1.8.1"],\ + ["@rollup/pluginutils", "npm:4.2.1"],\ + ["@types/eslint", "npm:8.44.9"],\ + ["@types/vite", null],\ + ["eslint", "npm:8.56.0"],\ + ["rollup", "npm:2.79.1"],\ + ["vite", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:5.0.10"]\ + ],\ + "packagePeers": [\ + "@types/vite",\ + "eslint",\ + "vite"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["vue", [\ + ["npm:3.3.12", {\ + "packageLocation": "../../../.yarn/berry/cache/vue-npm-3.3.12-e4e38768ae-10c0.zip/node_modules/vue/",\ + "packageDependencies": [\ + ["vue", "npm:3.3.12"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:3.3.12", {\ + "packageLocation": "./.yarn/__virtual__/vue-virtual-963c1a8788/4/.yarn/berry/cache/vue-npm-3.3.12-e4e38768ae-10c0.zip/node_modules/vue/",\ + "packageDependencies": [\ + ["vue", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:3.3.12"],\ + ["@types/typescript", null],\ + ["@vue/compiler-dom", "npm:3.3.12"],\ + ["@vue/compiler-sfc", "npm:3.3.12"],\ + ["@vue/runtime-dom", "npm:3.3.12"],\ + ["@vue/server-renderer", "virtual:963c1a878878fb763c2a7c34e5a45c298ee8a9669092cf2fcdf4443596a0d8de734eaae9ddd5d8e62935b68de2f36554204c57b121fef8c14be15d6e1710e8b3#npm:3.3.12"],\ + ["@vue/shared", "npm:3.3.12"],\ + ["typescript", "patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7"]\ + ],\ + "packagePeers": [\ + "@types/typescript",\ + "typescript"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["vue-eslint-parser", [\ + ["npm:9.3.1", {\ + "packageLocation": "../../../.yarn/berry/cache/vue-eslint-parser-npm-9.3.1-a0feb51670-10c0.zip/node_modules/vue-eslint-parser/",\ + "packageDependencies": [\ + ["vue-eslint-parser", "npm:9.3.1"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["npm:9.3.2", {\ + "packageLocation": "../../../.yarn/berry/cache/vue-eslint-parser-npm-9.3.2-bcf41d9d81-10c0.zip/node_modules/vue-eslint-parser/",\ + "packageDependencies": [\ + ["vue-eslint-parser", "npm:9.3.2"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:c72fcfecb83edc9ecced777c4e48c7e55a16bffc5d5771da37b8a94576e7309fd67d3c81e461308e30ceb50d2daaf0ff697d77d162a4abde3836618d6fc5070f#npm:9.3.2", {\ + "packageLocation": "./.yarn/__virtual__/vue-eslint-parser-virtual-4fd7df89d9/4/.yarn/berry/cache/vue-eslint-parser-npm-9.3.2-bcf41d9d81-10c0.zip/node_modules/vue-eslint-parser/",\ + "packageDependencies": [\ + ["vue-eslint-parser", "virtual:c72fcfecb83edc9ecced777c4e48c7e55a16bffc5d5771da37b8a94576e7309fd67d3c81e461308e30ceb50d2daaf0ff697d77d162a4abde3836618d6fc5070f#npm:9.3.2"],\ + ["@types/eslint", null],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ + ["eslint", "npm:8.56.0"],\ + ["eslint-scope", "npm:7.2.2"],\ + ["eslint-visitor-keys", "npm:3.4.3"],\ + ["espree", "npm:9.6.1"],\ + ["esquery", "npm:1.5.0"],\ + ["lodash", "npm:4.17.21"],\ + ["semver", "npm:7.5.4"]\ + ],\ + "packagePeers": [\ + "@types/eslint",\ + "eslint"\ + ],\ + "linkType": "HARD"\ + }],\ + ["virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:9.3.1", {\ + "packageLocation": "./.yarn/__virtual__/vue-eslint-parser-virtual-c64c80d434/4/.yarn/berry/cache/vue-eslint-parser-npm-9.3.1-a0feb51670-10c0.zip/node_modules/vue-eslint-parser/",\ + "packageDependencies": [\ + ["vue-eslint-parser", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:9.3.1"],\ + ["@types/eslint", null],\ + ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ + ["eslint", "npm:8.56.0"],\ + ["eslint-scope", "npm:7.2.2"],\ + ["eslint-visitor-keys", "npm:3.4.3"],\ + ["espree", "npm:9.6.1"],\ + ["esquery", "npm:1.5.0"],\ + ["lodash", "npm:4.17.21"],\ + ["semver", "npm:7.5.4"]\ + ],\ + "packagePeers": [\ + "@types/eslint",\ + "eslint"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["vue-router", [\ + ["npm:4.2.5", {\ + "packageLocation": "../../../.yarn/berry/cache/vue-router-npm-4.2.5-3479f41e41-10c0.zip/node_modules/vue-router/",\ + "packageDependencies": [\ + ["vue-router", "npm:4.2.5"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:4.2.5", {\ + "packageLocation": "./.yarn/__virtual__/vue-router-virtual-fa657a0aa0/4/.yarn/berry/cache/vue-router-npm-4.2.5-3479f41e41-10c0.zip/node_modules/vue-router/",\ + "packageDependencies": [\ + ["vue-router", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:4.2.5"],\ + ["@types/vue", null],\ + ["@vue/devtools-api", "npm:6.5.1"],\ + ["vue", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:3.3.12"]\ + ],\ + "packagePeers": [\ + "@types/vue",\ + "vue"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["vue-template-compiler", [\ + ["npm:2.7.15", {\ + "packageLocation": "../../../.yarn/berry/cache/vue-template-compiler-npm-2.7.15-28e79f8ad6-10c0.zip/node_modules/vue-template-compiler/",\ + "packageDependencies": [\ + ["vue-template-compiler", "npm:2.7.15"],\ + ["de-indent", "npm:1.0.2"],\ + ["he", "npm:1.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["vue-tsc", [\ + ["npm:1.8.25", {\ + "packageLocation": "../../../.yarn/berry/cache/vue-tsc-npm-1.8.25-981d5060ca-10c0.zip/node_modules/vue-tsc/",\ + "packageDependencies": [\ + ["vue-tsc", "npm:1.8.25"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:1.8.25", {\ + "packageLocation": "./.yarn/__virtual__/vue-tsc-virtual-016785135f/4/.yarn/berry/cache/vue-tsc-npm-1.8.25-981d5060ca-10c0.zip/node_modules/vue-tsc/",\ + "packageDependencies": [\ + ["vue-tsc", "virtual:d9650954c7f1725ea712d2e40695de9ea5d1c0fa9b89379134c62909d440d91b03d6c37e2823804a3404472b90a5bec73c82193190dd3c4db4c9e9edd75db91e#npm:1.8.25"],\ + ["@types/typescript", null],\ + ["@volar/typescript", "npm:1.11.1"],\ + ["@vue/language-core", "virtual:016785135f70fed0f2fcb6cf87bccda3319f9ee3a77fb1b8b8e8ba476bef11b83675faa735d61f2b76bd568237a45cce1c669c1da816d00875a1f05e44a06e7c#npm:1.8.25"],\ + ["semver", "npm:7.5.4"],\ + ["typescript", "patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7"]\ + ],\ + "packagePeers": [\ + "@types/typescript",\ + "typescript"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["which", [\ + ["npm:2.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/which-npm-2.0.2-320ddf72f7-10c0.zip/node_modules/which/",\ + "packageDependencies": [\ + ["which", "npm:2.0.2"],\ + ["isexe", "npm:2.0.0"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:4.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/which-npm-4.0.0-dd31cd4928-10c0.zip/node_modules/which/",\ + "packageDependencies": [\ + ["which", "npm:4.0.0"],\ + ["isexe", "npm:3.1.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["wrap-ansi", [\ + ["npm:7.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/wrap-ansi-npm-7.0.0-ad6e1a0554-10c0.zip/node_modules/wrap-ansi/",\ + "packageDependencies": [\ + ["wrap-ansi", "npm:7.0.0"],\ + ["ansi-styles", "npm:4.3.0"],\ + ["string-width", "npm:4.2.3"],\ + ["strip-ansi", "npm:6.0.1"]\ + ],\ + "linkType": "HARD"\ + }],\ + ["npm:8.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/wrap-ansi-npm-8.1.0-26a4e6ae28-10c0.zip/node_modules/wrap-ansi/",\ + "packageDependencies": [\ + ["wrap-ansi", "npm:8.1.0"],\ + ["ansi-styles", "npm:6.2.1"],\ + ["string-width", "npm:5.1.2"],\ + ["strip-ansi", "npm:7.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["wrappy", [\ + ["npm:1.0.2", {\ + "packageLocation": "../../../.yarn/berry/cache/wrappy-npm-1.0.2-916de4d4b3-10c0.zip/node_modules/wrappy/",\ + "packageDependencies": [\ + ["wrappy", "npm:1.0.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["xml-name-validator", [\ + ["npm:4.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/xml-name-validator-npm-4.0.0-0857c21729-10c0.zip/node_modules/xml-name-validator/",\ + "packageDependencies": [\ + ["xml-name-validator", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["yallist", [\ + ["npm:4.0.0", {\ + "packageLocation": "../../../.yarn/berry/cache/yallist-npm-4.0.0-b493d9e907-10c0.zip/node_modules/yallist/",\ + "packageDependencies": [\ + ["yallist", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["yocto-queue", [\ + ["npm:0.1.0", {\ + "packageLocation": "../../../.yarn/berry/cache/yocto-queue-npm-0.1.0-c6c9a7db29-10c0.zip/node_modules/yocto-queue/",\ + "packageDependencies": [\ + ["yocto-queue", "npm:0.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]]\ + ]\ +}'; + +function $$SETUP_STATE(hydrateRuntimeState, basePath) { + return hydrateRuntimeState(JSON.parse(RAW_RUNTIME_STATE), {basePath: basePath || __dirname}); +} + +const fs = require('fs'); +const path = require('path'); +const crypto = require('crypto'); +const os = require('os'); +const events = require('events'); +const nodeUtils = require('util'); +const stream = require('stream'); +const zlib = require('zlib'); +const require$$0 = require('module'); +const StringDecoder = require('string_decoder'); +const url = require('url'); +const buffer = require('buffer'); +const readline = require('readline'); +const assert = require('assert'); + +const _interopDefaultLegacy = e => e && typeof e === 'object' && 'default' in e ? e : { default: e }; + +function _interopNamespace(e) { + if (e && e.__esModule) return e; + const n = Object.create(null); + if (e) { + for (const k in e) { + if (k !== 'default') { + const d = Object.getOwnPropertyDescriptor(e, k); + Object.defineProperty(n, k, d.get ? d : { + enumerable: true, + get: () => e[k] + }); + } + } + } + n.default = e; + return Object.freeze(n); +} + +const fs__default = /*#__PURE__*/_interopDefaultLegacy(fs); +const path__default = /*#__PURE__*/_interopDefaultLegacy(path); +const nodeUtils__namespace = /*#__PURE__*/_interopNamespace(nodeUtils); +const zlib__default = /*#__PURE__*/_interopDefaultLegacy(zlib); +const require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0); +const StringDecoder__default = /*#__PURE__*/_interopDefaultLegacy(StringDecoder); +const buffer__default = /*#__PURE__*/_interopDefaultLegacy(buffer); +const assert__default = /*#__PURE__*/_interopDefaultLegacy(assert); + +const S_IFMT = 61440; +const S_IFDIR = 16384; +const S_IFREG = 32768; +const S_IFLNK = 40960; +const SAFE_TIME = 456789e3; + +function makeError$1(code, message) { + return Object.assign(new Error(`${code}: ${message}`), { code }); +} +function EBUSY(message) { + return makeError$1(`EBUSY`, message); +} +function ENOSYS(message, reason) { + return makeError$1(`ENOSYS`, `${message}, ${reason}`); +} +function EINVAL(reason) { + return makeError$1(`EINVAL`, `invalid argument, ${reason}`); +} +function EBADF(reason) { + return makeError$1(`EBADF`, `bad file descriptor, ${reason}`); +} +function ENOENT(reason) { + return makeError$1(`ENOENT`, `no such file or directory, ${reason}`); +} +function ENOTDIR(reason) { + return makeError$1(`ENOTDIR`, `not a directory, ${reason}`); +} +function EISDIR(reason) { + return makeError$1(`EISDIR`, `illegal operation on a directory, ${reason}`); +} +function EEXIST(reason) { + return makeError$1(`EEXIST`, `file already exists, ${reason}`); +} +function EROFS(reason) { + return makeError$1(`EROFS`, `read-only filesystem, ${reason}`); +} +function ENOTEMPTY(reason) { + return makeError$1(`ENOTEMPTY`, `directory not empty, ${reason}`); +} +function EOPNOTSUPP(reason) { + return makeError$1(`EOPNOTSUPP`, `operation not supported, ${reason}`); +} +function ERR_DIR_CLOSED() { + return makeError$1(`ERR_DIR_CLOSED`, `Directory handle was closed`); +} + +const DEFAULT_MODE = S_IFREG | 420; +class StatEntry { + constructor() { + this.uid = 0; + this.gid = 0; + this.size = 0; + this.blksize = 0; + this.atimeMs = 0; + this.mtimeMs = 0; + this.ctimeMs = 0; + this.birthtimeMs = 0; + this.atime = new Date(0); + this.mtime = new Date(0); + this.ctime = new Date(0); + this.birthtime = new Date(0); + this.dev = 0; + this.ino = 0; + this.mode = DEFAULT_MODE; + this.nlink = 1; + this.rdev = 0; + this.blocks = 1; + } + isBlockDevice() { + return false; + } + isCharacterDevice() { + return false; + } + isDirectory() { + return (this.mode & S_IFMT) === S_IFDIR; + } + isFIFO() { + return false; + } + isFile() { + return (this.mode & S_IFMT) === S_IFREG; + } + isSocket() { + return false; + } + isSymbolicLink() { + return (this.mode & S_IFMT) === S_IFLNK; + } +} +class BigIntStatsEntry { + constructor() { + this.uid = BigInt(0); + this.gid = BigInt(0); + this.size = BigInt(0); + this.blksize = BigInt(0); + this.atimeMs = BigInt(0); + this.mtimeMs = BigInt(0); + this.ctimeMs = BigInt(0); + this.birthtimeMs = BigInt(0); + this.atimeNs = BigInt(0); + this.mtimeNs = BigInt(0); + this.ctimeNs = BigInt(0); + this.birthtimeNs = BigInt(0); + this.atime = new Date(0); + this.mtime = new Date(0); + this.ctime = new Date(0); + this.birthtime = new Date(0); + this.dev = BigInt(0); + this.ino = BigInt(0); + this.mode = BigInt(DEFAULT_MODE); + this.nlink = BigInt(1); + this.rdev = BigInt(0); + this.blocks = BigInt(1); + } + isBlockDevice() { + return false; + } + isCharacterDevice() { + return false; + } + isDirectory() { + return (this.mode & BigInt(S_IFMT)) === BigInt(S_IFDIR); + } + isFIFO() { + return false; + } + isFile() { + return (this.mode & BigInt(S_IFMT)) === BigInt(S_IFREG); + } + isSocket() { + return false; + } + isSymbolicLink() { + return (this.mode & BigInt(S_IFMT)) === BigInt(S_IFLNK); + } +} +function makeDefaultStats() { + return new StatEntry(); +} +function clearStats(stats) { + for (const key in stats) { + if (Object.hasOwn(stats, key)) { + const element = stats[key]; + if (typeof element === `number`) { + stats[key] = 0; + } else if (typeof element === `bigint`) { + stats[key] = BigInt(0); + } else if (nodeUtils__namespace.types.isDate(element)) { + stats[key] = new Date(0); + } + } + } + return stats; +} +function convertToBigIntStats(stats) { + const bigintStats = new BigIntStatsEntry(); + for (const key in stats) { + if (Object.hasOwn(stats, key)) { + const element = stats[key]; + if (typeof element === `number`) { + bigintStats[key] = BigInt(element); + } else if (nodeUtils__namespace.types.isDate(element)) { + bigintStats[key] = new Date(element); + } + } + } + bigintStats.atimeNs = bigintStats.atimeMs * BigInt(1e6); + bigintStats.mtimeNs = bigintStats.mtimeMs * BigInt(1e6); + bigintStats.ctimeNs = bigintStats.ctimeMs * BigInt(1e6); + bigintStats.birthtimeNs = bigintStats.birthtimeMs * BigInt(1e6); + return bigintStats; +} +function areStatsEqual(a, b) { + if (a.atimeMs !== b.atimeMs) + return false; + if (a.birthtimeMs !== b.birthtimeMs) + return false; + if (a.blksize !== b.blksize) + return false; + if (a.blocks !== b.blocks) + return false; + if (a.ctimeMs !== b.ctimeMs) + return false; + if (a.dev !== b.dev) + return false; + if (a.gid !== b.gid) + return false; + if (a.ino !== b.ino) + return false; + if (a.isBlockDevice() !== b.isBlockDevice()) + return false; + if (a.isCharacterDevice() !== b.isCharacterDevice()) + return false; + if (a.isDirectory() !== b.isDirectory()) + return false; + if (a.isFIFO() !== b.isFIFO()) + return false; + if (a.isFile() !== b.isFile()) + return false; + if (a.isSocket() !== b.isSocket()) + return false; + if (a.isSymbolicLink() !== b.isSymbolicLink()) + return false; + if (a.mode !== b.mode) + return false; + if (a.mtimeMs !== b.mtimeMs) + return false; + if (a.nlink !== b.nlink) + return false; + if (a.rdev !== b.rdev) + return false; + if (a.size !== b.size) + return false; + if (a.uid !== b.uid) + return false; + const aN = a; + const bN = b; + if (aN.atimeNs !== bN.atimeNs) + return false; + if (aN.mtimeNs !== bN.mtimeNs) + return false; + if (aN.ctimeNs !== bN.ctimeNs) + return false; + if (aN.birthtimeNs !== bN.birthtimeNs) + return false; + return true; +} + +const PortablePath = { + root: `/`, + dot: `.`, + parent: `..` +}; +const Filename = { + home: `~`, + nodeModules: `node_modules`, + manifest: `package.json`, + lockfile: `yarn.lock`, + virtual: `__virtual__`, + pnpJs: `.pnp.js`, + pnpCjs: `.pnp.cjs`, + pnpData: `.pnp.data.json`, + pnpEsmLoader: `.pnp.loader.mjs`, + rc: `.yarnrc.yml`, + env: `.env` +}; +const npath = Object.create(path__default.default); +const ppath = Object.create(path__default.default.posix); +npath.cwd = () => process.cwd(); +ppath.cwd = process.platform === `win32` ? () => toPortablePath(process.cwd()) : process.cwd; +if (process.platform === `win32`) { + ppath.resolve = (...segments) => { + if (segments.length > 0 && ppath.isAbsolute(segments[0])) { + return path__default.default.posix.resolve(...segments); + } else { + return path__default.default.posix.resolve(ppath.cwd(), ...segments); + } + }; +} +const contains = function(pathUtils, from, to) { + from = pathUtils.normalize(from); + to = pathUtils.normalize(to); + if (from === to) + return `.`; + if (!from.endsWith(pathUtils.sep)) + from = from + pathUtils.sep; + if (to.startsWith(from)) { + return to.slice(from.length); + } else { + return null; + } +}; +npath.contains = (from, to) => contains(npath, from, to); +ppath.contains = (from, to) => contains(ppath, from, to); +const WINDOWS_PATH_REGEXP = /^([a-zA-Z]:.*)$/; +const UNC_WINDOWS_PATH_REGEXP = /^\/\/(\.\/)?(.*)$/; +const PORTABLE_PATH_REGEXP = /^\/([a-zA-Z]:.*)$/; +const UNC_PORTABLE_PATH_REGEXP = /^\/unc\/(\.dot\/)?(.*)$/; +function fromPortablePathWin32(p) { + let portablePathMatch, uncPortablePathMatch; + if (portablePathMatch = p.match(PORTABLE_PATH_REGEXP)) + p = portablePathMatch[1]; + else if (uncPortablePathMatch = p.match(UNC_PORTABLE_PATH_REGEXP)) + p = `\\\\${uncPortablePathMatch[1] ? `.\\` : ``}${uncPortablePathMatch[2]}`; + else + return p; + return p.replace(/\//g, `\\`); +} +function toPortablePathWin32(p) { + p = p.replace(/\\/g, `/`); + let windowsPathMatch, uncWindowsPathMatch; + if (windowsPathMatch = p.match(WINDOWS_PATH_REGEXP)) + p = `/${windowsPathMatch[1]}`; + else if (uncWindowsPathMatch = p.match(UNC_WINDOWS_PATH_REGEXP)) + p = `/unc/${uncWindowsPathMatch[1] ? `.dot/` : ``}${uncWindowsPathMatch[2]}`; + return p; +} +const toPortablePath = process.platform === `win32` ? toPortablePathWin32 : (p) => p; +const fromPortablePath = process.platform === `win32` ? fromPortablePathWin32 : (p) => p; +npath.fromPortablePath = fromPortablePath; +npath.toPortablePath = toPortablePath; +function convertPath(targetPathUtils, sourcePath) { + return targetPathUtils === npath ? fromPortablePath(sourcePath) : toPortablePath(sourcePath); +} + +const defaultTime = new Date(SAFE_TIME * 1e3); +const defaultTimeMs = defaultTime.getTime(); +async function copyPromise(destinationFs, destination, sourceFs, source, opts) { + const normalizedDestination = destinationFs.pathUtils.normalize(destination); + const normalizedSource = sourceFs.pathUtils.normalize(source); + const prelayout = []; + const postlayout = []; + const { atime, mtime } = opts.stableTime ? { atime: defaultTime, mtime: defaultTime } : await sourceFs.lstatPromise(normalizedSource); + await destinationFs.mkdirpPromise(destinationFs.pathUtils.dirname(destination), { utimes: [atime, mtime] }); + await copyImpl(prelayout, postlayout, destinationFs, normalizedDestination, sourceFs, normalizedSource, { ...opts, didParentExist: true }); + for (const operation of prelayout) + await operation(); + await Promise.all(postlayout.map((operation) => { + return operation(); + })); +} +async function copyImpl(prelayout, postlayout, destinationFs, destination, sourceFs, source, opts) { + const destinationStat = opts.didParentExist ? await maybeLStat(destinationFs, destination) : null; + const sourceStat = await sourceFs.lstatPromise(source); + const { atime, mtime } = opts.stableTime ? { atime: defaultTime, mtime: defaultTime } : sourceStat; + let updated; + switch (true) { + case sourceStat.isDirectory(): + { + updated = await copyFolder(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts); + } + break; + case sourceStat.isFile(): + { + updated = await copyFile(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts); + } + break; + case sourceStat.isSymbolicLink(): + { + updated = await copySymlink(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts); + } + break; + default: + { + throw new Error(`Unsupported file type (${sourceStat.mode})`); + } + } + if (opts.linkStrategy?.type !== `HardlinkFromIndex` || !sourceStat.isFile()) { + if (updated || destinationStat?.mtime?.getTime() !== mtime.getTime() || destinationStat?.atime?.getTime() !== atime.getTime()) { + postlayout.push(() => destinationFs.lutimesPromise(destination, atime, mtime)); + updated = true; + } + if (destinationStat === null || (destinationStat.mode & 511) !== (sourceStat.mode & 511)) { + postlayout.push(() => destinationFs.chmodPromise(destination, sourceStat.mode & 511)); + updated = true; + } + } + return updated; +} +async function maybeLStat(baseFs, p) { + try { + return await baseFs.lstatPromise(p); + } catch (e) { + return null; + } +} +async function copyFolder(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts) { + if (destinationStat !== null && !destinationStat.isDirectory()) { + if (opts.overwrite) { + prelayout.push(async () => destinationFs.removePromise(destination)); + destinationStat = null; + } else { + return false; + } + } + let updated = false; + if (destinationStat === null) { + prelayout.push(async () => { + try { + await destinationFs.mkdirPromise(destination, { mode: sourceStat.mode }); + } catch (err) { + if (err.code !== `EEXIST`) { + throw err; + } + } + }); + updated = true; + } + const entries = await sourceFs.readdirPromise(source); + const nextOpts = opts.didParentExist && !destinationStat ? { ...opts, didParentExist: false } : opts; + if (opts.stableSort) { + for (const entry of entries.sort()) { + if (await copyImpl(prelayout, postlayout, destinationFs, destinationFs.pathUtils.join(destination, entry), sourceFs, sourceFs.pathUtils.join(source, entry), nextOpts)) { + updated = true; + } + } + } else { + const entriesUpdateStatus = await Promise.all(entries.map(async (entry) => { + await copyImpl(prelayout, postlayout, destinationFs, destinationFs.pathUtils.join(destination, entry), sourceFs, sourceFs.pathUtils.join(source, entry), nextOpts); + })); + if (entriesUpdateStatus.some((status) => status)) { + updated = true; + } + } + return updated; +} +async function copyFileViaIndex(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts, linkStrategy) { + const sourceHash = await sourceFs.checksumFilePromise(source, { algorithm: `sha1` }); + const indexPath = destinationFs.pathUtils.join(linkStrategy.indexPath, sourceHash.slice(0, 2), `${sourceHash}.dat`); + let AtomicBehavior; + ((AtomicBehavior2) => { + AtomicBehavior2[AtomicBehavior2["Lock"] = 0] = "Lock"; + AtomicBehavior2[AtomicBehavior2["Rename"] = 1] = "Rename"; + })(AtomicBehavior || (AtomicBehavior = {})); + let atomicBehavior = 1 /* Rename */; + let indexStat = await maybeLStat(destinationFs, indexPath); + if (destinationStat) { + const isDestinationHardlinkedFromIndex = indexStat && destinationStat.dev === indexStat.dev && destinationStat.ino === indexStat.ino; + const isIndexModified = indexStat?.mtimeMs !== defaultTimeMs; + if (isDestinationHardlinkedFromIndex) { + if (isIndexModified && linkStrategy.autoRepair) { + atomicBehavior = 0 /* Lock */; + indexStat = null; + } + } + if (!isDestinationHardlinkedFromIndex) { + if (opts.overwrite) { + prelayout.push(async () => destinationFs.removePromise(destination)); + destinationStat = null; + } else { + return false; + } + } + } + const tempPath = !indexStat && atomicBehavior === 1 /* Rename */ ? `${indexPath}.${Math.floor(Math.random() * 4294967296).toString(16).padStart(8, `0`)}` : null; + let tempPathCleaned = false; + prelayout.push(async () => { + if (!indexStat) { + if (atomicBehavior === 0 /* Lock */) { + await destinationFs.lockPromise(indexPath, async () => { + const content = await sourceFs.readFilePromise(source); + await destinationFs.writeFilePromise(indexPath, content); + }); + } + if (atomicBehavior === 1 /* Rename */ && tempPath) { + const content = await sourceFs.readFilePromise(source); + await destinationFs.writeFilePromise(tempPath, content); + try { + await destinationFs.linkPromise(tempPath, indexPath); + } catch (err) { + if (err.code === `EEXIST`) { + tempPathCleaned = true; + await destinationFs.unlinkPromise(tempPath); + } else { + throw err; + } + } + } + } + if (!destinationStat) { + await destinationFs.linkPromise(indexPath, destination); + } + }); + postlayout.push(async () => { + if (!indexStat) + await destinationFs.lutimesPromise(indexPath, defaultTime, defaultTime); + if (tempPath && !tempPathCleaned) { + await destinationFs.unlinkPromise(tempPath); + } + }); + return false; +} +async function copyFileDirect(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts) { + if (destinationStat !== null) { + if (opts.overwrite) { + prelayout.push(async () => destinationFs.removePromise(destination)); + destinationStat = null; + } else { + return false; + } + } + prelayout.push(async () => { + const content = await sourceFs.readFilePromise(source); + await destinationFs.writeFilePromise(destination, content); + }); + return true; +} +async function copyFile(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts) { + if (opts.linkStrategy?.type === `HardlinkFromIndex`) { + return copyFileViaIndex(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts, opts.linkStrategy); + } else { + return copyFileDirect(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts); + } +} +async function copySymlink(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts) { + if (destinationStat !== null) { + if (opts.overwrite) { + prelayout.push(async () => destinationFs.removePromise(destination)); + destinationStat = null; + } else { + return false; + } + } + prelayout.push(async () => { + await destinationFs.symlinkPromise(convertPath(destinationFs.pathUtils, await sourceFs.readlinkPromise(source)), destination); + }); + return true; +} + +class CustomDir { + constructor(path, nextDirent, opts = {}) { + this.path = path; + this.nextDirent = nextDirent; + this.opts = opts; + this.closed = false; + } + throwIfClosed() { + if (this.closed) { + throw ERR_DIR_CLOSED(); + } + } + async *[Symbol.asyncIterator]() { + try { + let dirent; + while ((dirent = await this.read()) !== null) { + yield dirent; + } + } finally { + await this.close(); + } + } + read(cb) { + const dirent = this.readSync(); + if (typeof cb !== `undefined`) + return cb(null, dirent); + return Promise.resolve(dirent); + } + readSync() { + this.throwIfClosed(); + return this.nextDirent(); + } + close(cb) { + this.closeSync(); + if (typeof cb !== `undefined`) + return cb(null); + return Promise.resolve(); + } + closeSync() { + this.throwIfClosed(); + this.opts.onClose?.(); + this.closed = true; + } +} +function opendir(fakeFs, path, entries, opts) { + const nextDirent = () => { + const filename = entries.shift(); + if (typeof filename === `undefined`) + return null; + const entryPath = fakeFs.pathUtils.join(path, filename); + return Object.assign(fakeFs.statSync(entryPath), { + name: filename, + path: void 0 + }); + }; + return new CustomDir(path, nextDirent, opts); +} + +function assertStatus(current, expected) { + if (current !== expected) { + throw new Error(`Invalid StatWatcher status: expected '${expected}', got '${current}'`); + } +} +class CustomStatWatcher extends events.EventEmitter { + constructor(fakeFs, path, { bigint = false } = {}) { + super(); + this.status = "ready" /* Ready */; + this.changeListeners = /* @__PURE__ */ new Map(); + this.startTimeout = null; + this.fakeFs = fakeFs; + this.path = path; + this.bigint = bigint; + this.lastStats = this.stat(); + } + static create(fakeFs, path, opts) { + const statWatcher = new CustomStatWatcher(fakeFs, path, opts); + statWatcher.start(); + return statWatcher; + } + start() { + assertStatus(this.status, "ready" /* Ready */); + this.status = "running" /* Running */; + this.startTimeout = setTimeout(() => { + this.startTimeout = null; + if (!this.fakeFs.existsSync(this.path)) { + this.emit("change" /* Change */, this.lastStats, this.lastStats); + } + }, 3); + } + stop() { + assertStatus(this.status, "running" /* Running */); + this.status = "stopped" /* Stopped */; + if (this.startTimeout !== null) { + clearTimeout(this.startTimeout); + this.startTimeout = null; + } + this.emit("stop" /* Stop */); + } + stat() { + try { + return this.fakeFs.statSync(this.path, { bigint: this.bigint }); + } catch (error) { + const statInstance = this.bigint ? new BigIntStatsEntry() : new StatEntry(); + return clearStats(statInstance); + } + } + makeInterval(opts) { + const interval = setInterval(() => { + const currentStats = this.stat(); + const previousStats = this.lastStats; + if (areStatsEqual(currentStats, previousStats)) + return; + this.lastStats = currentStats; + this.emit("change" /* Change */, currentStats, previousStats); + }, opts.interval); + return opts.persistent ? interval : interval.unref(); + } + registerChangeListener(listener, opts) { + this.addListener("change" /* Change */, listener); + this.changeListeners.set(listener, this.makeInterval(opts)); + } + unregisterChangeListener(listener) { + this.removeListener("change" /* Change */, listener); + const interval = this.changeListeners.get(listener); + if (typeof interval !== `undefined`) + clearInterval(interval); + this.changeListeners.delete(listener); + } + unregisterAllChangeListeners() { + for (const listener of this.changeListeners.keys()) { + this.unregisterChangeListener(listener); + } + } + hasChangeListeners() { + return this.changeListeners.size > 0; + } + ref() { + for (const interval of this.changeListeners.values()) + interval.ref(); + return this; + } + unref() { + for (const interval of this.changeListeners.values()) + interval.unref(); + return this; + } +} + +const statWatchersByFakeFS = /* @__PURE__ */ new WeakMap(); +function watchFile(fakeFs, path, a, b) { + let bigint; + let persistent; + let interval; + let listener; + switch (typeof a) { + case `function`: + { + bigint = false; + persistent = true; + interval = 5007; + listener = a; + } + break; + default: + { + ({ + bigint = false, + persistent = true, + interval = 5007 + } = a); + listener = b; + } + break; + } + let statWatchers = statWatchersByFakeFS.get(fakeFs); + if (typeof statWatchers === `undefined`) + statWatchersByFakeFS.set(fakeFs, statWatchers = /* @__PURE__ */ new Map()); + let statWatcher = statWatchers.get(path); + if (typeof statWatcher === `undefined`) { + statWatcher = CustomStatWatcher.create(fakeFs, path, { bigint }); + statWatchers.set(path, statWatcher); + } + statWatcher.registerChangeListener(listener, { persistent, interval }); + return statWatcher; +} +function unwatchFile(fakeFs, path, cb) { + const statWatchers = statWatchersByFakeFS.get(fakeFs); + if (typeof statWatchers === `undefined`) + return; + const statWatcher = statWatchers.get(path); + if (typeof statWatcher === `undefined`) + return; + if (typeof cb === `undefined`) + statWatcher.unregisterAllChangeListeners(); + else + statWatcher.unregisterChangeListener(cb); + if (!statWatcher.hasChangeListeners()) { + statWatcher.stop(); + statWatchers.delete(path); + } +} +function unwatchAllFiles(fakeFs) { + const statWatchers = statWatchersByFakeFS.get(fakeFs); + if (typeof statWatchers === `undefined`) + return; + for (const path of statWatchers.keys()) { + unwatchFile(fakeFs, path); + } +} + +class FakeFS { + constructor(pathUtils) { + this.pathUtils = pathUtils; + } + async *genTraversePromise(init, { stableSort = false } = {}) { + const stack = [init]; + while (stack.length > 0) { + const p = stack.shift(); + const entry = await this.lstatPromise(p); + if (entry.isDirectory()) { + const entries = await this.readdirPromise(p); + if (stableSort) { + for (const entry2 of entries.sort()) { + stack.push(this.pathUtils.join(p, entry2)); + } + } else { + throw new Error(`Not supported`); + } + } else { + yield p; + } + } + } + async checksumFilePromise(path, { algorithm = `sha512` } = {}) { + const fd = await this.openPromise(path, `r`); + try { + const CHUNK_SIZE = 65536; + const chunk = Buffer.allocUnsafeSlow(CHUNK_SIZE); + const hash = crypto.createHash(algorithm); + let bytesRead = 0; + while ((bytesRead = await this.readPromise(fd, chunk, 0, CHUNK_SIZE)) !== 0) + hash.update(bytesRead === CHUNK_SIZE ? chunk : chunk.slice(0, bytesRead)); + return hash.digest(`hex`); + } finally { + await this.closePromise(fd); + } + } + async removePromise(p, { recursive = true, maxRetries = 5 } = {}) { + let stat; + try { + stat = await this.lstatPromise(p); + } catch (error) { + if (error.code === `ENOENT`) { + return; + } else { + throw error; + } + } + if (stat.isDirectory()) { + if (recursive) { + const entries = await this.readdirPromise(p); + await Promise.all(entries.map((entry) => { + return this.removePromise(this.pathUtils.resolve(p, entry)); + })); + } + for (let t = 0; t <= maxRetries; t++) { + try { + await this.rmdirPromise(p); + break; + } catch (error) { + if (error.code !== `EBUSY` && error.code !== `ENOTEMPTY`) { + throw error; + } else if (t < maxRetries) { + await new Promise((resolve) => setTimeout(resolve, t * 100)); + } + } + } + } else { + await this.unlinkPromise(p); + } + } + removeSync(p, { recursive = true } = {}) { + let stat; + try { + stat = this.lstatSync(p); + } catch (error) { + if (error.code === `ENOENT`) { + return; + } else { + throw error; + } + } + if (stat.isDirectory()) { + if (recursive) + for (const entry of this.readdirSync(p)) + this.removeSync(this.pathUtils.resolve(p, entry)); + this.rmdirSync(p); + } else { + this.unlinkSync(p); + } + } + async mkdirpPromise(p, { chmod, utimes } = {}) { + p = this.resolve(p); + if (p === this.pathUtils.dirname(p)) + return void 0; + const parts = p.split(this.pathUtils.sep); + let createdDirectory; + for (let u = 2; u <= parts.length; ++u) { + const subPath = parts.slice(0, u).join(this.pathUtils.sep); + if (!this.existsSync(subPath)) { + try { + await this.mkdirPromise(subPath); + } catch (error) { + if (error.code === `EEXIST`) { + continue; + } else { + throw error; + } + } + createdDirectory ??= subPath; + if (chmod != null) + await this.chmodPromise(subPath, chmod); + if (utimes != null) { + await this.utimesPromise(subPath, utimes[0], utimes[1]); + } else { + const parentStat = await this.statPromise(this.pathUtils.dirname(subPath)); + await this.utimesPromise(subPath, parentStat.atime, parentStat.mtime); + } + } + } + return createdDirectory; + } + mkdirpSync(p, { chmod, utimes } = {}) { + p = this.resolve(p); + if (p === this.pathUtils.dirname(p)) + return void 0; + const parts = p.split(this.pathUtils.sep); + let createdDirectory; + for (let u = 2; u <= parts.length; ++u) { + const subPath = parts.slice(0, u).join(this.pathUtils.sep); + if (!this.existsSync(subPath)) { + try { + this.mkdirSync(subPath); + } catch (error) { + if (error.code === `EEXIST`) { + continue; + } else { + throw error; + } + } + createdDirectory ??= subPath; + if (chmod != null) + this.chmodSync(subPath, chmod); + if (utimes != null) { + this.utimesSync(subPath, utimes[0], utimes[1]); + } else { + const parentStat = this.statSync(this.pathUtils.dirname(subPath)); + this.utimesSync(subPath, parentStat.atime, parentStat.mtime); + } + } + } + return createdDirectory; + } + async copyPromise(destination, source, { baseFs = this, overwrite = true, stableSort = false, stableTime = false, linkStrategy = null } = {}) { + return await copyPromise(this, destination, baseFs, source, { overwrite, stableSort, stableTime, linkStrategy }); + } + copySync(destination, source, { baseFs = this, overwrite = true } = {}) { + const stat = baseFs.lstatSync(source); + const exists = this.existsSync(destination); + if (stat.isDirectory()) { + this.mkdirpSync(destination); + const directoryListing = baseFs.readdirSync(source); + for (const entry of directoryListing) { + this.copySync(this.pathUtils.join(destination, entry), baseFs.pathUtils.join(source, entry), { baseFs, overwrite }); + } + } else if (stat.isFile()) { + if (!exists || overwrite) { + if (exists) + this.removeSync(destination); + const content = baseFs.readFileSync(source); + this.writeFileSync(destination, content); + } + } else if (stat.isSymbolicLink()) { + if (!exists || overwrite) { + if (exists) + this.removeSync(destination); + const target = baseFs.readlinkSync(source); + this.symlinkSync(convertPath(this.pathUtils, target), destination); + } + } else { + throw new Error(`Unsupported file type (file: ${source}, mode: 0o${stat.mode.toString(8).padStart(6, `0`)})`); + } + const mode = stat.mode & 511; + this.chmodSync(destination, mode); + } + async changeFilePromise(p, content, opts = {}) { + if (Buffer.isBuffer(content)) { + return this.changeFileBufferPromise(p, content, opts); + } else { + return this.changeFileTextPromise(p, content, opts); + } + } + async changeFileBufferPromise(p, content, { mode } = {}) { + let current = Buffer.alloc(0); + try { + current = await this.readFilePromise(p); + } catch (error) { + } + if (Buffer.compare(current, content) === 0) + return; + await this.writeFilePromise(p, content, { mode }); + } + async changeFileTextPromise(p, content, { automaticNewlines, mode } = {}) { + let current = ``; + try { + current = await this.readFilePromise(p, `utf8`); + } catch (error) { + } + const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content; + if (current === normalizedContent) + return; + await this.writeFilePromise(p, normalizedContent, { mode }); + } + changeFileSync(p, content, opts = {}) { + if (Buffer.isBuffer(content)) { + return this.changeFileBufferSync(p, content, opts); + } else { + return this.changeFileTextSync(p, content, opts); + } + } + changeFileBufferSync(p, content, { mode } = {}) { + let current = Buffer.alloc(0); + try { + current = this.readFileSync(p); + } catch (error) { + } + if (Buffer.compare(current, content) === 0) + return; + this.writeFileSync(p, content, { mode }); + } + changeFileTextSync(p, content, { automaticNewlines = false, mode } = {}) { + let current = ``; + try { + current = this.readFileSync(p, `utf8`); + } catch (error) { + } + const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content; + if (current === normalizedContent) + return; + this.writeFileSync(p, normalizedContent, { mode }); + } + async movePromise(fromP, toP) { + try { + await this.renamePromise(fromP, toP); + } catch (error) { + if (error.code === `EXDEV`) { + await this.copyPromise(toP, fromP); + await this.removePromise(fromP); + } else { + throw error; + } + } + } + moveSync(fromP, toP) { + try { + this.renameSync(fromP, toP); + } catch (error) { + if (error.code === `EXDEV`) { + this.copySync(toP, fromP); + this.removeSync(fromP); + } else { + throw error; + } + } + } + async lockPromise(affectedPath, callback) { + const lockPath = `${affectedPath}.flock`; + const interval = 1e3 / 60; + const startTime = Date.now(); + let fd = null; + const isAlive = async () => { + let pid; + try { + [pid] = await this.readJsonPromise(lockPath); + } catch (error) { + return Date.now() - startTime < 500; + } + try { + process.kill(pid, 0); + return true; + } catch (error) { + return false; + } + }; + while (fd === null) { + try { + fd = await this.openPromise(lockPath, `wx`); + } catch (error) { + if (error.code === `EEXIST`) { + if (!await isAlive()) { + try { + await this.unlinkPromise(lockPath); + continue; + } catch (error2) { + } + } + if (Date.now() - startTime < 60 * 1e3) { + await new Promise((resolve) => setTimeout(resolve, interval)); + } else { + throw new Error(`Couldn't acquire a lock in a reasonable time (via ${lockPath})`); + } + } else { + throw error; + } + } + } + await this.writePromise(fd, JSON.stringify([process.pid])); + try { + return await callback(); + } finally { + try { + await this.closePromise(fd); + await this.unlinkPromise(lockPath); + } catch (error) { + } + } + } + async readJsonPromise(p) { + const content = await this.readFilePromise(p, `utf8`); + try { + return JSON.parse(content); + } catch (error) { + error.message += ` (in ${p})`; + throw error; + } + } + readJsonSync(p) { + const content = this.readFileSync(p, `utf8`); + try { + return JSON.parse(content); + } catch (error) { + error.message += ` (in ${p})`; + throw error; + } + } + async writeJsonPromise(p, data, { compact = false } = {}) { + const space = compact ? 0 : 2; + return await this.writeFilePromise(p, `${JSON.stringify(data, null, space)} +`); + } + writeJsonSync(p, data, { compact = false } = {}) { + const space = compact ? 0 : 2; + return this.writeFileSync(p, `${JSON.stringify(data, null, space)} +`); + } + async preserveTimePromise(p, cb) { + const stat = await this.lstatPromise(p); + const result = await cb(); + if (typeof result !== `undefined`) + p = result; + await this.lutimesPromise(p, stat.atime, stat.mtime); + } + async preserveTimeSync(p, cb) { + const stat = this.lstatSync(p); + const result = cb(); + if (typeof result !== `undefined`) + p = result; + this.lutimesSync(p, stat.atime, stat.mtime); + } +} +class BasePortableFakeFS extends FakeFS { + constructor() { + super(ppath); + } +} +function getEndOfLine(content) { + const matches = content.match(/\r?\n/g); + if (matches === null) + return os.EOL; + const crlf = matches.filter((nl) => nl === `\r +`).length; + const lf = matches.length - crlf; + return crlf > lf ? `\r +` : ` +`; +} +function normalizeLineEndings(originalContent, newContent) { + return newContent.replace(/\r?\n/g, getEndOfLine(originalContent)); +} + +class ProxiedFS extends FakeFS { + getExtractHint(hints) { + return this.baseFs.getExtractHint(hints); + } + resolve(path) { + return this.mapFromBase(this.baseFs.resolve(this.mapToBase(path))); + } + getRealPath() { + return this.mapFromBase(this.baseFs.getRealPath()); + } + async openPromise(p, flags, mode) { + return this.baseFs.openPromise(this.mapToBase(p), flags, mode); + } + openSync(p, flags, mode) { + return this.baseFs.openSync(this.mapToBase(p), flags, mode); + } + async opendirPromise(p, opts) { + return Object.assign(await this.baseFs.opendirPromise(this.mapToBase(p), opts), { path: p }); + } + opendirSync(p, opts) { + return Object.assign(this.baseFs.opendirSync(this.mapToBase(p), opts), { path: p }); + } + async readPromise(fd, buffer, offset, length, position) { + return await this.baseFs.readPromise(fd, buffer, offset, length, position); + } + readSync(fd, buffer, offset, length, position) { + return this.baseFs.readSync(fd, buffer, offset, length, position); + } + async writePromise(fd, buffer, offset, length, position) { + if (typeof buffer === `string`) { + return await this.baseFs.writePromise(fd, buffer, offset); + } else { + return await this.baseFs.writePromise(fd, buffer, offset, length, position); + } + } + writeSync(fd, buffer, offset, length, position) { + if (typeof buffer === `string`) { + return this.baseFs.writeSync(fd, buffer, offset); + } else { + return this.baseFs.writeSync(fd, buffer, offset, length, position); + } + } + async closePromise(fd) { + return this.baseFs.closePromise(fd); + } + closeSync(fd) { + this.baseFs.closeSync(fd); + } + createReadStream(p, opts) { + return this.baseFs.createReadStream(p !== null ? this.mapToBase(p) : p, opts); + } + createWriteStream(p, opts) { + return this.baseFs.createWriteStream(p !== null ? this.mapToBase(p) : p, opts); + } + async realpathPromise(p) { + return this.mapFromBase(await this.baseFs.realpathPromise(this.mapToBase(p))); + } + realpathSync(p) { + return this.mapFromBase(this.baseFs.realpathSync(this.mapToBase(p))); + } + async existsPromise(p) { + return this.baseFs.existsPromise(this.mapToBase(p)); + } + existsSync(p) { + return this.baseFs.existsSync(this.mapToBase(p)); + } + accessSync(p, mode) { + return this.baseFs.accessSync(this.mapToBase(p), mode); + } + async accessPromise(p, mode) { + return this.baseFs.accessPromise(this.mapToBase(p), mode); + } + async statPromise(p, opts) { + return this.baseFs.statPromise(this.mapToBase(p), opts); + } + statSync(p, opts) { + return this.baseFs.statSync(this.mapToBase(p), opts); + } + async fstatPromise(fd, opts) { + return this.baseFs.fstatPromise(fd, opts); + } + fstatSync(fd, opts) { + return this.baseFs.fstatSync(fd, opts); + } + lstatPromise(p, opts) { + return this.baseFs.lstatPromise(this.mapToBase(p), opts); + } + lstatSync(p, opts) { + return this.baseFs.lstatSync(this.mapToBase(p), opts); + } + async fchmodPromise(fd, mask) { + return this.baseFs.fchmodPromise(fd, mask); + } + fchmodSync(fd, mask) { + return this.baseFs.fchmodSync(fd, mask); + } + async chmodPromise(p, mask) { + return this.baseFs.chmodPromise(this.mapToBase(p), mask); + } + chmodSync(p, mask) { + return this.baseFs.chmodSync(this.mapToBase(p), mask); + } + async fchownPromise(fd, uid, gid) { + return this.baseFs.fchownPromise(fd, uid, gid); + } + fchownSync(fd, uid, gid) { + return this.baseFs.fchownSync(fd, uid, gid); + } + async chownPromise(p, uid, gid) { + return this.baseFs.chownPromise(this.mapToBase(p), uid, gid); + } + chownSync(p, uid, gid) { + return this.baseFs.chownSync(this.mapToBase(p), uid, gid); + } + async renamePromise(oldP, newP) { + return this.baseFs.renamePromise(this.mapToBase(oldP), this.mapToBase(newP)); + } + renameSync(oldP, newP) { + return this.baseFs.renameSync(this.mapToBase(oldP), this.mapToBase(newP)); + } + async copyFilePromise(sourceP, destP, flags = 0) { + return this.baseFs.copyFilePromise(this.mapToBase(sourceP), this.mapToBase(destP), flags); + } + copyFileSync(sourceP, destP, flags = 0) { + return this.baseFs.copyFileSync(this.mapToBase(sourceP), this.mapToBase(destP), flags); + } + async appendFilePromise(p, content, opts) { + return this.baseFs.appendFilePromise(this.fsMapToBase(p), content, opts); + } + appendFileSync(p, content, opts) { + return this.baseFs.appendFileSync(this.fsMapToBase(p), content, opts); + } + async writeFilePromise(p, content, opts) { + return this.baseFs.writeFilePromise(this.fsMapToBase(p), content, opts); + } + writeFileSync(p, content, opts) { + return this.baseFs.writeFileSync(this.fsMapToBase(p), content, opts); + } + async unlinkPromise(p) { + return this.baseFs.unlinkPromise(this.mapToBase(p)); + } + unlinkSync(p) { + return this.baseFs.unlinkSync(this.mapToBase(p)); + } + async utimesPromise(p, atime, mtime) { + return this.baseFs.utimesPromise(this.mapToBase(p), atime, mtime); + } + utimesSync(p, atime, mtime) { + return this.baseFs.utimesSync(this.mapToBase(p), atime, mtime); + } + async lutimesPromise(p, atime, mtime) { + return this.baseFs.lutimesPromise(this.mapToBase(p), atime, mtime); + } + lutimesSync(p, atime, mtime) { + return this.baseFs.lutimesSync(this.mapToBase(p), atime, mtime); + } + async mkdirPromise(p, opts) { + return this.baseFs.mkdirPromise(this.mapToBase(p), opts); + } + mkdirSync(p, opts) { + return this.baseFs.mkdirSync(this.mapToBase(p), opts); + } + async rmdirPromise(p, opts) { + return this.baseFs.rmdirPromise(this.mapToBase(p), opts); + } + rmdirSync(p, opts) { + return this.baseFs.rmdirSync(this.mapToBase(p), opts); + } + async linkPromise(existingP, newP) { + return this.baseFs.linkPromise(this.mapToBase(existingP), this.mapToBase(newP)); + } + linkSync(existingP, newP) { + return this.baseFs.linkSync(this.mapToBase(existingP), this.mapToBase(newP)); + } + async symlinkPromise(target, p, type) { + const mappedP = this.mapToBase(p); + if (this.pathUtils.isAbsolute(target)) + return this.baseFs.symlinkPromise(this.mapToBase(target), mappedP, type); + const mappedAbsoluteTarget = this.mapToBase(this.pathUtils.join(this.pathUtils.dirname(p), target)); + const mappedTarget = this.baseFs.pathUtils.relative(this.baseFs.pathUtils.dirname(mappedP), mappedAbsoluteTarget); + return this.baseFs.symlinkPromise(mappedTarget, mappedP, type); + } + symlinkSync(target, p, type) { + const mappedP = this.mapToBase(p); + if (this.pathUtils.isAbsolute(target)) + return this.baseFs.symlinkSync(this.mapToBase(target), mappedP, type); + const mappedAbsoluteTarget = this.mapToBase(this.pathUtils.join(this.pathUtils.dirname(p), target)); + const mappedTarget = this.baseFs.pathUtils.relative(this.baseFs.pathUtils.dirname(mappedP), mappedAbsoluteTarget); + return this.baseFs.symlinkSync(mappedTarget, mappedP, type); + } + async readFilePromise(p, encoding) { + return this.baseFs.readFilePromise(this.fsMapToBase(p), encoding); + } + readFileSync(p, encoding) { + return this.baseFs.readFileSync(this.fsMapToBase(p), encoding); + } + readdirPromise(p, opts) { + return this.baseFs.readdirPromise(this.mapToBase(p), opts); + } + readdirSync(p, opts) { + return this.baseFs.readdirSync(this.mapToBase(p), opts); + } + async readlinkPromise(p) { + return this.mapFromBase(await this.baseFs.readlinkPromise(this.mapToBase(p))); + } + readlinkSync(p) { + return this.mapFromBase(this.baseFs.readlinkSync(this.mapToBase(p))); + } + async truncatePromise(p, len) { + return this.baseFs.truncatePromise(this.mapToBase(p), len); + } + truncateSync(p, len) { + return this.baseFs.truncateSync(this.mapToBase(p), len); + } + async ftruncatePromise(fd, len) { + return this.baseFs.ftruncatePromise(fd, len); + } + ftruncateSync(fd, len) { + return this.baseFs.ftruncateSync(fd, len); + } + watch(p, a, b) { + return this.baseFs.watch( + this.mapToBase(p), + a, + b + ); + } + watchFile(p, a, b) { + return this.baseFs.watchFile( + this.mapToBase(p), + a, + b + ); + } + unwatchFile(p, cb) { + return this.baseFs.unwatchFile(this.mapToBase(p), cb); + } + fsMapToBase(p) { + if (typeof p === `number`) { + return p; + } else { + return this.mapToBase(p); + } + } +} + +function direntToPortable(dirent) { + const portableDirent = dirent; + if (typeof dirent.path === `string`) + portableDirent.path = npath.toPortablePath(dirent.path); + return portableDirent; +} +class NodeFS extends BasePortableFakeFS { + constructor(realFs = fs__default.default) { + super(); + this.realFs = realFs; + } + getExtractHint() { + return false; + } + getRealPath() { + return PortablePath.root; + } + resolve(p) { + return ppath.resolve(p); + } + async openPromise(p, flags, mode) { + return await new Promise((resolve, reject) => { + this.realFs.open(npath.fromPortablePath(p), flags, mode, this.makeCallback(resolve, reject)); + }); + } + openSync(p, flags, mode) { + return this.realFs.openSync(npath.fromPortablePath(p), flags, mode); + } + async opendirPromise(p, opts) { + return await new Promise((resolve, reject) => { + if (typeof opts !== `undefined`) { + this.realFs.opendir(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.opendir(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + } + }).then((dir) => { + const dirWithFixedPath = dir; + Object.defineProperty(dirWithFixedPath, `path`, { + value: p, + configurable: true, + writable: true + }); + return dirWithFixedPath; + }); + } + opendirSync(p, opts) { + const dir = typeof opts !== `undefined` ? this.realFs.opendirSync(npath.fromPortablePath(p), opts) : this.realFs.opendirSync(npath.fromPortablePath(p)); + const dirWithFixedPath = dir; + Object.defineProperty(dirWithFixedPath, `path`, { + value: p, + configurable: true, + writable: true + }); + return dirWithFixedPath; + } + async readPromise(fd, buffer, offset = 0, length = 0, position = -1) { + return await new Promise((resolve, reject) => { + this.realFs.read(fd, buffer, offset, length, position, (error, bytesRead) => { + if (error) { + reject(error); + } else { + resolve(bytesRead); + } + }); + }); + } + readSync(fd, buffer, offset, length, position) { + return this.realFs.readSync(fd, buffer, offset, length, position); + } + async writePromise(fd, buffer, offset, length, position) { + return await new Promise((resolve, reject) => { + if (typeof buffer === `string`) { + return this.realFs.write(fd, buffer, offset, this.makeCallback(resolve, reject)); + } else { + return this.realFs.write(fd, buffer, offset, length, position, this.makeCallback(resolve, reject)); + } + }); + } + writeSync(fd, buffer, offset, length, position) { + if (typeof buffer === `string`) { + return this.realFs.writeSync(fd, buffer, offset); + } else { + return this.realFs.writeSync(fd, buffer, offset, length, position); + } + } + async closePromise(fd) { + await new Promise((resolve, reject) => { + this.realFs.close(fd, this.makeCallback(resolve, reject)); + }); + } + closeSync(fd) { + this.realFs.closeSync(fd); + } + createReadStream(p, opts) { + const realPath = p !== null ? npath.fromPortablePath(p) : p; + return this.realFs.createReadStream(realPath, opts); + } + createWriteStream(p, opts) { + const realPath = p !== null ? npath.fromPortablePath(p) : p; + return this.realFs.createWriteStream(realPath, opts); + } + async realpathPromise(p) { + return await new Promise((resolve, reject) => { + this.realFs.realpath(npath.fromPortablePath(p), {}, this.makeCallback(resolve, reject)); + }).then((path) => { + return npath.toPortablePath(path); + }); + } + realpathSync(p) { + return npath.toPortablePath(this.realFs.realpathSync(npath.fromPortablePath(p), {})); + } + async existsPromise(p) { + return await new Promise((resolve) => { + this.realFs.exists(npath.fromPortablePath(p), resolve); + }); + } + accessSync(p, mode) { + return this.realFs.accessSync(npath.fromPortablePath(p), mode); + } + async accessPromise(p, mode) { + return await new Promise((resolve, reject) => { + this.realFs.access(npath.fromPortablePath(p), mode, this.makeCallback(resolve, reject)); + }); + } + existsSync(p) { + return this.realFs.existsSync(npath.fromPortablePath(p)); + } + async statPromise(p, opts) { + return await new Promise((resolve, reject) => { + if (opts) { + this.realFs.stat(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.stat(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + } + }); + } + statSync(p, opts) { + if (opts) { + return this.realFs.statSync(npath.fromPortablePath(p), opts); + } else { + return this.realFs.statSync(npath.fromPortablePath(p)); + } + } + async fstatPromise(fd, opts) { + return await new Promise((resolve, reject) => { + if (opts) { + this.realFs.fstat(fd, opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.fstat(fd, this.makeCallback(resolve, reject)); + } + }); + } + fstatSync(fd, opts) { + if (opts) { + return this.realFs.fstatSync(fd, opts); + } else { + return this.realFs.fstatSync(fd); + } + } + async lstatPromise(p, opts) { + return await new Promise((resolve, reject) => { + if (opts) { + this.realFs.lstat(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.lstat(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + } + }); + } + lstatSync(p, opts) { + if (opts) { + return this.realFs.lstatSync(npath.fromPortablePath(p), opts); + } else { + return this.realFs.lstatSync(npath.fromPortablePath(p)); + } + } + async fchmodPromise(fd, mask) { + return await new Promise((resolve, reject) => { + this.realFs.fchmod(fd, mask, this.makeCallback(resolve, reject)); + }); + } + fchmodSync(fd, mask) { + return this.realFs.fchmodSync(fd, mask); + } + async chmodPromise(p, mask) { + return await new Promise((resolve, reject) => { + this.realFs.chmod(npath.fromPortablePath(p), mask, this.makeCallback(resolve, reject)); + }); + } + chmodSync(p, mask) { + return this.realFs.chmodSync(npath.fromPortablePath(p), mask); + } + async fchownPromise(fd, uid, gid) { + return await new Promise((resolve, reject) => { + this.realFs.fchown(fd, uid, gid, this.makeCallback(resolve, reject)); + }); + } + fchownSync(fd, uid, gid) { + return this.realFs.fchownSync(fd, uid, gid); + } + async chownPromise(p, uid, gid) { + return await new Promise((resolve, reject) => { + this.realFs.chown(npath.fromPortablePath(p), uid, gid, this.makeCallback(resolve, reject)); + }); + } + chownSync(p, uid, gid) { + return this.realFs.chownSync(npath.fromPortablePath(p), uid, gid); + } + async renamePromise(oldP, newP) { + return await new Promise((resolve, reject) => { + this.realFs.rename(npath.fromPortablePath(oldP), npath.fromPortablePath(newP), this.makeCallback(resolve, reject)); + }); + } + renameSync(oldP, newP) { + return this.realFs.renameSync(npath.fromPortablePath(oldP), npath.fromPortablePath(newP)); + } + async copyFilePromise(sourceP, destP, flags = 0) { + return await new Promise((resolve, reject) => { + this.realFs.copyFile(npath.fromPortablePath(sourceP), npath.fromPortablePath(destP), flags, this.makeCallback(resolve, reject)); + }); + } + copyFileSync(sourceP, destP, flags = 0) { + return this.realFs.copyFileSync(npath.fromPortablePath(sourceP), npath.fromPortablePath(destP), flags); + } + async appendFilePromise(p, content, opts) { + return await new Promise((resolve, reject) => { + const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; + if (opts) { + this.realFs.appendFile(fsNativePath, content, opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.appendFile(fsNativePath, content, this.makeCallback(resolve, reject)); + } + }); + } + appendFileSync(p, content, opts) { + const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; + if (opts) { + this.realFs.appendFileSync(fsNativePath, content, opts); + } else { + this.realFs.appendFileSync(fsNativePath, content); + } + } + async writeFilePromise(p, content, opts) { + return await new Promise((resolve, reject) => { + const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; + if (opts) { + this.realFs.writeFile(fsNativePath, content, opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.writeFile(fsNativePath, content, this.makeCallback(resolve, reject)); + } + }); + } + writeFileSync(p, content, opts) { + const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; + if (opts) { + this.realFs.writeFileSync(fsNativePath, content, opts); + } else { + this.realFs.writeFileSync(fsNativePath, content); + } + } + async unlinkPromise(p) { + return await new Promise((resolve, reject) => { + this.realFs.unlink(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + }); + } + unlinkSync(p) { + return this.realFs.unlinkSync(npath.fromPortablePath(p)); + } + async utimesPromise(p, atime, mtime) { + return await new Promise((resolve, reject) => { + this.realFs.utimes(npath.fromPortablePath(p), atime, mtime, this.makeCallback(resolve, reject)); + }); + } + utimesSync(p, atime, mtime) { + this.realFs.utimesSync(npath.fromPortablePath(p), atime, mtime); + } + async lutimesPromise(p, atime, mtime) { + return await new Promise((resolve, reject) => { + this.realFs.lutimes(npath.fromPortablePath(p), atime, mtime, this.makeCallback(resolve, reject)); + }); + } + lutimesSync(p, atime, mtime) { + this.realFs.lutimesSync(npath.fromPortablePath(p), atime, mtime); + } + async mkdirPromise(p, opts) { + return await new Promise((resolve, reject) => { + this.realFs.mkdir(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + }); + } + mkdirSync(p, opts) { + return this.realFs.mkdirSync(npath.fromPortablePath(p), opts); + } + async rmdirPromise(p, opts) { + return await new Promise((resolve, reject) => { + if (opts) { + this.realFs.rmdir(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.rmdir(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + } + }); + } + rmdirSync(p, opts) { + return this.realFs.rmdirSync(npath.fromPortablePath(p), opts); + } + async linkPromise(existingP, newP) { + return await new Promise((resolve, reject) => { + this.realFs.link(npath.fromPortablePath(existingP), npath.fromPortablePath(newP), this.makeCallback(resolve, reject)); + }); + } + linkSync(existingP, newP) { + return this.realFs.linkSync(npath.fromPortablePath(existingP), npath.fromPortablePath(newP)); + } + async symlinkPromise(target, p, type) { + return await new Promise((resolve, reject) => { + this.realFs.symlink(npath.fromPortablePath(target.replace(/\/+$/, ``)), npath.fromPortablePath(p), type, this.makeCallback(resolve, reject)); + }); + } + symlinkSync(target, p, type) { + return this.realFs.symlinkSync(npath.fromPortablePath(target.replace(/\/+$/, ``)), npath.fromPortablePath(p), type); + } + async readFilePromise(p, encoding) { + return await new Promise((resolve, reject) => { + const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; + this.realFs.readFile(fsNativePath, encoding, this.makeCallback(resolve, reject)); + }); + } + readFileSync(p, encoding) { + const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; + return this.realFs.readFileSync(fsNativePath, encoding); + } + async readdirPromise(p, opts) { + return await new Promise((resolve, reject) => { + if (opts) { + if (opts.recursive && process.platform === `win32`) { + if (opts.withFileTypes) { + this.realFs.readdir(npath.fromPortablePath(p), opts, this.makeCallback((results) => resolve(results.map(direntToPortable)), reject)); + } else { + this.realFs.readdir(npath.fromPortablePath(p), opts, this.makeCallback((results) => resolve(results.map(npath.toPortablePath)), reject)); + } + } else { + this.realFs.readdir(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + } + } else { + this.realFs.readdir(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + } + }); + } + readdirSync(p, opts) { + if (opts) { + if (opts.recursive && process.platform === `win32`) { + if (opts.withFileTypes) { + return this.realFs.readdirSync(npath.fromPortablePath(p), opts).map(direntToPortable); + } else { + return this.realFs.readdirSync(npath.fromPortablePath(p), opts).map(npath.toPortablePath); + } + } else { + return this.realFs.readdirSync(npath.fromPortablePath(p), opts); + } + } else { + return this.realFs.readdirSync(npath.fromPortablePath(p)); + } + } + async readlinkPromise(p) { + return await new Promise((resolve, reject) => { + this.realFs.readlink(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + }).then((path) => { + return npath.toPortablePath(path); + }); + } + readlinkSync(p) { + return npath.toPortablePath(this.realFs.readlinkSync(npath.fromPortablePath(p))); + } + async truncatePromise(p, len) { + return await new Promise((resolve, reject) => { + this.realFs.truncate(npath.fromPortablePath(p), len, this.makeCallback(resolve, reject)); + }); + } + truncateSync(p, len) { + return this.realFs.truncateSync(npath.fromPortablePath(p), len); + } + async ftruncatePromise(fd, len) { + return await new Promise((resolve, reject) => { + this.realFs.ftruncate(fd, len, this.makeCallback(resolve, reject)); + }); + } + ftruncateSync(fd, len) { + return this.realFs.ftruncateSync(fd, len); + } + watch(p, a, b) { + return this.realFs.watch( + npath.fromPortablePath(p), + a, + b + ); + } + watchFile(p, a, b) { + return this.realFs.watchFile( + npath.fromPortablePath(p), + a, + b + ); + } + unwatchFile(p, cb) { + return this.realFs.unwatchFile(npath.fromPortablePath(p), cb); + } + makeCallback(resolve, reject) { + return (err, result) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }; + } +} + +const MOUNT_MASK = 4278190080; +class MountFS extends BasePortableFakeFS { + constructor({ baseFs = new NodeFS(), filter = null, magicByte = 42, maxOpenFiles = Infinity, useCache = true, maxAge = 5e3, typeCheck = fs.constants.S_IFREG, getMountPoint, factoryPromise, factorySync }) { + if (Math.floor(magicByte) !== magicByte || !(magicByte > 1 && magicByte <= 127)) + throw new Error(`The magic byte must be set to a round value between 1 and 127 included`); + super(); + this.fdMap = /* @__PURE__ */ new Map(); + this.nextFd = 3; + this.isMount = /* @__PURE__ */ new Set(); + this.notMount = /* @__PURE__ */ new Set(); + this.realPaths = /* @__PURE__ */ new Map(); + this.limitOpenFilesTimeout = null; + this.baseFs = baseFs; + this.mountInstances = useCache ? /* @__PURE__ */ new Map() : null; + this.factoryPromise = factoryPromise; + this.factorySync = factorySync; + this.filter = filter; + this.getMountPoint = getMountPoint; + this.magic = magicByte << 24; + this.maxAge = maxAge; + this.maxOpenFiles = maxOpenFiles; + this.typeCheck = typeCheck; + } + getExtractHint(hints) { + return this.baseFs.getExtractHint(hints); + } + getRealPath() { + return this.baseFs.getRealPath(); + } + saveAndClose() { + unwatchAllFiles(this); + if (this.mountInstances) { + for (const [path, { childFs }] of this.mountInstances.entries()) { + childFs.saveAndClose?.(); + this.mountInstances.delete(path); + } + } + } + discardAndClose() { + unwatchAllFiles(this); + if (this.mountInstances) { + for (const [path, { childFs }] of this.mountInstances.entries()) { + childFs.discardAndClose?.(); + this.mountInstances.delete(path); + } + } + } + resolve(p) { + return this.baseFs.resolve(p); + } + remapFd(mountFs, fd) { + const remappedFd = this.nextFd++ | this.magic; + this.fdMap.set(remappedFd, [mountFs, fd]); + return remappedFd; + } + async openPromise(p, flags, mode) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.openPromise(p, flags, mode); + }, async (mountFs, { subPath }) => { + return this.remapFd(mountFs, await mountFs.openPromise(subPath, flags, mode)); + }); + } + openSync(p, flags, mode) { + return this.makeCallSync(p, () => { + return this.baseFs.openSync(p, flags, mode); + }, (mountFs, { subPath }) => { + return this.remapFd(mountFs, mountFs.openSync(subPath, flags, mode)); + }); + } + async opendirPromise(p, opts) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.opendirPromise(p, opts); + }, async (mountFs, { subPath }) => { + return await mountFs.opendirPromise(subPath, opts); + }, { + requireSubpath: false + }); + } + opendirSync(p, opts) { + return this.makeCallSync(p, () => { + return this.baseFs.opendirSync(p, opts); + }, (mountFs, { subPath }) => { + return mountFs.opendirSync(subPath, opts); + }, { + requireSubpath: false + }); + } + async readPromise(fd, buffer, offset, length, position) { + if ((fd & MOUNT_MASK) !== this.magic) + return await this.baseFs.readPromise(fd, buffer, offset, length, position); + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`read`); + const [mountFs, realFd] = entry; + return await mountFs.readPromise(realFd, buffer, offset, length, position); + } + readSync(fd, buffer, offset, length, position) { + if ((fd & MOUNT_MASK) !== this.magic) + return this.baseFs.readSync(fd, buffer, offset, length, position); + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`readSync`); + const [mountFs, realFd] = entry; + return mountFs.readSync(realFd, buffer, offset, length, position); + } + async writePromise(fd, buffer, offset, length, position) { + if ((fd & MOUNT_MASK) !== this.magic) { + if (typeof buffer === `string`) { + return await this.baseFs.writePromise(fd, buffer, offset); + } else { + return await this.baseFs.writePromise(fd, buffer, offset, length, position); + } + } + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`write`); + const [mountFs, realFd] = entry; + if (typeof buffer === `string`) { + return await mountFs.writePromise(realFd, buffer, offset); + } else { + return await mountFs.writePromise(realFd, buffer, offset, length, position); + } + } + writeSync(fd, buffer, offset, length, position) { + if ((fd & MOUNT_MASK) !== this.magic) { + if (typeof buffer === `string`) { + return this.baseFs.writeSync(fd, buffer, offset); + } else { + return this.baseFs.writeSync(fd, buffer, offset, length, position); + } + } + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`writeSync`); + const [mountFs, realFd] = entry; + if (typeof buffer === `string`) { + return mountFs.writeSync(realFd, buffer, offset); + } else { + return mountFs.writeSync(realFd, buffer, offset, length, position); + } + } + async closePromise(fd) { + if ((fd & MOUNT_MASK) !== this.magic) + return await this.baseFs.closePromise(fd); + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`close`); + this.fdMap.delete(fd); + const [mountFs, realFd] = entry; + return await mountFs.closePromise(realFd); + } + closeSync(fd) { + if ((fd & MOUNT_MASK) !== this.magic) + return this.baseFs.closeSync(fd); + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`closeSync`); + this.fdMap.delete(fd); + const [mountFs, realFd] = entry; + return mountFs.closeSync(realFd); + } + createReadStream(p, opts) { + if (p === null) + return this.baseFs.createReadStream(p, opts); + return this.makeCallSync(p, () => { + return this.baseFs.createReadStream(p, opts); + }, (mountFs, { archivePath, subPath }) => { + const stream = mountFs.createReadStream(subPath, opts); + stream.path = npath.fromPortablePath(this.pathUtils.join(archivePath, subPath)); + return stream; + }); + } + createWriteStream(p, opts) { + if (p === null) + return this.baseFs.createWriteStream(p, opts); + return this.makeCallSync(p, () => { + return this.baseFs.createWriteStream(p, opts); + }, (mountFs, { subPath }) => { + return mountFs.createWriteStream(subPath, opts); + }); + } + async realpathPromise(p) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.realpathPromise(p); + }, async (mountFs, { archivePath, subPath }) => { + let realArchivePath = this.realPaths.get(archivePath); + if (typeof realArchivePath === `undefined`) { + realArchivePath = await this.baseFs.realpathPromise(archivePath); + this.realPaths.set(archivePath, realArchivePath); + } + return this.pathUtils.join(realArchivePath, this.pathUtils.relative(PortablePath.root, await mountFs.realpathPromise(subPath))); + }); + } + realpathSync(p) { + return this.makeCallSync(p, () => { + return this.baseFs.realpathSync(p); + }, (mountFs, { archivePath, subPath }) => { + let realArchivePath = this.realPaths.get(archivePath); + if (typeof realArchivePath === `undefined`) { + realArchivePath = this.baseFs.realpathSync(archivePath); + this.realPaths.set(archivePath, realArchivePath); + } + return this.pathUtils.join(realArchivePath, this.pathUtils.relative(PortablePath.root, mountFs.realpathSync(subPath))); + }); + } + async existsPromise(p) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.existsPromise(p); + }, async (mountFs, { subPath }) => { + return await mountFs.existsPromise(subPath); + }); + } + existsSync(p) { + return this.makeCallSync(p, () => { + return this.baseFs.existsSync(p); + }, (mountFs, { subPath }) => { + return mountFs.existsSync(subPath); + }); + } + async accessPromise(p, mode) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.accessPromise(p, mode); + }, async (mountFs, { subPath }) => { + return await mountFs.accessPromise(subPath, mode); + }); + } + accessSync(p, mode) { + return this.makeCallSync(p, () => { + return this.baseFs.accessSync(p, mode); + }, (mountFs, { subPath }) => { + return mountFs.accessSync(subPath, mode); + }); + } + async statPromise(p, opts) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.statPromise(p, opts); + }, async (mountFs, { subPath }) => { + return await mountFs.statPromise(subPath, opts); + }); + } + statSync(p, opts) { + return this.makeCallSync(p, () => { + return this.baseFs.statSync(p, opts); + }, (mountFs, { subPath }) => { + return mountFs.statSync(subPath, opts); + }); + } + async fstatPromise(fd, opts) { + if ((fd & MOUNT_MASK) !== this.magic) + return this.baseFs.fstatPromise(fd, opts); + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`fstat`); + const [mountFs, realFd] = entry; + return mountFs.fstatPromise(realFd, opts); + } + fstatSync(fd, opts) { + if ((fd & MOUNT_MASK) !== this.magic) + return this.baseFs.fstatSync(fd, opts); + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`fstatSync`); + const [mountFs, realFd] = entry; + return mountFs.fstatSync(realFd, opts); + } + async lstatPromise(p, opts) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.lstatPromise(p, opts); + }, async (mountFs, { subPath }) => { + return await mountFs.lstatPromise(subPath, opts); + }); + } + lstatSync(p, opts) { + return this.makeCallSync(p, () => { + return this.baseFs.lstatSync(p, opts); + }, (mountFs, { subPath }) => { + return mountFs.lstatSync(subPath, opts); + }); + } + async fchmodPromise(fd, mask) { + if ((fd & MOUNT_MASK) !== this.magic) + return this.baseFs.fchmodPromise(fd, mask); + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`fchmod`); + const [mountFs, realFd] = entry; + return mountFs.fchmodPromise(realFd, mask); + } + fchmodSync(fd, mask) { + if ((fd & MOUNT_MASK) !== this.magic) + return this.baseFs.fchmodSync(fd, mask); + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`fchmodSync`); + const [mountFs, realFd] = entry; + return mountFs.fchmodSync(realFd, mask); + } + async chmodPromise(p, mask) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.chmodPromise(p, mask); + }, async (mountFs, { subPath }) => { + return await mountFs.chmodPromise(subPath, mask); + }); + } + chmodSync(p, mask) { + return this.makeCallSync(p, () => { + return this.baseFs.chmodSync(p, mask); + }, (mountFs, { subPath }) => { + return mountFs.chmodSync(subPath, mask); + }); + } + async fchownPromise(fd, uid, gid) { + if ((fd & MOUNT_MASK) !== this.magic) + return this.baseFs.fchownPromise(fd, uid, gid); + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`fchown`); + const [zipFs, realFd] = entry; + return zipFs.fchownPromise(realFd, uid, gid); + } + fchownSync(fd, uid, gid) { + if ((fd & MOUNT_MASK) !== this.magic) + return this.baseFs.fchownSync(fd, uid, gid); + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`fchownSync`); + const [zipFs, realFd] = entry; + return zipFs.fchownSync(realFd, uid, gid); + } + async chownPromise(p, uid, gid) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.chownPromise(p, uid, gid); + }, async (mountFs, { subPath }) => { + return await mountFs.chownPromise(subPath, uid, gid); + }); + } + chownSync(p, uid, gid) { + return this.makeCallSync(p, () => { + return this.baseFs.chownSync(p, uid, gid); + }, (mountFs, { subPath }) => { + return mountFs.chownSync(subPath, uid, gid); + }); + } + async renamePromise(oldP, newP) { + return await this.makeCallPromise(oldP, async () => { + return await this.makeCallPromise(newP, async () => { + return await this.baseFs.renamePromise(oldP, newP); + }, async () => { + throw Object.assign(new Error(`EEXDEV: cross-device link not permitted`), { code: `EEXDEV` }); + }); + }, async (mountFsO, { subPath: subPathO }) => { + return await this.makeCallPromise(newP, async () => { + throw Object.assign(new Error(`EEXDEV: cross-device link not permitted`), { code: `EEXDEV` }); + }, async (mountFsN, { subPath: subPathN }) => { + if (mountFsO !== mountFsN) { + throw Object.assign(new Error(`EEXDEV: cross-device link not permitted`), { code: `EEXDEV` }); + } else { + return await mountFsO.renamePromise(subPathO, subPathN); + } + }); + }); + } + renameSync(oldP, newP) { + return this.makeCallSync(oldP, () => { + return this.makeCallSync(newP, () => { + return this.baseFs.renameSync(oldP, newP); + }, () => { + throw Object.assign(new Error(`EEXDEV: cross-device link not permitted`), { code: `EEXDEV` }); + }); + }, (mountFsO, { subPath: subPathO }) => { + return this.makeCallSync(newP, () => { + throw Object.assign(new Error(`EEXDEV: cross-device link not permitted`), { code: `EEXDEV` }); + }, (mountFsN, { subPath: subPathN }) => { + if (mountFsO !== mountFsN) { + throw Object.assign(new Error(`EEXDEV: cross-device link not permitted`), { code: `EEXDEV` }); + } else { + return mountFsO.renameSync(subPathO, subPathN); + } + }); + }); + } + async copyFilePromise(sourceP, destP, flags = 0) { + const fallback = async (sourceFs, sourceP2, destFs, destP2) => { + if ((flags & fs.constants.COPYFILE_FICLONE_FORCE) !== 0) + throw Object.assign(new Error(`EXDEV: cross-device clone not permitted, copyfile '${sourceP2}' -> ${destP2}'`), { code: `EXDEV` }); + if (flags & fs.constants.COPYFILE_EXCL && await this.existsPromise(sourceP2)) + throw Object.assign(new Error(`EEXIST: file already exists, copyfile '${sourceP2}' -> '${destP2}'`), { code: `EEXIST` }); + let content; + try { + content = await sourceFs.readFilePromise(sourceP2); + } catch (error) { + throw Object.assign(new Error(`EINVAL: invalid argument, copyfile '${sourceP2}' -> '${destP2}'`), { code: `EINVAL` }); + } + await destFs.writeFilePromise(destP2, content); + }; + return await this.makeCallPromise(sourceP, async () => { + return await this.makeCallPromise(destP, async () => { + return await this.baseFs.copyFilePromise(sourceP, destP, flags); + }, async (mountFsD, { subPath: subPathD }) => { + return await fallback(this.baseFs, sourceP, mountFsD, subPathD); + }); + }, async (mountFsS, { subPath: subPathS }) => { + return await this.makeCallPromise(destP, async () => { + return await fallback(mountFsS, subPathS, this.baseFs, destP); + }, async (mountFsD, { subPath: subPathD }) => { + if (mountFsS !== mountFsD) { + return await fallback(mountFsS, subPathS, mountFsD, subPathD); + } else { + return await mountFsS.copyFilePromise(subPathS, subPathD, flags); + } + }); + }); + } + copyFileSync(sourceP, destP, flags = 0) { + const fallback = (sourceFs, sourceP2, destFs, destP2) => { + if ((flags & fs.constants.COPYFILE_FICLONE_FORCE) !== 0) + throw Object.assign(new Error(`EXDEV: cross-device clone not permitted, copyfile '${sourceP2}' -> ${destP2}'`), { code: `EXDEV` }); + if (flags & fs.constants.COPYFILE_EXCL && this.existsSync(sourceP2)) + throw Object.assign(new Error(`EEXIST: file already exists, copyfile '${sourceP2}' -> '${destP2}'`), { code: `EEXIST` }); + let content; + try { + content = sourceFs.readFileSync(sourceP2); + } catch (error) { + throw Object.assign(new Error(`EINVAL: invalid argument, copyfile '${sourceP2}' -> '${destP2}'`), { code: `EINVAL` }); + } + destFs.writeFileSync(destP2, content); + }; + return this.makeCallSync(sourceP, () => { + return this.makeCallSync(destP, () => { + return this.baseFs.copyFileSync(sourceP, destP, flags); + }, (mountFsD, { subPath: subPathD }) => { + return fallback(this.baseFs, sourceP, mountFsD, subPathD); + }); + }, (mountFsS, { subPath: subPathS }) => { + return this.makeCallSync(destP, () => { + return fallback(mountFsS, subPathS, this.baseFs, destP); + }, (mountFsD, { subPath: subPathD }) => { + if (mountFsS !== mountFsD) { + return fallback(mountFsS, subPathS, mountFsD, subPathD); + } else { + return mountFsS.copyFileSync(subPathS, subPathD, flags); + } + }); + }); + } + async appendFilePromise(p, content, opts) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.appendFilePromise(p, content, opts); + }, async (mountFs, { subPath }) => { + return await mountFs.appendFilePromise(subPath, content, opts); + }); + } + appendFileSync(p, content, opts) { + return this.makeCallSync(p, () => { + return this.baseFs.appendFileSync(p, content, opts); + }, (mountFs, { subPath }) => { + return mountFs.appendFileSync(subPath, content, opts); + }); + } + async writeFilePromise(p, content, opts) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.writeFilePromise(p, content, opts); + }, async (mountFs, { subPath }) => { + return await mountFs.writeFilePromise(subPath, content, opts); + }); + } + writeFileSync(p, content, opts) { + return this.makeCallSync(p, () => { + return this.baseFs.writeFileSync(p, content, opts); + }, (mountFs, { subPath }) => { + return mountFs.writeFileSync(subPath, content, opts); + }); + } + async unlinkPromise(p) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.unlinkPromise(p); + }, async (mountFs, { subPath }) => { + return await mountFs.unlinkPromise(subPath); + }); + } + unlinkSync(p) { + return this.makeCallSync(p, () => { + return this.baseFs.unlinkSync(p); + }, (mountFs, { subPath }) => { + return mountFs.unlinkSync(subPath); + }); + } + async utimesPromise(p, atime, mtime) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.utimesPromise(p, atime, mtime); + }, async (mountFs, { subPath }) => { + return await mountFs.utimesPromise(subPath, atime, mtime); + }); + } + utimesSync(p, atime, mtime) { + return this.makeCallSync(p, () => { + return this.baseFs.utimesSync(p, atime, mtime); + }, (mountFs, { subPath }) => { + return mountFs.utimesSync(subPath, atime, mtime); + }); + } + async lutimesPromise(p, atime, mtime) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.lutimesPromise(p, atime, mtime); + }, async (mountFs, { subPath }) => { + return await mountFs.lutimesPromise(subPath, atime, mtime); + }); + } + lutimesSync(p, atime, mtime) { + return this.makeCallSync(p, () => { + return this.baseFs.lutimesSync(p, atime, mtime); + }, (mountFs, { subPath }) => { + return mountFs.lutimesSync(subPath, atime, mtime); + }); + } + async mkdirPromise(p, opts) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.mkdirPromise(p, opts); + }, async (mountFs, { subPath }) => { + return await mountFs.mkdirPromise(subPath, opts); + }); + } + mkdirSync(p, opts) { + return this.makeCallSync(p, () => { + return this.baseFs.mkdirSync(p, opts); + }, (mountFs, { subPath }) => { + return mountFs.mkdirSync(subPath, opts); + }); + } + async rmdirPromise(p, opts) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.rmdirPromise(p, opts); + }, async (mountFs, { subPath }) => { + return await mountFs.rmdirPromise(subPath, opts); + }); + } + rmdirSync(p, opts) { + return this.makeCallSync(p, () => { + return this.baseFs.rmdirSync(p, opts); + }, (mountFs, { subPath }) => { + return mountFs.rmdirSync(subPath, opts); + }); + } + async linkPromise(existingP, newP) { + return await this.makeCallPromise(newP, async () => { + return await this.baseFs.linkPromise(existingP, newP); + }, async (mountFs, { subPath }) => { + return await mountFs.linkPromise(existingP, subPath); + }); + } + linkSync(existingP, newP) { + return this.makeCallSync(newP, () => { + return this.baseFs.linkSync(existingP, newP); + }, (mountFs, { subPath }) => { + return mountFs.linkSync(existingP, subPath); + }); + } + async symlinkPromise(target, p, type) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.symlinkPromise(target, p, type); + }, async (mountFs, { subPath }) => { + return await mountFs.symlinkPromise(target, subPath); + }); + } + symlinkSync(target, p, type) { + return this.makeCallSync(p, () => { + return this.baseFs.symlinkSync(target, p, type); + }, (mountFs, { subPath }) => { + return mountFs.symlinkSync(target, subPath); + }); + } + async readFilePromise(p, encoding) { + return this.makeCallPromise(p, async () => { + return await this.baseFs.readFilePromise(p, encoding); + }, async (mountFs, { subPath }) => { + return await mountFs.readFilePromise(subPath, encoding); + }); + } + readFileSync(p, encoding) { + return this.makeCallSync(p, () => { + return this.baseFs.readFileSync(p, encoding); + }, (mountFs, { subPath }) => { + return mountFs.readFileSync(subPath, encoding); + }); + } + async readdirPromise(p, opts) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.readdirPromise(p, opts); + }, async (mountFs, { subPath }) => { + return await mountFs.readdirPromise(subPath, opts); + }, { + requireSubpath: false + }); + } + readdirSync(p, opts) { + return this.makeCallSync(p, () => { + return this.baseFs.readdirSync(p, opts); + }, (mountFs, { subPath }) => { + return mountFs.readdirSync(subPath, opts); + }, { + requireSubpath: false + }); + } + async readlinkPromise(p) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.readlinkPromise(p); + }, async (mountFs, { subPath }) => { + return await mountFs.readlinkPromise(subPath); + }); + } + readlinkSync(p) { + return this.makeCallSync(p, () => { + return this.baseFs.readlinkSync(p); + }, (mountFs, { subPath }) => { + return mountFs.readlinkSync(subPath); + }); + } + async truncatePromise(p, len) { + return await this.makeCallPromise(p, async () => { + return await this.baseFs.truncatePromise(p, len); + }, async (mountFs, { subPath }) => { + return await mountFs.truncatePromise(subPath, len); + }); + } + truncateSync(p, len) { + return this.makeCallSync(p, () => { + return this.baseFs.truncateSync(p, len); + }, (mountFs, { subPath }) => { + return mountFs.truncateSync(subPath, len); + }); + } + async ftruncatePromise(fd, len) { + if ((fd & MOUNT_MASK) !== this.magic) + return this.baseFs.ftruncatePromise(fd, len); + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`ftruncate`); + const [mountFs, realFd] = entry; + return mountFs.ftruncatePromise(realFd, len); + } + ftruncateSync(fd, len) { + if ((fd & MOUNT_MASK) !== this.magic) + return this.baseFs.ftruncateSync(fd, len); + const entry = this.fdMap.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`ftruncateSync`); + const [mountFs, realFd] = entry; + return mountFs.ftruncateSync(realFd, len); + } + watch(p, a, b) { + return this.makeCallSync(p, () => { + return this.baseFs.watch( + p, + a, + b + ); + }, (mountFs, { subPath }) => { + return mountFs.watch( + subPath, + a, + b + ); + }); + } + watchFile(p, a, b) { + return this.makeCallSync(p, () => { + return this.baseFs.watchFile( + p, + a, + b + ); + }, () => { + return watchFile(this, p, a, b); + }); + } + unwatchFile(p, cb) { + return this.makeCallSync(p, () => { + return this.baseFs.unwatchFile(p, cb); + }, () => { + return unwatchFile(this, p, cb); + }); + } + async makeCallPromise(p, discard, accept, { requireSubpath = true } = {}) { + if (typeof p !== `string`) + return await discard(); + const normalizedP = this.resolve(p); + const mountInfo = this.findMount(normalizedP); + if (!mountInfo) + return await discard(); + if (requireSubpath && mountInfo.subPath === `/`) + return await discard(); + return await this.getMountPromise(mountInfo.archivePath, async (mountFs) => await accept(mountFs, mountInfo)); + } + makeCallSync(p, discard, accept, { requireSubpath = true } = {}) { + if (typeof p !== `string`) + return discard(); + const normalizedP = this.resolve(p); + const mountInfo = this.findMount(normalizedP); + if (!mountInfo) + return discard(); + if (requireSubpath && mountInfo.subPath === `/`) + return discard(); + return this.getMountSync(mountInfo.archivePath, (mountFs) => accept(mountFs, mountInfo)); + } + findMount(p) { + if (this.filter && !this.filter.test(p)) + return null; + let filePath = ``; + while (true) { + const pathPartWithArchive = p.substring(filePath.length); + const mountPoint = this.getMountPoint(pathPartWithArchive, filePath); + if (!mountPoint) + return null; + filePath = this.pathUtils.join(filePath, mountPoint); + if (!this.isMount.has(filePath)) { + if (this.notMount.has(filePath)) + continue; + try { + if (this.typeCheck !== null && (this.baseFs.lstatSync(filePath).mode & fs.constants.S_IFMT) !== this.typeCheck) { + this.notMount.add(filePath); + continue; + } + } catch { + return null; + } + this.isMount.add(filePath); + } + return { + archivePath: filePath, + subPath: this.pathUtils.join(PortablePath.root, p.substring(filePath.length)) + }; + } + } + limitOpenFiles(max) { + if (this.mountInstances === null) + return; + const now = Date.now(); + let nextExpiresAt = now + this.maxAge; + let closeCount = max === null ? 0 : this.mountInstances.size - max; + for (const [path, { childFs, expiresAt, refCount }] of this.mountInstances.entries()) { + if (refCount !== 0 || childFs.hasOpenFileHandles?.()) { + continue; + } else if (now >= expiresAt) { + childFs.saveAndClose?.(); + this.mountInstances.delete(path); + closeCount -= 1; + continue; + } else if (max === null || closeCount <= 0) { + nextExpiresAt = expiresAt; + break; + } + childFs.saveAndClose?.(); + this.mountInstances.delete(path); + closeCount -= 1; + } + if (this.limitOpenFilesTimeout === null && (max === null && this.mountInstances.size > 0 || max !== null) && isFinite(nextExpiresAt)) { + this.limitOpenFilesTimeout = setTimeout(() => { + this.limitOpenFilesTimeout = null; + this.limitOpenFiles(null); + }, nextExpiresAt - now).unref(); + } + } + async getMountPromise(p, accept) { + if (this.mountInstances) { + let cachedMountFs = this.mountInstances.get(p); + if (!cachedMountFs) { + const createFsInstance = await this.factoryPromise(this.baseFs, p); + cachedMountFs = this.mountInstances.get(p); + if (!cachedMountFs) { + cachedMountFs = { + childFs: createFsInstance(), + expiresAt: 0, + refCount: 0 + }; + } + } + this.mountInstances.delete(p); + this.limitOpenFiles(this.maxOpenFiles - 1); + this.mountInstances.set(p, cachedMountFs); + cachedMountFs.expiresAt = Date.now() + this.maxAge; + cachedMountFs.refCount += 1; + try { + return await accept(cachedMountFs.childFs); + } finally { + cachedMountFs.refCount -= 1; + } + } else { + const mountFs = (await this.factoryPromise(this.baseFs, p))(); + try { + return await accept(mountFs); + } finally { + mountFs.saveAndClose?.(); + } + } + } + getMountSync(p, accept) { + if (this.mountInstances) { + let cachedMountFs = this.mountInstances.get(p); + if (!cachedMountFs) { + cachedMountFs = { + childFs: this.factorySync(this.baseFs, p), + expiresAt: 0, + refCount: 0 + }; + } + this.mountInstances.delete(p); + this.limitOpenFiles(this.maxOpenFiles - 1); + this.mountInstances.set(p, cachedMountFs); + cachedMountFs.expiresAt = Date.now() + this.maxAge; + return accept(cachedMountFs.childFs); + } else { + const childFs = this.factorySync(this.baseFs, p); + try { + return accept(childFs); + } finally { + childFs.saveAndClose?.(); + } + } + } +} + +class PosixFS extends ProxiedFS { + constructor(baseFs) { + super(npath); + this.baseFs = baseFs; + } + mapFromBase(path) { + return npath.fromPortablePath(path); + } + mapToBase(path) { + return npath.toPortablePath(path); + } +} + +const NUMBER_REGEXP = /^[0-9]+$/; +const VIRTUAL_REGEXP = /^(\/(?:[^/]+\/)*?(?:\$\$virtual|__virtual__))((?:\/((?:[^/]+-)?[a-f0-9]+)(?:\/([^/]+))?)?((?:\/.*)?))$/; +const VALID_COMPONENT = /^([^/]+-)?[a-f0-9]+$/; +class VirtualFS extends ProxiedFS { + constructor({ baseFs = new NodeFS() } = {}) { + super(ppath); + this.baseFs = baseFs; + } + static makeVirtualPath(base, component, to) { + if (ppath.basename(base) !== `__virtual__`) + throw new Error(`Assertion failed: Virtual folders must be named "__virtual__"`); + if (!ppath.basename(component).match(VALID_COMPONENT)) + throw new Error(`Assertion failed: Virtual components must be ended by an hexadecimal hash`); + const target = ppath.relative(ppath.dirname(base), to); + const segments = target.split(`/`); + let depth = 0; + while (depth < segments.length && segments[depth] === `..`) + depth += 1; + const finalSegments = segments.slice(depth); + const fullVirtualPath = ppath.join(base, component, String(depth), ...finalSegments); + return fullVirtualPath; + } + static resolveVirtual(p) { + const match = p.match(VIRTUAL_REGEXP); + if (!match || !match[3] && match[5]) + return p; + const target = ppath.dirname(match[1]); + if (!match[3] || !match[4]) + return target; + const isnum = NUMBER_REGEXP.test(match[4]); + if (!isnum) + return p; + const depth = Number(match[4]); + const backstep = `../`.repeat(depth); + const subpath = match[5] || `.`; + return VirtualFS.resolveVirtual(ppath.join(target, backstep, subpath)); + } + getExtractHint(hints) { + return this.baseFs.getExtractHint(hints); + } + getRealPath() { + return this.baseFs.getRealPath(); + } + realpathSync(p) { + const match = p.match(VIRTUAL_REGEXP); + if (!match) + return this.baseFs.realpathSync(p); + if (!match[5]) + return p; + const realpath = this.baseFs.realpathSync(this.mapToBase(p)); + return VirtualFS.makeVirtualPath(match[1], match[3], realpath); + } + async realpathPromise(p) { + const match = p.match(VIRTUAL_REGEXP); + if (!match) + return await this.baseFs.realpathPromise(p); + if (!match[5]) + return p; + const realpath = await this.baseFs.realpathPromise(this.mapToBase(p)); + return VirtualFS.makeVirtualPath(match[1], match[3], realpath); + } + mapToBase(p) { + if (p === ``) + return p; + if (this.pathUtils.isAbsolute(p)) + return VirtualFS.resolveVirtual(p); + const resolvedRoot = VirtualFS.resolveVirtual(this.baseFs.resolve(PortablePath.dot)); + const resolvedP = VirtualFS.resolveVirtual(this.baseFs.resolve(p)); + return ppath.relative(resolvedRoot, resolvedP) || PortablePath.dot; + } + mapFromBase(p) { + return p; + } +} + +class NodePathFS extends ProxiedFS { + constructor(baseFs) { + super(npath); + this.baseFs = baseFs; + } + mapFromBase(path) { + return path; + } + mapToBase(path) { + if (typeof path === `string`) + return path; + if (path instanceof url.URL) + return url.fileURLToPath(path); + if (Buffer.isBuffer(path)) { + const str = path.toString(); + if (!isUtf8(path, str)) + throw new Error(`Non-utf8 buffers are not supported at the moment. Please upvote the following issue if you encounter this error: https://github.com/yarnpkg/berry/issues/4942`); + return str; + } + throw new Error(`Unsupported path type: ${nodeUtils.inspect(path)}`); + } +} +function isUtf8(buf, str) { + if (typeof buffer__default.default.isUtf8 !== `undefined`) + return buffer__default.default.isUtf8(buf); + return Buffer.byteLength(str) === buf.byteLength; +} + +var _a, _b, _c, _d; +const kBaseFs = Symbol(`kBaseFs`); +const kFd = Symbol(`kFd`); +const kClosePromise = Symbol(`kClosePromise`); +const kCloseResolve = Symbol(`kCloseResolve`); +const kCloseReject = Symbol(`kCloseReject`); +const kRefs = Symbol(`kRefs`); +const kRef = Symbol(`kRef`); +const kUnref = Symbol(`kUnref`); +class FileHandle { + constructor(fd, baseFs) { + this[_a] = 1; + this[_b] = void 0; + this[_c] = void 0; + this[_d] = void 0; + this[kBaseFs] = baseFs; + this[kFd] = fd; + } + get fd() { + return this[kFd]; + } + async appendFile(data, options) { + try { + this[kRef](this.appendFile); + const encoding = (typeof options === `string` ? options : options?.encoding) ?? void 0; + return await this[kBaseFs].appendFilePromise(this.fd, data, encoding ? { encoding } : void 0); + } finally { + this[kUnref](); + } + } + async chown(uid, gid) { + try { + this[kRef](this.chown); + return await this[kBaseFs].fchownPromise(this.fd, uid, gid); + } finally { + this[kUnref](); + } + } + async chmod(mode) { + try { + this[kRef](this.chmod); + return await this[kBaseFs].fchmodPromise(this.fd, mode); + } finally { + this[kUnref](); + } + } + createReadStream(options) { + return this[kBaseFs].createReadStream(null, { ...options, fd: this.fd }); + } + createWriteStream(options) { + return this[kBaseFs].createWriteStream(null, { ...options, fd: this.fd }); + } + datasync() { + throw new Error(`Method not implemented.`); + } + sync() { + throw new Error(`Method not implemented.`); + } + async read(bufferOrOptions, offset, length, position) { + try { + this[kRef](this.read); + let buffer; + if (!Buffer.isBuffer(bufferOrOptions)) { + bufferOrOptions ??= {}; + buffer = bufferOrOptions.buffer ?? Buffer.alloc(16384); + offset = bufferOrOptions.offset || 0; + length = bufferOrOptions.length ?? buffer.byteLength; + position = bufferOrOptions.position ?? null; + } else { + buffer = bufferOrOptions; + } + offset ??= 0; + length ??= 0; + if (length === 0) { + return { + bytesRead: length, + buffer + }; + } + const bytesRead = await this[kBaseFs].readPromise(this.fd, buffer, offset, length, position); + return { + bytesRead, + buffer + }; + } finally { + this[kUnref](); + } + } + async readFile(options) { + try { + this[kRef](this.readFile); + const encoding = (typeof options === `string` ? options : options?.encoding) ?? void 0; + return await this[kBaseFs].readFilePromise(this.fd, encoding); + } finally { + this[kUnref](); + } + } + readLines(options) { + return readline.createInterface({ + input: this.createReadStream(options), + crlfDelay: Infinity + }); + } + async stat(opts) { + try { + this[kRef](this.stat); + return await this[kBaseFs].fstatPromise(this.fd, opts); + } finally { + this[kUnref](); + } + } + async truncate(len) { + try { + this[kRef](this.truncate); + return await this[kBaseFs].ftruncatePromise(this.fd, len); + } finally { + this[kUnref](); + } + } + utimes(atime, mtime) { + throw new Error(`Method not implemented.`); + } + async writeFile(data, options) { + try { + this[kRef](this.writeFile); + const encoding = (typeof options === `string` ? options : options?.encoding) ?? void 0; + await this[kBaseFs].writeFilePromise(this.fd, data, encoding); + } finally { + this[kUnref](); + } + } + async write(...args) { + try { + this[kRef](this.write); + if (ArrayBuffer.isView(args[0])) { + const [buffer, offset, length, position] = args; + const bytesWritten = await this[kBaseFs].writePromise(this.fd, buffer, offset ?? void 0, length ?? void 0, position ?? void 0); + return { bytesWritten, buffer }; + } else { + const [data, position, encoding] = args; + const bytesWritten = await this[kBaseFs].writePromise(this.fd, data, position, encoding); + return { bytesWritten, buffer: data }; + } + } finally { + this[kUnref](); + } + } + async writev(buffers, position) { + try { + this[kRef](this.writev); + let bytesWritten = 0; + if (typeof position !== `undefined`) { + for (const buffer of buffers) { + const writeResult = await this.write(buffer, void 0, void 0, position); + bytesWritten += writeResult.bytesWritten; + position += writeResult.bytesWritten; + } + } else { + for (const buffer of buffers) { + const writeResult = await this.write(buffer); + bytesWritten += writeResult.bytesWritten; + } + } + return { + buffers, + bytesWritten + }; + } finally { + this[kUnref](); + } + } + readv(buffers, position) { + throw new Error(`Method not implemented.`); + } + close() { + if (this[kFd] === -1) + return Promise.resolve(); + if (this[kClosePromise]) + return this[kClosePromise]; + this[kRefs]--; + if (this[kRefs] === 0) { + const fd = this[kFd]; + this[kFd] = -1; + this[kClosePromise] = this[kBaseFs].closePromise(fd).finally(() => { + this[kClosePromise] = void 0; + }); + } else { + this[kClosePromise] = new Promise((resolve, reject) => { + this[kCloseResolve] = resolve; + this[kCloseReject] = reject; + }).finally(() => { + this[kClosePromise] = void 0; + this[kCloseReject] = void 0; + this[kCloseResolve] = void 0; + }); + } + return this[kClosePromise]; + } + [(_a = kRefs, _b = kClosePromise, _c = kCloseResolve, _d = kCloseReject, kRef)](caller) { + if (this[kFd] === -1) { + const err = new Error(`file closed`); + err.code = `EBADF`; + err.syscall = caller.name; + throw err; + } + this[kRefs]++; + } + [kUnref]() { + this[kRefs]--; + if (this[kRefs] === 0) { + const fd = this[kFd]; + this[kFd] = -1; + this[kBaseFs].closePromise(fd).then(this[kCloseResolve], this[kCloseReject]); + } + } +} + +const SYNC_IMPLEMENTATIONS = /* @__PURE__ */ new Set([ + `accessSync`, + `appendFileSync`, + `createReadStream`, + `createWriteStream`, + `chmodSync`, + `fchmodSync`, + `chownSync`, + `fchownSync`, + `closeSync`, + `copyFileSync`, + `linkSync`, + `lstatSync`, + `fstatSync`, + `lutimesSync`, + `mkdirSync`, + `openSync`, + `opendirSync`, + `readlinkSync`, + `readFileSync`, + `readdirSync`, + `readlinkSync`, + `realpathSync`, + `renameSync`, + `rmdirSync`, + `statSync`, + `symlinkSync`, + `truncateSync`, + `ftruncateSync`, + `unlinkSync`, + `unwatchFile`, + `utimesSync`, + `watch`, + `watchFile`, + `writeFileSync`, + `writeSync` +]); +const ASYNC_IMPLEMENTATIONS = /* @__PURE__ */ new Set([ + `accessPromise`, + `appendFilePromise`, + `fchmodPromise`, + `chmodPromise`, + `fchownPromise`, + `chownPromise`, + `closePromise`, + `copyFilePromise`, + `linkPromise`, + `fstatPromise`, + `lstatPromise`, + `lutimesPromise`, + `mkdirPromise`, + `openPromise`, + `opendirPromise`, + `readdirPromise`, + `realpathPromise`, + `readFilePromise`, + `readdirPromise`, + `readlinkPromise`, + `renamePromise`, + `rmdirPromise`, + `statPromise`, + `symlinkPromise`, + `truncatePromise`, + `ftruncatePromise`, + `unlinkPromise`, + `utimesPromise`, + `writeFilePromise`, + `writeSync` +]); +function patchFs(patchedFs, fakeFs) { + fakeFs = new NodePathFS(fakeFs); + const setupFn = (target, name, replacement) => { + const orig = target[name]; + target[name] = replacement; + if (typeof orig?.[nodeUtils.promisify.custom] !== `undefined`) { + replacement[nodeUtils.promisify.custom] = orig[nodeUtils.promisify.custom]; + } + }; + { + setupFn(patchedFs, `exists`, (p, ...args) => { + const hasCallback = typeof args[args.length - 1] === `function`; + const callback = hasCallback ? args.pop() : () => { + }; + process.nextTick(() => { + fakeFs.existsPromise(p).then((exists) => { + callback(exists); + }, () => { + callback(false); + }); + }); + }); + setupFn(patchedFs, `read`, (...args) => { + let [fd, buffer, offset, length, position, callback] = args; + if (args.length <= 3) { + let options = {}; + if (args.length < 3) { + callback = args[1]; + } else { + options = args[1]; + callback = args[2]; + } + ({ + buffer = Buffer.alloc(16384), + offset = 0, + length = buffer.byteLength, + position + } = options); + } + if (offset == null) + offset = 0; + length |= 0; + if (length === 0) { + process.nextTick(() => { + callback(null, 0, buffer); + }); + return; + } + if (position == null) + position = -1; + process.nextTick(() => { + fakeFs.readPromise(fd, buffer, offset, length, position).then((bytesRead) => { + callback(null, bytesRead, buffer); + }, (error) => { + callback(error, 0, buffer); + }); + }); + }); + for (const fnName of ASYNC_IMPLEMENTATIONS) { + const origName = fnName.replace(/Promise$/, ``); + if (typeof patchedFs[origName] === `undefined`) + continue; + const fakeImpl = fakeFs[fnName]; + if (typeof fakeImpl === `undefined`) + continue; + const wrapper = (...args) => { + const hasCallback = typeof args[args.length - 1] === `function`; + const callback = hasCallback ? args.pop() : () => { + }; + process.nextTick(() => { + fakeImpl.apply(fakeFs, args).then((result) => { + callback(null, result); + }, (error) => { + callback(error); + }); + }); + }; + setupFn(patchedFs, origName, wrapper); + } + patchedFs.realpath.native = patchedFs.realpath; + } + { + setupFn(patchedFs, `existsSync`, (p) => { + try { + return fakeFs.existsSync(p); + } catch (error) { + return false; + } + }); + setupFn(patchedFs, `readSync`, (...args) => { + let [fd, buffer, offset, length, position] = args; + if (args.length <= 3) { + const options = args[2] || {}; + ({ offset = 0, length = buffer.byteLength, position } = options); + } + if (offset == null) + offset = 0; + length |= 0; + if (length === 0) + return 0; + if (position == null) + position = -1; + return fakeFs.readSync(fd, buffer, offset, length, position); + }); + for (const fnName of SYNC_IMPLEMENTATIONS) { + const origName = fnName; + if (typeof patchedFs[origName] === `undefined`) + continue; + const fakeImpl = fakeFs[fnName]; + if (typeof fakeImpl === `undefined`) + continue; + setupFn(patchedFs, origName, fakeImpl.bind(fakeFs)); + } + patchedFs.realpathSync.native = patchedFs.realpathSync; + } + { + const patchedFsPromises = patchedFs.promises; + for (const fnName of ASYNC_IMPLEMENTATIONS) { + const origName = fnName.replace(/Promise$/, ``); + if (typeof patchedFsPromises[origName] === `undefined`) + continue; + const fakeImpl = fakeFs[fnName]; + if (typeof fakeImpl === `undefined`) + continue; + if (fnName === `open`) + continue; + setupFn(patchedFsPromises, origName, (pathLike, ...args) => { + if (pathLike instanceof FileHandle) { + return pathLike[origName].apply(pathLike, args); + } else { + return fakeImpl.call(fakeFs, pathLike, ...args); + } + }); + } + setupFn(patchedFsPromises, `open`, async (...args) => { + const fd = await fakeFs.openPromise(...args); + return new FileHandle(fd, fakeFs); + }); + } + { + patchedFs.read[nodeUtils.promisify.custom] = async (fd, buffer, ...args) => { + const res = fakeFs.readPromise(fd, buffer, ...args); + return { bytesRead: await res, buffer }; + }; + patchedFs.write[nodeUtils.promisify.custom] = async (fd, buffer, ...args) => { + const res = fakeFs.writePromise(fd, buffer, ...args); + return { bytesWritten: await res, buffer }; + }; + } +} + +let cachedInstance; +let registeredFactory = () => { + throw new Error(`Assertion failed: No libzip instance is available, and no factory was configured`); +}; +function setFactory(factory) { + registeredFactory = factory; +} +function getInstance() { + if (typeof cachedInstance === `undefined`) + cachedInstance = registeredFactory(); + return cachedInstance; +} + +var libzipSync = {exports: {}}; + +(function (module, exports) { +var frozenFs = Object.assign({}, fs__default.default); +var createModule = function() { + var _scriptDir = void 0; + if (typeof __filename !== "undefined") + _scriptDir = _scriptDir || __filename; + return function(createModule2) { + createModule2 = createModule2 || {}; + var Module = typeof createModule2 !== "undefined" ? createModule2 : {}; + var readyPromiseResolve, readyPromiseReject; + Module["ready"] = new Promise(function(resolve, reject) { + readyPromiseResolve = resolve; + readyPromiseReject = reject; + }); + var moduleOverrides = {}; + var key; + for (key in Module) { + if (Module.hasOwnProperty(key)) { + moduleOverrides[key] = Module[key]; + } + } + var scriptDirectory = ""; + function locateFile(path) { + if (Module["locateFile"]) { + return Module["locateFile"](path, scriptDirectory); + } + return scriptDirectory + path; + } + var read_, readBinary; + var nodeFS; + var nodePath; + { + { + scriptDirectory = __dirname + "/"; + } + read_ = function shell_read(filename, binary) { + var ret = tryParseAsDataURI(filename); + if (ret) { + return binary ? ret : ret.toString(); + } + if (!nodeFS) + nodeFS = frozenFs; + if (!nodePath) + nodePath = path__default.default; + filename = nodePath["normalize"](filename); + return nodeFS["readFileSync"](filename, binary ? null : "utf8"); + }; + readBinary = function readBinary2(filename) { + var ret = read_(filename, true); + if (!ret.buffer) { + ret = new Uint8Array(ret); + } + assert(ret.buffer); + return ret; + }; + if (process["argv"].length > 1) { + process["argv"][1].replace(/\\/g, "/"); + } + process["argv"].slice(2); + Module["inspect"] = function() { + return "[Emscripten Module object]"; + }; + } + Module["print"] || console.log.bind(console); + var err = Module["printErr"] || console.warn.bind(console); + for (key in moduleOverrides) { + if (moduleOverrides.hasOwnProperty(key)) { + Module[key] = moduleOverrides[key]; + } + } + moduleOverrides = null; + if (Module["arguments"]) + ; + if (Module["thisProgram"]) + ; + if (Module["quit"]) + ; + var wasmBinary; + if (Module["wasmBinary"]) + wasmBinary = Module["wasmBinary"]; + Module["noExitRuntime"] || true; + if (typeof WebAssembly !== "object") { + abort("no native wasm support detected"); + } + function getValue(ptr, type, noSafe) { + type = type || "i8"; + if (type.charAt(type.length - 1) === "*") + type = "i32"; + switch (type) { + case "i1": + return HEAP8[ptr >> 0]; + case "i8": + return HEAP8[ptr >> 0]; + case "i16": + return LE_HEAP_LOAD_I16((ptr >> 1) * 2); + case "i32": + return LE_HEAP_LOAD_I32((ptr >> 2) * 4); + case "i64": + return LE_HEAP_LOAD_I32((ptr >> 2) * 4); + case "float": + return LE_HEAP_LOAD_F32((ptr >> 2) * 4); + case "double": + return LE_HEAP_LOAD_F64((ptr >> 3) * 8); + default: + abort("invalid type for getValue: " + type); + } + return null; + } + var wasmMemory; + var ABORT = false; + function assert(condition, text) { + if (!condition) { + abort("Assertion failed: " + text); + } + } + function getCFunc(ident) { + var func = Module["_" + ident]; + assert( + func, + "Cannot call unknown function " + ident + ", make sure it is exported" + ); + return func; + } + function ccall(ident, returnType, argTypes, args, opts) { + var toC = { + string: function(str) { + var ret2 = 0; + if (str !== null && str !== void 0 && str !== 0) { + var len = (str.length << 2) + 1; + ret2 = stackAlloc(len); + stringToUTF8(str, ret2, len); + } + return ret2; + }, + array: function(arr) { + var ret2 = stackAlloc(arr.length); + writeArrayToMemory(arr, ret2); + return ret2; + } + }; + function convertReturnValue(ret2) { + if (returnType === "string") + return UTF8ToString(ret2); + if (returnType === "boolean") + return Boolean(ret2); + return ret2; + } + var func = getCFunc(ident); + var cArgs = []; + var stack = 0; + if (args) { + for (var i = 0; i < args.length; i++) { + var converter = toC[argTypes[i]]; + if (converter) { + if (stack === 0) + stack = stackSave(); + cArgs[i] = converter(args[i]); + } else { + cArgs[i] = args[i]; + } + } + } + var ret = func.apply(null, cArgs); + ret = convertReturnValue(ret); + if (stack !== 0) + stackRestore(stack); + return ret; + } + function cwrap(ident, returnType, argTypes, opts) { + argTypes = argTypes || []; + var numericArgs = argTypes.every(function(type) { + return type === "number"; + }); + var numericRet = returnType !== "string"; + if (numericRet && numericArgs && !opts) { + return getCFunc(ident); + } + return function() { + return ccall(ident, returnType, argTypes, arguments); + }; + } + var UTF8Decoder = new TextDecoder("utf8"); + function UTF8ToString(ptr, maxBytesToRead) { + if (!ptr) + return ""; + var maxPtr = ptr + maxBytesToRead; + for (var end = ptr; !(end >= maxPtr) && HEAPU8[end]; ) + ++end; + return UTF8Decoder.decode(HEAPU8.subarray(ptr, end)); + } + function stringToUTF8Array(str, heap, outIdx, maxBytesToWrite) { + if (!(maxBytesToWrite > 0)) + return 0; + var startIdx = outIdx; + var endIdx = outIdx + maxBytesToWrite - 1; + for (var i = 0; i < str.length; ++i) { + var u = str.charCodeAt(i); + if (u >= 55296 && u <= 57343) { + var u1 = str.charCodeAt(++i); + u = 65536 + ((u & 1023) << 10) | u1 & 1023; + } + if (u <= 127) { + if (outIdx >= endIdx) + break; + heap[outIdx++] = u; + } else if (u <= 2047) { + if (outIdx + 1 >= endIdx) + break; + heap[outIdx++] = 192 | u >> 6; + heap[outIdx++] = 128 | u & 63; + } else if (u <= 65535) { + if (outIdx + 2 >= endIdx) + break; + heap[outIdx++] = 224 | u >> 12; + heap[outIdx++] = 128 | u >> 6 & 63; + heap[outIdx++] = 128 | u & 63; + } else { + if (outIdx + 3 >= endIdx) + break; + heap[outIdx++] = 240 | u >> 18; + heap[outIdx++] = 128 | u >> 12 & 63; + heap[outIdx++] = 128 | u >> 6 & 63; + heap[outIdx++] = 128 | u & 63; + } + } + heap[outIdx] = 0; + return outIdx - startIdx; + } + function stringToUTF8(str, outPtr, maxBytesToWrite) { + return stringToUTF8Array(str, HEAPU8, outPtr, maxBytesToWrite); + } + function lengthBytesUTF8(str) { + var len = 0; + for (var i = 0; i < str.length; ++i) { + var u = str.charCodeAt(i); + if (u >= 55296 && u <= 57343) + u = 65536 + ((u & 1023) << 10) | str.charCodeAt(++i) & 1023; + if (u <= 127) + ++len; + else if (u <= 2047) + len += 2; + else if (u <= 65535) + len += 3; + else + len += 4; + } + return len; + } + function allocateUTF8(str) { + var size = lengthBytesUTF8(str) + 1; + var ret = _malloc(size); + if (ret) + stringToUTF8Array(str, HEAP8, ret, size); + return ret; + } + function writeArrayToMemory(array, buffer2) { + HEAP8.set(array, buffer2); + } + function alignUp(x, multiple) { + if (x % multiple > 0) { + x += multiple - x % multiple; + } + return x; + } + var buffer, HEAP8, HEAPU8; + var HEAP_DATA_VIEW; + function updateGlobalBufferAndViews(buf) { + buffer = buf; + Module["HEAP_DATA_VIEW"] = HEAP_DATA_VIEW = new DataView(buf); + Module["HEAP8"] = HEAP8 = new Int8Array(buf); + Module["HEAP16"] = new Int16Array(buf); + Module["HEAP32"] = new Int32Array(buf); + Module["HEAPU8"] = HEAPU8 = new Uint8Array(buf); + Module["HEAPU16"] = new Uint16Array(buf); + Module["HEAPU32"] = new Uint32Array(buf); + Module["HEAPF32"] = new Float32Array(buf); + Module["HEAPF64"] = new Float64Array(buf); + } + Module["INITIAL_MEMORY"] || 16777216; + var wasmTable; + var __ATPRERUN__ = []; + var __ATINIT__ = []; + var __ATPOSTRUN__ = []; + function preRun() { + if (Module["preRun"]) { + if (typeof Module["preRun"] == "function") + Module["preRun"] = [Module["preRun"]]; + while (Module["preRun"].length) { + addOnPreRun(Module["preRun"].shift()); + } + } + callRuntimeCallbacks(__ATPRERUN__); + } + function initRuntime() { + callRuntimeCallbacks(__ATINIT__); + } + function postRun() { + if (Module["postRun"]) { + if (typeof Module["postRun"] == "function") + Module["postRun"] = [Module["postRun"]]; + while (Module["postRun"].length) { + addOnPostRun(Module["postRun"].shift()); + } + } + callRuntimeCallbacks(__ATPOSTRUN__); + } + function addOnPreRun(cb) { + __ATPRERUN__.unshift(cb); + } + function addOnInit(cb) { + __ATINIT__.unshift(cb); + } + function addOnPostRun(cb) { + __ATPOSTRUN__.unshift(cb); + } + var runDependencies = 0; + var dependenciesFulfilled = null; + function addRunDependency(id) { + runDependencies++; + if (Module["monitorRunDependencies"]) { + Module["monitorRunDependencies"](runDependencies); + } + } + function removeRunDependency(id) { + runDependencies--; + if (Module["monitorRunDependencies"]) { + Module["monitorRunDependencies"](runDependencies); + } + if (runDependencies == 0) { + if (dependenciesFulfilled) { + var callback = dependenciesFulfilled; + dependenciesFulfilled = null; + callback(); + } + } + } + Module["preloadedImages"] = {}; + Module["preloadedAudios"] = {}; + function abort(what) { + if (Module["onAbort"]) { + Module["onAbort"](what); + } + what += ""; + err(what); + ABORT = true; + what = "abort(" + what + "). Build with -s ASSERTIONS=1 for more info."; + var e = new WebAssembly.RuntimeError(what); + readyPromiseReject(e); + throw e; + } + var dataURIPrefix = "data:application/octet-stream;base64,"; + function isDataURI(filename) { + return filename.startsWith(dataURIPrefix); + } + var wasmBinaryFile = "data:application/octet-stream;base64,AGFzbQEAAAAB/wEkYAN/f38Bf2ABfwF/YAJ/fwF/YAF/AGAEf39/fwF/YAN/f38AYAV/f39/fwF/YAJ/fwBgBH9/f38AYAABf2AFf39/fn8BfmAEf35/fwF/YAR/f35/AX5gAn9+AX9gA398fwBgA39/fgF/YAF/AX5gBn9/f39/fwF/YAN/fn8Bf2AEf39/fwF+YAV/f35/fwF/YAR/f35/AX9gA39/fgF+YAJ/fgBgAn9/AX5gBX9/f39/AGADf35/AX5gBX5+f35/AX5gA39/fwF+YAZ/fH9/f38Bf2AAAGAHf35/f39+fwF/YAV/fn9/fwF/YAV/f39/fwF+YAJ+fwF/YAJ/fAACJQYBYQFhAAMBYQFiAAEBYQFjAAABYQFkAAEBYQFlAAIBYQFmAAED5wHlAQMAAwEDAwEHDAgDFgcNEgEDDRcFAQ8DEAUQAwIBAhgECxkEAQMBBQsFAwMDARACBAMAAggLBwEAAwADGgQDGwYGABwBBgMTFBEHBwcVCx4ABAgHBAICAgAfAQICAgIGFSAAIQAiAAIBBgIHAg0LEw0FAQUCACMDAQAUAAAGBQECBQUDCwsSAgEDBQIHAQEICAACCQQEAQABCAEBCQoBAwkBAQEBBgEGBgYABAIEBAQGEQQEAAARAAEDCQEJAQAJCQkBAQECCgoAAAMPAQEBAwACAgICBQIABwAKBgwHAAADAgICBQEEBQFwAT8/BQcBAYACgIACBgkBfwFBgInBAgsH+gEzAW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EAUEwNgIAQX8LNwAgAEJ/NwMQIABBADYCCCAAQgA3AwAgAEEANgIwIABC/////w83AyggAEIANwMYIABCADcDIAulAQEBf0HYABAJIgFFBEBBAA8LAkAgAARAIAEgAEHYABAHGgwBCyABQgA3AyAgAUEANgIYIAFC/////w83AxAgAUEAOwEMIAFBv4YoNgIIIAFBAToABiABQQA6AAQgAUIANwNIIAFBgIDYjXg2AkQgAUIANwMoIAFCADcDMCABQgA3AzggAUFAa0EAOwEAIAFCADcDUAsgAUEBOgAFIAFBADYCACABC1gCAn4BfwJAAkAgAC0AAEUNACAAKQMQIgMgAq18IgQgA1QNACAEIAApAwhYDQELIABBADoAAA8LIAAoAgQiBUUEQA8LIAAgBDcDECAFIAOnaiABIAIQBxoLlgEBAn8CQAJAIAJFBEAgAacQCSIFRQ0BQRgQCSIEDQIgBRAGDAELIAIhBUEYEAkiBA0BCyADBEAgA0EANgIEIANBDjYCAAtBAA8LIARCADcDECAEIAE3AwggBCAFNgIEIARBAToAACAEIAJFOgABIAAgBSABIAMQZUEASAR/IAQtAAEEQCAEKAIEEAYLIAQQBkEABSAECwubAgEDfyAALQAAQSBxRQRAAkAgASEDAkAgAiAAIgEoAhAiAAR/IAAFAn8gASABLQBKIgBBAWsgAHI6AEogASgCACIAQQhxBEAgASAAQSByNgIAQX8MAQsgAUIANwIEIAEgASgCLCIANgIcIAEgADYCFCABIAAgASgCMGo2AhBBAAsNASABKAIQCyABKAIUIgVrSwRAIAEgAyACIAEoAiQRAAAaDAILAn8gASwAS0F/SgRAIAIhAANAIAIgACIERQ0CGiADIARBAWsiAGotAABBCkcNAAsgASADIAQgASgCJBEAACAESQ0CIAMgBGohAyABKAIUIQUgAiAEawwBCyACCyEAIAUgAyAAEAcaIAEgASgCFCAAajYCFAsLCwvNBQEGfyAAKAIwIgNBhgJrIQYgACgCPCECIAMhAQNAIAAoAkQgAiAAKAJoIgRqayECIAEgBmogBE0EQCAAKAJIIgEgASADaiADEAcaAkAgAyAAKAJsIgFNBEAgACABIANrNgJsDAELIABCADcCbAsgACAAKAJoIANrIgE2AmggACAAKAJYIANrNgJYIAEgACgChC5JBEAgACABNgKELgsgAEH8gAEoAgARAwAgAiADaiECCwJAIAAoAgAiASgCBCIERQ0AIAAoAjwhBSAAIAIgBCACIARJGyICBH8gACgCSCAAKAJoaiAFaiEFIAEgBCACazYCBAJAAkACQAJAIAEoAhwiBCgCFEEBaw4CAQACCyAEQaABaiAFIAEoAgAgAkHcgAEoAgARCAAMAgsgASABKAIwIAUgASgCACACQcSAASgCABEEADYCMAwBCyAFIAEoAgAgAhAHGgsgASABKAIAIAJqNgIAIAEgASgCCCACajYCCCAAKAI8BSAFCyACaiICNgI8AkAgACgChC4iASACakEDSQ0AIAAoAmggAWshAQJAIAAoAnRBgQhPBEAgACAAIAAoAkggAWoiAi0AACACLQABIAAoAnwRAAA2AlQMAQsgAUUNACAAIAFBAWsgACgChAERAgAaCyAAKAKELiAAKAI8IgJBAUZrIgRFDQAgACABIAQgACgCgAERBQAgACAAKAKELiAEazYChC4gACgCPCECCyACQYUCSw0AIAAoAgAoAgRFDQAgACgCMCEBDAELCwJAIAAoAkQiAiAAKAJAIgNNDQAgAAJ/IAAoAjwgACgCaGoiASADSwRAIAAoAkggAWpBACACIAFrIgNBggIgA0GCAkkbIgMQGSABIANqDAELIAFBggJqIgEgA00NASAAKAJIIANqQQAgAiADayICIAEgA2siAyACIANJGyIDEBkgACgCQCADags2AkALC50CAQF/AkAgAAJ/IAAoAqAuIgFBwABGBEAgACgCBCAAKAIQaiAAKQOYLjcAACAAQgA3A5guIAAgACgCEEEIajYCEEEADAELIAFBIE4EQCAAKAIEIAAoAhBqIAApA5guPgAAIAAgAEGcLmo1AgA3A5guIAAgACgCEEEEajYCECAAIAAoAqAuQSBrIgE2AqAuCyABQRBOBEAgACgCBCAAKAIQaiAAKQOYLj0AACAAIAAoAhBBAmo2AhAgACAAKQOYLkIQiDcDmC4gACAAKAKgLkEQayIBNgKgLgsgAUEISA0BIA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BADYCBCADQRI2AgALCyAEC7UBAQJ/AkACQAJAAkACQAJAAkAgAC0ABQRAIAAtAABBAnFFDQELIAAoAjAQECAAQQA2AjAgAC0ABUUNAQsgAC0AAEEIcUUNAQsgACgCNBAcIABBADYCNCAALQAFRQ0BCyAALQAAQQRxRQ0BCyAAKAI4EBAgAEEANgI4IAAtAAVFDQELIAAtAABBgAFxRQ0BCyAAKAJUIgEEfyABQQAgARAiEBkgACgCVAVBAAsQBiAAQQA2AlQLC9wMAgl/AX4jAEFAaiIGJAACQAJAAkACQAJAIAEoAjBBABAjIgVBAkZBACABKAI4QQAQIyIEQQFGGw0AIAVBAUZBACAEQQJGGw0AIAVBAkciAw0BIARBAkcNAQsgASABLwEMQYAQcjsBDEEAIQMMAQsgASABLwEMQf/vA3E7AQxBACEFIANFBEBB9eABIAEoAjAgAEEIahBpIgVFDQILIAJBgAJxBEAgBSEDDAELIARBAkcEQCAFIQMMAQtB9cYBIAEoAjggAEEIahBpIgNFBEAgBRAcDAILIAMgBTYCAAsgASABLwEMQf7/A3EgAS8BUiIFQQBHcjsBDAJAAkACQAJAAn8CQAJAIAEpAyhC/v///w9WDQAgASkDIEL+////D1YNACACQYAEcUUNASABKQNIQv////8PVA0BCyAFQYECa0H//wNxQQNJIQdBAQwBCyAFQYECa0H//wNxIQQgAkGACnFBgApHDQEgBEEDSSEHQQALIQkgBkIcEBciBEUEQCAAQQhqIgAEQCAAQQA2AgQgAEEONgIACyADEBwMBQsgAkGACHEhBQJAAkAgAkGAAnEEQAJAIAUNACABKQMgQv////8PVg0AIAEpAyhCgICAgBBUDQMLIAQgASkDKBAYIAEpAyAhDAwBCwJAAkACQCAFDQAgASkDIEL/////D1YNACABKQMoIgxC/////w9WDQEgASkDSEKAgICAEFQNBAsgASkDKCIMQv////8PVA0BCyAEIAwQGAsgASkDICIMQv////8PWgRAIAQgDBAYCyABKQNIIgxC/////w9UDQELIAQgDBAYCyAELQAARQRAIABBCGoiAARAIABBADYCBCAAQRQ2Ag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EBaiIDQQAgDEECSCIGGyICNgIAIAggAkECdCIEakEBOwEAIAAgAmpBqClqQQA6AAAgACAAKAL4LUEBazYC+C0gBQRAIA8gDygCACAEIAVqLwECazYCAAsgAyAMIAYbIQwgACgCoCkiBEECSA0ACwsgASAMNgIEIARBAXYhBgNAIAAgBkECdGpBrBdqKAIAIQkCQCAGIgJBAXQiAyAESg0AIAggCUECdGohCiAAIAlqQagpaiENIAYhBQNAAkAgAyAETgRAIAMhAgwBCyAIIABBrBdqIgIgA0EBciIEQQJ0aigCACILQQJ0ai8BACIOIAggAiADQQJ0aigCACIQQQJ0ai8BACICTwRAIAIgDkcEQCADIQIMAgsgAyECIABBqClqIgMgC2otAAAgAyAQai0AAEsNAQsgBCECCyAKLwEAIgQgCCAAIAJBAnRqQawXaigCACIDQQJ0ai8BACILSQRAIAUhAgwCCwJAIAQgC0cNACANLQAAIAAgA2pBqClqLQAASw0AIAUhAgwCCyAAIAVBAnRqQawXaiADNgIAIAIhBSACQQF0IgMgACgCoCkiBEwNAAsLIAAgAkECdGpBrBdqIAk2AgAgBkECTgRAIAZBAWshBiAAKAKgKSEEDAELCyAAKAKgKSEDA0AgByEGIAAgA0EBayIENgKgKSAAKAKwFyEKIAAgACADQQJ0akGsF2ooAgAiCTYCsBdBASECAkAgA0EDSA0AIAggCUECdGohDSAAIAlqQagpaiELQQIhA0EBIQUDQAJAIAMgBE4EQCADIQIMAQsgCCAAQawXaiICIANBAXIiB0ECdGooAgAiBEECdGovAQAiDiAIIAIgA0ECdGooAgAiEEECdGovAQAiAk8EQCACIA5HBEAgAyECDAILIAMhAiAAQagpaiIDIARqLQAAIAMgEGotAABLDQELIAchAgsgDS8BACIHIAggACACQQJ0akGsF2ooAgAiA0ECdGovAQAiBEkEQCAFIQIMAgsCQCAEIAdHDQAgCy0AACAAIANqQagpai0AAEsNACAFIQIMAgsgACAFQQJ0akGsF2ogAzYCACACIQUgAkEBdCIDIAAoAqApIgRMDQALC0ECIQMgAEGsF2oiByACQ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ASECDAcLIB1BfyAGdEF/c62DIBt8IhunIQUgCCAEQQ9xIgNrIQggGiAErUIPg4ghHSABIBdrIgYgAjMBAiAaQX8gA3RBf3Otg3ynIgRPDQIgBCAGayIGIBlNDQEgBygCjEdFDQEgB0HR/gA2AgQgAEG5DDYCGAsgASECIAshBQwFCwJAIA5FBEAgDCARIAZraiEDDAELIAYgDk0EQCAMIA4gBmtqIQMMAQsgDCARIAYgDmsiBmtqIQMgBSAGTQ0AIAUgBmshBQJAAkAgASADTSABIA8gAWusIhogBq0iGyAaIBtUGyIapyIGaiICIANLcQ0AIAMgBmogAUsgASADT3ENACABIAMgBhAHGiACIQEMAQsgASADIAMgAWsiASABQR91IgFqIAFzIgIQByACaiEBIBogAq0iHn0iHFANACACIANqIQIDQAJAIBwgHiAcIB5UGyIbQiBUBEAgGyEaDAELIBsiGkIgfSIgQgWIQgF8QgODIh9QRQRAA0AgASACKQAANwAAIAEgAikAGDcAGCABIAIpABA3ABAgASACKQAINwAIIBpCIH0hGiACQSBqIQIgAUEgaiEBIB9CAX0iH0IAUg0ACwsgIELgAFQNAANAIAEgAikAADcAACABIAIpABg3ABggASACKQAQNwAQIAEgAikACDcACCABIAIpADg3ADggASACKQAwNwAwIAEgAikAKDcAKCABIAIpACA3ACAgASACKQBYNwBYIAEgAikAUDcAUCABIAIpAEg3AEggASACKQBANwBAIAEgAikAYDcAYCABIAIpAGg3AGggASACKQBwNwBwIAEgAikAeDcAeCACQYABaiECIAFBgAFqIQEgGkKAAX0iGkIfVg0ACwsgGkIQWgRAIAEgAikAADcAACABIAIpAAg3AAggGkIQfSEaIAJBEGohAiABQRBqIQELIBpCCFoEQCABIAIpAAA3AAAgGkIIfSEaIAJBCGohAiABQQhqIQELIBpCBFoEQCABIAIoAAA2AAAgGkIEfSEaIAJBBGohAiABQQRqIQELIBpCAloEQCABIAIvAAA7AAAgGkICfSEaIAJBAmohAiABQQJqIQELIBwgG30hHCAaUEUEQCABIAItAAA6AAAgAkEBaiECIAFB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qnIgFIIAVBf0pxDQAgBUEBSCABIARqIAJLcQ0AIAIgBCABEAcgAWohAgwDCyACIAQgAyADQR91IgFqIAFzIgEQByABaiECIBogAa0iHn0iHFANAiABIARqIQEDQAJAIBwgHiAcIB5UGyIbQiBUBEAgGyEaDAELIBsiGkIgfSIgQgWIQgF8QgODIh9QRQRAA0AgAiABKQAANwAAIAIgASkAGDcAGCACIAEpABA3ABAgAiABKQAINwAIIBpCIH0hGiABQSBqIQEgAkEgaiECIB9CAX0iH0IAUg0ACwsgIELgAFQNAANAIAIgASkAADcAACACIAEpABg3ABggAiABKQAQNwAQIAIgASkACDcACCACIAEpADg3ADggAiABKQAwNwAwIAIgASkAKDcAKCACIAEpACA3ACAgAiABKQBYNwBYIAIgASkAUDcAUCACIAEpAEg3AEggAiABKQBANwBAIAIgASkAYDcAYCACIAEpAGg3AGggAiABKQBwNwBwIAIgASkAeDcAeCABQYABaiEBIAJBgAFqIQIgGkKAAX0iGkIfVg0ACwsgGkIQWgRAIAIgASkAADcAACACIAEpAAg3AAggGkIQfSEaIAJBEGohAiABQRBqIQELIBpCCFoEQCACIAEpAAA3AAAgGkIIfSEaIAJBCGohAiABQQhqIQELIBpCBFoEQCACIAEoAAA2AAAgGkIEfSEaIAJBBGohAiABQQRqIQELIBpCAloEQCACIAEvAAA7AAAgGkICfSEaIAJBAmohAiABQQJqIQELIBwgG30hHCAaUEUEQCACIAEtAAA6AAAgAkEBaiECIAFBAWohAQsgHFBFDQALDAILAkAgASADTSABIA8gAWusIhogBa0iGyAaIBtUGyIapyIEaiICIANLcQ0AIAMgBGogAUsgASADT3ENACABIAMgBBAHGgwCCyABIAMgAyABayIBIAFBH3UiAWogAXMiARAHIAFqIQIgGiABrSIefSIcUA0BIAEgA2ohAQNAAkAgHCAeIBwgHlQbIhtCIFQEQCAbIRoMAQsgGyIaQiB9IiBCBYhCAXxCA4MiH1BFBEADQCACIAEpAAA3AAAgAiABKQAYNwAYIAIgASkAEDcAECACIAEpAAg3AAggGkIgfSEaIAFBIGohASACQSBqIQIgH0IBfSIfQgBSDQALCyAgQuAAVA0AA0AgAiABKQAANwAAIAIgASkAGDcAGCACIAEpABA3ABAgAiABKQAINwAIIAIgASkAODcAOCACIAEpADA3ADAgAiABKQAoNwAoIAIgASkAIDcAICACIAEpAFg3AFggAiABKQBQNwBQIAIgASkASDcASCACIAEpAEA3AEAgAiABKQBgNwBgIAIgASkAaDcAaCACIAEpAHA3AHAgAiABKQB4NwB4IAFBgAFqIQEgAkGAAWohAiAaQoABfSIaQh9WDQALCyAaQhBaBEAgAiABKQAANwAAIAIgASkACDcACCAaQhB9IRogAkEQaiECIAFBEGohAQsgGkIIWgRAIAIgASkAADcAACAaQgh9IRogAkEIaiECIAFBCGohAQsgGkIEWgRAIAIgASgAADYAACAaQgR9IRogAkEEaiECIAFBBGohAQsgGkICWgRAIAIgAS8AADsAACAaQgJ9IRogAkECaiECIAFBAmohAQsgHCAbfSEcIBpQRQRAIAIgAS0AADoAACACQQFqIQIgAUEBaiEBCyAcUEUNAAsMAQsCQAJAIBYEQAJAIAQgBUkEQCAHKAKYRyAESw0BCyABIARrIQMCQEEAIARrIgVBf0ogDyABa6wiGiAbIBogG1QbIhqnIgIgBUpxDQAgBUEBSCACIANqIAFLcQ0AIAEgAyACEAcgAmohAgwFCyABIAMgBCAEQR91IgFqIAFzIgEQByABaiECIBogAa0iHn0iHFANBCABIANqIQEDQAJAIBwgHiAcIB5UGyIbQiBUBEAgGyEaDAELIBsiGkIgfSIgQgWIQgF8QgODIh9QRQRAA0AgAiABKQAANwAAIAIgASkAGDcAGCACIAEpABA3ABAgAiABKQAINwAIIBpCIH0hGiABQSBqIQEgAkEgaiECIB9CAX0iH0IAUg0ACwsgIELgAFQNAANAIAIgASkAADcAACACIAEpABg3ABggAiABKQAQNwAQIAIgASkACDcACCACIAEpADg3ADggAiABKQAwNwAwIAIgASkAKDcAKCACIAEpACA3ACAgAiABKQBYNwBYIAIgASkAUDcAUCACIAEpAEg3AEggA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QQdrIQYgA0EIayEDIAFBCGohASACQQFqIQIMBgsgCiEBIAUhAwwFCyAKIQEgBSEDDAQLIAohASAFIQMMAwsgCiEBIAUhAwwCCyAKIQEgBSEDDAELIAohASAFIQMLAkACQCAGQRdNBEAgA0UNASADQQFrIQUgA0EHcSIEBEADQCABIAItAAA6AAAgA0EBayEDIAFBAWohASACQQFqIQIgBEEBayIEDQALCyAFQQdJDQEDQCABIAItAAA6AAAgASACLQABOgABIAEgAi0AAjoAAiABIAItAAM6AAMgASACLQAEOgAEIAEgAi0ABToABSABIAItAAY6AAYgASACLQAHOgAHIAFBCGohASACQQhqIQIgA0EIayIDDQALDAELIAMNAQsgASECDAELIAEgBCADED8hAgsgCyEFDAELIAEgAy0AAjoAACABQQFqIQILIAUgFE8NACACIBNJDQELCyAAIAI2AgwgACAFIAhBA3ZrIgE2AgAgACATIAJrQYMCajYCECAAIBQgAWtBDmo2AgQgByAIQQdxIgA2AogBIAcgHUJ/IACthkJ/hYM+AoQBC+cFAQR/IAMgAiACIANLGyEEIAAgAWshAgJAIABBB3FFDQAgBEUNACAAIAItAAA6AAAgA0EBayEGIAJBAWohAiAAQQFqIgdBB3FBACAEQQFrIgUbRQRAIAchACAFIQQgBiEDDAELIAAgAi0AADoAASADQQJrIQYgBEECayEFIAJBAWohAgJAIABBAmoiB0EHcUUNACAFRQ0AIAAgAi0AADoAAiADQQNrIQYgBEEDayEFIAJBAWohAgJAIABBA2oiB0EHcUUNACAFRQ0AIAAgAi0AADoAAyADQQRrIQYgBEEEayEFIAJBAWohAgJAIABBBGoiB0EHcUUNACAFRQ0AIAAgAi0AADoABCADQQVrIQYgBEEFayEFIAJBAWohAgJAIABBBWoiB0EHcUUNACAFRQ0AIAAgAi0AADoABSADQQZrIQYgBEEGayEFIAJBAWohAgJAIABBBmoiB0EHcUUNACAFRQ0AIAAgAi0AADoABiADQQdrIQYgBEEHayEFIAJBAWohAgJAIABBB2oiB0EHcUUNACAFRQ0AIAAgAi0AADoAByADQQh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QICfwF+QTAQCSICRQRAIAEEQCABQQA2AgQgAUEONgIAC0EADwsgAkIANwMIIAJBADYCACACQgA3AxAgAkIANwMYIAJCADcDICACQgA3ACUgAFAEQCACDwsCQCAAQv////8AVg0AIACnQQR0EAkiA0UNACACIAM2AgBBACEBQgEhBANAIAMgAUEEdGoiAUIANwIAIAFCADcABSAAIARSBEAgBKchASAEQgF8IQQMAQsLIAIgADcDCCACIAA3AxAgAg8LIAEEQCABQQA2AgQgAUEONgIAC0EAEBAgAhAGQQAL7gECA38BfiMAQRBrIgQkAAJAIARBDGpCBBAXIgNFBEBBfyECDAELAkAgAQRAIAJBgAZxIQUDQAJAIAUgASgCBHFFDQACQCADKQMIQgBUBEAgA0EAOgAADAELIANCADcDECADQQE6AAALIAMgAS8BCBANIAMgAS8BChANIAMtAABFBEAgAEEIaiIABEAgAEEANgIEIABBFDYCAAtBfyECDAQLQX8hAiAAIARBDGpCBBAbQQBIDQMgATMBCiIGUA0AIAAgASgCDCAGEBtBAEgNAwsgASgCACIBDQALC0EAIQILIAMQCAsgBEEQaiQAIAILPAEBfyAABEAgAUGABnEhAQNAIAEgACgCBHEEQCACIAAvAQpqQQRqIQILIAAoAgAiAA0ACwsgAkH//wNxC5wBAQN/IABFBEBBAA8LIAAhAwNAAn8CQAJAIAAvAQgiAUH04AFNBEAgAUEBRg0BIAFB9cYBRg0BDAILIAFBgbICRg0AIAFB9eABRw0BCyAAKAIAIQEgAEEANgIAIAAoAgwQBiAAEAYgASADIAAgA0YbIQMCQCACRQRAQQAhAgwBCyACIAE2AgALIAEMAQsgACICKAIACyIADQALIAMLsgQCBX8BfgJAAkACQCAAIAGtEBciAQRAIAEtAAANAUEAIQAMAgsgBARAIARBADYCBCAEQQ42AgALQQAPC0EAIQADQCABLQAABH4gASkDCCABKQMQfQVCAAtCBFQNASABEAwhByABIAEQDCIGrRATIghFBEBBACECIAQEQCAEQQA2AgQgBEEVNgIACyABEAggAEUNAwNAIAAoAgAhASAAKAIMEAYgABA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CAAQRI2AgALQX8MAQsgAkEANgIIIAIgATcDACAAIAJCEEEMEA5CP4enCyEAIAJBEGokACAAC9oDAQZ/IwBBEGsiBSQAIAUgAjYCDCMAQaABayIEJAAgBEEIakHA8ABBkAEQBxogBCAANgI0IAQgADYCHCAEQX4gAGsiA0H/////ByADQf////8HSRsiBjYCOCAEIAAgBmoiADYCJCAEIAA2AhggBEEIaiEAIwBB0AFrIgMkACADIAI2AswBIANBoAFqQQBBKBAZIAMgAygCzAE2AsgBAkBBACABIANByAFqIANB0ABqIANBoAFqEEpBAEgNACAAKAJMQQBOIQcgACgCACECIAAsAEpBAEwEQCAAIAJBX3E2AgALIAJBIHEhCAJ/IAAoAjAEQCAAIAEgA0HIAWogA0HQAGogA0GgAWoQSgwBCyAAQdAANgIwIAAgA0HQAGo2AhAgACADNgIcIAAgAzYCFCAAKAIsIQIgACADNgIsIAAgASADQcgBaiADQdAAaiADQaABahBKIAJFDQAaIABBAEEAIAAoAiQRAAAaIABBADYCMCAAIAI2AiwgAEEANgIcIABBADYCECAAKAIUGiAAQQA2AhRBAAsaIAAgACgCACAIcjYCACAHRQ0ACyADQdABaiQAIAYEQCAEKAIcIgAgACAEKAIYRmtBADoAAAsgBEGgAWokACAFQRBqJAALUwEDfwJAIAAoAgAsAABBMGtBCk8NAANAIAAoAgAiAiwAACEDIAAgAkEBajYCACABIANqQTBrIQEgAiwAAUEwa0EKTw0BIAFBCmwhAQwACwALIAELuwIAAkAgAUEUSw0AAkACQAJAAkACQAJAAkACQAJAAkAgAUEJaw4KAAECAwQFBgcICQoLIAIgAigCACIBQQRqNgIAIAAgASgCADYCAA8LIAIgAigCACIBQQRqNgIAIAAgATQCADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATUCADcDAA8LIAIgAigCAEEHakF4cSIBQQhqNgIAIAAgASkDADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATIBADcDAA8LIAIgAigCACIBQQRqNgIAIAAgATMBADcDAA8LIAIgAigCACIBQQRqNgI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CDAsMAgsgEULiABAXIgZFBEAgAEEIagRAIABBADYCDCAAQQ42AggLDAILIBggFX0hEyAVQv////8PViAUQv//A1ZyIApyQQFxBEAgBkGZEkEEECwgBkIsEBggBkEtEA0gBkEtEA0gBkEAEBIgBkEAEBIgBiAUEBggBiAUEBggBiATEBggBiAVEBggBkGUEkEEECwgBkEAEBIgBiAYEBggBkEBEBILIAZBnhJBBBAsIAZBABASIAYgFEL//wMgFEL//wNUG6dB//8DcSIBEA0gBiABEA0gBkF/IBOnIBNC/v///w9WGxASIAZBfyAVpyAVQv7///8PVhsQEiAGIABBJEEgIAAtACgbaigCACIDBH8gAy8BBAVBAAtB//8DcRANIAYtAABFBEAgAEEIagRAIABBADYCDCAAQRQ2AggLIAYQCAwCCyAAIAYoAgQgBi0AAAR+IAYpAxAFQgALEBshASAGEAggAUEASA0BIAMEQCAAIAMoAgAgAzMBBBAbQQBIDQILIBMhFwwBCyAAKAIAIQEgAEEIagRAIAAgASgCDDYCCCAAIAEoAhA2AgwLQn8hFwsgEUHwAGokACAXQgBTDQAgACgCABAfQj+HpyECCyALEAYgAkEASA0BAn8gACgCACIBKAIkQQFHBEAgAUEMagRAIAFBADYCECABQRI2AgwLQX8MAQsgASgCICICQQJPBEAgAUEMagRAIAFBADYCECABQR02AgwLQX8MAQsCQCACQQFHDQAgARAaQQBODQBBfwwBCyABQQBCAEEJEA5Cf1cEQCABQQI2AiRBfwwBCyABQQA2AiRBAAtFDQIgACgCACECIAQEQCAEIAIoAgw2AgAgBCACKAIQNgIECwwBCyALEAYLIAAoAlQQfCAAKAIAEENBfyECDAILIAAoAlQQfAsgABBLQQAhAgsgB0HAwABqJAAgAgtFAEHwgwFCADcDAEHogwFCADcDAEHggwFCADcDAEHYgwFCADcDAEHQgwFCADcDAEHIgwFCADcDAEHAgwFCADcDAEHAgwELoQMBCH8jAEGgAWsiAiQAIAAQMQJAAn8CQCAAKAIAIgFBAE4EQCABQbATKAIASA0BCyACIAE2AhAgAkEgakH2ESAC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EIAlqIgFFDQAaIAYgASAEIAlrQdSAASgCABEAAAs2AjALIAUoAhwiBhAwAkAgBSgCECIEIAYoAhAiASABIARLGyIBRQ0AIAUoAgwgBigCCCABEAcaIAUgBSgCDCABajYCDCAGIAYoAgggAWo2AgggBSAFKAIUIAFqNgIUIAUgBSgCECABazYCECAGIAYoAhAgAWsiATYCECABDQAgBiAGKAIENgIIC0EAIQRBACEJIAMoAhBFDQAMCgsgAygCHCgCJCEGIAMgAygCGCIBQQFqNgIYIAEgBmotAAAhASADIARBAWo2AhAgAygCBCAEaiABOgAAIAEEQCADKAIQIQQMAQsLIAMoAhwoAixFDQAgAygCECIGIAlNDQAgBQJ/IAUoAjAhBEEAIAMoAgQgCWoiAUUNABogBCABIAYgCWtB1IABKAIAEQAACzYCMAsgA0HnADYCIAsCQCADKAIcKAIsBEAgAygCDCADKAIQIgFBAmpJBH8gBRAKIAMoAhANAkEABSABCyADKAIEaiAFKAIwOwAAIAMgAygCEEECajYCECADQaABakHkgAEoAgARAQAaCyADQfEANgIgIAUQCiADKAIQRQ0BDAcLDAYLIAUoAgQNAQsgAygCPA0AIApFDQEgAygCIEGaBUYNAQsCfyADKAKIASIBRQRAIAMgChCFAQwBCwJAAkACQCADKAKMAUECaw4CAAECCwJ/AkADQAJAAkAgAygCPA0AIAMQLyADKAI8DQAgCg0BQQAMBAsgAygCSCADKAJoai0AACEEIAMgAygC8C0iAUEBajYC8C0gASADKALsLWpBADoAACADIAMoAvAtIgFBAWo2AvAtIAEgAygC7C1qQQA6AAAgAyADKALwLSIBQQFqNgLwLSABIAMoAuwtaiAEOgAAIAMgBEECdGoiASABLwHkAUEBajsB5AEgAyADKAI8QQFrNgI8IAMgAygCaEEBaiIBNgJoIAMoAvAtIAMoAvQtRw0BQQAhBCADIAMoAlgiBkEATgR/IAMoAkggBmoFQQALIAEgBmtBABAPIAMgAygCaDYCWCADKAIAEAogAygCACgCEA0BDAILCyADQQA2AoQuIApBBEYEQCADIAMoAlgiAUEATgR/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nRqQdgTaiIBIAEvAQBBAWo7AQAgAyADKAI8IARrNgI8IAMgAygCaCAEaiIENgJoCyADKALwLSADKAL0LUcNAUEAIQggAyADKAJYIgFBAE4EfyADKAJIIAFqBUEACyAEIAFrQQAQDyADIAMoAmg2AlggAygCABAKIAMoAgAoAhANAQwCCwsgA0EANgKELiAKQQRGBEAgAyADKAJYIgFBAE4EfyADKAJIIAFqBUEACyADKAJoIAFrQQEQDyADIAMoAmg2AlggAygCABAKQQNBAiADKAIAKAIQGwwCCyADKALwLQRAQQAhCCADIAMoAlgiAUEATgR/IAMoAkggAWoFQQALIAMoAmggAWtBABAPIAMgAygCaDYCWCADKAIAEAogAygCACgCEEUNAQtBASEICyAICwwBCyADIAogAUEMbEG42ABqKAIAEQIACyIBQX5xQQJGBEAgA0GaBTYCIAsgAUF9cUUEQEEAIQQgBSgCEA0CDAQLIAFBAUcNAAJAAkACQCAKQQFrDgUAAQEBAgELIAMpA5guISICfwJ+IAMoAqAuIgFBA2oiCUE/TQRAQgIgAa2GICKEDAELIAFBwABGBEAgAygCBCADKAIQaiAiNwAAIAMgAygCEEEIajYCEEICISJBCgwCCyADKAIEIAMoAhBqQgIgAa2GICKENwAAIAMgAygCEEEIajYCECABQT1rIQlCAkHAACABa62ICyEiIAlBB2ogCUE5SQ0AGiADKAIEIAMoAhBqICI3AAAgAyADKAIQQQhqNgIQQgAhIiAJQTlrCyEBIAMgIjcDmC4gAyABNgKgLiADEDAMAQsgA0EAQQBBABA5IApBA0cNACADKAJQQQBBgIAIEBkgAygCPA0AIANBADYChC4gA0EANgJYIANBADYCaAsgBRAKIAUoAhANAAwDC0EAIQQgCkEERw0AAkACfwJAAkAgAygCFEEBaw4CAQADCyAFIANBoAFqQeCAASgCABEBACIBNgIwIAMoAgQgAygCEGogATYAACADIAMoAhBBBGoiATYCECADKAIEIAFqIQQgBSgCCAwBCyADKAIEIAMoAhBqIQQgBSgCMCIBQRh0IAFBCHRBgID8B3FyIAFBCHZBgP4DcSABQR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2AkwgA0EAIAEoAjBBAXQQGSACKAIgIAIoAihBgIAEQQIQKCEDIAFBgIACNgLoLSABQQA2AkAgASADNgJQIAEgAigCICACKAIoQYCAAkEEECgiAzYCBCABIAEoAugtIgRBAnQ2AgwCQAJAIAEoAkhFDQAgASgCTEUNACABKAJQRQ0AIAMNAQsgAUGaBTYCICACQejAACgCADYCGCACEIQBGkF8DAILIAFBADYCjAEgASAFNgKIASABQgA3AyggASADIARqNgLsLSABIARBA2xBA2s2AvQtQX4hAwJAIAJFDQAgAigCIEUNACACKAIkRQ0AIAIoAhwiAUUNACABKAIAIAJHDQACQAJAIAEoAiAiBEE5aw45AQICAgICAgICAgICAQICAgECAgICAgICAgICAgICAgICAgECAgICAgICAgICAgECAgICAgICAgIBAAsgBEGaBUYNACAEQSpHDQELIAJBAjYCLCACQQA2AgggAkIANwIUIAFBADYCECABIAEoAgQ2AgggASgCFCIDQX9MBEAgAUEAIANrIgM2AhQLIAFBOUEqIANBAkYbNgIgIAIgA0ECRgR/IAFBoAFqQeSAASgCABEBAAVBAQs2AjAgAUF+NgIkIAFBADYCoC4gAUIANwOYLiABQYgXakGg0wA2AgAgASABQcwVajYCgBcgAUH8FmpBjNMANgIAIAEgAUHYE2o2AvQWIAFB8BZqQfjSADYCACABIAFB5AFqNgLoFiABEIgBQQAhAwsgAw0AIAIoAhwiAiACKAIwQQF0NgJEQQAhAyACKAJQQQBBgIAIEBkgAiACKAKIASIEQQxsIgFBtNgAai8BADYClAEgAiABQbDYAGovAQA2ApABIAIgAUGy2ABqLwEANgJ4IAIgAUG22ABqLwEANgJ0QfiAASgCACEFQeyAASgCACEGQYCBASgCACEBIAJCADcCbCACQgA3AmQgAkEANgI8IAJBADYChC4gAkIANwJUIAJBKSABIARBCUYiARs2AnwgAkEqIAYgARs2AoABIAJBKyAFIAEbNgKEAQsgAwsFQXoLDAELAn9BekHrDC0AAEExRw0AGkF+IAJFDQAaIAJBADYCGCACKAIgIgNFBEAgAkEANgIoIAJBJzYC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AAAOQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAQfSCAQsCXEQAQbCDAQsQ/////////////////////w=="; + if (!isDataURI(wasmBinaryFile)) { + wasmBinaryFile = locateFile(wasmBinaryFile); + } + function getBinary(file) { + try { + if (file == wasmBinaryFile && wasmBinary) { + return new Uint8Array(wasmBinary); + } + var binary = tryParseAsDataURI(file); + if (binary) { + return binary; + } + if (readBinary) { + return readBinary(file); + } else { + throw "sync fetching of the wasm failed: you can preload it to Module['wasmBinary'] manually, or emcc.py will do that for you when generating HTML (but not JS)"; + } + } catch (err2) { + abort(err2); + } + } + function instantiateSync(file, info) { + var instance; + var module2; + var binary; + try { + binary = getBinary(file); + module2 = new WebAssembly.Module(binary); + instance = new WebAssembly.Instance(module2, info); + } catch (e) { + var str = e.toString(); + err("failed to compile wasm module: " + str); + if (str.includes("imported Memory") || str.includes("memory import")) { + err( + "Memory size incompatibility issues may be due to changing INITIAL_MEMORY at runtime to something too large. Use ALLOW_MEMORY_GROWTH to allow any size memory (and also make sure not to set INITIAL_MEMORY at runtime to something smaller than it was at compile time)." + ); + } + throw e; + } + return [instance, module2]; + } + function createWasm() { + var info = { a: asmLibraryArg }; + function receiveInstance(instance, module2) { + var exports3 = instance.exports; + Module["asm"] = exports3; + wasmMemory = Module["asm"]["g"]; + updateGlobalBufferAndViews(wasmMemory.buffer); + wasmTable = Module["asm"]["W"]; + addOnInit(Module["asm"]["h"]); + removeRunDependency(); + } + addRunDependency(); + if (Module["instantiateWasm"]) { + try { + var exports2 = Module["instantiateWasm"](info, receiveInstance); + return exports2; + } catch (e) { + err("Module.instantiateWasm callback failed with error: " + e); + return false; + } + } + var result = instantiateSync(wasmBinaryFile, info); + receiveInstance(result[0]); + return Module["asm"]; + } + function LE_HEAP_LOAD_F32(byteOffset) { + return HEAP_DATA_VIEW.getFloat32(byteOffset, true); + } + function LE_HEAP_LOAD_F64(byteOffset) { + return HEAP_DATA_VIEW.getFloat64(byteOffset, true); + } + function LE_HEAP_LOAD_I16(byteOffset) { + return HEAP_DATA_VIEW.getInt16(byteOffset, true); + } + function LE_HEAP_LOAD_I32(byteOffset) { + return HEAP_DATA_VIEW.getInt32(byteOffset, true); + } + function LE_HEAP_STORE_I32(byteOffset, value) { + HEAP_DATA_VIEW.setInt32(byteOffset, value, true); + } + function callRuntimeCallbacks(callbacks) { + while (callbacks.length > 0) { + var callback = callbacks.shift(); + if (typeof callback == "function") { + callback(Module); + continue; + } + var func = callback.func; + if (typeof func === "number") { + if (callback.arg === void 0) { + wasmTable.get(func)(); + } else { + wasmTable.get(func)(callback.arg); + } + } else { + func(callback.arg === void 0 ? null : callback.arg); + } + } + } + function _gmtime_r(time, tmPtr) { + var date = new Date(LE_HEAP_LOAD_I32((time >> 2) * 4) * 1e3); + LE_HEAP_STORE_I32((tmPtr >> 2) * 4, date.getUTCSeconds()); + LE_HEAP_STORE_I32((tmPtr + 4 >> 2) * 4, date.getUTCMinutes()); + LE_HEAP_STORE_I32((tmPtr + 8 >> 2) * 4, date.getUTCHours()); + LE_HEAP_STORE_I32((tmPtr + 12 >> 2) * 4, date.getUTCDate()); + LE_HEAP_STORE_I32((tmPtr + 16 >> 2) * 4, date.getUTCMonth()); + LE_HEAP_STORE_I32((tmPtr + 20 >> 2) * 4, date.getUTCFullYear() - 1900); + LE_HEAP_STORE_I32((tmPtr + 24 >> 2) * 4, date.getUTCDay()); + LE_HEAP_STORE_I32((tmPtr + 36 >> 2) * 4, 0); + LE_HEAP_STORE_I32((tmPtr + 32 >> 2) * 4, 0); + var start = Date.UTC(date.getUTCFullYear(), 0, 1, 0, 0, 0, 0); + var yday = (date.getTime() - start) / (1e3 * 60 * 60 * 24) | 0; + LE_HEAP_STORE_I32((tmPtr + 28 >> 2) * 4, yday); + if (!_gmtime_r.GMTString) + _gmtime_r.GMTString = allocateUTF8("GMT"); + LE_HEAP_STORE_I32((tmPtr + 40 >> 2) * 4, _gmtime_r.GMTString); + return tmPtr; + } + function ___gmtime_r(a0, a1) { + return _gmtime_r(a0, a1); + } + function _emscripten_memcpy_big(dest, src, num) { + HEAPU8.copyWithin(dest, src, src + num); + } + function emscripten_realloc_buffer(size) { + try { + wasmMemory.grow(size - buffer.byteLength + 65535 >>> 16); + updateGlobalBufferAndViews(wasmMemory.buffer); + return 1; + } catch (e) { + } + } + function _emscripten_resize_heap(requestedSize) { + var oldSize = HEAPU8.length; + requestedSize = requestedSize >>> 0; + var maxHeapSize = 2147483648; + if (requestedSize > maxHeapSize) { + return false; + } + for (var cutDown = 1; cutDown <= 4; cutDown *= 2) { + var overGrownHeapSize = oldSize * (1 + 0.2 / cutDown); + overGrownHeapSize = Math.min( + overGrownHeapSize, + requestedSize + 100663296 + ); + var newSize = Math.min( + maxHeapSize, + alignUp(Math.max(requestedSize, overGrownHeapSize), 65536) + ); + var replacement = emscripten_realloc_buffer(newSize); + if (replacement) { + return true; + } + } + return false; + } + function _setTempRet0(val) { + } + function _time(ptr) { + var ret = Date.now() / 1e3 | 0; + if (ptr) { + LE_HEAP_STORE_I32((ptr >> 2) * 4, ret); + } + return ret; + } + function _tzset() { + if (_tzset.called) + return; + _tzset.called = true; + var currentYear = new Date().getFullYear(); + var winter = new Date(currentYear, 0, 1); + var summer = new Date(currentYear, 6, 1); + var winterOffset = winter.getTimezoneOffset(); + var summerOffset = summer.getTimezoneOffset(); + var stdTimezoneOffset = Math.max(winterOffset, summerOffset); + LE_HEAP_STORE_I32((__get_timezone() >> 2) * 4, stdTimezoneOffset * 60); + LE_HEAP_STORE_I32( + (__get_daylight() >> 2) * 4, + Number(winterOffset != summerOffset) + ); + function extractZone(date) { + var match = date.toTimeString().match(/\(([A-Za-z ]+)\)$/); + return match ? match[1] : "GMT"; + } + var winterName = extractZone(winter); + var summerName = extractZone(summer); + var winterNamePtr = allocateUTF8(winterName); + var summerNamePtr = allocateUTF8(summerName); + if (summerOffset < winterOffset) { + LE_HEAP_STORE_I32((__get_tzname() >> 2) * 4, winterNamePtr); + LE_HEAP_STORE_I32((__get_tzname() + 4 >> 2) * 4, summerNamePtr); + } else { + LE_HEAP_STORE_I32((__get_tzname() >> 2) * 4, summerNamePtr); + LE_HEAP_STORE_I32((__get_tzname() + 4 >> 2) * 4, winterNamePtr); + } + } + function _timegm(tmPtr) { + _tzset(); + var time = Date.UTC( + LE_HEAP_LOAD_I32((tmPtr + 20 >> 2) * 4) + 1900, + LE_HEAP_LOAD_I32((tmPtr + 16 >> 2) * 4), + LE_HEAP_LOAD_I32((tmPtr + 12 >> 2) * 4), + LE_HEAP_LOAD_I32((tmPtr + 8 >> 2) * 4), + LE_HEAP_LOAD_I32((tmPtr + 4 >> 2) * 4), + LE_HEAP_LOAD_I32((tmPtr >> 2) * 4), + 0 + ); + var date = new Date(time); + LE_HEAP_STORE_I32((tmPtr + 24 >> 2) * 4, date.getUTCDay()); + var start = Date.UTC(date.getUTCFullYear(), 0, 1, 0, 0, 0, 0); + var yday = (date.getTime() - start) / (1e3 * 60 * 60 * 24) | 0; + LE_HEAP_STORE_I32((tmPtr + 28 >> 2) * 4, yday); + return date.getTime() / 1e3 | 0; + } + function intArrayFromBase64(s) { + { + var buf; + try { + buf = Buffer.from(s, "base64"); + } catch (_) { + buf = new Buffer(s, "base64"); + } + return new Uint8Array( + buf["buffer"], + buf["byteOffset"], + buf["byteLength"] + ); + } + } + function tryParseAsDataURI(filename) { + if (!isDataURI(filename)) { + return; + } + return intArrayFromBase64(filename.slice(dataURIPrefix.length)); + } + var asmLibraryArg = { + e: ___gmtime_r, + c: _emscripten_memcpy_big, + d: _emscripten_resize_heap, + a: _setTempRet0, + b: _time, + f: _timegm + }; + var asm = createWasm(); + Module["___wasm_call_ctors"] = asm["h"]; + Module["_zip_ext_count_symlinks"] = asm["i"]; + Module["_zip_file_get_external_attributes"] = asm["j"]; + Module["_zipstruct_statS"] = asm["k"]; + Module["_zipstruct_stat_size"] = asm["l"]; + Module["_zipstruct_stat_mtime"] = asm["m"]; + Module["_zipstruct_stat_crc"] = asm["n"]; + Module["_zipstruct_errorS"] = asm["o"]; + Module["_zipstruct_error_code_zip"] = asm["p"]; + Module["_zipstruct_stat_comp_size"] = asm["q"]; + Module["_zipstruct_stat_comp_method"] = asm["r"]; + Module["_zip_close"] = asm["s"]; + Module["_zip_delete"] = asm["t"]; + Module["_zip_dir_add"] = asm["u"]; + Module["_zip_discard"] = asm["v"]; + Module["_zip_error_init_with_code"] = asm["w"]; + Module["_zip_get_error"] = asm["x"]; + Module["_zip_file_get_error"] = asm["y"]; + Module["_zip_error_strerror"] = asm["z"]; + Module["_zip_fclose"] = asm["A"]; + Module["_zip_file_add"] = asm["B"]; + Module["_free"] = asm["C"]; + var _malloc = Module["_malloc"] = asm["D"]; + Module["_zip_source_error"] = asm["E"]; + Module["_zip_source_seek"] = asm["F"]; + Module["_zip_file_set_external_attributes"] = asm["G"]; + Module["_zip_file_set_mtime"] = asm["H"]; + Module["_zip_fopen_index"] = asm["I"]; + Module["_zip_fread"] = asm["J"]; + Module["_zip_get_name"] = asm["K"]; + Module["_zip_get_num_entries"] = asm["L"]; + Module["_zip_source_read"] = asm["M"]; + Module["_zip_name_locate"] = asm["N"]; + Module["_zip_open_from_source"] = asm["O"]; + Module["_zip_set_file_compression"] = asm["P"]; + Module["_zip_source_buffer"] = asm["Q"]; + Module["_zip_source_buffer_create"] = asm["R"]; + Module["_zip_source_close"] = asm["S"]; + Module["_zip_source_free"] = asm["T"]; + Module["_zip_source_keep"] = asm["U"]; + Module["_zip_source_open"] = asm["V"]; + Module["_zip_source_tell"] = asm["X"]; + Module["_zip_stat_index"] = asm["Y"]; + var __get_tzname = Module["__get_tzname"] = asm["Z"]; + var __get_daylight = Module["__get_daylight"] = asm["_"]; + var __get_timezone = Module["__get_timezone"] = asm["$"]; + var stackSave = Module["stackSave"] = asm["aa"]; + var stackRestore = Module["stackRestore"] = asm["ba"]; + var stackAlloc = Module["stackAlloc"] = asm["ca"]; + Module["cwrap"] = cwrap; + Module["getValue"] = getValue; + var calledRun; + dependenciesFulfilled = function runCaller() { + if (!calledRun) + run(); + if (!calledRun) + dependenciesFulfilled = runCaller; + }; + function run(args) { + if (runDependencies > 0) { + return; + } + preRun(); + if (runDependencies > 0) { + return; + } + function doRun() { + if (calledRun) + return; + calledRun = true; + Module["calledRun"] = true; + if (ABORT) + return; + initRuntime(); + readyPromiseResolve(Module); + if (Module["onRuntimeInitialized"]) + Module["onRuntimeInitialized"](); + postRun(); + } + if (Module["setStatus"]) { + Module["setStatus"]("Running..."); + setTimeout(function() { + setTimeout(function() { + Module["setStatus"](""); + }, 1); + doRun(); + }, 1); + } else { + doRun(); + } + } + Module["run"] = run; + if (Module["preInit"]) { + if (typeof Module["preInit"] == "function") + Module["preInit"] = [Module["preInit"]]; + while (Module["preInit"].length > 0) { + Module["preInit"].pop()(); + } + } + run(); + return createModule2; + }; +}(); +module.exports = createModule; +}(libzipSync)); + +const createModule = libzipSync.exports; + +const number64 = [ + `number`, + `number` +]; +var Errors = /* @__PURE__ */ ((Errors2) => { + Errors2[Errors2["ZIP_ER_OK"] = 0] = "ZIP_ER_OK"; + Errors2[Errors2["ZIP_ER_MULTIDISK"] = 1] = "ZIP_ER_MULTIDISK"; + Errors2[Errors2["ZIP_ER_RENAME"] = 2] = "ZIP_ER_RENAME"; + Errors2[Errors2["ZIP_ER_CLOSE"] = 3] = "ZIP_ER_CLOSE"; + Errors2[Errors2["ZIP_ER_SEEK"] = 4] = "ZIP_ER_SEEK"; + Errors2[Errors2["ZIP_ER_READ"] = 5] = "ZIP_ER_READ"; + Errors2[Errors2["ZIP_ER_WRITE"] = 6] = "ZIP_ER_WRITE"; + Errors2[Errors2["ZIP_ER_CRC"] = 7] = "ZIP_ER_CRC"; + Errors2[Errors2["ZIP_ER_ZIPCLOSED"] = 8] = "ZIP_ER_ZIPCLOSED"; + Errors2[Errors2["ZIP_ER_NOENT"] = 9] = "ZIP_ER_NOENT"; + Errors2[Errors2["ZIP_ER_EXISTS"] = 10] = "ZIP_ER_EXISTS"; + Errors2[Errors2["ZIP_ER_OPEN"] = 11] = "ZIP_ER_OPEN"; + Errors2[Errors2["ZIP_ER_TMPOPEN"] = 12] = "ZIP_ER_TMPOPEN"; + Errors2[Errors2["ZIP_ER_ZLIB"] = 13] = "ZIP_ER_ZLIB"; + Errors2[Errors2["ZIP_ER_MEMORY"] = 14] = "ZIP_ER_MEMORY"; + Errors2[Errors2["ZIP_ER_CHANGED"] = 15] = "ZIP_ER_CHANGED"; + Errors2[Errors2["ZIP_ER_COMPNOTSUPP"] = 16] = "ZIP_ER_COMPNOTSUPP"; + Errors2[Errors2["ZIP_ER_EOF"] = 17] = "ZIP_ER_EOF"; + Errors2[Errors2["ZIP_ER_INVAL"] = 18] = "ZIP_ER_INVAL"; + Errors2[Errors2["ZIP_ER_NOZIP"] = 19] = "ZIP_ER_NOZIP"; + Errors2[Errors2["ZIP_ER_INTERNAL"] = 20] = "ZIP_ER_INTERNAL"; + Errors2[Errors2["ZIP_ER_INCONS"] = 21] = "ZIP_ER_INCONS"; + Errors2[Errors2["ZIP_ER_REMOVE"] = 22] = "ZIP_ER_REMOVE"; + Errors2[Errors2["ZIP_ER_DELETED"] = 23] = "ZIP_ER_DELETED"; + Errors2[Errors2["ZIP_ER_ENCRNOTSUPP"] = 24] = "ZIP_ER_ENCRNOTSUPP"; + Errors2[Errors2["ZIP_ER_RDONLY"] = 25] = "ZIP_ER_RDONLY"; + Errors2[Errors2["ZIP_ER_NOPASSWD"] = 26] = "ZIP_ER_NOPASSWD"; + Errors2[Errors2["ZIP_ER_WRONGPASSWD"] = 27] = "ZIP_ER_WRONGPASSWD"; + Errors2[Errors2["ZIP_ER_OPNOTSUPP"] = 28] = "ZIP_ER_OPNOTSUPP"; + Errors2[Errors2["ZIP_ER_INUSE"] = 29] = "ZIP_ER_INUSE"; + Errors2[Errors2["ZIP_ER_TELL"] = 30] = "ZIP_ER_TELL"; + Errors2[Errors2["ZIP_ER_COMPRESSED_DATA"] = 31] = "ZIP_ER_COMPRESSED_DATA"; + return Errors2; +})(Errors || {}); +const makeInterface = (emZip) => ({ + get HEAPU8() { + return emZip.HEAPU8; + }, + errors: Errors, + SEEK_SET: 0, + SEEK_CUR: 1, + SEEK_END: 2, + ZIP_CHECKCONS: 4, + ZIP_EXCL: 2, + ZIP_RDONLY: 16, + ZIP_FL_OVERWRITE: 8192, + ZIP_FL_COMPRESSED: 4, + ZIP_OPSYS_DOS: 0, + ZIP_OPSYS_AMIGA: 1, + ZIP_OPSYS_OPENVMS: 2, + ZIP_OPSYS_UNIX: 3, + ZIP_OPSYS_VM_CMS: 4, + ZIP_OPSYS_ATARI_ST: 5, + ZIP_OPSYS_OS_2: 6, + ZIP_OPSYS_MACINTOSH: 7, + ZIP_OPSYS_Z_SYSTEM: 8, + ZIP_OPSYS_CPM: 9, + ZIP_OPSYS_WINDOWS_NTFS: 10, + ZIP_OPSYS_MVS: 11, + ZIP_OPSYS_VSE: 12, + ZIP_OPSYS_ACORN_RISC: 13, + ZIP_OPSYS_VFAT: 14, + ZIP_OPSYS_ALTERNATE_MVS: 15, + ZIP_OPSYS_BEOS: 16, + ZIP_OPSYS_TANDEM: 17, + ZIP_OPSYS_OS_400: 18, + ZIP_OPSYS_OS_X: 19, + ZIP_CM_DEFAULT: -1, + ZIP_CM_STORE: 0, + ZIP_CM_DEFLATE: 8, + uint08S: emZip._malloc(1), + uint32S: emZip._malloc(4), + malloc: emZip._malloc, + free: emZip._free, + getValue: emZip.getValue, + openFromSource: emZip.cwrap(`zip_open_from_source`, `number`, [`number`, `number`, `number`]), + close: emZip.cwrap(`zip_close`, `number`, [`number`]), + discard: emZip.cwrap(`zip_discard`, null, [`number`]), + getError: emZip.cwrap(`zip_get_error`, `number`, [`number`]), + getName: emZip.cwrap(`zip_get_name`, `string`, [`number`, `number`, `number`]), + getNumEntries: emZip.cwrap(`zip_get_num_entries`, `number`, [`number`, `number`]), + delete: emZip.cwrap(`zip_delete`, `number`, [`number`, `number`]), + statIndex: emZip.cwrap(`zip_stat_index`, `number`, [`number`, ...number64, `number`, `number`]), + fopenIndex: emZip.cwrap(`zip_fopen_index`, `number`, [`number`, ...number64, `number`]), + fread: emZip.cwrap(`zip_fread`, `number`, [`number`, `number`, `number`, `number`]), + fclose: emZip.cwrap(`zip_fclose`, `number`, [`number`]), + dir: { + add: emZip.cwrap(`zip_dir_add`, `number`, [`number`, `string`]) + }, + file: { + add: emZip.cwrap(`zip_file_add`, `number`, [`number`, `string`, `number`, `number`]), + getError: emZip.cwrap(`zip_file_get_error`, `number`, [`number`]), + getExternalAttributes: emZip.cwrap(`zip_file_get_external_attributes`, `number`, [`number`, ...number64, `number`, `number`, `number`]), + setExternalAttributes: emZip.cwrap(`zip_file_set_external_attributes`, `number`, [`number`, ...number64, `number`, `number`, `number`]), + setMtime: emZip.cwrap(`zip_file_set_mtime`, `number`, [`number`, ...number64, `number`, `number`]), + setCompression: emZip.cwrap(`zip_set_file_compression`, `number`, [`number`, ...number64, `number`, `number`]) + }, + ext: { + countSymlinks: emZip.cwrap(`zip_ext_count_symlinks`, `number`, [`number`]) + }, + error: { + initWithCode: emZip.cwrap(`zip_error_init_with_code`, null, [`number`, `number`]), + strerror: emZip.cwrap(`zip_error_strerror`, `string`, [`number`]) + }, + name: { + locate: emZip.cwrap(`zip_name_locate`, `number`, [`number`, `string`, `number`]) + }, + source: { + fromUnattachedBuffer: emZip.cwrap(`zip_source_buffer_create`, `number`, [`number`, ...number64, `number`, `number`]), + fromBuffer: emZip.cwrap(`zip_source_buffer`, `number`, [`number`, `number`, ...number64, `number`]), + free: emZip.cwrap(`zip_source_free`, null, [`number`]), + keep: emZip.cwrap(`zip_source_keep`, null, [`number`]), + open: emZip.cwrap(`zip_source_open`, `number`, [`number`]), + close: emZip.cwrap(`zip_source_close`, `number`, [`number`]), + seek: emZip.cwrap(`zip_source_seek`, `number`, [`number`, ...number64, `number`]), + tell: emZip.cwrap(`zip_source_tell`, `number`, [`number`]), + read: emZip.cwrap(`zip_source_read`, `number`, [`number`, `number`, `number`]), + error: emZip.cwrap(`zip_source_error`, `number`, [`number`]) + }, + struct: { + statS: emZip.cwrap(`zipstruct_statS`, `number`, []), + statSize: emZip.cwrap(`zipstruct_stat_size`, `number`, [`number`]), + statCompSize: emZip.cwrap(`zipstruct_stat_comp_size`, `number`, [`number`]), + statCompMethod: emZip.cwrap(`zipstruct_stat_comp_method`, `number`, [`number`]), + statMtime: emZip.cwrap(`zipstruct_stat_mtime`, `number`, [`number`]), + statCrc: emZip.cwrap(`zipstruct_stat_crc`, `number`, [`number`]), + errorS: emZip.cwrap(`zipstruct_errorS`, `number`, []), + errorCodeZip: emZip.cwrap(`zipstruct_error_code_zip`, `number`, [`number`]) + } +}); + +function getArchivePart(path, extension) { + let idx = path.indexOf(extension); + if (idx <= 0) + return null; + let nextCharIdx = idx; + while (idx >= 0) { + nextCharIdx = idx + extension.length; + if (path[nextCharIdx] === ppath.sep) + break; + if (path[idx - 1] === ppath.sep) + return null; + idx = path.indexOf(extension, nextCharIdx); + } + if (path.length > nextCharIdx && path[nextCharIdx] !== ppath.sep) + return null; + return path.slice(0, nextCharIdx); +} +class ZipOpenFS extends MountFS { + static async openPromise(fn, opts) { + const zipOpenFs = new ZipOpenFS(opts); + try { + return await fn(zipOpenFs); + } finally { + zipOpenFs.saveAndClose(); + } + } + constructor(opts = {}) { + const fileExtensions = opts.fileExtensions; + const readOnlyArchives = opts.readOnlyArchives; + const getMountPoint = typeof fileExtensions === `undefined` ? (path) => getArchivePart(path, `.zip`) : (path) => { + for (const extension of fileExtensions) { + const result = getArchivePart(path, extension); + if (result) { + return result; + } + } + return null; + }; + const factorySync = (baseFs, p) => { + return new ZipFS(p, { + baseFs, + readOnly: readOnlyArchives, + stats: baseFs.statSync(p) + }); + }; + const factoryPromise = async (baseFs, p) => { + const zipOptions = { + baseFs, + readOnly: readOnlyArchives, + stats: await baseFs.statPromise(p) + }; + return () => { + return new ZipFS(p, zipOptions); + }; + }; + super({ + ...opts, + factorySync, + factoryPromise, + getMountPoint + }); + } +} + +const DEFAULT_COMPRESSION_LEVEL = `mixed`; +function toUnixTimestamp(time) { + if (typeof time === `string` && String(+time) === time) + return +time; + if (typeof time === `number` && Number.isFinite(time)) { + if (time < 0) { + return Date.now() / 1e3; + } else { + return time; + } + } + if (nodeUtils.types.isDate(time)) + return time.getTime() / 1e3; + throw new Error(`Invalid time`); +} +function makeEmptyArchive() { + return Buffer.from([ + 80, + 75, + 5, + 6, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ]); +} +class LibzipError extends Error { + constructor(message, code) { + super(message); + this.name = `Libzip Error`; + this.code = code; + } +} +class ZipFS extends BasePortableFakeFS { + constructor(source, opts = {}) { + super(); + this.listings = /* @__PURE__ */ new Map(); + this.entries = /* @__PURE__ */ new Map(); + this.fileSources = /* @__PURE__ */ new Map(); + this.fds = /* @__PURE__ */ new Map(); + this.nextFd = 0; + this.ready = false; + this.readOnly = false; + const pathOptions = opts; + this.level = typeof pathOptions.level !== `undefined` ? pathOptions.level : DEFAULT_COMPRESSION_LEVEL; + source ??= makeEmptyArchive(); + if (typeof source === `string`) { + const { baseFs = new NodeFS() } = pathOptions; + this.baseFs = baseFs; + this.path = source; + } else { + this.path = null; + this.baseFs = null; + } + if (opts.stats) { + this.stats = opts.stats; + } else { + if (typeof source === `string`) { + try { + this.stats = this.baseFs.statSync(source); + } catch (error) { + if (error.code === `ENOENT` && pathOptions.create) { + this.stats = makeDefaultStats(); + } else { + throw error; + } + } + } else { + this.stats = makeDefaultStats(); + } + } + this.libzip = getInstance(); + const errPtr = this.libzip.malloc(4); + try { + let flags = 0; + if (opts.readOnly) { + flags |= this.libzip.ZIP_RDONLY; + this.readOnly = true; + } + if (typeof source === `string`) + source = pathOptions.create ? makeEmptyArchive() : this.baseFs.readFileSync(source); + const lzSource = this.allocateUnattachedSource(source); + try { + this.zip = this.libzip.openFromSource(lzSource, flags, errPtr); + this.lzSource = lzSource; + } catch (error) { + this.libzip.source.free(lzSource); + throw error; + } + if (this.zip === 0) { + const error = this.libzip.struct.errorS(); + this.libzip.error.initWithCode(error, this.libzip.getValue(errPtr, `i32`)); + throw this.makeLibzipError(error); + } + } finally { + this.libzip.free(errPtr); + } + this.listings.set(PortablePath.root, /* @__PURE__ */ new Set()); + const entryCount = this.libzip.getNumEntries(this.zip, 0); + for (let t = 0; t < entryCount; ++t) { + const raw = this.libzip.getName(this.zip, t, 0); + if (ppath.isAbsolute(raw)) + continue; + const p = ppath.resolve(PortablePath.root, raw); + this.registerEntry(p, t); + if (raw.endsWith(`/`)) { + this.registerListing(p); + } + } + this.symlinkCount = this.libzip.ext.countSymlinks(this.zip); + if (this.symlinkCount === -1) + throw this.makeLibzipError(this.libzip.getError(this.zip)); + this.ready = true; + } + makeLibzipError(error) { + const errorCode = this.libzip.struct.errorCodeZip(error); + const strerror = this.libzip.error.strerror(error); + const libzipError = new LibzipError(strerror, this.libzip.errors[errorCode]); + if (errorCode === this.libzip.errors.ZIP_ER_CHANGED) + throw new Error(`Assertion failed: Unexpected libzip error: ${libzipError.message}`); + return libzipError; + } + getExtractHint(hints) { + for (const fileName of this.entries.keys()) { + const ext = this.pathUtils.extname(fileName); + if (hints.relevantExtensions.has(ext)) { + return true; + } + } + return false; + } + getAllFiles() { + return Array.from(this.entries.keys()); + } + getRealPath() { + if (!this.path) + throw new Error(`ZipFS don't have real paths when loaded from a buffer`); + return this.path; + } + prepareClose() { + if (!this.ready) + throw EBUSY(`archive closed, close`); + unwatchAllFiles(this); + } + getBufferAndClose() { + this.prepareClose(); + if (this.entries.size === 0) { + this.discardAndClose(); + return makeEmptyArchive(); + } + try { + this.libzip.source.keep(this.lzSource); + if (this.libzip.close(this.zip) === -1) + throw this.makeLibzipError(this.libzip.getError(this.zip)); + if (this.libzip.source.open(this.lzSource) === -1) + throw this.makeLibzipError(this.libzip.source.error(this.lzSource)); + if (this.libzip.source.seek(this.lzSource, 0, 0, this.libzip.SEEK_END) === -1) + throw this.makeLibzipError(this.libzip.source.error(this.lzSource)); + const size = this.libzip.source.tell(this.lzSource); + if (size === -1) + throw this.makeLibzipError(this.libzip.source.error(this.lzSource)); + if (this.libzip.source.seek(this.lzSource, 0, 0, this.libzip.SEEK_SET) === -1) + throw this.makeLibzipError(this.libzip.source.error(this.lzSource)); + const buffer = this.libzip.malloc(size); + if (!buffer) + throw new Error(`Couldn't allocate enough memory`); + try { + const rc = this.libzip.source.read(this.lzSource, buffer, size); + if (rc === -1) + throw this.makeLibzipError(this.libzip.source.error(this.lzSource)); + else if (rc < size) + throw new Error(`Incomplete read`); + else if (rc > size) + throw new Error(`Overread`); + const memory = this.libzip.HEAPU8.subarray(buffer, buffer + size); + return Buffer.from(memory); + } finally { + this.libzip.free(buffer); + } + } finally { + this.libzip.source.close(this.lzSource); + this.libzip.source.free(this.lzSource); + this.ready = false; + } + } + discardAndClose() { + this.prepareClose(); + this.libzip.discard(this.zip); + this.ready = false; + } + saveAndClose() { + if (!this.path || !this.baseFs) + throw new Error(`ZipFS cannot be saved and must be discarded when loaded from a buffer`); + if (this.readOnly) { + this.discardAndClose(); + return; + } + const newMode = this.baseFs.existsSync(this.path) || this.stats.mode === DEFAULT_MODE ? void 0 : this.stats.mode; + this.baseFs.writeFileSync(this.path, this.getBufferAndClose(), { mode: newMode }); + this.ready = false; + } + resolve(p) { + return ppath.resolve(PortablePath.root, p); + } + async openPromise(p, flags, mode) { + return this.openSync(p, flags, mode); + } + openSync(p, flags, mode) { + const fd = this.nextFd++; + this.fds.set(fd, { cursor: 0, p }); + return fd; + } + hasOpenFileHandles() { + return !!this.fds.size; + } + async opendirPromise(p, opts) { + return this.opendirSync(p, opts); + } + opendirSync(p, opts = {}) { + const resolvedP = this.resolveFilename(`opendir '${p}'`, p); + if (!this.entries.has(resolvedP) && !this.listings.has(resolvedP)) + throw ENOENT(`opendir '${p}'`); + const directoryListing = this.listings.get(resolvedP); + if (!directoryListing) + throw ENOTDIR(`opendir '${p}'`); + const entries = [...directoryListing]; + const fd = this.openSync(resolvedP, `r`); + const onClose = () => { + this.closeSync(fd); + }; + return opendir(this, resolvedP, entries, { onClose }); + } + async readPromise(fd, buffer, offset, length, position) { + return this.readSync(fd, buffer, offset, length, position); + } + readSync(fd, buffer, offset = 0, length = buffer.byteLength, position = -1) { + const entry = this.fds.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`read`); + const realPosition = position === -1 || position === null ? entry.cursor : position; + const source = this.readFileSync(entry.p); + source.copy(buffer, offset, realPosition, realPosition + length); + const bytesRead = Math.max(0, Math.min(source.length - realPosition, length)); + if (position === -1 || position === null) + entry.cursor += bytesRead; + return bytesRead; + } + async writePromise(fd, buffer, offset, length, position) { + if (typeof buffer === `string`) { + return this.writeSync(fd, buffer, position); + } else { + return this.writeSync(fd, buffer, offset, length, position); + } + } + writeSync(fd, buffer, offset, length, position) { + const entry = this.fds.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`read`); + throw new Error(`Unimplemented`); + } + async closePromise(fd) { + return this.closeSync(fd); + } + closeSync(fd) { + const entry = this.fds.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`read`); + this.fds.delete(fd); + } + createReadStream(p, { encoding } = {}) { + if (p === null) + throw new Error(`Unimplemented`); + const fd = this.openSync(p, `r`); + const stream$1 = Object.assign( + new stream.PassThrough({ + emitClose: true, + autoDestroy: true, + destroy: (error, callback) => { + clearImmediate(immediate); + this.closeSync(fd); + callback(error); + } + }), + { + close() { + stream$1.destroy(); + }, + bytesRead: 0, + path: p, + pending: false + } + ); + const immediate = setImmediate(async () => { + try { + const data = await this.readFilePromise(p, encoding); + stream$1.bytesRead = data.length; + stream$1.end(data); + } catch (error) { + stream$1.destroy(error); + } + }); + return stream$1; + } + createWriteStream(p, { encoding } = {}) { + if (this.readOnly) + throw EROFS(`open '${p}'`); + if (p === null) + throw new Error(`Unimplemented`); + const chunks = []; + const fd = this.openSync(p, `w`); + const stream$1 = Object.assign( + new stream.PassThrough({ + autoDestroy: true, + emitClose: true, + destroy: (error, callback) => { + try { + if (error) { + callback(error); + } else { + this.writeFileSync(p, Buffer.concat(chunks), encoding); + callback(null); + } + } catch (err) { + callback(err); + } finally { + this.closeSync(fd); + } + } + }), + { + close() { + stream$1.destroy(); + }, + bytesWritten: 0, + path: p, + pending: false + } + ); + stream$1.on(`data`, (chunk) => { + const chunkBuffer = Buffer.from(chunk); + stream$1.bytesWritten += chunkBuffer.length; + chunks.push(chunkBuffer); + }); + return stream$1; + } + async realpathPromise(p) { + return this.realpathSync(p); + } + realpathSync(p) { + const resolvedP = this.resolveFilename(`lstat '${p}'`, p); + if (!this.entries.has(resolvedP) && !this.listings.has(resolvedP)) + throw ENOENT(`lstat '${p}'`); + return resolvedP; + } + async existsPromise(p) { + return this.existsSync(p); + } + existsSync(p) { + if (!this.ready) + throw EBUSY(`archive closed, existsSync '${p}'`); + if (this.symlinkCount === 0) { + const resolvedP2 = ppath.resolve(PortablePath.root, p); + return this.entries.has(resolvedP2) || this.listings.has(resolvedP2); + } + let resolvedP; + try { + resolvedP = this.resolveFilename(`stat '${p}'`, p, void 0, false); + } catch (error) { + return false; + } + if (resolvedP === void 0) + return false; + return this.entries.has(resolvedP) || this.listings.has(resolvedP); + } + async accessPromise(p, mode) { + return this.accessSync(p, mode); + } + accessSync(p, mode = fs.constants.F_OK) { + const resolvedP = this.resolveFilename(`access '${p}'`, p); + if (!this.entries.has(resolvedP) && !this.listings.has(resolvedP)) + throw ENOENT(`access '${p}'`); + if (this.readOnly && mode & fs.constants.W_OK) { + throw EROFS(`access '${p}'`); + } + } + async statPromise(p, opts = { bigint: false }) { + if (opts.bigint) + return this.statSync(p, { bigint: true }); + return this.statSync(p); + } + statSync(p, opts = { bigint: false, throwIfNoEntry: true }) { + const resolvedP = this.resolveFilename(`stat '${p}'`, p, void 0, opts.throwIfNoEntry); + if (resolvedP === void 0) + return void 0; + if (!this.entries.has(resolvedP) && !this.listings.has(resolvedP)) { + if (opts.throwIfNoEntry === false) + return void 0; + throw ENOENT(`stat '${p}'`); + } + if (p[p.length - 1] === `/` && !this.listings.has(resolvedP)) + throw ENOTDIR(`stat '${p}'`); + return this.statImpl(`stat '${p}'`, resolvedP, opts); + } + async fstatPromise(fd, opts) { + return this.fstatSync(fd, opts); + } + fstatSync(fd, opts) { + const entry = this.fds.get(fd); + if (typeof entry === `undefined`) + throw EBADF(`fstatSync`); + const { p } = entry; + const resolvedP = this.resolveFilename(`stat '${p}'`, p); + if (!this.entries.has(resolvedP) && !this.listings.has(resolvedP)) + throw ENOENT(`stat '${p}'`); + if (p[p.length - 1] === `/` && !this.listings.has(resolvedP)) + throw ENOTDIR(`stat '${p}'`); + return this.statImpl(`fstat '${p}'`, resolvedP, opts); + } + async lstatPromise(p, opts = { bigint: false }) { + if (opts.bigint) + return this.lstatSync(p, { bigint: true }); + return this.lstatSync(p); + } + lstatSync(p, opts = { bigint: false, throwIfNoEntry: true }) { + const resolvedP = this.resolveFilename(`lstat '${p}'`, p, false, opts.throwIfNoEntry); + if (resolvedP === void 0) + return void 0; + if (!this.entries.has(resolvedP) && !this.listings.has(resolvedP)) { + if (opts.throwIfNoEntry === false) + return void 0; + throw ENOENT(`lstat '${p}'`); + } + if (p[p.length - 1] === `/` && !this.listings.has(resolvedP)) + throw ENOTDIR(`lstat '${p}'`); + return this.statImpl(`lstat '${p}'`, resolvedP, opts); + } + statImpl(reason, p, opts = {}) { + const entry = this.entries.get(p); + if (typeof entry !== `undefined`) { + const stat = this.libzip.struct.statS(); + const rc = this.libzip.statIndex(this.zip, entry, 0, 0, stat); + if (rc === -1) + throw this.makeLibzipError(this.libzip.getError(this.zip)); + const uid = this.stats.uid; + const gid = this.stats.gid; + const size = this.libzip.struct.statSize(stat) >>> 0; + const blksize = 512; + const blocks = Math.ceil(size / blksize); + const mtimeMs = (this.libzip.struct.statMtime(stat) >>> 0) * 1e3; + const atimeMs = mtimeMs; + const birthtimeMs = mtimeMs; + const ctimeMs = mtimeMs; + const atime = new Date(atimeMs); + const birthtime = new Date(birthtimeMs); + const ctime = new Date(ctimeMs); + const mtime = new Date(mtimeMs); + const type = this.listings.has(p) ? fs.constants.S_IFDIR : this.isSymbolicLink(entry) ? fs.constants.S_IFLNK : fs.constants.S_IFREG; + const defaultMode = type === fs.constants.S_IFDIR ? 493 : 420; + const mode = type | this.getUnixMode(entry, defaultMode) & 511; + const crc = this.libzip.struct.statCrc(stat); + const statInstance = Object.assign(new StatEntry(), { uid, gid, size, blksize, blocks, atime, birthtime, ctime, mtime, atimeMs, birthtimeMs, ctimeMs, mtimeMs, mode, crc }); + return opts.bigint === true ? convertToBigIntStats(statInstance) : statInstance; + } + if (this.listings.has(p)) { + const uid = this.stats.uid; + const gid = this.stats.gid; + const size = 0; + const blksize = 512; + const blocks = 0; + const atimeMs = this.stats.mtimeMs; + const birthtimeMs = this.stats.mtimeMs; + const ctimeMs = this.stats.mtimeMs; + const mtimeMs = this.stats.mtimeMs; + const atime = new Date(atimeMs); + const birthtime = new Date(birthtimeMs); + const ctime = new Date(ctimeMs); + const mtime = new Date(mtimeMs); + const mode = fs.constants.S_IFDIR | 493; + const crc = 0; + const statInstance = Object.assign(new StatEntry(), { uid, gid, size, blksize, blocks, atime, birthtime, ctime, mtime, atimeMs, birthtimeMs, ctimeMs, mtimeMs, mode, crc }); + return opts.bigint === true ? convertToBigIntStats(statInstance) : statInstance; + } + throw new Error(`Unreachable`); + } + getUnixMode(index, defaultMode) { + const rc = this.libzip.file.getExternalAttributes(this.zip, index, 0, 0, this.libzip.uint08S, this.libzip.uint32S); + if (rc === -1) + throw this.makeLibzipError(this.libzip.getError(this.zip)); + const opsys = this.libzip.getValue(this.libzip.uint08S, `i8`) >>> 0; + if (opsys !== this.libzip.ZIP_OPSYS_UNIX) + return defaultMode; + return this.libzip.getValue(this.libzip.uint32S, `i32`) >>> 16; + } + registerListing(p) { + const existingListing = this.listings.get(p); + if (existingListing) + return existingListing; + const parentListing = this.registerListing(ppath.dirname(p)); + parentListing.add(ppath.basename(p)); + const newListing = /* @__PURE__ */ new Set(); + this.listings.set(p, newListing); + return newListing; + } + registerEntry(p, index) { + const parentListing = this.registerListing(ppath.dirname(p)); + parentListing.add(ppath.basename(p)); + this.entries.set(p, index); + } + unregisterListing(p) { + this.listings.delete(p); + const parentListing = this.listings.get(ppath.dirname(p)); + parentListing?.delete(ppath.basename(p)); + } + unregisterEntry(p) { + this.unregisterListing(p); + const entry = this.entries.get(p); + this.entries.delete(p); + if (typeof entry === `undefined`) + return; + this.fileSources.delete(entry); + if (this.isSymbolicLink(entry)) { + this.symlinkCount--; + } + } + deleteEntry(p, index) { + this.unregisterEntry(p); + const rc = this.libzip.delete(this.zip, index); + if (rc === -1) { + throw this.makeLibzipError(this.libzip.getError(this.zip)); + } + } + resolveFilename(reason, p, resolveLastComponent = true, throwIfNoEntry = true) { + if (!this.ready) + throw EBUSY(`archive closed, ${reason}`); + let resolvedP = ppath.resolve(PortablePath.root, p); + if (resolvedP === `/`) + return PortablePath.root; + const fileIndex = this.entries.get(resolvedP); + if (resolveLastComponent && fileIndex !== void 0) { + if (this.symlinkCount !== 0 && this.isSymbolicLink(fileIndex)) { + const target = this.getFileSource(fileIndex).toString(); + return this.resolveFilename(reason, ppath.resolve(ppath.dirname(resolvedP), target), true, throwIfNoEntry); + } else { + return resolvedP; + } + } + while (true) { + const parentP = this.resolveFilename(reason, ppath.dirname(resolvedP), true, throwIfNoEntry); + if (parentP === void 0) + return parentP; + const isDir = this.listings.has(parentP); + const doesExist = this.entries.has(parentP); + if (!isDir && !doesExist) { + if (throwIfNoEntry === false) + return void 0; + throw ENOENT(reason); + } + if (!isDir) + throw ENOTDIR(reason); + resolvedP = ppath.resolve(parentP, ppath.basename(resolvedP)); + if (!resolveLastComponent || this.symlinkCount === 0) + break; + const index = this.libzip.name.locate(this.zip, resolvedP.slice(1), 0); + if (index === -1) + break; + if (this.isSymbolicLink(index)) { + const target = this.getFileSource(index).toString(); + resolvedP = ppath.resolve(ppath.dirname(resolvedP), target); + } else { + break; + } + } + return resolvedP; + } + allocateBuffer(content) { + if (!Buffer.isBuffer(content)) + content = Buffer.from(content); + const buffer = this.libzip.malloc(content.byteLength); + if (!buffer) + throw new Error(`Couldn't allocate enough memory`); + const heap = new Uint8Array(this.libzip.HEAPU8.buffer, buffer, content.byteLength); + heap.set(content); + return { buffer, byteLength: content.byteLength }; + } + allocateUnattachedSource(content) { + const error = this.libzip.struct.errorS(); + const { buffer, byteLength } = this.allocateBuffer(content); + const source = this.libzip.source.fromUnattachedBuffer(buffer, byteLength, 0, 1, error); + if (source === 0) { + this.libzip.free(error); + throw this.makeLibzipError(error); + } + return source; + } + allocateSource(content) { + const { buffer, byteLength } = this.allocateBuffer(content); + const source = this.libzip.source.fromBuffer(this.zip, buffer, byteLength, 0, 1); + if (source === 0) { + this.libzip.free(buffer); + throw this.makeLibzipError(this.libzip.getError(this.zip)); + } + return source; + } + setFileSource(p, content) { + const buffer = Buffer.isBuffer(content) ? content : Buffer.from(content); + const target = ppath.relative(PortablePath.root, p); + const lzSource = this.allocateSource(content); + try { + const newIndex = this.libzip.file.add(this.zip, target, lzSource, this.libzip.ZIP_FL_OVERWRITE); + if (newIndex === -1) + throw this.makeLibzipError(this.libzip.getError(this.zip)); + if (this.level !== `mixed`) { + const method = this.level === 0 ? this.libzip.ZIP_CM_STORE : this.libzip.ZIP_CM_DEFLATE; + const rc = this.libzip.file.setCompression(this.zip, newIndex, 0, method, this.level); + if (rc === -1) { + throw this.makeLibzipError(this.libzip.getError(this.zip)); + } + } + this.fileSources.set(newIndex, buffer); + return newIndex; + } catch (error) { + this.libzip.source.free(lzSource); + throw error; + } + } + isSymbolicLink(index) { + if (this.symlinkCount === 0) + return false; + const attrs = this.libzip.file.getExternalAttributes(this.zip, index, 0, 0, this.libzip.uint08S, this.libzip.uint32S); + if (attrs === -1) + throw this.makeLibzipError(this.libzip.getError(this.zip)); + const opsys = this.libzip.getValue(this.libzip.uint08S, `i8`) >>> 0; + if (opsys !== this.libzip.ZIP_OPSYS_UNIX) + return false; + const attributes = this.libzip.getValue(this.libzip.uint32S, `i32`) >>> 16; + return (attributes & fs.constants.S_IFMT) === fs.constants.S_IFLNK; + } + getFileSource(index, opts = { asyncDecompress: false }) { + const cachedFileSource = this.fileSources.get(index); + if (typeof cachedFileSource !== `undefined`) + return cachedFileSource; + const stat = this.libzip.struct.statS(); + const rc = this.libzip.statIndex(this.zip, index, 0, 0, stat); + if (rc === -1) + throw this.makeLibzipError(this.libzip.getError(this.zip)); + const size = this.libzip.struct.statCompSize(stat); + const compressionMethod = this.libzip.struct.statCompMethod(stat); + const buffer = this.libzip.malloc(size); + try { + const file = this.libzip.fopenIndex(this.zip, index, 0, this.libzip.ZIP_FL_COMPRESSED); + if (file === 0) + throw this.makeLibzipError(this.libzip.getError(this.zip)); + try { + const rc2 = this.libzip.fread(file, buffer, size, 0); + if (rc2 === -1) + throw this.makeLibzipError(this.libzip.file.getError(file)); + else if (rc2 < size) + throw new Error(`Incomplete read`); + else if (rc2 > size) + throw new Error(`Overread`); + const memory = this.libzip.HEAPU8.subarray(buffer, buffer + size); + const data = Buffer.from(memory); + if (compressionMethod === 0) { + this.fileSources.set(index, data); + return data; + } else if (opts.asyncDecompress) { + return new Promise((resolve, reject) => { + zlib__default.default.inflateRaw(data, (error, result) => { + if (error) { + reject(error); + } else { + this.fileSources.set(index, result); + resolve(result); + } + }); + }); + } else { + const decompressedData = zlib__default.default.inflateRawSync(data); + this.fileSources.set(index, decompressedData); + return decompressedData; + } + } finally { + this.libzip.fclose(file); + } + } finally { + this.libzip.free(buffer); + } + } + async fchmodPromise(fd, mask) { + return this.chmodPromise(this.fdToPath(fd, `fchmod`), mask); + } + fchmodSync(fd, mask) { + return this.chmodSync(this.fdToPath(fd, `fchmodSync`), mask); + } + async chmodPromise(p, mask) { + return this.chmodSync(p, mask); + } + chmodSync(p, mask) { + if (this.readOnly) + throw EROFS(`chmod '${p}'`); + mask &= 493; + const resolvedP = this.resolveFilename(`chmod '${p}'`, p, false); + const entry = this.entries.get(resolvedP); + if (typeof entry === `undefined`) + throw new Error(`Assertion failed: The entry should have been registered (${resolvedP})`); + const oldMod = this.getUnixMode(entry, fs.constants.S_IFREG | 0); + const newMod = oldMod & ~511 | mask; + const rc = this.libzip.file.setExternalAttributes(this.zip, entry, 0, 0, this.libzip.ZIP_OPSYS_UNIX, newMod << 16); + if (rc === -1) { + throw this.makeLibzipError(this.libzip.getError(this.zip)); + } + } + async fchownPromise(fd, uid, gid) { + return this.chownPromise(this.fdToPath(fd, `fchown`), uid, gid); + } + fchownSync(fd, uid, gid) { + return this.chownSync(this.fdToPath(fd, `fchownSync`), uid, gid); + } + async chownPromise(p, uid, gid) { + return this.chownSync(p, uid, gid); + } + chownSync(p, uid, gid) { + throw new Error(`Unimplemented`); + } + async renamePromise(oldP, newP) { + return this.renameSync(oldP, newP); + } + renameSync(oldP, newP) { + throw new Error(`Unimplemented`); + } + async copyFilePromise(sourceP, destP, flags) { + const { indexSource, indexDest, resolvedDestP } = this.prepareCopyFile(sourceP, destP, flags); + const source = await this.getFileSource(indexSource, { asyncDecompress: true }); + const newIndex = this.setFileSource(resolvedDestP, source); + if (newIndex !== indexDest) { + this.registerEntry(resolvedDestP, newIndex); + } + } + copyFileSync(sourceP, destP, flags = 0) { + const { indexSource, indexDest, resolvedDestP } = this.prepareCopyFile(sourceP, destP, flags); + const source = this.getFileSource(indexSource); + const newIndex = this.setFileSource(resolvedDestP, source); + if (newIndex !== indexDest) { + this.registerEntry(resolvedDestP, newIndex); + } + } + prepareCopyFile(sourceP, destP, flags = 0) { + if (this.readOnly) + throw EROFS(`copyfile '${sourceP} -> '${destP}'`); + if ((flags & fs.constants.COPYFILE_FICLONE_FORCE) !== 0) + throw ENOSYS(`unsupported clone operation`, `copyfile '${sourceP}' -> ${destP}'`); + const resolvedSourceP = this.resolveFilename(`copyfile '${sourceP} -> ${destP}'`, sourceP); + const indexSource = this.entries.get(resolvedSourceP); + if (typeof indexSource === `undefined`) + throw EINVAL(`copyfile '${sourceP}' -> '${destP}'`); + const resolvedDestP = this.resolveFilename(`copyfile '${sourceP}' -> ${destP}'`, destP); + const indexDest = this.entries.get(resolvedDestP); + if ((flags & (fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE_FORCE)) !== 0 && typeof indexDest !== `undefined`) + throw EEXIST(`copyfile '${sourceP}' -> '${destP}'`); + return { + indexSource, + resolvedDestP, + indexDest + }; + } + async appendFilePromise(p, content, opts) { + if (this.readOnly) + throw EROFS(`open '${p}'`); + if (typeof opts === `undefined`) + opts = { flag: `a` }; + else if (typeof opts === `string`) + opts = { flag: `a`, encoding: opts }; + else if (typeof opts.flag === `undefined`) + opts = { flag: `a`, ...opts }; + return this.writeFilePromise(p, content, opts); + } + appendFileSync(p, content, opts = {}) { + if (this.readOnly) + throw EROFS(`open '${p}'`); + if (typeof opts === `undefined`) + opts = { flag: `a` }; + else if (typeof opts === `string`) + opts = { flag: `a`, encoding: opts }; + else if (typeof opts.flag === `undefined`) + opts = { flag: `a`, ...opts }; + return this.writeFileSync(p, content, opts); + } + fdToPath(fd, reason) { + const path = this.fds.get(fd)?.p; + if (typeof path === `undefined`) + throw EBADF(reason); + return path; + } + async writeFilePromise(p, content, opts) { + const { encoding, mode, index, resolvedP } = this.prepareWriteFile(p, opts); + if (index !== void 0 && typeof opts === `object` && opts.flag && opts.flag.includes(`a`)) + content = Buffer.concat([await this.getFileSource(index, { asyncDecompress: true }), Buffer.from(content)]); + if (encoding !== null) + content = content.toString(encoding); + const newIndex = this.setFileSource(resolvedP, content); + if (newIndex !== index) + this.registerEntry(resolvedP, newIndex); + if (mode !== null) { + await this.chmodPromise(resolvedP, mode); + } + } + writeFileSync(p, content, opts) { + const { encoding, mode, index, resolvedP } = this.prepareWriteFile(p, opts); + if (index !== void 0 && typeof opts === `object` && opts.flag && opts.flag.includes(`a`)) + content = Buffer.concat([this.getFileSource(index), Buffer.from(content)]); + if (encoding !== null) + content = content.toString(encoding); + const newIndex = this.setFileSource(resolvedP, content); + if (newIndex !== index) + this.registerEntry(resolvedP, newIndex); + if (mode !== null) { + this.chmodSync(resolvedP, mode); + } + } + prepareWriteFile(p, opts) { + if (typeof p === `number`) + p = this.fdToPath(p, `read`); + if (this.readOnly) + throw EROFS(`open '${p}'`); + const resolvedP = this.resolveFilename(`open '${p}'`, p); + if (this.listings.has(resolvedP)) + throw EISDIR(`open '${p}'`); + let encoding = null, mode = null; + if (typeof opts === `string`) { + encoding = opts; + } else if (typeof opts === `object`) { + ({ + encoding = null, + mode = null + } = opts); + } + const index = this.entries.get(resolvedP); + return { + encoding, + mode, + resolvedP, + index + }; + } + async unlinkPromise(p) { + return this.unlinkSync(p); + } + unlinkSync(p) { + if (this.readOnly) + throw EROFS(`unlink '${p}'`); + const resolvedP = this.resolveFilename(`unlink '${p}'`, p); + if (this.listings.has(resolvedP)) + throw EISDIR(`unlink '${p}'`); + const index = this.entries.get(resolvedP); + if (typeof index === `undefined`) + throw EINVAL(`unlink '${p}'`); + this.deleteEntry(resolvedP, index); + } + async utimesPromise(p, atime, mtime) { + return this.utimesSync(p, atime, mtime); + } + utimesSync(p, atime, mtime) { + if (this.readOnly) + throw EROFS(`utimes '${p}'`); + const resolvedP = this.resolveFilename(`utimes '${p}'`, p); + this.utimesImpl(resolvedP, mtime); + } + async lutimesPromise(p, atime, mtime) { + return this.lutimesSync(p, atime, mtime); + } + lutimesSync(p, atime, mtime) { + if (this.readOnly) + throw EROFS(`lutimes '${p}'`); + const resolvedP = this.resolveFilename(`utimes '${p}'`, p, false); + this.utimesImpl(resolvedP, mtime); + } + utimesImpl(resolvedP, mtime) { + if (this.listings.has(resolvedP)) { + if (!this.entries.has(resolvedP)) + this.hydrateDirectory(resolvedP); + } + const entry = this.entries.get(resolvedP); + if (entry === void 0) + throw new Error(`Unreachable`); + const rc = this.libzip.file.setMtime(this.zip, entry, 0, toUnixTimestamp(mtime), 0); + if (rc === -1) { + throw this.makeLibzipError(this.libzip.getError(this.zip)); + } + } + async mkdirPromise(p, opts) { + return this.mkdirSync(p, opts); + } + mkdirSync(p, { mode = 493, recursive = false } = {}) { + if (recursive) + return this.mkdirpSync(p, { chmod: mode }); + if (this.readOnly) + throw EROFS(`mkdir '${p}'`); + const resolvedP = this.resolveFilename(`mkdir '${p}'`, p); + if (this.entries.has(resolvedP) || this.listings.has(resolvedP)) + throw EEXIST(`mkdir '${p}'`); + this.hydrateDirectory(resolvedP); + this.chmodSync(resolvedP, mode); + return void 0; + } + async rmdirPromise(p, opts) { + return this.rmdirSync(p, opts); + } + rmdirSync(p, { recursive = false } = {}) { + if (this.readOnly) + throw EROFS(`rmdir '${p}'`); + if (recursive) { + this.removeSync(p); + return; + } + const resolvedP = this.resolveFilename(`rmdir '${p}'`, p); + const directoryListing = this.listings.get(resolvedP); + if (!directoryListing) + throw ENOTDIR(`rmdir '${p}'`); + if (directoryListing.size > 0) + throw ENOTEMPTY(`rmdir '${p}'`); + const index = this.entries.get(resolvedP); + if (typeof index === `undefined`) + throw EINVAL(`rmdir '${p}'`); + this.deleteEntry(p, index); + } + hydrateDirectory(resolvedP) { + const index = this.libzip.dir.add(this.zip, ppath.relative(PortablePath.root, resolvedP)); + if (index === -1) + throw this.makeLibzipError(this.libzip.getError(this.zip)); + this.registerListing(resolvedP); + this.registerEntry(resolvedP, index); + return index; + } + async linkPromise(existingP, newP) { + return this.linkSync(existingP, newP); + } + linkSync(existingP, newP) { + throw EOPNOTSUPP(`link '${existingP}' -> '${newP}'`); + } + async symlinkPromise(target, p) { + return this.symlinkSync(target, p); + } + symlinkSync(target, p) { + if (this.readOnly) + throw EROFS(`symlink '${target}' -> '${p}'`); + const resolvedP = this.resolveFilename(`symlink '${target}' -> '${p}'`, p); + if (this.listings.has(resolvedP)) + throw EISDIR(`symlink '${target}' -> '${p}'`); + if (this.entries.has(resolvedP)) + throw EEXIST(`symlink '${target}' -> '${p}'`); + const index = this.setFileSource(resolvedP, target); + this.registerEntry(resolvedP, index); + const rc = this.libzip.file.setExternalAttributes(this.zip, index, 0, 0, this.libzip.ZIP_OPSYS_UNIX, (fs.constants.S_IFLNK | 511) << 16); + if (rc === -1) + throw this.makeLibzipError(this.libzip.getError(this.zip)); + this.symlinkCount += 1; + } + async readFilePromise(p, encoding) { + if (typeof encoding === `object`) + encoding = encoding ? encoding.encoding : void 0; + const data = await this.readFileBuffer(p, { asyncDecompress: true }); + return encoding ? data.toString(encoding) : data; + } + readFileSync(p, encoding) { + if (typeof encoding === `object`) + encoding = encoding ? encoding.encoding : void 0; + const data = this.readFileBuffer(p); + return encoding ? data.toString(encoding) : data; + } + readFileBuffer(p, opts = { asyncDecompress: false }) { + if (typeof p === `number`) + p = this.fdToPath(p, `read`); + const resolvedP = this.resolveFilename(`open '${p}'`, p); + if (!this.entries.has(resolvedP) && !this.listings.has(resolvedP)) + throw ENOENT(`open '${p}'`); + if (p[p.length - 1] === `/` && !this.listings.has(resolvedP)) + throw ENOTDIR(`open '${p}'`); + if (this.listings.has(resolvedP)) + throw EISDIR(`read`); + const entry = this.entries.get(resolvedP); + if (entry === void 0) + throw new Error(`Unreachable`); + return this.getFileSource(entry, opts); + } + async readdirPromise(p, opts) { + return this.readdirSync(p, opts); + } + readdirSync(p, opts) { + const resolvedP = this.resolveFilename(`scandir '${p}'`, p); + if (!this.entries.has(resolvedP) && !this.listings.has(resolvedP)) + throw ENOENT(`scandir '${p}'`); + const directoryListing = this.listings.get(resolvedP); + if (!directoryListing) + throw ENOTDIR(`scandir '${p}'`); + if (opts?.recursive) { + if (opts?.withFileTypes) { + const entries = Array.from(directoryListing, (name) => { + return Object.assign(this.statImpl(`lstat`, ppath.join(p, name)), { + name, + path: PortablePath.dot + }); + }); + for (const entry of entries) { + if (!entry.isDirectory()) + continue; + const subPath = ppath.join(entry.path, entry.name); + const subListing = this.listings.get(ppath.join(resolvedP, subPath)); + for (const child of subListing) { + entries.push(Object.assign(this.statImpl(`lstat`, ppath.join(p, subPath, child)), { + name: child, + path: subPath + })); + } + } + return entries; + } else { + const entries = [...directoryListing]; + for (const subPath of entries) { + const subListing = this.listings.get(ppath.join(resolvedP, subPath)); + if (typeof subListing === `undefined`) + continue; + for (const child of subListing) { + entries.push(ppath.join(subPath, child)); + } + } + return entries; + } + } else if (opts?.withFileTypes) { + return Array.from(directoryListing, (name) => { + return Object.assign(this.statImpl(`lstat`, ppath.join(p, name)), { + name, + path: void 0 + }); + }); + } else { + return [...directoryListing]; + } + } + async readlinkPromise(p) { + const entry = this.prepareReadlink(p); + return (await this.getFileSource(entry, { asyncDecompress: true })).toString(); + } + readlinkSync(p) { + const entry = this.prepareReadlink(p); + return this.getFileSource(entry).toString(); + } + prepareReadlink(p) { + const resolvedP = this.resolveFilename(`readlink '${p}'`, p, false); + if (!this.entries.has(resolvedP) && !this.listings.has(resolvedP)) + throw ENOENT(`readlink '${p}'`); + if (p[p.length - 1] === `/` && !this.listings.has(resolvedP)) + throw ENOTDIR(`open '${p}'`); + if (this.listings.has(resolvedP)) + throw EINVAL(`readlink '${p}'`); + const entry = this.entries.get(resolvedP); + if (entry === void 0) + throw new Error(`Unreachable`); + if (!this.isSymbolicLink(entry)) + throw EINVAL(`readlink '${p}'`); + return entry; + } + async truncatePromise(p, len = 0) { + const resolvedP = this.resolveFilename(`open '${p}'`, p); + const index = this.entries.get(resolvedP); + if (typeof index === `undefined`) + throw EINVAL(`open '${p}'`); + const source = await this.getFileSource(index, { asyncDecompress: true }); + const truncated = Buffer.alloc(len, 0); + source.copy(truncated); + return await this.writeFilePromise(p, truncated); + } + truncateSync(p, len = 0) { + const resolvedP = this.resolveFilename(`open '${p}'`, p); + const index = this.entries.get(resolvedP); + if (typeof index === `undefined`) + throw EINVAL(`open '${p}'`); + const source = this.getFileSource(index); + const truncated = Buffer.alloc(len, 0); + source.copy(truncated); + return this.writeFileSync(p, truncated); + } + async ftruncatePromise(fd, len) { + return this.truncatePromise(this.fdToPath(fd, `ftruncate`), len); + } + ftruncateSync(fd, len) { + return this.truncateSync(this.fdToPath(fd, `ftruncateSync`), len); + } + watch(p, a, b) { + let persistent; + switch (typeof a) { + case `function`: + case `string`: + case `undefined`: + { + persistent = true; + } + break; + default: + { + ({ persistent = true } = a); + } + break; + } + if (!persistent) + return { on: () => { + }, close: () => { + } }; + const interval = setInterval(() => { + }, 24 * 60 * 60 * 1e3); + return { on: () => { + }, close: () => { + clearInterval(interval); + } }; + } + watchFile(p, a, b) { + const resolvedP = ppath.resolve(PortablePath.root, p); + return watchFile(this, resolvedP, a, b); + } + unwatchFile(p, cb) { + const resolvedP = ppath.resolve(PortablePath.root, p); + return unwatchFile(this, resolvedP, cb); + } +} + +setFactory(() => { + const emZip = createModule(); + return makeInterface(emZip); +}); + +var ErrorCode = /* @__PURE__ */ ((ErrorCode2) => { + ErrorCode2["API_ERROR"] = `API_ERROR`; + ErrorCode2["BUILTIN_NODE_RESOLUTION_FAILED"] = `BUILTIN_NODE_RESOLUTION_FAILED`; + ErrorCode2["EXPORTS_RESOLUTION_FAILED"] = `EXPORTS_RESOLUTION_FAILED`; + ErrorCode2["MISSING_DEPENDENCY"] = `MISSING_DEPENDENCY`; + ErrorCode2["MISSING_PEER_DEPENDENCY"] = `MISSING_PEER_DEPENDENCY`; + ErrorCode2["QUALIFIED_PATH_RESOLUTION_FAILED"] = `QUALIFIED_PATH_RESOLUTION_FAILED`; + ErrorCode2["INTERNAL"] = `INTERNAL`; + ErrorCode2["UNDECLARED_DEPENDENCY"] = `UNDECLARED_DEPENDENCY`; + ErrorCode2["UNSUPPORTED"] = `UNSUPPORTED`; + return ErrorCode2; +})(ErrorCode || {}); +const MODULE_NOT_FOUND_ERRORS = /* @__PURE__ */ new Set([ + "BUILTIN_NODE_RESOLUTION_FAILED" /* BUILTIN_NODE_RESOLUTION_FAILED */, + "MISSING_DEPENDENCY" /* MISSING_DEPENDENCY */, + "MISSING_PEER_DEPENDENCY" /* MISSING_PEER_DEPENDENCY */, + "QUALIFIED_PATH_RESOLUTION_FAILED" /* QUALIFIED_PATH_RESOLUTION_FAILED */, + "UNDECLARED_DEPENDENCY" /* UNDECLARED_DEPENDENCY */ +]); +function makeError(pnpCode, message, data = {}, code) { + code ??= MODULE_NOT_FOUND_ERRORS.has(pnpCode) ? `MODULE_NOT_FOUND` : pnpCode; + const propertySpec = { + configurable: true, + writable: true, + enumerable: false + }; + return Object.defineProperties(new Error(message), { + code: { + ...propertySpec, + value: code + }, + pnpCode: { + ...propertySpec, + value: pnpCode + }, + data: { + ...propertySpec, + value: data + } + }); +} +function getIssuerModule(parent) { + let issuer = parent; + while (issuer && (issuer.id === `[eval]` || issuer.id === `` || !issuer.filename)) + issuer = issuer.parent; + return issuer || null; +} +function getPathForDisplay(p) { + return npath.normalize(npath.fromPortablePath(p)); +} + +const [major, minor] = process.versions.node.split(`.`).map((value) => parseInt(value, 10)); +const WATCH_MODE_MESSAGE_USES_ARRAYS = major > 19 || major === 19 && minor >= 2 || major === 18 && minor >= 13; + +function readPackageScope(checkPath) { + const rootSeparatorIndex = checkPath.indexOf(npath.sep); + let separatorIndex; + do { + separatorIndex = checkPath.lastIndexOf(npath.sep); + checkPath = checkPath.slice(0, separatorIndex); + if (checkPath.endsWith(`${npath.sep}node_modules`)) + return false; + const pjson = readPackage(checkPath + npath.sep); + if (pjson) { + return { + data: pjson, + path: checkPath + }; + } + } while (separatorIndex > rootSeparatorIndex); + return false; +} +function readPackage(requestPath) { + const jsonPath = npath.resolve(requestPath, `package.json`); + if (!fs__default.default.existsSync(jsonPath)) + return null; + return JSON.parse(fs__default.default.readFileSync(jsonPath, `utf8`)); +} +function ERR_REQUIRE_ESM(filename, parentPath = null) { + const basename = parentPath && path__default.default.basename(filename) === path__default.default.basename(parentPath) ? filename : path__default.default.basename(filename); + const msg = `require() of ES Module ${filename}${parentPath ? ` from ${parentPath}` : ``} not supported. +Instead change the require of ${basename} in ${parentPath} to a dynamic import() which is available in all CommonJS modules.`; + const err = new Error(msg); + err.code = `ERR_REQUIRE_ESM`; + return err; +} +function reportRequiredFilesToWatchMode(files) { + if (process.env.WATCH_REPORT_DEPENDENCIES && process.send) { + files = files.map((filename) => npath.fromPortablePath(VirtualFS.resolveVirtual(npath.toPortablePath(filename)))); + if (WATCH_MODE_MESSAGE_USES_ARRAYS) { + process.send({ "watch:require": files }); + } else { + for (const filename of files) { + process.send({ "watch:require": filename }); + } + } + } +} + +function applyPatch(pnpapi, opts) { + let enableNativeHooks = true; + process.versions.pnp = String(pnpapi.VERSIONS.std); + const moduleExports = require$$0__default.default; + moduleExports.findPnpApi = (lookupSource) => { + const lookupPath = lookupSource instanceof url.URL ? url.fileURLToPath(lookupSource) : lookupSource; + const apiPath = opts.manager.findApiPathFor(lookupPath); + if (apiPath === null) + return null; + const apiEntry = opts.manager.getApiEntry(apiPath, true); + return apiEntry.instance.findPackageLocator(lookupPath) ? apiEntry.instance : null; + }; + function getRequireStack(parent) { + const requireStack = []; + for (let cursor = parent; cursor; cursor = cursor.parent) + requireStack.push(cursor.filename || cursor.id); + return requireStack; + } + const originalModuleLoad = require$$0.Module._load; + require$$0.Module._load = function(request, parent, isMain) { + if (request === `pnpapi`) { + const parentApiPath = opts.manager.getApiPathFromParent(parent); + if (parentApiPath) { + return opts.manager.getApiEntry(parentApiPath, true).instance; + } + } + return originalModuleLoad.call(require$$0.Module, request, parent, isMain); + }; + function getIssuerSpecsFromPaths(paths) { + return paths.map((path) => ({ + apiPath: opts.manager.findApiPathFor(path), + path, + module: null + })); + } + function getIssuerSpecsFromModule(module) { + if (module && module.id !== `` && module.id !== `internal/preload` && !module.parent && !module.filename && module.paths.length > 0) { + return [{ + apiPath: opts.manager.findApiPathFor(module.paths[0]), + path: module.paths[0], + module + }]; + } + const issuer = getIssuerModule(module); + if (issuer !== null) { + const path = npath.dirname(issuer.filename); + const apiPath = opts.manager.getApiPathFromParent(issuer); + return [{ apiPath, path, module }]; + } else { + const path = process.cwd(); + const apiPath = opts.manager.findApiPathFor(npath.join(path, `[file]`)) ?? opts.manager.getApiPathFromParent(null); + return [{ apiPath, path, module }]; + } + } + function makeFakeParent(path) { + const fakeParent = new require$$0.Module(``); + const fakeFilePath = npath.join(path, `[file]`); + fakeParent.paths = require$$0.Module._nodeModulePaths(fakeFilePath); + return fakeParent; + } + const pathRegExp = /^(?![a-zA-Z]:[\\/]|\\\\|\.{0,2}(?:\/|$))((?:@[^/]+\/)?[^/]+)\/*(.*|)$/; + const originalModuleResolveFilename = require$$0.Module._resolveFilename; + require$$0.Module._resolveFilename = function(request, parent, isMain, options) { + if (require$$0.isBuiltin(request)) + return request; + if (!enableNativeHooks) + return originalModuleResolveFilename.call(require$$0.Module, request, parent, isMain, options); + if (options && options.plugnplay === false) { + const { plugnplay, ...forwardedOptions } = options; + try { + enableNativeHooks = false; + return originalModuleResolveFilename.call(require$$0.Module, request, parent, isMain, forwardedOptions); + } finally { + enableNativeHooks = true; + } + } + if (options) { + const optionNames = new Set(Object.keys(options)); + optionNames.delete(`paths`); + optionNames.delete(`plugnplay`); + if (optionNames.size > 0) { + throw makeError( + ErrorCode.UNSUPPORTED, + `Some options passed to require() aren't supported by PnP yet (${Array.from(optionNames).join(`, `)})` + ); + } + } + const issuerSpecs = options && options.paths ? getIssuerSpecsFromPaths(options.paths) : getIssuerSpecsFromModule(parent); + if (request.match(pathRegExp) === null) { + const parentDirectory = parent?.filename != null ? npath.dirname(parent.filename) : null; + const absoluteRequest = npath.isAbsolute(request) ? request : parentDirectory !== null ? npath.resolve(parentDirectory, request) : null; + if (absoluteRequest !== null) { + const apiPath = parent && parentDirectory === npath.dirname(absoluteRequest) ? opts.manager.getApiPathFromParent(parent) : opts.manager.findApiPathFor(absoluteRequest); + if (apiPath !== null) { + issuerSpecs.unshift({ + apiPath, + path: parentDirectory, + module: null + }); + } + } + } + let firstError; + for (const { apiPath, path, module } of issuerSpecs) { + let resolution; + const issuerApi = apiPath !== null ? opts.manager.getApiEntry(apiPath, true).instance : null; + try { + if (issuerApi !== null) { + resolution = issuerApi.resolveRequest(request, path !== null ? `${path}/` : null); + } else { + if (path === null) + throw new Error(`Assertion failed: Expected the path to be set`); + resolution = originalModuleResolveFilename.call(require$$0.Module, request, module || makeFakeParent(path), isMain); + } + } catch (error) { + firstError = firstError || error; + continue; + } + if (resolution !== null) { + return resolution; + } + } + const requireStack = getRequireStack(parent); + Object.defineProperty(firstError, `requireStack`, { + configurable: true, + writable: true, + enumerable: false, + value: requireStack + }); + if (requireStack.length > 0) + firstError.message += ` +Require stack: +- ${requireStack.join(` +- `)}`; + if (typeof firstError.pnpCode === `string`) + Error.captureStackTrace(firstError); + throw firstError; + }; + const originalFindPath = require$$0.Module._findPath; + require$$0.Module._findPath = function(request, paths, isMain) { + if (request === `pnpapi`) + return false; + if (!enableNativeHooks) + return originalFindPath.call(require$$0.Module, request, paths, isMain); + const isAbsolute = npath.isAbsolute(request); + if (isAbsolute) + paths = [``]; + else if (!paths || paths.length === 0) + return false; + for (const path of paths) { + let resolution; + try { + const pnpApiPath = opts.manager.findApiPathFor(isAbsolute ? request : path); + if (pnpApiPath !== null) { + const api = opts.manager.getApiEntry(pnpApiPath, true).instance; + resolution = api.resolveRequest(request, path) || false; + } else { + resolution = originalFindPath.call(require$$0.Module, request, [path], isMain); + } + } catch (error) { + continue; + } + if (resolution) { + return resolution; + } + } + return false; + }; + const originalExtensionJSFunction = require$$0.Module._extensions[`.js`]; + require$$0.Module._extensions[`.js`] = function(module, filename) { + if (filename.endsWith(`.js`)) { + const pkg = readPackageScope(filename); + if (pkg && pkg.data?.type === `module`) { + const err = ERR_REQUIRE_ESM(filename, module.parent?.filename); + Error.captureStackTrace(err); + throw err; + } + } + originalExtensionJSFunction.call(this, module, filename); + }; + const originalDlopen = process.dlopen; + process.dlopen = function(...args) { + const [module, filename, ...rest] = args; + return originalDlopen.call( + this, + module, + npath.fromPortablePath(VirtualFS.resolveVirtual(npath.toPortablePath(filename))), + ...rest + ); + }; + const originalEmit = process.emit; + process.emit = function(name, data, ...args) { + if (name === `warning` && typeof data === `object` && data.name === `ExperimentalWarning` && (data.message.includes(`--experimental-loader`) || data.message.includes(`Custom ESM Loaders is an experimental feature`))) + return false; + return originalEmit.apply(process, arguments); + }; + patchFs(fs__default.default, new PosixFS(opts.fakeFs)); +} + +function hydrateRuntimeState(data, { basePath }) { + const portablePath = npath.toPortablePath(basePath); + const absolutePortablePath = ppath.resolve(portablePath); + const ignorePattern = data.ignorePatternData !== null ? new RegExp(data.ignorePatternData) : null; + const packageLocatorsByLocations = /* @__PURE__ */ new Map(); + const packageRegistry = new Map(data.packageRegistryData.map(([packageName, packageStoreData]) => { + return [packageName, new Map(packageStoreData.map(([packageReference, packageInformationData]) => { + if (packageName === null !== (packageReference === null)) + throw new Error(`Assertion failed: The name and reference should be null, or neither should`); + const discardFromLookup = packageInformationData.discardFromLookup ?? false; + const packageLocator = { name: packageName, reference: packageReference }; + const entry = packageLocatorsByLocations.get(packageInformationData.packageLocation); + if (!entry) { + packageLocatorsByLocations.set(packageInformationData.packageLocation, { locator: packageLocator, discardFromLookup }); + } else { + entry.discardFromLookup = entry.discardFromLookup && discardFromLookup; + if (!discardFromLookup) { + entry.locator = packageLocator; + } + } + let resolvedPackageLocation = null; + return [packageReference, { + packageDependencies: new Map(packageInformationData.packageDependencies), + packagePeers: new Set(packageInformationData.packagePeers), + linkType: packageInformationData.linkType, + discardFromLookup, + get packageLocation() { + return resolvedPackageLocation || (resolvedPackageLocation = ppath.join(absolutePortablePath, packageInformationData.packageLocation)); + } + }]; + }))]; + })); + const fallbackExclusionList = new Map(data.fallbackExclusionList.map(([packageName, packageReferences]) => { + return [packageName, new Set(packageReferences)]; + })); + const fallbackPool = new Map(data.fallbackPool); + const dependencyTreeRoots = data.dependencyTreeRoots; + const enableTopLevelFallback = data.enableTopLevelFallback; + return { + basePath: portablePath, + dependencyTreeRoots, + enableTopLevelFallback, + fallbackExclusionList, + fallbackPool, + ignorePattern, + packageLocatorsByLocations, + packageRegistry + }; +} + +const ArrayIsArray = Array.isArray; +const JSONStringify = JSON.stringify; +const ObjectGetOwnPropertyNames = Object.getOwnPropertyNames; +const ObjectPrototypeHasOwnProperty = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop); +const RegExpPrototypeExec = (obj, string) => RegExp.prototype.exec.call(obj, string); +const RegExpPrototypeSymbolReplace = (obj, ...rest) => RegExp.prototype[Symbol.replace].apply(obj, rest); +const StringPrototypeEndsWith = (str, ...rest) => String.prototype.endsWith.apply(str, rest); +const StringPrototypeIncludes = (str, ...rest) => String.prototype.includes.apply(str, rest); +const StringPrototypeLastIndexOf = (str, ...rest) => String.prototype.lastIndexOf.apply(str, rest); +const StringPrototypeIndexOf = (str, ...rest) => String.prototype.indexOf.apply(str, rest); +const StringPrototypeReplace = (str, ...rest) => String.prototype.replace.apply(str, rest); +const StringPrototypeSlice = (str, ...rest) => String.prototype.slice.apply(str, rest); +const StringPrototypeStartsWith = (str, ...rest) => String.prototype.startsWith.apply(str, rest); +const SafeMap = Map; +const JSONParse = JSON.parse; + +function createErrorType(code, messageCreator, errorType) { + return class extends errorType { + constructor(...args) { + super(messageCreator(...args)); + this.code = code; + this.name = `${errorType.name} [${code}]`; + } + }; +} +const ERR_PACKAGE_IMPORT_NOT_DEFINED = createErrorType( + `ERR_PACKAGE_IMPORT_NOT_DEFINED`, + (specifier, packagePath, base) => { + return `Package import specifier "${specifier}" is not defined${packagePath ? ` in package ${packagePath}package.json` : ``} imported from ${base}`; + }, + TypeError +); +const ERR_INVALID_MODULE_SPECIFIER = createErrorType( + `ERR_INVALID_MODULE_SPECIFIER`, + (request, reason, base = void 0) => { + return `Invalid module "${request}" ${reason}${base ? ` imported from ${base}` : ``}`; + }, + TypeError +); +const ERR_INVALID_PACKAGE_TARGET = createErrorType( + `ERR_INVALID_PACKAGE_TARGET`, + (pkgPath, key, target, isImport = false, base = void 0) => { + const relError = typeof target === `string` && !isImport && target.length && !StringPrototypeStartsWith(target, `./`); + if (key === `.`) { + assert__default.default(isImport === false); + return `Invalid "exports" main target ${JSONStringify(target)} defined in the package config ${pkgPath}package.json${base ? ` imported from ${base}` : ``}${relError ? `; targets must start with "./"` : ``}`; + } + return `Invalid "${isImport ? `imports` : `exports`}" target ${JSONStringify( + target + )} defined for '${key}' in the package config ${pkgPath}package.json${base ? ` imported from ${base}` : ``}${relError ? `; targets must start with "./"` : ``}`; + }, + Error +); +const ERR_INVALID_PACKAGE_CONFIG = createErrorType( + `ERR_INVALID_PACKAGE_CONFIG`, + (path, base, message) => { + return `Invalid package config ${path}${base ? ` while importing ${base}` : ``}${message ? `. ${message}` : ``}`; + }, + Error +); +const ERR_PACKAGE_PATH_NOT_EXPORTED = createErrorType( + "ERR_PACKAGE_PATH_NOT_EXPORTED", + (pkgPath, subpath, base = void 0) => { + if (subpath === ".") + return `No "exports" main defined in ${pkgPath}package.json${base ? ` imported from ${base}` : ""}`; + return `Package subpath '${subpath}' is not defined by "exports" in ${pkgPath}package.json${base ? ` imported from ${base}` : ""}`; + }, + Error +); + +function filterOwnProperties(source, keys) { + const filtered = /* @__PURE__ */ Object.create(null); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if (ObjectPrototypeHasOwnProperty(source, key)) { + filtered[key] = source[key]; + } + } + return filtered; +} + +const packageJSONCache = new SafeMap(); +function getPackageConfig(path, specifier, base, readFileSyncFn) { + const existing = packageJSONCache.get(path); + if (existing !== void 0) { + return existing; + } + const source = readFileSyncFn(path); + if (source === void 0) { + const packageConfig2 = { + pjsonPath: path, + exists: false, + main: void 0, + name: void 0, + type: "none", + exports: void 0, + imports: void 0 + }; + packageJSONCache.set(path, packageConfig2); + return packageConfig2; + } + let packageJSON; + try { + packageJSON = JSONParse(source); + } catch (error) { + throw new ERR_INVALID_PACKAGE_CONFIG( + path, + (base ? `"${specifier}" from ` : "") + url.fileURLToPath(base || specifier), + error.message + ); + } + let { imports, main, name, type } = filterOwnProperties(packageJSON, [ + "imports", + "main", + "name", + "type" + ]); + const exports = ObjectPrototypeHasOwnProperty(packageJSON, "exports") ? packageJSON.exports : void 0; + if (typeof imports !== "object" || imports === null) { + imports = void 0; + } + if (typeof main !== "string") { + main = void 0; + } + if (typeof name !== "string") { + name = void 0; + } + if (type !== "module" && type !== "commonjs") { + type = "none"; + } + const packageConfig = { + pjsonPath: path, + exists: true, + main, + name, + type, + exports, + imports + }; + packageJSONCache.set(path, packageConfig); + return packageConfig; +} +function getPackageScopeConfig(resolved, readFileSyncFn) { + let packageJSONUrl = new URL("./package.json", resolved); + while (true) { + const packageJSONPath2 = packageJSONUrl.pathname; + if (StringPrototypeEndsWith(packageJSONPath2, "node_modules/package.json")) { + break; + } + const packageConfig2 = getPackageConfig( + url.fileURLToPath(packageJSONUrl), + resolved, + void 0, + readFileSyncFn + ); + if (packageConfig2.exists) { + return packageConfig2; + } + const lastPackageJSONUrl = packageJSONUrl; + packageJSONUrl = new URL("../package.json", packageJSONUrl); + if (packageJSONUrl.pathname === lastPackageJSONUrl.pathname) { + break; + } + } + const packageJSONPath = url.fileURLToPath(packageJSONUrl); + const packageConfig = { + pjsonPath: packageJSONPath, + exists: false, + main: void 0, + name: void 0, + type: "none", + exports: void 0, + imports: void 0 + }; + packageJSONCache.set(packageJSONPath, packageConfig); + return packageConfig; +} + +/** + @license + Copyright Node.js contributors. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. +*/ +function throwImportNotDefined(specifier, packageJSONUrl, base) { + throw new ERR_PACKAGE_IMPORT_NOT_DEFINED( + specifier, + packageJSONUrl && url.fileURLToPath(new URL(".", packageJSONUrl)), + url.fileURLToPath(base) + ); +} +function throwInvalidSubpath(subpath, packageJSONUrl, internal, base) { + const reason = `request is not a valid subpath for the "${internal ? "imports" : "exports"}" resolution of ${url.fileURLToPath(packageJSONUrl)}`; + throw new ERR_INVALID_MODULE_SPECIFIER( + subpath, + reason, + base && url.fileURLToPath(base) + ); +} +function throwInvalidPackageTarget(subpath, target, packageJSONUrl, internal, base) { + if (typeof target === "object" && target !== null) { + target = JSONStringify(target, null, ""); + } else { + target = `${target}`; + } + throw new ERR_INVALID_PACKAGE_TARGET( + url.fileURLToPath(new URL(".", packageJSONUrl)), + subpath, + target, + internal, + base && url.fileURLToPath(base) + ); +} +const invalidSegmentRegEx = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i; +const patternRegEx = /\*/g; +function resolvePackageTargetString(target, subpath, match, packageJSONUrl, base, pattern, internal, conditions) { + if (subpath !== "" && !pattern && target[target.length - 1] !== "/") + throwInvalidPackageTarget(match, target, packageJSONUrl, internal, base); + if (!StringPrototypeStartsWith(target, "./")) { + if (internal && !StringPrototypeStartsWith(target, "../") && !StringPrototypeStartsWith(target, "/")) { + let isURL = false; + try { + new URL(target); + isURL = true; + } catch { + } + if (!isURL) { + const exportTarget = pattern ? RegExpPrototypeSymbolReplace(patternRegEx, target, () => subpath) : target + subpath; + return exportTarget; + } + } + throwInvalidPackageTarget(match, target, packageJSONUrl, internal, base); + } + if (RegExpPrototypeExec( + invalidSegmentRegEx, + StringPrototypeSlice(target, 2) + ) !== null) + throwInvalidPackageTarget(match, target, packageJSONUrl, internal, base); + const resolved = new URL(target, packageJSONUrl); + const resolvedPath = resolved.pathname; + const packagePath = new URL(".", packageJSONUrl).pathname; + if (!StringPrototypeStartsWith(resolvedPath, packagePath)) + throwInvalidPackageTarget(match, target, packageJSONUrl, internal, base); + if (subpath === "") + return resolved; + if (RegExpPrototypeExec(invalidSegmentRegEx, subpath) !== null) { + const request = pattern ? StringPrototypeReplace(match, "*", () => subpath) : match + subpath; + throwInvalidSubpath(request, packageJSONUrl, internal, base); + } + if (pattern) { + return new URL( + RegExpPrototypeSymbolReplace(patternRegEx, resolved.href, () => subpath) + ); + } + return new URL(subpath, resolved); +} +function isArrayIndex(key) { + const keyNum = +key; + if (`${keyNum}` !== key) + return false; + return keyNum >= 0 && keyNum < 4294967295; +} +function resolvePackageTarget(packageJSONUrl, target, subpath, packageSubpath, base, pattern, internal, conditions) { + if (typeof target === "string") { + return resolvePackageTargetString( + target, + subpath, + packageSubpath, + packageJSONUrl, + base, + pattern, + internal); + } else if (ArrayIsArray(target)) { + if (target.length === 0) { + return null; + } + let lastException; + for (let i = 0; i < target.length; i++) { + const targetItem = target[i]; + let resolveResult; + try { + resolveResult = resolvePackageTarget( + packageJSONUrl, + targetItem, + subpath, + packageSubpath, + base, + pattern, + internal, + conditions + ); + } catch (e) { + lastException = e; + if (e.code === "ERR_INVALID_PACKAGE_TARGET") { + continue; + } + throw e; + } + if (resolveResult === void 0) { + continue; + } + if (resolveResult === null) { + lastException = null; + continue; + } + return resolveResult; + } + if (lastException === void 0 || lastException === null) + return lastException; + throw lastException; + } else if (typeof target === "object" && target !== null) { + const keys = ObjectGetOwnPropertyNames(target); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if (isArrayIndex(key)) { + throw new ERR_INVALID_PACKAGE_CONFIG( + url.fileURLToPath(packageJSONUrl), + base, + '"exports" cannot contain numeric property keys.' + ); + } + } + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if (key === "default" || conditions.has(key)) { + const conditionalTarget = target[key]; + const resolveResult = resolvePackageTarget( + packageJSONUrl, + conditionalTarget, + subpath, + packageSubpath, + base, + pattern, + internal, + conditions + ); + if (resolveResult === void 0) + continue; + return resolveResult; + } + } + return void 0; + } else if (target === null) { + return null; + } + throwInvalidPackageTarget( + packageSubpath, + target, + packageJSONUrl, + internal, + base + ); +} +function patternKeyCompare(a, b) { + const aPatternIndex = StringPrototypeIndexOf(a, "*"); + const bPatternIndex = StringPrototypeIndexOf(b, "*"); + const baseLenA = aPatternIndex === -1 ? a.length : aPatternIndex + 1; + const baseLenB = bPatternIndex === -1 ? b.length : bPatternIndex + 1; + if (baseLenA > baseLenB) + return -1; + if (baseLenB > baseLenA) + return 1; + if (aPatternIndex === -1) + return 1; + if (bPatternIndex === -1) + return -1; + if (a.length > b.length) + return -1; + if (b.length > a.length) + return 1; + return 0; +} +function isConditionalExportsMainSugar(exports, packageJSONUrl, base) { + if (typeof exports === "string" || ArrayIsArray(exports)) + return true; + if (typeof exports !== "object" || exports === null) + return false; + const keys = ObjectGetOwnPropertyNames(exports); + let isConditionalSugar = false; + let i = 0; + for (let j = 0; j < keys.length; j++) { + const key = keys[j]; + const curIsConditionalSugar = key === "" || key[0] !== "."; + if (i++ === 0) { + isConditionalSugar = curIsConditionalSugar; + } else if (isConditionalSugar !== curIsConditionalSugar) { + throw new ERR_INVALID_PACKAGE_CONFIG( + url.fileURLToPath(packageJSONUrl), + base, + `"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.` + ); + } + } + return isConditionalSugar; +} +function throwExportsNotFound(subpath, packageJSONUrl, base) { + throw new ERR_PACKAGE_PATH_NOT_EXPORTED( + url.fileURLToPath(new URL(".", packageJSONUrl)), + subpath, + base && url.fileURLToPath(base) + ); +} +const emittedPackageWarnings = /* @__PURE__ */ new Set(); +function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) { + const pjsonPath = url.fileURLToPath(pjsonUrl); + if (emittedPackageWarnings.has(pjsonPath + "|" + match)) + return; + emittedPackageWarnings.add(pjsonPath + "|" + match); + process.emitWarning( + `Use of deprecated trailing slash pattern mapping "${match}" in the "exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${url.fileURLToPath(base)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, + "DeprecationWarning", + "DEP0155" + ); +} +function packageExportsResolve({ + packageJSONUrl, + packageSubpath, + exports, + base, + conditions +}) { + if (isConditionalExportsMainSugar(exports, packageJSONUrl, base)) + exports = { ".": exports }; + if (ObjectPrototypeHasOwnProperty(exports, packageSubpath) && !StringPrototypeIncludes(packageSubpath, "*") && !StringPrototypeEndsWith(packageSubpath, "/")) { + const target = exports[packageSubpath]; + const resolveResult = resolvePackageTarget( + packageJSONUrl, + target, + "", + packageSubpath, + base, + false, + false, + conditions + ); + if (resolveResult == null) { + throwExportsNotFound(packageSubpath, packageJSONUrl, base); + } + return resolveResult; + } + let bestMatch = ""; + let bestMatchSubpath; + const keys = ObjectGetOwnPropertyNames(exports); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + const patternIndex = StringPrototypeIndexOf(key, "*"); + if (patternIndex !== -1 && StringPrototypeStartsWith( + packageSubpath, + StringPrototypeSlice(key, 0, patternIndex) + )) { + if (StringPrototypeEndsWith(packageSubpath, "/")) + emitTrailingSlashPatternDeprecation( + packageSubpath, + packageJSONUrl, + base + ); + const patternTrailer = StringPrototypeSlice(key, patternIndex + 1); + if (packageSubpath.length >= key.length && StringPrototypeEndsWith(packageSubpath, patternTrailer) && patternKeyCompare(bestMatch, key) === 1 && StringPrototypeLastIndexOf(key, "*") === patternIndex) { + bestMatch = key; + bestMatchSubpath = StringPrototypeSlice( + packageSubpath, + patternIndex, + packageSubpath.length - patternTrailer.length + ); + } + } + } + if (bestMatch) { + const target = exports[bestMatch]; + const resolveResult = resolvePackageTarget( + packageJSONUrl, + target, + bestMatchSubpath, + bestMatch, + base, + true, + false, + conditions + ); + if (resolveResult == null) { + throwExportsNotFound(packageSubpath, packageJSONUrl, base); + } + return resolveResult; + } + throwExportsNotFound(packageSubpath, packageJSONUrl, base); +} +function packageImportsResolve({ name, base, conditions, readFileSyncFn }) { + if (name === "#" || StringPrototypeStartsWith(name, "#/") || StringPrototypeEndsWith(name, "/")) { + const reason = "is not a valid internal imports specifier name"; + throw new ERR_INVALID_MODULE_SPECIFIER(name, reason, url.fileURLToPath(base)); + } + let packageJSONUrl; + const packageConfig = getPackageScopeConfig(base, readFileSyncFn); + if (packageConfig.exists) { + packageJSONUrl = url.pathToFileURL(packageConfig.pjsonPath); + const imports = packageConfig.imports; + if (imports) { + if (ObjectPrototypeHasOwnProperty(imports, name) && !StringPrototypeIncludes(name, "*")) { + const resolveResult = resolvePackageTarget( + packageJSONUrl, + imports[name], + "", + name, + base, + false, + true, + conditions + ); + if (resolveResult != null) { + return resolveResult; + } + } else { + let bestMatch = ""; + let bestMatchSubpath; + const keys = ObjectGetOwnPropertyNames(imports); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + const patternIndex = StringPrototypeIndexOf(key, "*"); + if (patternIndex !== -1 && StringPrototypeStartsWith( + name, + StringPrototypeSlice(key, 0, patternIndex) + )) { + const patternTrailer = StringPrototypeSlice(key, patternIndex + 1); + if (name.length >= key.length && StringPrototypeEndsWith(name, patternTrailer) && patternKeyCompare(bestMatch, key) === 1 && StringPrototypeLastIndexOf(key, "*") === patternIndex) { + bestMatch = key; + bestMatchSubpath = StringPrototypeSlice( + name, + patternIndex, + name.length - patternTrailer.length + ); + } + } + } + if (bestMatch) { + const target = imports[bestMatch]; + const resolveResult = resolvePackageTarget( + packageJSONUrl, + target, + bestMatchSubpath, + bestMatch, + base, + true, + true, + conditions + ); + if (resolveResult != null) { + return resolveResult; + } + } + } + } + } + throwImportNotDefined(name, packageJSONUrl, base); +} + +const flagSymbol = Symbol('arg flag'); + +class ArgError extends Error { + constructor(msg, code) { + super(msg); + this.name = 'ArgError'; + this.code = code; + + Object.setPrototypeOf(this, ArgError.prototype); + } +} + +function arg( + opts, + { + argv = process.argv.slice(2), + permissive = false, + stopAtPositional = false + } = {} +) { + if (!opts) { + throw new ArgError( + 'argument specification object is required', + 'ARG_CONFIG_NO_SPEC' + ); + } + + const result = { _: [] }; + + const aliases = {}; + const handlers = {}; + + for (const key of Object.keys(opts)) { + if (!key) { + throw new ArgError( + 'argument key cannot be an empty string', + 'ARG_CONFIG_EMPTY_KEY' + ); + } + + if (key[0] !== '-') { + throw new ArgError( + `argument key must start with '-' but found: '${key}'`, + 'ARG_CONFIG_NONOPT_KEY' + ); + } + + if (key.length === 1) { + throw new ArgError( + `argument key must have a name; singular '-' keys are not allowed: ${key}`, + 'ARG_CONFIG_NONAME_KEY' + ); + } + + if (typeof opts[key] === 'string') { + aliases[key] = opts[key]; + continue; + } + + let type = opts[key]; + let isFlag = false; + + if ( + Array.isArray(type) && + type.length === 1 && + typeof type[0] === 'function' + ) { + const [fn] = type; + type = (value, name, prev = []) => { + prev.push(fn(value, name, prev[prev.length - 1])); + return prev; + }; + isFlag = fn === Boolean || fn[flagSymbol] === true; + } else if (typeof type === 'function') { + isFlag = type === Boolean || type[flagSymbol] === true; + } else { + throw new ArgError( + `type missing or not a function or valid array type: ${key}`, + 'ARG_CONFIG_VAD_TYPE' + ); + } + + if (key[1] !== '-' && key.length > 2) { + throw new ArgError( + `short argument keys (with a single hyphen) must have only one character: ${key}`, + 'ARG_CONFIG_SHORTOPT_TOOLONG' + ); + } + + handlers[key] = [type, isFlag]; + } + + for (let i = 0, len = argv.length; i < len; i++) { + const wholeArg = argv[i]; + + if (stopAtPositional && result._.length > 0) { + result._ = result._.concat(argv.slice(i)); + break; + } + + if (wholeArg === '--') { + result._ = result._.concat(argv.slice(i + 1)); + break; + } + + if (wholeArg.length > 1 && wholeArg[0] === '-') { + /* eslint-disable operator-linebreak */ + const separatedArguments = + wholeArg[1] === '-' || wholeArg.length === 2 + ? [wholeArg] + : wholeArg + .slice(1) + .split('') + .map((a) => `-${a}`); + /* eslint-enable operator-linebreak */ + + for (let j = 0; j < separatedArguments.length; j++) { + const arg = separatedArguments[j]; + const [originalArgName, argStr] = + arg[1] === '-' ? arg.split(/=(.*)/, 2) : [arg, undefined]; + + let argName = originalArgName; + while (argName in aliases) { + argName = aliases[argName]; + } + + if (!(argName in handlers)) { + if (permissive) { + result._.push(arg); + continue; + } else { + throw new ArgError( + `unknown or unexpected option: ${originalArgName}`, + 'ARG_UNKNOWN_OPTION' + ); + } + } + + const [type, isFlag] = handlers[argName]; + + if (!isFlag && j + 1 < separatedArguments.length) { + throw new ArgError( + `option requires argument (but was followed by another short argument): ${originalArgName}`, + 'ARG_MISSING_REQUIRED_SHORTARG' + ); + } + + if (isFlag) { + result[argName] = type(true, argName, result[argName]); + } else if (argStr === undefined) { + if ( + argv.length < i + 2 || + (argv[i + 1].length > 1 && + argv[i + 1][0] === '-' && + !( + argv[i + 1].match(/^-?\d*(\.(?=\d))?\d*$/) && + (type === Number || + // eslint-disable-next-line no-undef + (typeof BigInt !== 'undefined' && type === BigInt)) + )) + ) { + const extended = + originalArgName === argName ? '' : ` (alias for ${argName})`; + throw new ArgError( + `option requires argument: ${originalArgName}${extended}`, + 'ARG_MISSING_REQUIRED_LONGARG' + ); + } + + result[argName] = type(argv[i + 1], argName, result[argName]); + ++i; + } else { + result[argName] = type(argStr, argName, result[argName]); + } + } + } else { + result._.push(wholeArg); + } + } + + return result; +} + +arg.flag = (fn) => { + fn[flagSymbol] = true; + return fn; +}; + +// Utility types +arg.COUNT = arg.flag((v, name, existingCount) => (existingCount || 0) + 1); + +// Expose error class +arg.ArgError = ArgError; + +var arg_1 = arg; + +/** + @license + The MIT License (MIT) + + Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +*/ +function getOptionValue(opt) { + parseOptions(); + return options[opt]; +} +let options; +function parseOptions() { + if (!options) { + options = { + "--conditions": [], + ...parseArgv(getNodeOptionsEnvArgv()), + ...parseArgv(process.execArgv) + }; + } +} +function parseArgv(argv) { + return arg_1( + { + "--conditions": [String], + "-C": "--conditions" + }, + { + argv, + permissive: true + } + ); +} +function getNodeOptionsEnvArgv() { + const errors = []; + const envArgv = ParseNodeOptionsEnvVar(process.env.NODE_OPTIONS || "", errors); + if (errors.length !== 0) ; + return envArgv; +} +function ParseNodeOptionsEnvVar(node_options, errors) { + const env_argv = []; + let is_in_string = false; + let will_start_new_arg = true; + for (let index = 0; index < node_options.length; ++index) { + let c = node_options[index]; + if (c === "\\" && is_in_string) { + if (index + 1 === node_options.length) { + errors.push("invalid value for NODE_OPTIONS (invalid escape)\n"); + return env_argv; + } else { + c = node_options[++index]; + } + } else if (c === " " && !is_in_string) { + will_start_new_arg = true; + continue; + } else if (c === '"') { + is_in_string = !is_in_string; + continue; + } + if (will_start_new_arg) { + env_argv.push(c); + will_start_new_arg = false; + } else { + env_argv[env_argv.length - 1] += c; + } + } + if (is_in_string) { + errors.push("invalid value for NODE_OPTIONS (unterminated string)\n"); + } + return env_argv; +} + +function makeApi(runtimeState, opts) { + const alwaysWarnOnFallback = Number(process.env.PNP_ALWAYS_WARN_ON_FALLBACK) > 0; + const debugLevel = Number(process.env.PNP_DEBUG_LEVEL); + const pathRegExp = /^(?![a-zA-Z]:[\\/]|\\\\|\.{0,2}(?:\/|$))((?:node:)?(?:@[^/]+\/)?[^/]+)\/*(.*|)$/; + const isStrictRegExp = /^(\/|\.{1,2}(\/|$))/; + const isDirRegExp = /\/$/; + const isRelativeRegexp = /^\.{0,2}\//; + const topLevelLocator = { name: null, reference: null }; + const fallbackLocators = []; + const emittedWarnings = /* @__PURE__ */ new Set(); + if (runtimeState.enableTopLevelFallback === true) + fallbackLocators.push(topLevelLocator); + if (opts.compatibilityMode !== false) { + for (const name of [`react-scripts`, `gatsby`]) { + const packageStore = runtimeState.packageRegistry.get(name); + if (packageStore) { + for (const reference of packageStore.keys()) { + if (reference === null) { + throw new Error(`Assertion failed: This reference shouldn't be null`); + } else { + fallbackLocators.push({ name, reference }); + } + } + } + } + } + const { + ignorePattern, + packageRegistry, + packageLocatorsByLocations + } = runtimeState; + function makeLogEntry(name, args) { + return { + fn: name, + args, + error: null, + result: null + }; + } + function trace(entry) { + const colors = process.stderr?.hasColors?.() ?? process.stdout.isTTY; + const c = (n, str) => `\x1B[${n}m${str}\x1B[0m`; + const error = entry.error; + if (error) + console.error(c(`31;1`, `\u2716 ${entry.error?.message.replace(/\n.*/s, ``)}`)); + else + console.error(c(`33;1`, `\u203C Resolution`)); + if (entry.args.length > 0) + console.error(); + for (const arg of entry.args) + console.error(` ${c(`37;1`, `In \u2190`)} ${nodeUtils.inspect(arg, { colors, compact: true })}`); + if (entry.result) { + console.error(); + console.error(` ${c(`37;1`, `Out \u2192`)} ${nodeUtils.inspect(entry.result, { colors, compact: true })}`); + } + const stack = new Error().stack.match(/(?<=^ +)at.*/gm)?.slice(2) ?? []; + if (stack.length > 0) { + console.error(); + for (const line of stack) { + console.error(` ${c(`38;5;244`, line)}`); + } + } + console.error(); + } + function maybeLog(name, fn) { + if (opts.allowDebug === false) + return fn; + if (Number.isFinite(debugLevel)) { + if (debugLevel >= 2) { + return (...args) => { + const logEntry = makeLogEntry(name, args); + try { + return logEntry.result = fn(...args); + } catch (error) { + throw logEntry.error = error; + } finally { + trace(logEntry); + } + }; + } else if (debugLevel >= 1) { + return (...args) => { + try { + return fn(...args); + } catch (error) { + const logEntry = makeLogEntry(name, args); + logEntry.error = error; + trace(logEntry); + throw error; + } + }; + } + } + return fn; + } + function getPackageInformationSafe(packageLocator) { + const packageInformation = getPackageInformation(packageLocator); + if (!packageInformation) { + throw makeError( + ErrorCode.INTERNAL, + `Couldn't find a matching entry in the dependency tree for the specified parent (this is probably an internal error)` + ); + } + return packageInformation; + } + function isDependencyTreeRoot(packageLocator) { + if (packageLocator.name === null) + return true; + for (const dependencyTreeRoot of runtimeState.dependencyTreeRoots) + if (dependencyTreeRoot.name === packageLocator.name && dependencyTreeRoot.reference === packageLocator.reference) + return true; + return false; + } + const defaultExportsConditions = /* @__PURE__ */ new Set([ + `node`, + `require`, + ...getOptionValue(`--conditions`) + ]); + function applyNodeExportsResolution(unqualifiedPath, conditions = defaultExportsConditions, issuer) { + const locator = findPackageLocator(ppath.join(unqualifiedPath, `internal.js`), { + resolveIgnored: true, + includeDiscardFromLookup: true + }); + if (locator === null) { + throw makeError( + ErrorCode.INTERNAL, + `The locator that owns the "${unqualifiedPath}" path can't be found inside the dependency tree (this is probably an internal error)` + ); + } + const { packageLocation } = getPackageInformationSafe(locator); + const manifestPath = ppath.join(packageLocation, Filename.manifest); + if (!opts.fakeFs.existsSync(manifestPath)) + return null; + const pkgJson = JSON.parse(opts.fakeFs.readFileSync(manifestPath, `utf8`)); + if (pkgJson.exports == null) + return null; + let subpath = ppath.contains(packageLocation, unqualifiedPath); + if (subpath === null) { + throw makeError( + ErrorCode.INTERNAL, + `unqualifiedPath doesn't contain the packageLocation (this is probably an internal error)` + ); + } + if (subpath !== `.` && !isRelativeRegexp.test(subpath)) + subpath = `./${subpath}`; + try { + const resolvedExport = packageExportsResolve({ + packageJSONUrl: url.pathToFileURL(npath.fromPortablePath(manifestPath)), + packageSubpath: subpath, + exports: pkgJson.exports, + base: issuer ? url.pathToFileURL(npath.fromPortablePath(issuer)) : null, + conditions + }); + return npath.toPortablePath(url.fileURLToPath(resolvedExport)); + } catch (error) { + throw makeError( + ErrorCode.EXPORTS_RESOLUTION_FAILED, + error.message, + { unqualifiedPath: getPathForDisplay(unqualifiedPath), locator, pkgJson, subpath: getPathForDisplay(subpath), conditions }, + error.code + ); + } + } + function applyNodeExtensionResolution(unqualifiedPath, candidates, { extensions }) { + let stat; + try { + candidates.push(unqualifiedPath); + stat = opts.fakeFs.statSync(unqualifiedPath); + } catch (error) { + } + if (stat && !stat.isDirectory()) + return opts.fakeFs.realpathSync(unqualifiedPath); + if (stat && stat.isDirectory()) { + let pkgJson; + try { + pkgJson = JSON.parse(opts.fakeFs.readFileSync(ppath.join(unqualifiedPath, Filename.manifest), `utf8`)); + } catch (error) { + } + let nextUnqualifiedPath; + if (pkgJson && pkgJson.main) + nextUnqualifiedPath = ppath.resolve(unqualifiedPath, pkgJson.main); + if (nextUnqualifiedPath && nextUnqualifiedPath !== unqualifiedPath) { + const resolution = applyNodeExtensionResolution(nextUnqualifiedPath, candidates, { extensions }); + if (resolution !== null) { + return resolution; + } + } + } + for (let i = 0, length = extensions.length; i < length; i++) { + const candidateFile = `${unqualifiedPath}${extensions[i]}`; + candidates.push(candidateFile); + if (opts.fakeFs.existsSync(candidateFile)) { + return candidateFile; + } + } + if (stat && stat.isDirectory()) { + for (let i = 0, length = extensions.length; i < length; i++) { + const candidateFile = ppath.format({ dir: unqualifiedPath, name: `index`, ext: extensions[i] }); + candidates.push(candidateFile); + if (opts.fakeFs.existsSync(candidateFile)) { + return candidateFile; + } + } + } + return null; + } + function makeFakeModule(path) { + const fakeModule = new require$$0.Module(path, null); + fakeModule.filename = path; + fakeModule.paths = require$$0.Module._nodeModulePaths(path); + return fakeModule; + } + function callNativeResolution(request, issuer) { + if (issuer.endsWith(`/`)) + issuer = ppath.join(issuer, `internal.js`); + return require$$0.Module._resolveFilename(npath.fromPortablePath(request), makeFakeModule(npath.fromPortablePath(issuer)), false, { plugnplay: false }); + } + function isPathIgnored(path) { + if (ignorePattern === null) + return false; + const subPath = ppath.contains(runtimeState.basePath, path); + if (subPath === null) + return false; + if (ignorePattern.test(subPath.replace(/\/$/, ``))) { + return true; + } else { + return false; + } + } + const VERSIONS = { std: 3, resolveVirtual: 1, getAllLocators: 1 }; + const topLevel = topLevelLocator; + function getPackageInformation({ name, reference }) { + const packageInformationStore = packageRegistry.get(name); + if (!packageInformationStore) + return null; + const packageInformation = packageInformationStore.get(reference); + if (!packageInformation) + return null; + return packageInformation; + } + function findPackageDependents({ name, reference }) { + const dependents = []; + for (const [dependentName, packageInformationStore] of packageRegistry) { + if (dependentName === null) + continue; + for (const [dependentReference, packageInformation] of packageInformationStore) { + if (dependentReference === null) + continue; + const dependencyReference = packageInformation.packageDependencies.get(name); + if (dependencyReference !== reference) + continue; + if (dependentName === name && dependentReference === reference) + continue; + dependents.push({ + name: dependentName, + reference: dependentReference + }); + } + } + return dependents; + } + function findBrokenPeerDependencies(dependency, initialPackage) { + const brokenPackages = /* @__PURE__ */ new Map(); + const alreadyVisited = /* @__PURE__ */ new Set(); + const traversal = (currentPackage) => { + const identifier = JSON.stringify(currentPackage.name); + if (alreadyVisited.has(identifier)) + return; + alreadyVisited.add(identifier); + const dependents = findPackageDependents(currentPackage); + for (const dependent of dependents) { + const dependentInformation = getPackageInformationSafe(dependent); + if (dependentInformation.packagePeers.has(dependency)) { + traversal(dependent); + } else { + let brokenSet = brokenPackages.get(dependent.name); + if (typeof brokenSet === `undefined`) + brokenPackages.set(dependent.name, brokenSet = /* @__PURE__ */ new Set()); + brokenSet.add(dependent.reference); + } + } + }; + traversal(initialPackage); + const brokenList = []; + for (const name of [...brokenPackages.keys()].sort()) + for (const reference of [...brokenPackages.get(name)].sort()) + brokenList.push({ name, reference }); + return brokenList; + } + function findPackageLocator(location, { resolveIgnored = false, includeDiscardFromLookup = false } = {}) { + if (isPathIgnored(location) && !resolveIgnored) + return null; + let relativeLocation = ppath.relative(runtimeState.basePath, location); + if (!relativeLocation.match(isStrictRegExp)) + relativeLocation = `./${relativeLocation}`; + if (!relativeLocation.endsWith(`/`)) + relativeLocation = `${relativeLocation}/`; + do { + const entry = packageLocatorsByLocations.get(relativeLocation); + if (typeof entry === `undefined` || entry.discardFromLookup && !includeDiscardFromLookup) { + relativeLocation = relativeLocation.substring(0, relativeLocation.lastIndexOf(`/`, relativeLocation.length - 2) + 1); + continue; + } + return entry.locator; + } while (relativeLocation !== ``); + return null; + } + function tryReadFile(filePath) { + try { + return opts.fakeFs.readFileSync(npath.toPortablePath(filePath), `utf8`); + } catch (err) { + if (err.code === `ENOENT`) + return void 0; + throw err; + } + } + function resolveToUnqualified(request, issuer, { considerBuiltins = true } = {}) { + if (request.startsWith(`#`)) + throw new Error(`resolveToUnqualified can not handle private import mappings`); + if (request === `pnpapi`) + return npath.toPortablePath(opts.pnpapiResolution); + if (considerBuiltins && require$$0.isBuiltin(request)) + return null; + const requestForDisplay = getPathForDisplay(request); + const issuerForDisplay = issuer && getPathForDisplay(issuer); + if (issuer && isPathIgnored(issuer)) { + if (!ppath.isAbsolute(request) || findPackageLocator(request) === null) { + const result = callNativeResolution(request, issuer); + if (result === false) { + throw makeError( + ErrorCode.BUILTIN_NODE_RESOLUTION_FAILED, + `The builtin node resolution algorithm was unable to resolve the requested module (it didn't go through the pnp resolver because the issuer was explicitely ignored by the regexp) + +Require request: "${requestForDisplay}" +Required by: ${issuerForDisplay} +`, + { request: requestForDisplay, issuer: issuerForDisplay } + ); + } + return npath.toPortablePath(result); + } + } + let unqualifiedPath; + const dependencyNameMatch = request.match(pathRegExp); + if (!dependencyNameMatch) { + if (ppath.isAbsolute(request)) { + unqualifiedPath = ppath.normalize(request); + } else { + if (!issuer) { + throw makeError( + ErrorCode.API_ERROR, + `The resolveToUnqualified function must be called with a valid issuer when the path isn't a builtin nor absolute`, + { request: requestForDisplay, issuer: issuerForDisplay } + ); + } + const absoluteIssuer = ppath.resolve(issuer); + if (issuer.match(isDirRegExp)) { + unqualifiedPath = ppath.normalize(ppath.join(absoluteIssuer, request)); + } else { + unqualifiedPath = ppath.normalize(ppath.join(ppath.dirname(absoluteIssuer), request)); + } + } + } else { + if (!issuer) { + throw makeError( + ErrorCode.API_ERROR, + `The resolveToUnqualified function must be called with a valid issuer when the path isn't a builtin nor absolute`, + { request: requestForDisplay, issuer: issuerForDisplay } + ); + } + const [, dependencyName, subPath] = dependencyNameMatch; + const issuerLocator = findPackageLocator(issuer); + if (!issuerLocator) { + const result = callNativeResolution(request, issuer); + if (result === false) { + throw makeError( + ErrorCode.BUILTIN_NODE_RESOLUTION_FAILED, + `The builtin node resolution algorithm was unable to resolve the requested module (it didn't go through the pnp resolver because the issuer doesn't seem to be part of the Yarn-managed dependency tree). + +Require path: "${requestForDisplay}" +Required by: ${issuerForDisplay} +`, + { request: requestForDisplay, issuer: issuerForDisplay } + ); + } + return npath.toPortablePath(result); + } + const issuerInformation = getPackageInformationSafe(issuerLocator); + let dependencyReference = issuerInformation.packageDependencies.get(dependencyName); + let fallbackReference = null; + if (dependencyReference == null) { + if (issuerLocator.name !== null) { + const exclusionEntry = runtimeState.fallbackExclusionList.get(issuerLocator.name); + const canUseFallbacks = !exclusionEntry || !exclusionEntry.has(issuerLocator.reference); + if (canUseFallbacks) { + for (let t = 0, T = fallbackLocators.length; t < T; ++t) { + const fallbackInformation = getPackageInformationSafe(fallbackLocators[t]); + const reference = fallbackInformation.packageDependencies.get(dependencyName); + if (reference == null) + continue; + if (alwaysWarnOnFallback) + fallbackReference = reference; + else + dependencyReference = reference; + break; + } + if (runtimeState.enableTopLevelFallback) { + if (dependencyReference == null && fallbackReference === null) { + const reference = runtimeState.fallbackPool.get(dependencyName); + if (reference != null) { + fallbackReference = reference; + } + } + } + } + } + } + let error = null; + if (dependencyReference === null) { + if (isDependencyTreeRoot(issuerLocator)) { + error = makeError( + ErrorCode.MISSING_PEER_DEPENDENCY, + `Your application tried to access ${dependencyName} (a peer dependency); this isn't allowed as there is no ancestor to satisfy the requirement. Use a devDependency if needed. + +Required package: ${dependencyName}${dependencyName !== requestForDisplay ? ` (via "${requestForDisplay}")` : ``} +Required by: ${issuerForDisplay} +`, + { request: requestForDisplay, issuer: issuerForDisplay, dependencyName } + ); + } else { + const brokenAncestors = findBrokenPeerDependencies(dependencyName, issuerLocator); + if (brokenAncestors.every((ancestor) => isDependencyTreeRoot(ancestor))) { + error = makeError( + ErrorCode.MISSING_PEER_DEPENDENCY, + `${issuerLocator.name} tried to access ${dependencyName} (a peer dependency) but it isn't provided by your application; this makes the require call ambiguous and unsound. + +Required package: ${dependencyName}${dependencyName !== requestForDisplay ? ` (via "${requestForDisplay}")` : ``} +Required by: ${issuerLocator.name}@${issuerLocator.reference} (via ${issuerForDisplay}) +${brokenAncestors.map((ancestorLocator) => `Ancestor breaking the chain: ${ancestorLocator.name}@${ancestorLocator.reference} +`).join(``)} +`, + { request: requestForDisplay, issuer: issuerForDisplay, issuerLocator: Object.assign({}, issuerLocator), dependencyName, brokenAncestors } + ); + } else { + error = makeError( + ErrorCode.MISSING_PEER_DEPENDENCY, + `${issuerLocator.name} tried to access ${dependencyName} (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound. + +Required package: ${dependencyName}${dependencyName !== requestForDisplay ? ` (via "${requestForDisplay}")` : ``} +Required by: ${issuerLocator.name}@${issuerLocator.reference} (via ${issuerForDisplay}) + +${brokenAncestors.map((ancestorLocator) => `Ancestor breaking the chain: ${ancestorLocator.name}@${ancestorLocator.reference} +`).join(``)} +`, + { request: requestForDisplay, issuer: issuerForDisplay, issuerLocator: Object.assign({}, issuerLocator), dependencyName, brokenAncestors } + ); + } + } + } else if (dependencyReference === void 0) { + if (!considerBuiltins && require$$0.isBuiltin(request)) { + if (isDependencyTreeRoot(issuerLocator)) { + error = makeError( + ErrorCode.UNDECLARED_DEPENDENCY, + `Your application tried to access ${dependencyName}. While this module is usually interpreted as a Node builtin, your resolver is running inside a non-Node resolution context where such builtins are ignored. Since ${dependencyName} isn't otherwise declared in your dependencies, this makes the require call ambiguous and unsound. + +Required package: ${dependencyName}${dependencyName !== requestForDisplay ? ` (via "${requestForDisplay}")` : ``} +Required by: ${issuerForDisplay} +`, + { request: requestForDisplay, issuer: issuerForDisplay, dependencyName } + ); + } else { + error = makeError( + ErrorCode.UNDECLARED_DEPENDENCY, + `${issuerLocator.name} tried to access ${dependencyName}. While this module is usually interpreted as a Node builtin, your resolver is running inside a non-Node resolution context where such builtins are ignored. Since ${dependencyName} isn't otherwise declared in ${issuerLocator.name}'s dependencies, this makes the require call ambiguous and unsound. + +Required package: ${dependencyName}${dependencyName !== requestForDisplay ? ` (via "${requestForDisplay}")` : ``} +Required by: ${issuerForDisplay} +`, + { request: requestForDisplay, issuer: issuerForDisplay, issuerLocator: Object.assign({}, issuerLocator), dependencyName } + ); + } + } else { + if (isDependencyTreeRoot(issuerLocator)) { + error = makeError( + ErrorCode.UNDECLARED_DEPENDENCY, + `Your application tried to access ${dependencyName}, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound. + +Required package: ${dependencyName}${dependencyName !== requestForDisplay ? ` (via "${requestForDisplay}")` : ``} +Required by: ${issuerForDisplay} +`, + { request: requestForDisplay, issuer: issuerForDisplay, dependencyName } + ); + } else { + error = makeError( + ErrorCode.UNDECLARED_DEPENDENCY, + `${issuerLocator.name} tried to access ${dependencyName}, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound. + +Required package: ${dependencyName}${dependencyName !== requestForDisplay ? ` (via "${requestForDisplay}")` : ``} +Required by: ${issuerLocator.name}@${issuerLocator.reference} (via ${issuerForDisplay}) +`, + { request: requestForDisplay, issuer: issuerForDisplay, issuerLocator: Object.assign({}, issuerLocator), dependencyName } + ); + } + } + } + if (dependencyReference == null) { + if (fallbackReference === null || error === null) + throw error || new Error(`Assertion failed: Expected an error to have been set`); + dependencyReference = fallbackReference; + const message = error.message.replace(/\n.*/g, ``); + error.message = message; + if (!emittedWarnings.has(message) && debugLevel !== 0) { + emittedWarnings.add(message); + process.emitWarning(error); + } + } + const dependencyLocator = Array.isArray(dependencyReference) ? { name: dependencyReference[0], reference: dependencyReference[1] } : { name: dependencyName, reference: dependencyReference }; + const dependencyInformation = getPackageInformationSafe(dependencyLocator); + if (!dependencyInformation.packageLocation) { + throw makeError( + ErrorCode.MISSING_DEPENDENCY, + `A dependency seems valid but didn't get installed for some reason. This might be caused by a partial install, such as dev vs prod. + +Required package: ${dependencyLocator.name}@${dependencyLocator.reference}${dependencyLocator.name !== requestForDisplay ? ` (via "${requestForDisplay}")` : ``} +Required by: ${issuerLocator.name}@${issuerLocator.reference} (via ${issuerForDisplay}) +`, + { request: requestForDisplay, issuer: issuerForDisplay, dependencyLocator: Object.assign({}, dependencyLocator) } + ); + } + const dependencyLocation = dependencyInformation.packageLocation; + if (subPath) { + unqualifiedPath = ppath.join(dependencyLocation, subPath); + } else { + unqualifiedPath = dependencyLocation; + } + } + return ppath.normalize(unqualifiedPath); + } + function resolveUnqualifiedExport(request, unqualifiedPath, conditions = defaultExportsConditions, issuer) { + if (isStrictRegExp.test(request)) + return unqualifiedPath; + const unqualifiedExportPath = applyNodeExportsResolution(unqualifiedPath, conditions, issuer); + if (unqualifiedExportPath) { + return ppath.normalize(unqualifiedExportPath); + } else { + return unqualifiedPath; + } + } + function resolveUnqualified(unqualifiedPath, { extensions = Object.keys(require$$0.Module._extensions) } = {}) { + const candidates = []; + const qualifiedPath = applyNodeExtensionResolution(unqualifiedPath, candidates, { extensions }); + if (qualifiedPath) { + return ppath.normalize(qualifiedPath); + } else { + reportRequiredFilesToWatchMode(candidates.map((candidate) => npath.fromPortablePath(candidate))); + const unqualifiedPathForDisplay = getPathForDisplay(unqualifiedPath); + const containingPackage = findPackageLocator(unqualifiedPath); + if (containingPackage) { + const { packageLocation } = getPackageInformationSafe(containingPackage); + let exists = true; + try { + opts.fakeFs.accessSync(packageLocation); + } catch (err) { + if (err?.code === `ENOENT`) { + exists = false; + } else { + const readableError = (err?.message ?? err ?? `empty exception thrown`).replace(/^[A-Z]/, ($0) => $0.toLowerCase()); + throw makeError(ErrorCode.QUALIFIED_PATH_RESOLUTION_FAILED, `Required package exists but could not be accessed (${readableError}). + +Missing package: ${containingPackage.name}@${containingPackage.reference} +Expected package location: ${getPathForDisplay(packageLocation)} +`, { unqualifiedPath: unqualifiedPathForDisplay, extensions }); + } + } + if (!exists) { + const errorMessage = packageLocation.includes(`/unplugged/`) ? `Required unplugged package missing from disk. This may happen when switching branches without running installs (unplugged packages must be fully materialized on disk to work).` : `Required package missing from disk. If you keep your packages inside your repository then restarting the Node process may be enough. Otherwise, try to run an install first.`; + throw makeError( + ErrorCode.QUALIFIED_PATH_RESOLUTION_FAILED, + `${errorMessage} + +Missing package: ${containingPackage.name}@${containingPackage.reference} +Expected package location: ${getPathForDisplay(packageLocation)} +`, + { unqualifiedPath: unqualifiedPathForDisplay, extensions } + ); + } + } + throw makeError( + ErrorCode.QUALIFIED_PATH_RESOLUTION_FAILED, + `Qualified path resolution failed: we looked for the following paths, but none could be accessed. + +Source path: ${unqualifiedPathForDisplay} +${candidates.map((candidate) => `Not found: ${getPathForDisplay(candidate)} +`).join(``)}`, + { unqualifiedPath: unqualifiedPathForDisplay, extensions } + ); + } + } + function resolvePrivateRequest(request, issuer, opts2) { + if (!issuer) + throw new Error(`Assertion failed: An issuer is required to resolve private import mappings`); + const resolved = packageImportsResolve({ + name: request, + base: url.pathToFileURL(npath.fromPortablePath(issuer)), + conditions: opts2.conditions ?? defaultExportsConditions, + readFileSyncFn: tryReadFile + }); + if (resolved instanceof URL) { + return resolveUnqualified(npath.toPortablePath(url.fileURLToPath(resolved)), { extensions: opts2.extensions }); + } else { + if (resolved.startsWith(`#`)) + throw new Error(`Mapping from one private import to another isn't allowed`); + return resolveRequest(resolved, issuer, opts2); + } + } + function resolveRequest(request, issuer, opts2 = {}) { + try { + if (request.startsWith(`#`)) + return resolvePrivateRequest(request, issuer, opts2); + const { considerBuiltins, extensions, conditions } = opts2; + const unqualifiedPath = resolveToUnqualified(request, issuer, { considerBuiltins }); + if (request === `pnpapi`) + return unqualifiedPath; + if (unqualifiedPath === null) + return null; + const isIssuerIgnored = () => issuer !== null ? isPathIgnored(issuer) : false; + const remappedPath = (!considerBuiltins || !require$$0.isBuiltin(request)) && !isIssuerIgnored() ? resolveUnqualifiedExport(request, unqualifiedPath, conditions, issuer) : unqualifiedPath; + return resolveUnqualified(remappedPath, { extensions }); + } catch (error) { + if (Object.hasOwn(error, `pnpCode`)) + Object.assign(error.data, { request: getPathForDisplay(request), issuer: issuer && getPathForDisplay(issuer) }); + throw error; + } + } + function resolveVirtual(request) { + const normalized = ppath.normalize(request); + const resolved = VirtualFS.resolveVirtual(normalized); + return resolved !== normalized ? resolved : null; + } + return { + VERSIONS, + topLevel, + getLocator: (name, referencish) => { + if (Array.isArray(referencish)) { + return { name: referencish[0], reference: referencish[1] }; + } else { + return { name, reference: referencish }; + } + }, + getDependencyTreeRoots: () => { + return [...runtimeState.dependencyTreeRoots]; + }, + getAllLocators() { + const locators = []; + for (const [name, entry] of packageRegistry) + for (const reference of entry.keys()) + if (name !== null && reference !== null) + locators.push({ name, reference }); + return locators; + }, + getPackageInformation: (locator) => { + const info = getPackageInformation(locator); + if (info === null) + return null; + const packageLocation = npath.fromPortablePath(info.packageLocation); + const nativeInfo = { ...info, packageLocation }; + return nativeInfo; + }, + findPackageLocator: (path) => { + return findPackageLocator(npath.toPortablePath(path)); + }, + resolveToUnqualified: maybeLog(`resolveToUnqualified`, (request, issuer, opts2) => { + const portableIssuer = issuer !== null ? npath.toPortablePath(issuer) : null; + const resolution = resolveToUnqualified(npath.toPortablePath(request), portableIssuer, opts2); + if (resolution === null) + return null; + return npath.fromPortablePath(resolution); + }), + resolveUnqualified: maybeLog(`resolveUnqualified`, (unqualifiedPath, opts2) => { + return npath.fromPortablePath(resolveUnqualified(npath.toPortablePath(unqualifiedPath), opts2)); + }), + resolveRequest: maybeLog(`resolveRequest`, (request, issuer, opts2) => { + const portableIssuer = issuer !== null ? npath.toPortablePath(issuer) : null; + const resolution = resolveRequest(npath.toPortablePath(request), portableIssuer, opts2); + if (resolution === null) + return null; + return npath.fromPortablePath(resolution); + }), + resolveVirtual: maybeLog(`resolveVirtual`, (path) => { + const result = resolveVirtual(npath.toPortablePath(path)); + if (result !== null) { + return npath.fromPortablePath(result); + } else { + return null; + } + }) + }; +} + +function makeManager(pnpapi, opts) { + const initialApiPath = npath.toPortablePath(pnpapi.resolveToUnqualified(`pnpapi`, null)); + const initialApiStats = opts.fakeFs.statSync(npath.toPortablePath(initialApiPath)); + const apiMetadata = /* @__PURE__ */ new Map([ + [initialApiPath, { + instance: pnpapi, + stats: initialApiStats, + lastRefreshCheck: Date.now() + }] + ]); + function loadApiInstance(pnpApiPath) { + const nativePath = npath.fromPortablePath(pnpApiPath); + const module = new require$$0.Module(nativePath, null); + module.load(nativePath); + return module.exports; + } + function refreshApiEntry(pnpApiPath, apiEntry) { + const timeNow = Date.now(); + if (timeNow - apiEntry.lastRefreshCheck < 500) + return; + apiEntry.lastRefreshCheck = timeNow; + const stats = opts.fakeFs.statSync(pnpApiPath); + if (stats.mtime > apiEntry.stats.mtime) { + process.emitWarning(`[Warning] The runtime detected new information in a PnP file; reloading the API instance (${npath.fromPortablePath(pnpApiPath)})`); + apiEntry.stats = stats; + apiEntry.instance = loadApiInstance(pnpApiPath); + } + } + function getApiEntry(pnpApiPath, refresh = false) { + let apiEntry = apiMetadata.get(pnpApiPath); + if (typeof apiEntry !== `undefined`) { + if (refresh) { + refreshApiEntry(pnpApiPath, apiEntry); + } + } else { + apiMetadata.set(pnpApiPath, apiEntry = { + instance: loadApiInstance(pnpApiPath), + stats: opts.fakeFs.statSync(pnpApiPath), + lastRefreshCheck: Date.now() + }); + } + return apiEntry; + } + const findApiPathCache = /* @__PURE__ */ new Map(); + function addToCacheAndReturn(start, end, target) { + if (target !== null) { + target = VirtualFS.resolveVirtual(target); + target = opts.fakeFs.realpathSync(target); + } + let curr; + let next = start; + do { + curr = next; + findApiPathCache.set(curr, target); + next = ppath.dirname(curr); + } while (curr !== end); + return target; + } + function findApiPathFor(modulePath) { + let bestCandidate = null; + for (const [apiPath, apiEntry] of apiMetadata) { + const locator = apiEntry.instance.findPackageLocator(modulePath); + if (!locator) + continue; + if (apiMetadata.size === 1) + return apiPath; + const packageInformation = apiEntry.instance.getPackageInformation(locator); + if (!packageInformation) + throw new Error(`Assertion failed: Couldn't get package information for '${modulePath}'`); + if (!bestCandidate) + bestCandidate = { packageLocation: packageInformation.packageLocation, apiPaths: [] }; + if (packageInformation.packageLocation === bestCandidate.packageLocation) { + bestCandidate.apiPaths.push(apiPath); + } else if (packageInformation.packageLocation.length > bestCandidate.packageLocation.length) { + bestCandidate = { packageLocation: packageInformation.packageLocation, apiPaths: [apiPath] }; + } + } + if (bestCandidate) { + if (bestCandidate.apiPaths.length === 1) + return bestCandidate.apiPaths[0]; + const controlSegment = bestCandidate.apiPaths.map((apiPath) => ` ${npath.fromPortablePath(apiPath)}`).join(` +`); + throw new Error(`Unable to locate pnpapi, the module '${modulePath}' is controlled by multiple pnpapi instances. +This is usually caused by using the global cache (enableGlobalCache: true) + +Controlled by: +${controlSegment} +`); + } + const start = ppath.resolve(npath.toPortablePath(modulePath)); + let curr; + let next = start; + do { + curr = next; + const cached = findApiPathCache.get(curr); + if (cached !== void 0) + return addToCacheAndReturn(start, curr, cached); + const cjsCandidate = ppath.join(curr, Filename.pnpCjs); + if (opts.fakeFs.existsSync(cjsCandidate) && opts.fakeFs.statSync(cjsCandidate).isFile()) + return addToCacheAndReturn(start, curr, cjsCandidate); + const legacyCjsCandidate = ppath.join(curr, Filename.pnpJs); + if (opts.fakeFs.existsSync(legacyCjsCandidate) && opts.fakeFs.statSync(legacyCjsCandidate).isFile()) + return addToCacheAndReturn(start, curr, legacyCjsCandidate); + next = ppath.dirname(curr); + } while (curr !== PortablePath.root); + return addToCacheAndReturn(start, curr, null); + } + const moduleToApiPathCache = /* @__PURE__ */ new WeakMap(); + function getApiPathFromParent(parent) { + if (parent == null) + return initialApiPath; + let apiPath = moduleToApiPathCache.get(parent); + if (typeof apiPath !== `undefined`) + return apiPath; + apiPath = parent.filename ? findApiPathFor(parent.filename) : null; + moduleToApiPathCache.set(parent, apiPath); + return apiPath; + } + return { + getApiPathFromParent, + findApiPathFor, + getApiEntry + }; +} + +const localFs = { ...fs__default.default }; +const nodeFs = new NodeFS(localFs); +const defaultRuntimeState = $$SETUP_STATE(hydrateRuntimeState); +const defaultPnpapiResolution = __filename; +const defaultFsLayer = new VirtualFS({ + baseFs: new ZipOpenFS({ + baseFs: nodeFs, + maxOpenFiles: 80, + readOnlyArchives: true + }) +}); +class DynamicFS extends ProxiedFS { + constructor() { + super(ppath); + this.baseFs = defaultFsLayer; + } + mapToBase(p) { + return p; + } + mapFromBase(p) { + return p; + } +} +const dynamicFsLayer = new DynamicFS(); +let manager; +const defaultApi = Object.assign(makeApi(defaultRuntimeState, { + fakeFs: dynamicFsLayer, + pnpapiResolution: defaultPnpapiResolution +}), { + makeApi: ({ + basePath = void 0, + fakeFs = dynamicFsLayer, + pnpapiResolution = defaultPnpapiResolution, + ...rest + }) => { + const apiRuntimeState = typeof basePath !== `undefined` ? $$SETUP_STATE(hydrateRuntimeState, basePath) : defaultRuntimeState; + return makeApi(apiRuntimeState, { + fakeFs, + pnpapiResolution, + ...rest + }); + }, + setup: (api) => { + applyPatch(api || defaultApi, { + fakeFs: defaultFsLayer, + manager + }); + dynamicFsLayer.baseFs = new NodeFS(fs__default.default); + } +}); +manager = makeManager(defaultApi, { + fakeFs: dynamicFsLayer +}); +if (module.parent && module.parent.id === `internal/preload`) { + defaultApi.setup(); + if (module.filename) { + delete require$$0__default.default._cache[module.filename]; + } +} +if (process.mainModule === module) { + const reportError = (code, message, data) => { + process.stdout.write(`${JSON.stringify([{ code, message, data }, null])} +`); + }; + const reportSuccess = (resolution) => { + process.stdout.write(`${JSON.stringify([null, resolution])} +`); + }; + const processResolution = (request, issuer) => { + try { + reportSuccess(defaultApi.resolveRequest(request, issuer)); + } catch (error) { + reportError(error.code, error.message, error.data); + } + }; + const processRequest = (data) => { + try { + const [request, issuer] = JSON.parse(data); + processResolution(request, issuer); + } catch (error) { + reportError(`INVALID_JSON`, error.message, error.data); + } + }; + if (process.argv.length > 2) { + if (process.argv.length !== 4) { + process.stderr.write(`Usage: ${process.argv[0]} ${process.argv[1]} +`); + process.exitCode = 64; + } else { + processResolution(process.argv[2], process.argv[3]); + } + } else { + let buffer = ``; + const decoder = new StringDecoder__default.default.StringDecoder(); + process.stdin.on(`data`, (chunk) => { + buffer += decoder.write(chunk); + do { + const index = buffer.indexOf(` +`); + if (index === -1) + break; + const line = buffer.slice(0, index); + buffer = buffer.slice(index + 1); + processRequest(line); + } while (true); + }); + } +} + +module.exports = defaultApi; diff --git a/Iceshrimp.Frontend/.pnp.loader.mjs b/Iceshrimp.Frontend/.pnp.loader.mjs new file mode 100644 index 00000000..fe96ee1d --- /dev/null +++ b/Iceshrimp.Frontend/.pnp.loader.mjs @@ -0,0 +1,2090 @@ +import fs from 'fs'; +import { URL as URL$1, fileURLToPath, pathToFileURL } from 'url'; +import path from 'path'; +import { createHash } from 'crypto'; +import { EOL } from 'os'; +import moduleExports, { isBuiltin } from 'module'; +import assert from 'assert'; + +const SAFE_TIME = 456789e3; + +const PortablePath = { + root: `/`, + dot: `.`, + parent: `..` +}; +const npath = Object.create(path); +const ppath = Object.create(path.posix); +npath.cwd = () => process.cwd(); +ppath.cwd = process.platform === `win32` ? () => toPortablePath(process.cwd()) : process.cwd; +if (process.platform === `win32`) { + ppath.resolve = (...segments) => { + if (segments.length > 0 && ppath.isAbsolute(segments[0])) { + return path.posix.resolve(...segments); + } else { + return path.posix.resolve(ppath.cwd(), ...segments); + } + }; +} +const contains = function(pathUtils, from, to) { + from = pathUtils.normalize(from); + to = pathUtils.normalize(to); + if (from === to) + return `.`; + if (!from.endsWith(pathUtils.sep)) + from = from + pathUtils.sep; + if (to.startsWith(from)) { + return to.slice(from.length); + } else { + return null; + } +}; +npath.contains = (from, to) => contains(npath, from, to); +ppath.contains = (from, to) => contains(ppath, from, to); +const WINDOWS_PATH_REGEXP = /^([a-zA-Z]:.*)$/; +const UNC_WINDOWS_PATH_REGEXP = /^\/\/(\.\/)?(.*)$/; +const PORTABLE_PATH_REGEXP = /^\/([a-zA-Z]:.*)$/; +const UNC_PORTABLE_PATH_REGEXP = /^\/unc\/(\.dot\/)?(.*)$/; +function fromPortablePathWin32(p) { + let portablePathMatch, uncPortablePathMatch; + if (portablePathMatch = p.match(PORTABLE_PATH_REGEXP)) + p = portablePathMatch[1]; + else if (uncPortablePathMatch = p.match(UNC_PORTABLE_PATH_REGEXP)) + p = `\\\\${uncPortablePathMatch[1] ? `.\\` : ``}${uncPortablePathMatch[2]}`; + else + return p; + return p.replace(/\//g, `\\`); +} +function toPortablePathWin32(p) { + p = p.replace(/\\/g, `/`); + let windowsPathMatch, uncWindowsPathMatch; + if (windowsPathMatch = p.match(WINDOWS_PATH_REGEXP)) + p = `/${windowsPathMatch[1]}`; + else if (uncWindowsPathMatch = p.match(UNC_WINDOWS_PATH_REGEXP)) + p = `/unc/${uncWindowsPathMatch[1] ? `.dot/` : ``}${uncWindowsPathMatch[2]}`; + return p; +} +const toPortablePath = process.platform === `win32` ? toPortablePathWin32 : (p) => p; +const fromPortablePath = process.platform === `win32` ? fromPortablePathWin32 : (p) => p; +npath.fromPortablePath = fromPortablePath; +npath.toPortablePath = toPortablePath; +function convertPath(targetPathUtils, sourcePath) { + return targetPathUtils === npath ? fromPortablePath(sourcePath) : toPortablePath(sourcePath); +} + +const defaultTime = new Date(SAFE_TIME * 1e3); +const defaultTimeMs = defaultTime.getTime(); +async function copyPromise(destinationFs, destination, sourceFs, source, opts) { + const normalizedDestination = destinationFs.pathUtils.normalize(destination); + const normalizedSource = sourceFs.pathUtils.normalize(source); + const prelayout = []; + const postlayout = []; + const { atime, mtime } = opts.stableTime ? { atime: defaultTime, mtime: defaultTime } : await sourceFs.lstatPromise(normalizedSource); + await destinationFs.mkdirpPromise(destinationFs.pathUtils.dirname(destination), { utimes: [atime, mtime] }); + await copyImpl(prelayout, postlayout, destinationFs, normalizedDestination, sourceFs, normalizedSource, { ...opts, didParentExist: true }); + for (const operation of prelayout) + await operation(); + await Promise.all(postlayout.map((operation) => { + return operation(); + })); +} +async function copyImpl(prelayout, postlayout, destinationFs, destination, sourceFs, source, opts) { + const destinationStat = opts.didParentExist ? await maybeLStat(destinationFs, destination) : null; + const sourceStat = await sourceFs.lstatPromise(source); + const { atime, mtime } = opts.stableTime ? { atime: defaultTime, mtime: defaultTime } : sourceStat; + let updated; + switch (true) { + case sourceStat.isDirectory(): + { + updated = await copyFolder(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts); + } + break; + case sourceStat.isFile(): + { + updated = await copyFile(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts); + } + break; + case sourceStat.isSymbolicLink(): + { + updated = await copySymlink(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts); + } + break; + default: + { + throw new Error(`Unsupported file type (${sourceStat.mode})`); + } + } + if (opts.linkStrategy?.type !== `HardlinkFromIndex` || !sourceStat.isFile()) { + if (updated || destinationStat?.mtime?.getTime() !== mtime.getTime() || destinationStat?.atime?.getTime() !== atime.getTime()) { + postlayout.push(() => destinationFs.lutimesPromise(destination, atime, mtime)); + updated = true; + } + if (destinationStat === null || (destinationStat.mode & 511) !== (sourceStat.mode & 511)) { + postlayout.push(() => destinationFs.chmodPromise(destination, sourceStat.mode & 511)); + updated = true; + } + } + return updated; +} +async function maybeLStat(baseFs, p) { + try { + return await baseFs.lstatPromise(p); + } catch (e) { + return null; + } +} +async function copyFolder(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts) { + if (destinationStat !== null && !destinationStat.isDirectory()) { + if (opts.overwrite) { + prelayout.push(async () => destinationFs.removePromise(destination)); + destinationStat = null; + } else { + return false; + } + } + let updated = false; + if (destinationStat === null) { + prelayout.push(async () => { + try { + await destinationFs.mkdirPromise(destination, { mode: sourceStat.mode }); + } catch (err) { + if (err.code !== `EEXIST`) { + throw err; + } + } + }); + updated = true; + } + const entries = await sourceFs.readdirPromise(source); + const nextOpts = opts.didParentExist && !destinationStat ? { ...opts, didParentExist: false } : opts; + if (opts.stableSort) { + for (const entry of entries.sort()) { + if (await copyImpl(prelayout, postlayout, destinationFs, destinationFs.pathUtils.join(destination, entry), sourceFs, sourceFs.pathUtils.join(source, entry), nextOpts)) { + updated = true; + } + } + } else { + const entriesUpdateStatus = await Promise.all(entries.map(async (entry) => { + await copyImpl(prelayout, postlayout, destinationFs, destinationFs.pathUtils.join(destination, entry), sourceFs, sourceFs.pathUtils.join(source, entry), nextOpts); + })); + if (entriesUpdateStatus.some((status) => status)) { + updated = true; + } + } + return updated; +} +async function copyFileViaIndex(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts, linkStrategy) { + const sourceHash = await sourceFs.checksumFilePromise(source, { algorithm: `sha1` }); + const indexPath = destinationFs.pathUtils.join(linkStrategy.indexPath, sourceHash.slice(0, 2), `${sourceHash}.dat`); + let AtomicBehavior; + ((AtomicBehavior2) => { + AtomicBehavior2[AtomicBehavior2["Lock"] = 0] = "Lock"; + AtomicBehavior2[AtomicBehavior2["Rename"] = 1] = "Rename"; + })(AtomicBehavior || (AtomicBehavior = {})); + let atomicBehavior = 1 /* Rename */; + let indexStat = await maybeLStat(destinationFs, indexPath); + if (destinationStat) { + const isDestinationHardlinkedFromIndex = indexStat && destinationStat.dev === indexStat.dev && destinationStat.ino === indexStat.ino; + const isIndexModified = indexStat?.mtimeMs !== defaultTimeMs; + if (isDestinationHardlinkedFromIndex) { + if (isIndexModified && linkStrategy.autoRepair) { + atomicBehavior = 0 /* Lock */; + indexStat = null; + } + } + if (!isDestinationHardlinkedFromIndex) { + if (opts.overwrite) { + prelayout.push(async () => destinationFs.removePromise(destination)); + destinationStat = null; + } else { + return false; + } + } + } + const tempPath = !indexStat && atomicBehavior === 1 /* Rename */ ? `${indexPath}.${Math.floor(Math.random() * 4294967296).toString(16).padStart(8, `0`)}` : null; + let tempPathCleaned = false; + prelayout.push(async () => { + if (!indexStat) { + if (atomicBehavior === 0 /* Lock */) { + await destinationFs.lockPromise(indexPath, async () => { + const content = await sourceFs.readFilePromise(source); + await destinationFs.writeFilePromise(indexPath, content); + }); + } + if (atomicBehavior === 1 /* Rename */ && tempPath) { + const content = await sourceFs.readFilePromise(source); + await destinationFs.writeFilePromise(tempPath, content); + try { + await destinationFs.linkPromise(tempPath, indexPath); + } catch (err) { + if (err.code === `EEXIST`) { + tempPathCleaned = true; + await destinationFs.unlinkPromise(tempPath); + } else { + throw err; + } + } + } + } + if (!destinationStat) { + await destinationFs.linkPromise(indexPath, destination); + } + }); + postlayout.push(async () => { + if (!indexStat) + await destinationFs.lutimesPromise(indexPath, defaultTime, defaultTime); + if (tempPath && !tempPathCleaned) { + await destinationFs.unlinkPromise(tempPath); + } + }); + return false; +} +async function copyFileDirect(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts) { + if (destinationStat !== null) { + if (opts.overwrite) { + prelayout.push(async () => destinationFs.removePromise(destination)); + destinationStat = null; + } else { + return false; + } + } + prelayout.push(async () => { + const content = await sourceFs.readFilePromise(source); + await destinationFs.writeFilePromise(destination, content); + }); + return true; +} +async function copyFile(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts) { + if (opts.linkStrategy?.type === `HardlinkFromIndex`) { + return copyFileViaIndex(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts, opts.linkStrategy); + } else { + return copyFileDirect(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts); + } +} +async function copySymlink(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts) { + if (destinationStat !== null) { + if (opts.overwrite) { + prelayout.push(async () => destinationFs.removePromise(destination)); + destinationStat = null; + } else { + return false; + } + } + prelayout.push(async () => { + await destinationFs.symlinkPromise(convertPath(destinationFs.pathUtils, await sourceFs.readlinkPromise(source)), destination); + }); + return true; +} + +class FakeFS { + constructor(pathUtils) { + this.pathUtils = pathUtils; + } + async *genTraversePromise(init, { stableSort = false } = {}) { + const stack = [init]; + while (stack.length > 0) { + const p = stack.shift(); + const entry = await this.lstatPromise(p); + if (entry.isDirectory()) { + const entries = await this.readdirPromise(p); + if (stableSort) { + for (const entry2 of entries.sort()) { + stack.push(this.pathUtils.join(p, entry2)); + } + } else { + throw new Error(`Not supported`); + } + } else { + yield p; + } + } + } + async checksumFilePromise(path, { algorithm = `sha512` } = {}) { + const fd = await this.openPromise(path, `r`); + try { + const CHUNK_SIZE = 65536; + const chunk = Buffer.allocUnsafeSlow(CHUNK_SIZE); + const hash = createHash(algorithm); + let bytesRead = 0; + while ((bytesRead = await this.readPromise(fd, chunk, 0, CHUNK_SIZE)) !== 0) + hash.update(bytesRead === CHUNK_SIZE ? chunk : chunk.slice(0, bytesRead)); + return hash.digest(`hex`); + } finally { + await this.closePromise(fd); + } + } + async removePromise(p, { recursive = true, maxRetries = 5 } = {}) { + let stat; + try { + stat = await this.lstatPromise(p); + } catch (error) { + if (error.code === `ENOENT`) { + return; + } else { + throw error; + } + } + if (stat.isDirectory()) { + if (recursive) { + const entries = await this.readdirPromise(p); + await Promise.all(entries.map((entry) => { + return this.removePromise(this.pathUtils.resolve(p, entry)); + })); + } + for (let t = 0; t <= maxRetries; t++) { + try { + await this.rmdirPromise(p); + break; + } catch (error) { + if (error.code !== `EBUSY` && error.code !== `ENOTEMPTY`) { + throw error; + } else if (t < maxRetries) { + await new Promise((resolve) => setTimeout(resolve, t * 100)); + } + } + } + } else { + await this.unlinkPromise(p); + } + } + removeSync(p, { recursive = true } = {}) { + let stat; + try { + stat = this.lstatSync(p); + } catch (error) { + if (error.code === `ENOENT`) { + return; + } else { + throw error; + } + } + if (stat.isDirectory()) { + if (recursive) + for (const entry of this.readdirSync(p)) + this.removeSync(this.pathUtils.resolve(p, entry)); + this.rmdirSync(p); + } else { + this.unlinkSync(p); + } + } + async mkdirpPromise(p, { chmod, utimes } = {}) { + p = this.resolve(p); + if (p === this.pathUtils.dirname(p)) + return void 0; + const parts = p.split(this.pathUtils.sep); + let createdDirectory; + for (let u = 2; u <= parts.length; ++u) { + const subPath = parts.slice(0, u).join(this.pathUtils.sep); + if (!this.existsSync(subPath)) { + try { + await this.mkdirPromise(subPath); + } catch (error) { + if (error.code === `EEXIST`) { + continue; + } else { + throw error; + } + } + createdDirectory ??= subPath; + if (chmod != null) + await this.chmodPromise(subPath, chmod); + if (utimes != null) { + await this.utimesPromise(subPath, utimes[0], utimes[1]); + } else { + const parentStat = await this.statPromise(this.pathUtils.dirname(subPath)); + await this.utimesPromise(subPath, parentStat.atime, parentStat.mtime); + } + } + } + return createdDirectory; + } + mkdirpSync(p, { chmod, utimes } = {}) { + p = this.resolve(p); + if (p === this.pathUtils.dirname(p)) + return void 0; + const parts = p.split(this.pathUtils.sep); + let createdDirectory; + for (let u = 2; u <= parts.length; ++u) { + const subPath = parts.slice(0, u).join(this.pathUtils.sep); + if (!this.existsSync(subPath)) { + try { + this.mkdirSync(subPath); + } catch (error) { + if (error.code === `EEXIST`) { + continue; + } else { + throw error; + } + } + createdDirectory ??= subPath; + if (chmod != null) + this.chmodSync(subPath, chmod); + if (utimes != null) { + this.utimesSync(subPath, utimes[0], utimes[1]); + } else { + const parentStat = this.statSync(this.pathUtils.dirname(subPath)); + this.utimesSync(subPath, parentStat.atime, parentStat.mtime); + } + } + } + return createdDirectory; + } + async copyPromise(destination, source, { baseFs = this, overwrite = true, stableSort = false, stableTime = false, linkStrategy = null } = {}) { + return await copyPromise(this, destination, baseFs, source, { overwrite, stableSort, stableTime, linkStrategy }); + } + copySync(destination, source, { baseFs = this, overwrite = true } = {}) { + const stat = baseFs.lstatSync(source); + const exists = this.existsSync(destination); + if (stat.isDirectory()) { + this.mkdirpSync(destination); + const directoryListing = baseFs.readdirSync(source); + for (const entry of directoryListing) { + this.copySync(this.pathUtils.join(destination, entry), baseFs.pathUtils.join(source, entry), { baseFs, overwrite }); + } + } else if (stat.isFile()) { + if (!exists || overwrite) { + if (exists) + this.removeSync(destination); + const content = baseFs.readFileSync(source); + this.writeFileSync(destination, content); + } + } else if (stat.isSymbolicLink()) { + if (!exists || overwrite) { + if (exists) + this.removeSync(destination); + const target = baseFs.readlinkSync(source); + this.symlinkSync(convertPath(this.pathUtils, target), destination); + } + } else { + throw new Error(`Unsupported file type (file: ${source}, mode: 0o${stat.mode.toString(8).padStart(6, `0`)})`); + } + const mode = stat.mode & 511; + this.chmodSync(destination, mode); + } + async changeFilePromise(p, content, opts = {}) { + if (Buffer.isBuffer(content)) { + return this.changeFileBufferPromise(p, content, opts); + } else { + return this.changeFileTextPromise(p, content, opts); + } + } + async changeFileBufferPromise(p, content, { mode } = {}) { + let current = Buffer.alloc(0); + try { + current = await this.readFilePromise(p); + } catch (error) { + } + if (Buffer.compare(current, content) === 0) + return; + await this.writeFilePromise(p, content, { mode }); + } + async changeFileTextPromise(p, content, { automaticNewlines, mode } = {}) { + let current = ``; + try { + current = await this.readFilePromise(p, `utf8`); + } catch (error) { + } + const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content; + if (current === normalizedContent) + return; + await this.writeFilePromise(p, normalizedContent, { mode }); + } + changeFileSync(p, content, opts = {}) { + if (Buffer.isBuffer(content)) { + return this.changeFileBufferSync(p, content, opts); + } else { + return this.changeFileTextSync(p, content, opts); + } + } + changeFileBufferSync(p, content, { mode } = {}) { + let current = Buffer.alloc(0); + try { + current = this.readFileSync(p); + } catch (error) { + } + if (Buffer.compare(current, content) === 0) + return; + this.writeFileSync(p, content, { mode }); + } + changeFileTextSync(p, content, { automaticNewlines = false, mode } = {}) { + let current = ``; + try { + current = this.readFileSync(p, `utf8`); + } catch (error) { + } + const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content; + if (current === normalizedContent) + return; + this.writeFileSync(p, normalizedContent, { mode }); + } + async movePromise(fromP, toP) { + try { + await this.renamePromise(fromP, toP); + } catch (error) { + if (error.code === `EXDEV`) { + await this.copyPromise(toP, fromP); + await this.removePromise(fromP); + } else { + throw error; + } + } + } + moveSync(fromP, toP) { + try { + this.renameSync(fromP, toP); + } catch (error) { + if (error.code === `EXDEV`) { + this.copySync(toP, fromP); + this.removeSync(fromP); + } else { + throw error; + } + } + } + async lockPromise(affectedPath, callback) { + const lockPath = `${affectedPath}.flock`; + const interval = 1e3 / 60; + const startTime = Date.now(); + let fd = null; + const isAlive = async () => { + let pid; + try { + [pid] = await this.readJsonPromise(lockPath); + } catch (error) { + return Date.now() - startTime < 500; + } + try { + process.kill(pid, 0); + return true; + } catch (error) { + return false; + } + }; + while (fd === null) { + try { + fd = await this.openPromise(lockPath, `wx`); + } catch (error) { + if (error.code === `EEXIST`) { + if (!await isAlive()) { + try { + await this.unlinkPromise(lockPath); + continue; + } catch (error2) { + } + } + if (Date.now() - startTime < 60 * 1e3) { + await new Promise((resolve) => setTimeout(resolve, interval)); + } else { + throw new Error(`Couldn't acquire a lock in a reasonable time (via ${lockPath})`); + } + } else { + throw error; + } + } + } + await this.writePromise(fd, JSON.stringify([process.pid])); + try { + return await callback(); + } finally { + try { + await this.closePromise(fd); + await this.unlinkPromise(lockPath); + } catch (error) { + } + } + } + async readJsonPromise(p) { + const content = await this.readFilePromise(p, `utf8`); + try { + return JSON.parse(content); + } catch (error) { + error.message += ` (in ${p})`; + throw error; + } + } + readJsonSync(p) { + const content = this.readFileSync(p, `utf8`); + try { + return JSON.parse(content); + } catch (error) { + error.message += ` (in ${p})`; + throw error; + } + } + async writeJsonPromise(p, data, { compact = false } = {}) { + const space = compact ? 0 : 2; + return await this.writeFilePromise(p, `${JSON.stringify(data, null, space)} +`); + } + writeJsonSync(p, data, { compact = false } = {}) { + const space = compact ? 0 : 2; + return this.writeFileSync(p, `${JSON.stringify(data, null, space)} +`); + } + async preserveTimePromise(p, cb) { + const stat = await this.lstatPromise(p); + const result = await cb(); + if (typeof result !== `undefined`) + p = result; + await this.lutimesPromise(p, stat.atime, stat.mtime); + } + async preserveTimeSync(p, cb) { + const stat = this.lstatSync(p); + const result = cb(); + if (typeof result !== `undefined`) + p = result; + this.lutimesSync(p, stat.atime, stat.mtime); + } +} +class BasePortableFakeFS extends FakeFS { + constructor() { + super(ppath); + } +} +function getEndOfLine(content) { + const matches = content.match(/\r?\n/g); + if (matches === null) + return EOL; + const crlf = matches.filter((nl) => nl === `\r +`).length; + const lf = matches.length - crlf; + return crlf > lf ? `\r +` : ` +`; +} +function normalizeLineEndings(originalContent, newContent) { + return newContent.replace(/\r?\n/g, getEndOfLine(originalContent)); +} + +class ProxiedFS extends FakeFS { + getExtractHint(hints) { + return this.baseFs.getExtractHint(hints); + } + resolve(path) { + return this.mapFromBase(this.baseFs.resolve(this.mapToBase(path))); + } + getRealPath() { + return this.mapFromBase(this.baseFs.getRealPath()); + } + async openPromise(p, flags, mode) { + return this.baseFs.openPromise(this.mapToBase(p), flags, mode); + } + openSync(p, flags, mode) { + return this.baseFs.openSync(this.mapToBase(p), flags, mode); + } + async opendirPromise(p, opts) { + return Object.assign(await this.baseFs.opendirPromise(this.mapToBase(p), opts), { path: p }); + } + opendirSync(p, opts) { + return Object.assign(this.baseFs.opendirSync(this.mapToBase(p), opts), { path: p }); + } + async readPromise(fd, buffer, offset, length, position) { + return await this.baseFs.readPromise(fd, buffer, offset, length, position); + } + readSync(fd, buffer, offset, length, position) { + return this.baseFs.readSync(fd, buffer, offset, length, position); + } + async writePromise(fd, buffer, offset, length, position) { + if (typeof buffer === `string`) { + return await this.baseFs.writePromise(fd, buffer, offset); + } else { + return await this.baseFs.writePromise(fd, buffer, offset, length, position); + } + } + writeSync(fd, buffer, offset, length, position) { + if (typeof buffer === `string`) { + return this.baseFs.writeSync(fd, buffer, offset); + } else { + return this.baseFs.writeSync(fd, buffer, offset, length, position); + } + } + async closePromise(fd) { + return this.baseFs.closePromise(fd); + } + closeSync(fd) { + this.baseFs.closeSync(fd); + } + createReadStream(p, opts) { + return this.baseFs.createReadStream(p !== null ? this.mapToBase(p) : p, opts); + } + createWriteStream(p, opts) { + return this.baseFs.createWriteStream(p !== null ? this.mapToBase(p) : p, opts); + } + async realpathPromise(p) { + return this.mapFromBase(await this.baseFs.realpathPromise(this.mapToBase(p))); + } + realpathSync(p) { + return this.mapFromBase(this.baseFs.realpathSync(this.mapToBase(p))); + } + async existsPromise(p) { + return this.baseFs.existsPromise(this.mapToBase(p)); + } + existsSync(p) { + return this.baseFs.existsSync(this.mapToBase(p)); + } + accessSync(p, mode) { + return this.baseFs.accessSync(this.mapToBase(p), mode); + } + async accessPromise(p, mode) { + return this.baseFs.accessPromise(this.mapToBase(p), mode); + } + async statPromise(p, opts) { + return this.baseFs.statPromise(this.mapToBase(p), opts); + } + statSync(p, opts) { + return this.baseFs.statSync(this.mapToBase(p), opts); + } + async fstatPromise(fd, opts) { + return this.baseFs.fstatPromise(fd, opts); + } + fstatSync(fd, opts) { + return this.baseFs.fstatSync(fd, opts); + } + lstatPromise(p, opts) { + return this.baseFs.lstatPromise(this.mapToBase(p), opts); + } + lstatSync(p, opts) { + return this.baseFs.lstatSync(this.mapToBase(p), opts); + } + async fchmodPromise(fd, mask) { + return this.baseFs.fchmodPromise(fd, mask); + } + fchmodSync(fd, mask) { + return this.baseFs.fchmodSync(fd, mask); + } + async chmodPromise(p, mask) { + return this.baseFs.chmodPromise(this.mapToBase(p), mask); + } + chmodSync(p, mask) { + return this.baseFs.chmodSync(this.mapToBase(p), mask); + } + async fchownPromise(fd, uid, gid) { + return this.baseFs.fchownPromise(fd, uid, gid); + } + fchownSync(fd, uid, gid) { + return this.baseFs.fchownSync(fd, uid, gid); + } + async chownPromise(p, uid, gid) { + return this.baseFs.chownPromise(this.mapToBase(p), uid, gid); + } + chownSync(p, uid, gid) { + return this.baseFs.chownSync(this.mapToBase(p), uid, gid); + } + async renamePromise(oldP, newP) { + return this.baseFs.renamePromise(this.mapToBase(oldP), this.mapToBase(newP)); + } + renameSync(oldP, newP) { + return this.baseFs.renameSync(this.mapToBase(oldP), this.mapToBase(newP)); + } + async copyFilePromise(sourceP, destP, flags = 0) { + return this.baseFs.copyFilePromise(this.mapToBase(sourceP), this.mapToBase(destP), flags); + } + copyFileSync(sourceP, destP, flags = 0) { + return this.baseFs.copyFileSync(this.mapToBase(sourceP), this.mapToBase(destP), flags); + } + async appendFilePromise(p, content, opts) { + return this.baseFs.appendFilePromise(this.fsMapToBase(p), content, opts); + } + appendFileSync(p, content, opts) { + return this.baseFs.appendFileSync(this.fsMapToBase(p), content, opts); + } + async writeFilePromise(p, content, opts) { + return this.baseFs.writeFilePromise(this.fsMapToBase(p), content, opts); + } + writeFileSync(p, content, opts) { + return this.baseFs.writeFileSync(this.fsMapToBase(p), content, opts); + } + async unlinkPromise(p) { + return this.baseFs.unlinkPromise(this.mapToBase(p)); + } + unlinkSync(p) { + return this.baseFs.unlinkSync(this.mapToBase(p)); + } + async utimesPromise(p, atime, mtime) { + return this.baseFs.utimesPromise(this.mapToBase(p), atime, mtime); + } + utimesSync(p, atime, mtime) { + return this.baseFs.utimesSync(this.mapToBase(p), atime, mtime); + } + async lutimesPromise(p, atime, mtime) { + return this.baseFs.lutimesPromise(this.mapToBase(p), atime, mtime); + } + lutimesSync(p, atime, mtime) { + return this.baseFs.lutimesSync(this.mapToBase(p), atime, mtime); + } + async mkdirPromise(p, opts) { + return this.baseFs.mkdirPromise(this.mapToBase(p), opts); + } + mkdirSync(p, opts) { + return this.baseFs.mkdirSync(this.mapToBase(p), opts); + } + async rmdirPromise(p, opts) { + return this.baseFs.rmdirPromise(this.mapToBase(p), opts); + } + rmdirSync(p, opts) { + return this.baseFs.rmdirSync(this.mapToBase(p), opts); + } + async linkPromise(existingP, newP) { + return this.baseFs.linkPromise(this.mapToBase(existingP), this.mapToBase(newP)); + } + linkSync(existingP, newP) { + return this.baseFs.linkSync(this.mapToBase(existingP), this.mapToBase(newP)); + } + async symlinkPromise(target, p, type) { + const mappedP = this.mapToBase(p); + if (this.pathUtils.isAbsolute(target)) + return this.baseFs.symlinkPromise(this.mapToBase(target), mappedP, type); + const mappedAbsoluteTarget = this.mapToBase(this.pathUtils.join(this.pathUtils.dirname(p), target)); + const mappedTarget = this.baseFs.pathUtils.relative(this.baseFs.pathUtils.dirname(mappedP), mappedAbsoluteTarget); + return this.baseFs.symlinkPromise(mappedTarget, mappedP, type); + } + symlinkSync(target, p, type) { + const mappedP = this.mapToBase(p); + if (this.pathUtils.isAbsolute(target)) + return this.baseFs.symlinkSync(this.mapToBase(target), mappedP, type); + const mappedAbsoluteTarget = this.mapToBase(this.pathUtils.join(this.pathUtils.dirname(p), target)); + const mappedTarget = this.baseFs.pathUtils.relative(this.baseFs.pathUtils.dirname(mappedP), mappedAbsoluteTarget); + return this.baseFs.symlinkSync(mappedTarget, mappedP, type); + } + async readFilePromise(p, encoding) { + return this.baseFs.readFilePromise(this.fsMapToBase(p), encoding); + } + readFileSync(p, encoding) { + return this.baseFs.readFileSync(this.fsMapToBase(p), encoding); + } + readdirPromise(p, opts) { + return this.baseFs.readdirPromise(this.mapToBase(p), opts); + } + readdirSync(p, opts) { + return this.baseFs.readdirSync(this.mapToBase(p), opts); + } + async readlinkPromise(p) { + return this.mapFromBase(await this.baseFs.readlinkPromise(this.mapToBase(p))); + } + readlinkSync(p) { + return this.mapFromBase(this.baseFs.readlinkSync(this.mapToBase(p))); + } + async truncatePromise(p, len) { + return this.baseFs.truncatePromise(this.mapToBase(p), len); + } + truncateSync(p, len) { + return this.baseFs.truncateSync(this.mapToBase(p), len); + } + async ftruncatePromise(fd, len) { + return this.baseFs.ftruncatePromise(fd, len); + } + ftruncateSync(fd, len) { + return this.baseFs.ftruncateSync(fd, len); + } + watch(p, a, b) { + return this.baseFs.watch( + this.mapToBase(p), + a, + b + ); + } + watchFile(p, a, b) { + return this.baseFs.watchFile( + this.mapToBase(p), + a, + b + ); + } + unwatchFile(p, cb) { + return this.baseFs.unwatchFile(this.mapToBase(p), cb); + } + fsMapToBase(p) { + if (typeof p === `number`) { + return p; + } else { + return this.mapToBase(p); + } + } +} + +function direntToPortable(dirent) { + const portableDirent = dirent; + if (typeof dirent.path === `string`) + portableDirent.path = npath.toPortablePath(dirent.path); + return portableDirent; +} +class NodeFS extends BasePortableFakeFS { + constructor(realFs = fs) { + super(); + this.realFs = realFs; + } + getExtractHint() { + return false; + } + getRealPath() { + return PortablePath.root; + } + resolve(p) { + return ppath.resolve(p); + } + async openPromise(p, flags, mode) { + return await new Promise((resolve, reject) => { + this.realFs.open(npath.fromPortablePath(p), flags, mode, this.makeCallback(resolve, reject)); + }); + } + openSync(p, flags, mode) { + return this.realFs.openSync(npath.fromPortablePath(p), flags, mode); + } + async opendirPromise(p, opts) { + return await new Promise((resolve, reject) => { + if (typeof opts !== `undefined`) { + this.realFs.opendir(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.opendir(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + } + }).then((dir) => { + const dirWithFixedPath = dir; + Object.defineProperty(dirWithFixedPath, `path`, { + value: p, + configurable: true, + writable: true + }); + return dirWithFixedPath; + }); + } + opendirSync(p, opts) { + const dir = typeof opts !== `undefined` ? this.realFs.opendirSync(npath.fromPortablePath(p), opts) : this.realFs.opendirSync(npath.fromPortablePath(p)); + const dirWithFixedPath = dir; + Object.defineProperty(dirWithFixedPath, `path`, { + value: p, + configurable: true, + writable: true + }); + return dirWithFixedPath; + } + async readPromise(fd, buffer, offset = 0, length = 0, position = -1) { + return await new Promise((resolve, reject) => { + this.realFs.read(fd, buffer, offset, length, position, (error, bytesRead) => { + if (error) { + reject(error); + } else { + resolve(bytesRead); + } + }); + }); + } + readSync(fd, buffer, offset, length, position) { + return this.realFs.readSync(fd, buffer, offset, length, position); + } + async writePromise(fd, buffer, offset, length, position) { + return await new Promise((resolve, reject) => { + if (typeof buffer === `string`) { + return this.realFs.write(fd, buffer, offset, this.makeCallback(resolve, reject)); + } else { + return this.realFs.write(fd, buffer, offset, length, position, this.makeCallback(resolve, reject)); + } + }); + } + writeSync(fd, buffer, offset, length, position) { + if (typeof buffer === `string`) { + return this.realFs.writeSync(fd, buffer, offset); + } else { + return this.realFs.writeSync(fd, buffer, offset, length, position); + } + } + async closePromise(fd) { + await new Promise((resolve, reject) => { + this.realFs.close(fd, this.makeCallback(resolve, reject)); + }); + } + closeSync(fd) { + this.realFs.closeSync(fd); + } + createReadStream(p, opts) { + const realPath = p !== null ? npath.fromPortablePath(p) : p; + return this.realFs.createReadStream(realPath, opts); + } + createWriteStream(p, opts) { + const realPath = p !== null ? npath.fromPortablePath(p) : p; + return this.realFs.createWriteStream(realPath, opts); + } + async realpathPromise(p) { + return await new Promise((resolve, reject) => { + this.realFs.realpath(npath.fromPortablePath(p), {}, this.makeCallback(resolve, reject)); + }).then((path) => { + return npath.toPortablePath(path); + }); + } + realpathSync(p) { + return npath.toPortablePath(this.realFs.realpathSync(npath.fromPortablePath(p), {})); + } + async existsPromise(p) { + return await new Promise((resolve) => { + this.realFs.exists(npath.fromPortablePath(p), resolve); + }); + } + accessSync(p, mode) { + return this.realFs.accessSync(npath.fromPortablePath(p), mode); + } + async accessPromise(p, mode) { + return await new Promise((resolve, reject) => { + this.realFs.access(npath.fromPortablePath(p), mode, this.makeCallback(resolve, reject)); + }); + } + existsSync(p) { + return this.realFs.existsSync(npath.fromPortablePath(p)); + } + async statPromise(p, opts) { + return await new Promise((resolve, reject) => { + if (opts) { + this.realFs.stat(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.stat(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + } + }); + } + statSync(p, opts) { + if (opts) { + return this.realFs.statSync(npath.fromPortablePath(p), opts); + } else { + return this.realFs.statSync(npath.fromPortablePath(p)); + } + } + async fstatPromise(fd, opts) { + return await new Promise((resolve, reject) => { + if (opts) { + this.realFs.fstat(fd, opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.fstat(fd, this.makeCallback(resolve, reject)); + } + }); + } + fstatSync(fd, opts) { + if (opts) { + return this.realFs.fstatSync(fd, opts); + } else { + return this.realFs.fstatSync(fd); + } + } + async lstatPromise(p, opts) { + return await new Promise((resolve, reject) => { + if (opts) { + this.realFs.lstat(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.lstat(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + } + }); + } + lstatSync(p, opts) { + if (opts) { + return this.realFs.lstatSync(npath.fromPortablePath(p), opts); + } else { + return this.realFs.lstatSync(npath.fromPortablePath(p)); + } + } + async fchmodPromise(fd, mask) { + return await new Promise((resolve, reject) => { + this.realFs.fchmod(fd, mask, this.makeCallback(resolve, reject)); + }); + } + fchmodSync(fd, mask) { + return this.realFs.fchmodSync(fd, mask); + } + async chmodPromise(p, mask) { + return await new Promise((resolve, reject) => { + this.realFs.chmod(npath.fromPortablePath(p), mask, this.makeCallback(resolve, reject)); + }); + } + chmodSync(p, mask) { + return this.realFs.chmodSync(npath.fromPortablePath(p), mask); + } + async fchownPromise(fd, uid, gid) { + return await new Promise((resolve, reject) => { + this.realFs.fchown(fd, uid, gid, this.makeCallback(resolve, reject)); + }); + } + fchownSync(fd, uid, gid) { + return this.realFs.fchownSync(fd, uid, gid); + } + async chownPromise(p, uid, gid) { + return await new Promise((resolve, reject) => { + this.realFs.chown(npath.fromPortablePath(p), uid, gid, this.makeCallback(resolve, reject)); + }); + } + chownSync(p, uid, gid) { + return this.realFs.chownSync(npath.fromPortablePath(p), uid, gid); + } + async renamePromise(oldP, newP) { + return await new Promise((resolve, reject) => { + this.realFs.rename(npath.fromPortablePath(oldP), npath.fromPortablePath(newP), this.makeCallback(resolve, reject)); + }); + } + renameSync(oldP, newP) { + return this.realFs.renameSync(npath.fromPortablePath(oldP), npath.fromPortablePath(newP)); + } + async copyFilePromise(sourceP, destP, flags = 0) { + return await new Promise((resolve, reject) => { + this.realFs.copyFile(npath.fromPortablePath(sourceP), npath.fromPortablePath(destP), flags, this.makeCallback(resolve, reject)); + }); + } + copyFileSync(sourceP, destP, flags = 0) { + return this.realFs.copyFileSync(npath.fromPortablePath(sourceP), npath.fromPortablePath(destP), flags); + } + async appendFilePromise(p, content, opts) { + return await new Promise((resolve, reject) => { + const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; + if (opts) { + this.realFs.appendFile(fsNativePath, content, opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.appendFile(fsNativePath, content, this.makeCallback(resolve, reject)); + } + }); + } + appendFileSync(p, content, opts) { + const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; + if (opts) { + this.realFs.appendFileSync(fsNativePath, content, opts); + } else { + this.realFs.appendFileSync(fsNativePath, content); + } + } + async writeFilePromise(p, content, opts) { + return await new Promise((resolve, reject) => { + const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; + if (opts) { + this.realFs.writeFile(fsNativePath, content, opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.writeFile(fsNativePath, content, this.makeCallback(resolve, reject)); + } + }); + } + writeFileSync(p, content, opts) { + const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; + if (opts) { + this.realFs.writeFileSync(fsNativePath, content, opts); + } else { + this.realFs.writeFileSync(fsNativePath, content); + } + } + async unlinkPromise(p) { + return await new Promise((resolve, reject) => { + this.realFs.unlink(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + }); + } + unlinkSync(p) { + return this.realFs.unlinkSync(npath.fromPortablePath(p)); + } + async utimesPromise(p, atime, mtime) { + return await new Promise((resolve, reject) => { + this.realFs.utimes(npath.fromPortablePath(p), atime, mtime, this.makeCallback(resolve, reject)); + }); + } + utimesSync(p, atime, mtime) { + this.realFs.utimesSync(npath.fromPortablePath(p), atime, mtime); + } + async lutimesPromise(p, atime, mtime) { + return await new Promise((resolve, reject) => { + this.realFs.lutimes(npath.fromPortablePath(p), atime, mtime, this.makeCallback(resolve, reject)); + }); + } + lutimesSync(p, atime, mtime) { + this.realFs.lutimesSync(npath.fromPortablePath(p), atime, mtime); + } + async mkdirPromise(p, opts) { + return await new Promise((resolve, reject) => { + this.realFs.mkdir(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + }); + } + mkdirSync(p, opts) { + return this.realFs.mkdirSync(npath.fromPortablePath(p), opts); + } + async rmdirPromise(p, opts) { + return await new Promise((resolve, reject) => { + if (opts) { + this.realFs.rmdir(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + } else { + this.realFs.rmdir(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + } + }); + } + rmdirSync(p, opts) { + return this.realFs.rmdirSync(npath.fromPortablePath(p), opts); + } + async linkPromise(existingP, newP) { + return await new Promise((resolve, reject) => { + this.realFs.link(npath.fromPortablePath(existingP), npath.fromPortablePath(newP), this.makeCallback(resolve, reject)); + }); + } + linkSync(existingP, newP) { + return this.realFs.linkSync(npath.fromPortablePath(existingP), npath.fromPortablePath(newP)); + } + async symlinkPromise(target, p, type) { + return await new Promise((resolve, reject) => { + this.realFs.symlink(npath.fromPortablePath(target.replace(/\/+$/, ``)), npath.fromPortablePath(p), type, this.makeCallback(resolve, reject)); + }); + } + symlinkSync(target, p, type) { + return this.realFs.symlinkSync(npath.fromPortablePath(target.replace(/\/+$/, ``)), npath.fromPortablePath(p), type); + } + async readFilePromise(p, encoding) { + return await new Promise((resolve, reject) => { + const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; + this.realFs.readFile(fsNativePath, encoding, this.makeCallback(resolve, reject)); + }); + } + readFileSync(p, encoding) { + const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; + return this.realFs.readFileSync(fsNativePath, encoding); + } + async readdirPromise(p, opts) { + return await new Promise((resolve, reject) => { + if (opts) { + if (opts.recursive && process.platform === `win32`) { + if (opts.withFileTypes) { + this.realFs.readdir(npath.fromPortablePath(p), opts, this.makeCallback((results) => resolve(results.map(direntToPortable)), reject)); + } else { + this.realFs.readdir(npath.fromPortablePath(p), opts, this.makeCallback((results) => resolve(results.map(npath.toPortablePath)), reject)); + } + } else { + this.realFs.readdir(npath.fromPortablePath(p), opts, this.makeCallback(resolve, reject)); + } + } else { + this.realFs.readdir(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + } + }); + } + readdirSync(p, opts) { + if (opts) { + if (opts.recursive && process.platform === `win32`) { + if (opts.withFileTypes) { + return this.realFs.readdirSync(npath.fromPortablePath(p), opts).map(direntToPortable); + } else { + return this.realFs.readdirSync(npath.fromPortablePath(p), opts).map(npath.toPortablePath); + } + } else { + return this.realFs.readdirSync(npath.fromPortablePath(p), opts); + } + } else { + return this.realFs.readdirSync(npath.fromPortablePath(p)); + } + } + async readlinkPromise(p) { + return await new Promise((resolve, reject) => { + this.realFs.readlink(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); + }).then((path) => { + return npath.toPortablePath(path); + }); + } + readlinkSync(p) { + return npath.toPortablePath(this.realFs.readlinkSync(npath.fromPortablePath(p))); + } + async truncatePromise(p, len) { + return await new Promise((resolve, reject) => { + this.realFs.truncate(npath.fromPortablePath(p), len, this.makeCallback(resolve, reject)); + }); + } + truncateSync(p, len) { + return this.realFs.truncateSync(npath.fromPortablePath(p), len); + } + async ftruncatePromise(fd, len) { + return await new Promise((resolve, reject) => { + this.realFs.ftruncate(fd, len, this.makeCallback(resolve, reject)); + }); + } + ftruncateSync(fd, len) { + return this.realFs.ftruncateSync(fd, len); + } + watch(p, a, b) { + return this.realFs.watch( + npath.fromPortablePath(p), + a, + b + ); + } + watchFile(p, a, b) { + return this.realFs.watchFile( + npath.fromPortablePath(p), + a, + b + ); + } + unwatchFile(p, cb) { + return this.realFs.unwatchFile(npath.fromPortablePath(p), cb); + } + makeCallback(resolve, reject) { + return (err, result) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }; + } +} + +const NUMBER_REGEXP = /^[0-9]+$/; +const VIRTUAL_REGEXP = /^(\/(?:[^/]+\/)*?(?:\$\$virtual|__virtual__))((?:\/((?:[^/]+-)?[a-f0-9]+)(?:\/([^/]+))?)?((?:\/.*)?))$/; +const VALID_COMPONENT = /^([^/]+-)?[a-f0-9]+$/; +class VirtualFS extends ProxiedFS { + constructor({ baseFs = new NodeFS() } = {}) { + super(ppath); + this.baseFs = baseFs; + } + static makeVirtualPath(base, component, to) { + if (ppath.basename(base) !== `__virtual__`) + throw new Error(`Assertion failed: Virtual folders must be named "__virtual__"`); + if (!ppath.basename(component).match(VALID_COMPONENT)) + throw new Error(`Assertion failed: Virtual components must be ended by an hexadecimal hash`); + const target = ppath.relative(ppath.dirname(base), to); + const segments = target.split(`/`); + let depth = 0; + while (depth < segments.length && segments[depth] === `..`) + depth += 1; + const finalSegments = segments.slice(depth); + const fullVirtualPath = ppath.join(base, component, String(depth), ...finalSegments); + return fullVirtualPath; + } + static resolveVirtual(p) { + const match = p.match(VIRTUAL_REGEXP); + if (!match || !match[3] && match[5]) + return p; + const target = ppath.dirname(match[1]); + if (!match[3] || !match[4]) + return target; + const isnum = NUMBER_REGEXP.test(match[4]); + if (!isnum) + return p; + const depth = Number(match[4]); + const backstep = `../`.repeat(depth); + const subpath = match[5] || `.`; + return VirtualFS.resolveVirtual(ppath.join(target, backstep, subpath)); + } + getExtractHint(hints) { + return this.baseFs.getExtractHint(hints); + } + getRealPath() { + return this.baseFs.getRealPath(); + } + realpathSync(p) { + const match = p.match(VIRTUAL_REGEXP); + if (!match) + return this.baseFs.realpathSync(p); + if (!match[5]) + return p; + const realpath = this.baseFs.realpathSync(this.mapToBase(p)); + return VirtualFS.makeVirtualPath(match[1], match[3], realpath); + } + async realpathPromise(p) { + const match = p.match(VIRTUAL_REGEXP); + if (!match) + return await this.baseFs.realpathPromise(p); + if (!match[5]) + return p; + const realpath = await this.baseFs.realpathPromise(this.mapToBase(p)); + return VirtualFS.makeVirtualPath(match[1], match[3], realpath); + } + mapToBase(p) { + if (p === ``) + return p; + if (this.pathUtils.isAbsolute(p)) + return VirtualFS.resolveVirtual(p); + const resolvedRoot = VirtualFS.resolveVirtual(this.baseFs.resolve(PortablePath.dot)); + const resolvedP = VirtualFS.resolveVirtual(this.baseFs.resolve(p)); + return ppath.relative(resolvedRoot, resolvedP) || PortablePath.dot; + } + mapFromBase(p) { + return p; + } +} + +const [major, minor] = process.versions.node.split(`.`).map((value) => parseInt(value, 10)); +const WATCH_MODE_MESSAGE_USES_ARRAYS = major > 19 || major === 19 && minor >= 2 || major === 18 && minor >= 13; +const HAS_LAZY_LOADED_TRANSLATORS = major === 20 && minor < 6 || major === 19 && minor >= 3; + +function readPackageScope(checkPath) { + const rootSeparatorIndex = checkPath.indexOf(npath.sep); + let separatorIndex; + do { + separatorIndex = checkPath.lastIndexOf(npath.sep); + checkPath = checkPath.slice(0, separatorIndex); + if (checkPath.endsWith(`${npath.sep}node_modules`)) + return false; + const pjson = readPackage(checkPath + npath.sep); + if (pjson) { + return { + data: pjson, + path: checkPath + }; + } + } while (separatorIndex > rootSeparatorIndex); + return false; +} +function readPackage(requestPath) { + const jsonPath = npath.resolve(requestPath, `package.json`); + if (!fs.existsSync(jsonPath)) + return null; + return JSON.parse(fs.readFileSync(jsonPath, `utf8`)); +} + +async function tryReadFile$1(path2) { + try { + return await fs.promises.readFile(path2, `utf8`); + } catch (error) { + if (error.code === `ENOENT`) + return null; + throw error; + } +} +function tryParseURL(str, base) { + try { + return new URL$1(str, base); + } catch { + return null; + } +} +let entrypointPath = null; +function setEntrypointPath(file) { + entrypointPath = file; +} +function getFileFormat(filepath) { + const ext = path.extname(filepath); + switch (ext) { + case `.mjs`: { + return `module`; + } + case `.cjs`: { + return `commonjs`; + } + case `.wasm`: { + throw new Error( + `Unknown file extension ".wasm" for ${filepath}` + ); + } + case `.json`: { + return `json`; + } + case `.js`: { + const pkg = readPackageScope(filepath); + if (!pkg) + return `commonjs`; + return pkg.data.type ?? `commonjs`; + } + default: { + if (entrypointPath !== filepath) + return null; + const pkg = readPackageScope(filepath); + if (!pkg) + return `commonjs`; + if (pkg.data.type === `module`) + return null; + return pkg.data.type ?? `commonjs`; + } + } +} + +async function load$1(urlString, context, nextLoad) { + const url = tryParseURL(urlString); + if (url?.protocol !== `file:`) + return nextLoad(urlString, context, nextLoad); + const filePath = fileURLToPath(url); + const format = getFileFormat(filePath); + if (!format) + return nextLoad(urlString, context, nextLoad); + if (format === `json` && context.importAssertions?.type !== `json`) { + const err = new TypeError(`[ERR_IMPORT_ASSERTION_TYPE_MISSING]: Module "${urlString}" needs an import assertion of type "json"`); + err.code = `ERR_IMPORT_ASSERTION_TYPE_MISSING`; + throw err; + } + if (process.env.WATCH_REPORT_DEPENDENCIES && process.send) { + const pathToSend = pathToFileURL( + npath.fromPortablePath( + VirtualFS.resolveVirtual(npath.toPortablePath(filePath)) + ) + ).href; + process.send({ + "watch:import": WATCH_MODE_MESSAGE_USES_ARRAYS ? [pathToSend] : pathToSend + }); + } + return { + format, + source: format === `commonjs` ? void 0 : await fs.promises.readFile(filePath, `utf8`), + shortCircuit: true + }; +} + +const ArrayIsArray = Array.isArray; +const JSONStringify = JSON.stringify; +const ObjectGetOwnPropertyNames = Object.getOwnPropertyNames; +const ObjectPrototypeHasOwnProperty = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop); +const RegExpPrototypeExec = (obj, string) => RegExp.prototype.exec.call(obj, string); +const RegExpPrototypeSymbolReplace = (obj, ...rest) => RegExp.prototype[Symbol.replace].apply(obj, rest); +const StringPrototypeEndsWith = (str, ...rest) => String.prototype.endsWith.apply(str, rest); +const StringPrototypeIncludes = (str, ...rest) => String.prototype.includes.apply(str, rest); +const StringPrototypeLastIndexOf = (str, ...rest) => String.prototype.lastIndexOf.apply(str, rest); +const StringPrototypeIndexOf = (str, ...rest) => String.prototype.indexOf.apply(str, rest); +const StringPrototypeReplace = (str, ...rest) => String.prototype.replace.apply(str, rest); +const StringPrototypeSlice = (str, ...rest) => String.prototype.slice.apply(str, rest); +const StringPrototypeStartsWith = (str, ...rest) => String.prototype.startsWith.apply(str, rest); +const SafeMap = Map; +const JSONParse = JSON.parse; + +function createErrorType(code, messageCreator, errorType) { + return class extends errorType { + constructor(...args) { + super(messageCreator(...args)); + this.code = code; + this.name = `${errorType.name} [${code}]`; + } + }; +} +const ERR_PACKAGE_IMPORT_NOT_DEFINED = createErrorType( + `ERR_PACKAGE_IMPORT_NOT_DEFINED`, + (specifier, packagePath, base) => { + return `Package import specifier "${specifier}" is not defined${packagePath ? ` in package ${packagePath}package.json` : ``} imported from ${base}`; + }, + TypeError +); +const ERR_INVALID_MODULE_SPECIFIER = createErrorType( + `ERR_INVALID_MODULE_SPECIFIER`, + (request, reason, base = void 0) => { + return `Invalid module "${request}" ${reason}${base ? ` imported from ${base}` : ``}`; + }, + TypeError +); +const ERR_INVALID_PACKAGE_TARGET = createErrorType( + `ERR_INVALID_PACKAGE_TARGET`, + (pkgPath, key, target, isImport = false, base = void 0) => { + const relError = typeof target === `string` && !isImport && target.length && !StringPrototypeStartsWith(target, `./`); + if (key === `.`) { + assert(isImport === false); + return `Invalid "exports" main target ${JSONStringify(target)} defined in the package config ${pkgPath}package.json${base ? ` imported from ${base}` : ``}${relError ? `; targets must start with "./"` : ``}`; + } + return `Invalid "${isImport ? `imports` : `exports`}" target ${JSONStringify( + target + )} defined for '${key}' in the package config ${pkgPath}package.json${base ? ` imported from ${base}` : ``}${relError ? `; targets must start with "./"` : ``}`; + }, + Error +); +const ERR_INVALID_PACKAGE_CONFIG = createErrorType( + `ERR_INVALID_PACKAGE_CONFIG`, + (path, base, message) => { + return `Invalid package config ${path}${base ? ` while importing ${base}` : ``}${message ? `. ${message}` : ``}`; + }, + Error +); + +function filterOwnProperties(source, keys) { + const filtered = /* @__PURE__ */ Object.create(null); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if (ObjectPrototypeHasOwnProperty(source, key)) { + filtered[key] = source[key]; + } + } + return filtered; +} + +const packageJSONCache = new SafeMap(); +function getPackageConfig(path, specifier, base, readFileSyncFn) { + const existing = packageJSONCache.get(path); + if (existing !== void 0) { + return existing; + } + const source = readFileSyncFn(path); + if (source === void 0) { + const packageConfig2 = { + pjsonPath: path, + exists: false, + main: void 0, + name: void 0, + type: "none", + exports: void 0, + imports: void 0 + }; + packageJSONCache.set(path, packageConfig2); + return packageConfig2; + } + let packageJSON; + try { + packageJSON = JSONParse(source); + } catch (error) { + throw new ERR_INVALID_PACKAGE_CONFIG( + path, + (base ? `"${specifier}" from ` : "") + fileURLToPath(base || specifier), + error.message + ); + } + let { imports, main, name, type } = filterOwnProperties(packageJSON, [ + "imports", + "main", + "name", + "type" + ]); + const exports = ObjectPrototypeHasOwnProperty(packageJSON, "exports") ? packageJSON.exports : void 0; + if (typeof imports !== "object" || imports === null) { + imports = void 0; + } + if (typeof main !== "string") { + main = void 0; + } + if (typeof name !== "string") { + name = void 0; + } + if (type !== "module" && type !== "commonjs") { + type = "none"; + } + const packageConfig = { + pjsonPath: path, + exists: true, + main, + name, + type, + exports, + imports + }; + packageJSONCache.set(path, packageConfig); + return packageConfig; +} +function getPackageScopeConfig(resolved, readFileSyncFn) { + let packageJSONUrl = new URL("./package.json", resolved); + while (true) { + const packageJSONPath2 = packageJSONUrl.pathname; + if (StringPrototypeEndsWith(packageJSONPath2, "node_modules/package.json")) { + break; + } + const packageConfig2 = getPackageConfig( + fileURLToPath(packageJSONUrl), + resolved, + void 0, + readFileSyncFn + ); + if (packageConfig2.exists) { + return packageConfig2; + } + const lastPackageJSONUrl = packageJSONUrl; + packageJSONUrl = new URL("../package.json", packageJSONUrl); + if (packageJSONUrl.pathname === lastPackageJSONUrl.pathname) { + break; + } + } + const packageJSONPath = fileURLToPath(packageJSONUrl); + const packageConfig = { + pjsonPath: packageJSONPath, + exists: false, + main: void 0, + name: void 0, + type: "none", + exports: void 0, + imports: void 0 + }; + packageJSONCache.set(packageJSONPath, packageConfig); + return packageConfig; +} + +/** + @license + Copyright Node.js contributors. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. +*/ +function throwImportNotDefined(specifier, packageJSONUrl, base) { + throw new ERR_PACKAGE_IMPORT_NOT_DEFINED( + specifier, + packageJSONUrl && fileURLToPath(new URL(".", packageJSONUrl)), + fileURLToPath(base) + ); +} +function throwInvalidSubpath(subpath, packageJSONUrl, internal, base) { + const reason = `request is not a valid subpath for the "${internal ? "imports" : "exports"}" resolution of ${fileURLToPath(packageJSONUrl)}`; + throw new ERR_INVALID_MODULE_SPECIFIER( + subpath, + reason, + base && fileURLToPath(base) + ); +} +function throwInvalidPackageTarget(subpath, target, packageJSONUrl, internal, base) { + if (typeof target === "object" && target !== null) { + target = JSONStringify(target, null, ""); + } else { + target = `${target}`; + } + throw new ERR_INVALID_PACKAGE_TARGET( + fileURLToPath(new URL(".", packageJSONUrl)), + subpath, + target, + internal, + base && fileURLToPath(base) + ); +} +const invalidSegmentRegEx = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i; +const patternRegEx = /\*/g; +function resolvePackageTargetString(target, subpath, match, packageJSONUrl, base, pattern, internal, conditions) { + if (subpath !== "" && !pattern && target[target.length - 1] !== "/") + throwInvalidPackageTarget(match, target, packageJSONUrl, internal, base); + if (!StringPrototypeStartsWith(target, "./")) { + if (internal && !StringPrototypeStartsWith(target, "../") && !StringPrototypeStartsWith(target, "/")) { + let isURL = false; + try { + new URL(target); + isURL = true; + } catch { + } + if (!isURL) { + const exportTarget = pattern ? RegExpPrototypeSymbolReplace(patternRegEx, target, () => subpath) : target + subpath; + return exportTarget; + } + } + throwInvalidPackageTarget(match, target, packageJSONUrl, internal, base); + } + if (RegExpPrototypeExec( + invalidSegmentRegEx, + StringPrototypeSlice(target, 2) + ) !== null) + throwInvalidPackageTarget(match, target, packageJSONUrl, internal, base); + const resolved = new URL(target, packageJSONUrl); + const resolvedPath = resolved.pathname; + const packagePath = new URL(".", packageJSONUrl).pathname; + if (!StringPrototypeStartsWith(resolvedPath, packagePath)) + throwInvalidPackageTarget(match, target, packageJSONUrl, internal, base); + if (subpath === "") + return resolved; + if (RegExpPrototypeExec(invalidSegmentRegEx, subpath) !== null) { + const request = pattern ? StringPrototypeReplace(match, "*", () => subpath) : match + subpath; + throwInvalidSubpath(request, packageJSONUrl, internal, base); + } + if (pattern) { + return new URL( + RegExpPrototypeSymbolReplace(patternRegEx, resolved.href, () => subpath) + ); + } + return new URL(subpath, resolved); +} +function isArrayIndex(key) { + const keyNum = +key; + if (`${keyNum}` !== key) + return false; + return keyNum >= 0 && keyNum < 4294967295; +} +function resolvePackageTarget(packageJSONUrl, target, subpath, packageSubpath, base, pattern, internal, conditions) { + if (typeof target === "string") { + return resolvePackageTargetString( + target, + subpath, + packageSubpath, + packageJSONUrl, + base, + pattern, + internal); + } else if (ArrayIsArray(target)) { + if (target.length === 0) { + return null; + } + let lastException; + for (let i = 0; i < target.length; i++) { + const targetItem = target[i]; + let resolveResult; + try { + resolveResult = resolvePackageTarget( + packageJSONUrl, + targetItem, + subpath, + packageSubpath, + base, + pattern, + internal, + conditions + ); + } catch (e) { + lastException = e; + if (e.code === "ERR_INVALID_PACKAGE_TARGET") { + continue; + } + throw e; + } + if (resolveResult === void 0) { + continue; + } + if (resolveResult === null) { + lastException = null; + continue; + } + return resolveResult; + } + if (lastException === void 0 || lastException === null) + return lastException; + throw lastException; + } else if (typeof target === "object" && target !== null) { + const keys = ObjectGetOwnPropertyNames(target); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if (isArrayIndex(key)) { + throw new ERR_INVALID_PACKAGE_CONFIG( + fileURLToPath(packageJSONUrl), + base, + '"exports" cannot contain numeric property keys.' + ); + } + } + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if (key === "default" || conditions.has(key)) { + const conditionalTarget = target[key]; + const resolveResult = resolvePackageTarget( + packageJSONUrl, + conditionalTarget, + subpath, + packageSubpath, + base, + pattern, + internal, + conditions + ); + if (resolveResult === void 0) + continue; + return resolveResult; + } + } + return void 0; + } else if (target === null) { + return null; + } + throwInvalidPackageTarget( + packageSubpath, + target, + packageJSONUrl, + internal, + base + ); +} +function patternKeyCompare(a, b) { + const aPatternIndex = StringPrototypeIndexOf(a, "*"); + const bPatternIndex = StringPrototypeIndexOf(b, "*"); + const baseLenA = aPatternIndex === -1 ? a.length : aPatternIndex + 1; + const baseLenB = bPatternIndex === -1 ? b.length : bPatternIndex + 1; + if (baseLenA > baseLenB) + return -1; + if (baseLenB > baseLenA) + return 1; + if (aPatternIndex === -1) + return 1; + if (bPatternIndex === -1) + return -1; + if (a.length > b.length) + return -1; + if (b.length > a.length) + return 1; + return 0; +} +function packageImportsResolve({ name, base, conditions, readFileSyncFn }) { + if (name === "#" || StringPrototypeStartsWith(name, "#/") || StringPrototypeEndsWith(name, "/")) { + const reason = "is not a valid internal imports specifier name"; + throw new ERR_INVALID_MODULE_SPECIFIER(name, reason, fileURLToPath(base)); + } + let packageJSONUrl; + const packageConfig = getPackageScopeConfig(base, readFileSyncFn); + if (packageConfig.exists) { + packageJSONUrl = pathToFileURL(packageConfig.pjsonPath); + const imports = packageConfig.imports; + if (imports) { + if (ObjectPrototypeHasOwnProperty(imports, name) && !StringPrototypeIncludes(name, "*")) { + const resolveResult = resolvePackageTarget( + packageJSONUrl, + imports[name], + "", + name, + base, + false, + true, + conditions + ); + if (resolveResult != null) { + return resolveResult; + } + } else { + let bestMatch = ""; + let bestMatchSubpath; + const keys = ObjectGetOwnPropertyNames(imports); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + const patternIndex = StringPrototypeIndexOf(key, "*"); + if (patternIndex !== -1 && StringPrototypeStartsWith( + name, + StringPrototypeSlice(key, 0, patternIndex) + )) { + const patternTrailer = StringPrototypeSlice(key, patternIndex + 1); + if (name.length >= key.length && StringPrototypeEndsWith(name, patternTrailer) && patternKeyCompare(bestMatch, key) === 1 && StringPrototypeLastIndexOf(key, "*") === patternIndex) { + bestMatch = key; + bestMatchSubpath = StringPrototypeSlice( + name, + patternIndex, + name.length - patternTrailer.length + ); + } + } + } + if (bestMatch) { + const target = imports[bestMatch]; + const resolveResult = resolvePackageTarget( + packageJSONUrl, + target, + bestMatchSubpath, + bestMatch, + base, + true, + true, + conditions + ); + if (resolveResult != null) { + return resolveResult; + } + } + } + } + } + throwImportNotDefined(name, packageJSONUrl, base); +} + +const pathRegExp = /^(?![a-zA-Z]:[\\/]|\\\\|\.{0,2}(?:\/|$))((?:node:)?(?:@[^/]+\/)?[^/]+)\/*(.*|)$/; +const isRelativeRegexp = /^\.{0,2}\//; +function tryReadFile(filePath) { + try { + return fs.readFileSync(filePath, `utf8`); + } catch (err) { + if (err.code === `ENOENT`) + return void 0; + throw err; + } +} +async function resolvePrivateRequest(specifier, issuer, context, nextResolve) { + const resolved = packageImportsResolve({ + name: specifier, + base: pathToFileURL(issuer), + conditions: new Set(context.conditions), + readFileSyncFn: tryReadFile + }); + if (resolved instanceof URL) { + return { url: resolved.href, shortCircuit: true }; + } else { + if (resolved.startsWith(`#`)) + throw new Error(`Mapping from one private import to another isn't allowed`); + return resolve$1(resolved, context, nextResolve); + } +} +async function resolve$1(originalSpecifier, context, nextResolve) { + const { findPnpApi } = moduleExports; + if (!findPnpApi || isBuiltin(originalSpecifier)) + return nextResolve(originalSpecifier, context, nextResolve); + let specifier = originalSpecifier; + const url = tryParseURL(specifier, isRelativeRegexp.test(specifier) ? context.parentURL : void 0); + if (url) { + if (url.protocol !== `file:`) + return nextResolve(originalSpecifier, context, nextResolve); + specifier = fileURLToPath(url); + } + const { parentURL, conditions = [] } = context; + const issuer = parentURL && tryParseURL(parentURL)?.protocol === `file:` ? fileURLToPath(parentURL) : process.cwd(); + const pnpapi = findPnpApi(issuer) ?? (url ? findPnpApi(specifier) : null); + if (!pnpapi) + return nextResolve(originalSpecifier, context, nextResolve); + if (specifier.startsWith(`#`)) + return resolvePrivateRequest(specifier, issuer, context, nextResolve); + const dependencyNameMatch = specifier.match(pathRegExp); + let allowLegacyResolve = false; + if (dependencyNameMatch) { + const [, dependencyName, subPath] = dependencyNameMatch; + if (subPath === `` && dependencyName !== `pnpapi`) { + const resolved = pnpapi.resolveToUnqualified(`${dependencyName}/package.json`, issuer); + if (resolved) { + const content = await tryReadFile$1(resolved); + if (content) { + const pkg = JSON.parse(content); + allowLegacyResolve = pkg.exports == null; + } + } + } + } + let result; + try { + result = pnpapi.resolveRequest(specifier, issuer, { + conditions: new Set(conditions), + extensions: allowLegacyResolve ? void 0 : [] + }); + } catch (err) { + if (err instanceof Error && `code` in err && err.code === `MODULE_NOT_FOUND`) + err.code = `ERR_MODULE_NOT_FOUND`; + throw err; + } + if (!result) + throw new Error(`Resolving '${specifier}' from '${issuer}' failed`); + const resultURL = pathToFileURL(result); + if (url) { + resultURL.search = url.search; + resultURL.hash = url.hash; + } + if (!parentURL) + setEntrypointPath(fileURLToPath(resultURL)); + return { + url: resultURL.href, + shortCircuit: true + }; +} + +if (!HAS_LAZY_LOADED_TRANSLATORS) { + const binding = process.binding(`fs`); + const originalReadFile = binding.readFileUtf8 || binding.readFileSync; + if (originalReadFile) { + binding[originalReadFile.name] = function(...args) { + try { + return fs.readFileSync(args[0], { + encoding: `utf8`, + flag: args[1] + }); + } catch { + } + return originalReadFile.apply(this, args); + }; + } else { + const binding2 = process.binding(`fs`); + const originalfstat = binding2.fstat; + const ZIP_MASK = 4278190080; + const ZIP_MAGIC = 704643072; + binding2.fstat = function(...args) { + const [fd, useBigint, req] = args; + if ((fd & ZIP_MASK) === ZIP_MAGIC && useBigint === false && req === void 0) { + try { + const stats = fs.fstatSync(fd); + return new Float64Array([ + stats.dev, + stats.mode, + stats.nlink, + stats.uid, + stats.gid, + stats.rdev, + stats.blksize, + stats.ino, + stats.size, + stats.blocks + ]); + } catch { + } + } + return originalfstat.apply(this, args); + }; + } +} + +const resolve = resolve$1; +const load = load$1; + +export { load, resolve }; diff --git a/Iceshrimp.Frontend/.vscode/extensions.json b/Iceshrimp.Frontend/.vscode/extensions.json new file mode 100644 index 00000000..c0a6e5a4 --- /dev/null +++ b/Iceshrimp.Frontend/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] +} diff --git a/Iceshrimp.Frontend/README.md b/Iceshrimp.Frontend/README.md new file mode 100644 index 00000000..ef72fd52 --- /dev/null +++ b/Iceshrimp.Frontend/README.md @@ -0,0 +1,18 @@ +# Vue 3 + TypeScript + Vite + +This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 ` + + diff --git a/Iceshrimp.Frontend/package.json b/Iceshrimp.Frontend/package.json new file mode 100644 index 00000000..7ae3d328 --- /dev/null +++ b/Iceshrimp.Frontend/package.json @@ -0,0 +1,28 @@ +{ + "name": "frontend", + "private": true, + "version": "0.0.0", + "type": "module", + "packageManager": "yarn@4.0.2", + "scripts": { + "dev": "vite", + "build": "vue-tsc && vite build", + "preview": "vite preview" + }, + "devDependencies": { + "@typescript-eslint/eslint-plugin": "^6.14.0", + "@typescript-eslint/parser": "^6.14.0", + "@vitejs/plugin-vue": "^4.5.0", + "eslint": "^8.55.0", + "eslint-plugin-vue": "^9.19.2", + "idb-keyval": "^6.2.1", + "sass": "^1.69.5", + "typescript": "^5.2.2", + "vite": "^5.0.0", + "vite-plugin-eslint": "^1.8.1", + "vue": "^3.3.8", + "vue-eslint-parser": "9.3.1", + "vue-router": "^4.2.5", + "vue-tsc": "^1.8.22" + } +} diff --git a/Iceshrimp.Frontend/src/App.vue b/Iceshrimp.Frontend/src/App.vue new file mode 100644 index 00000000..aac722dd --- /dev/null +++ b/Iceshrimp.Frontend/src/App.vue @@ -0,0 +1,11 @@ + + + + + diff --git a/Iceshrimp.Frontend/src/assets/vite.svg b/Iceshrimp.Frontend/src/assets/vite.svg new file mode 100644 index 00000000..e7b8dfb1 --- /dev/null +++ b/Iceshrimp.Frontend/src/assets/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Iceshrimp.Frontend/src/assets/vue.svg b/Iceshrimp.Frontend/src/assets/vue.svg new file mode 100644 index 00000000..770e9d33 --- /dev/null +++ b/Iceshrimp.Frontend/src/assets/vue.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Iceshrimp.Frontend/src/components/AccountPicker.vue b/Iceshrimp.Frontend/src/components/AccountPicker.vue new file mode 100644 index 00000000..91ba806a --- /dev/null +++ b/Iceshrimp.Frontend/src/components/AccountPicker.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/Iceshrimp.Frontend/src/components/AuthDebug.vue b/Iceshrimp.Frontend/src/components/AuthDebug.vue new file mode 100644 index 00000000..87665a21 --- /dev/null +++ b/Iceshrimp.Frontend/src/components/AuthDebug.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/Iceshrimp.Frontend/src/components/HelloWorld.vue b/Iceshrimp.Frontend/src/components/HelloWorld.vue new file mode 100644 index 00000000..7b25f3f2 --- /dev/null +++ b/Iceshrimp.Frontend/src/components/HelloWorld.vue @@ -0,0 +1,38 @@ + + + + + diff --git a/Iceshrimp.Frontend/src/entities/keyval.ts b/Iceshrimp.Frontend/src/entities/keyval.ts new file mode 100644 index 00000000..c0f53f3a --- /dev/null +++ b/Iceshrimp.Frontend/src/entities/keyval.ts @@ -0,0 +1,4 @@ +export type KvAccount = { + id: string; + token: string; +} diff --git a/Iceshrimp.Frontend/src/helpers/api.ts b/Iceshrimp.Frontend/src/helpers/api.ts new file mode 100644 index 00000000..ed1c91c2 --- /dev/null +++ b/Iceshrimp.Frontend/src/helpers/api.ts @@ -0,0 +1,27 @@ +import { get as kvGet } from "idb-keyval"; +import { KvAccount } from "../entities/keyval.ts"; + +export async function api(endpoint: string, body?: object, prefix: string = '/api/iceshrimp') { + const token = (await getCurrentAccount())?.token ?? null; + const headers: Record = {}; + + if (token != null) headers['Authorization'] = `Bearer ${token}`; + if (body != null) headers['Content-Type'] = `application/json`; + + const request = { + method: body ? 'POST' : 'GET', + headers: headers, + body: body ? JSON.stringify(body) : undefined + }; + + return fetch(prefix + endpoint, request).then(res => res.json()); +} + +//FIXME: cache this somewhere? +async function getCurrentAccount(): Promise { + const currentAccountId = localStorage.getItem('accountId'); + if (currentAccountId === null) return null; + const accounts = await kvGet("accounts"); + if (!accounts) return null; + return accounts.find(p => p.id === currentAccountId) ?? null; +} diff --git a/Iceshrimp.Frontend/src/main.ts b/Iceshrimp.Frontend/src/main.ts new file mode 100644 index 00000000..da7af31a --- /dev/null +++ b/Iceshrimp.Frontend/src/main.ts @@ -0,0 +1,18 @@ +import { createApp } from 'vue'; +import { createRouter, createWebHistory } from 'vue-router'; +import './style.css'; +import AppSkeleton from "./App.vue"; +import AuthPage from "./pages/auth.vue"; + +const routes = [ + { path: '/', component: AuthPage } +]; + +const router = createRouter({ + history: createWebHistory('/'), + routes, +}) + +const app = createApp(AppSkeleton); +app.use(router); +app.mount('#app') diff --git a/Iceshrimp.Frontend/src/pages/auth.vue b/Iceshrimp.Frontend/src/pages/auth.vue new file mode 100644 index 00000000..a969d958 --- /dev/null +++ b/Iceshrimp.Frontend/src/pages/auth.vue @@ -0,0 +1,14 @@ + + + + + diff --git a/Iceshrimp.Frontend/src/style.css b/Iceshrimp.Frontend/src/style.css new file mode 100644 index 00000000..bb131d6b --- /dev/null +++ b/Iceshrimp.Frontend/src/style.css @@ -0,0 +1,79 @@ +:root { + font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; + line-height: 1.5; + font-weight: 400; + + color-scheme: light dark; + color: rgba(255, 255, 255, 0.87); + background-color: #242424; + + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +a { + font-weight: 500; + color: #646cff; + text-decoration: inherit; +} +a:hover { + color: #535bf2; +} + +body { + margin: 0; + display: flex; + place-items: center; + min-width: 320px; + min-height: 100vh; +} + +h1 { + font-size: 3.2em; + line-height: 1.1; +} + +button { + border-radius: 8px; + border: 1px solid transparent; + padding: 0.6em 1.2em; + font-size: 1em; + font-weight: 500; + font-family: inherit; + background-color: #1a1a1a; + cursor: pointer; + transition: border-color 0.25s; +} +button:hover { + border-color: #646cff; +} +button:focus, +button:focus-visible { + outline: 4px auto -webkit-focus-ring-color; +} + +.card { + padding: 2em; +} + +#app { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + text-align: center; +} + +@media (prefers-color-scheme: light) { + :root { + color: #213547; + background-color: #ffffff; + } + a:hover { + color: #747bff; + } + button { + background-color: #f9f9f9; + } +} diff --git a/Iceshrimp.Frontend/src/vite-env.d.ts b/Iceshrimp.Frontend/src/vite-env.d.ts new file mode 100644 index 00000000..147c9686 --- /dev/null +++ b/Iceshrimp.Frontend/src/vite-env.d.ts @@ -0,0 +1,6 @@ +/// +declare module '*.vue' { + import type { DefineComponent } from 'vue' + const component: DefineComponent<{}, {}, any> + export default component +} diff --git a/Iceshrimp.Frontend/tsconfig.json b/Iceshrimp.Frontend/tsconfig.json new file mode 100644 index 00000000..9e03e604 --- /dev/null +++ b/Iceshrimp.Frontend/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "module": "ESNext", + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "preserve", + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"], + "references": [{ "path": "./tsconfig.node.json" }] +} diff --git a/Iceshrimp.Frontend/tsconfig.node.json b/Iceshrimp.Frontend/tsconfig.node.json new file mode 100644 index 00000000..42872c59 --- /dev/null +++ b/Iceshrimp.Frontend/tsconfig.node.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "composite": true, + "skipLibCheck": true, + "module": "ESNext", + "moduleResolution": "bundler", + "allowSyntheticDefaultImports": true + }, + "include": ["vite.config.ts"] +} diff --git a/Iceshrimp.Frontend/vite.config.ts b/Iceshrimp.Frontend/vite.config.ts new file mode 100644 index 00000000..c493a21d --- /dev/null +++ b/Iceshrimp.Frontend/vite.config.ts @@ -0,0 +1,22 @@ +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' +import eslint from 'vite-plugin-eslint'; + +export default defineConfig({ + plugins: [ + vue(), + eslint({ + cache: true, + failOnError: true, + failOnWarning: false, + }), + ], + build: { + outDir: '../Iceshrimp.Backend/wwwroot/frontend', + emptyOutDir: true, + manifest: true, + rollupOptions: { + input: 'src/main.ts', + }, + }, +}) diff --git a/Iceshrimp.Frontend/yarn.lock b/Iceshrimp.Frontend/yarn.lock new file mode 100644 index 00000000..2c3873b4 --- /dev/null +++ b/Iceshrimp.Frontend/yarn.lock @@ -0,0 +1,2946 @@ +# This file is generated by running "yarn install" inside your project. +# Manual changes might be lost - proceed with caution! + +__metadata: + version: 8 + cacheKey: 10c0 + +"@aashutoshrathi/word-wrap@npm:^1.2.3": + version: 1.2.6 + resolution: "@aashutoshrathi/word-wrap@npm:1.2.6" + checksum: 53c2b231a61a46792b39a0d43bc4f4f776bb4542aa57ee04930676802e5501282c2fc8aac14e4cd1f1120ff8b52616b6ff5ab539ad30aa2277d726444b71619f + languageName: node + linkType: hard + +"@babel/helper-string-parser@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/helper-string-parser@npm:7.23.4" + checksum: f348d5637ad70b6b54b026d6544bd9040f78d24e7ec245a0fc42293968181f6ae9879c22d89744730d246ce8ec53588f716f102addd4df8bbc79b73ea10004ac + languageName: node + linkType: hard + +"@babel/helper-validator-identifier@npm:^7.22.20": + version: 7.22.20 + resolution: "@babel/helper-validator-identifier@npm:7.22.20" + checksum: dcad63db345fb110e032de46c3688384b0008a42a4845180ce7cd62b1a9c0507a1bed727c4d1060ed1a03ae57b4d918570259f81724aaac1a5b776056f37504e + languageName: node + linkType: hard + +"@babel/parser@npm:^7.23.5": + version: 7.23.6 + resolution: "@babel/parser@npm:7.23.6" + bin: + parser: ./bin/babel-parser.js + checksum: 6f76cd5ccae1fa9bcab3525b0865c6222e9c1d22f87abc69f28c5c7b2c8816a13361f5bd06bddbd5faf903f7320a8feba02545c981468acec45d12a03db7755e + languageName: node + linkType: hard + +"@babel/types@npm:^7.8.3": + version: 7.23.6 + resolution: "@babel/types@npm:7.23.6" + dependencies: + "@babel/helper-string-parser": "npm:^7.23.4" + "@babel/helper-validator-identifier": "npm:^7.22.20" + to-fast-properties: "npm:^2.0.0" + checksum: 42cefce8a68bd09bb5828b4764aa5586c53c60128ac2ac012e23858e1c179347a4aac9c66fc577994fbf57595227611c5ec8270bf0cfc94ff033bbfac0550b70 + languageName: node + linkType: hard + +"@esbuild/android-arm64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/android-arm64@npm:0.19.9" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/android-arm@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/android-arm@npm:0.19.9" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@esbuild/android-x64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/android-x64@npm:0.19.9" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/darwin-arm64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/darwin-arm64@npm:0.19.9" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/darwin-x64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/darwin-x64@npm:0.19.9" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/freebsd-arm64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/freebsd-arm64@npm:0.19.9" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/freebsd-x64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/freebsd-x64@npm:0.19.9" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/linux-arm64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/linux-arm64@npm:0.19.9" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/linux-arm@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/linux-arm@npm:0.19.9" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@esbuild/linux-ia32@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/linux-ia32@npm:0.19.9" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/linux-loong64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/linux-loong64@npm:0.19.9" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + +"@esbuild/linux-mips64el@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/linux-mips64el@npm:0.19.9" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + +"@esbuild/linux-ppc64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/linux-ppc64@npm:0.19.9" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/linux-riscv64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/linux-riscv64@npm:0.19.9" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + +"@esbuild/linux-s390x@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/linux-s390x@npm:0.19.9" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + +"@esbuild/linux-x64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/linux-x64@npm:0.19.9" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/netbsd-x64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/netbsd-x64@npm:0.19.9" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/openbsd-x64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/openbsd-x64@npm:0.19.9" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/sunos-x64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/sunos-x64@npm:0.19.9" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/win32-arm64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/win32-arm64@npm:0.19.9" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/win32-ia32@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/win32-ia32@npm:0.19.9" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/win32-x64@npm:0.19.9": + version: 0.19.9 + resolution: "@esbuild/win32-x64@npm:0.19.9" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0": + version: 4.4.0 + resolution: "@eslint-community/eslint-utils@npm:4.4.0" + dependencies: + eslint-visitor-keys: "npm:^3.3.0" + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + checksum: 7e559c4ce59cd3a06b1b5a517b593912e680a7f981ae7affab0d01d709e99cd5647019be8fafa38c350305bc32f1f7d42c7073edde2ab536c745e365f37b607e + languageName: node + linkType: hard + +"@eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1": + version: 4.10.0 + resolution: "@eslint-community/regexpp@npm:4.10.0" + checksum: c5f60ef1f1ea7649fa7af0e80a5a79f64b55a8a8fa5086de4727eb4c86c652aedee407a9c143b8995d2c0b2d75c1222bec9ba5d73dbfc1f314550554f0979ef4 + languageName: node + linkType: hard + +"@eslint/eslintrc@npm:^2.1.4": + version: 2.1.4 + resolution: "@eslint/eslintrc@npm:2.1.4" + dependencies: + ajv: "npm:^6.12.4" + debug: "npm:^4.3.2" + espree: "npm:^9.6.0" + globals: "npm:^13.19.0" + ignore: "npm:^5.2.0" + import-fresh: "npm:^3.2.1" + js-yaml: "npm:^4.1.0" + minimatch: "npm:^3.1.2" + strip-json-comments: "npm:^3.1.1" + checksum: 32f67052b81768ae876c84569ffd562491ec5a5091b0c1e1ca1e0f3c24fb42f804952fdd0a137873bc64303ba368a71ba079a6f691cee25beee9722d94cc8573 + languageName: node + linkType: hard + +"@eslint/js@npm:8.56.0": + version: 8.56.0 + resolution: "@eslint/js@npm:8.56.0" + checksum: 60b3a1cf240e2479cec9742424224465dc50e46d781da1b7f5ef240501b2d1202c225bd456207faac4b34a64f4765833345bc4ddffd00395e1db40fa8c426f5a + languageName: node + linkType: hard + +"@humanwhocodes/config-array@npm:^0.11.13": + version: 0.11.13 + resolution: "@humanwhocodes/config-array@npm:0.11.13" + dependencies: + "@humanwhocodes/object-schema": "npm:^2.0.1" + debug: "npm:^4.1.1" + minimatch: "npm:^3.0.5" + checksum: d76ca802d853366094d0e98ff0d0994117fc8eff96649cd357b15e469e428228f597cd2e929d54ab089051684949955f16ee905bb19f7b2f0446fb377157be7a + languageName: node + linkType: hard + +"@humanwhocodes/module-importer@npm:^1.0.1": + version: 1.0.1 + resolution: "@humanwhocodes/module-importer@npm:1.0.1" + checksum: 909b69c3b86d482c26b3359db16e46a32e0fb30bd306a3c176b8313b9e7313dba0f37f519de6aa8b0a1921349e505f259d19475e123182416a506d7f87e7f529 + languageName: node + linkType: hard + +"@humanwhocodes/object-schema@npm:^2.0.1": + version: 2.0.1 + resolution: "@humanwhocodes/object-schema@npm:2.0.1" + checksum: 9dba24e59fdb4041829d92b693aacb778add3b6f612aaa9c0774f3b650c11a378cc64f042a59da85c11dae33df456580a3c36837b953541aed6ff94294f97fac + languageName: node + linkType: hard + +"@isaacs/cliui@npm:^8.0.2": + version: 8.0.2 + resolution: "@isaacs/cliui@npm:8.0.2" + dependencies: + string-width: "npm:^5.1.2" + string-width-cjs: "npm:string-width@^4.2.0" + strip-ansi: "npm:^7.0.1" + strip-ansi-cjs: "npm:strip-ansi@^6.0.1" + wrap-ansi: "npm:^8.1.0" + wrap-ansi-cjs: "npm:wrap-ansi@^7.0.0" + checksum: b1bf42535d49f11dc137f18d5e4e63a28c5569de438a221c369483731e9dac9fb797af554e8bf02b6192d1e5eba6e6402cf93900c3d0ac86391d00d04876789e + languageName: node + linkType: hard + +"@jridgewell/sourcemap-codec@npm:^1.4.15": + version: 1.4.15 + resolution: "@jridgewell/sourcemap-codec@npm:1.4.15" + checksum: 0c6b5ae663087558039052a626d2d7ed5208da36cfd707dcc5cea4a07cfc918248403dcb5989a8f7afaf245ce0573b7cc6fd94c4a30453bd10e44d9363940ba5 + languageName: node + linkType: hard + +"@nodelib/fs.scandir@npm:2.1.5": + version: 2.1.5 + resolution: "@nodelib/fs.scandir@npm:2.1.5" + dependencies: + "@nodelib/fs.stat": "npm:2.0.5" + run-parallel: "npm:^1.1.9" + checksum: 732c3b6d1b1e967440e65f284bd06e5821fedf10a1bea9ed2bb75956ea1f30e08c44d3def9d6a230666574edbaf136f8cfd319c14fd1f87c66e6a44449afb2eb + languageName: node + linkType: hard + +"@nodelib/fs.stat@npm:2.0.5, @nodelib/fs.stat@npm:^2.0.2": + version: 2.0.5 + resolution: "@nodelib/fs.stat@npm:2.0.5" + checksum: 88dafe5e3e29a388b07264680dc996c17f4bda48d163a9d4f5c1112979f0ce8ec72aa7116122c350b4e7976bc5566dc3ddb579be1ceaacc727872eb4ed93926d + languageName: node + linkType: hard + +"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": + version: 1.2.8 + resolution: "@nodelib/fs.walk@npm:1.2.8" + dependencies: + "@nodelib/fs.scandir": "npm:2.1.5" + fastq: "npm:^1.6.0" + checksum: db9de047c3bb9b51f9335a7bb46f4fcfb6829fb628318c12115fbaf7d369bfce71c15b103d1fc3b464812d936220ee9bc1c8f762d032c9f6be9acc99249095b1 + languageName: node + linkType: hard + +"@npmcli/agent@npm:^2.0.0": + version: 2.2.0 + resolution: "@npmcli/agent@npm:2.2.0" + dependencies: + agent-base: "npm:^7.1.0" + http-proxy-agent: "npm:^7.0.0" + https-proxy-agent: "npm:^7.0.1" + lru-cache: "npm:^10.0.1" + socks-proxy-agent: "npm:^8.0.1" + checksum: 7b89590598476dda88e79c473766b67c682aae6e0ab0213491daa6083dcc0c171f86b3868f5506f22c09aa5ea69ad7dfb78f4bf39a8dca375d89a42f408645b3 + languageName: node + linkType: hard + +"@npmcli/fs@npm:^3.1.0": + version: 3.1.0 + resolution: "@npmcli/fs@npm:3.1.0" + dependencies: + semver: "npm:^7.3.5" + checksum: 162b4a0b8705cd6f5c2470b851d1dc6cd228c86d2170e1769d738c1fbb69a87160901411c3c035331e9e99db72f1f1099a8b734bf1637cc32b9a5be1660e4e1e + languageName: node + linkType: hard + +"@pkgjs/parseargs@npm:^0.11.0": + version: 0.11.0 + resolution: "@pkgjs/parseargs@npm:0.11.0" + checksum: 5bd7576bb1b38a47a7fc7b51ac9f38748e772beebc56200450c4a817d712232b8f1d3ef70532c80840243c657d491cf6a6be1e3a214cff907645819fdc34aadd + languageName: node + linkType: hard + +"@rollup/pluginutils@npm:^4.2.1": + version: 4.2.1 + resolution: "@rollup/pluginutils@npm:4.2.1" + dependencies: + estree-walker: "npm:^2.0.1" + picomatch: "npm:^2.2.2" + checksum: 3ee56b2c8f1ed8dfd0a92631da1af3a2dfdd0321948f089b3752b4de1b54dc5076701eadd0e5fc18bd191b77af594ac1db6279e83951238ba16bf8a414c64c48 + languageName: node + linkType: hard + +"@rollup/rollup-android-arm-eabi@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.9.0" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@rollup/rollup-android-arm64@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-android-arm64@npm:4.9.0" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-arm64@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.9.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-x64@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.9.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-gnueabihf@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.9.0" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.9.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-musl@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.9.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-gnu@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.9.0" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.9.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-musl@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.9.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-win32-arm64-msvc@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.9.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-ia32-msvc@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.9.0" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@rollup/rollup-win32-x64-msvc@npm:4.9.0": + version: 4.9.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.9.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@types/eslint@npm:^8.4.5": + version: 8.44.9 + resolution: "@types/eslint@npm:8.44.9" + dependencies: + "@types/estree": "npm:*" + "@types/json-schema": "npm:*" + checksum: e9da4e4c7b7c9014b17d40007e36f02f3b5dd55c43bb05928b52dd9c19f2a8fb7971a851a4e7a11625c3c69da286c5baf55de2f8bb900b1a4cfb5145a4491b37 + languageName: node + linkType: hard + +"@types/estree@npm:*": + version: 1.0.5 + resolution: "@types/estree@npm:1.0.5" + checksum: b3b0e334288ddb407c7b3357ca67dbee75ee22db242ca7c56fe27db4e1a31989cb8af48a84dd401deb787fe10cc6b2ab1ee82dc4783be87ededbe3d53c79c70d + languageName: node + linkType: hard + +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.12": + version: 7.0.15 + resolution: "@types/json-schema@npm:7.0.15" + checksum: a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db + languageName: node + linkType: hard + +"@types/semver@npm:^7.5.0": + version: 7.5.6 + resolution: "@types/semver@npm:7.5.6" + checksum: 196dc32db5f68cbcde2e6a42bb4aa5cbb100fa2b7bd9c8c82faaaf3e03fbe063e205dbb4f03c7cdf53da2edb70a0d34c9f2e601b54281b377eb8dc1743226acd + languageName: node + linkType: hard + +"@typescript-eslint/eslint-plugin@npm:^6.14.0": + version: 6.14.0 + resolution: "@typescript-eslint/eslint-plugin@npm:6.14.0" + dependencies: + "@eslint-community/regexpp": "npm:^4.5.1" + "@typescript-eslint/scope-manager": "npm:6.14.0" + "@typescript-eslint/type-utils": "npm:6.14.0" + "@typescript-eslint/utils": "npm:6.14.0" + "@typescript-eslint/visitor-keys": "npm:6.14.0" + debug: "npm:^4.3.4" + graphemer: "npm:^1.4.0" + ignore: "npm:^5.2.4" + natural-compare: "npm:^1.4.0" + semver: "npm:^7.5.4" + ts-api-utils: "npm:^1.0.1" + peerDependencies: + "@typescript-eslint/parser": ^6.0.0 || ^6.0.0-alpha + eslint: ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 6360efb0e142ed91de5e9bddcd041f769feeedd256332733be08f7a74c8ae637cbfb78c6b85d747c73231bbb95cef95ed2d2854ab7d43aebfbedb3a191f447f1 + languageName: node + linkType: hard + +"@typescript-eslint/parser@npm:^6.14.0": + version: 6.14.0 + resolution: "@typescript-eslint/parser@npm:6.14.0" + dependencies: + "@typescript-eslint/scope-manager": "npm:6.14.0" + "@typescript-eslint/types": "npm:6.14.0" + "@typescript-eslint/typescript-estree": "npm:6.14.0" + "@typescript-eslint/visitor-keys": "npm:6.14.0" + debug: "npm:^4.3.4" + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 0344f7f640374e7e5a5b50e9c90fbd161611b3f455132e541ef9116eef7bd3acf364db64bd38d4b6b4fe148414494620c9df660f8ddce036019c38ae8e146585 + languageName: node + linkType: hard + +"@typescript-eslint/scope-manager@npm:6.14.0": + version: 6.14.0 + resolution: "@typescript-eslint/scope-manager@npm:6.14.0" + dependencies: + "@typescript-eslint/types": "npm:6.14.0" + "@typescript-eslint/visitor-keys": "npm:6.14.0" + checksum: 8c59a215af3d7d24d8d0b21c28a858263de471650829f288a941e0eb8af8a054798da5c7594b7f39370219718270c18464b5edb96f451457e5f080a33ba57c2c + languageName: node + linkType: hard + +"@typescript-eslint/type-utils@npm:6.14.0": + version: 6.14.0 + resolution: "@typescript-eslint/type-utils@npm:6.14.0" + dependencies: + "@typescript-eslint/typescript-estree": "npm:6.14.0" + "@typescript-eslint/utils": "npm:6.14.0" + debug: "npm:^4.3.4" + ts-api-utils: "npm:^1.0.1" + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 836a6e84be5a245b07c76968c98e2f3bae064767dde720080fe8f33e226188510778dbca4199b7e42ef675ec3fd6d0ab522ec1c77d6e2a9b50e8e275fe7c72c9 + languageName: node + linkType: hard + +"@typescript-eslint/types@npm:6.14.0": + version: 6.14.0 + resolution: "@typescript-eslint/types@npm:6.14.0" + checksum: d59306a7a441982a4dcee7d775928fd5086aba9331f7a238f915723a0dc785df0e43af562a30a7c2f1b056a1e49fd64863a8d2450d31706193add0ade87334a4 + languageName: node + linkType: hard + +"@typescript-eslint/typescript-estree@npm:6.14.0": + version: 6.14.0 + resolution: "@typescript-eslint/typescript-estree@npm:6.14.0" + dependencies: + "@typescript-eslint/types": "npm:6.14.0" + "@typescript-eslint/visitor-keys": "npm:6.14.0" + debug: "npm:^4.3.4" + globby: "npm:^11.1.0" + is-glob: "npm:^4.0.3" + semver: "npm:^7.5.4" + ts-api-utils: "npm:^1.0.1" + peerDependenciesMeta: + typescript: + optional: true + checksum: 767c3309987b8ad053a2403605a9bd7c4eb3283dece864a741a7531a1c28eea4d85acaa4613141b64e194f9f6c4cbc5bc762c9b9f3a67c6202aa8cbb18b180d2 + languageName: node + linkType: hard + +"@typescript-eslint/utils@npm:6.14.0": + version: 6.14.0 + resolution: "@typescript-eslint/utils@npm:6.14.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@types/json-schema": "npm:^7.0.12" + "@types/semver": "npm:^7.5.0" + "@typescript-eslint/scope-manager": "npm:6.14.0" + "@typescript-eslint/types": "npm:6.14.0" + "@typescript-eslint/typescript-estree": "npm:6.14.0" + semver: "npm:^7.5.4" + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + checksum: 72689b2897b89e1bd1c71c1c2ae436d0ccfbcfffabf3be4378de74ad8138b2ecdbeeda7c1720e2f1754569e773f2fc7216f704335e1e56c38c7601ee1d190aeb + languageName: node + linkType: hard + +"@typescript-eslint/visitor-keys@npm:6.14.0": + version: 6.14.0 + resolution: "@typescript-eslint/visitor-keys@npm:6.14.0" + dependencies: + "@typescript-eslint/types": "npm:6.14.0" + eslint-visitor-keys: "npm:^3.4.1" + checksum: 0e2363f9f1986ebdb41507c54a666fa1c336eb6beb383dc342a10844d3c42c89067b21c3f158851fa6f0825e1e451a5470b5454fde70a6fc33b4b0259462d954 + languageName: node + linkType: hard + +"@ungap/structured-clone@npm:^1.2.0": + version: 1.2.0 + resolution: "@ungap/structured-clone@npm:1.2.0" + checksum: 8209c937cb39119f44eb63cf90c0b73e7c754209a6411c707be08e50e29ee81356dca1a848a405c8bdeebfe2f5e4f831ad310ae1689eeef65e7445c090c6657d + languageName: node + linkType: hard + +"@vitejs/plugin-vue@npm:^4.5.0": + version: 4.5.2 + resolution: "@vitejs/plugin-vue@npm:4.5.2" + peerDependencies: + vite: ^4.0.0 || ^5.0.0 + vue: ^3.2.25 + checksum: dd024b9ee2eda3174e197bda2b42df30b594d1a7f50d20b4b0de01c5a130bd99b84452e8a8d597ade50f89106025346a56f7abbf63c560e82fe97223589d2514 + languageName: node + linkType: hard + +"@volar/language-core@npm:1.11.1, @volar/language-core@npm:~1.11.1": + version: 1.11.1 + resolution: "@volar/language-core@npm:1.11.1" + dependencies: + "@volar/source-map": "npm:1.11.1" + checksum: 92c4439e3a9ccc534c970031388c318740f6fa032283d03e136c6c8c0228f549c68a7c363af1a28252617a0dca6069e14028329ac906d5acf1912931d0cdcb69 + languageName: node + linkType: hard + +"@volar/source-map@npm:1.11.1, @volar/source-map@npm:~1.11.1": + version: 1.11.1 + resolution: "@volar/source-map@npm:1.11.1" + dependencies: + muggle-string: "npm:^0.3.1" + checksum: 0bfc639889802705f8036ea8b2052a95a4d691a68bc2b6744ba8b9d312d887393dd3278101180a5ee5304972899d493972a483afafd41e097968746c77d724cb + languageName: node + linkType: hard + +"@volar/typescript@npm:~1.11.1": + version: 1.11.1 + resolution: "@volar/typescript@npm:1.11.1" + dependencies: + "@volar/language-core": "npm:1.11.1" + path-browserify: "npm:^1.0.1" + checksum: 86fe153db3a14d8eb3632784a1d7fcbfbfb51fa5517c3878bfdd49ee8d15a83b1a09f9c589454b7396454c104d3a8e2db3a987dc99b37c33816772fc3e292bf2 + languageName: node + linkType: hard + +"@vue/compiler-core@npm:3.3.12": + version: 3.3.12 + resolution: "@vue/compiler-core@npm:3.3.12" + dependencies: + "@babel/parser": "npm:^7.23.5" + "@vue/shared": "npm:3.3.12" + estree-walker: "npm:^2.0.2" + source-map-js: "npm:^1.0.2" + checksum: 982640a0f40aeadbf13767f8bb846c2375d758c3225abdcbba0f2e760bd30bc16ddf601299e40b314b28f491bcedbb3435cb464c9236231d863c1f6da038b8a1 + languageName: node + linkType: hard + +"@vue/compiler-dom@npm:3.3.12, @vue/compiler-dom@npm:^3.3.0": + version: 3.3.12 + resolution: "@vue/compiler-dom@npm:3.3.12" + dependencies: + "@vue/compiler-core": "npm:3.3.12" + "@vue/shared": "npm:3.3.12" + checksum: b527f5c899fa56aa7c11c8644c25b8e4f4080f93cabf8c4fa7ace534b735385bbf311dbb0e707c15b88a351a970e5a6cc294125b67adc2ec77ce58e0684b6c9e + languageName: node + linkType: hard + +"@vue/compiler-sfc@npm:3.3.12": + version: 3.3.12 + resolution: "@vue/compiler-sfc@npm:3.3.12" + dependencies: + "@babel/parser": "npm:^7.23.5" + "@vue/compiler-core": "npm:3.3.12" + "@vue/compiler-dom": "npm:3.3.12" + "@vue/compiler-ssr": "npm:3.3.12" + "@vue/reactivity-transform": "npm:3.3.12" + "@vue/shared": "npm:3.3.12" + estree-walker: "npm:^2.0.2" + magic-string: "npm:^0.30.5" + postcss: "npm:^8.4.32" + source-map-js: "npm:^1.0.2" + checksum: 7375fb856e5677e51cb74c08a1b61af04cd924203cdb165e508a9f98a80454bd600a4f5159dbbd5de3d1f9f54520b2332cf851122e265d6bf1943a2a11114aa1 + languageName: node + linkType: hard + +"@vue/compiler-ssr@npm:3.3.12": + version: 3.3.12 + resolution: "@vue/compiler-ssr@npm:3.3.12" + dependencies: + "@vue/compiler-dom": "npm:3.3.12" + "@vue/shared": "npm:3.3.12" + checksum: 30ef831eb8f7cd69228acc89e7c8ddd04e0fb08925db86fb3a9e1972df24612524dbf4b31de223a4c02407ec6329171437dae550c44c44dc4aaa50e3043ba850 + languageName: node + linkType: hard + +"@vue/devtools-api@npm:^6.5.0": + version: 6.5.1 + resolution: "@vue/devtools-api@npm:6.5.1" + checksum: d28b00a64df2c5b3351f74ad28ec7fe65e9ee6e20e585c0130ae6ab74b7e616d4eda3b3e82d39ad391e959be4bbb7aa7221d8253bbca1f3021ad07d4430095f9 + languageName: node + linkType: hard + +"@vue/language-core@npm:1.8.25": + version: 1.8.25 + resolution: "@vue/language-core@npm:1.8.25" + dependencies: + "@volar/language-core": "npm:~1.11.1" + "@volar/source-map": "npm:~1.11.1" + "@vue/compiler-dom": "npm:^3.3.0" + "@vue/shared": "npm:^3.3.0" + computeds: "npm:^0.0.1" + minimatch: "npm:^9.0.3" + muggle-string: "npm:^0.3.1" + path-browserify: "npm:^1.0.1" + vue-template-compiler: "npm:^2.7.14" + peerDependencies: + typescript: "*" + peerDependenciesMeta: + typescript: + optional: true + checksum: d0a06e6c30721fe211167e2ed18d490be0c525e7d2c24b6f465209347254a1feb3aa042bcfdbbc16b9c393a5fc8fae0ae517ba15ab68b55f1700d0abe19226f6 + languageName: node + linkType: hard + +"@vue/reactivity-transform@npm:3.3.12": + version: 3.3.12 + resolution: "@vue/reactivity-transform@npm:3.3.12" + dependencies: + "@babel/parser": "npm:^7.23.5" + "@vue/compiler-core": "npm:3.3.12" + "@vue/shared": "npm:3.3.12" + estree-walker: "npm:^2.0.2" + magic-string: "npm:^0.30.5" + checksum: c16cb2b6ac55de88e4cfe7816c3166667f1b313e88d0015b1ab5cf108afc791ba529e0c3ba80f4ead51898c30ea3a79e8926cdd6928d3f462214e73484239a08 + languageName: node + linkType: hard + +"@vue/reactivity@npm:3.3.12": + version: 3.3.12 + resolution: "@vue/reactivity@npm:3.3.12" + dependencies: + "@vue/shared": "npm:3.3.12" + checksum: 8a3403870b1b3daffb4ab9bb6eff5392f2a1855203a47212309651357d30f5d6c65d6f47613da3b3d1298689935c434cdfd6af59e5ababaa6b9e273a8ecf88e5 + languageName: node + linkType: hard + +"@vue/runtime-core@npm:3.3.12": + version: 3.3.12 + resolution: "@vue/runtime-core@npm:3.3.12" + dependencies: + "@vue/reactivity": "npm:3.3.12" + "@vue/shared": "npm:3.3.12" + checksum: fda42d8df00c272a87e90e45608c19f15cfdffd28561a759149a8aa096e618cd8269e887461b6b302ebde725047e68295d197422bd6f8e24e1c012d37a9e35b8 + languageName: node + linkType: hard + +"@vue/runtime-dom@npm:3.3.12": + version: 3.3.12 + resolution: "@vue/runtime-dom@npm:3.3.12" + dependencies: + "@vue/runtime-core": "npm:3.3.12" + "@vue/shared": "npm:3.3.12" + csstype: "npm:^3.1.3" + checksum: c2db1955d8015a17a143bca799f1cd208a19fac0ae119dac5a76bdcd85e606ab4cace865f49cf307e80965bb2c99a4053f52f45729e294aea943f13f819d344b + languageName: node + linkType: hard + +"@vue/server-renderer@npm:3.3.12": + version: 3.3.12 + resolution: "@vue/server-renderer@npm:3.3.12" + dependencies: + "@vue/compiler-ssr": "npm:3.3.12" + "@vue/shared": "npm:3.3.12" + peerDependencies: + vue: 3.3.12 + checksum: e320c784ee616023584b67e4d8bc4aefea3c6822b51dbb38bd57412de171f9887bce79ba25781538b9e88aa9b1e8be943f8d98a39cf88532bd6015bbabd3f5a7 + languageName: node + linkType: hard + +"@vue/shared@npm:3.3.12, @vue/shared@npm:^3.3.0": + version: 3.3.12 + resolution: "@vue/shared@npm:3.3.12" + checksum: 0352b3f05e4b646ca0a13a573ec7ce664dd9e0f880b5747b86ab47ebfdfafd7cd88877777a764c160d437fd8bbc73470f07ebd289a4721dcb6011d7b33a90794 + languageName: node + linkType: hard + +"abbrev@npm:^2.0.0": + version: 2.0.0 + resolution: "abbrev@npm:2.0.0" + checksum: f742a5a107473946f426c691c08daba61a1d15942616f300b5d32fd735be88fef5cba24201757b6c407fd564555fb48c751cfa33519b2605c8a7aadd22baf372 + languageName: node + linkType: hard + +"acorn-jsx@npm:^5.3.2": + version: 5.3.2 + resolution: "acorn-jsx@npm:5.3.2" + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + checksum: 4c54868fbef3b8d58927d5e33f0a4de35f59012fe7b12cf9dfbb345fb8f46607709e1c4431be869a23fb63c151033d84c4198fa9f79385cec34fcb1dd53974c1 + languageName: node + linkType: hard + +"acorn@npm:^8.9.0": + version: 8.11.2 + resolution: "acorn@npm:8.11.2" + bin: + acorn: bin/acorn + checksum: a3ed76c761b75ec54b1ec3068fb7f113a182e95aea7f322f65098c2958d232e3d211cb6dac35ff9c647024b63714bc528a26d54a925d1fef2c25585b4c8e4017 + languageName: node + linkType: hard + +"agent-base@npm:^7.0.2, agent-base@npm:^7.1.0": + version: 7.1.0 + resolution: "agent-base@npm:7.1.0" + dependencies: + debug: "npm:^4.3.4" + checksum: fc974ab57ffdd8421a2bc339644d312a9cca320c20c3393c9d8b1fd91731b9bbabdb985df5fc860f5b79d81c3e350daa3fcb31c5c07c0bb385aafc817df004ce + languageName: node + linkType: hard + +"aggregate-error@npm:^3.0.0": + version: 3.1.0 + resolution: "aggregate-error@npm:3.1.0" + dependencies: + clean-stack: "npm:^2.0.0" + indent-string: "npm:^4.0.0" + checksum: a42f67faa79e3e6687a4923050e7c9807db3848a037076f791d10e092677d65c1d2d863b7848560699f40fc0502c19f40963fb1cd1fb3d338a7423df8e45e039 + languageName: node + linkType: hard + +"ajv@npm:^6.12.4": + version: 6.12.6 + resolution: "ajv@npm:6.12.6" + dependencies: + fast-deep-equal: "npm:^3.1.1" + fast-json-stable-stringify: "npm:^2.0.0" + json-schema-traverse: "npm:^0.4.1" + uri-js: "npm:^4.2.2" + checksum: 41e23642cbe545889245b9d2a45854ebba51cda6c778ebced9649420d9205f2efb39cb43dbc41e358409223b1ea43303ae4839db682c848b891e4811da1a5a71 + languageName: node + linkType: hard + +"ansi-regex@npm:^5.0.1": + version: 5.0.1 + resolution: "ansi-regex@npm:5.0.1" + checksum: 9a64bb8627b434ba9327b60c027742e5d17ac69277960d041898596271d992d4d52ba7267a63ca10232e29f6107fc8a835f6ce8d719b88c5f8493f8254813737 + languageName: node + linkType: hard + +"ansi-regex@npm:^6.0.1": + version: 6.0.1 + resolution: "ansi-regex@npm:6.0.1" + checksum: cbe16dbd2c6b2735d1df7976a7070dd277326434f0212f43abf6d87674095d247968209babdaad31bb00882fa68807256ba9be340eec2f1004de14ca75f52a08 + languageName: node + linkType: hard + +"ansi-styles@npm:^4.0.0, ansi-styles@npm:^4.1.0": + version: 4.3.0 + resolution: "ansi-styles@npm:4.3.0" + dependencies: + color-convert: "npm:^2.0.1" + checksum: 895a23929da416f2bd3de7e9cb4eabd340949328ab85ddd6e484a637d8f6820d485f53933446f5291c3b760cbc488beb8e88573dd0f9c7daf83dccc8fe81b041 + languageName: node + linkType: hard + +"ansi-styles@npm:^6.1.0": + version: 6.2.1 + resolution: "ansi-styles@npm:6.2.1" + checksum: 5d1ec38c123984bcedd996eac680d548f31828bd679a66db2bdf11844634dde55fec3efa9c6bb1d89056a5e79c1ac540c4c784d592ea1d25028a92227d2f2d5c + languageName: node + linkType: hard + +"anymatch@npm:~3.1.2": + version: 3.1.3 + resolution: "anymatch@npm:3.1.3" + dependencies: + normalize-path: "npm:^3.0.0" + picomatch: "npm:^2.0.4" + checksum: 57b06ae984bc32a0d22592c87384cd88fe4511b1dd7581497831c56d41939c8a001b28e7b853e1450f2bf61992dfcaa8ae2d0d161a0a90c4fb631ef07098fbac + languageName: node + linkType: hard + +"argparse@npm:^2.0.1": + version: 2.0.1 + resolution: "argparse@npm:2.0.1" + checksum: c5640c2d89045371c7cedd6a70212a04e360fd34d6edeae32f6952c63949e3525ea77dbec0289d8213a99bbaeab5abfa860b5c12cf88a2e6cf8106e90dd27a7e + languageName: node + linkType: hard + +"array-union@npm:^2.1.0": + version: 2.1.0 + resolution: "array-union@npm:2.1.0" + checksum: 429897e68110374f39b771ec47a7161fc6a8fc33e196857c0a396dc75df0b5f65e4d046674db764330b6bb66b39ef48dd7c53b6a2ee75cfb0681e0c1a7033962 + languageName: node + linkType: hard + +"balanced-match@npm:^1.0.0": + version: 1.0.2 + resolution: "balanced-match@npm:1.0.2" + checksum: 9308baf0a7e4838a82bbfd11e01b1cb0f0cf2893bc1676c27c2a8c0e70cbae1c59120c3268517a8ae7fb6376b4639ef81ca22582611dbee4ed28df945134aaee + languageName: node + linkType: hard + +"binary-extensions@npm:^2.0.0": + version: 2.2.0 + resolution: "binary-extensions@npm:2.2.0" + checksum: d73d8b897238a2d3ffa5f59c0241870043aa7471335e89ea5e1ff48edb7c2d0bb471517a3e4c5c3f4c043615caa2717b5f80a5e61e07503d51dc85cb848e665d + languageName: node + linkType: hard + +"boolbase@npm:^1.0.0": + version: 1.0.0 + resolution: "boolbase@npm:1.0.0" + checksum: e4b53deb4f2b85c52be0e21a273f2045c7b6a6ea002b0e139c744cb6f95e9ec044439a52883b0d74dedd1ff3da55ed140cfdddfed7fb0cccbed373de5dce1bcf + languageName: node + linkType: hard + +"brace-expansion@npm:^1.1.7": + version: 1.1.11 + resolution: "brace-expansion@npm:1.1.11" + dependencies: + balanced-match: "npm:^1.0.0" + concat-map: "npm:0.0.1" + checksum: 695a56cd058096a7cb71fb09d9d6a7070113c7be516699ed361317aca2ec169f618e28b8af352e02ab4233fb54eb0168460a40dc320bab0034b36ab59aaad668 + languageName: node + linkType: hard + +"brace-expansion@npm:^2.0.1": + version: 2.0.1 + resolution: "brace-expansion@npm:2.0.1" + dependencies: + balanced-match: "npm:^1.0.0" + checksum: b358f2fe060e2d7a87aa015979ecea07f3c37d4018f8d6deb5bd4c229ad3a0384fe6029bb76cd8be63c81e516ee52d1a0673edbe2023d53a5191732ae3c3e49f + languageName: node + linkType: hard + +"braces@npm:^3.0.2, braces@npm:~3.0.2": + version: 3.0.2 + resolution: "braces@npm:3.0.2" + dependencies: + fill-range: "npm:^7.0.1" + checksum: 321b4d675791479293264019156ca322163f02dc06e3c4cab33bb15cd43d80b51efef69b0930cfde3acd63d126ebca24cd0544fa6f261e093a0fb41ab9dda381 + languageName: node + linkType: hard + +"cacache@npm:^18.0.0": + version: 18.0.1 + resolution: "cacache@npm:18.0.1" + dependencies: + "@npmcli/fs": "npm:^3.1.0" + fs-minipass: "npm:^3.0.0" + glob: "npm:^10.2.2" + lru-cache: "npm:^10.0.1" + minipass: "npm:^7.0.3" + minipass-collect: "npm:^2.0.1" + minipass-flush: "npm:^1.0.5" + minipass-pipeline: "npm:^1.2.4" + p-map: "npm:^4.0.0" + ssri: "npm:^10.0.0" + tar: "npm:^6.1.11" + unique-filename: "npm:^3.0.0" + checksum: a31666805a80a8b16ad3f85faf66750275a9175a3480896f4f6d31b5d53ef190484fabd71bdb6d2ea5603c717fbef09f4af03d6a65b525c8ef0afaa44c361866 + languageName: node + linkType: hard + +"callsites@npm:^3.0.0": + version: 3.1.0 + resolution: "callsites@npm:3.1.0" + checksum: fff92277400eb06c3079f9e74f3af120db9f8ea03bad0e84d9aede54bbe2d44a56cccb5f6cf12211f93f52306df87077ecec5b712794c5a9b5dac6d615a3f301 + languageName: node + linkType: hard + +"chalk@npm:^4.0.0": + version: 4.1.2 + resolution: "chalk@npm:4.1.2" + dependencies: + ansi-styles: "npm:^4.1.0" + supports-color: "npm:^7.1.0" + checksum: 4a3fef5cc34975c898ffe77141450f679721df9dde00f6c304353fa9c8b571929123b26a0e4617bde5018977eb655b31970c297b91b63ee83bb82aeb04666880 + languageName: node + linkType: hard + +"chokidar@npm:>=3.0.0 <4.0.0": + version: 3.5.3 + resolution: "chokidar@npm:3.5.3" + dependencies: + anymatch: "npm:~3.1.2" + braces: "npm:~3.0.2" + fsevents: "npm:~2.3.2" + glob-parent: "npm:~5.1.2" + is-binary-path: "npm:~2.1.0" + is-glob: "npm:~4.0.1" + normalize-path: "npm:~3.0.0" + readdirp: "npm:~3.6.0" + dependenciesMeta: + fsevents: + optional: true + checksum: 1076953093e0707c882a92c66c0f56ba6187831aa51bb4de878c1fec59ae611a3bf02898f190efec8e77a086b8df61c2b2a3ea324642a0558bdf8ee6c5dc9ca1 + languageName: node + linkType: hard + +"chownr@npm:^2.0.0": + version: 2.0.0 + resolution: "chownr@npm:2.0.0" + checksum: 594754e1303672171cc04e50f6c398ae16128eb134a88f801bf5354fd96f205320f23536a045d9abd8b51024a149696e51231565891d4efdab8846021ecf88e6 + languageName: node + linkType: hard + +"clean-stack@npm:^2.0.0": + version: 2.2.0 + resolution: "clean-stack@npm:2.2.0" + checksum: 1f90262d5f6230a17e27d0c190b09d47ebe7efdd76a03b5a1127863f7b3c9aec4c3e6c8bb3a7bbf81d553d56a1fd35728f5a8ef4c63f867ac8d690109742a8c1 + languageName: node + linkType: hard + +"color-convert@npm:^2.0.1": + version: 2.0.1 + resolution: "color-convert@npm:2.0.1" + dependencies: + color-name: "npm:~1.1.4" + checksum: 37e1150172f2e311fe1b2df62c6293a342ee7380da7b9cfdba67ea539909afbd74da27033208d01d6d5cfc65ee7868a22e18d7e7648e004425441c0f8a15a7d7 + languageName: node + linkType: hard + +"color-name@npm:~1.1.4": + version: 1.1.4 + resolution: "color-name@npm:1.1.4" + checksum: a1a3f914156960902f46f7f56bc62effc6c94e84b2cae157a526b1c1f74b677a47ec602bf68a61abfa2b42d15b7c5651c6dbe72a43af720bc588dff885b10f95 + languageName: node + linkType: hard + +"computeds@npm:^0.0.1": + version: 0.0.1 + resolution: "computeds@npm:0.0.1" + checksum: 8a8736f1f43e4a99286519785d71a10ece8f444a2fa1fc2fe1f03dedf63f3477b45094002c85a2826f7631759c9f5a00b4ace47456997f253073fc525e8983de + languageName: node + linkType: hard + +"concat-map@npm:0.0.1": + version: 0.0.1 + resolution: "concat-map@npm:0.0.1" + checksum: c996b1cfdf95b6c90fee4dae37e332c8b6eb7d106430c17d538034c0ad9a1630cb194d2ab37293b1bdd4d779494beee7786d586a50bd9376fd6f7bcc2bd4c98f + languageName: node + linkType: hard + +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2": + version: 7.0.3 + resolution: "cross-spawn@npm:7.0.3" + dependencies: + path-key: "npm:^3.1.0" + shebang-command: "npm:^2.0.0" + which: "npm:^2.0.1" + checksum: 5738c312387081c98d69c98e105b6327b069197f864a60593245d64c8089c8a0a744e16349281210d56835bb9274130d825a78b2ad6853ca13cfbeffc0c31750 + languageName: node + linkType: hard + +"cssesc@npm:^3.0.0": + version: 3.0.0 + resolution: "cssesc@npm:3.0.0" + bin: + cssesc: bin/cssesc + checksum: 6bcfd898662671be15ae7827120472c5667afb3d7429f1f917737f3bf84c4176003228131b643ae74543f17a394446247df090c597bb9a728cce298606ed0aa7 + languageName: node + linkType: hard + +"csstype@npm:^3.1.3": + version: 3.1.3 + resolution: "csstype@npm:3.1.3" + checksum: 80c089d6f7e0c5b2bd83cf0539ab41474198579584fa10d86d0cafe0642202343cbc119e076a0b1aece191989477081415d66c9fefbf3c957fc2fc4b7009f248 + languageName: node + linkType: hard + +"de-indent@npm:^1.0.2": + version: 1.0.2 + resolution: "de-indent@npm:1.0.2" + checksum: 7058ce58abd6dfc123dd204e36be3797abd419b59482a634605420f47ae97639d0c183ec5d1b904f308a01033f473673897afc2bd59bc620ebf1658763ef4291 + languageName: node + linkType: hard + +"debug@npm:4, debug@npm:^4.1.1, debug@npm:^4.3.2, debug@npm:^4.3.4": + version: 4.3.4 + resolution: "debug@npm:4.3.4" + dependencies: + ms: "npm:2.1.2" + peerDependenciesMeta: + supports-color: + optional: true + checksum: cedbec45298dd5c501d01b92b119cd3faebe5438c3917ff11ae1bff86a6c722930ac9c8659792824013168ba6db7c4668225d845c633fbdafbbf902a6389f736 + languageName: node + linkType: hard + +"deep-is@npm:^0.1.3": + version: 0.1.4 + resolution: "deep-is@npm:0.1.4" + checksum: 7f0ee496e0dff14a573dc6127f14c95061b448b87b995fc96c017ce0a1e66af1675e73f1d6064407975bc4ea6ab679497a29fff7b5b9c4e99cb10797c1ad0b4c + languageName: node + linkType: hard + +"dir-glob@npm:^3.0.1": + version: 3.0.1 + resolution: "dir-glob@npm:3.0.1" + dependencies: + path-type: "npm:^4.0.0" + checksum: dcac00920a4d503e38bb64001acb19df4efc14536ada475725e12f52c16777afdee4db827f55f13a908ee7efc0cb282e2e3dbaeeb98c0993dd93d1802d3bf00c + languageName: node + linkType: hard + +"doctrine@npm:^3.0.0": + version: 3.0.0 + resolution: "doctrine@npm:3.0.0" + dependencies: + esutils: "npm:^2.0.2" + checksum: c96bdccabe9d62ab6fea9399fdff04a66e6563c1d6fb3a3a063e8d53c3bb136ba63e84250bbf63d00086a769ad53aef92d2bd483f03f837fc97b71cbee6b2520 + languageName: node + linkType: hard + +"eastasianwidth@npm:^0.2.0": + version: 0.2.0 + resolution: "eastasianwidth@npm:0.2.0" + checksum: 26f364ebcdb6395f95124fda411f63137a4bfb5d3a06453f7f23dfe52502905bd84e0488172e0f9ec295fdc45f05c23d5d91baf16bd26f0fe9acd777a188dc39 + languageName: node + linkType: hard + +"emoji-regex@npm:^8.0.0": + version: 8.0.0 + resolution: "emoji-regex@npm:8.0.0" + checksum: b6053ad39951c4cf338f9092d7bfba448cdfd46fe6a2a034700b149ac9ffbc137e361cbd3c442297f86bed2e5f7576c1b54cc0a6bf8ef5106cc62f496af35010 + languageName: node + linkType: hard + +"emoji-regex@npm:^9.2.2": + version: 9.2.2 + resolution: "emoji-regex@npm:9.2.2" + checksum: af014e759a72064cf66e6e694a7fc6b0ed3d8db680427b021a89727689671cefe9d04151b2cad51dbaf85d5ba790d061cd167f1cf32eb7b281f6368b3c181639 + languageName: node + linkType: hard + +"encoding@npm:^0.1.13": + version: 0.1.13 + resolution: "encoding@npm:0.1.13" + dependencies: + iconv-lite: "npm:^0.6.2" + checksum: 36d938712ff00fe1f4bac88b43bcffb5930c1efa57bbcdca9d67e1d9d6c57cfb1200fb01efe0f3109b2ce99b231f90779532814a81370a1bd3274a0f58585039 + languageName: node + linkType: hard + +"env-paths@npm:^2.2.0": + version: 2.2.1 + resolution: "env-paths@npm:2.2.1" + checksum: 285325677bf00e30845e330eec32894f5105529db97496ee3f598478e50f008c5352a41a30e5e72ec9de8a542b5a570b85699cd63bd2bc646dbcb9f311d83bc4 + languageName: node + linkType: hard + +"err-code@npm:^2.0.2": + version: 2.0.3 + resolution: "err-code@npm:2.0.3" + checksum: b642f7b4dd4a376e954947550a3065a9ece6733ab8e51ad80db727aaae0817c2e99b02a97a3d6cecc648a97848305e728289cf312d09af395403a90c9d4d8a66 + languageName: node + linkType: hard + +"esbuild@npm:^0.19.3": + version: 0.19.9 + resolution: "esbuild@npm:0.19.9" + dependencies: + "@esbuild/android-arm": "npm:0.19.9" + "@esbuild/android-arm64": "npm:0.19.9" + "@esbuild/android-x64": "npm:0.19.9" + "@esbuild/darwin-arm64": "npm:0.19.9" + "@esbuild/darwin-x64": "npm:0.19.9" + "@esbuild/freebsd-arm64": "npm:0.19.9" + "@esbuild/freebsd-x64": "npm:0.19.9" + "@esbuild/linux-arm": "npm:0.19.9" + "@esbuild/linux-arm64": "npm:0.19.9" + "@esbuild/linux-ia32": "npm:0.19.9" + "@esbuild/linux-loong64": "npm:0.19.9" + "@esbuild/linux-mips64el": "npm:0.19.9" + "@esbuild/linux-ppc64": "npm:0.19.9" + "@esbuild/linux-riscv64": "npm:0.19.9" + "@esbuild/linux-s390x": "npm:0.19.9" + "@esbuild/linux-x64": "npm:0.19.9" + "@esbuild/netbsd-x64": "npm:0.19.9" + "@esbuild/openbsd-x64": "npm:0.19.9" + "@esbuild/sunos-x64": "npm:0.19.9" + "@esbuild/win32-arm64": "npm:0.19.9" + "@esbuild/win32-ia32": "npm:0.19.9" + "@esbuild/win32-x64": "npm:0.19.9" + dependenciesMeta: + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 85cf167596f52ec5cde47ec27013d49f04e3052e6b00cd4534095cd74a776955040b03b326d54a9588921dc631f76b97ebda76b52bb5152f3ef4a45cfba81dca + languageName: node + linkType: hard + +"escape-string-regexp@npm:^4.0.0": + version: 4.0.0 + resolution: "escape-string-regexp@npm:4.0.0" + checksum: 9497d4dd307d845bd7f75180d8188bb17ea8c151c1edbf6b6717c100e104d629dc2dfb687686181b0f4b7d732c7dfdc4d5e7a8ff72de1b0ca283a75bbb3a9cd9 + languageName: node + linkType: hard + +"eslint-plugin-vue@npm:^9.19.2": + version: 9.19.2 + resolution: "eslint-plugin-vue@npm:9.19.2" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + natural-compare: "npm:^1.4.0" + nth-check: "npm:^2.1.1" + postcss-selector-parser: "npm:^6.0.13" + semver: "npm:^7.5.4" + vue-eslint-parser: "npm:^9.3.1" + xml-name-validator: "npm:^4.0.0" + peerDependencies: + eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 + checksum: b48c24c6aedcc690b4cf2432df08da62fba6f7f24f3a561d7a2592329c2c947d01ba51b49b2a256f65735dcea4f73b44cbffc0c373fec461f49f5a02a078561e + languageName: node + linkType: hard + +"eslint-scope@npm:^7.1.1, eslint-scope@npm:^7.2.2": + version: 7.2.2 + resolution: "eslint-scope@npm:7.2.2" + dependencies: + esrecurse: "npm:^4.3.0" + estraverse: "npm:^5.2.0" + checksum: 613c267aea34b5a6d6c00514e8545ef1f1433108097e857225fed40d397dd6b1809dffd11c2fde23b37ca53d7bf935fe04d2a18e6fc932b31837b6ad67e1c116 + languageName: node + linkType: hard + +"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": + version: 3.4.3 + resolution: "eslint-visitor-keys@npm:3.4.3" + checksum: 92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820 + languageName: node + linkType: hard + +"eslint@npm:^8.55.0": + version: 8.56.0 + resolution: "eslint@npm:8.56.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.2.0" + "@eslint-community/regexpp": "npm:^4.6.1" + "@eslint/eslintrc": "npm:^2.1.4" + "@eslint/js": "npm:8.56.0" + "@humanwhocodes/config-array": "npm:^0.11.13" + "@humanwhocodes/module-importer": "npm:^1.0.1" + "@nodelib/fs.walk": "npm:^1.2.8" + "@ungap/structured-clone": "npm:^1.2.0" + ajv: "npm:^6.12.4" + chalk: "npm:^4.0.0" + cross-spawn: "npm:^7.0.2" + debug: "npm:^4.3.2" + doctrine: "npm:^3.0.0" + escape-string-regexp: "npm:^4.0.0" + eslint-scope: "npm:^7.2.2" + eslint-visitor-keys: "npm:^3.4.3" + espree: "npm:^9.6.1" + esquery: "npm:^1.4.2" + esutils: "npm:^2.0.2" + fast-deep-equal: "npm:^3.1.3" + file-entry-cache: "npm:^6.0.1" + find-up: "npm:^5.0.0" + glob-parent: "npm:^6.0.2" + globals: "npm:^13.19.0" + graphemer: "npm:^1.4.0" + ignore: "npm:^5.2.0" + imurmurhash: "npm:^0.1.4" + is-glob: "npm:^4.0.0" + is-path-inside: "npm:^3.0.3" + js-yaml: "npm:^4.1.0" + json-stable-stringify-without-jsonify: "npm:^1.0.1" + levn: "npm:^0.4.1" + lodash.merge: "npm:^4.6.2" + minimatch: "npm:^3.1.2" + natural-compare: "npm:^1.4.0" + optionator: "npm:^0.9.3" + strip-ansi: "npm:^6.0.1" + text-table: "npm:^0.2.0" + bin: + eslint: bin/eslint.js + checksum: 2be598f7da1339d045ad933ffd3d4742bee610515cd2b0d9a2b8b729395a01d4e913552fff555b559fccaefd89d7b37632825789d1b06470608737ae69ab43fb + languageName: node + linkType: hard + +"espree@npm:^9.3.1, espree@npm:^9.6.0, espree@npm:^9.6.1": + version: 9.6.1 + resolution: "espree@npm:9.6.1" + dependencies: + acorn: "npm:^8.9.0" + acorn-jsx: "npm:^5.3.2" + eslint-visitor-keys: "npm:^3.4.1" + checksum: 1a2e9b4699b715347f62330bcc76aee224390c28bb02b31a3752e9d07549c473f5f986720483c6469cf3cfb3c9d05df612ffc69eb1ee94b54b739e67de9bb460 + languageName: node + linkType: hard + +"esquery@npm:^1.4.0, esquery@npm:^1.4.2": + version: 1.5.0 + resolution: "esquery@npm:1.5.0" + dependencies: + estraverse: "npm:^5.1.0" + checksum: a084bd049d954cc88ac69df30534043fb2aee5555b56246493f42f27d1e168f00d9e5d4192e46f10290d312dc30dc7d58994d61a609c579c1219d636996f9213 + languageName: node + linkType: hard + +"esrecurse@npm:^4.3.0": + version: 4.3.0 + resolution: "esrecurse@npm:4.3.0" + dependencies: + estraverse: "npm:^5.2.0" + checksum: 81a37116d1408ded88ada45b9fb16dbd26fba3aadc369ce50fcaf82a0bac12772ebd7b24cd7b91fc66786bf2c1ac7b5f196bc990a473efff972f5cb338877cf5 + languageName: node + linkType: hard + +"estraverse@npm:^5.1.0, estraverse@npm:^5.2.0": + version: 5.3.0 + resolution: "estraverse@npm:5.3.0" + checksum: 1ff9447b96263dec95d6d67431c5e0771eb9776427421260a3e2f0fdd5d6bd4f8e37a7338f5ad2880c9f143450c9b1e4fc2069060724570a49cf9cf0312bd107 + languageName: node + linkType: hard + +"estree-walker@npm:^2.0.1, estree-walker@npm:^2.0.2": + version: 2.0.2 + resolution: "estree-walker@npm:2.0.2" + checksum: 53a6c54e2019b8c914dc395890153ffdc2322781acf4bd7d1a32d7aedc1710807bdcd866ac133903d5629ec601fbb50abe8c2e5553c7f5a0afdd9b6af6c945af + languageName: node + linkType: hard + +"esutils@npm:^2.0.2": + version: 2.0.3 + resolution: "esutils@npm:2.0.3" + checksum: 9a2fe69a41bfdade834ba7c42de4723c97ec776e40656919c62cbd13607c45e127a003f05f724a1ea55e5029a4cf2de444b13009f2af71271e42d93a637137c7 + languageName: node + linkType: hard + +"exponential-backoff@npm:^3.1.1": + version: 3.1.1 + resolution: "exponential-backoff@npm:3.1.1" + checksum: 160456d2d647e6019640bd07111634d8c353038d9fa40176afb7cd49b0548bdae83b56d05e907c2cce2300b81cae35d800ef92fefb9d0208e190fa3b7d6bb579 + languageName: node + linkType: hard + +"fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": + version: 3.1.3 + resolution: "fast-deep-equal@npm:3.1.3" + checksum: 40dedc862eb8992c54579c66d914635afbec43350afbbe991235fdcb4e3a8d5af1b23ae7e79bef7d4882d0ecee06c3197488026998fb19f72dc95acff1d1b1d0 + languageName: node + linkType: hard + +"fast-glob@npm:^3.2.9": + version: 3.3.2 + resolution: "fast-glob@npm:3.3.2" + dependencies: + "@nodelib/fs.stat": "npm:^2.0.2" + "@nodelib/fs.walk": "npm:^1.2.3" + glob-parent: "npm:^5.1.2" + merge2: "npm:^1.3.0" + micromatch: "npm:^4.0.4" + checksum: 42baad7b9cd40b63e42039132bde27ca2cb3a4950d0a0f9abe4639ea1aa9d3e3b40f98b1fe31cbc0cc17b664c9ea7447d911a152fa34ec5b72977b125a6fc845 + languageName: node + linkType: hard + +"fast-json-stable-stringify@npm:^2.0.0": + version: 2.1.0 + resolution: "fast-json-stable-stringify@npm:2.1.0" + checksum: 7f081eb0b8a64e0057b3bb03f974b3ef00135fbf36c1c710895cd9300f13c94ba809bb3a81cf4e1b03f6e5285610a61abbd7602d0652de423144dfee5a389c9b + languageName: node + linkType: hard + +"fast-levenshtein@npm:^2.0.6": + version: 2.0.6 + resolution: "fast-levenshtein@npm:2.0.6" + checksum: 111972b37338bcb88f7d9e2c5907862c280ebf4234433b95bc611e518d192ccb2d38119c4ac86e26b668d75f7f3894f4ff5c4982899afced7ca78633b08287c4 + languageName: node + linkType: hard + +"fastq@npm:^1.6.0": + version: 1.15.0 + resolution: "fastq@npm:1.15.0" + dependencies: + reusify: "npm:^1.0.4" + checksum: 5ce4f83afa5f88c9379e67906b4d31bc7694a30826d6cc8d0f0473c966929017fda65c2174b0ec89f064ede6ace6c67f8a4fe04cef42119b6a55b0d465554c24 + languageName: node + linkType: hard + +"file-entry-cache@npm:^6.0.1": + version: 6.0.1 + resolution: "file-entry-cache@npm:6.0.1" + dependencies: + flat-cache: "npm:^3.0.4" + checksum: 58473e8a82794d01b38e5e435f6feaf648e3f36fdb3a56e98f417f4efae71ad1c0d4ebd8a9a7c50c3ad085820a93fc7494ad721e0e4ebc1da3573f4e1c3c7cdd + languageName: node + linkType: hard + +"fill-range@npm:^7.0.1": + version: 7.0.1 + resolution: "fill-range@npm:7.0.1" + dependencies: + to-regex-range: "npm:^5.0.1" + checksum: 7cdad7d426ffbaadf45aeb5d15ec675bbd77f7597ad5399e3d2766987ed20bda24d5fac64b3ee79d93276f5865608bb22344a26b9b1ae6c4d00bd94bf611623f + languageName: node + linkType: hard + +"find-up@npm:^5.0.0": + version: 5.0.0 + resolution: "find-up@npm:5.0.0" + dependencies: + locate-path: "npm:^6.0.0" + path-exists: "npm:^4.0.0" + checksum: 062c5a83a9c02f53cdd6d175a37ecf8f87ea5bbff1fdfb828f04bfa021441bc7583e8ebc0872a4c1baab96221fb8a8a275a19809fb93fbc40bd69ec35634069a + languageName: node + linkType: hard + +"flat-cache@npm:^3.0.4": + version: 3.2.0 + resolution: "flat-cache@npm:3.2.0" + dependencies: + flatted: "npm:^3.2.9" + keyv: "npm:^4.5.3" + rimraf: "npm:^3.0.2" + checksum: b76f611bd5f5d68f7ae632e3ae503e678d205cf97a17c6ab5b12f6ca61188b5f1f7464503efae6dc18683ed8f0b41460beb48ac4b9ac63fe6201296a91ba2f75 + languageName: node + linkType: hard + +"flatted@npm:^3.2.9": + version: 3.2.9 + resolution: "flatted@npm:3.2.9" + checksum: 5c91c5a0a21bbc0b07b272231e5b4efe6b822bcb4ad317caf6bb06984be4042a9e9045026307da0fdb4583f1f545e317a67ef1231a59e71f7fced3cc429cfc53 + languageName: node + linkType: hard + +"foreground-child@npm:^3.1.0": + version: 3.1.1 + resolution: "foreground-child@npm:3.1.1" + dependencies: + cross-spawn: "npm:^7.0.0" + signal-exit: "npm:^4.0.1" + checksum: 9700a0285628abaeb37007c9a4d92bd49f67210f09067638774338e146c8e9c825c5c877f072b2f75f41dc6a2d0be8664f79ffc03f6576649f54a84fb9b47de0 + languageName: node + linkType: hard + +"frontend@workspace:.": + version: 0.0.0-use.local + resolution: "frontend@workspace:." + dependencies: + "@typescript-eslint/eslint-plugin": "npm:^6.14.0" + "@typescript-eslint/parser": "npm:^6.14.0" + "@vitejs/plugin-vue": "npm:^4.5.0" + eslint: "npm:^8.55.0" + eslint-plugin-vue: "npm:^9.19.2" + idb-keyval: "npm:^6.2.1" + sass: "npm:^1.69.5" + typescript: "npm:^5.2.2" + vite: "npm:^5.0.0" + vite-plugin-eslint: "npm:^1.8.1" + vue: "npm:^3.3.8" + vue-eslint-parser: "npm:9.3.1" + vue-router: "npm:^4.2.5" + vue-tsc: "npm:^1.8.22" + languageName: unknown + linkType: soft + +"fs-minipass@npm:^2.0.0": + version: 2.1.0 + resolution: "fs-minipass@npm:2.1.0" + dependencies: + minipass: "npm:^3.0.0" + checksum: 703d16522b8282d7299337539c3ed6edddd1afe82435e4f5b76e34a79cd74e488a8a0e26a636afc2440e1a23b03878e2122e3a2cfe375a5cf63c37d92b86a004 + languageName: node + linkType: hard + +"fs-minipass@npm:^3.0.0": + version: 3.0.3 + resolution: "fs-minipass@npm:3.0.3" + dependencies: + minipass: "npm:^7.0.3" + checksum: 63e80da2ff9b621e2cb1596abcb9207f1cf82b968b116ccd7b959e3323144cce7fb141462200971c38bbf2ecca51695069db45265705bed09a7cd93ae5b89f94 + languageName: node + linkType: hard + +"fs.realpath@npm:^1.0.0": + version: 1.0.0 + resolution: "fs.realpath@npm:1.0.0" + checksum: 444cf1291d997165dfd4c0d58b69f0e4782bfd9149fd72faa4fe299e68e0e93d6db941660b37dd29153bf7186672ececa3b50b7e7249477b03fdf850f287c948 + languageName: node + linkType: hard + +"fsevents@npm:~2.3.2, fsevents@npm:~2.3.3": + version: 2.3.3 + resolution: "fsevents@npm:2.3.3" + dependencies: + node-gyp: "npm:latest" + checksum: a1f0c44595123ed717febbc478aa952e47adfc28e2092be66b8ab1635147254ca6cfe1df792a8997f22716d4cbafc73309899ff7bfac2ac3ad8cf2e4ecc3ec60 + conditions: os=darwin + languageName: node + linkType: hard + +"fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin, fsevents@patch:fsevents@npm%3A~2.3.3#optional!builtin": + version: 2.3.3 + resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" + dependencies: + node-gyp: "npm:latest" + conditions: os=darwin + languageName: node + linkType: hard + +"glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2": + version: 5.1.2 + resolution: "glob-parent@npm:5.1.2" + dependencies: + is-glob: "npm:^4.0.1" + checksum: cab87638e2112bee3f839ef5f6e0765057163d39c66be8ec1602f3823da4692297ad4e972de876ea17c44d652978638d2fd583c6713d0eb6591706825020c9ee + languageName: node + linkType: hard + +"glob-parent@npm:^6.0.2": + version: 6.0.2 + resolution: "glob-parent@npm:6.0.2" + dependencies: + is-glob: "npm:^4.0.3" + checksum: 317034d88654730230b3f43bb7ad4f7c90257a426e872ea0bf157473ac61c99bf5d205fad8f0185f989be8d2fa6d3c7dce1645d99d545b6ea9089c39f838e7f8 + languageName: node + linkType: hard + +"glob@npm:^10.2.2, glob@npm:^10.3.10": + version: 10.3.10 + resolution: "glob@npm:10.3.10" + dependencies: + foreground-child: "npm:^3.1.0" + jackspeak: "npm:^2.3.5" + minimatch: "npm:^9.0.1" + minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" + path-scurry: "npm:^1.10.1" + bin: + glob: dist/esm/bin.mjs + checksum: 13d8a1feb7eac7945f8c8480e11cd4a44b24d26503d99a8d8ac8d5aefbf3e9802a2b6087318a829fad04cb4e829f25c5f4f1110c68966c498720dd261c7e344d + languageName: node + linkType: hard + +"glob@npm:^7.1.3": + version: 7.2.3 + resolution: "glob@npm:7.2.3" + dependencies: + fs.realpath: "npm:^1.0.0" + inflight: "npm:^1.0.4" + inherits: "npm:2" + minimatch: "npm:^3.1.1" + once: "npm:^1.3.0" + path-is-absolute: "npm:^1.0.0" + checksum: 65676153e2b0c9095100fe7f25a778bf45608eeb32c6048cf307f579649bcc30353277b3b898a3792602c65764e5baa4f643714dfbdfd64ea271d210c7a425fe + languageName: node + linkType: hard + +"globals@npm:^13.19.0": + version: 13.24.0 + resolution: "globals@npm:13.24.0" + dependencies: + type-fest: "npm:^0.20.2" + checksum: d3c11aeea898eb83d5ec7a99508600fbe8f83d2cf00cbb77f873dbf2bcb39428eff1b538e4915c993d8a3b3473fa71eeebfe22c9bb3a3003d1e26b1f2c8a42cd + languageName: node + linkType: hard + +"globby@npm:^11.1.0": + version: 11.1.0 + resolution: "globby@npm:11.1.0" + dependencies: + array-union: "npm:^2.1.0" + dir-glob: "npm:^3.0.1" + fast-glob: "npm:^3.2.9" + ignore: "npm:^5.2.0" + merge2: "npm:^1.4.1" + slash: "npm:^3.0.0" + checksum: b39511b4afe4bd8a7aead3a27c4ade2b9968649abab0a6c28b1a90141b96ca68ca5db1302f7c7bd29eab66bf51e13916b8e0a3d0ac08f75e1e84a39b35691189 + languageName: node + linkType: hard + +"graceful-fs@npm:^4.2.6": + version: 4.2.11 + resolution: "graceful-fs@npm:4.2.11" + checksum: 386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 + languageName: node + linkType: hard + +"graphemer@npm:^1.4.0": + version: 1.4.0 + resolution: "graphemer@npm:1.4.0" + checksum: e951259d8cd2e0d196c72ec711add7115d42eb9a8146c8eeda5b8d3ac91e5dd816b9cd68920726d9fd4490368e7ed86e9c423f40db87e2d8dfafa00fa17c3a31 + languageName: node + linkType: hard + +"has-flag@npm:^4.0.0": + version: 4.0.0 + resolution: "has-flag@npm:4.0.0" + checksum: 2e789c61b7888d66993e14e8331449e525ef42aac53c627cc53d1c3334e768bcb6abdc4f5f0de1478a25beec6f0bd62c7549058b7ac53e924040d4f301f02fd1 + languageName: node + linkType: hard + +"he@npm:^1.2.0": + version: 1.2.0 + resolution: "he@npm:1.2.0" + bin: + he: bin/he + checksum: a27d478befe3c8192f006cdd0639a66798979dfa6e2125c6ac582a19a5ebfec62ad83e8382e6036170d873f46e4536a7e795bf8b95bf7c247f4cc0825ccc8c17 + languageName: node + linkType: hard + +"http-cache-semantics@npm:^4.1.1": + version: 4.1.1 + resolution: "http-cache-semantics@npm:4.1.1" + checksum: ce1319b8a382eb3cbb4a37c19f6bfe14e5bb5be3d09079e885e8c513ab2d3cd9214902f8a31c9dc4e37022633ceabfc2d697405deeaf1b8f3552bb4ed996fdfc + languageName: node + linkType: hard + +"http-proxy-agent@npm:^7.0.0": + version: 7.0.0 + resolution: "http-proxy-agent@npm:7.0.0" + dependencies: + agent-base: "npm:^7.1.0" + debug: "npm:^4.3.4" + checksum: a11574ff39436cee3c7bc67f259444097b09474605846ddd8edf0bf4ad8644be8533db1aa463426e376865047d05dc22755e638632819317c0c2f1b2196657c8 + languageName: node + linkType: hard + +"https-proxy-agent@npm:^7.0.1": + version: 7.0.2 + resolution: "https-proxy-agent@npm:7.0.2" + dependencies: + agent-base: "npm:^7.0.2" + debug: "npm:4" + checksum: 7735eb90073db087e7e79312e3d97c8c04baf7ea7ca7b013382b6a45abbaa61b281041a98f4e13c8c80d88f843785bcc84ba189165b4b4087b1e3496ba656d77 + languageName: node + linkType: hard + +"iconv-lite@npm:^0.6.2": + version: 0.6.3 + resolution: "iconv-lite@npm:0.6.3" + dependencies: + safer-buffer: "npm:>= 2.1.2 < 3.0.0" + checksum: 98102bc66b33fcf5ac044099d1257ba0b7ad5e3ccd3221f34dd508ab4070edff183276221684e1e0555b145fce0850c9f7d2b60a9fcac50fbb4ea0d6e845a3b1 + languageName: node + linkType: hard + +"idb-keyval@npm:^6.2.1": + version: 6.2.1 + resolution: "idb-keyval@npm:6.2.1" + checksum: 9f0c83703a365e00bd0b4ed6380ce509a06dedfc6ec39b2ba5740085069fd2f2ff5c14ba19356488e3612a2f9c49985971982d836460a982a5d0b4019eeba48a + languageName: node + linkType: hard + +"ignore@npm:^5.2.0, ignore@npm:^5.2.4": + version: 5.3.0 + resolution: "ignore@npm:5.3.0" + checksum: dc06bea5c23aae65d0725a957a0638b57e235ae4568dda51ca142053ed2c352de7e3bc93a69b2b32ac31966a1952e9a93c5ef2e2ab7c6b06aef9808f6b55b571 + languageName: node + linkType: hard + +"immutable@npm:^4.0.0": + version: 4.3.4 + resolution: "immutable@npm:4.3.4" + checksum: c15b9f0fa7b3c9315725cb00704fddad59f0e668a7379c39b9a528a8386140ee9effb015ae51a5b423e05c59d15fc0b38c970db6964ad6b3e05d0761db68441f + languageName: node + linkType: hard + +"import-fresh@npm:^3.2.1": + version: 3.3.0 + resolution: "import-fresh@npm:3.3.0" + dependencies: + parent-module: "npm:^1.0.0" + resolve-from: "npm:^4.0.0" + checksum: 7f882953aa6b740d1f0e384d0547158bc86efbf2eea0f1483b8900a6f65c5a5123c2cf09b0d542cc419d0b98a759ecaeb394237e97ea427f2da221dc3cd80cc3 + languageName: node + linkType: hard + +"imurmurhash@npm:^0.1.4": + version: 0.1.4 + resolution: "imurmurhash@npm:0.1.4" + checksum: 8b51313850dd33605c6c9d3fd9638b714f4c4c40250cff658209f30d40da60f78992fb2df5dabee4acf589a6a82bbc79ad5486550754bd9ec4e3fc0d4a57d6a6 + languageName: node + linkType: hard + +"indent-string@npm:^4.0.0": + version: 4.0.0 + resolution: "indent-string@npm:4.0.0" + checksum: 1e1904ddb0cb3d6cce7cd09e27a90184908b7a5d5c21b92e232c93579d314f0b83c246ffb035493d0504b1e9147ba2c9b21df0030f48673fba0496ecd698161f + languageName: node + linkType: hard + +"inflight@npm:^1.0.4": + version: 1.0.6 + resolution: "inflight@npm:1.0.6" + dependencies: + once: "npm:^1.3.0" + wrappy: "npm:1" + checksum: 7faca22584600a9dc5b9fca2cd5feb7135ac8c935449837b315676b4c90aa4f391ec4f42240178244b5a34e8bede1948627fda392ca3191522fc46b34e985ab2 + languageName: node + linkType: hard + +"inherits@npm:2": + version: 2.0.4 + resolution: "inherits@npm:2.0.4" + checksum: 4e531f648b29039fb7426fb94075e6545faa1eb9fe83c29f0b6d9e7263aceb4289d2d4557db0d428188eeb449cc7c5e77b0a0b2c4e248ff2a65933a0dee49ef2 + languageName: node + linkType: hard + +"ip@npm:^2.0.0": + version: 2.0.0 + resolution: "ip@npm:2.0.0" + checksum: 8d186cc5585f57372847ae29b6eba258c68862055e18a75cc4933327232cb5c107f89800ce29715d542eef2c254fbb68b382e780a7414f9ee7caf60b7a473958 + languageName: node + linkType: hard + +"is-binary-path@npm:~2.1.0": + version: 2.1.0 + resolution: "is-binary-path@npm:2.1.0" + dependencies: + binary-extensions: "npm:^2.0.0" + checksum: a16eaee59ae2b315ba36fad5c5dcaf8e49c3e27318f8ab8fa3cdb8772bf559c8d1ba750a589c2ccb096113bb64497084361a25960899cb6172a6925ab6123d38 + languageName: node + linkType: hard + +"is-extglob@npm:^2.1.1": + version: 2.1.1 + resolution: "is-extglob@npm:2.1.1" + checksum: 5487da35691fbc339700bbb2730430b07777a3c21b9ebaecb3072512dfd7b4ba78ac2381a87e8d78d20ea08affb3f1971b4af629173a6bf435ff8a4c47747912 + languageName: node + linkType: hard + +"is-fullwidth-code-point@npm:^3.0.0": + version: 3.0.0 + resolution: "is-fullwidth-code-point@npm:3.0.0" + checksum: bb11d825e049f38e04c06373a8d72782eee0205bda9d908cc550ccb3c59b99d750ff9537982e01733c1c94a58e35400661f57042158ff5e8f3e90cf936daf0fc + languageName: node + linkType: hard + +"is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3, is-glob@npm:~4.0.1": + version: 4.0.3 + resolution: "is-glob@npm:4.0.3" + dependencies: + is-extglob: "npm:^2.1.1" + checksum: 17fb4014e22be3bbecea9b2e3a76e9e34ff645466be702f1693e8f1ee1adac84710d0be0bd9f967d6354036fd51ab7c2741d954d6e91dae6bb69714de92c197a + languageName: node + linkType: hard + +"is-lambda@npm:^1.0.1": + version: 1.0.1 + resolution: "is-lambda@npm:1.0.1" + checksum: 85fee098ae62ba6f1e24cf22678805473c7afd0fb3978a3aa260e354cb7bcb3a5806cf0a98403188465efedec41ab4348e8e4e79305d409601323855b3839d4d + languageName: node + linkType: hard + +"is-number@npm:^7.0.0": + version: 7.0.0 + resolution: "is-number@npm:7.0.0" + checksum: b4686d0d3053146095ccd45346461bc8e53b80aeb7671cc52a4de02dbbf7dc0d1d2a986e2fe4ae206984b4d34ef37e8b795ebc4f4295c978373e6575e295d811 + languageName: node + linkType: hard + +"is-path-inside@npm:^3.0.3": + version: 3.0.3 + resolution: "is-path-inside@npm:3.0.3" + checksum: cf7d4ac35fb96bab6a1d2c3598fe5ebb29aafb52c0aaa482b5a3ed9d8ba3edc11631e3ec2637660c44b3ce0e61a08d54946e8af30dec0b60a7c27296c68ffd05 + languageName: node + linkType: hard + +"isexe@npm:^2.0.0": + version: 2.0.0 + resolution: "isexe@npm:2.0.0" + checksum: 228cfa503fadc2c31596ab06ed6aa82c9976eec2bfd83397e7eaf06d0ccf42cd1dfd6743bf9aeb01aebd4156d009994c5f76ea898d2832c1fe342da923ca457d + languageName: node + linkType: hard + +"isexe@npm:^3.1.1": + version: 3.1.1 + resolution: "isexe@npm:3.1.1" + checksum: 9ec257654093443eb0a528a9c8cbba9c0ca7616ccb40abd6dde7202734d96bb86e4ac0d764f0f8cd965856aacbff2f4ce23e730dc19dfb41e3b0d865ca6fdcc7 + languageName: node + linkType: hard + +"jackspeak@npm:^2.3.5": + version: 2.3.6 + resolution: "jackspeak@npm:2.3.6" + dependencies: + "@isaacs/cliui": "npm:^8.0.2" + "@pkgjs/parseargs": "npm:^0.11.0" + dependenciesMeta: + "@pkgjs/parseargs": + optional: true + checksum: f01d8f972d894cd7638bc338e9ef5ddb86f7b208ce177a36d718eac96ec86638a6efa17d0221b10073e64b45edc2ce15340db9380b1f5d5c5d000cbc517dc111 + languageName: node + linkType: hard + +"js-yaml@npm:^4.1.0": + version: 4.1.0 + resolution: "js-yaml@npm:4.1.0" + dependencies: + argparse: "npm:^2.0.1" + bin: + js-yaml: bin/js-yaml.js + checksum: 184a24b4eaacfce40ad9074c64fd42ac83cf74d8c8cd137718d456ced75051229e5061b8633c3366b8aada17945a7a356b337828c19da92b51ae62126575018f + languageName: node + linkType: hard + +"json-buffer@npm:3.0.1": + version: 3.0.1 + resolution: "json-buffer@npm:3.0.1" + checksum: 0d1c91569d9588e7eef2b49b59851f297f3ab93c7b35c7c221e288099322be6b562767d11e4821da500f3219542b9afd2e54c5dc573107c1126ed1080f8e96d7 + languageName: node + linkType: hard + +"json-schema-traverse@npm:^0.4.1": + version: 0.4.1 + resolution: "json-schema-traverse@npm:0.4.1" + checksum: 108fa90d4cc6f08243aedc6da16c408daf81793bf903e9fd5ab21983cda433d5d2da49e40711da016289465ec2e62e0324dcdfbc06275a607fe3233fde4942ce + languageName: node + linkType: hard + +"json-stable-stringify-without-jsonify@npm:^1.0.1": + version: 1.0.1 + resolution: "json-stable-stringify-without-jsonify@npm:1.0.1" + checksum: cb168b61fd4de83e58d09aaa6425ef71001bae30d260e2c57e7d09a5fd82223e2f22a042dedaab8db23b7d9ae46854b08bb1f91675a8be11c5cffebef5fb66a5 + languageName: node + linkType: hard + +"keyv@npm:^4.5.3": + version: 4.5.4 + resolution: "keyv@npm:4.5.4" + dependencies: + json-buffer: "npm:3.0.1" + checksum: aa52f3c5e18e16bb6324876bb8b59dd02acf782a4b789c7b2ae21107fab95fab3890ed448d4f8dba80ce05391eeac4bfabb4f02a20221342982f806fa2cf271e + languageName: node + linkType: hard + +"levn@npm:^0.4.1": + version: 0.4.1 + resolution: "levn@npm:0.4.1" + dependencies: + prelude-ls: "npm:^1.2.1" + type-check: "npm:~0.4.0" + checksum: effb03cad7c89dfa5bd4f6989364bfc79994c2042ec5966cb9b95990e2edee5cd8969ddf42616a0373ac49fac1403437deaf6e9050fbbaa3546093a59b9ac94e + languageName: node + linkType: hard + +"locate-path@npm:^6.0.0": + version: 6.0.0 + resolution: "locate-path@npm:6.0.0" + dependencies: + p-locate: "npm:^5.0.0" + checksum: d3972ab70dfe58ce620e64265f90162d247e87159b6126b01314dd67be43d50e96a50b517bce2d9452a79409c7614054c277b5232377de50416564a77ac7aad3 + languageName: node + linkType: hard + +"lodash.merge@npm:^4.6.2": + version: 4.6.2 + resolution: "lodash.merge@npm:4.6.2" + checksum: 402fa16a1edd7538de5b5903a90228aa48eb5533986ba7fa26606a49db2572bf414ff73a2c9f5d5fd36b31c46a5d5c7e1527749c07cbcf965ccff5fbdf32c506 + languageName: node + linkType: hard + +"lodash@npm:^4.17.21": + version: 4.17.21 + resolution: "lodash@npm:4.17.21" + checksum: d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c + languageName: node + linkType: hard + +"lru-cache@npm:^10.0.1, lru-cache@npm:^9.1.1 || ^10.0.0": + version: 10.1.0 + resolution: "lru-cache@npm:10.1.0" + checksum: 778bc8b2626daccd75f24c4b4d10632496e21ba064b126f526c626fbdbc5b28c472013fccd45d7646b9e1ef052444824854aed617b59cd570d01a8b7d651fc1e + languageName: node + linkType: hard + +"lru-cache@npm:^6.0.0": + version: 6.0.0 + resolution: "lru-cache@npm:6.0.0" + dependencies: + yallist: "npm:^4.0.0" + checksum: cb53e582785c48187d7a188d3379c181b5ca2a9c78d2bce3e7dee36f32761d1c42983da3fe12b55cb74e1779fa94cdc2e5367c028a9b35317184ede0c07a30a9 + languageName: node + linkType: hard + +"magic-string@npm:^0.30.5": + version: 0.30.5 + resolution: "magic-string@npm:0.30.5" + dependencies: + "@jridgewell/sourcemap-codec": "npm:^1.4.15" + checksum: 38ac220ca7539e96da7ea2f38d85796bdf5c69b6bcae728c4bc2565084e6dc326b9174ee9770bea345cf6c9b3a24041b767167874fab5beca874d2356a9d1520 + languageName: node + linkType: hard + +"make-fetch-happen@npm:^13.0.0": + version: 13.0.0 + resolution: "make-fetch-happen@npm:13.0.0" + dependencies: + "@npmcli/agent": "npm:^2.0.0" + cacache: "npm:^18.0.0" + http-cache-semantics: "npm:^4.1.1" + is-lambda: "npm:^1.0.1" + minipass: "npm:^7.0.2" + minipass-fetch: "npm:^3.0.0" + minipass-flush: "npm:^1.0.5" + minipass-pipeline: "npm:^1.2.4" + negotiator: "npm:^0.6.3" + promise-retry: "npm:^2.0.1" + ssri: "npm:^10.0.0" + checksum: 43b9f6dcbc6fe8b8604cb6396957c3698857a15ba4dbc38284f7f0e61f248300585ef1eb8cc62df54e9c724af977e45b5cdfd88320ef7f53e45070ed3488da55 + languageName: node + linkType: hard + +"merge2@npm:^1.3.0, merge2@npm:^1.4.1": + version: 1.4.1 + resolution: "merge2@npm:1.4.1" + checksum: 254a8a4605b58f450308fc474c82ac9a094848081bf4c06778200207820e5193726dc563a0d2c16468810516a5c97d9d3ea0ca6585d23c58ccfff2403e8dbbeb + languageName: node + linkType: hard + +"micromatch@npm:^4.0.4": + version: 4.0.5 + resolution: "micromatch@npm:4.0.5" + dependencies: + braces: "npm:^3.0.2" + picomatch: "npm:^2.3.1" + checksum: 3d6505b20f9fa804af5d8c596cb1c5e475b9b0cd05f652c5b56141cf941bd72adaeb7a436fda344235cef93a7f29b7472efc779fcdb83b478eab0867b95cdeff + languageName: node + linkType: hard + +"minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": + version: 3.1.2 + resolution: "minimatch@npm:3.1.2" + dependencies: + brace-expansion: "npm:^1.1.7" + checksum: 0262810a8fc2e72cca45d6fd86bd349eee435eb95ac6aa45c9ea2180e7ee875ef44c32b55b5973ceabe95ea12682f6e3725cbb63d7a2d1da3ae1163c8b210311 + languageName: node + linkType: hard + +"minimatch@npm:^9.0.1, minimatch@npm:^9.0.3": + version: 9.0.3 + resolution: "minimatch@npm:9.0.3" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: 85f407dcd38ac3e180f425e86553911d101455ca3ad5544d6a7cec16286657e4f8a9aa6695803025c55e31e35a91a2252b5dc8e7d527211278b8b65b4dbd5eac + languageName: node + linkType: hard + +"minipass-collect@npm:^2.0.1": + version: 2.0.1 + resolution: "minipass-collect@npm:2.0.1" + dependencies: + minipass: "npm:^7.0.3" + checksum: 5167e73f62bb74cc5019594709c77e6a742051a647fe9499abf03c71dca75515b7959d67a764bdc4f8b361cf897fbf25e2d9869ee039203ed45240f48b9aa06e + languageName: node + linkType: hard + +"minipass-fetch@npm:^3.0.0": + version: 3.0.4 + resolution: "minipass-fetch@npm:3.0.4" + dependencies: + encoding: "npm:^0.1.13" + minipass: "npm:^7.0.3" + minipass-sized: "npm:^1.0.3" + minizlib: "npm:^2.1.2" + dependenciesMeta: + encoding: + optional: true + checksum: 1b63c1f3313e88eeac4689f1b71c9f086598db9a189400e3ee960c32ed89e06737fa23976c9305c2d57464fb3fcdc12749d3378805c9d6176f5569b0d0ee8a75 + languageName: node + linkType: hard + +"minipass-flush@npm:^1.0.5": + version: 1.0.5 + resolution: "minipass-flush@npm:1.0.5" + dependencies: + minipass: "npm:^3.0.0" + checksum: 2a51b63feb799d2bb34669205eee7c0eaf9dce01883261a5b77410c9408aa447e478efd191b4de6fc1101e796ff5892f8443ef20d9544385819093dbb32d36bd + languageName: node + linkType: hard + +"minipass-pipeline@npm:^1.2.4": + version: 1.2.4 + resolution: "minipass-pipeline@npm:1.2.4" + dependencies: + minipass: "npm:^3.0.0" + checksum: cbda57cea20b140b797505dc2cac71581a70b3247b84480c1fed5ca5ba46c25ecc25f68bfc9e6dcb1a6e9017dab5c7ada5eab73ad4f0a49d84e35093e0c643f2 + languageName: node + linkType: hard + +"minipass-sized@npm:^1.0.3": + version: 1.0.3 + resolution: "minipass-sized@npm:1.0.3" + dependencies: + minipass: "npm:^3.0.0" + checksum: 298f124753efdc745cfe0f2bdfdd81ba25b9f4e753ca4a2066eb17c821f25d48acea607dfc997633ee5bf7b6dfffb4eee4f2051eb168663f0b99fad2fa4829cb + languageName: node + linkType: hard + +"minipass@npm:^3.0.0": + version: 3.3.6 + resolution: "minipass@npm:3.3.6" + dependencies: + yallist: "npm:^4.0.0" + checksum: a114746943afa1dbbca8249e706d1d38b85ed1298b530f5808ce51f8e9e941962e2a5ad2e00eae7dd21d8a4aae6586a66d4216d1a259385e9d0358f0c1eba16c + languageName: node + linkType: hard + +"minipass@npm:^5.0.0": + version: 5.0.0 + resolution: "minipass@npm:5.0.0" + checksum: a91d8043f691796a8ac88df039da19933ef0f633e3d7f0d35dcd5373af49131cf2399bfc355f41515dc495e3990369c3858cd319e5c2722b4753c90bf3152462 + languageName: node + linkType: hard + +"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3": + version: 7.0.4 + resolution: "minipass@npm:7.0.4" + checksum: 6c7370a6dfd257bf18222da581ba89a5eaedca10e158781232a8b5542a90547540b4b9b7e7f490e4cda43acfbd12e086f0453728ecf8c19e0ef6921bc5958ac5 + languageName: node + linkType: hard + +"minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": + version: 2.1.2 + resolution: "minizlib@npm:2.1.2" + dependencies: + minipass: "npm:^3.0.0" + yallist: "npm:^4.0.0" + checksum: 64fae024e1a7d0346a1102bb670085b17b7f95bf6cfdf5b128772ec8faf9ea211464ea4add406a3a6384a7d87a0cd1a96263692134323477b4fb43659a6cab78 + languageName: node + linkType: hard + +"mkdirp@npm:^1.0.3": + version: 1.0.4 + resolution: "mkdirp@npm:1.0.4" + bin: + mkdirp: bin/cmd.js + checksum: 46ea0f3ffa8bc6a5bc0c7081ffc3907777f0ed6516888d40a518c5111f8366d97d2678911ad1a6882bf592fa9de6c784fea32e1687bb94e1f4944170af48a5cf + languageName: node + linkType: hard + +"ms@npm:2.1.2": + version: 2.1.2 + resolution: "ms@npm:2.1.2" + checksum: a437714e2f90dbf881b5191d35a6db792efbca5badf112f87b9e1c712aace4b4b9b742dd6537f3edf90fd6f684de897cec230abde57e87883766712ddda297cc + languageName: node + linkType: hard + +"muggle-string@npm:^0.3.1": + version: 0.3.1 + resolution: "muggle-string@npm:0.3.1" + checksum: 489b0575fa76e30914393915a36638590052409fca2206a6bef0fb0ad7b181c1cbf99761191bfd16fe402c6f5a3164897965422fa32ef20ada1b44024ba46ab6 + languageName: node + linkType: hard + +"nanoid@npm:^3.3.7": + version: 3.3.7 + resolution: "nanoid@npm:3.3.7" + bin: + nanoid: bin/nanoid.cjs + checksum: e3fb661aa083454f40500473bb69eedb85dc160e763150b9a2c567c7e9ff560ce028a9f833123b618a6ea742e311138b591910e795614a629029e86e180660f3 + languageName: node + linkType: hard + +"natural-compare@npm:^1.4.0": + version: 1.4.0 + resolution: "natural-compare@npm:1.4.0" + checksum: f5f9a7974bfb28a91afafa254b197f0f22c684d4a1731763dda960d2c8e375b36c7d690e0d9dc8fba774c537af14a7e979129bca23d88d052fbeb9466955e447 + languageName: node + linkType: hard + +"negotiator@npm:^0.6.3": + version: 0.6.3 + resolution: "negotiator@npm:0.6.3" + checksum: 3ec9fd413e7bf071c937ae60d572bc67155262068ed522cf4b3be5edbe6ddf67d095ec03a3a14ebf8fc8e95f8e1d61be4869db0dbb0de696f6b837358bd43fc2 + languageName: node + linkType: hard + +"node-gyp@npm:latest": + version: 10.0.1 + resolution: "node-gyp@npm:10.0.1" + dependencies: + env-paths: "npm:^2.2.0" + exponential-backoff: "npm:^3.1.1" + glob: "npm:^10.3.10" + graceful-fs: "npm:^4.2.6" + make-fetch-happen: "npm:^13.0.0" + nopt: "npm:^7.0.0" + proc-log: "npm:^3.0.0" + semver: "npm:^7.3.5" + tar: "npm:^6.1.2" + which: "npm:^4.0.0" + bin: + node-gyp: bin/node-gyp.js + checksum: abddfff7d873312e4ed4a5fb75ce893a5c4fb69e7fcb1dfa71c28a6b92a7f1ef6b62790dffb39181b5a82728ba8f2f32d229cf8cbe66769fe02cea7db4a555aa + languageName: node + linkType: hard + +"nopt@npm:^7.0.0": + version: 7.2.0 + resolution: "nopt@npm:7.2.0" + dependencies: + abbrev: "npm:^2.0.0" + bin: + nopt: bin/nopt.js + checksum: 9bd7198df6f16eb29ff16892c77bcf7f0cc41f9fb5c26280ac0def2cf8cf319f3b821b3af83eba0e74c85807cc430a16efe0db58fe6ae1f41e69519f585b6aff + languageName: node + linkType: hard + +"normalize-path@npm:^3.0.0, normalize-path@npm:~3.0.0": + version: 3.0.0 + resolution: "normalize-path@npm:3.0.0" + checksum: e008c8142bcc335b5e38cf0d63cfd39d6cf2d97480af9abdbe9a439221fd4d749763bab492a8ee708ce7a194bb00c9da6d0a115018672310850489137b3da046 + languageName: node + linkType: hard + +"nth-check@npm:^2.1.1": + version: 2.1.1 + resolution: "nth-check@npm:2.1.1" + dependencies: + boolbase: "npm:^1.0.0" + checksum: 5fee7ff309727763689cfad844d979aedd2204a817fbaaf0e1603794a7c20db28548d7b024692f953557df6ce4a0ee4ae46cd8ebd9b36cfb300b9226b567c479 + languageName: node + linkType: hard + +"once@npm:^1.3.0": + version: 1.4.0 + resolution: "once@npm:1.4.0" + dependencies: + wrappy: "npm:1" + checksum: 5d48aca287dfefabd756621c5dfce5c91a549a93e9fdb7b8246bc4c4790aa2ec17b34a260530474635147aeb631a2dcc8b32c613df0675f96041cbb8244517d0 + languageName: node + linkType: hard + +"optionator@npm:^0.9.3": + version: 0.9.3 + resolution: "optionator@npm:0.9.3" + dependencies: + "@aashutoshrathi/word-wrap": "npm:^1.2.3" + deep-is: "npm:^0.1.3" + fast-levenshtein: "npm:^2.0.6" + levn: "npm:^0.4.1" + prelude-ls: "npm:^1.2.1" + type-check: "npm:^0.4.0" + checksum: 66fba794d425b5be51353035cf3167ce6cfa049059cbb93229b819167687e0f48d2bc4603fcb21b091c99acb516aae1083624675b15c4765b2e4693a085e959c + languageName: node + linkType: hard + +"p-limit@npm:^3.0.2": + version: 3.1.0 + resolution: "p-limit@npm:3.1.0" + dependencies: + yocto-queue: "npm:^0.1.0" + checksum: 9db675949dbdc9c3763c89e748d0ef8bdad0afbb24d49ceaf4c46c02c77d30db4e0652ed36d0a0a7a95154335fab810d95c86153105bb73b3a90448e2bb14e1a + languageName: node + linkType: hard + +"p-locate@npm:^5.0.0": + version: 5.0.0 + resolution: "p-locate@npm:5.0.0" + dependencies: + p-limit: "npm:^3.0.2" + checksum: 2290d627ab7903b8b70d11d384fee714b797f6040d9278932754a6860845c4d3190603a0772a663c8cb5a7b21d1b16acb3a6487ebcafa9773094edc3dfe6009a + languageName: node + linkType: hard + +"p-map@npm:^4.0.0": + version: 4.0.0 + resolution: "p-map@npm:4.0.0" + dependencies: + aggregate-error: "npm:^3.0.0" + checksum: 592c05bd6262c466ce269ff172bb8de7c6975afca9b50c975135b974e9bdaafbfe80e61aaaf5be6d1200ba08b30ead04b88cfa7e25ff1e3b93ab28c9f62a2c75 + languageName: node + linkType: hard + +"parent-module@npm:^1.0.0": + version: 1.0.1 + resolution: "parent-module@npm:1.0.1" + dependencies: + callsites: "npm:^3.0.0" + checksum: c63d6e80000d4babd11978e0d3fee386ca7752a02b035fd2435960ffaa7219dc42146f07069fb65e6e8bf1caef89daf9af7535a39bddf354d78bf50d8294f556 + languageName: node + linkType: hard + +"path-browserify@npm:^1.0.1": + version: 1.0.1 + resolution: "path-browserify@npm:1.0.1" + checksum: 8b8c3fd5c66bd340272180590ae4ff139769e9ab79522e2eb82e3d571a89b8117c04147f65ad066dccfb42fcad902e5b7d794b3d35e0fd840491a8ddbedf8c66 + languageName: node + linkType: hard + +"path-exists@npm:^4.0.0": + version: 4.0.0 + resolution: "path-exists@npm:4.0.0" + checksum: 8c0bd3f5238188197dc78dced15207a4716c51cc4e3624c44fc97acf69558f5ebb9a2afff486fe1b4ee148e0c133e96c5e11a9aa5c48a3006e3467da070e5e1b + languageName: node + linkType: hard + +"path-is-absolute@npm:^1.0.0": + version: 1.0.1 + resolution: "path-is-absolute@npm:1.0.1" + checksum: 127da03c82172a2a50099cddbf02510c1791fc2cc5f7713ddb613a56838db1e8168b121a920079d052e0936c23005562059756d653b7c544c53185efe53be078 + languageName: node + linkType: hard + +"path-key@npm:^3.1.0": + version: 3.1.1 + resolution: "path-key@npm:3.1.1" + checksum: 748c43efd5a569c039d7a00a03b58eecd1d75f3999f5a28303d75f521288df4823bc057d8784eb72358b2895a05f29a070bc9f1f17d28226cc4e62494cc58c4c + languageName: node + linkType: hard + +"path-scurry@npm:^1.10.1": + version: 1.10.1 + resolution: "path-scurry@npm:1.10.1" + dependencies: + lru-cache: "npm:^9.1.1 || ^10.0.0" + minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" + checksum: e5dc78a7348d25eec61ab166317e9e9c7b46818aa2c2b9006c507a6ff48c672d011292d9662527213e558f5652ce0afcc788663a061d8b59ab495681840c0c1e + languageName: node + linkType: hard + +"path-type@npm:^4.0.0": + version: 4.0.0 + resolution: "path-type@npm:4.0.0" + checksum: 666f6973f332f27581371efaf303fd6c272cc43c2057b37aa99e3643158c7e4b2626549555d88626e99ea9e046f82f32e41bbde5f1508547e9a11b149b52387c + languageName: node + linkType: hard + +"picocolors@npm:^1.0.0": + version: 1.0.0 + resolution: "picocolors@npm:1.0.0" + checksum: 20a5b249e331c14479d94ec6817a182fd7a5680debae82705747b2db7ec50009a5f6648d0621c561b0572703f84dbef0858abcbd5856d3c5511426afcb1961f7 + languageName: node + linkType: hard + +"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.2, picomatch@npm:^2.3.1": + version: 2.3.1 + resolution: "picomatch@npm:2.3.1" + checksum: 26c02b8d06f03206fc2ab8d16f19960f2ff9e81a658f831ecb656d8f17d9edc799e8364b1f4a7873e89d9702dff96204be0fa26fe4181f6843f040f819dac4be + languageName: node + linkType: hard + +"postcss-selector-parser@npm:^6.0.13": + version: 6.0.13 + resolution: "postcss-selector-parser@npm:6.0.13" + dependencies: + cssesc: "npm:^3.0.0" + util-deprecate: "npm:^1.0.2" + checksum: 51f099b27f7c7198ea1826470ef0adfa58b3bd3f59b390fda123baa0134880a5fa9720137b6009c4c1373357b144f700b0edac73335d0067422063129371444e + languageName: node + linkType: hard + +"postcss@npm:^8.4.32": + version: 8.4.32 + resolution: "postcss@npm:8.4.32" + dependencies: + nanoid: "npm:^3.3.7" + picocolors: "npm:^1.0.0" + source-map-js: "npm:^1.0.2" + checksum: 39308a9195fa34d4dbdd7b58a896cff0c7809f84f7a4ac1b95b68ca86c9138a395addff33075668ed3983d41b90aac05754c445237a9365eb1c3a5602ebd03ad + languageName: node + linkType: hard + +"prelude-ls@npm:^1.2.1": + version: 1.2.1 + resolution: "prelude-ls@npm:1.2.1" + checksum: b00d617431e7886c520a6f498a2e14c75ec58f6d93ba48c3b639cf241b54232d90daa05d83a9e9b9fef6baa63cb7e1e4602c2372fea5bc169668401eb127d0cd + languageName: node + linkType: hard + +"proc-log@npm:^3.0.0": + version: 3.0.0 + resolution: "proc-log@npm:3.0.0" + checksum: f66430e4ff947dbb996058f6fd22de2c66612ae1a89b097744e17fb18a4e8e7a86db99eda52ccf15e53f00b63f4ec0b0911581ff2aac0355b625c8eac509b0dc + languageName: node + linkType: hard + +"promise-retry@npm:^2.0.1": + version: 2.0.1 + resolution: "promise-retry@npm:2.0.1" + dependencies: + err-code: "npm:^2.0.2" + retry: "npm:^0.12.0" + checksum: 9c7045a1a2928094b5b9b15336dcd2a7b1c052f674550df63cc3f36cd44028e5080448175b6f6ca32b642de81150f5e7b1a98b728f15cb069f2dd60ac2616b96 + languageName: node + linkType: hard + +"punycode@npm:^2.1.0": + version: 2.3.1 + resolution: "punycode@npm:2.3.1" + checksum: 14f76a8206bc3464f794fb2e3d3cc665ae416c01893ad7a02b23766eb07159144ee612ad67af5e84fa4479ccfe67678c4feb126b0485651b302babf66f04f9e9 + languageName: node + linkType: hard + +"queue-microtask@npm:^1.2.2": + version: 1.2.3 + resolution: "queue-microtask@npm:1.2.3" + checksum: 900a93d3cdae3acd7d16f642c29a642aea32c2026446151f0778c62ac089d4b8e6c986811076e1ae180a694cedf077d453a11b58ff0a865629a4f82ab558e102 + languageName: node + linkType: hard + +"readdirp@npm:~3.6.0": + version: 3.6.0 + resolution: "readdirp@npm:3.6.0" + dependencies: + picomatch: "npm:^2.2.1" + checksum: 6fa848cf63d1b82ab4e985f4cf72bd55b7dcfd8e0a376905804e48c3634b7e749170940ba77b32804d5fe93b3cc521aa95a8d7e7d725f830da6d93f3669ce66b + languageName: node + linkType: hard + +"resolve-from@npm:^4.0.0": + version: 4.0.0 + resolution: "resolve-from@npm:4.0.0" + checksum: 8408eec31a3112ef96e3746c37be7d64020cda07c03a920f5024e77290a218ea758b26ca9529fd7b1ad283947f34b2291c1c0f6aa0ed34acfdda9c6014c8d190 + languageName: node + linkType: hard + +"retry@npm:^0.12.0": + version: 0.12.0 + resolution: "retry@npm:0.12.0" + checksum: 59933e8501727ba13ad73ef4a04d5280b3717fd650408460c987392efe9d7be2040778ed8ebe933c5cbd63da3dcc37919c141ef8af0a54a6e4fca5a2af177bfe + languageName: node + linkType: hard + +"reusify@npm:^1.0.4": + version: 1.0.4 + resolution: "reusify@npm:1.0.4" + checksum: c19ef26e4e188f408922c46f7ff480d38e8dfc55d448310dfb518736b23ed2c4f547fb64a6ed5bdba92cd7e7ddc889d36ff78f794816d5e71498d645ef476107 + languageName: node + linkType: hard + +"rimraf@npm:^3.0.2": + version: 3.0.2 + resolution: "rimraf@npm:3.0.2" + dependencies: + glob: "npm:^7.1.3" + bin: + rimraf: bin.js + checksum: 9cb7757acb489bd83757ba1a274ab545eafd75598a9d817e0c3f8b164238dd90eba50d6b848bd4dcc5f3040912e882dc7ba71653e35af660d77b25c381d402e8 + languageName: node + linkType: hard + +"rollup@npm:^2.77.2": + version: 2.79.1 + resolution: "rollup@npm:2.79.1" + dependencies: + fsevents: "npm:~2.3.2" + dependenciesMeta: + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 421418687f5dcd7324f4387f203c6bfc7118b7ace789e30f5da022471c43e037a76f5fd93837052754eeeae798a4fb266ac05ccee1e594406d912a59af98dde9 + languageName: node + linkType: hard + +"rollup@npm:^4.2.0": + version: 4.9.0 + resolution: "rollup@npm:4.9.0" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.9.0" + "@rollup/rollup-android-arm64": "npm:4.9.0" + "@rollup/rollup-darwin-arm64": "npm:4.9.0" + "@rollup/rollup-darwin-x64": "npm:4.9.0" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.9.0" + "@rollup/rollup-linux-arm64-gnu": "npm:4.9.0" + "@rollup/rollup-linux-arm64-musl": "npm:4.9.0" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.9.0" + "@rollup/rollup-linux-x64-gnu": "npm:4.9.0" + "@rollup/rollup-linux-x64-musl": "npm:4.9.0" + "@rollup/rollup-win32-arm64-msvc": "npm:4.9.0" + "@rollup/rollup-win32-ia32-msvc": "npm:4.9.0" + "@rollup/rollup-win32-x64-msvc": "npm:4.9.0" + fsevents: "npm:~2.3.2" + dependenciesMeta: + "@rollup/rollup-android-arm-eabi": + optional: true + "@rollup/rollup-android-arm64": + optional: true + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-linux-arm-gnueabihf": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-riscv64-gnu": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-ia32-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: eba46d63c807bda74215db4ec6abb59d8a0bb0233b3ae77cd9510179e85daf1472191a519006e3d1519077eb90c9596febe7b34b0396940e7bd2e835dd98d51a + languageName: node + linkType: hard + +"run-parallel@npm:^1.1.9": + version: 1.2.0 + resolution: "run-parallel@npm:1.2.0" + dependencies: + queue-microtask: "npm:^1.2.2" + checksum: 200b5ab25b5b8b7113f9901bfe3afc347e19bb7475b267d55ad0eb86a62a46d77510cb0f232507c9e5d497ebda569a08a9867d0d14f57a82ad5564d991588b39 + languageName: node + linkType: hard + +"safer-buffer@npm:>= 2.1.2 < 3.0.0": + version: 2.1.2 + resolution: "safer-buffer@npm:2.1.2" + checksum: 7e3c8b2e88a1841c9671094bbaeebd94448111dd90a81a1f606f3f67708a6ec57763b3b47f06da09fc6054193e0e6709e77325415dc8422b04497a8070fa02d4 + languageName: node + linkType: hard + +"sass@npm:^1.69.5": + version: 1.69.5 + resolution: "sass@npm:1.69.5" + dependencies: + chokidar: "npm:>=3.0.0 <4.0.0" + immutable: "npm:^4.0.0" + source-map-js: "npm:>=0.6.2 <2.0.0" + bin: + sass: sass.js + checksum: a9003a9482f2e467fc412cfe58ba4fa14fb78bef7e1283ce5d64a065f8a31114ec3bbf5d4e724f94eb8512c32c768a6f91f228c7f16a26a300bbf4db293b5608 + languageName: node + linkType: hard + +"semver@npm:^7.3.5, semver@npm:^7.3.6, semver@npm:^7.5.4": + version: 7.5.4 + resolution: "semver@npm:7.5.4" + dependencies: + lru-cache: "npm:^6.0.0" + bin: + semver: bin/semver.js + checksum: 5160b06975a38b11c1ab55950cb5b8a23db78df88275d3d8a42ccf1f29e55112ac995b3a26a522c36e3b5f76b0445f1eef70d696b8c7862a2b4303d7b0e7609e + languageName: node + linkType: hard + +"shebang-command@npm:^2.0.0": + version: 2.0.0 + resolution: "shebang-command@npm:2.0.0" + dependencies: + shebang-regex: "npm:^3.0.0" + checksum: a41692e7d89a553ef21d324a5cceb5f686d1f3c040759c50aab69688634688c5c327f26f3ecf7001ebfd78c01f3c7c0a11a7c8bfd0a8bc9f6240d4f40b224e4e + languageName: node + linkType: hard + +"shebang-regex@npm:^3.0.0": + version: 3.0.0 + resolution: "shebang-regex@npm:3.0.0" + checksum: 1dbed0726dd0e1152a92696c76c7f06084eb32a90f0528d11acd764043aacf76994b2fb30aa1291a21bd019d6699164d048286309a278855ee7bec06cf6fb690 + languageName: node + linkType: hard + +"signal-exit@npm:^4.0.1": + version: 4.1.0 + resolution: "signal-exit@npm:4.1.0" + checksum: 41602dce540e46d599edba9d9860193398d135f7ff72cab629db5171516cfae628d21e7bfccde1bbfdf11c48726bc2a6d1a8fb8701125852fbfda7cf19c6aa83 + languageName: node + linkType: hard + +"slash@npm:^3.0.0": + version: 3.0.0 + resolution: "slash@npm:3.0.0" + checksum: e18488c6a42bdfd4ac5be85b2ced3ccd0224773baae6ad42cfbb9ec74fc07f9fa8396bd35ee638084ead7a2a0818eb5e7151111544d4731ce843019dab4be47b + languageName: node + linkType: hard + +"smart-buffer@npm:^4.2.0": + version: 4.2.0 + resolution: "smart-buffer@npm:4.2.0" + checksum: a16775323e1404dd43fabafe7460be13a471e021637bc7889468eb45ce6a6b207261f454e4e530a19500cc962c4cc5348583520843b363f4193cee5c00e1e539 + languageName: node + linkType: hard + +"socks-proxy-agent@npm:^8.0.1": + version: 8.0.2 + resolution: "socks-proxy-agent@npm:8.0.2" + dependencies: + agent-base: "npm:^7.0.2" + debug: "npm:^4.3.4" + socks: "npm:^2.7.1" + checksum: a842402fc9b8848a31367f2811ca3cd14c4106588b39a0901cd7a69029998adfc6456b0203617c18ed090542ad0c24ee4e9d4c75a0c4b75071e214227c177eb7 + languageName: node + linkType: hard + +"socks@npm:^2.7.1": + version: 2.7.1 + resolution: "socks@npm:2.7.1" + dependencies: + ip: "npm:^2.0.0" + smart-buffer: "npm:^4.2.0" + checksum: 43f69dbc9f34fc8220bc51c6eea1c39715ab3cfdb115d6e3285f6c7d1a603c5c75655668a5bbc11e3c7e2c99d60321fb8d7ab6f38cda6a215fadd0d6d0b52130 + languageName: node + linkType: hard + +"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.2": + version: 1.0.2 + resolution: "source-map-js@npm:1.0.2" + checksum: 32f2dfd1e9b7168f9a9715eb1b4e21905850f3b50cf02cf476e47e4eebe8e6b762b63a64357896aa29b37e24922b4282df0f492e0d2ace572b43d15525976ff8 + languageName: node + linkType: hard + +"ssri@npm:^10.0.0": + version: 10.0.5 + resolution: "ssri@npm:10.0.5" + dependencies: + minipass: "npm:^7.0.3" + checksum: b091f2ae92474183c7ac5ed3f9811457e1df23df7a7e70c9476eaa9a0c4a0c8fc190fb45acefbf023ca9ee864dd6754237a697dc52a0fb182afe65d8e77443d8 + languageName: node + linkType: hard + +"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^4.1.0": + version: 4.2.3 + resolution: "string-width@npm:4.2.3" + dependencies: + emoji-regex: "npm:^8.0.0" + is-fullwidth-code-point: "npm:^3.0.0" + strip-ansi: "npm:^6.0.1" + checksum: 1e525e92e5eae0afd7454086eed9c818ee84374bb80328fc41217ae72ff5f065ef1c9d7f72da41de40c75fa8bb3dee63d92373fd492c84260a552c636392a47b + languageName: node + linkType: hard + +"string-width@npm:^5.0.1, string-width@npm:^5.1.2": + version: 5.1.2 + resolution: "string-width@npm:5.1.2" + dependencies: + eastasianwidth: "npm:^0.2.0" + emoji-regex: "npm:^9.2.2" + strip-ansi: "npm:^7.0.1" + checksum: ab9c4264443d35b8b923cbdd513a089a60de339216d3b0ed3be3ba57d6880e1a192b70ae17225f764d7adbf5994e9bb8df253a944736c15a0240eff553c678ca + languageName: node + linkType: hard + +"strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": + version: 6.0.1 + resolution: "strip-ansi@npm:6.0.1" + dependencies: + ansi-regex: "npm:^5.0.1" + checksum: 1ae5f212a126fe5b167707f716942490e3933085a5ff6c008ab97ab2f272c8025d3aa218b7bd6ab25729ca20cc81cddb252102f8751e13482a5199e873680952 + languageName: node + linkType: hard + +"strip-ansi@npm:^7.0.1": + version: 7.1.0 + resolution: "strip-ansi@npm:7.1.0" + dependencies: + ansi-regex: "npm:^6.0.1" + checksum: a198c3762e8832505328cbf9e8c8381de14a4fa50a4f9b2160138158ea88c0f5549fb50cb13c651c3088f47e63a108b34622ec18c0499b6c8c3a5ddf6b305ac4 + languageName: node + linkType: hard + +"strip-json-comments@npm:^3.1.1": + version: 3.1.1 + resolution: "strip-json-comments@npm:3.1.1" + checksum: 9681a6257b925a7fa0f285851c0e613cc934a50661fa7bb41ca9cbbff89686bb4a0ee366e6ecedc4daafd01e83eee0720111ab294366fe7c185e935475ebcecd + languageName: node + linkType: hard + +"supports-color@npm:^7.1.0": + version: 7.2.0 + resolution: "supports-color@npm:7.2.0" + dependencies: + has-flag: "npm:^4.0.0" + checksum: afb4c88521b8b136b5f5f95160c98dee7243dc79d5432db7efc27efb219385bbc7d9427398e43dd6cc730a0f87d5085ce1652af7efbe391327bc0a7d0f7fc124 + languageName: node + linkType: hard + +"tar@npm:^6.1.11, tar@npm:^6.1.2": + version: 6.2.0 + resolution: "tar@npm:6.2.0" + dependencies: + chownr: "npm:^2.0.0" + fs-minipass: "npm:^2.0.0" + minipass: "npm:^5.0.0" + minizlib: "npm:^2.1.1" + mkdirp: "npm:^1.0.3" + yallist: "npm:^4.0.0" + checksum: 02ca064a1a6b4521fef88c07d389ac0936730091f8c02d30ea60d472e0378768e870769ab9e986d87807bfee5654359cf29ff4372746cc65e30cbddc352660d8 + languageName: node + linkType: hard + +"text-table@npm:^0.2.0": + version: 0.2.0 + resolution: "text-table@npm:0.2.0" + checksum: 02805740c12851ea5982686810702e2f14369a5f4c5c40a836821e3eefc65ffeec3131ba324692a37608294b0fd8c1e55a2dd571ffed4909822787668ddbee5c + languageName: node + linkType: hard + +"to-fast-properties@npm:^2.0.0": + version: 2.0.0 + resolution: "to-fast-properties@npm:2.0.0" + checksum: b214d21dbfb4bce3452b6244b336806ffea9c05297148d32ebb428d5c43ce7545bdfc65a1ceb58c9ef4376a65c0cb2854d645f33961658b3e3b4f84910ddcdd7 + languageName: node + linkType: hard + +"to-regex-range@npm:^5.0.1": + version: 5.0.1 + resolution: "to-regex-range@npm:5.0.1" + dependencies: + is-number: "npm:^7.0.0" + checksum: 487988b0a19c654ff3e1961b87f471702e708fa8a8dd02a298ef16da7206692e8552a0250e8b3e8759270f62e9d8314616f6da274734d3b558b1fc7b7724e892 + languageName: node + linkType: hard + +"ts-api-utils@npm:^1.0.1": + version: 1.0.3 + resolution: "ts-api-utils@npm:1.0.3" + peerDependencies: + typescript: ">=4.2.0" + checksum: 9408338819c3aca2a709f0bc54e3f874227901506cacb1163612a6c8a43df224174feb965a5eafdae16f66fc68fd7bfee8d3275d0fa73fbb8699e03ed26520c9 + languageName: node + linkType: hard + +"type-check@npm:^0.4.0, type-check@npm:~0.4.0": + version: 0.4.0 + resolution: "type-check@npm:0.4.0" + dependencies: + prelude-ls: "npm:^1.2.1" + checksum: 7b3fd0ed43891e2080bf0c5c504b418fbb3e5c7b9708d3d015037ba2e6323a28152ec163bcb65212741fa5d2022e3075ac3c76440dbd344c9035f818e8ecee58 + languageName: node + linkType: hard + +"type-fest@npm:^0.20.2": + version: 0.20.2 + resolution: "type-fest@npm:0.20.2" + checksum: dea9df45ea1f0aaa4e2d3bed3f9a0bfe9e5b2592bddb92eb1bf06e50bcf98dbb78189668cd8bc31a0511d3fc25539b4cd5c704497e53e93e2d40ca764b10bfc3 + languageName: node + linkType: hard + +"typescript@npm:^5.2.2": + version: 5.3.3 + resolution: "typescript@npm:5.3.3" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: e33cef99d82573624fc0f854a2980322714986bc35b9cb4d1ce736ed182aeab78e2cb32b385efa493b2a976ef52c53e20d6c6918312353a91850e2b76f1ea44f + languageName: node + linkType: hard + +"typescript@patch:typescript@npm%3A^5.2.2#optional!builtin": + version: 5.3.3 + resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 1d0a5f4ce496c42caa9a30e659c467c5686eae15d54b027ee7866744952547f1be1262f2d40de911618c242b510029d51d43ff605dba8fb740ec85ca2d3f9500 + languageName: node + linkType: hard + +"unique-filename@npm:^3.0.0": + version: 3.0.0 + resolution: "unique-filename@npm:3.0.0" + dependencies: + unique-slug: "npm:^4.0.0" + checksum: 6363e40b2fa758eb5ec5e21b3c7fb83e5da8dcfbd866cc0c199d5534c42f03b9ea9ab069769cc388e1d7ab93b4eeef28ef506ab5f18d910ef29617715101884f + languageName: node + linkType: hard + +"unique-slug@npm:^4.0.0": + version: 4.0.0 + resolution: "unique-slug@npm:4.0.0" + dependencies: + imurmurhash: "npm:^0.1.4" + checksum: cb811d9d54eb5821b81b18205750be84cb015c20a4a44280794e915f5a0a70223ce39066781a354e872df3572e8155c228f43ff0cce94c7cbf4da2cc7cbdd635 + languageName: node + linkType: hard + +"uri-js@npm:^4.2.2": + version: 4.4.1 + resolution: "uri-js@npm:4.4.1" + dependencies: + punycode: "npm:^2.1.0" + checksum: 4ef57b45aa820d7ac6496e9208559986c665e49447cb072744c13b66925a362d96dd5a46c4530a6b8e203e5db5fe849369444440cb22ecfc26c679359e5dfa3c + languageName: node + linkType: hard + +"util-deprecate@npm:^1.0.2": + version: 1.0.2 + resolution: "util-deprecate@npm:1.0.2" + checksum: 41a5bdd214df2f6c3ecf8622745e4a366c4adced864bc3c833739791aeeeb1838119af7daed4ba36428114b5c67dcda034a79c882e97e43c03e66a4dd7389942 + languageName: node + linkType: hard + +"vite-plugin-eslint@npm:^1.8.1": + version: 1.8.1 + resolution: "vite-plugin-eslint@npm:1.8.1" + dependencies: + "@rollup/pluginutils": "npm:^4.2.1" + "@types/eslint": "npm:^8.4.5" + rollup: "npm:^2.77.2" + peerDependencies: + eslint: ">=7" + vite: ">=2" + checksum: 123c3dcf8229fe2104f139877e866c1a7fc21903dc09f80bebb319a29929667074b9db6d89b3c48eea4740567a07c875d13c4c863ccf7a30a6c9621c74a5c37a + languageName: node + linkType: hard + +"vite@npm:^5.0.0": + version: 5.0.10 + resolution: "vite@npm:5.0.10" + dependencies: + esbuild: "npm:^0.19.3" + fsevents: "npm:~2.3.3" + postcss: "npm:^8.4.32" + rollup: "npm:^4.2.0" + peerDependencies: + "@types/node": ^18.0.0 || >=20.0.0 + less: "*" + lightningcss: ^1.21.0 + sass: "*" + stylus: "*" + sugarss: "*" + terser: ^5.4.0 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + "@types/node": + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + bin: + vite: bin/vite.js + checksum: d666b2760d2a7ea1d0d35f67c042053e562144f80554be4e4dc58e607fd5f62193cd203d73ab2e315df66830d8b9d9a2e3509d0208bdef1b2e92e0a5c364df84 + languageName: node + linkType: hard + +"vue-eslint-parser@npm:9.3.1": + version: 9.3.1 + resolution: "vue-eslint-parser@npm:9.3.1" + dependencies: + debug: "npm:^4.3.4" + eslint-scope: "npm:^7.1.1" + eslint-visitor-keys: "npm:^3.3.0" + espree: "npm:^9.3.1" + esquery: "npm:^1.4.0" + lodash: "npm:^4.17.21" + semver: "npm:^7.3.6" + peerDependencies: + eslint: ">=6.0.0" + checksum: 2495cd855b8a0969e1d1a109762e54d4302429ebd87c21212de38fc60ea774be1bc001dc86338d3f78e17ae79d80fa633a8c409d7a65990cde9bc04484dac933 + languageName: node + linkType: hard + +"vue-eslint-parser@npm:^9.3.1": + version: 9.3.2 + resolution: "vue-eslint-parser@npm:9.3.2" + dependencies: + debug: "npm:^4.3.4" + eslint-scope: "npm:^7.1.1" + eslint-visitor-keys: "npm:^3.3.0" + espree: "npm:^9.3.1" + esquery: "npm:^1.4.0" + lodash: "npm:^4.17.21" + semver: "npm:^7.3.6" + peerDependencies: + eslint: ">=6.0.0" + checksum: da0e0bcc603e7845253f1600e595f91de7f46ad1947827008aca5e545de405993f83dabfc01c57c9d0d95d22040a2d0f9d82cb640918e18e3d8dcff2c98513fc + languageName: node + linkType: hard + +"vue-router@npm:^4.2.5": + version: 4.2.5 + resolution: "vue-router@npm:4.2.5" + dependencies: + "@vue/devtools-api": "npm:^6.5.0" + peerDependencies: + vue: ^3.2.0 + checksum: 63e51f437a1f10a97fce97c04cde3f87958049c5e20f8b238b66b9a9080c99db0124e680ed0e9921af1f6d81c00bf181e280e36e2370cafea581539334d895ef + languageName: node + linkType: hard + +"vue-template-compiler@npm:^2.7.14": + version: 2.7.15 + resolution: "vue-template-compiler@npm:2.7.15" + dependencies: + de-indent: "npm:^1.0.2" + he: "npm:^1.2.0" + checksum: a826e8a733281d8d9a4b05b0fe039d56ebf9f94ea5bd2ae39641fd98fa313cf4be1415b3cfa4339ffde1f6b158283d05770eae86840c105e8a5887764759b9f2 + languageName: node + linkType: hard + +"vue-tsc@npm:^1.8.22": + version: 1.8.25 + resolution: "vue-tsc@npm:1.8.25" + dependencies: + "@volar/typescript": "npm:~1.11.1" + "@vue/language-core": "npm:1.8.25" + semver: "npm:^7.5.4" + peerDependencies: + typescript: "*" + bin: + vue-tsc: bin/vue-tsc.js + checksum: e3d1e222c9ab9bdb037246725f93538889bd4bd900fb15230b737b4e89710f50089b8525bb64f08e4f2e758bec816f8a5d7ddd326d8d5d667eed8e1e08ef7ec6 + languageName: node + linkType: hard + +"vue@npm:^3.3.8": + version: 3.3.12 + resolution: "vue@npm:3.3.12" + dependencies: + "@vue/compiler-dom": "npm:3.3.12" + "@vue/compiler-sfc": "npm:3.3.12" + "@vue/runtime-dom": "npm:3.3.12" + "@vue/server-renderer": "npm:3.3.12" + "@vue/shared": "npm:3.3.12" + peerDependencies: + typescript: "*" + peerDependenciesMeta: + typescript: + optional: true + checksum: 2eaeb0b26b3047edc3263316adb55ce45bfb586b9c9c3bf2be44d68fb70d03f96a88c4db14986e57946476a95a1baf2895e7ef7f0e4db48e7b966ea4b458f929 + languageName: node + linkType: hard + +"which@npm:^2.0.1": + version: 2.0.2 + resolution: "which@npm:2.0.2" + dependencies: + isexe: "npm:^2.0.0" + bin: + node-which: ./bin/node-which + checksum: 66522872a768b60c2a65a57e8ad184e5372f5b6a9ca6d5f033d4b0dc98aff63995655a7503b9c0a2598936f532120e81dd8cc155e2e92ed662a2b9377cc4374f + languageName: node + linkType: hard + +"which@npm:^4.0.0": + version: 4.0.0 + resolution: "which@npm:4.0.0" + dependencies: + isexe: "npm:^3.1.1" + bin: + node-which: bin/which.js + checksum: 449fa5c44ed120ccecfe18c433296a4978a7583bf2391c50abce13f76878d2476defde04d0f79db8165bdf432853c1f8389d0485ca6e8ebce3bbcded513d5e6a + languageName: node + linkType: hard + +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version: 7.0.0 + resolution: "wrap-ansi@npm:7.0.0" + dependencies: + ansi-styles: "npm:^4.0.0" + string-width: "npm:^4.1.0" + strip-ansi: "npm:^6.0.0" + checksum: d15fc12c11e4cbc4044a552129ebc75ee3f57aa9c1958373a4db0292d72282f54373b536103987a4a7594db1ef6a4f10acf92978f79b98c49306a4b58c77d4da + languageName: node + linkType: hard + +"wrap-ansi@npm:^8.1.0": + version: 8.1.0 + resolution: "wrap-ansi@npm:8.1.0" + dependencies: + ansi-styles: "npm:^6.1.0" + string-width: "npm:^5.0.1" + strip-ansi: "npm:^7.0.1" + checksum: 138ff58a41d2f877eae87e3282c0630fc2789012fc1af4d6bd626eeb9a2f9a65ca92005e6e69a75c7b85a68479fe7443c7dbe1eb8fbaa681a4491364b7c55c60 + languageName: node + linkType: hard + +"wrappy@npm:1": + version: 1.0.2 + resolution: "wrappy@npm:1.0.2" + checksum: 56fece1a4018c6a6c8e28fbc88c87e0fbf4ea8fd64fc6c63b18f4acc4bd13e0ad2515189786dd2c30d3eec9663d70f4ecf699330002f8ccb547e4a18231fc9f0 + languageName: node + linkType: hard + +"xml-name-validator@npm:^4.0.0": + version: 4.0.0 + resolution: "xml-name-validator@npm:4.0.0" + checksum: c1bfa219d64e56fee265b2bd31b2fcecefc063ee802da1e73bad1f21d7afd89b943c9e2c97af2942f60b1ad46f915a4c81e00039c7d398b53cf410e29d3c30bd + languageName: node + linkType: hard + +"yallist@npm:^4.0.0": + version: 4.0.0 + resolution: "yallist@npm:4.0.0" + checksum: 2286b5e8dbfe22204ab66e2ef5cc9bbb1e55dfc873bbe0d568aa943eb255d131890dfd5bf243637273d31119b870f49c18fcde2c6ffbb7a7a092b870dc90625a + languageName: node + linkType: hard + +"yocto-queue@npm:^0.1.0": + version: 0.1.0 + resolution: "yocto-queue@npm:0.1.0" + checksum: dceb44c28578b31641e13695d200d34ec4ab3966a5729814d5445b194933c096b7ced71494ce53a0e8820685d1d010df8b2422e5bf2cdea7e469d97ffbea306f + languageName: node + linkType: hard diff --git a/Iceshrimp.NET.sln b/Iceshrimp.NET.sln new file mode 100644 index 00000000..486cea81 --- /dev/null +++ b/Iceshrimp.NET.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iceshrimp.Backend", "Iceshrimp.Backend\Iceshrimp.Backend.csproj", "{74D636F2-3A0B-4214-B302-178C3D5525F5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iceshrimp.Tests", "Iceshrimp.Tests\Iceshrimp.Tests.csproj", "{6321DFB0-9F35-4C0E-A4DA-CD90E6920E80}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {74D636F2-3A0B-4214-B302-178C3D5525F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {74D636F2-3A0B-4214-B302-178C3D5525F5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {74D636F2-3A0B-4214-B302-178C3D5525F5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {74D636F2-3A0B-4214-B302-178C3D5525F5}.Release|Any CPU.Build.0 = Release|Any CPU + {6321DFB0-9F35-4C0E-A4DA-CD90E6920E80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6321DFB0-9F35-4C0E-A4DA-CD90E6920E80}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6321DFB0-9F35-4C0E-A4DA-CD90E6920E80}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6321DFB0-9F35-4C0E-A4DA-CD90E6920E80}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/Iceshrimp.NET.sln.DotSettings b/Iceshrimp.NET.sln.DotSettings new file mode 100644 index 00000000..8a53a813 --- /dev/null +++ b/Iceshrimp.NET.sln.DotSettings @@ -0,0 +1,37 @@ + + END_OF_LINE + END_OF_LINE + True + True + True + True + True + True + True + True + True + True + True + END_OF_LINE + END_OF_LINE + TOGETHER + END_OF_LINE + True + True + True + True + True + True + True + True + True + True + END_OF_LINE + AP + AS + LD + True + True + True + True + True \ No newline at end of file diff --git a/Iceshrimp.Tests/GlobalUsings.cs b/Iceshrimp.Tests/GlobalUsings.cs new file mode 100644 index 00000000..c802f448 --- /dev/null +++ b/Iceshrimp.Tests/GlobalUsings.cs @@ -0,0 +1 @@ +global using Xunit; diff --git a/Iceshrimp.Tests/Iceshrimp.Tests.csproj b/Iceshrimp.Tests/Iceshrimp.Tests.csproj new file mode 100644 index 00000000..841e20d3 --- /dev/null +++ b/Iceshrimp.Tests/Iceshrimp.Tests.csproj @@ -0,0 +1,29 @@ + + + + net8.0 + enable + enable + + false + true + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + + diff --git a/Iceshrimp.Tests/UnitTest1.cs b/Iceshrimp.Tests/UnitTest1.cs new file mode 100644 index 00000000..90e45d41 --- /dev/null +++ b/Iceshrimp.Tests/UnitTest1.cs @@ -0,0 +1,9 @@ +namespace Iceshrimp.Tests; + +public class UnitTest1 +{ + [Fact] + public void Test1() { + + } +} diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..dba13ed2 --- /dev/null +++ b/LICENSE @@ -0,0 +1,661 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +.