mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
RomM stores soundtracks but exposes no way to consume them as a music library: a client has to enumerate ROMs and pull each one's tracks individually, and the per-track metadata lives in the `rom_files.audio_meta` JSON blob, which is unindexable on MariaDB, so any library-wide filter or sort degrades to a full scan. This adds a queryable, music-first API for soundtracks, backed by a typed and indexed `track_meta` table migrated from that JSON. It also lets users upload soundtracks, manuals, and screenshots to any ROM, not only folder-based ones. When the target is a single-file ROM, the client warns that the upload will migrate it to a multi-file (folder) structure, then performs that migration in place automatically.
13 lines
295 B
TypeScript
13 lines
295 B
TypeScript
/* generated using openapi-typescript-codegen -- do not edit */
|
|
/* istanbul ignore file */
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* A distinct value of a track field plus how many tracks carry it.
|
|
*/
|
|
export type FacetValueSchema = {
|
|
value: (string | number);
|
|
count: number;
|
|
};
|
|
|