fix(merge): fix merge of mount + is_favorite feature

fix the merge of moun feature and is_favorite + is_shared feature
    together it was raising an impossible build due to missing schema
This commit is contained in:
Edouard Vanbelle
2026-07-22 08:30:02 +02:00
parent 06875bc728
commit 53077e0fa3
3 changed files with 18 additions and 1 deletions
@@ -686,6 +686,10 @@ fn mount_entry_to_item(
category: Arc::from("Folder"),
created_by: Some(cfg.owner_id),
updated_by: Some(cfg.owner_id),
// Mount entries use synthetic `ext:*` ids — no favorites /
// grants rows can ever key against them.
is_favorite: false,
is_shared: false,
};
FolderResourceItemDto {
resource_type: ResourceTypeDto::Folder,
@@ -713,6 +717,8 @@ fn mount_entry_to_item(
etag: virtual_file_etag(entry.size, entry.modified_at),
created_by: Some(cfg.owner_id),
updated_by: Some(cfg.owner_id),
is_favorite: false,
is_shared: false,
};
FolderResourceItemDto {
resource_type: ResourceTypeDto::File,