Skip to content

BlockSuite API Documentation / @blocksuite/blocks / EditorSettingSchema

Variable: EditorSettingSchema

const EditorSettingSchema: z.ZodObject<object, "strip", z.ZodTypeAny, object, object>

Type declaration

affine:edgeless-text

affine:edgeless-text: z.ZodDefault<z.ZodObject<object, "strip", z.ZodTypeAny, object, object>>

affine:frame

affine:frame: z.ZodDefault<z.ZodObject<object, "strip", z.ZodTypeAny, object, object>>

affine:note

affine:note: z.ZodDefault<z.ZodObject<object, "strip", z.ZodTypeAny, object, object>>

brush

brush: z.ZodDefault<z.ZodObject<object, "strip", z.ZodTypeAny, object, object>>

connector

connector: z.ZodDefault<z.ZodObject<object, "strip", z.ZodTypeAny, object, object>>

mindmap

mindmap: z.ZodDefault<z.ZodObject<object, "strip", z.ZodTypeAny, object, object>>

shape:diamond

shape:diamond: z.ZodDefault<z.ZodObject<object, "strip", z.ZodTypeAny, object, object>>

shape:ellipse

shape:ellipse: z.ZodDefault<z.ZodObject<object, "strip", z.ZodTypeAny, object, object>>

shape:rect

shape:rect: z.ZodDefault<z.ZodObject<object, "strip", z.ZodTypeAny, object, object>>

shape:roundedRect

shape:roundedRect: z.ZodDefault<z.ZodObject<object, "strip", z.ZodTypeAny, object, object>>

shape:triangle

shape:triangle: z.ZodDefault<z.ZodObject<object, "strip", z.ZodTypeAny, object, object>>

text

text: z.ZodDefault<z.ZodObject<object, "strip", z.ZodTypeAny, object, object>>

Defined in

packages/affine/shared/dist/services/editor-setting-service.d.ts:5