(owner: Owner, collection: string, key: string)
| 1190 | ); |
| 1191 | |
| 1192 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 1193 | input.core |
| 1194 | .findFirst("plugin_storage", { |
| 1195 | where: whereOwner(owner, collection, key), |
| 1196 | }) |
| 1197 | .pipe(Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null))); |
| 1198 | |
| 1199 | const putImpl = <T>(owner: Owner, collection: string, key: string, data: unknown) => |
| 1200 | Effect.gen(function* () { |
no test coverage detected