Skip to content

Commit 12ce7fc

Browse files
committed
fix: fix typedef for preview image
1 parent 4fcfe71 commit 12ce7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/root-cms/core/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ export type Collection = SchemaWithTypes & {
342342
/** The field that provides the document title. */
343343
title?: string;
344344
/** The field that provides the document image. */
345-
image?: string;
345+
image?: string | string[];
346346
/** A fallback image to display when the document image field is empty. */
347347
defaultImage?: {
348348
src: string;

0 commit comments

Comments
 (0)