2019-10-30 23:59:47 +01:00
|
|
|
using System.Collections.Generic;
|
2019-10-08 19:27:42 +02:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
2022-09-25 23:29:02 +02:00
|
|
|
namespace Contentless;
|
2019-10-08 19:27:42 +02:00
|
|
|
|
2022-09-25 23:29:02 +02:00
|
|
|
public class Config {
|
2019-10-08 19:27:42 +02:00
|
|
|
|
2022-09-25 23:29:02 +02:00
|
|
|
[JsonProperty("exclude")]
|
|
|
|
public string[] ExcludedFiles = {"bin/", "obj/"};
|
2019-10-08 19:27:42 +02:00
|
|
|
|
2022-09-25 23:29:02 +02:00
|
|
|
[JsonProperty("logSkipped")]
|
|
|
|
public bool LogSkipped = true;
|
2020-06-25 11:53:25 +02:00
|
|
|
|
2022-09-25 23:29:02 +02:00
|
|
|
[JsonProperty("overrides")]
|
|
|
|
public Dictionary<string, Override> Overrides = new();
|
2020-06-25 11:53:25 +02:00
|
|
|
|
2022-09-25 23:29:02 +02:00
|
|
|
}
|
2020-06-25 11:53:25 +02:00
|
|
|
|
2022-09-25 23:29:02 +02:00
|
|
|
public class Override {
|
|
|
|
|
|
|
|
[JsonProperty("importer")]
|
|
|
|
public string Importer;
|
|
|
|
[JsonProperty("processor")]
|
|
|
|
public string Processor;
|
|
|
|
[JsonProperty("processorParams")]
|
|
|
|
public Dictionary<string, string> ProcessorParams = new();
|
|
|
|
[JsonProperty("copy")]
|
|
|
|
public bool Copy;
|
2019-10-28 23:43:48 +01:00
|
|
|
|
2019-10-08 19:27:42 +02:00
|
|
|
}
|