(collection: string, key: string)
| 1184 | }); |
| 1185 | |
| 1186 | const getVisible = <T>(collection: string, key: string) => |
| 1187 | input.core.findMany("plugin_storage", { where: whereFor(collection, key) }).pipe( |
| 1188 | Effect.map((rows) => sortByOwnerPrecedence(rows)[0] ?? null), |
| 1189 | Effect.map((row) => (row ? pluginStorageEntryFromRow<T>(row) : null)), |
| 1190 | ); |
| 1191 | |
| 1192 | const getForOwnerImpl = <T>(owner: Owner, collection: string, key: string) => |
| 1193 | input.core |
no test coverage detected