mirror of
https://github.com/BillyCool/MariesWonderland.git
synced 2026-03-30 03:32:20 +02:00
Solution cleanup. Implement stubs for all remaining services. Add API models. Move configuration to appsettings.
This commit is contained in:
21
src/Configuration/ServerOptions.cs
Normal file
21
src/Configuration/ServerOptions.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace MariesWonderland.Configuration;
|
||||
|
||||
public sealed class ServerOptions
|
||||
{
|
||||
public const string SectionName = "Server";
|
||||
|
||||
public PathsOptions Paths { get; init; } = new();
|
||||
public DataOptions Data { get; init; } = new();
|
||||
}
|
||||
|
||||
public sealed class PathsOptions
|
||||
{
|
||||
public string AssetDatabase { get; init; } = string.Empty;
|
||||
public string MasterDatabase { get; init; } = string.Empty;
|
||||
}
|
||||
|
||||
public sealed class DataOptions
|
||||
{
|
||||
public string LatestMasterDataVersion { get; init; } = string.Empty;
|
||||
public string UserDataBasePath { get; init; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user