(
owner: Owner,
entries: readonly { readonly collection: string; readonly key: string }[],
)
| 1389 | }); |
| 1390 | |
| 1391 | const removeManyImpl = ( |
| 1392 | owner: Owner, |
| 1393 | entries: readonly { readonly collection: string; readonly key: string }[], |
| 1394 | ) => |
| 1395 | Effect.gen(function* () { |
| 1396 | const os = ownerSubject(owner); |
| 1397 | if (!os) { |
| 1398 | return yield* new StorageError({ |
| 1399 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1400 | cause: undefined, |
| 1401 | }); |
| 1402 | } |
| 1403 | yield* deleteManyImpl(owner, os.subject, entries); |
| 1404 | }); |
| 1405 | |
| 1406 | const queryCollection = <TDefinition extends PluginStorageCollectionDefinition>( |
| 1407 | definition: TDefinition, |
no test coverage detected