(
slug: IntegrationSlug,
patch: { readonly name?: string; readonly description?: string },
)
| 3300 | ); |
| 3301 | |
| 3302 | const integrationsUpdatePublic = ( |
| 3303 | slug: IntegrationSlug, |
| 3304 | patch: { readonly name?: string; readonly description?: string }, |
| 3305 | ): Effect.Effect<void, IntegrationNotFoundError | OrgWriteDeniedError | StorageFailure> => |
| 3306 | Effect.gen(function* () { |
| 3307 | const existing = yield* findIntegrationRow(slug); |
| 3308 | if (!existing) return yield* new IntegrationNotFoundError({ slug }); |
| 3309 | yield* integrationsUpdate(slug, patch); |
| 3310 | }); |
| 3311 | |
| 3312 | const integrationsRemove = ( |
| 3313 | slug: IntegrationSlug, |
nothing calls this directly
no test coverage detected