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

Function looseObjectField

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

Source from the content-addressed store, hash-verified

184}
185
186export function looseObjectField(description?: string): CommandField<Record<string, unknown>> {
187 return optionalField(looseObjectSchema(description), optionalRecord);
188}
189
190export function stringArrayField(description?: string): CommandField<string[]> {
191 return optionalField(stringArraySchema(description), optionalStringArray);

Callers 1

push.tsFile · 0.90

Calls 2

optionalFieldFunction · 0.85
looseObjectSchemaFunction · 0.85

Tested by

no test coverage detected