mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding source search
This commit is contained in:
parent
1e99dae9de
commit
109c12064d
49 changed files with 2010 additions and 958 deletions
|
@ -16,13 +16,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;
|
||||
|
@ -77,15 +74,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;
|
||||
|
@ -301,6 +289,7 @@ export interface DownloadSource {
|
|||
repackCount: number;
|
||||
status: DownloadSourceStatus;
|
||||
downloadCount: number;
|
||||
fingerprint: string;
|
||||
etag: string | null;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
|
@ -374,6 +363,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