@clickview/online 0.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (272) hide show
  1. package/README.md +1 -0
  2. package/dist/apps/content-updates/ContentUpdatesApplication.d.ts +12 -0
  3. package/dist/apps/content-updates/components/classification-banner/ClassifictionBannerContainer.d.ts +11 -0
  4. package/dist/apps/content-updates/components/classification-update-breadcrumbs/ClassificationUpdateBreadcrumbsContainer.d.ts +9 -0
  5. package/dist/apps/content-updates/components/index.d.ts +3 -0
  6. package/dist/apps/content-updates/components/whats-new-breadcrumbs/WhatsNewBreadcrumbsContainer.d.ts +6 -0
  7. package/dist/apps/content-updates/context/ContentUpdatesAppContext.d.ts +4 -0
  8. package/dist/apps/content-updates/context/index.d.ts +1 -0
  9. package/dist/apps/content-updates/flight-requests/ContentUpdatesRequests.d.ts +11 -0
  10. package/dist/apps/content-updates/flight-requests/index.d.ts +1 -0
  11. package/dist/apps/content-updates/interfaces/ClassificationVideosGrouping.d.ts +6 -0
  12. package/dist/apps/content-updates/interfaces/ContentUpdate.d.ts +7 -0
  13. package/dist/apps/content-updates/interfaces/ContentUpdateAppLinks.d.ts +12 -0
  14. package/dist/apps/content-updates/interfaces/Reason.d.ts +6 -0
  15. package/dist/apps/content-updates/interfaces/VideoClassificationMapping.d.ts +4 -0
  16. package/dist/apps/content-updates/interfaces/VideoWithClassification.d.ts +4 -0
  17. package/dist/apps/content-updates/interfaces/index.d.ts +7 -0
  18. package/dist/apps/content-updates/views/classification-update/ClassificationUpdateView.d.ts +7 -0
  19. package/dist/apps/content-updates/views/classification-update/index.d.ts +1 -0
  20. package/dist/apps/content-updates/views/content-updates/ContentUpdatesView.d.ts +6 -0
  21. package/dist/apps/content-updates/views/content-updates/components/ContentUpdateClassification.d.ts +14 -0
  22. package/dist/apps/content-updates/views/content-updates/index.d.ts +1 -0
  23. package/dist/apps/content-updates/views/index.d.ts +2 -0
  24. package/dist/apps/default/OnlineDefaultApplication.d.ts +12 -0
  25. package/dist/apps/playlists/PlaylistApplication.d.ts +36 -0
  26. package/dist/apps/playlists/components/empty-state/EmptyPlaylistListComponent.d.ts +2 -0
  27. package/dist/apps/playlists/components/empty-state/EmptyVideoListComponent.d.ts +6 -0
  28. package/dist/apps/playlists/components/empty-state/index.d.ts +2 -0
  29. package/dist/apps/playlists/components/index.d.ts +7 -0
  30. package/dist/apps/playlists/components/new-playlist-button/NewPlaylistButtonComponent.d.ts +8 -0
  31. package/dist/apps/playlists/components/new-playlist-button/index.d.ts +1 -0
  32. package/dist/apps/playlists/components/playlist-details/PlaylistDetailsComponent.d.ts +10 -0
  33. package/dist/apps/playlists/components/playlist-details/index.d.ts +1 -0
  34. package/dist/apps/playlists/components/playlist-header/PlaylistHeaderActionsComponent.d.ts +17 -0
  35. package/dist/apps/playlists/components/playlist-header/PlaylistHeaderComponent.d.ts +22 -0
  36. package/dist/apps/playlists/components/playlist-header/index.d.ts +2 -0
  37. package/dist/apps/playlists/components/playlist-list/PartialPlaylistList.d.ts +2 -0
  38. package/dist/apps/playlists/components/playlist-list/PartialPlaylistListHeader.d.ts +2 -0
  39. package/dist/apps/playlists/components/playlist-list/PlaylistListComponent.d.ts +10 -0
  40. package/dist/apps/playlists/components/playlist-list/PlaylistListHeaderComponent.d.ts +11 -0
  41. package/dist/apps/playlists/components/playlist-list/index.d.ts +4 -0
  42. package/dist/apps/playlists/components/video-list/SortableVideoListContainer.d.ts +12 -0
  43. package/dist/apps/playlists/components/video-list/index.d.ts +1 -0
  44. package/dist/apps/playlists/components/video-not-found/VideoNotFoundComponent.d.ts +8 -0
  45. package/dist/apps/playlists/components/video-not-found/index.d.ts +1 -0
  46. package/dist/apps/playlists/context/PlaylistsAppContext.d.ts +4 -0
  47. package/dist/apps/playlists/context/index.d.ts +1 -0
  48. package/dist/apps/playlists/enums/MigrationTaskStatus.d.ts +6 -0
  49. package/dist/apps/playlists/enums/PlaylistSortType.d.ts +5 -0
  50. package/dist/apps/playlists/enums/index.d.ts +2 -0
  51. package/dist/apps/playlists/filters/MigrationFilter.d.ts +2 -0
  52. package/dist/apps/playlists/filters/index.d.ts +1 -0
  53. package/dist/apps/playlists/flight-requests/PlaylistRequests.d.ts +21 -0
  54. package/dist/apps/playlists/flight-requests/SubjectRequests.d.ts +5 -0
  55. package/dist/apps/playlists/flight-requests/VideoRequests.d.ts +5 -0
  56. package/dist/apps/playlists/flight-requests/index.d.ts +3 -0
  57. package/dist/apps/playlists/flight-requests/utils/PlaylistStateUpdateHelper.d.ts +11 -0
  58. package/dist/apps/playlists/flight-requests/utils/index.d.ts +1 -0
  59. package/dist/apps/playlists/hooks/UseHandlePlaylistError.d.ts +3 -0
  60. package/dist/apps/playlists/hooks/index.d.ts +1 -0
  61. package/dist/apps/playlists/interfaces/PlaylistCollectionIdentifier.d.ts +5 -0
  62. package/dist/apps/playlists/interfaces/PlaylistVideoCollectionIdentifier.d.ts +4 -0
  63. package/dist/apps/playlists/interfaces/data-requests/CreateOrUpdatePlaylistRequest.d.ts +4 -0
  64. package/dist/apps/playlists/interfaces/data-requests/index.d.ts +1 -0
  65. package/dist/apps/playlists/interfaces/index.d.ts +4 -0
  66. package/dist/apps/playlists/interfaces/models/Following.d.ts +4 -0
  67. package/dist/apps/playlists/interfaces/models/MigrationTask.d.ts +4 -0
  68. package/dist/apps/playlists/interfaces/models/index.d.ts +2 -0
  69. package/dist/apps/playlists/services/FlightPlaylistDataService.d.ts +15 -0
  70. package/dist/apps/playlists/services/index.d.ts +1 -0
  71. package/dist/apps/playlists/utils/PlaylistSortHelper.d.ts +5 -0
  72. package/dist/apps/playlists/utils/PlaylistVideoActionAppLinkHelper.d.ts +3 -0
  73. package/dist/apps/playlists/utils/RecentPlaylistHelper.d.ts +14 -0
  74. package/dist/apps/playlists/utils/index.d.ts +4 -0
  75. package/dist/apps/playlists/utils/validation/PlaylistValidationSchema.d.ts +5 -0
  76. package/dist/apps/playlists/utils/validation/index.d.ts +1 -0
  77. package/dist/apps/playlists/views/add-to-playlist/AddToPlaylistView.d.ts +6 -0
  78. package/dist/apps/playlists/views/add-to-playlist/components/index.d.ts +1 -0
  79. package/dist/apps/playlists/views/add-to-playlist/components/select-playlist/SelectPlaylist.d.ts +10 -0
  80. package/dist/apps/playlists/views/add-to-playlist/components/select-playlist/index.d.ts +1 -0
  81. package/dist/apps/playlists/views/add-to-playlist/index.d.ts +1 -0
  82. package/dist/apps/playlists/views/delete-playlist/DeletePlaylistView.d.ts +10 -0
  83. package/dist/apps/playlists/views/delete-playlist/index.d.ts +1 -0
  84. package/dist/apps/playlists/views/edit-playlist/EditPlaylistView.d.ts +8 -0
  85. package/dist/apps/playlists/views/edit-playlist/index.d.ts +1 -0
  86. package/dist/apps/playlists/views/index.d.ts +10 -0
  87. package/dist/apps/playlists/views/left-nav/LeftNavView.d.ts +5 -0
  88. package/dist/apps/playlists/views/left-nav/index.d.ts +1 -0
  89. package/dist/apps/playlists/views/migration-in-progress/MigrationInProgressView.d.ts +2 -0
  90. package/dist/apps/playlists/views/migration-in-progress/index.d.ts +1 -0
  91. package/dist/apps/playlists/views/new-playlist/NewPlaylistView.d.ts +8 -0
  92. package/dist/apps/playlists/views/new-playlist/index.d.ts +1 -0
  93. package/dist/apps/playlists/views/play-playlist/PlayPlaylistView.d.ts +11 -0
  94. package/dist/apps/playlists/views/play-playlist/index.d.ts +1 -0
  95. package/dist/apps/playlists/views/playlist/PlaylistView.d.ts +19 -0
  96. package/dist/apps/playlists/views/playlist/PlaylistViewUtils.d.ts +19 -0
  97. package/dist/apps/playlists/views/playlist/index.d.ts +1 -0
  98. package/dist/apps/playlists/views/playlists/PlaylistsView.d.ts +11 -0
  99. package/dist/apps/playlists/views/playlists/index.d.ts +1 -0
  100. package/dist/apps/playlists/views/remove-video-from-playlist/RemoveVideoFromPlaylistView.d.ts +9 -0
  101. package/dist/apps/playlists/views/remove-video-from-playlist/index.d.ts +1 -0
  102. package/dist/apps/subjects/SubjectApplication.d.ts +20 -0
  103. package/dist/apps/subjects/context/SubjectAppContext.d.ts +4 -0
  104. package/dist/apps/subjects/context/index.d.ts +1 -0
  105. package/dist/apps/subjects/views/SubjectPlaylistView.d.ts +9 -0
  106. package/dist/apps/subjects/views/index.d.ts +1 -0
  107. package/dist/clients/lite/components/apps/content-updates/classification-banner/LiteClassificationBanner.d.ts +2 -0
  108. package/dist/clients/lite/components/apps/content-updates/classification-update-breadcrumbs/LiteClassificationUpdateBreadcrumbs.d.ts +2 -0
  109. package/dist/clients/lite/components/apps/content-updates/index.d.ts +3 -0
  110. package/dist/clients/lite/components/apps/content-updates/whats-new-breadcrumbs/LiteWhatsNewBreadcrumbs.d.ts +2 -0
  111. package/dist/clients/lite/components/apps/playlists/index.d.ts +4 -0
  112. package/dist/clients/lite/components/apps/playlists/playlist-header/PlaylistHeader.d.ts +2 -0
  113. package/dist/clients/lite/components/apps/playlists/playlist-header/index.d.ts +1 -0
  114. package/dist/clients/lite/components/apps/playlists/playlist-list-header/PlaylistListHeader.d.ts +2 -0
  115. package/dist/clients/lite/components/apps/playlists/playlist-list-header/index.d.ts +1 -0
  116. package/dist/clients/lite/components/apps/playlists/playlist-sort-select/PlaylistSortSelect.d.ts +8 -0
  117. package/dist/clients/lite/components/apps/playlists/playlist-sort-select/index.d.ts +1 -0
  118. package/dist/clients/lite/components/apps/playlists/video-list/SortableVideoListContainer.d.ts +3 -0
  119. package/dist/clients/lite/components/apps/playlists/video-list/index.d.ts +1 -0
  120. package/dist/clients/lite/components/index.d.ts +3 -0
  121. package/dist/clients/lite/components/shared/Popup.d.ts +3 -0
  122. package/dist/clients/lite/components/shared/index.d.ts +1 -0
  123. package/dist/clients/lite/index.d.ts +1 -0
  124. package/dist/clients/online/components/apps/content-updates/classification-banner/OnlineClassificationBanner.d.ts +2 -0
  125. package/dist/clients/online/components/apps/content-updates/classification-update-breadcrumbs/OnlineClassificationUpdateBreadcrumbs.d.ts +2 -0
  126. package/dist/clients/online/components/apps/content-updates/index.d.ts +3 -0
  127. package/dist/clients/online/components/apps/content-updates/whats-new-breadcrumbs/OnlineWhatsNewBreadcrumbs.d.ts +2 -0
  128. package/dist/clients/online/components/apps/playlists/index.d.ts +9 -0
  129. package/dist/clients/online/components/apps/playlists/left-nav/LeftNavComponent.d.ts +11 -0
  130. package/dist/clients/online/components/apps/playlists/left-nav/LeftNavItemComponent.d.ts +8 -0
  131. package/dist/clients/online/components/apps/playlists/left-nav/index.d.ts +1 -0
  132. package/dist/clients/online/components/apps/playlists/left-nav/partial-loading/PartialLeftNavComponent.d.ts +2 -0
  133. package/dist/clients/online/components/apps/playlists/left-nav/partial-loading/index.d.ts +1 -0
  134. package/dist/clients/online/components/apps/playlists/play-playlist/PlayPlaylistComponent.d.ts +15 -0
  135. package/dist/clients/online/components/apps/playlists/play-playlist/index.d.ts +1 -0
  136. package/dist/clients/online/components/apps/playlists/playlist-actions/PlaylistActionsComponent.d.ts +9 -0
  137. package/dist/clients/online/components/apps/playlists/playlist-actions/index.d.ts +1 -0
  138. package/dist/clients/online/components/apps/playlists/playlist-header/PlaylistBreadcrumbsComponent.d.ts +7 -0
  139. package/dist/clients/online/components/apps/playlists/playlist-header/PlaylistHeaderComponent.d.ts +3 -0
  140. package/dist/clients/online/components/apps/playlists/playlist-header/index.d.ts +1 -0
  141. package/dist/clients/online/components/apps/playlists/playlist-header/partial-loading/PartialPlaylistHeaderComponent.d.ts +6 -0
  142. package/dist/clients/online/components/apps/playlists/playlist-header/partial-loading/index.d.ts +1 -0
  143. package/dist/clients/online/components/apps/playlists/playlist-list/PartialPlaylistListComponent.d.ts +2 -0
  144. package/dist/clients/online/components/apps/playlists/playlist-list/PartialPlaylistListHeader.d.ts +1 -0
  145. package/dist/clients/online/components/apps/playlists/playlist-list/PlaylistItemComponent.d.ts +7 -0
  146. package/dist/clients/online/components/apps/playlists/playlist-list/PlaylistListComponent.d.ts +3 -0
  147. package/dist/clients/online/components/apps/playlists/playlist-list/PlaylistListHeaderComponent.d.ts +3 -0
  148. package/dist/clients/online/components/apps/playlists/playlist-list/index.d.ts +4 -0
  149. package/dist/clients/online/components/apps/playlists/series-metadata/SeriesMetadata.d.ts +6 -0
  150. package/dist/clients/online/components/apps/playlists/series-metadata/index.d.ts +1 -0
  151. package/dist/clients/online/components/apps/playlists/share-playlist/SharePlaylistComponent.d.ts +7 -0
  152. package/dist/clients/online/components/apps/playlists/share-playlist/index.d.ts +1 -0
  153. package/dist/clients/online/components/apps/playlists/video-list/PartialVideoListComponent.d.ts +2 -0
  154. package/dist/clients/online/components/apps/playlists/video-list/PlaceHolder.d.ts +1 -0
  155. package/dist/clients/online/components/apps/playlists/video-list/RestrictedBadge.d.ts +6 -0
  156. package/dist/clients/online/components/apps/playlists/video-list/RestrictionInfo.d.ts +6 -0
  157. package/dist/clients/online/components/apps/playlists/video-list/SortableVideoListComponent.d.ts +8 -0
  158. package/dist/clients/online/components/apps/playlists/video-list/SortableVideoListContainer.d.ts +3 -0
  159. package/dist/clients/online/components/apps/playlists/video-list/ThumbnailComponent.d.ts +10 -0
  160. package/dist/clients/online/components/apps/playlists/video-list/VideoActionsComponent.d.ts +12 -0
  161. package/dist/clients/online/components/apps/playlists/video-list/VideoItemComponent.d.ts +15 -0
  162. package/dist/clients/online/components/apps/playlists/video-list/VideoItemPreviewComponent.d.ts +9 -0
  163. package/dist/clients/online/components/apps/playlists/video-list/index.d.ts +1 -0
  164. package/dist/clients/online/components/apps/playlists/web-player/WebPlayerComponent.d.ts +7 -0
  165. package/dist/clients/online/components/apps/playlists/web-player/index.d.ts +1 -0
  166. package/dist/clients/online/components/index.d.ts +3 -0
  167. package/dist/clients/online/components/shared/AlertContentComponent.d.ts +3 -0
  168. package/dist/clients/online/components/shared/InfiniteScrollFooter.d.ts +3 -0
  169. package/dist/clients/online/components/shared/PopupButtons.d.ts +3 -0
  170. package/dist/clients/online/components/shared/PopupComponent.d.ts +8 -0
  171. package/dist/clients/online/components/shared/SpinnerComponent.d.ts +3 -0
  172. package/dist/clients/online/components/shared/SvgComponent.d.ts +3 -0
  173. package/dist/clients/online/components/shared/index.d.ts +6 -0
  174. package/dist/clients/online/constants/ResponsiveHideLeftNavAppLinks.d.ts +2 -0
  175. package/dist/clients/online/constants/Services.d.ts +3 -0
  176. package/dist/clients/online/constants/index.d.ts +2 -0
  177. package/dist/clients/online/hooks/UseListenOn.d.ts +4 -0
  178. package/dist/clients/online/hooks/index.d.ts +1 -0
  179. package/dist/clients/online/index.d.ts +4 -0
  180. package/dist/clients/online/layouts/OnlinePlaylistsLayoutView.d.ts +11 -0
  181. package/dist/clients/online/layouts/index.d.ts +1 -0
  182. package/dist/clients/online/services/OnlineContextService.d.ts +10 -0
  183. package/dist/clients/online/services/index.d.ts +1 -0
  184. package/dist/clients/online/utils/BackboneHelper.d.ts +18 -0
  185. package/dist/clients/online/utils/OnlineContentUpdateAppLinks.d.ts +2 -0
  186. package/dist/clients/online/utils/OnlineHelper.d.ts +11 -0
  187. package/dist/clients/online/utils/PopupHelper.d.ts +12 -0
  188. package/dist/clients/online/utils/index.d.ts +4 -0
  189. package/dist/clients/online/views/apps/playlists/LeftNavView.d.ts +3 -0
  190. package/dist/clients/online/views/apps/playlists/PlayPlaylistView.d.ts +3 -0
  191. package/dist/clients/online/views/apps/playlists/index.d.ts +2 -0
  192. package/dist/clients/online/views/index.d.ts +2 -0
  193. package/dist/clients/online/views/shared/ShareView.d.ts +3 -0
  194. package/dist/clients/online/views/shared/index.d.ts +1 -0
  195. package/dist/en.json +1 -0
  196. package/dist/index.d.ts +54 -0
  197. package/dist/online-app.css +6 -0
  198. package/dist/online-app.js +17 -0
  199. package/dist/shared/components/AppLinkComponent.d.ts +12 -0
  200. package/dist/shared/components/ClientWrapperComponent.d.ts +7 -0
  201. package/dist/shared/components/EmptyStateComponent.d.ts +8 -0
  202. package/dist/shared/components/InfiniteScrollFooterComponent.d.ts +6 -0
  203. package/dist/shared/components/LazyImageComponent.d.ts +2 -0
  204. package/dist/shared/components/SpinnerButtonComponent.d.ts +12 -0
  205. package/dist/shared/components/SpinnerComponent.d.ts +6 -0
  206. package/dist/shared/components/SvgComponent.d.ts +7 -0
  207. package/dist/shared/components/alert/AlertComponent.d.ts +7 -0
  208. package/dist/shared/components/alert/AlertContentComponent.d.ts +8 -0
  209. package/dist/shared/components/alert/index.d.ts +2 -0
  210. package/dist/shared/components/dropdown/DropdownComponent.d.ts +8 -0
  211. package/dist/shared/components/dropdown/DropdownItemComponent.d.ts +10 -0
  212. package/dist/shared/components/dropdown/index.d.ts +2 -0
  213. package/dist/shared/components/forms/FormFieldComponent.d.ts +9 -0
  214. package/dist/shared/components/forms/FormWrapperComponent.d.ts +12 -0
  215. package/dist/shared/components/forms/index.d.ts +2 -0
  216. package/dist/shared/components/index.d.ts +12 -0
  217. package/dist/shared/components/popup/PopupButtonsComponent.d.ts +5 -0
  218. package/dist/shared/components/popup/PopupComponent.d.ts +7 -0
  219. package/dist/shared/components/popup/PopupLoadingSpinnerComponent.d.ts +2 -0
  220. package/dist/shared/components/popup/index.d.ts +3 -0
  221. package/dist/shared/constants/Actions.d.ts +38 -0
  222. package/dist/shared/constants/BootstrapKeys.d.ts +3 -0
  223. package/dist/shared/constants/DataPrefixes.d.ts +20 -0
  224. package/dist/shared/constants/Layouts.d.ts +3 -0
  225. package/dist/shared/constants/RadioChannels.d.ts +12 -0
  226. package/dist/shared/constants/Services.d.ts +7 -0
  227. package/dist/shared/constants/SupportArticles.d.ts +3 -0
  228. package/dist/shared/constants/WithStatements.d.ts +5 -0
  229. package/dist/shared/constants/index.d.ts +8 -0
  230. package/dist/shared/context/PageTitleContext.d.ts +10 -0
  231. package/dist/shared/context/index.d.ts +1 -0
  232. package/dist/shared/enums/Svg.d.ts +13 -0
  233. package/dist/shared/enums/index.d.ts +1 -0
  234. package/dist/shared/flight-requests/ConfigRequests.d.ts +4 -0
  235. package/dist/shared/flight-requests/UserRequests.d.ts +4 -0
  236. package/dist/shared/flight-requests/index.d.ts +2 -0
  237. package/dist/shared/hooks/UseBatchFetch.d.ts +14 -0
  238. package/dist/shared/hooks/UseFetchAll.d.ts +12 -0
  239. package/dist/shared/hooks/UseInfiniteList.d.ts +20 -0
  240. package/dist/shared/hooks/UseInfiniteScroll.d.ts +1 -0
  241. package/dist/shared/hooks/UsePolling.d.ts +1 -0
  242. package/dist/shared/hooks/UseRenderBackboneView.d.ts +10 -0
  243. package/dist/shared/hooks/UseRevertPageTitleOnUnsetChild.d.ts +2 -0
  244. package/dist/shared/hooks/UseSelectAllPages.d.ts +15 -0
  245. package/dist/shared/hooks/UseSetPageTitle.d.ts +7 -0
  246. package/dist/shared/hooks/UseVideoMixin.d.ts +2 -0
  247. package/dist/shared/hooks/index.d.ts +10 -0
  248. package/dist/shared/interfaces/AppLinkWithLabel.d.ts +5 -0
  249. package/dist/shared/interfaces/SharedObject.d.ts +8 -0
  250. package/dist/shared/interfaces/index.d.ts +4 -0
  251. package/dist/shared/interfaces/models/Restriction.d.ts +6 -0
  252. package/dist/shared/interfaces/models/VideoWithRestrictions.d.ts +5 -0
  253. package/dist/shared/interfaces/models/index.d.ts +2 -0
  254. package/dist/shared/interfaces/props/ViewProps.d.ts +6 -0
  255. package/dist/shared/interfaces/props/index.d.ts +1 -0
  256. package/dist/shared/layouts/LayoutComponent.d.ts +12 -0
  257. package/dist/shared/layouts/OnlineLayoutView.d.ts +26 -0
  258. package/dist/shared/layouts/index.d.ts +2 -0
  259. package/dist/shared/services/ClientComponentService.d.ts +22 -0
  260. package/dist/shared/services/LanguageDataService.d.ts +11 -0
  261. package/dist/shared/services/index.d.ts +2 -0
  262. package/dist/shared/utils/PageTitleHelper.d.ts +3 -0
  263. package/dist/shared/utils/RestrictionHelper.d.ts +6 -0
  264. package/dist/shared/utils/index.d.ts +2 -0
  265. package/dist/shared/views/AlertView.d.ts +8 -0
  266. package/dist/shared/views/ErrorView.d.ts +11 -0
  267. package/dist/shared/views/ShareView.d.ts +6 -0
  268. package/dist/shared/views/index.d.ts +3 -0
  269. package/package.json +47 -0
  270. package/tooling/externals.js +58 -0
  271. package/typings/libs/LazyLoad.d.ts +22 -0
  272. package/typings/utils/imports.d.ts +9 -0
