From 1435d9046ecb82377213574c0ab4313da162b227 Mon Sep 17 00:00:00 2001 From: Abdullah Musab Ceylan <36999721+abdullahceylan@users.noreply.github.com> Date: Thu, 28 Nov 2024 13:50:56 +0000 Subject: [PATCH 1/2] Update global.d.ts --- src/global.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/global.d.ts b/src/global.d.ts index 9e6c1dbd9..8934084e3 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -1 +1,7 @@ import 'jest-extended'; + +declare module 'video.js' { + export interface VideoJsPlayer { + hlsQualitySelector(options?: any): void; + } +} From 032f91a5c1178a092639c4a7a8f0d43a8712e2d6 Mon Sep 17 00:00:00 2001 From: Abdullah Ceylan Date: Thu, 28 Nov 2024 15:12:40 +0000 Subject: [PATCH 2/2] fix: http client error due to dependency injection issue in datafactory --- src/app/app.module.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index f116a2905..18aa11225 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -48,7 +48,10 @@ function isTauri() { /** * Conditionally imports the necessary service based on the current environment */ -export function DataFactory(http: HttpClient) { +export function DataFactory( + ngxIndexedDBService: NgxIndexedDBService, + http: HttpClient +) { if (isElectron()) { return new ElectronService(); }