mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-01 03:16:29 +02:00
email block initial
This commit is contained in:
parent
51bd9d5ec6
commit
ea59208c38
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