(
slug: IntegrationSlug,
patch: { readonly name?: string; readonly description?: string },
)
| 2748 | }); |
| 2749 | |
| 2750 | const integrationsUpdatePublic = ( |
| 2751 | slug: IntegrationSlug, |
| 2752 | patch: { readonly name?: string; readonly description?: string }, |
| 2753 | ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> => |
| 2754 | Effect.gen(function* () { |
| 2755 | const existing = yield* findIntegrationRow(slug); |
| 2756 | if (!existing) return yield* new IntegrationNotFoundError({ slug }); |
| 2757 | yield* integrationsUpdate(slug, patch); |
| 2758 | }); |
| 2759 | |
| 2760 | const integrationsRemove = ( |
| 2761 | slug: IntegrationSlug, |
nothing calls this directly
no test coverage detected