(
slug: IntegrationSlug,
patch: { readonly name?: string; readonly description?: string },
)
| 2380 | }); |
| 2381 | |
| 2382 | const integrationsUpdatePublic = ( |
| 2383 | slug: IntegrationSlug, |
| 2384 | patch: { readonly name?: string; readonly description?: string }, |
| 2385 | ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> => |
| 2386 | Effect.gen(function* () { |
| 2387 | const existing = yield* findIntegrationRow(slug); |
| 2388 | if (!existing) return yield* new IntegrationNotFoundError({ slug }); |
| 2389 | yield* integrationsUpdate(slug, patch); |
| 2390 | }); |
| 2391 | |
| 2392 | const integrationsRemove = ( |
| 2393 | slug: IntegrationSlug, |
nothing calls this directly
no test coverage detected