using System;
using System.Collections.Generic;

namespace StellaOps.Feedser.Merge.Options;

/// <summary>
/// Configurable precedence overrides for advisory sources.
/// </summary>
public sealed class AdvisoryPrecedenceOptions
{
    /// <summary>
    /// Mapping of provenance source identifiers to precedence ranks. Lower numbers take precedence.
    /// </summary>
    public IDictionary<string, int> Ranks { get; init; } = new Dictionary<string, int>(StringComparer.OrdinalIgnoreCase);
}
