refactor(nx): remove packages, fix build issues

This commit is contained in:
4gray committed 2025-10-14 23:44:33 +02:00
1 parent ad75cb2f1a
commit 7487738a7d
68 files changed
+616 -1496

No files matched your search

-2
View File
@@ -26,5 +26,3 @@ export * from './lib/xtream-serie-details.interface';
export * from './lib/xtream-serie-item.interface';
export * from './lib/xtream-vod-details.interface';
export * from './lib/xtream-vod-stream.interface';
import './lib/global.d';
-34
View File
@@ -1,34 +0,0 @@
import 'jest-extended';
import { Playlist } from './playlist.interface';
declare module 'video.js' {
export interface VideoJsPlayer {
hlsQualitySelector(options?: Record<string, unknown>): void;
}
}
declare global {
interface Window {
electron: {
getAppVersion: () => Promise<string>;
platform: string;
fetchPlaylistByUrl: (
url: string,
title?: string
) => Promise<Playlist>;
updatePlaylistFromFilePath: (
filePath: string,
title: string
) => Promise<Playlist>;
openPlaylistFromFile: () => Promise<Playlist>;
};
process: NodeJS.Process;
require: NodeRequire;
}
}
// SystemJS module definition
declare const nodeModule: NodeModule;
interface NodeModule {
id: string;
}
@@ -1,5 +1,8 @@
export class IpcCommand {
constructor(public id: string, public callback: (payload) => void) {
constructor(
public id: string,
public callback: (payload: any) => void
) {
this.id = id;
this.callback = callback;
}