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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user