(collection: string, key: string)
| 1223 | }); |
| 1224 | |
| 1225 | const getVisible = <T>(collection: string, key: string) => |
| 1226 | input.core.findMany("plugin_storage", { where: whereFor(collection, key) }).pipe( |
| 1227 | Effect.map((rows) => sortByOwnerPrecedence(rows)[0] ?? null), |
| 1228 | Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null)), |
| 1229 | ); |
| 1230 | |
| 1231 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 1232 | input.core |
no test coverage detected