(collection: string, key: string)
| 1551 | }); |
| 1552 | |
| 1553 | const getVisible = <T>(collection: string, key: string) => |
| 1554 | input.core.findMany("plugin_storage", { where: whereFor(collection, key) }).pipe( |
| 1555 | Effect.map((rows) => sortByOwnerPrecedence(rows)[0] ?? null), |
| 1556 | Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null)), |
| 1557 | ); |
| 1558 | |
| 1559 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 1560 | input.core |
no test coverage detected