(
owner: Owner,
entries: readonly { readonly collection: string; readonly key: string }[],
)
| 1628 | ); |
| 1629 | |
| 1630 | const removeManyImpl = ( |
| 1631 | owner: Owner, |
| 1632 | entries: readonly { readonly collection: string; readonly key: string }[], |
| 1633 | ) => |
| 1634 | Effect.gen(function* () { |
| 1635 | const os = ownerSubject(owner); |
| 1636 | if (!os) { |
| 1637 | return yield* new StorageError({ |
| 1638 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1639 | cause: undefined, |
| 1640 | }); |
| 1641 | } |
| 1642 | yield* deleteManyImpl(owner, os.subject, entries); |
| 1643 | }); |
| 1644 | |
| 1645 | const queryCollection = <TDefinition extends PluginStorageCollectionDefinition>( |
| 1646 | definition: TDefinition, |
no test coverage detected