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

Function integrationsUpdatePublic

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

Source from the content-addressed store, hash-verified

3116 });
3117
3118 const integrationsUpdatePublic = (
3119 slug: IntegrationSlug,
3120 patch: { readonly name?: string; readonly description?: string },
3121 ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> =>
3122 Effect.gen(function* () {
3123 const existing = yield* findIntegrationRow(slug);
3124 if (!existing) return yield* new IntegrationNotFoundError({ slug });
3125 yield* integrationsUpdate(slug, patch);
3126 });
3127
3128 const integrationsRemove = (
3129 slug: IntegrationSlug,

Callers

nothing calls this directly

Calls 2

findIntegrationRowFunction · 0.85
integrationsUpdateFunction · 0.85

Tested by

no test coverage detected