(owner: Owner, collection: string, key: string)
| 1397 | }); |
| 1398 | |
| 1399 | const removeImpl = (owner: Owner, collection: string, key: string) => |
| 1400 | Effect.gen(function* () { |
| 1401 | const os = ownerSubject(owner); |
| 1402 | if (!os) { |
| 1403 | return yield* new StorageError({ |
| 1404 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1405 | cause: undefined, |
| 1406 | }); |
| 1407 | } |
| 1408 | yield* input.core.deleteMany("plugin_storage", { |
| 1409 | where: whereOwner(owner, collection, key), |
| 1410 | }); |
| 1411 | }); |
| 1412 | |
| 1413 | const keysByCollection = ( |
| 1414 | entries: readonly { readonly collection: string; readonly key: string }[], |
no test coverage detected