(
slug: IntegrationSlug,
patch: { readonly name?: string; readonly description?: string },
)
| 1951 | }); |
| 1952 | |
| 1953 | const integrationsUpdatePublic = ( |
| 1954 | slug: IntegrationSlug, |
| 1955 | patch: { readonly name?: string; readonly description?: string }, |
| 1956 | ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> => |
| 1957 | Effect.gen(function* () { |
| 1958 | const existing = yield* findIntegrationRow(slug); |
| 1959 | if (!existing) return yield* new IntegrationNotFoundError({ slug }); |
| 1960 | yield* integrationsUpdate(slug, patch); |
| 1961 | }); |
| 1962 | |
| 1963 | const integrationsRemove = ( |
| 1964 | slug: IntegrationSlug, |
nothing calls this directly
no test coverage detected