(collection: string, key: string)
| 1171 | }); |
| 1172 | |
| 1173 | const getVisible = <T>(collection: string, key: string) => |
| 1174 | input.core.findMany("plugin_storage", { where: whereFor(collection, key) }).pipe( |
| 1175 | Effect.map((rows) => sortByOwnerPrecedence(rows)[0] ?? null), |
| 1176 | Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null)), |
| 1177 | ); |
| 1178 | |
| 1179 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 1180 | input.core |
no test coverage detected