(owner: Owner, collection: string, key: string)
| 1571 | ); |
| 1572 | |
| 1573 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 1574 | input.core |
| 1575 | .findFirst("plugin_storage", { |
| 1576 | where: whereOwner(owner, collection, key), |
| 1577 | }) |
| 1578 | .pipe(Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null))); |
| 1579 | |
| 1580 | const putImpl = <T>(owner: Owner, collection: string, key: string, data: unknown) => |
| 1581 | Effect.gen(function* () { |
no test coverage detected