mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Deprecate old movie system
This commit is contained in:
parent
0c526abfe8
commit
581059cb1d
@ -2,13 +2,4 @@
|
|||||||
///
|
///
|
||||||
/// @author Pierre HUBERT
|
/// @author Pierre HUBERT
|
||||||
|
|
||||||
enum PostKind {
|
enum PostKind { TEXT, IMAGE, WEB_LINK, PDF, COUNTDOWN, SURVEY, YOUTUBE }
|
||||||
TEXT,
|
|
||||||
IMAGE,
|
|
||||||
WEB_LINK,
|
|
||||||
PDF,
|
|
||||||
MOVIE,
|
|
||||||
COUNTDOWN,
|
|
||||||
SURVEY,
|
|
||||||
YOUTUBE
|
|
||||||
}
|
|
||||||
|
@ -16,7 +16,6 @@ const _NotificationElementTypeAPImapping = {
|
|||||||
"post_text": NotificationElementType.POST_TEXT,
|
"post_text": NotificationElementType.POST_TEXT,
|
||||||
"post_img": NotificationElementType.POST_IMAGE,
|
"post_img": NotificationElementType.POST_IMAGE,
|
||||||
"post_youtube": NotificationElementType.POST_YOUTUBE,
|
"post_youtube": NotificationElementType.POST_YOUTUBE,
|
||||||
"post_movie": NotificationElementType.POST_MOVIE,
|
|
||||||
"post_weblink": NotificationElementType.POST_WEBLINK,
|
"post_weblink": NotificationElementType.POST_WEBLINK,
|
||||||
"post_pdf": NotificationElementType.POST_PDF,
|
"post_pdf": NotificationElementType.POST_PDF,
|
||||||
"post_timer": NotificationElementType.POST_TIMER,
|
"post_timer": NotificationElementType.POST_TIMER,
|
||||||
|
@ -29,7 +29,6 @@ const _APIPostsKindsMap = {
|
|||||||
"image": PostKind.IMAGE,
|
"image": PostKind.IMAGE,
|
||||||
"weblink": PostKind.WEB_LINK,
|
"weblink": PostKind.WEB_LINK,
|
||||||
"pdf": PostKind.PDF,
|
"pdf": PostKind.PDF,
|
||||||
"movie": PostKind.MOVIE,
|
|
||||||
"countdown": PostKind.COUNTDOWN,
|
"countdown": PostKind.COUNTDOWN,
|
||||||
"survey": PostKind.SURVEY,
|
"survey": PostKind.SURVEY,
|
||||||
"youtube": PostKind.YOUTUBE
|
"youtube": PostKind.YOUTUBE
|
||||||
|
@ -13,7 +13,6 @@ enum NotificationElementType {
|
|||||||
POST_TEXT,
|
POST_TEXT,
|
||||||
POST_IMAGE,
|
POST_IMAGE,
|
||||||
POST_YOUTUBE,
|
POST_YOUTUBE,
|
||||||
POST_MOVIE,
|
|
||||||
POST_WEBLINK,
|
POST_WEBLINK,
|
||||||
POST_PDF,
|
POST_PDF,
|
||||||
POST_TIMER,
|
POST_TIMER,
|
||||||
|
Loading…
Reference in New Issue
Block a user