refactor(nextjs/schema): image_type changed to __image_type__
This commit is contained in:
parent
de1fb68efc
commit
e102a34add
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ export const ImageSchema = z.object({
|
|||
prompt: z.string().meta({
|
||||
description: "Prompt used to generate the image",
|
||||
}),
|
||||
image_type:z.literal('image')
|
||||
__image_type__:z.literal('image')
|
||||
})
|
||||
|
||||
export const IconSchema = z.object({
|
||||
|
|
@ -17,5 +17,5 @@ export const IconSchema = z.object({
|
|||
prompt: z.string().meta({
|
||||
description: "Prompt used to generate the icon",
|
||||
}),
|
||||
image_type:z.literal('icon')
|
||||
__image_type__:z.literal('icon')
|
||||
})
|
||||
Loading…
Add table
Reference in a new issue