(owner: Owner, collection: string, key: string)
| 1274 | }); |
| 1275 | |
| 1276 | const removeImpl = (owner: Owner, collection: string, key: string) => |
| 1277 | Effect.gen(function* () { |
| 1278 | const os = ownerSubject(owner); |
| 1279 | if (!os) { |
| 1280 | return yield* new StorageError({ |
| 1281 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1282 | cause: undefined, |
| 1283 | }); |
| 1284 | } |
| 1285 | yield* input.core.deleteMany("plugin_storage", { |
| 1286 | where: whereOwner(owner, collection, key), |
| 1287 | }); |
| 1288 | }); |
| 1289 | |
| 1290 | const keysByCollection = ( |
| 1291 | entries: readonly { readonly collection: string; readonly key: string }[], |
no test coverage detected