(
owner: Owner,
entries: readonly { readonly collection: string; readonly key: string }[],
)
| 1722 | ); |
| 1723 | |
| 1724 | const removeManyImpl = ( |
| 1725 | owner: Owner, |
| 1726 | entries: readonly { readonly collection: string; readonly key: string }[], |
| 1727 | ) => |
| 1728 | Effect.gen(function* () { |
| 1729 | const os = ownerSubject(owner); |
| 1730 | if (!os) { |
| 1731 | return yield* new StorageError({ |
| 1732 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1733 | cause: undefined, |
| 1734 | }); |
| 1735 | } |
| 1736 | yield* deleteManyImpl(owner, os.subject, entries); |
| 1737 | }); |
| 1738 | |
| 1739 | const queryCollection = <TDefinition extends PluginStorageCollectionDefinition>( |
| 1740 | definition: TDefinition, |
no test coverage detected