mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
"Similar games" now reads the recommendations index instead of `igdb_metadata.similar_games`, so every entry is a game the server actually holds. That also drops the per-card `by-metadata-provider` lookup the IGDB stubs needed: the endpoint returns real ROMs, so the cards are ordinary interactive GameCards rather than synthetic ones. Adds a "Recommended for you" row to Home, each card captioned with why it was suggested, behind a `showRecommendations` UI setting. An unbuilt index or a library too small to relate anything is a normal state, so both surfaces stay hidden rather than surfacing an error. Structural IGDB relations (expansions, DLC, remakes, remasters) are untouched -- those are facts about a game, not recommendations. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
15 lines
465 B
TypeScript
15 lines
465 B
TypeScript
/* generated using openapi-typescript-codegen -- do not edit */
|
|
/* istanbul ignore file */
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
import type { SimilarityReasonSchema } from './SimilarityReasonSchema';
|
|
import type { SimpleRomSchema } from './SimpleRomSchema';
|
|
export type RecommendedRomSchema = {
|
|
rom: SimpleRomSchema;
|
|
score: number;
|
|
reasons: Array<SimilarityReasonSchema>;
|
|
seed_rom_id?: (number | null);
|
|
seed_rom_name?: (string | null);
|
|
};
|
|
|