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

Function toStoredOperations

packages/plugins/graphql/src/sdk/plugin.ts:608–616  ·  view source on GitHub ↗
(
  slug: IntegrationSlug,
  prepared: readonly PreparedOperation[],
)

Source from the content-addressed store, hash-verified

606 }));
607
608const toStoredOperations = (
609 slug: IntegrationSlug,
610 prepared: readonly PreparedOperation[],
611): StoredOperation[] =>
612 prepared.map((p) => ({
613 toolName: p.toolName,
614 integration: String(slug),
615 binding: p.binding,
616 }));
617
618/** Render an integration's static + resolved-credential auth onto introspection
619 * headers/query params. Connection-create / tool-generation introspection runs

Callers 2

materializeOperationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected