Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ create
Function
create
packages/schema/src/workspace-id.ts:8–8 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
Schema.brand(
"WorkspaceV2.ID"
),
7
statics((schema) => {
8
const
create = () => schema.make(
"wrk_"
+ ascending())
9
return
{
10
ascending: (id?: string) => {
11
if
(!id)
return
create()
Callers
1
workspace-id.ts
File · 0.70
Calls
2
ascending
Function · 0.90
make
Method · 0.45
Tested by
no test coverage detected