mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 08:26:22 +02:00
email block initial
This commit is contained in:
parent
c03882f43f
commit
2190e793a6
4 changed files with 668 additions and 7 deletions
|
|
@ -60,3 +60,16 @@ export const CalendarBlockSchema = z.object({
|
|||
});
|
||||
|
||||
export type CalendarBlock = z.infer<typeof CalendarBlockSchema>;
|
||||
|
||||
export const EmailBlockSchema = z.object({
|
||||
threadId: z.string().optional(),
|
||||
subject: z.string().optional(),
|
||||
from: z.string().optional(),
|
||||
to: z.string().optional(),
|
||||
date: z.string().optional(),
|
||||
latest_email: z.string(),
|
||||
past_summary: z.string().optional(),
|
||||
draft_response: z.string().optional(),
|
||||
});
|
||||
|
||||
export type EmailBlock = z.infer<typeof EmailBlockSchema>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue