diff options
Diffstat (limited to 'apps/web/src/lib/guides/registry.tsx')
| -rw-r--r-- | apps/web/src/lib/guides/registry.tsx | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/apps/web/src/lib/guides/registry.tsx b/apps/web/src/lib/guides/registry.tsx index 60dec428..8000d989 100644 --- a/apps/web/src/lib/guides/registry.tsx +++ b/apps/web/src/lib/guides/registry.tsx @@ -1,28 +1,28 @@ -import type { GuideDefinition } from "@/lib/guides/types"; -import { gridGuide } from "./definitions/grid"; -// import { customGuide } from "./definitions/custom"; -import { - tiktokGuide, - igReelsGuide, - ytShortsGuide, - spotlightGuide, -} from "./definitions/platforms"; - -export type { GuideDefinition, GuideRenderProps } from "@/lib/guides/types"; - -export const GUIDE_REGISTRY = [ - gridGuide, - tiktokGuide, - igReelsGuide, - ytShortsGuide, - spotlightGuide, - - // todo: wire up custom guide fully, then uncomment this: - // customGuide, -] as const satisfies readonly GuideDefinition[]; - -export type GuideId = (typeof GUIDE_REGISTRY)[number]["id"]; - -export function isGuideId(value: string): value is GuideId { - return GUIDE_REGISTRY.some((guide) => guide.id === value); -} +import type { GuideDefinition } from "@/lib/guides/types";
+import { gridGuide } from "./definitions/grid";
+// import { customGuide } from "./definitions/custom";
+import {
+ tiktokGuide,
+ igReelsGuide,
+ ytShortsGuide,
+ spotlightGuide,
+} from "./definitions/platforms";
+
+export type { GuideDefinition, GuideRenderProps } from "@/lib/guides/types";
+
+export const GUIDE_REGISTRY = [
+ gridGuide,
+ tiktokGuide,
+ igReelsGuide,
+ ytShortsGuide,
+ spotlightGuide,
+
+ // todo: wire up custom guide fully, then uncomment this:
+ // customGuide,
+] as const satisfies readonly GuideDefinition[];
+
+export type GuideId = (typeof GUIDE_REGISTRY)[number]["id"];
+
+export function isGuideId(value: string): value is GuideId {
+ return GUIDE_REGISTRY.some((guide) => guide.id === value);
+}
|
