feat: sync download sources

This commit is contained in:
Chubby Granny Chaser
2025-03-31 00:14:07 +01:00
parent 9b8a0af8e9
commit e6fde48dbd
11 changed files with 146 additions and 46 deletions

View File

@@ -22,6 +22,20 @@ export interface GameRepack {
updatedAt: Date;
}
export interface DownloadSource {
id: number;
name: string;
url: string;
repackCount: number;
status: DownloadSourceStatus;
objectIds: string[];
downloadCount: number;
fingerprint: string;
etag: string | null;
createdAt: Date;
updatedAt: Date;
}
export type ShopDetails = SteamAppDetails & {
objectId: string;
};
@@ -197,20 +211,6 @@ export interface DownloadSourceValidationResult {
downloadCount: number;
}
export interface DownloadSource {
id: number;
name: string;
url: string;
repackCount: number;
status: DownloadSourceStatus;
objectIds: string[];
downloadCount: number;
fingerprint: string;
etag: string | null;
createdAt: Date;
updatedAt: Date;
}
export interface GameStats {
downloadCount: number;
playerCount: number;