Skip to content
Snippets Groups Projects
Commit ed740e71 authored by Miłosz Grocholewski's avatar Miłosz Grocholewski
Browse files

Merge branch 'feat/MIN-23-fetching-model-elements' into 'development'

Resolve "glyph type"

Closes MIN-23

See merge request !257
parents cbc6edbe 32d84004
No related branches found
No related tags found
1 merge request!257Resolve "glyph type"
Pipeline #96402 passed with warnings
...@@ -2,11 +2,12 @@ import { z } from 'zod'; ...@@ -2,11 +2,12 @@ import { z } from 'zod';
import { colorSchema } from '@/models/colorSchema'; import { colorSchema } from '@/models/colorSchema';
import { referenceSchema } from '@/models/referenceSchema'; import { referenceSchema } from '@/models/referenceSchema';
import { submodelSchema } from '@/models/submodelSchema'; import { submodelSchema } from '@/models/submodelSchema';
import { glyphSchema } from '@/models/glyphSchema';
export const modelElementSchema = z.object({ export const modelElementSchema = z.object({
id: z.number(), id: z.number(),
model: z.number().nullable(), model: z.number().nullable(),
glyph: z.number().nullable(), glyph: glyphSchema.nullable(),
submodel: submodelSchema.nullable(), submodel: submodelSchema.nullable(),
x: z.number(), x: z.number(),
y: z.number(), y: z.number(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment