(collection: string, key: string)
| 1471 | }); |
| 1472 | |
| 1473 | const getVisible = <T>(collection: string, key: string) => |
| 1474 | input.core.findMany("plugin_storage", { where: whereFor(collection, key) }).pipe( |
| 1475 | Effect.map((rows) => sortByOwnerPrecedence(rows)[0] ?? null), |
| 1476 | Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null)), |
| 1477 | ); |
| 1478 | |
| 1479 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 1480 | input.core |
no test coverage detected