Skip to content

BlockSuite API Documentation / @blocksuite/blocks / ReferenceParamsSchema

Variable: ReferenceParamsSchema

const ReferenceParamsSchema: z.ZodObject<{ blockIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; databaseId: z.ZodOptional<z.ZodOptional<z.ZodString>>; databaseRowId: z.ZodOptional<z.ZodOptional<z.ZodString>>; elementIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; mode: z.ZodOptional<z.ZodEnum<["edgeless", "page"]>>; }, "strip", z.ZodTypeAny, { blockIds: string[]; databaseId: string; databaseRowId: string; elementIds: string[]; mode: "edgeless" | "page"; }, { blockIds: string[]; databaseId: string; databaseRowId: string; elementIds: string[]; mode: "edgeless" | "page"; }>

Defined in

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