BlockSuite API Documentation / @blocksuite/blocks / importNotion
Function: importNotion()
importNotion(
collection
,file
):Promise
<object
>
Parameters
• collection: DocCollection
• file: File
Returns
Promise
<object
>
entryId
entryId:
string
hasMarkdown
hasMarkdown:
boolean
isWorkspaceFile
isWorkspaceFile:
boolean
pageIds
pageIds:
string
[]
Defined in
packages/blocks/src/root-block/widgets/linked-doc/import-doc/import-doc.ts:92