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

Function integrationsUpdatePublic

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

Source from the content-addressed store, hash-verified

1935 });
1936
1937 const integrationsUpdatePublic = (
1938 slug: IntegrationSlug,
1939 patch: { readonly name?: string; readonly description?: string },
1940 ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> =>
1941 Effect.gen(function* () {
1942 const existing = yield* findIntegrationRow(slug);
1943 if (!existing) return yield* new IntegrationNotFoundError({ slug });
1944 yield* integrationsUpdate(slug, patch);
1945 });
1946
1947 const integrationsRemove = (
1948 slug: IntegrationSlug,

Callers

nothing calls this directly

Calls 2

findIntegrationRowFunction · 0.85
integrationsUpdateFunction · 0.85

Tested by

no test coverage detected