MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / repoUserParam

Function repoUserParam

projects/openade-module/src/module.ts:221–227  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

219}
220
221function repoUserParam(value: unknown): OpenADERepoCreateRequest["createdBy"] {
222 const record = asRecord(value)
223 return {
224 id: stringParam(record, "id"),
225 email: stringParam(record, "email"),
226 }
227}
228
229function repoCreateParams(params: unknown): OpenADERepoCreateRequest {
230 const record = asRecord(params)

Callers 1

repoCreateParamsFunction · 0.85

Calls 2

stringParamFunction · 0.85
asRecordFunction · 0.70

Tested by

no test coverage detected