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

Function integrationsUpdatePublic

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

Source from the content-addressed store, hash-verified

2380 });
2381
2382 const integrationsUpdatePublic = (
2383 slug: IntegrationSlug,
2384 patch: { readonly name?: string; readonly description?: string },
2385 ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> =>
2386 Effect.gen(function* () {
2387 const existing = yield* findIntegrationRow(slug);
2388 if (!existing) return yield* new IntegrationNotFoundError({ slug });
2389 yield* integrationsUpdate(slug, patch);
2390 });
2391
2392 const integrationsRemove = (
2393 slug: IntegrationSlug,

Callers

nothing calls this directly

Calls 2

findIntegrationRowFunction · 0.85
integrationsUpdateFunction · 0.85

Tested by

no test coverage detected