mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
Metadata providers (ScreenScraper, RetroAchievements, LaunchBox, Flashpoint, gamelist, IGDB) distinguish the publisher from the developer of a game, but RomM amalgamated both into a single `companies` list at ingestion, so the distinction was unrecoverable. This adds `publishers` and `developers` as new, refined fields end to end while keeping `companies` (the merged union) working exactly as before. Backend: - Handlers now emit publishers/developers alongside the unchanged companies list; IGDB requests the involved_companies developer/ publisher flags to split by role. - Migration 0112 adds generated_publishers/generated_developers columns on roms, projects them through the roms_metadata view, mirrors them into roms_facets, and adds publisher/developer virtual-collection types (triggers/functions rebuilt for MariaDB/MySQL + PostgreSQL). - Filters, facets, endpoints, smart collections and the gamelist/pegasus exporters all carry the new fields; exporters prefer the explicit split and fall back to the companies heuristic for un-rescanned ROMs. Frontend (v2): - Shared filter store + API service, gallery filter drawer, URL persistence, game detail display (Developers/Publishers with a Companies fallback), edit dialog, smart-collection criteria, and a publisher/developer "group virtual collections by" option. - Also relabels the confusing "company"->"Developer" group-by option to "Company" now that a proper Developer option exists. Fixes #3518 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
52 lines
1.7 KiB
TypeScript
52 lines
1.7 KiB
TypeScript
/* generated using openapi-typescript-codegen -- do not edit */
|
|
/* istanbul ignore file */
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
import type { SSAgeRating } from './SSAgeRating';
|
|
export type RomSSMetadata = {
|
|
bezel_url?: (string | null);
|
|
box2d_url?: (string | null);
|
|
box2d_side_url?: (string | null);
|
|
box2d_back_url?: (string | null);
|
|
box3d_url?: (string | null);
|
|
fanart_url?: (string | null);
|
|
fullbox_url?: (string | null);
|
|
logo_url?: (string | null);
|
|
manual_url?: (string | null);
|
|
marquee_url?: (string | null);
|
|
miximage_url?: (string | null);
|
|
miximage_v2_url?: (string | null);
|
|
physical_url?: (string | null);
|
|
screenshot_url?: (string | null);
|
|
steamgrid_url?: (string | null);
|
|
title_screen_url?: (string | null);
|
|
video_url?: (string | null);
|
|
video_normalized_url?: (string | null);
|
|
bezel_path?: (string | null);
|
|
box2d_path?: (string | null);
|
|
box2d_back_path?: (string | null);
|
|
box2d_side_path?: (string | null);
|
|
box3d_path?: (string | null);
|
|
fanart_path?: (string | null);
|
|
miximage_path?: (string | null);
|
|
miximage_v2_path?: (string | null);
|
|
physical_path?: (string | null);
|
|
marquee_path?: (string | null);
|
|
logo_path?: (string | null);
|
|
title_screen_path?: (string | null);
|
|
video_path?: (string | null);
|
|
video_normalized_path?: (string | null);
|
|
ss_score?: (string | null);
|
|
first_release_date?: (number | null);
|
|
alternative_names?: Array<string>;
|
|
age_ratings?: Array<SSAgeRating>;
|
|
companies?: Array<string>;
|
|
publishers?: Array<string>;
|
|
developers?: Array<string>;
|
|
franchises?: Array<string>;
|
|
game_modes?: Array<string>;
|
|
genres?: Array<string>;
|
|
player_count?: string;
|
|
};
|
|
|