Skip to content

BlockSuite API Documentation / @blocksuite/blocks / GenerateDocUrlService

Interface: GenerateDocUrlService

Properties

generateDocUrl()

generateDocUrl: (docId, params?) => string | void

Parameters

docId

string

params?
blockIds

string[]

databaseId

string

databaseRowId

string

elementIds

string[]

mode

"edgeless" | "page"

Returns

string | void

Defined in

packages/affine/shared/dist/services/generate-url-service.d.ts:4