(collection: string, key: string)
| 1193 | }); |
| 1194 | |
| 1195 | const getVisible = <T>(collection: string, key: string) => |
| 1196 | input.core.findMany("plugin_storage", { where: whereFor(collection, key) }).pipe( |
| 1197 | Effect.map((rows) => sortByOwnerPrecedence(rows)[0] ?? null), |
| 1198 | Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null)), |
| 1199 | ); |
| 1200 | |
| 1201 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 1202 | input.core |
no test coverage detected