(owner: Owner, collection: string, key: string)
| 1583 | }); |
| 1584 | |
| 1585 | const removeImpl = (owner: Owner, collection: string, key: string) => |
| 1586 | Effect.gen(function* () { |
| 1587 | const os = ownerSubject(owner); |
| 1588 | if (!os) { |
| 1589 | return yield* new StorageError({ |
| 1590 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1591 | cause: undefined, |
| 1592 | }); |
| 1593 | } |
| 1594 | yield* input.core.deleteMany("plugin_storage", { |
| 1595 | where: whereOwner(owner, collection, key), |
| 1596 | }); |
| 1597 | }); |
| 1598 | |
| 1599 | const keysByCollection = ( |
| 1600 | entries: readonly { readonly collection: string; readonly key: string }[], |
no test coverage detected