BlockSuite API Documentation / @blocksuite/blocks / cloneReferenceInfoWithoutAliases
Function: cloneReferenceInfoWithoutAliases()
cloneReferenceInfoWithoutAliases(
__namedParameters
):object
Clones reference info without the aliases. In EmbedSyncedDocModel
, the aliases are not needed at the moment.
Parameters
__namedParameters
description
null
| string
pageId
string
params
{ blockIds
: string
[]; databaseId
: string
; databaseRowId
: string
; elementIds
: string
[]; mode
: "edgeless"
| "page"
; }
params.blockIds
string
[]
params.databaseId
string
params.databaseRowId
string
params.elementIds
string
[]
params.mode
"edgeless"
| "page"
title
null
| string
Returns
object
description?
optional
description:string
|null
pageId
pageId:
string
params?
optional
params:object
params.blockIds?
optional
params.blockIds:string
[]
params.databaseId?
optional
params.databaseId:string
params.databaseRowId?
optional
params.databaseRowId:string
params.elementIds?
optional
params.elementIds:string
[]
params.mode?
optional
params.mode:"edgeless"
|"page"
title?
optional
title:string
|null
Defined in
packages/affine/components/dist/rich-text/inline/presets/nodes/reference-node/utils.d.ts:25