MCPcopy
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

1import { z } from "zod"
2import { eq, and } from "drizzle-orm"
3import { Database } from "./drizzle"
4import { ModelTable } from "./schema/model.sql"

Callers

nothing calls this directly

Calls 13

fnFunction · 0.90
eqFunction · 0.85
workspaceMethod · 0.80
insertMethod · 0.80
normalizeFunction · 0.70
createMethod · 0.65
useMethod · 0.45
whereMethod · 0.45
deleteMethod · 0.45
valuesMethod · 0.45
fromMethod · 0.45
selectMethod · 0.45

Tested by

no test coverage detected