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

Function integrationsUpdatePublic

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

Source from the content-addressed store, hash-verified

2366 });
2367
2368 const integrationsUpdatePublic = (
2369 slug: IntegrationSlug,
2370 patch: { readonly name?: string; readonly description?: string },
2371 ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> =>
2372 Effect.gen(function* () {
2373 const existing = yield* findIntegrationRow(slug);
2374 if (!existing) return yield* new IntegrationNotFoundError({ slug });
2375 yield* integrationsUpdate(slug, patch);
2376 });
2377
2378 const integrationsRemove = (
2379 slug: IntegrationSlug,

Callers

nothing calls this directly

Calls 2

findIntegrationRowFunction · 0.85
integrationsUpdateFunction · 0.85

Tested by

no test coverage detected