feat(supabase): add draft_last_save to the sheet admin read (M8, sandbox only)

This commit is contained in:
bchanot committed 2026-11-04 11:40:22 +01:00
1 parent 2571978780
commit 2f824a947c
7 files changed
+269 -2

No files matched your search

@@ -748,6 +748,7 @@ describe('Sheet creation (A1)', () => {
data: {
...summary({ sheet_id: NEW_ID }),
working_copy_source: null,
draft_last_save: null,
versions: [],
rounds: [],
},
@@ -826,6 +827,7 @@ describe('Sheet overview (H3)', () => {
},
}),
working_copy_source: { version_id: 'v-h', version_number: 1 },
draft_last_save: null,
versions: [
{
version_id: 'v-1',
@@ -919,6 +921,7 @@ describe('Sheet overview (H3)', () => {
data: {
...historical(),
working_copy_source: null,
draft_last_save: null,
versions: [],
rounds: [],
},
@@ -943,6 +946,7 @@ describe('Sheet overview (H3)', () => {
...historical(),
working_copy_active: false,
working_copy_source: null,
draft_last_save: null,
versions: [],
rounds: [],
},
@@ -976,6 +980,7 @@ describe('Sheet overview (H3)', () => {
...historical(),
working_copy_active: false,
working_copy_source: null,
draft_last_save: null,
versions: [],
rounds: [],
},