feat(supabase): admin sheet summary carries last_modified_at

Schema requires last_modified_at as an ISO 8601 timestamp with offset. Fixtures in routes.admin.test.tsx and editorRoute.tsx gain the key.
This commit is contained in:
bchanot committed 2026-11-16 15:47:54 +01:00
1 parent f5e92dc5a9
commit d9a5846d0d
4 files changed
+12

No files matched your search

+1
View File
@@ -38,6 +38,7 @@ export function adminAnswer(patch: Record<string, unknown> = {}) {
archived_at: null,
created_at: '2026-11-01T10:00:00Z',
updated_at: '2026-11-01T10:00:00Z',
last_modified_at: '2026-11-01T10:00:00.000000+00:00',
name: {
fr: 'Cheval, squelette et rachis',
en: 'Horse, skeleton and spine',
@@ -64,6 +64,7 @@ function summary(patch: Record<string, unknown> = {}) {
archived_at: null,
created_at: '2026-11-01T10:00:00Z',
updated_at: '2026-11-01T10:00:00Z',
last_modified_at: '2026-11-01T10:00:00.000000+00:00',
name: {
fr: 'Cheval, squelette et rachis',
en: 'Horse, skeleton and spine',