Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MiniMax-AI/OpenRoom
/ generateModId
Function
generateModId
apps/webuiapps/src/lib/modManager.ts:74–76 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
72
73
let
_nextId = 1;
74
export
function
generateModId(): string {
75
return
`mod_${Date.now()}_${_nextId++}`;
76
}
77
78
export
const
DEFAULT_MOD_ID =
'space_adventure'
;
79
Callers
2
handleAdd
Function · 0.90
Shell
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected