We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac8fa7d commit ca2d202Copy full SHA for ca2d202
bun.lockb
-32 Bytes
lib/validations/og.ts
@@ -1,9 +1,5 @@
1
-import * as z from 'zod'
2
-
3
-export const ogImageSchema = z.object({
4
- heading: z.string(),
5
- type: z.string(),
6
- mode: z.enum(['light', 'dark']).optional().default('dark'),
7
-})
8
9
-export type OgImageSchema = z.infer<typeof ogImageSchema>
+export type OgImageSchema = {
+ heading: string
+ type: string
+ mode: 'light' | 'dark'
+}
package.json
@@ -67,8 +67,7 @@
67
"tailwind-merge": "^2.6.0",
68
"tailwindcss": "^3.4.14",
69
"tailwindcss-animate": "^1.0.7",
70
- "unist-util-visit": "^5.0.0",
71
- "zod": "^3.24.1"
+ "unist-util-visit": "^5.0.0"
72
},
73
"devDependencies": {
74
"@eslint/eslintrc": "^3.2.0",
0 commit comments