(
slug: IntegrationSlug,
patch: { readonly name?: string; readonly description?: string },
)
| 1935 | }); |
| 1936 | |
| 1937 | const integrationsUpdatePublic = ( |
| 1938 | slug: IntegrationSlug, |
| 1939 | patch: { readonly name?: string; readonly description?: string }, |
| 1940 | ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> => |
| 1941 | Effect.gen(function* () { |
| 1942 | const existing = yield* findIntegrationRow(slug); |
| 1943 | if (!existing) return yield* new IntegrationNotFoundError({ slug }); |
| 1944 | yield* integrationsUpdate(slug, patch); |
| 1945 | }); |
| 1946 | |
| 1947 | const integrationsRemove = ( |
| 1948 | slug: IntegrationSlug, |
nothing calls this directly
no test coverage detected