(owner: Owner, collection: string, key: string)
| 1522 | }); |
| 1523 | |
| 1524 | const removeImpl = (owner: Owner, collection: string, key: string) => |
| 1525 | Effect.gen(function* () { |
| 1526 | const os = ownerSubject(owner); |
| 1527 | if (!os) { |
| 1528 | return yield* new StorageError({ |
| 1529 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1530 | cause: undefined, |
| 1531 | }); |
| 1532 | } |
| 1533 | yield* input.core.deleteMany("plugin_storage", { |
| 1534 | where: whereOwner(owner, collection, key), |
| 1535 | }); |
| 1536 | }); |
| 1537 | |
| 1538 | const keysByCollection = ( |
| 1539 | entries: readonly { readonly collection: string; readonly key: string }[], |
no test coverage detected