MCPcopy Create free account
hub / github.com/ShipSecAI/studio / mergeParamMeta

Function mergeParamMeta

packages/component-sdk/src/param-meta.ts:48–58  ·  view source on GitHub ↗
(...metas: (ParamMeta | undefined)[])

Source from the content-addressed store, hash-verified

46}
47
48export function mergeParamMeta(...metas: (ParamMeta | undefined)[]): ParamMeta {
49 const result: ParamMeta = {} as ParamMeta;
50
51 for (const meta of metas) {
52 if (meta) {
53 Object.assign(result, meta);
54 }
55 }
56
57 return result;
58}

Callers 1

withParamMetaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected