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

Function requiredFieldNames

src/commands/command-input.ts:544–546  ·  view source on GitHub ↗
(fields: CommandFieldMap)

Source from the content-addressed store, hash-verified

542}
543
544function requiredFieldNames(fields: CommandFieldMap): string[] {
545 return Object.entries(fields).flatMap(([key, field]) => (field.required ? [key] : []));
546}
547
548function optionalRecord(
549 record: Record<string, unknown>,

Callers 1

fieldsInputSchemaFunction · 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…