test: remove outdated image() import (#6761)
This commit is contained in:
parent
c6c5f0dd02
commit
b96a129581
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
import { defineCollection, z, image } from "astro:content";
|
||||
import { defineCollection, z } from "astro:content";
|
||||
|
||||
const blogCollection = defineCollection({
|
||||
schema: z.object({
|
||||
schema: ({image}) => z.object({
|
||||
title: z.string(),
|
||||
cover: image(),
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue