chore: generated front new types

This commit is contained in:
zurdi
2026-05-05 09:12:52 +00:00
parent 95664b9bb2
commit 941e4bb297
8 changed files with 49 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ export type { ClientTokenCreateSchema } from './models/ClientTokenCreateSchema';
export type { ClientTokenExchangePayload } from './models/ClientTokenExchangePayload';
export type { ClientTokenPairSchema } from './models/ClientTokenPairSchema';
export type { ClientTokenSchema } from './models/ClientTokenSchema';
export type { CollectionRomsPayload } from './models/CollectionRomsPayload';
export type { CollectionSchema } from './models/CollectionSchema';
export type { ConfigResponse } from './models/ConfigResponse';
export type { ConversionStats } from './models/ConversionStats';
@@ -93,6 +94,7 @@ export type { RAProgression } from './models/RAProgression';
export type { RAUserGameProgression } from './models/RAUserGameProgression';
export type { RegionBreakdownItem } from './models/RegionBreakdownItem';
export type { Role } from './models/Role';
export type { RomFileAudioMetaSchema } from './models/RomFileAudioMetaSchema';
export type { RomFileCategory } from './models/RomFileCategory';
export type { RomFileSchema } from './models/RomFileSchema';
export type { RomFiltersDict } from './models/RomFiltersDict';
@@ -123,6 +125,7 @@ export type { SiblingRomSchema } from './models/SiblingRomSchema';
export type { SimpleRomSchema } from './models/SimpleRomSchema';
export type { SlotSummarySchema } from './models/SlotSummarySchema';
export type { SmartCollectionSchema } from './models/SmartCollectionSchema';
export type { SoundtrackTrackMetaSchema } from './models/SoundtrackTrackMetaSchema';
export type { SSAgeRating } from './models/SSAgeRating';
export type { StateSchema } from './models/StateSchema';
export type { StatsReturn } from './models/StatsReturn';

View File

@@ -0,0 +1,8 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CollectionRomsPayload = {
rom_ids: Array<number>;
};

View File

@@ -5,4 +5,4 @@
/**
* The Status of Job within its lifecycle at any given time.
*/
export type JobStatus = 'queued' | 'finished' | 'failed' | 'started' | 'deferred' | 'scheduled' | 'stopped' | 'canceled';
export type JobStatus = 'created' | 'queued' | 'finished' | 'failed' | 'started' | 'deferred' | 'scheduled' | 'stopped' | 'canceled';

View File

@@ -0,0 +1,17 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type RomFileAudioMetaSchema = {
title?: (string | null);
artist?: (string | null);
album?: (string | null);
year?: (string | null);
genre?: (string | null);
track?: (string | null);
disc?: (string | null);
duration_seconds?: (number | null);
has_embedded_cover?: boolean;
cover_path?: (string | null);
};

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { RomFileAudioMetaSchema } from './RomFileAudioMetaSchema';
import type { RomFileCategory } from './RomFileCategory';
export type RomFileSchema = {
id: number;
@@ -18,5 +19,6 @@ export type RomFileSchema = {
sha1_hash: (string | null);
ra_hash: (string | null);
category: (RomFileCategory | null);
audio_meta?: (RomFileAudioMetaSchema | null);
};

View File

@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { RomFileAudioMetaSchema } from './RomFileAudioMetaSchema';
export type SoundtrackTrackMetaSchema = {
file_id: number;
file_name: string;
file_size_bytes: number;
audio_meta?: (RomFileAudioMetaSchema | null);
};

View File

@@ -24,6 +24,12 @@ export const TaskStatusItem: Record<
JobStatus,
{ color: string; icon: string; status: string; text: string }
> = {
created: {
color: "grey",
icon: "mdi-clock-outline",
status: "grey",
text: t("settings.queued"),
},
queued: {
color: "orange",
icon: "mdi-clock-outline",