Add CMS track delete: DeepDrftContent DELETE endpoint, DeepDrftWeb SQL-first orchestration, DeepDrftCms confirmation dialog (W3-T3)

This commit is contained in:
Daniel Harvey
2026-05-18 15:20:08 -04:00
parent f46c2557c8
commit 4a59df6baa
11 changed files with 325 additions and 4 deletions
+6
View File
@@ -13,6 +13,12 @@ builder.Services.AddMudServices();
builder.Services.AddCmsServices();
// CMS → DeepDrftContent calls require the DeepDrftContent ApiKey. Loaded from a
// gitignored environment file, same shape as DeepDrftContent/environment/apikey.json.
// Optional so the file's absence in non-CMS dev does not fail boot; missing key is
// surfaced when Startup.ConfigureDomainServices binds the CMS HttpClient.
builder.Configuration.AddJsonFile("environment/apikey.json", optional: true, reloadOnChange: true);
var baseUrl = builder.GetKestrelUrl();
var contentApiUrl = builder.Configuration["ApiUrls:ContentApi"] ?? throw new Exception("Content API URL is not configured");