Variable: annotationDrawMetadataSchema
@ghentcdh/annotated-text / annotationDrawMetadataSchema
Variable: annotationDrawMetadataSchema
constannotationDrawMetadataSchema:ZodObject<{color:ZodOptional<ZodObject<{active:ZodObject<{border:ZodOptional<ZodString>;borderWidth:ZodDefault<ZodNumber>;fill:ZodOptional<ZodString>; },$strip>;default:ZodObject<{border:ZodOptional<ZodString>;borderWidth:ZodDefault<ZodNumber>;fill:ZodOptional<ZodString>; },$strip>;edit:ZodObject<{border:ZodOptional<ZodString>;borderWidth:ZodDefault<ZodNumber>;fill:ZodOptional<ZodString>; },$strip>;hover:ZodObject<{border:ZodOptional<ZodString>;borderWidth:ZodDefault<ZodNumber>;fill:ZodOptional<ZodString>; },$strip>;tag:ZodObject<{border:ZodOptional<ZodString>;borderWidth:ZodDefault<ZodNumber>;fill:ZodOptional<ZodString>;text:ZodOptional<ZodString>; },$strip>; },$strip>>;dimensions:ZodOptional<ZodObject<{x:ZodNumber;y1:ZodNumber;y2:ZodNumber; },$strip>>;draws:ZodDefault<ZodArray<ZodObject<{annotationUuid:ZodUnion<readonly [ZodString,ZodNumber]>;draggable:ZodObject<{end:ZodOptional<ZodObject<{height: ...;x: ...;y: ...; },$strip>>;start:ZodOptional<ZodObject<{height: ...;x: ...;y: ...; },$strip>>; },$strip>;height:ZodObject<{height:ZodNumber;x:ZodNumber;y:ZodNumber; },$strip>;lineNumber:ZodNumber;path:ZodObject<{border:ZodOptional<ZodString>;fill:ZodOptional<ZodString>; },$strip>;uuid:ZodString;weight:ZodNumber; },$strip>>>; },$strip>
Defined in: libs/core/src/lib/model/draw.model.ts:54