(
slug: IntegrationSlug,
patch: { readonly name?: string; readonly description?: string },
)
| 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, |
nothing calls this directly
no test coverage detected