(
slug: IntegrationSlug,
patch: { readonly name?: string; readonly description?: string },
)
| 3356 | ); |
| 3357 | |
| 3358 | const integrationsUpdatePublic = ( |
| 3359 | slug: IntegrationSlug, |
| 3360 | patch: { readonly name?: string; readonly description?: string }, |
| 3361 | ): Effect.Effect<void, IntegrationNotFoundError | OrgWriteDeniedError | StorageFailure> => |
| 3362 | Effect.gen(function* () { |
| 3363 | const existing = yield* findIntegrationRow(slug); |
| 3364 | if (!existing) return yield* new IntegrationNotFoundError({ slug }); |
| 3365 | yield* integrationsUpdate(slug, patch); |
| 3366 | }); |
| 3367 | |
| 3368 | const integrationsRemove = ( |
| 3369 | slug: IntegrationSlug, |
nothing calls this directly
no test coverage detected