mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
feat(portals): extend models and interfaces
This commit is contained in:
1 parent
01d1cc51fd
commit
3bec3564bd
3 files changed
+22
No files matched your search
@@ -3,4 +3,5 @@ export enum StalkerPortalActions {
|
||||
GetGenres = 'get_genres',
|
||||
CreateLink = 'create_link',
|
||||
GetOrderedList = 'get_ordered_list',
|
||||
Favorites = 'favorites',
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import { StalkerPortalActions } from '../../../shared/stalker-portal-actions.enum';
|
||||
|
||||
export const StalkerContentTypes = {
|
||||
stb: {
|
||||
doAuth: 'do_auth',
|
||||
handshake: 'handshake',
|
||||
},
|
||||
itv: {
|
||||
title: 'Live streams',
|
||||
getContentAction: StalkerPortalActions.GetOrderedList,
|
||||
getCategoryAction: StalkerPortalActions.GetGenres,
|
||||
getLink: StalkerPortalActions.CreateLink,
|
||||
},
|
||||
vod: {
|
||||
title: 'VOD streams',
|
||||
getContentAction: StalkerPortalActions.GetOrderedList,
|
||||
getCategoryAction: StalkerPortalActions.GetCategories,
|
||||
getLink: StalkerPortalActions.CreateLink,
|
||||
},
|
||||
};
|
||||
@@ -2,4 +2,5 @@ export enum ContentType {
|
||||
VODS = 'vod',
|
||||
SERIES = 'series',
|
||||
ITV = 'itv',
|
||||
FAVORITES = 'favorites',
|
||||
}
|
||||
Reference in new issue
Block a user