(
slug: IntegrationSlug,
patch: { readonly name?: string; readonly description?: string },
)
| 3116 | }); |
| 3117 | |
| 3118 | const integrationsUpdatePublic = ( |
| 3119 | slug: IntegrationSlug, |
| 3120 | patch: { readonly name?: string; readonly description?: string }, |
| 3121 | ): Effect.Effect<void, IntegrationNotFoundError | StorageFailure> => |
| 3122 | Effect.gen(function* () { |
| 3123 | const existing = yield* findIntegrationRow(slug); |
| 3124 | if (!existing) return yield* new IntegrationNotFoundError({ slug }); |
| 3125 | yield* integrationsUpdate(slug, patch); |
| 3126 | }); |
| 3127 | |
| 3128 | const integrationsRemove = ( |
| 3129 | slug: IntegrationSlug, |
nothing calls this directly
no test coverage detected