(owner: Owner, collection: string, key: string)
| 1557 | ); |
| 1558 | |
| 1559 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 1560 | input.core |
| 1561 | .findFirst("plugin_storage", { |
| 1562 | where: whereOwner(owner, collection, key), |
| 1563 | }) |
| 1564 | .pipe(Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null))); |
| 1565 | |
| 1566 | const putImpl = <T>(owner: Owner, collection: string, key: string, data: unknown) => |
| 1567 | Effect.gen(function* () { |
no test coverage detected