You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
605 B
23 lines
605 B
using System.Diagnostics.CodeAnalysis;
|
|
using JetBrains.Annotations;
|
|
|
|
namespace Recyclarr.TrashLib.Config.Parsing.PostProcessing.ConfigMerging;
|
|
|
|
[SuppressMessage("Design", "CA1040:Avoid empty interfaces", Justification =
|
|
"Used for type-discriminating node deserializer")]
|
|
public interface IYamlInclude
|
|
{
|
|
}
|
|
|
|
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
|
|
public record ConfigYamlInclude : IYamlInclude
|
|
{
|
|
public string? Config { get; init; }
|
|
}
|
|
|
|
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
|
|
public record TemplateYamlInclude : IYamlInclude
|
|
{
|
|
public string? Template { get; init; }
|
|
}
|