(
owner: Owner,
entries: readonly { readonly collection: string; readonly key: string }[],
)
| 1503 | ); |
| 1504 | |
| 1505 | const removeManyImpl = ( |
| 1506 | owner: Owner, |
| 1507 | entries: readonly { readonly collection: string; readonly key: string }[], |
| 1508 | ) => |
| 1509 | Effect.gen(function* () { |
| 1510 | const os = ownerSubject(owner); |
| 1511 | if (!os) { |
| 1512 | return yield* new StorageError({ |
| 1513 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1514 | cause: undefined, |
| 1515 | }); |
| 1516 | } |
| 1517 | yield* deleteManyImpl(owner, os.subject, entries); |
| 1518 | }); |
| 1519 | |
| 1520 | const queryCollection = <TDefinition extends PluginStorageCollectionDefinition>( |
| 1521 | definition: TDefinition, |
no test coverage detected