diff --git a/src/models/modelElementSchema.ts b/src/models/modelElementSchema.ts index 0555bd9ce7b8a7d48d1ba9f8760725c7400018e4..12da12253cc0e9b2a99f36baac1113cfe5d77c6f 100644 --- a/src/models/modelElementSchema.ts +++ b/src/models/modelElementSchema.ts @@ -2,11 +2,12 @@ import { z } from 'zod'; import { colorSchema } from '@/models/colorSchema'; import { referenceSchema } from '@/models/referenceSchema'; import { submodelSchema } from '@/models/submodelSchema'; +import { glyphSchema } from '@/models/glyphSchema'; export const modelElementSchema = z.object({ id: z.number(), model: z.number().nullable(), - glyph: z.number().nullable(), + glyph: glyphSchema.nullable(), submodel: submodelSchema.nullable(), x: z.number(), y: z.number(),