* 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>
18 lines
454 B
TypeScript
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,
|
|
},
|
|
];
|