diff options
| author | Salvatore Gentile <884093+SalGnt@users.noreply.github.com> | 2025-05-25 00:56:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-24 23:56:20 +0100 |
| commit | 8a927e964ae4c601910ab5f7c8d3d2b25e335988 (patch) | |
| tree | 0029019d8580b680bd23a39f4db13c786a3897b1 /packages/shared/queues.ts | |
| parent | 37c18b89ddcdae9010fc00bb7ef717c60bc01df9 (diff) | |
| download | karakeep-8a927e964ae4c601910ab5f7c8d3d2b25e335988.tar.zst | |
feat: Add "deleted" webhook event (#1464)
Diffstat (limited to 'packages/shared/queues.ts')
| -rw-r--r-- | packages/shared/queues.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/shared/queues.ts b/packages/shared/queues.ts index bbf69428..a434414c 100644 --- a/packages/shared/queues.ts +++ b/packages/shared/queues.ts @@ -172,7 +172,7 @@ export const AssetPreprocessingQueue = // Webhook worker export const zWebhookRequestSchema = z.object({ bookmarkId: z.string(), - operation: z.enum(["crawled", "created", "edited", "ai tagged"]), + operation: z.enum(["crawled", "created", "edited", "ai tagged", "deleted"]), }); export type ZWebhookRequest = z.infer<typeof zWebhookRequestSchema>; export const WebhookQueue = new SqliteQueue<ZWebhookRequest>( |
