feat(supabase): add draft_last_save to the sheet admin read (M8, sandbox only)
This commit is contained in:
1 parent
2571978780
commit
2f824a947c
7 files changed
+269
-2
No files matched your search
@@ -445,6 +445,10 @@ export type SheetAdminRound = z.infer<typeof SheetAdminRoundSchema>
|
||||
|
||||
const OfficialSheetAdminSchema = OfficialSheetAdminSummarySchema.extend({
|
||||
working_copy_source: z.object({ version_id: z.string(), version_number: z.number() }).nullable(),
|
||||
/** Who saved the draft's current revision, null when no save wrote it (M8). */
|
||||
draft_last_save: z
|
||||
.object({ revision: z.number(), saved_at: z.string(), saved_by: PersonSchema.nullable() })
|
||||
.nullable(),
|
||||
versions: z.array(SheetAdminVersionSchema),
|
||||
rounds: z.array(SheetAdminRoundSchema),
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user