MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / definedFields

Function definedFields

apps/cli/src/device-login.ts:123–127  ·  view source on GitHub ↗
(fields: Record<string, string | undefined>)

Source from the content-addressed store, hash-verified

121};
122
123const definedFields = (fields: Record<string, string | undefined>): Record<string, string> =>
124 Object.fromEntries(Object.entries(fields).filter(([, v]) => v !== undefined)) as Record<
125 string,
126 string
127 >;
128
129const post = async (
130 url: string,

Callers 1

postFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected