(
owner: Owner,
entries: readonly { readonly collection: string; readonly key: string }[],
)
| 1689 | ); |
| 1690 | |
| 1691 | const removeManyImpl = ( |
| 1692 | owner: Owner, |
| 1693 | entries: readonly { readonly collection: string; readonly key: string }[], |
| 1694 | ) => |
| 1695 | Effect.gen(function* () { |
| 1696 | const os = ownerSubject(owner); |
| 1697 | if (!os) { |
| 1698 | return yield* new StorageError({ |
| 1699 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1700 | cause: undefined, |
| 1701 | }); |
| 1702 | } |
| 1703 | yield* deleteManyImpl(owner, os.subject, entries); |
| 1704 | }); |
| 1705 | |
| 1706 | const queryCollection = <TDefinition extends PluginStorageCollectionDefinition>( |
| 1707 | definition: TDefinition, |
no test coverage detected