(
owner: Owner,
entries: readonly { readonly collection: string; readonly key: string }[],
)
| 1359 | }); |
| 1360 | |
| 1361 | const removeManyImpl = ( |
| 1362 | owner: Owner, |
| 1363 | entries: readonly { readonly collection: string; readonly key: string }[], |
| 1364 | ) => |
| 1365 | Effect.gen(function* () { |
| 1366 | const os = ownerSubject(owner); |
| 1367 | if (!os) { |
| 1368 | return yield* new StorageError({ |
| 1369 | message: `Cannot delete plugin storage for owner "user": executor has no subject.`, |
| 1370 | cause: undefined, |
| 1371 | }); |
| 1372 | } |
| 1373 | yield* deleteManyImpl(owner, os.subject, entries); |
| 1374 | }); |
| 1375 | |
| 1376 | const queryCollection = <TDefinition extends PluginStorageCollectionDefinition>( |
| 1377 | definition: TDefinition, |
no test coverage detected