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
@@ -8,13 +8,7 @@ import { makeImageVaultImage } from "@/utils/imageVault"
import { removeMultipleSlashes } from "@/utils/url"
import { removeEmptyObjects } from "../../utils"
import {
Block,
ContentPage,
ContentPageDataRaw,
Sidebar,
validateContentPageSchema,
} from "./output"
import { validateContentPageSchema } from "./output"
import {
fetchContentPageRefs,
generatePageTags,
@@ -32,6 +26,12 @@ import {
TrackingChannelEnum,
TrackingSDKPageData,
} from "@/types/components/tracking"
import {
Block,
ContentPage,
ContentPageDataRaw,
Sidebar,
} from "@/types/trpc/routers/contentstack/contentPage"
export const contentPageQueryRouter = router({
get: contentstackExtendedProcedureUID.query(async ({ ctx }) => {