(owner: Owner, collection: string, key: string)
| 997 | }); |
| 998 | |
| 999 | const removeImpl = (owner: Owner, collection: string, key: string) => |
| 1000 | Effect.gen(function* () { |
| 1001 | const os = ownerSubject(owner); |
| 1002 | if (!os) { |
| 1003 | return yield* new StorageError({ |
| 1004 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1005 | cause: undefined, |
| 1006 | }); |
| 1007 | } |
| 1008 | yield* input.core.deleteMany("plugin_storage", { |
| 1009 | where: whereOwner(owner, collection, key), |
| 1010 | }); |
| 1011 | }); |
| 1012 | |
| 1013 | const keysByCollection = ( |
| 1014 | entries: readonly { readonly collection: string; readonly key: string }[], |
no test coverage detected