BlockSuite API Documentation / @blocksuite/affine-model / FrameZodSchema
Variable: FrameZodSchema
const
FrameZodSchema:ZodDefault
<ZodObject
<{background
:ZodUnion
<[ZodString
,ZodObject
<{normal
:ZodString
; },"strip"
,ZodTypeAny
, {normal
:string
; }, {normal
:string
; }>,ZodObject
<{dark
:ZodString
;light
:ZodString
; },"strip"
,ZodTypeAny
, {dark
:string
;light
:string
; }, {dark
:string
;light
:string
; }>]>; },"strip"
,ZodTypeAny
, {background
:string
| {normal
:string
; } | {dark
:string
;light
:string
; }; }, {background
:string
| {normal
:string
; } | {dark
:string
;light
:string
; }; }>>
Defined in: packages/affine/model/src/blocks/frame/frame-model.ts:35