Scheduling infrastructure for absolutely everyone.
Squashed commit of the following:
zomarse7a91d459468
diff --git a/apps/web/pages/workflows/[workflow].tsx b/apps/web/pages/workflows/[workflow].tsxindex a9111407a33..6accaf7e507 100644--- a/apps/web/pages/workflows/[workflow].tsx+++ b/apps/web/pages/workflows/[workflow].tsx@@ -1 +1,28 @@-export { default } from "@calcom/features/ee/workflows/pages/workflow";+import { GetStaticPaths, GetStaticProps } from "next";+import { z } from "zod";++export { default } from "@ee/pages/workflows/[workflow]";++const querySchema = z.object({+ workflow: z.string(),+});++export const getStaticProps: GetStaticProps = (ctx) => {+ const params = querySchema.safeParse(ctx.params);+ console.log("Built workflow page:", params);+ if (!params.success) return { notFound: true };++ return {+ props: {+ workflow: params.data.workflow,+ },+ revalidate: 10, // seconds+ };+};++export const getStaticPaths: GetStaticPaths = () => {+ return {+ paths: [],+ fallback: "blocking",+ };+};