kv-wasm: ItemSummary carries tags and modifiedAt for the web vault's filters and sort

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-17 23:59:58 +09:00
co-authored by Claude Opus 5.5
parent b5ced32be3
commit f9f2d14aa2
6 changed files with 12 additions and 1 deletions
+1
View File
@@ -72,6 +72,7 @@ async fn account_lifecycle_persists_in_indexeddb() {
.unwrap();
let list: Vec<ItemSummary> = de(ok(core.list_items()).await);
assert_eq!(list.iter().map(|i| i.title.as_str()).collect::<Vec<_>>(), ["Bank", "Note"]);
assert!(list[0].tags.is_empty() && list[0].modified_at > 1_700_000_000);
let mut item: ItemDto = de(ok(core.get_item(id.clone())).await);
assert_eq!(item.password.as_deref(), Some("hunter2-secret"));
item.password = Some("hunter3-secret".into());