(toolkitId: string, policyId: string)
| 472 | }); |
| 473 | |
| 474 | const removePolicy = (toolkitId: string, policyId: string) => |
| 475 | Effect.gen(function* () { |
| 476 | const toolkit = yield* requireToolkit(toolkitId); |
| 477 | yield* requirePolicy(toolkitId, policyId, toolkit.owner); |
| 478 | yield* storage.policies.remove({ owner: toolkit.owner, key: policyId }); |
| 479 | }); |
| 480 | |
| 481 | const listConnections = (toolkitId: string) => |
| 482 | requireToolkit(toolkitId).pipe(Effect.flatMap(() => listConnectionsForRecord(toolkitId))); |
nothing calls this directly
no test coverage detected