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

Function integrationsUpdatePublic

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

Source from the content-addressed store, hash-verified

2946 });
2947
2948 const integrationsUpdatePublic = (
2949 slug: IntegrationSlug,
2950 patch: { readonly name?: string; readonly description?: string },
2951 ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> =>
2952 Effect.gen(function* () {
2953 const existing = yield* findIntegrationRow(slug);
2954 if (!existing) return yield* new IntegrationNotFoundError({ slug });
2955 yield* integrationsUpdate(slug, patch);
2956 });
2957
2958 const integrationsRemove = (
2959 slug: IntegrationSlug,

Callers

nothing calls this directly

Calls 2

findIntegrationRowFunction · 0.85
integrationsUpdateFunction · 0.85

Tested by

no test coverage detected