BlockSuite API Documentation / @blocksuite/store / nanoid
Function: nanoid() ​
nanoid(
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