DeepDrftAPI Rename

This commit is contained in:
Daniel Harvey
2026-05-25 10:38:36 -04:00
parent 98b2c8d744
commit 551cef0fe8
59 changed files with 510 additions and 524 deletions
+7
View File
@@ -0,0 +1,7 @@
namespace DeepDrftAPI.Models
{
public class ApiKeySettings
{
public required string ApiKey { get; set; }
}
}
+6
View File
@@ -0,0 +1,6 @@
namespace DeepDrftAPI.Models;
public class CorsSettings
{
public string[] AllowedOrigins { get; set; } = [];
}
@@ -0,0 +1,7 @@
namespace DeepDrftAPI.Models
{
public class FileDatabaseSettings
{
public required string VaultPath { get; set; }
}
}
@@ -0,0 +1,12 @@
namespace DeepDrftAPI.Models;
/// <summary>
/// Body of <c>PUT api/track/meta/{id}</c>. Metadata-only — EntryKey is immutable and never
/// travels over this surface.
/// </summary>
public record UpdateTrackMetadataRequest(
string TrackName,
string Artist,
string? Album,
string? Genre,
DateOnly? ReleaseDate);