From 63758a39dd1b2a4faaf58bcd6bcae849a2edd3af Mon Sep 17 00:00:00 2001 From: IDCs Date: Tue, 6 Jan 2026 12:03:28 +0000 Subject: [PATCH] adding direct_download_enabled flag to IMod/IModInfo part of nexus-mods/vortex#19232 --- lib/types.d.ts | 2 ++ src/types.ts | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/lib/types.d.ts b/lib/types.d.ts index 0a96b5f..069a96f 100644 --- a/lib/types.d.ts +++ b/lib/types.d.ts @@ -55,6 +55,7 @@ export interface IModInfo { timestamp: number; version: number; }; + direct_download_enabled?: boolean; } export interface IFileInfo { file_id: number; @@ -369,6 +370,7 @@ export interface IMod { author?: string; category: string; description: string; + directDownloadEnabled?: boolean; game: IGame; gameId: number; id: number; diff --git a/src/types.ts b/src/types.ts index 910c4be..a2e383c 100644 --- a/src/types.ts +++ b/src/types.ts @@ -170,6 +170,10 @@ export interface IModInfo { timestamp: number, version: number, }; + /** + * whether direct downloads are enabled for this mod + */ + direct_download_enabled?: boolean; } /** @@ -766,6 +770,7 @@ export interface IMod { author?: string; category: string; description: string; + directDownloadEnabled?: boolean; game: IGame; gameId: number; id: number;