DeepDrftAPI Rename
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace DeepDrftAPI.Models
|
||||
{
|
||||
public class ApiKeySettings
|
||||
{
|
||||
public required string ApiKey { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user