MCPcopy Index your code
hub / github.com/callstack/agent-device / jsonSchemaField

Function jsonSchemaField

src/commands/command-input.ts:194–196  ·  view source on GitHub ↗
(schema: JsonSchema)

Source from the content-addressed store, hash-verified

192}
193
194export function jsonSchemaField<T>(schema: JsonSchema): CommandField<T> {
195 return optionalField(schema, (record, key) => record[key] as T | undefined);
196}
197
198export function customField<T>(
199 schema: JsonSchema,

Callers 5

diff.tsFile · 0.90
index.tsFile · 0.90
install.tsFile · 0.90
push.tsFile · 0.90
app.tsFile · 0.90

Calls 1

optionalFieldFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…