Skip to content

BlockSuite API Documentation / @blocksuite/blocks / ReferenceParamsSchema

Variable: ReferenceParamsSchema

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

Type declaration

blockIds

blockIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>

databaseId

databaseId: z.ZodOptional<z.ZodOptional<z.ZodString>>

databaseRowId

databaseRowId: z.ZodOptional<z.ZodOptional<z.ZodString>>

elementIds

elementIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>

mode

mode: z.ZodOptional<z.ZodEnum<["edgeless", "page"]>>

Defined in

packages/affine/model/dist/consts/doc.d.ts:4