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

+2
View File
@@ -386,6 +386,8 @@ const OfficialSheetAdminSummarySchema = z.object({
archived_at: z.string().nullable(),
created_at: z.string(),
updated_at: z.string(),
/** The newest of the sheet's and its versions' `updated_at` (M9): what « dernière modification » sorts and shows. */
last_modified_at: z.string().datetime({ offset: true }),
name: LocalizedSchema,
historical: z.boolean(),
working_copy: z.boolean(),