(
owner: Owner,
entries: readonly { readonly collection: string; readonly key: string }[],
)
| 1350 | }); |
| 1351 | |
| 1352 | const removeManyImpl = ( |
| 1353 | owner: Owner, |
| 1354 | entries: readonly { readonly collection: string; readonly key: string }[], |
| 1355 | ) => |
| 1356 | Effect.gen(function* () { |
| 1357 | const os = ownerSubject(owner); |
| 1358 | if (!os) { |
| 1359 | return yield* new StorageError({ |
| 1360 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1361 | cause: undefined, |
| 1362 | }); |
| 1363 | } |
| 1364 | yield* deleteManyImpl(owner, os.subject, entries); |
| 1365 | }); |
| 1366 | |
| 1367 | const queryCollection = <TDefinition extends PluginStorageCollectionDefinition>( |
| 1368 | definition: TDefinition, |
no test coverage detected