(
slug: IntegrationSlug,
patch: { readonly name?: string; readonly description?: string },
)
| 2946 | }); |
| 2947 | |
| 2948 | const integrationsUpdatePublic = ( |
| 2949 | slug: IntegrationSlug, |
| 2950 | patch: { readonly name?: string; readonly description?: string }, |
| 2951 | ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> => |
| 2952 | Effect.gen(function* () { |
| 2953 | const existing = yield* findIntegrationRow(slug); |
| 2954 | if (!existing) return yield* new IntegrationNotFoundError({ slug }); |
| 2955 | yield* integrationsUpdate(slug, patch); |
| 2956 | }); |
| 2957 | |
| 2958 | const integrationsRemove = ( |
| 2959 | slug: IntegrationSlug, |
nothing calls this directly
no test coverage detected