(collection: string, key: string)
| 1532 | }); |
| 1533 | |
| 1534 | const getVisible = <T>(collection: string, key: string) => |
| 1535 | input.core.findMany("plugin_storage", { where: whereFor(collection, key) }).pipe( |
| 1536 | Effect.map((rows) => sortByOwnerPrecedence(rows)[0] ?? null), |
| 1537 | Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null)), |
| 1538 | ); |
| 1539 | |
| 1540 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 1541 | input.core |
no test coverage detected