Skip to content

BlockSuite API Documentation / @blocksuite/store / IdGenerator

Type alias: IdGenerator ​

IdGenerator: (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