mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
chore(editor): move legacy doc collection to test workspace (#9507)
This commit is contained in:
@@ -8,13 +8,6 @@ export function createAutoIncrementIdGenerator(): IdGenerator {
|
||||
return () => (i++).toString();
|
||||
}
|
||||
|
||||
export function createAutoIncrementIdGeneratorByClientId(
|
||||
clientId: number
|
||||
): IdGenerator {
|
||||
let i = 0;
|
||||
return () => `${clientId}:${i++}`;
|
||||
}
|
||||
|
||||
export const uuidv4: IdGenerator = () => {
|
||||
return uuidv4IdGenerator();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user