pub fn apply_row_patch(doc: Value, patch: &Value) -> Result<Value, String>Expand description
Phase 30.1: apply a delta to a stored vault document. Shared by PATCH /api/vault and the desktop’s save_vault_rows so they cannot differ.
{ put, delete } change api_keys by id; projects_put/projects_delete
change projects by id; categories, when present, replaces
user_categories (a flat list of strings, small). Every put needs a
non-empty string id. Unknown keys are ignored.