fix: make datatable and ducklake diffs visible in workspace comparison

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Diego Imbert
2026-03-18 13:02:49 +01:00
parent 996e33b4a3
commit 50587fc954
2 changed files with 11 additions and 1 deletions

View File

@@ -5532,6 +5532,8 @@ async fn query_visible_items<'c>(
.fetch_all(&mut **tx)
.await?
}
// Datatables and ducklakes are workspace settings, always visible
"datatable" | "ducklake" => paths_vec,
_ => vec![], // Unknown kind
};

View File

@@ -24090,7 +24090,7 @@ components:
kind:
type: string
enum:
["script", "flow", "app", "resource", "variable", "resource_type"]
["script", "flow", "app", "resource", "variable", "resource_type", "folder", "datatable", "ducklake"]
description: Type of the item
path:
type: string
@@ -24124,6 +24124,8 @@ components:
- variables_changed
- resource_types_changed
- folders_changed
- datatables_changed
- ducklakes_changed
- conflicts
properties:
total_diffs:
@@ -24156,6 +24158,12 @@ components:
folders_changed:
type: integer
description: Number of folders with differences
datatables_changed:
type: integer
description: Number of datatables with differences
ducklakes_changed:
type: integer
description: Number of ducklakes with differences
conflicts:
type: integer
description: Number of items that are both ahead and behind (conflicts)