2025-01-30 17:58:13 +00:00
|
|
|
namespace LookingGlass.Data
|
2025-01-29 18:09:21 +00:00
|
|
|
{
|
2025-01-30 17:58:13 +00:00
|
|
|
public class ApplicationSettings
|
2025-01-29 18:09:21 +00:00
|
|
|
{
|
2025-01-29 21:04:56 +00:00
|
|
|
public required string AuthToken { get; init; }
|
2025-01-29 18:09:21 +00:00
|
|
|
public required string DatabaseConnectionString { get; init; }
|
|
|
|
public required DatabaseTypes DatabaseType { get; init; }
|
|
|
|
public bool UseSentry { get; init; } = true;
|
|
|
|
public bool UseSwagger { get; init; } = true;
|
|
|
|
public bool LogRequests { get; init; } = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
public enum DatabaseTypes
|
|
|
|
{
|
|
|
|
PostgresSQL,
|
|
|
|
}
|
|
|
|
}
|