package/README.md ADDED
@@ -0,0 +1 @@
1
+ online
@@ -0,0 +1,12 @@
1
+ import { Core, HashObject } from '@clickview/common';
2
+ import { OnlineLayoutViewOptions, OnlineLayoutView } from 'shared/layouts';
3
+ export declare class ContentUpdatesApplication extends Core.Application {
4
+ protected layout: OnlineLayoutView;
5
+ get name(): string;
6
+ static get router(): any;
7
+ get channelName(): string;
8
+ get layoutOptions(): Core.LayoutOptions<OnlineLayoutViewOptions>;
9
+ contentUpdates(): void;
10
+ classificationUpdate(classificationId: string): void;
11
+ protected onShowAlert(options?: HashObject): void;
12
+ }
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { Core } from '@clickview/common';
3
+ import { Classification } from '@clickview/shared';
4
+ export interface ClassificationBannerContainerProps {
5
+ classification: Classification;
6
+ backgroundUrl: string;
7
+ getClassificationAppLink: (classification: Classification) => Core.AppLink;
8
+ followed: boolean;
9
+ follow: (classificationId: string, follow: boolean) => void;
10
+ }
11
+ export declare function ClassificationBannerContainer(props: ClassificationBannerContainerProps): React.ReactElement;
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { Classification } from '@clickview/shared';
3
+ import { Core } from '@clickview/common';
4
+ export interface ClassificationUpdateBreadcrumbsContainerProps {
5
+ classification: Classification;
6
+ contentUpdatesAppLink: Core.AppLink;
7
+ dashboardAppLink: Core.AppLink;
8
+ }
9
+ export declare function ClassificationUpdateBreadcrumbsContainer(props: ClassificationUpdateBreadcrumbsContainerProps): React.ReactElement;
@@ -0,0 +1,3 @@
1
+ export * from './whats-new-breadcrumbs/WhatsNewBreadcrumbsContainer';
2
+ export * from './classification-banner/ClassifictionBannerContainer';
3
+ export * from './classification-update-breadcrumbs/ClassificationUpdateBreadcrumbsContainer';
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import { Core } from '@clickview/common';
3
+ export interface WhatsNewBreadcrumbsProps {
4
+ dashboardAppLink: Core.AppLink;
5
+ }
6
+ export declare function WhatsNewBreadcrumbsContainer(props: WhatsNewBreadcrumbsProps): React.ReactElement;
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ export declare const ContentUpdatesAppContext: ({ children }: {
3
+ children?: React.ReactNode;
4
+ }) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>;
@@ -0,0 +1 @@
1
+ export * from './ContentUpdatesAppContext';
@@ -0,0 +1,11 @@
1
+ import { Flight } from '@clickview/common';
2
+ import { Video } from '@clickview/shared';
3
+ export declare const ContentUpdateRequests: {
4
+ getContentUpdates(from: string, to: string): Flight.Request;
5
+ getClassifications(ids: string[]): Flight.Request;
6
+ getClassification(id: string): Flight.Request;
7
+ /**
8
+ * TODO: Delete thise and use the shared video requests
9
+ */
10
+ videos(ids: string[], success?: (data: Video[]) => void): Flight.Request;
11
+ };
@@ -0,0 +1 @@
1
+ export * from './ContentUpdatesRequests';
@@ -0,0 +1,6 @@
1
+ import { VideoClassificationMapping, Reason } from 'apps/content-updates/interfaces';
2
+ export interface ClassificationVideosGrouping {
3
+ classificationId: string;
4
+ videos: VideoClassificationMapping[];
5
+ reason?: Reason;
6
+ }
@@ -0,0 +1,7 @@
1
+ import { Classification } from '@clickview/shared';
2
+ import { VideoWithClassification } from 'apps/content-updates/interfaces';
3
+ export interface ContentUpdate {
4
+ classification: Classification;
5
+ videos: VideoWithClassification[];
6
+ showMore: boolean;
7
+ }
@@ -0,0 +1,12 @@
1
+ import { Video, Series, Classification } from '@clickview/shared';
2
+ import { Core } from '@clickview/common';
3
+ export interface ContentUpdateAppLinks {
4
+ getVideoAppLink: (video: Video) => Core.AppLink;
5
+ getSeriesAppLink: (series: Series) => Core.AppLink;
6
+ contentUpdatesAppLink: Core.AppLink;
7
+ dashboardAppLink: Core.AppLink;
8
+ getClassificationUpdateAppLink: (classification: Classification) => Core.AppLink;
9
+ getClassificationAppLink: (classification: Classification) => Core.AppLink;
10
+ getShareAppLink?: (video: Video) => Core.AppLink;
11
+ getAddToPlaylistAppLink?: (video: Video) => Core.AppLink;
12
+ }
@@ -0,0 +1,6 @@
1
+ import { HashObject } from '@clickview/common';
2
+ export interface Reason {
3
+ activityType: string;
4
+ details: string;
5
+ metadata: HashObject;
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface VideoClassificationMapping {
2
+ classificationId: string;
3
+ videoId: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { Classification, Video } from '@clickview/shared';
2
+ export interface VideoWithClassification extends Video {
3
+ classification: Classification;
4
+ }
@@ -0,0 +1,7 @@
1
+ export * from './ContentUpdate';
2
+ export * from './ContentUpdateAppLinks';
3
+ export * from './VideoWithClassification';
4
+ export * from './Reason';
5
+ export * from './VideoClassificationMapping';
6
+ export * from './VideoWithClassification';
7
+ export * from './ClassificationVideosGrouping';
@@ -0,0 +1,7 @@
1
+ import { ContentUpdateAppLinks } from 'apps/content-updates/interfaces';
2
+ interface ClassificationUpdateViewProps {
3
+ classificationId: string;
4
+ appLinks: ContentUpdateAppLinks;
5
+ }
6
+ export declare function ClassificationUpdateView(props: ClassificationUpdateViewProps): JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export * from './ClassificationUpdateView';
@@ -0,0 +1,6 @@
1
+ import { ContentUpdateAppLinks } from 'apps/content-updates/interfaces';
2
+ interface ContentUpdatesViewProps {
3
+ appLinks: ContentUpdateAppLinks;
4
+ }
5
+ export declare function ContentUpdatesView(props: ContentUpdatesViewProps): JSX.Element;
6
+ export {};
@@ -0,0 +1,14 @@
1
+ import { Classification } from '@clickview/shared';
2
+ import { VideoWithClassification } from 'apps/content-updates/interfaces';
3
+ import { ContentUpdateAppLinks } from 'apps/content-updates/interfaces/ContentUpdateAppLinks';
4
+ interface ClassificationProps {
5
+ classification: Classification;
6
+ videos: VideoWithClassification[];
7
+ imageCdnUrl: string;
8
+ showMore: boolean;
9
+ appLinks: ContentUpdateAppLinks;
10
+ followed: boolean;
11
+ follow: (classificationId: string, follow: boolean) => void;
12
+ }
13
+ export declare function ContentUpdateClassification(props: ClassificationProps): JSX.Element;
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from './ContentUpdatesView';
@@ -0,0 +1,2 @@
1
+ export * from './content-updates';
2
+ export * from './classification-update';
@@ -0,0 +1,12 @@
1
+ import { Core } from '@clickview/common';
2
+ import { OnlineLayoutViewOptions } from 'shared/layouts';
3
+ export declare class DefaultApplication extends Core.Application {
4
+ get name(): string;
5
+ static get router(): any;
6
+ get channelName(): string;
7
+ get layoutOptions(): Core.LayoutOptions<OnlineLayoutViewOptions>;
8
+ index(): void;
9
+ video(id: string): void;
10
+ series(id: string): void;
11
+ private navigate;
12
+ }
@@ -0,0 +1,36 @@
1
+ import { ObjectHash } from 'backbone';
2
+ import { Core, HashObject } from '@clickview/common';
3
+ import { OnlineLayoutView, OnlineLayoutViewOptions } from 'shared/layouts';
4
+ export declare class PlaylistApplication extends Core.Application {
5
+ protected layout: OnlineLayoutView;
6
+ private currentPlaylistId;
7
+ initialize(): void;
8
+ get name(): string;
9
+ static get router(): any;
10
+ get channelName(): string;
11
+ get layoutOptions(): Core.LayoutOptions<OnlineLayoutViewOptions>;
12
+ index(params: HashObject): void;
13
+ playlist(playlistId: string): void;
14
+ newPlaylist(): void;
15
+ editPlaylist(playlistId: string): void;
16
+ deletePlaylist(playlistId: string): void;
17
+ removeVideoFromPlaylist(videoId: string, playlistId: string): void;
18
+ playPlaylist(playlistId: string): void;
19
+ playPlaylistVideo(playlistId: string, videoId?: string): void;
20
+ sharePlaylist(playlistId: string): void;
21
+ sharedPlaylist(shareCode: string): void;
22
+ playSharedPlaylist(shareCode: string): void;
23
+ playSharedPlaylistVideo(shareCode: string, videoId?: string): void;
24
+ series(seriesId: string): void;
25
+ accessDenied(): void;
26
+ notFound(): void;
27
+ migrationInProgress(): void;
28
+ private renderLeftNav;
29
+ protected onShowAlert(options?: ObjectHash): void;
30
+ private setCurrentPlaylist;
31
+ private hideLeftNav;
32
+ private getPopupProps;
33
+ private getPlaylistAppLink;
34
+ private getVideoAppLink;
35
+ private getPhrase;
36
+ }
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare function EmptyPlaylistListComponent(): React.ReactElement;
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ interface EmptyVideoListComponentProps {
3
+ supportSiteUrl: string;
4
+ }
5
+ export declare function EmptyVideoListComponent(props: EmptyVideoListComponentProps): React.ReactElement;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './EmptyPlaylistListComponent';
2
+ export * from './EmptyVideoListComponent';
@@ -0,0 +1,7 @@
1
+ export * from './empty-state';
2
+ export * from './playlist-header';
3
+ export * from './playlist-list';
4
+ export * from './new-playlist-button';
5
+ export * from './playlist-details';
6
+ export * from './video-list';
7
+ export * from './video-not-found';
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import { PropsWithAnalyticsOptions } from 'shared/interfaces';
3
+ interface NewPlaylistButtonComponentProps {
4
+ className?: string;
5
+ }
6
+ declare type PropTypes = PropsWithAnalyticsOptions<NewPlaylistButtonComponentProps>;
7
+ export declare function NewPlaylistButtonComponent({ className, analyticsOptions }: PropTypes): React.ReactElement;
8
+ export {};
@@ -0,0 +1 @@
1
+ export * from './NewPlaylistButtonComponent';
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { Playlist } from '@clickview/shared';
3
+ import { CreateOrUpdatePlaylistRequest } from 'apps/playlists/interfaces';
4
+ interface PlaylistDetailsComponentProps {
5
+ playlist?: Playlist;
6
+ savePlaylist: (data: CreateOrUpdatePlaylistRequest) => void;
7
+ onClickCancel: () => void;
8
+ }
9
+ export declare function PlaylistDetailsComponent(props: PlaylistDetailsComponentProps): React.ReactElement;
10
+ export {};
@@ -0,0 +1 @@
1
+ export * from './PlaylistDetailsComponent';
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import { Core } from '@clickview/common';
3
+ import { Playlist } from '@clickview/shared';
4
+ interface PlaylistHeaderActionsComponentProps {
5
+ playlistId: string;
6
+ playlist: Playlist;
7
+ hasVideos: boolean;
8
+ application: string;
9
+ canEdit: boolean;
10
+ canShare: boolean;
11
+ canFollow: boolean;
12
+ isFollowing: boolean;
13
+ follow: (shouldFollow: boolean) => void;
14
+ playAllAppLink?: Core.AppLink;
15
+ }
16
+ export declare function PlaylistHeaderActionsComponent(props: PlaylistHeaderActionsComponentProps): React.ReactElement;
17
+ export {};
@@ -0,0 +1,22 @@
1
+ import * as React from 'react';
2
+ import { Core } from '@clickview/common';
3
+ import { AppLinkWithLabel } from 'shared/interfaces';
4
+ import { Playlist } from '@clickview/shared';
5
+ export interface PlaylistHeaderComponentProps {
6
+ playlistId: string;
7
+ playlist: Playlist;
8
+ hasVideos: boolean;
9
+ isFollowing: boolean;
10
+ follow: (shouldFollow: boolean) => void;
11
+ application: string;
12
+ imageCdnUrl: string;
13
+ showPartialLoading: boolean;
14
+ showBreadcrumbs: boolean;
15
+ showDateMetadata: boolean;
16
+ canEdit?: boolean;
17
+ isShared?: boolean;
18
+ playAllAppLink?: Core.AppLink;
19
+ returnAppLink?: AppLinkWithLabel;
20
+ lastUpdated?: string;
21
+ }
22
+ export declare function PlaylistHeaderComponent(props: PlaylistHeaderComponentProps): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ export * from './PlaylistHeaderActionsComponent';
2
+ export * from './PlaylistHeaderComponent';
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare function PartialPlaylistList(): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare function PartialPlaylistListHeader(): React.ReactElement;
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { Core } from '@clickview/common';
3
+ import { Playlist, PresentationAudience } from '@clickview/shared';
4
+ export interface PlaylistListComponentProps {
5
+ playlists: Playlist[];
6
+ getPlaylistAppLink: (playlist: Playlist) => Core.AppLink;
7
+ presentationAudiences: PresentationAudience[];
8
+ showCount?: boolean;
9
+ }
10
+ export declare function PlaylistListComponent(props: PlaylistListComponentProps): React.ReactElement;
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { CurrentUser } from '@clickview/shared';
3
+ import { Core } from '@clickview/common';
4
+ import { PlaylistSortType } from 'apps/playlists/enums';
5
+ export interface PlaylistListHeaderComponentProps {
6
+ user: CurrentUser;
7
+ imageCdnUrl: string;
8
+ sortType: PlaylistSortType;
9
+ getSortAppLink: (sort: PlaylistSortType) => Core.AppLink;
10
+ }
11
+ export declare function PlaylistListHeaderComponent(props: PlaylistListHeaderComponentProps): React.ReactElement;
@@ -0,0 +1,4 @@
1
+ export * from './PartialPlaylistList';
2
+ export * from './PartialPlaylistListHeader';
3
+ export * from './PlaylistListComponent';
4
+ export * from './PlaylistListHeaderComponent';
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import { VideoListProps } from '@clickview/shared';
3
+ export interface SortableVideoListContainerProps extends VideoListProps {
4
+ playlistId: string;
5
+ onSortComplete: (oldIdx: number, newIdx: number) => void;
6
+ onSortStart?: (index: number) => void;
7
+ isUserSignedIn: boolean;
8
+ canEdit?: boolean;
9
+ showPartialLoading?: boolean;
10
+ fetchRestrictions?: () => void;
11
+ }
12
+ export declare function SortableVideoListContainer(props: SortableVideoListContainerProps): React.ReactElement;
@@ -0,0 +1 @@
1
+ export * from './SortableVideoListContainer';
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import { Playlist } from '@clickview/shared';
3
+ interface VideoNotFoundComponentProps {
4
+ playlist: Playlist;
5
+ isShared?: boolean;
6
+ }
7
+ export declare function VideoNotFoundComponent({ playlist, isShared }: VideoNotFoundComponentProps): React.ReactElement;
8
+ export {};
@@ -0,0 +1 @@
1
+ export * from './VideoNotFoundComponent';
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ export declare const PlaylistsAppContextProvider: ({ children }: {
3
+ children?: React.ReactNode;
4
+ }) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>;
@@ -0,0 +1 @@
1
+ export * from './PlaylistsAppContext';
@@ -0,0 +1,6 @@
1
+ export declare enum MigrationTaskStatus {
2
+ Queued = 1,
3
+ Processing = 2,
4
+ Processed = 3,
5
+ Errored = 4
6
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum PlaylistSortType {
2
+ Newest = "newest",
3
+ RecentlyUpdated = "recentlyupdated",
4
+ AtoZ = "atoz"
5
+ }
@@ -0,0 +1,2 @@
1
+ export * from './MigrationTaskStatus';
2
+ export * from './PlaylistSortType';
@@ -0,0 +1,2 @@
1
+ import { Core } from '@clickview/common';
2
+ export declare function MigrationFilter(appLink: Core.AppLink, next: Core.MiddlewareNext<Core.AppLink>): void;
@@ -0,0 +1 @@
1
+ export * from './MigrationFilter';
@@ -0,0 +1,21 @@
1
+ import { Flight, Xhr } from '@clickview/common';
2
+ import { ReorderRequest } from '@clickview/shared';
3
+ import { CreateOrUpdatePlaylistRequest, PlaylistCollectionIdentifier } from 'apps/playlists/interfaces';
4
+ export declare const PlaylistRequests: {
5
+ getPlaylist(id: string, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
6
+ getSharedPlaylist(shareCode: string, maxAllowedRating?: number, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
7
+ getUserPlaylists(collectionIdentifier: PlaylistCollectionIdentifier): Flight.Request;
8
+ getPlaylistVideos(id: string, maxAllowedRating?: number, cursor?: string): Flight.Request;
9
+ getSharedPlaylistVideos(shareCode: string, maxAllowedRating?: number, cursor?: string): Flight.Request;
10
+ getVideoPlaylists(videoId: string, userId: string, cursor?: string): Flight.Request;
11
+ getIsFollowingPlaylist(playlistId: string, userId: string): Flight.Request;
12
+ createPlaylist(userId: string, data: CreateOrUpdatePlaylistRequest, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
13
+ updatePlaylist(id: string, data: CreateOrUpdatePlaylistRequest, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
14
+ deletePlaylist(id: string, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
15
+ addToPlaylist(playlistId: string, videoIds: string[], success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
16
+ reorderVideos(id: string, reorderRequest: ReorderRequest, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
17
+ removePlaylistVideo(playlistId: string, videoId: string, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
18
+ followPlaylist(playlistId: string, userId: string): Flight.Request;
19
+ unfollowPlaylist(playlistId: string, userId: string): Flight.Request;
20
+ getMigrationTask(success?: (data: any) => void, error?: (xhr: Xhr) => void): Flight.Request;
21
+ };
@@ -0,0 +1,5 @@
1
+ import { Flight } from '@clickview/common';
2
+ export declare const SubjectRequests: {
3
+ subject(id: string): Flight.Request;
4
+ audiences: Flight.Request;
5
+ };
@@ -0,0 +1,5 @@
1
+ import { Flight } from '@clickview/common';
2
+ export declare const VideoRequests: {
3
+ getVideo(id: string, success?: (data: any) => void, error?: (data: any) => void): Flight.Request;
4
+ getRestrictions(videoIds: string[]): Flight.Request;
5
+ };
@@ -0,0 +1,3 @@
1
+ export * from './PlaylistRequests';
2
+ export * from './SubjectRequests';
3
+ export * from './VideoRequests';
@@ -0,0 +1,11 @@
1
+ import { HashObject } from '@clickview/common';
2
+ import { CreateOrUpdatePlaylistRequest } from 'apps/playlists/interfaces';
3
+ declare type StateMap = {
4
+ [key: string]: HashObject;
5
+ };
6
+ export declare const PlaylistStateUpdateHelper: {
7
+ updatePlaylist(key: string, newPlaylist: CreateOrUpdatePlaylistRequest): (state: StateMap) => StateMap;
8
+ deletePlaylist(key: string): (state: StateMap) => StateMap;
9
+ incrementVideoCount(key: string, count: number): (state: StateMap) => StateMap;
10
+ };
11
+ export {};
@@ -0,0 +1 @@
1
+ export * from './PlaylistStateUpdateHelper';
@@ -0,0 +1,3 @@
1
+ import { Flight } from '@clickview/common';
2
+ import { Playlist } from '@clickview/shared';
3
+ export declare function useHandlePlaylistError(response: Flight.Response<Playlist>): void;
@@ -0,0 +1 @@
1
+ export * from './UseHandlePlaylistError';
@@ -0,0 +1,5 @@
1
+ import { BaseCollectionIdentifier } from '@clickview/common';
2
+ import { PlaylistSortType } from 'apps/playlists/enums';
3
+ export declare class PlaylistCollectionIdentifier extends BaseCollectionIdentifier<PlaylistSortType> {
4
+ constructor(sort?: PlaylistSortType, cursor?: string);
5
+ }
@@ -0,0 +1,4 @@
1
+ import { BaseCollectionIdentifier } from '@clickview/common';
2
+ export declare class PlaylistVideoCollectionIdentifier extends BaseCollectionIdentifier {
3
+ constructor(id: string, cursor?: string);
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface CreateOrUpdatePlaylistRequest {
2
+ name: string;
3
+ description?: string;
4
+ }
@@ -0,0 +1 @@
1
+ export * from './CreateOrUpdatePlaylistRequest';
@@ -0,0 +1,4 @@
1
+ export * from './data-requests';
2
+ export * from './models';
3
+ export * from './PlaylistCollectionIdentifier';
4
+ export * from './PlaylistVideoCollectionIdentifier';
@@ -0,0 +1,4 @@
1
+ export interface Following {
2
+ objectId: string;
3
+ isFollowing: boolean;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { MigrationTaskStatus } from 'apps/playlists/enums';
2
+ export interface MigrationTask {
3
+ status: MigrationTaskStatus;
4
+ }
@@ -0,0 +1,2 @@
1
+ export * from './Following';
2
+ export * from './MigrationTask';
@@ -0,0 +1,15 @@
1
+ import { Store } from 'redux';
2
+ import { Playlist } from '@clickview/shared';
3
+ import { MigrationTask } from 'apps/playlists/interfaces';
4
+ interface FlightPlaylistDataServiceOptions {
5
+ store: Store;
6
+ }
7
+ export declare class FlightPlaylistDataService {
8
+ private store;
9
+ constructor(options: FlightPlaylistDataServiceOptions);
10
+ get name(): string;
11
+ get channelName(): string;
12
+ getPlaylist(id: string, callback?: (data: Playlist) => void, errorCallback?: () => void): Playlist;
13
+ getMigrationTask(callback?: (data: MigrationTask) => void, errorCallback?: () => void): MigrationTask;
14
+ }
15
+ export {};
@@ -0,0 +1 @@
1
+ export * from './FlightPlaylistDataService';
@@ -0,0 +1,5 @@
1
+ import { PlaylistSortType } from 'apps/playlists/enums';
2
+ export declare const PlaylistSortHelper: {
3
+ getFilterFromSort(sort: PlaylistSortType): string;
4
+ getSortTypeFromName(sortName: string): PlaylistSortType;
5
+ };
@@ -0,0 +1,3 @@
1
+ import { Core } from '@clickview/common';
2
+ import { Video, VideoAction } from '@clickview/shared';
3
+ export declare function getVideoActionAppLink(application: string, playlistId: string): (video: Video, action: VideoAction) => Core.AppLink;
@@ -0,0 +1,14 @@
1
+ import { StorageHelper } from '@clickview/common';
2
+ interface AddRecentPlaylistsOptions {
3
+ id: string;
4
+ limit?: number;
5
+ }
6
+ export declare const RecentPlaylistHelper: {
7
+ /**
8
+ * Get a list of ids of playlists recently added to.
9
+ */
10
+ getRecentlyAddedTo(userId: string, dataSource: StorageHelper): string[];
11
+ setRecentlyAddedTo(userId: string, ids: string[], dataSource: StorageHelper): void;
12
+ addRecentlyAddedTo(userId: string, dataSource: StorageHelper, options: AddRecentPlaylistsOptions): string[];
13
+ };
14
+ export {};
@@ -0,0 +1,4 @@
1
+ export * from './validation';
2
+ export * from './PlaylistVideoActionAppLinkHelper';
3
+ export * from './RecentPlaylistHelper';
4
+ export * from './PlaylistSortHelper';
@@ -0,0 +1,5 @@
1
+ import * as Yup from 'yup';
2
+ export declare const PlaylistValidationSchema: Yup.ObjectSchema<Yup.Shape<object, {
3
+ name: string;
4
+ description: string;
5
+ }>>;