MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / generateId

Function generateId

apps/webuiapps/src/lib/FileSystemStore.ts:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 * Generate unique ID
22 */
23const generateId = (): string => {
24 return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
25};
26
27/**
28 * FileSystemStore class

Callers 2

addNodeMethod · 0.70
normalizeCloudNodesMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected