chore(SW-285): content page types dir

This commit is contained in:
Chuma McPhoy
2024-09-05 15:50:40 +02:00
parent b0e84dd016
commit 0f80d82eac
7 changed files with 96 additions and 92 deletions

View File

@@ -1,12 +1,13 @@
import { Lang } from "@/constants/languages"
import { membershipLevels } from "@/constants/membershipLevels"
import type { IntlFormatters } from "@formatjs/intl"
import {
Block,
CardsGrid,
DynamicContent,
} from "@/server/routers/contentstack/contentPage/output"
import type { IntlFormatters } from "@formatjs/intl"
} from "@/types/trpc/routers/contentstack/contentPage"
export type BlocksProps = {
blocks: Block[]

View File

@@ -1,6 +1,5 @@
import { JoinLoyaltyContact } from "@/server/routers/contentstack/contentPage/output"
import { Typename } from "@/types/requests/utils/typename"
import { JoinLoyaltyContact } from "@/types/trpc/routers/contentstack/contentPage"
export enum ContentBlocksTypenameEnum {
ContentPageBlocksContent = "ContentPageBlocksContent",

View File

@@ -1,8 +1,9 @@
import { ContactFields } from "@/server/routers/contentstack/base/output"
import {
JoinLoyaltyContact,
Sidebar,
} from "@/server/routers/contentstack/contentPage/output"
} from "@/types/trpc/routers/contentstack/contentPage"
export type SidebarProps = {
blocks: Sidebar[]