mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
refactor(portals): extend interfaces
This commit is contained in:
1 parent
17e5ae249c
commit
30d490ff0b
8 files changed
+50
No files matched your search
@@ -4,4 +4,6 @@ export enum StalkerPortalActions {
|
||||
CreateLink = 'create_link',
|
||||
GetOrderedList = 'get_ordered_list',
|
||||
Favorites = 'favorites',
|
||||
Handshake = 'handshake',
|
||||
DoAuth = 'do_auth',
|
||||
}
|
||||
@@ -8,4 +8,5 @@ export interface XtreamItem {
|
||||
category_id: string;
|
||||
custom_sid: string;
|
||||
direct_source: string;
|
||||
rating_imdb?: string;
|
||||
}
|
||||
@@ -26,6 +26,8 @@ export interface XtreamVodDetails {
|
||||
audio: string[];
|
||||
bitrate: number;
|
||||
rating: number;
|
||||
rating_kinopoisk?: string;
|
||||
rating_imdb?: string;
|
||||
};
|
||||
movie_data: {
|
||||
stream_id: number;
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
export * from './stalker-season.interface';
|
||||
export * from './stalker-serial-details.interface';
|
||||
@@ -0,0 +1,16 @@
|
||||
export interface StalkerSeason {
|
||||
series: string[];
|
||||
name: string;
|
||||
cmd: string;
|
||||
|
||||
description: string;
|
||||
director: string;
|
||||
actors: string;
|
||||
year: string;
|
||||
genres_str: string;
|
||||
age: string;
|
||||
rating_imdb: string;
|
||||
rating_kinopoisk: string;
|
||||
screenshot_uri: string;
|
||||
added: string;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
export interface StalkerSerialDetails {
|
||||
name: string;
|
||||
description: string;
|
||||
director: string;
|
||||
actors: string;
|
||||
year: string;
|
||||
genres_str: string;
|
||||
age: string;
|
||||
rating_imdb: string;
|
||||
rating_kinopoisk: string;
|
||||
screenshot_uri: string;
|
||||
added: string;
|
||||
}
|
||||
@@ -17,4 +17,16 @@ export const StalkerContentTypes = {
|
||||
getCategoryAction: StalkerPortalActions.GetCategories,
|
||||
getLink: StalkerPortalActions.CreateLink,
|
||||
},
|
||||
series: {
|
||||
title: 'Series',
|
||||
getContentAction: StalkerPortalActions.GetOrderedList,
|
||||
getCategoryAction: StalkerPortalActions.GetCategories,
|
||||
getLink: StalkerPortalActions.CreateLink,
|
||||
},
|
||||
/* radio: {
|
||||
title: 'Radio',
|
||||
getContentAction: StalkerPortalActions.GetOrderedList,
|
||||
getCategoryAction: StalkerPortalActions.GetOrderedList,
|
||||
getLink: StalkerPortalActions.CreateLink,
|
||||
}, */
|
||||
};
|
||||
@@ -1,6 +1,8 @@
|
||||
export enum ContentType {
|
||||
STB = 'stb',
|
||||
VODS = 'vod',
|
||||
SERIES = 'series',
|
||||
ITV = 'itv',
|
||||
FAVORITES = 'favorites',
|
||||
/* RADIO = 'radio', */
|
||||
}
|
||||
Reference in new issue
Block a user