(
slug: IntegrationSlug,
patch: { readonly name?: string; readonly description?: string },
)
| 2285 | }); |
| 2286 | |
| 2287 | const integrationsUpdatePublic = ( |
| 2288 | slug: IntegrationSlug, |
| 2289 | patch: { readonly name?: string; readonly description?: string }, |
| 2290 | ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> => |
| 2291 | Effect.gen(function* () { |
| 2292 | const existing = yield* findIntegrationRow(slug); |
| 2293 | if (!existing) return yield* new IntegrationNotFoundError({ slug }); |
| 2294 | yield* integrationsUpdate(slug, patch); |
| 2295 | }); |
| 2296 | |
| 2297 | const integrationsRemove = ( |
| 2298 | slug: IntegrationSlug, |
nothing calls this directly
no test coverage detected