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
@@ -57,4 +57,10 @@ public interface IVaultIndex : IEntryQueryable
/// Adds an entry with metadata to the vault index
/// </summary>
void PutEntry(string entryId, MetaData metaData);
/// <summary>
/// Removes an entry (and its metadata) from the vault index.
/// Returns true if an entry was removed, false if it was not present.
/// </summary>
bool RemoveEntry(string entryId);
}
@@ -131,4 +131,6 @@ public class VaultIndex : IndexData, IVaultIndex
public MetaData? GetEntry(string entryId) => Entries.Get(entryId);
public void PutEntry(string entryId, MetaData metaData) => Entries.Set(entryId, metaData);
public bool RemoveEntry(string entryId) => Entries.Delete(entryId);
}