feat(portals): extend models and interfaces

This commit is contained in:
4gray committed 2023-08-17 23:51:02 +02:00
1 parent 01d1cc51fd
commit 3bec3564bd
3 files changed
+22

No files matched your search

+1
View File
@@ -3,4 +3,5 @@ export enum StalkerPortalActions {
GetGenres = 'get_genres',
CreateLink = 'create_link',
GetOrderedList = 'get_ordered_list',
Favorites = 'favorites',
}
+20
View File
@@ -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,
},
};
+1
View File
@@ -2,4 +2,5 @@ export enum ContentType {
VODS = 'vod',
SERIES = 'series',
ITV = 'itv',
FAVORITES = 'favorites',
}