using System.Collections.Immutable; using CringePlugins.Resolver; using NuGet; using NuGet.Models; namespace CringePlugins.Config; public record PackagesConfig(ImmutableArray Sources, ImmutableArray Packages, Dictionary> Profiles) { public static PackagesConfig Default { get; } = new([ new("zznty", @"^SpaceEngineersDedicated\.ReferenceAssemblies$|^ImGui\.NET\.DirectX$|^NuGet$|^Cringe.+$|^SharedCringe$|^Plugin.+$", "https://ng.zznty.ru/v3/index.json"), new("nuget.org", string.Empty, "https://api.nuget.org/v3/index.json") ], [], []); //todo: default profile with recommended plugins? }