Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/premieroctet/openchakra
/ generateId
Function
generateId
src/utils/generateId.ts:1–8 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
export
const
generateId = () => {
2
return
`comp-${(
3
Date.now().toString(36) +
4
Math.random()
5
.toString(36)
6
.substr(2, 5)
7
).toUpperCase()}`
8
}
Callers
4
recursive.test.ts
File · 0.90
cloneComponent
Function · 0.90
addComponent
Function · 0.90
Composer
Class · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected