Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ model.ts
File
model.ts
packages/console/core/src/model.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ z } from
"zod"
2
import
{ eq, and } from
"drizzle-orm"
3
import
{ Database } from
"./drizzle"
4
import
{ ModelTable } from
"./schema/model.sql"
Callers
nothing calls this directly
Calls
13
fn
Function · 0.90
eq
Function · 0.85
workspace
Method · 0.80
insert
Method · 0.80
normalize
Function · 0.70
create
Method · 0.65
use
Method · 0.45
where
Method · 0.45
delete
Method · 0.45
values
Method · 0.45
from
Method · 0.45
select
Method · 0.45
Tested by
no test coverage detected