(collection: string, key: string)
| 947 | }); |
| 948 | |
| 949 | const getVisible = <T>(collection: string, key: string) => |
| 950 | input.core.findMany("plugin_storage", { where: whereFor(collection, key) }).pipe( |
| 951 | Effect.map((rows) => sortByOwnerPrecedence(rows)[0] ?? null), |
| 952 | Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null)), |
| 953 | ); |
| 954 | |
| 955 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 956 | input.core |
no test coverage detected