feat(SW-186): implemented queries and typings for card inside header query

This commit is contained in:
Erik Tiekstra
2024-08-27 14:44:15 +02:00
parent d5aa2c9415
commit de60febd47
7 changed files with 220 additions and 186 deletions

View File

10
types/header.ts Normal file
View File

@@ -0,0 +1,10 @@
import { z } from "zod"
import {
getHeaderRefSchema,
getHeaderSchema,
} from "@/server/routers/contentstack/base/output"
export type HeaderRefResponse = z.input<typeof getHeaderRefSchema>
export type HeaderResponse = z.input<typeof getHeaderSchema>
export type Header = z.output<typeof getHeaderSchema>