(owner: Owner, collection: string, key: string)
| 1177 | ); |
| 1178 | |
| 1179 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 1180 | input.core |
| 1181 | .findFirst("plugin_storage", { |
| 1182 | where: whereOwner(owner, collection, key), |
| 1183 | }) |
| 1184 | .pipe(Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null))); |
| 1185 | |
| 1186 | const putImpl = <T>(owner: Owner, collection: string, key: string, data: unknown) => |
| 1187 | Effect.gen(function* () { |
no test coverage detected