MCPcopy Index your code
hub / github.com/anomalyco/opencode / create-api-key.ts

File create-api-key.ts

packages/console/core/script/create-api-key.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Resource } from "@opencode-ai/console-resource"
2import { and, Database, eq, isNull } from "../src/drizzle/index.js"
3import { Identifier } from "../src/identifier.js"
4import { AccountTable } from "../src/schema/account.sql.js"

Callers

nothing calls this directly

Calls 14

parseArgsFunction · 0.85
eqFunction · 0.85
centsToMicroCentsFunction · 0.85
createSecretKeyFunction · 0.85
transactionMethod · 0.80
insertMethod · 0.80
createMethod · 0.65
updateMethod · 0.65
whereMethod · 0.45
fromMethod · 0.45
selectMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected