API > @blocksuite/store > Generator
Enumeration: Generator ​
Enumeration Members ​
AutoIncrement ​
AutoIncrement:
"autoIncrement"
Warning: This generator mode will crash the collaborative feature if multiple clients are adding new blocks. Use this mode only if you know what you're doing.
Defined In ​
packages/store/src/workspace/store.ts:41
AutoIncrementByClientId ​
AutoIncrementByClientId:
"autoIncrementByClientId"
This generator is trying to fix the real-time collaboration on debug mode. This will make generator predictable and won't make conflict
Link ​
Defined In ​
packages/store/src/workspace/store.ts:35
NanoID ​
NanoID:
"nanoID"
Default mode, generator for the unpredictable id
Defined In ​
packages/store/src/workspace/store.ts:27
UUIDv4 ​
UUIDv4:
"uuidV4"
Defined In ​
packages/store/src/workspace/store.ts:29