MCPcopy Create free account
hub / github.com/callstack/agent-device / looseObjectSchema

Function looseObjectSchema

src/commands/command-input.ts:115–121  ·  view source on GitHub ↗
(description?: string)

Source from the content-addressed store, hash-verified

113}
114
115export function looseObjectSchema(description?: string): JsonSchema {
116 return {
117 type: 'object',
118 additionalProperties: true,
119 ...(description ? { description } : {}),
120 };
121}
122
123type FieldReader<T> = (record: Record<string, unknown>, key: string) => T | undefined;
124

Callers 4

install.tsFile · 0.90
push.tsFile · 0.90
looseObjectFieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…