49 lines
837 B
TypeScript
49 lines
837 B
TypeScript
export interface Series {
|
|
id: number;
|
|
slug: string;
|
|
title: string;
|
|
library: 'public' | 'private';
|
|
folder_path: string;
|
|
has_cover: number;
|
|
last_scanned_at: string;
|
|
created_at: string;
|
|
}
|
|
|
|
export interface Game {
|
|
id: number;
|
|
slug: string;
|
|
title: string;
|
|
library: 'public' | 'private';
|
|
folder_path: string;
|
|
description: string;
|
|
genre: string;
|
|
has_cover: number;
|
|
has_wide: number;
|
|
series_id: number | null;
|
|
last_scanned_at: string;
|
|
created_at: string;
|
|
}
|
|
|
|
export interface GameFile {
|
|
id: number;
|
|
game_id: number;
|
|
filename: string;
|
|
rel_path: string;
|
|
platform: 'windows' | 'macos' | 'linux' | 'unknown';
|
|
is_dir: number;
|
|
file_size: number;
|
|
}
|
|
|
|
export interface Screenshot {
|
|
id: number;
|
|
game_id: number;
|
|
filename: string;
|
|
rel_path: string;
|
|
sort_order: number;
|
|
}
|
|
|
|
export interface Tag {
|
|
id: number;
|
|
name: string;
|
|
}
|