Files
Servers/MoonlightServers.Shared/Admin/Templates/FilesConfigDto.cs

20 lines
477 B
C#

namespace MoonlightServers.Shared.Admin.Templates;
public class FilesConfigDto
{
public List<ConfigurationFileDto> ConfigurationFiles { get; set; } = new();
}
public class ConfigurationFileDto
{
public string Path { get; set; }
public string Parser { get; set; }
public List<ConfigurationFileMappingDto> Mappings { get; set; } = new();
}
public class ConfigurationFileMappingDto
{
public string Key { get; set; }
public string? Value { get; set; }
}