mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-15 20:05:16 +02:00
add pagination, watcher and separation from gmail sync
This commit is contained in:
parent
22e5452003
commit
d757dc37da
5 changed files with 378 additions and 94 deletions
|
|
@ -146,12 +146,15 @@ const ipcSchemas = {
|
|||
error: z.string().optional(),
|
||||
}),
|
||||
},
|
||||
'gmail:listCachedThreads': {
|
||||
'gmail:listInboxPage': {
|
||||
req: z.object({
|
||||
daysAgo: z.number().int().positive().optional(),
|
||||
section: z.enum(['important', 'other']),
|
||||
cursor: z.string().optional(),
|
||||
limit: z.number().int().min(1).max(100).optional(),
|
||||
}),
|
||||
res: z.object({
|
||||
threads: z.array(GmailThreadSchema),
|
||||
nextCursor: z.string().nullable(),
|
||||
}),
|
||||
},
|
||||
'gmail:saveMessageHeight': {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue