using Eis.Application.Migration;
using Eis.Domain.Migration;

namespace Eis.Infrastructure.Migration;

public static class MigrationFeatureCatalog
{
    public static IReadOnlyList<MigrationFeature> Current(bool authenticationNative, bool candidateNative) =>
    [
        new(FeatureArea.Public, true, "/api/public"),
        new(FeatureArea.Authentication, authenticationNative, "/api/auth"),
        new(FeatureArea.Candidate, candidateNative, "/api/candidate"),
        new(FeatureArea.Administration, true, "/api/admin"),
        new(FeatureArea.Admission, true, "/api/admission"),
        new(FeatureArea.Documents, true, "/api"),
        new(FeatureArea.Excel, true, "/api"),
        new(FeatureArea.Caching, true, "/api")
    ];
}
