Skip to content

BlockSuite API Documentation / @blocksuite/store / uuidv4

Function: uuidv4() ​

uuidv4(type): string

Parameters ​

• type: "workspace" | "page" | "block" | "unknown"

Returns ​

string

Source ​

packages/store/src/utils/id-generator.ts:4


Generated using typedoc-plugin-markdown and TypeDoc