Files
calendar/packages/app-store/routing-forms/lib/RoutingPages.ts
T
b8d4fccbab feat: Rerouting a booking with corrected responses (#17074)
* POC working with no TS error

* cleanup

* Fix query booking

* Simplify things

* Support rerouting to different event

* self-review fixes

* Some improvements

* add more tests

* Remove members relation query

* Udits feedback

* Dont show CTAs when non-eventTypeRedirectUrl action route is chosen

---------

Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
2024-10-18 17:11:50 -04:00

18 lines
454 B
TypeScript

import type { LocalRoute } from "../types/types";
import { RouteActionType } from "../zod";
export const RoutingPages: { label: string; value: NonNullable<LocalRoute["action"]>["type"] }[] = [
{
label: "Custom Page",
value: RouteActionType.CustomPageMessage,
},
{
label: "External Redirect",
value: RouteActionType.ExternalRedirectUrl,
},
{
label: "Event Redirect",
value: RouteActionType.EventTypeRedirectUrl,
},
];