fix(resources): wire missing created_by and updated_by

This commit is contained in:
Edouard Vanbelle
2026-07-20 19:52:51 +02:00
parent 4873a5e837
commit 931e27d09c
21 changed files with 140 additions and 47 deletions
+4
View File
@@ -95,6 +95,8 @@ fn rows(n: usize) -> Vec<FolderResourceRow> {
} else {
Some("a".repeat(64))
},
created_by: Some(Uuid::new_v4()),
updated_by: Some(Uuid::new_v4()),
sort_str: format!("row {i}"),
type_order: 0,
folder_first: if is_folder { 0 } else { 1 },
@@ -262,6 +264,8 @@ fn fav_rows(n: usize) -> Vec<FavoriteResourceRow> {
} else {
Some("a".repeat(64))
},
created_by: Some(Uuid::new_v4()),
updated_by: Some(Uuid::new_v4()),
is_owner: true,
favorited_at: ts,
path: Some(format!("Documents/Work/item-{i:05}")),