(collection: string, key: string)
| 1346 | }); |
| 1347 | |
| 1348 | const getVisible = <T>(collection: string, key: string) => |
| 1349 | input.core.findMany("plugin_storage", { where: whereFor(collection, key) }).pipe( |
| 1350 | Effect.map((rows) => sortByOwnerPrecedence(rows)[0] ?? null), |
| 1351 | Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null)), |
| 1352 | ); |
| 1353 | |
| 1354 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 1355 | input.core |
no test coverage detected