feat(SW-200): refactoring SEO metadata handling and added functionality for static pages
This commit is contained in:
@@ -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>
|
||||
|
||||
10
types/trpc/routers/contentstack/metadata.ts
Normal file
10
types/trpc/routers/contentstack/metadata.ts
Normal 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> {}
|
||||
Reference in New Issue
Block a user