mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-14 13:16:16 -08:00
refactor(shared): extend playlist interfaces
This commit is contained in:
1 parent
dc269b3076
commit
6345cd7908
2 files changed
+9
-3
No files matched your search
@@ -13,11 +13,11 @@ export enum PlaylistUpdateState {
|
||||
export interface Playlist {
|
||||
_id: string;
|
||||
title: string;
|
||||
filename: string;
|
||||
playlist: any;
|
||||
filename?: string;
|
||||
playlist?: any;
|
||||
importDate: string;
|
||||
lastUsage: string;
|
||||
favorites: string[];
|
||||
favorites?: string[];
|
||||
items?: unknown[];
|
||||
header?: unknown;
|
||||
count: number;
|
||||
@@ -29,4 +29,7 @@ export interface Playlist {
|
||||
updateState?: PlaylistUpdateState;
|
||||
position?: number;
|
||||
isTemporary?: boolean;
|
||||
serverUrl?: string;
|
||||
username?: string;
|
||||
password?: string;
|
||||
}
|
||||
@@ -15,4 +15,7 @@ export type PlaylistMeta = Pick<
|
||||
| 'position'
|
||||
| 'autoRefresh'
|
||||
| 'favorites'
|
||||
| 'serverUrl'
|
||||
| 'username'
|
||||
| 'password'
|
||||
>;
|
||||
Reference in new issue
Block a user