feat(SW-200): refactoring SEO metadata handling and added functionality for static pages

This commit is contained in:
Erik Tiekstra
2024-11-14 07:22:38 +01:00
parent 92ad7192b1
commit 28738d7161
17 changed files with 278 additions and 217 deletions

View File

@@ -1,7 +1,6 @@
import { z } from "zod"
import {
accountPageMetadataSchema,
accountPageRefsSchema,
accountPageSchema,
blocksSchema,
@@ -18,10 +17,4 @@ export interface GetAccountPageSchema
export interface AccountPage extends z.output<typeof accountPageSchema> {}
export interface GetAccountpageMetadata
extends z.output<typeof accountPageMetadataSchema> {}
export interface AccountPageMetadata
extends z.output<typeof accountPageMetadataSchema> {}
export type Block = z.output<typeof blocksSchema>

View File

@@ -0,0 +1,10 @@
import { z } from "zod"
import {
metaDataSchema,
rawMetaDataDataSchema,
} from "@/server/routers/contentstack/metadata/output"
export interface RawMetaDataSchema
extends z.input<typeof rawMetaDataDataSchema> {}
export interface MetaDataSchema extends z.output<typeof metaDataSchema> {}