
* suspense * iframe embeds * calendar list container * rename things as a container * use list container on onboarding * fix * rm code * newer alpha * make it work in react 17 * fix * fix * make components handle error state through `QueryCell` * fix constant * fix type error * type error * type fixes * fix package.lock * fix webhook invalidate * fix mt * fix typo * pr comment
8 lines
380 B
TypeScript
8 lines
380 B
TypeScript
import { WebhookTriggerEvents } from "@prisma/client";
|
|
|
|
// this is exported as we can't use `WebhookTriggerEvents` in the frontend straight-off
|
|
export const WEBHOOK_TRIGGER_EVENTS = [
|
|
WebhookTriggerEvents.BOOKING_CANCELLED,
|
|
WebhookTriggerEvents.BOOKING_CREATED,
|
|
WebhookTriggerEvents.BOOKING_RESCHEDULED,
|
|
] as ["BOOKING_CANCELLED", "BOOKING_CREATED", "BOOKING_RESCHEDULED"];
|