mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-24 20:28:16 +02:00
feat: add Gmail inbox-style multi-email block with accordion rows
This commit is contained in:
parent
7eae006da7
commit
2a0b073e1e
4 changed files with 539 additions and 226 deletions
|
|
@ -101,6 +101,13 @@ export const EmailBlockSchema = z.object({
|
|||
|
||||
export type EmailBlock = z.infer<typeof EmailBlockSchema>;
|
||||
|
||||
export const EmailsBlockSchema = z.object({
|
||||
title: z.string().optional(),
|
||||
emails: z.array(EmailBlockSchema),
|
||||
});
|
||||
|
||||
export type EmailsBlock = z.infer<typeof EmailsBlockSchema>;
|
||||
|
||||
export const TranscriptBlockSchema = z.object({
|
||||
transcript: z.string(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue