mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
feat(xtream): add portal status type and interface to manage portal state
This commit is contained in:
1 parent
bc8e5c98ea
commit
f4dda4c274
1 file changed
+12
@@ -6,6 +6,17 @@ import { EpgItem } from '../xtream/epg-item.interface';
|
||||
|
||||
export type ContentType = 'live' | 'vod' | 'series';
|
||||
|
||||
export type PortalStatusType =
|
||||
| 'active'
|
||||
| 'inactive'
|
||||
| 'expired'
|
||||
| 'unavailable';
|
||||
|
||||
export interface XtreamPortalStatus {
|
||||
status: 'active' | 'inactive' | 'expired' | 'unavailable';
|
||||
message?: string;
|
||||
}
|
||||
|
||||
export interface XtreamState {
|
||||
isLoadingCategories: boolean;
|
||||
isLoadingContent: boolean;
|
||||
@@ -27,4 +38,5 @@ export interface XtreamState {
|
||||
currentPlaylist: any | null;
|
||||
epgItems: EpgItem[];
|
||||
hideExternalInfoDialog: boolean;
|
||||
portalStatus: PortalStatusType;
|
||||
}
|
||||
Reference in new issue
Block a user