mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
chore: generated front new types
This commit is contained in:
3
frontend/src/__generated__/index.ts
generated
3
frontend/src/__generated__/index.ts
generated
@@ -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';
|
||||
|
||||
8
frontend/src/__generated__/models/CollectionRomsPayload.ts
generated
Normal file
8
frontend/src/__generated__/models/CollectionRomsPayload.ts
generated
Normal 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>;
|
||||
};
|
||||
|
||||
2
frontend/src/__generated__/models/JobStatus.ts
generated
2
frontend/src/__generated__/models/JobStatus.ts
generated
@@ -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';
|
||||
|
||||
17
frontend/src/__generated__/models/RomFileAudioMetaSchema.ts
generated
Normal file
17
frontend/src/__generated__/models/RomFileAudioMetaSchema.ts
generated
Normal 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);
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
12
frontend/src/__generated__/models/SoundtrackTrackMetaSchema.ts
generated
Normal file
12
frontend/src/__generated__/models/SoundtrackTrackMetaSchema.ts
generated
Normal 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);
|
||||
};
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user