From 3925f7a64a302c23db134f79328cc8f5010f7418 Mon Sep 17 00:00:00 2001 From: billy rennekamp Date: Fri, 1 Aug 2025 10:26:41 +0200 Subject: [PATCH] Update webhooks.ts datatypes don't match what's coming through on the Event Delivery Details and castDeleted was missing entirely. A lot of the data doesn't match either with fields like "deprecation_notice" and "target" missing from reactionCreated. --- src/types/webhooks.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/types/webhooks.ts b/src/types/webhooks.ts index 886a99a9d..f7c2b1ba1 100644 --- a/src/types/webhooks.ts +++ b/src/types/webhooks.ts @@ -54,7 +54,12 @@ export interface WebhookCastCreated { data: Cast; type: "cast.created"; created_at: number; - event_timestamp: string; +} + +export interface WebhookCastDeleted { + data: Cast; + type: "cast.deleted"; + created_at: number; } export interface WebhookUserCreated {