using System.Collections.Immutable; using CringePlugins.Resolver; using NuGet; using NuGet.Models; namespace CringePlugins.Config; public record PackagesConfig(ImmutableArray Sources, ImmutableArray Packages) { public static PackagesConfig Default { get; } = new([ new("SpaceEngineersDedicated.ReferenceAssemblies", "https://ng.zznty.ru/v3/index.json"), new("ImGui.NET.DirectX", "https://ng.zznty.ru/v3/index.json"), new("Plugin", "https://ng.zznty.ru/v3/index.json"), new(string.Empty, "https://api.nuget.org/v3/index.json") ], []); }