Variable: textAnnotationSchema
Less than 1 minute
@ghentcdh/annotated-text / textAnnotationSchema
Variable: textAnnotationSchema
const
textAnnotationSchema:ZodObject
<{color
:ZodOptional
<ZodNullable
<ZodObject
<{background
:ZodOptional
<ZodString
>;backgroundActive
:ZodOptional
<ZodString
>;border
:ZodOptional
<ZodString
>;borderActive
:ZodOptional
<ZodString
>;color
:ZodOptional
<ZodString
>;gutterColor
:ZodOptional
<ZodString
>; },$strip
>>>;end
:ZodNumber
;id
:ZodUnion
<readonly [ZodString
,ZodNumber
]>;isGutter
:ZodDefault
<ZodBoolean
>;label
:ZodOptional
<ZodString
>;start
:ZodNumber
;target
:ZodOptional
<ZodUnion
<readonly [ZodLiteral
<"gutter"
>,ZodLiteral
<"text"
>]>>;textSelection
:ZodOptional
<ZodString
>;weight
:ZodOptional
<ZodNumber
>; },$strip
>
Defined in: libs/core/src/lib/model/annotation.model.ts:35