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

Function integrationsUpdatePublic

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

Source from the content-addressed store, hash-verified

1908 });
1909
1910 const integrationsUpdatePublic = (
1911 slug: IntegrationSlug,
1912 patch: { readonly name?: string; readonly description?: string },
1913 ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> =>
1914 Effect.gen(function* () {
1915 const existing = yield* findIntegrationRow(slug);
1916 if (!existing) return yield* new IntegrationNotFoundError({ slug });
1917 yield* integrationsUpdate(slug, patch);
1918 });
1919
1920 const integrationsRemove = (
1921 slug: IntegrationSlug,

Callers

nothing calls this directly

Calls 2

findIntegrationRowFunction · 0.85
integrationsUpdateFunction · 0.85

Tested by

no test coverage detected