(
owner: Owner,
entries: readonly { readonly collection: string; readonly key: string }[],
)
| 1708 | ); |
| 1709 | |
| 1710 | const removeManyImpl = ( |
| 1711 | owner: Owner, |
| 1712 | entries: readonly { readonly collection: string; readonly key: string }[], |
| 1713 | ) => |
| 1714 | Effect.gen(function* () { |
| 1715 | const os = ownerSubject(owner); |
| 1716 | if (!os) { |
| 1717 | return yield* new StorageError({ |
| 1718 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1719 | cause: undefined, |
| 1720 | }); |
| 1721 | } |
| 1722 | yield* deleteManyImpl(owner, os.subject, entries); |
| 1723 | }); |
| 1724 | |
| 1725 | const queryCollection = <TDefinition extends PluginStorageCollectionDefinition>( |
| 1726 | definition: TDefinition, |
no test coverage detected