mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-14 13:16:16 -08:00
refactor(nx): remove packages, fix build issues
This commit is contained in:
1 parent
ad75cb2f1a
commit
7487738a7d
68 files changed
+616
-1496
No files matched your search
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user