(
slug: IntegrationSlug,
patch: { readonly name?: string; readonly description?: string },
)
| 2026 | }); |
| 2027 | |
| 2028 | const integrationsUpdatePublic = ( |
| 2029 | slug: IntegrationSlug, |
| 2030 | patch: { readonly name?: string; readonly description?: string }, |
| 2031 | ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> => |
| 2032 | Effect.gen(function* () { |
| 2033 | const existing = yield* findIntegrationRow(slug); |
| 2034 | if (!existing) return yield* new IntegrationNotFoundError({ slug }); |
| 2035 | yield* integrationsUpdate(slug, patch); |
| 2036 | }); |
| 2037 | |
| 2038 | const integrationsRemove = ( |
| 2039 | slug: IntegrationSlug, |
nothing calls this directly
no test coverage detected