feat: add src

closes #6
This commit is contained in:
cswimr 2025-01-29 18:09:21 +00:00
parent 93b6009d31
commit 8bcb8127bf
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
12 changed files with 411 additions and 1 deletions

View file

@ -0,0 +1,17 @@
namespace Myhm.Models
{
public class MyhmConfiguration
{
public required string GlobalToken { get; init; }
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,
}
}