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