feat: delete webhook functionality
This commit is contained in:
@@ -11,4 +11,10 @@ export const ZCreateWebhookFormSchema = z.object({
|
||||
enabled: z.boolean(),
|
||||
});
|
||||
|
||||
export const ZDeleteWebhookSchema = z.object({
|
||||
id: z.number(),
|
||||
});
|
||||
|
||||
export type TCreateWebhookFormSchema = z.infer<typeof ZCreateWebhookFormSchema>;
|
||||
|
||||
export type TDeleteWebhookSchema = z.infer<typeof ZDeleteWebhookSchema>;
|
||||
|
||||
Reference in New Issue
Block a user