(
slug: IntegrationSlug,
patch: { readonly name?: string; readonly description?: string },
)
| 1908 | }); |
| 1909 | |
| 1910 | const integrationsUpdatePublic = ( |
| 1911 | slug: IntegrationSlug, |
| 1912 | patch: { readonly name?: string; readonly description?: string }, |
| 1913 | ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> => |
| 1914 | Effect.gen(function* () { |
| 1915 | const existing = yield* findIntegrationRow(slug); |
| 1916 | if (!existing) return yield* new IntegrationNotFoundError({ slug }); |
| 1917 | yield* integrationsUpdate(slug, patch); |
| 1918 | }); |
| 1919 | |
| 1920 | const integrationsRemove = ( |
| 1921 | slug: IntegrationSlug, |
nothing calls this directly
no test coverage detected