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

Function definedFields

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

Source from the content-addressed store, hash-verified

130};
131
132const definedFields = (fields: Record<string, string | undefined>): Record<string, string> =>
133 Object.fromEntries(Object.entries(fields).filter(([, v]) => v !== undefined)) as Record<
134 string,
135 string
136 >;
137
138const isSameOrigin = (url: string, origin: string): boolean => {
139 try {

Callers 1

postFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected