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

Function integrationsUpdatePublic

packages/core/sdk/src/executor.ts:2028–2036  ·  view source on GitHub ↗
(
      slug: IntegrationSlug,
      patch: { readonly name?: string; readonly description?: string },
    )

Source from the content-addressed store, hash-verified

2026 });
2027
2028 const integrationsUpdatePublic = (
2029 slug: IntegrationSlug,
2030 patch: { readonly name?: string; readonly description?: string },
2031 ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> =>
2032 Effect.gen(function* () {
2033 const existing = yield* findIntegrationRow(slug);
2034 if (!existing) return yield* new IntegrationNotFoundError({ slug });
2035 yield* integrationsUpdate(slug, patch);
2036 });
2037
2038 const integrationsRemove = (
2039 slug: IntegrationSlug,

Callers

nothing calls this directly

Calls 2

findIntegrationRowFunction · 0.85
integrationsUpdateFunction · 0.85

Tested by

no test coverage detected