(toolkitId: string, policyId: string)
| 426 | }); |
| 427 | |
| 428 | const removePolicy = (toolkitId: string, policyId: string) => |
| 429 | Effect.gen(function* () { |
| 430 | const toolkit = yield* requireToolkit(toolkitId); |
| 431 | yield* requirePolicy(toolkitId, policyId, toolkit.owner); |
| 432 | yield* storage.policies.remove({ owner: toolkit.owner, key: policyId }); |
| 433 | }); |
| 434 | |
| 435 | const listConnections = (toolkitId: string) => |
| 436 | requireToolkit(toolkitId).pipe(Effect.flatMap(() => listConnectionsForRecord(toolkitId))); |
nothing calls this directly
no test coverage detected