mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge branch 'feat/new-catalogue' into feat/achievements-points
# Conflicts: # src/preload/index.ts # src/renderer/src/app.tsx # src/renderer/src/features/index.ts # src/renderer/src/store.ts # yarn.lock
This commit is contained in:
commit
cabddfb926
54 changed files with 1129 additions and 926 deletions
|
@ -17,13 +17,10 @@ export type FriendRequestAction = "ACCEPTED" | "REFUSED" | "CANCEL";
|
|||
export interface GameRepack {
|
||||
id: number;
|
||||
title: string;
|
||||
/**
|
||||
* @deprecated Use uris instead
|
||||
*/
|
||||
magnet: string;
|
||||
uris: string[];
|
||||
repacker: string;
|
||||
fileSize: string | null;
|
||||
objectIds: string[];
|
||||
uploadDate: Date | string | null;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
|
@ -80,15 +77,6 @@ export interface TorrentFile {
|
|||
length: number;
|
||||
}
|
||||
|
||||
/* Used by the catalogue */
|
||||
export interface CatalogueEntry {
|
||||
objectId: string;
|
||||
shop: GameShop;
|
||||
title: string;
|
||||
/* Epic Games covers cannot be guessed with objectID */
|
||||
cover: string;
|
||||
}
|
||||
|
||||
export interface UserGame {
|
||||
objectId: string;
|
||||
shop: GameShop;
|
||||
|
@ -320,7 +308,9 @@ export interface DownloadSource {
|
|||
url: string;
|
||||
repackCount: number;
|
||||
status: DownloadSourceStatus;
|
||||
objectIds: string[];
|
||||
downloadCount: number;
|
||||
fingerprint: string;
|
||||
etag: string | null;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
|
@ -405,6 +395,15 @@ export interface ComparedAchievements {
|
|||
}[];
|
||||
}
|
||||
|
||||
export interface CatalogueSearchPayload {
|
||||
title: string;
|
||||
downloadSourceFingerprints: string[];
|
||||
tags: number[];
|
||||
publishers: string[];
|
||||
genres: string[];
|
||||
developers: string[];
|
||||
}
|
||||
|
||||
export * from "./steam.types";
|
||||
export * from "./real-debrid.types";
|
||||
export * from "./ludusavi.types";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue