@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.
- package/README.md +1 -0
- package/dist/apps/content-updates/ContentUpdatesApplication.d.ts +12 -0
- package/dist/apps/content-updates/components/classification-banner/ClassifictionBannerContainer.d.ts +11 -0
- package/dist/apps/content-updates/components/classification-update-breadcrumbs/ClassificationUpdateBreadcrumbsContainer.d.ts +9 -0
- package/dist/apps/content-updates/components/index.d.ts +3 -0
- package/dist/apps/content-updates/components/whats-new-breadcrumbs/WhatsNewBreadcrumbsContainer.d.ts +6 -0
- package/dist/apps/content-updates/context/ContentUpdatesAppContext.d.ts +4 -0
- package/dist/apps/content-updates/context/index.d.ts +1 -0
- package/dist/apps/content-updates/flight-requests/ContentUpdatesRequests.d.ts +11 -0
- package/dist/apps/content-updates/flight-requests/index.d.ts +1 -0
- package/dist/apps/content-updates/interfaces/ClassificationVideosGrouping.d.ts +6 -0
- package/dist/apps/content-updates/interfaces/ContentUpdate.d.ts +7 -0
- package/dist/apps/content-updates/interfaces/ContentUpdateAppLinks.d.ts +12 -0
- package/dist/apps/content-updates/interfaces/Reason.d.ts +6 -0
- package/dist/apps/content-updates/interfaces/VideoClassificationMapping.d.ts +4 -0
- package/dist/apps/content-updates/interfaces/VideoWithClassification.d.ts +4 -0
- package/dist/apps/content-updates/interfaces/index.d.ts +7 -0
- package/dist/apps/content-updates/views/classification-update/ClassificationUpdateView.d.ts +7 -0
- package/dist/apps/content-updates/views/classification-update/index.d.ts +1 -0
- package/dist/apps/content-updates/views/content-updates/ContentUpdatesView.d.ts +6 -0
- package/dist/apps/content-updates/views/content-updates/components/ContentUpdateClassification.d.ts +14 -0
- package/dist/apps/content-updates/views/content-updates/index.d.ts +1 -0
- package/dist/apps/content-updates/views/index.d.ts +2 -0
- package/dist/apps/default/OnlineDefaultApplication.d.ts +12 -0
- package/dist/apps/playlists/PlaylistApplication.d.ts +36 -0
- package/dist/apps/playlists/components/empty-state/EmptyPlaylistListComponent.d.ts +2 -0
- package/dist/apps/playlists/components/empty-state/EmptyVideoListComponent.d.ts +6 -0
- package/dist/apps/playlists/components/empty-state/index.d.ts +2 -0
- package/dist/apps/playlists/components/index.d.ts +7 -0
- package/dist/apps/playlists/components/new-playlist-button/NewPlaylistButtonComponent.d.ts +8 -0
- package/dist/apps/playlists/components/new-playlist-button/index.d.ts +1 -0
- package/dist/apps/playlists/components/playlist-details/PlaylistDetailsComponent.d.ts +10 -0
- package/dist/apps/playlists/components/playlist-details/index.d.ts +1 -0
- package/dist/apps/playlists/components/playlist-header/PlaylistHeaderActionsComponent.d.ts +17 -0
- package/dist/apps/playlists/components/playlist-header/PlaylistHeaderComponent.d.ts +22 -0
- package/dist/apps/playlists/components/playlist-header/index.d.ts +2 -0
- package/dist/apps/playlists/components/playlist-list/PartialPlaylistList.d.ts +2 -0
- package/dist/apps/playlists/components/playlist-list/PartialPlaylistListHeader.d.ts +2 -0
- package/dist/apps/playlists/components/playlist-list/PlaylistListComponent.d.ts +10 -0
- package/dist/apps/playlists/components/playlist-list/PlaylistListHeaderComponent.d.ts +11 -0
- package/dist/apps/playlists/components/playlist-list/index.d.ts +4 -0
- package/dist/apps/playlists/components/video-list/SortableVideoListContainer.d.ts +12 -0
- package/dist/apps/playlists/components/video-list/index.d.ts +1 -0
- package/dist/apps/playlists/components/video-not-found/VideoNotFoundComponent.d.ts +8 -0
- package/dist/apps/playlists/components/video-not-found/index.d.ts +1 -0
- package/dist/apps/playlists/context/PlaylistsAppContext.d.ts +4 -0
- package/dist/apps/playlists/context/index.d.ts +1 -0
- package/dist/apps/playlists/enums/MigrationTaskStatus.d.ts +6 -0
- package/dist/apps/playlists/enums/PlaylistSortType.d.ts +5 -0
- package/dist/apps/playlists/enums/index.d.ts +2 -0
- package/dist/apps/playlists/filters/MigrationFilter.d.ts +2 -0
- package/dist/apps/playlists/filters/index.d.ts +1 -0
- package/dist/apps/playlists/flight-requests/PlaylistRequests.d.ts +21 -0
- package/dist/apps/playlists/flight-requests/SubjectRequests.d.ts +5 -0
- package/dist/apps/playlists/flight-requests/VideoRequests.d.ts +5 -0
- package/dist/apps/playlists/flight-requests/index.d.ts +3 -0
- package/dist/apps/playlists/flight-requests/utils/PlaylistStateUpdateHelper.d.ts +11 -0
- package/dist/apps/playlists/flight-requests/utils/index.d.ts +1 -0
- package/dist/apps/playlists/hooks/UseHandlePlaylistError.d.ts +3 -0
- package/dist/apps/playlists/hooks/index.d.ts +1 -0
- package/dist/apps/playlists/interfaces/PlaylistCollectionIdentifier.d.ts +5 -0
- package/dist/apps/playlists/interfaces/PlaylistVideoCollectionIdentifier.d.ts +4 -0
- package/dist/apps/playlists/interfaces/data-requests/CreateOrUpdatePlaylistRequest.d.ts +4 -0
- package/dist/apps/playlists/interfaces/data-requests/index.d.ts +1 -0
- package/dist/apps/playlists/interfaces/index.d.ts +4 -0
- package/dist/apps/playlists/interfaces/models/Following.d.ts +4 -0
- package/dist/apps/playlists/interfaces/models/MigrationTask.d.ts +4 -0
- package/dist/apps/playlists/interfaces/models/index.d.ts +2 -0
- package/dist/apps/playlists/services/FlightPlaylistDataService.d.ts +15 -0
- package/dist/apps/playlists/services/index.d.ts +1 -0
- package/dist/apps/playlists/utils/PlaylistSortHelper.d.ts +5 -0
- package/dist/apps/playlists/utils/PlaylistVideoActionAppLinkHelper.d.ts +3 -0
- package/dist/apps/playlists/utils/RecentPlaylistHelper.d.ts +14 -0
- package/dist/apps/playlists/utils/index.d.ts +4 -0
- package/dist/apps/playlists/utils/validation/PlaylistValidationSchema.d.ts +5 -0
- package/dist/apps/playlists/utils/validation/index.d.ts +1 -0
- package/dist/apps/playlists/views/add-to-playlist/AddToPlaylistView.d.ts +6 -0
- package/dist/apps/playlists/views/add-to-playlist/components/index.d.ts +1 -0
- package/dist/apps/playlists/views/add-to-playlist/components/select-playlist/SelectPlaylist.d.ts +10 -0
- package/dist/apps/playlists/views/add-to-playlist/components/select-playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/add-to-playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/delete-playlist/DeletePlaylistView.d.ts +10 -0
- package/dist/apps/playlists/views/delete-playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/edit-playlist/EditPlaylistView.d.ts +8 -0
- package/dist/apps/playlists/views/edit-playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/index.d.ts +10 -0
- package/dist/apps/playlists/views/left-nav/LeftNavView.d.ts +5 -0
- package/dist/apps/playlists/views/left-nav/index.d.ts +1 -0
- package/dist/apps/playlists/views/migration-in-progress/MigrationInProgressView.d.ts +2 -0
- package/dist/apps/playlists/views/migration-in-progress/index.d.ts +1 -0
- package/dist/apps/playlists/views/new-playlist/NewPlaylistView.d.ts +8 -0
- package/dist/apps/playlists/views/new-playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/play-playlist/PlayPlaylistView.d.ts +11 -0
- package/dist/apps/playlists/views/play-playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/playlist/PlaylistView.d.ts +19 -0
- package/dist/apps/playlists/views/playlist/PlaylistViewUtils.d.ts +19 -0
- package/dist/apps/playlists/views/playlist/index.d.ts +1 -0
- package/dist/apps/playlists/views/playlists/PlaylistsView.d.ts +11 -0
- package/dist/apps/playlists/views/playlists/index.d.ts +1 -0
- package/dist/apps/playlists/views/remove-video-from-playlist/RemoveVideoFromPlaylistView.d.ts +9 -0
- package/dist/apps/playlists/views/remove-video-from-playlist/index.d.ts +1 -0
- package/dist/apps/subjects/SubjectApplication.d.ts +20 -0
- package/dist/apps/subjects/context/SubjectAppContext.d.ts +4 -0
- package/dist/apps/subjects/context/index.d.ts +1 -0
- package/dist/apps/subjects/views/SubjectPlaylistView.d.ts +9 -0
- package/dist/apps/subjects/views/index.d.ts +1 -0
- package/dist/clients/lite/components/apps/content-updates/classification-banner/LiteClassificationBanner.d.ts +2 -0
- package/dist/clients/lite/components/apps/content-updates/classification-update-breadcrumbs/LiteClassificationUpdateBreadcrumbs.d.ts +2 -0
- package/dist/clients/lite/components/apps/content-updates/index.d.ts +3 -0
- package/dist/clients/lite/components/apps/content-updates/whats-new-breadcrumbs/LiteWhatsNewBreadcrumbs.d.ts +2 -0
- package/dist/clients/lite/components/apps/playlists/index.d.ts +4 -0
- package/dist/clients/lite/components/apps/playlists/playlist-header/PlaylistHeader.d.ts +2 -0
- package/dist/clients/lite/components/apps/playlists/playlist-header/index.d.ts +1 -0
- package/dist/clients/lite/components/apps/playlists/playlist-list-header/PlaylistListHeader.d.ts +2 -0
- package/dist/clients/lite/components/apps/playlists/playlist-list-header/index.d.ts +1 -0
- package/dist/clients/lite/components/apps/playlists/playlist-sort-select/PlaylistSortSelect.d.ts +8 -0
- package/dist/clients/lite/components/apps/playlists/playlist-sort-select/index.d.ts +1 -0
- package/dist/clients/lite/components/apps/playlists/video-list/SortableVideoListContainer.d.ts +3 -0
- package/dist/clients/lite/components/apps/playlists/video-list/index.d.ts +1 -0
- package/dist/clients/lite/components/index.d.ts +3 -0
- package/dist/clients/lite/components/shared/Popup.d.ts +3 -0
- package/dist/clients/lite/components/shared/index.d.ts +1 -0
- package/dist/clients/lite/index.d.ts +1 -0
- package/dist/clients/online/components/apps/content-updates/classification-banner/OnlineClassificationBanner.d.ts +2 -0
- package/dist/clients/online/components/apps/content-updates/classification-update-breadcrumbs/OnlineClassificationUpdateBreadcrumbs.d.ts +2 -0
- package/dist/clients/online/components/apps/content-updates/index.d.ts +3 -0
- package/dist/clients/online/components/apps/content-updates/whats-new-breadcrumbs/OnlineWhatsNewBreadcrumbs.d.ts +2 -0
- package/dist/clients/online/components/apps/playlists/index.d.ts +9 -0
- package/dist/clients/online/components/apps/playlists/left-nav/LeftNavComponent.d.ts +11 -0
- package/dist/clients/online/components/apps/playlists/left-nav/LeftNavItemComponent.d.ts +8 -0
- package/dist/clients/online/components/apps/playlists/left-nav/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/left-nav/partial-loading/PartialLeftNavComponent.d.ts +2 -0
- package/dist/clients/online/components/apps/playlists/left-nav/partial-loading/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/play-playlist/PlayPlaylistComponent.d.ts +15 -0
- package/dist/clients/online/components/apps/playlists/play-playlist/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/playlist-actions/PlaylistActionsComponent.d.ts +9 -0
- package/dist/clients/online/components/apps/playlists/playlist-actions/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/playlist-header/PlaylistBreadcrumbsComponent.d.ts +7 -0
- package/dist/clients/online/components/apps/playlists/playlist-header/PlaylistHeaderComponent.d.ts +3 -0
- package/dist/clients/online/components/apps/playlists/playlist-header/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/playlist-header/partial-loading/PartialPlaylistHeaderComponent.d.ts +6 -0
- package/dist/clients/online/components/apps/playlists/playlist-header/partial-loading/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/playlist-list/PartialPlaylistListComponent.d.ts +2 -0
- package/dist/clients/online/components/apps/playlists/playlist-list/PartialPlaylistListHeader.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/playlist-list/PlaylistItemComponent.d.ts +7 -0
- package/dist/clients/online/components/apps/playlists/playlist-list/PlaylistListComponent.d.ts +3 -0
- package/dist/clients/online/components/apps/playlists/playlist-list/PlaylistListHeaderComponent.d.ts +3 -0
- package/dist/clients/online/components/apps/playlists/playlist-list/index.d.ts +4 -0
- package/dist/clients/online/components/apps/playlists/series-metadata/SeriesMetadata.d.ts +6 -0
- package/dist/clients/online/components/apps/playlists/series-metadata/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/share-playlist/SharePlaylistComponent.d.ts +7 -0
- package/dist/clients/online/components/apps/playlists/share-playlist/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/video-list/PartialVideoListComponent.d.ts +2 -0
- package/dist/clients/online/components/apps/playlists/video-list/PlaceHolder.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/video-list/RestrictedBadge.d.ts +6 -0
- package/dist/clients/online/components/apps/playlists/video-list/RestrictionInfo.d.ts +6 -0
- package/dist/clients/online/components/apps/playlists/video-list/SortableVideoListComponent.d.ts +8 -0
- package/dist/clients/online/components/apps/playlists/video-list/SortableVideoListContainer.d.ts +3 -0
- package/dist/clients/online/components/apps/playlists/video-list/ThumbnailComponent.d.ts +10 -0
- package/dist/clients/online/components/apps/playlists/video-list/VideoActionsComponent.d.ts +12 -0
- package/dist/clients/online/components/apps/playlists/video-list/VideoItemComponent.d.ts +15 -0
- package/dist/clients/online/components/apps/playlists/video-list/VideoItemPreviewComponent.d.ts +9 -0
- package/dist/clients/online/components/apps/playlists/video-list/index.d.ts +1 -0
- package/dist/clients/online/components/apps/playlists/web-player/WebPlayerComponent.d.ts +7 -0
- package/dist/clients/online/components/apps/playlists/web-player/index.d.ts +1 -0
- package/dist/clients/online/components/index.d.ts +3 -0
- package/dist/clients/online/components/shared/AlertContentComponent.d.ts +3 -0
- package/dist/clients/online/components/shared/InfiniteScrollFooter.d.ts +3 -0
- package/dist/clients/online/components/shared/PopupButtons.d.ts +3 -0
- package/dist/clients/online/components/shared/PopupComponent.d.ts +8 -0
- package/dist/clients/online/components/shared/SpinnerComponent.d.ts +3 -0
- package/dist/clients/online/components/shared/SvgComponent.d.ts +3 -0
- package/dist/clients/online/components/shared/index.d.ts +6 -0
- package/dist/clients/online/constants/ResponsiveHideLeftNavAppLinks.d.ts +2 -0
- package/dist/clients/online/constants/Services.d.ts +3 -0
- package/dist/clients/online/constants/index.d.ts +2 -0
- package/dist/clients/online/hooks/UseListenOn.d.ts +4 -0
- package/dist/clients/online/hooks/index.d.ts +1 -0
- package/dist/clients/online/index.d.ts +4 -0
- package/dist/clients/online/layouts/OnlinePlaylistsLayoutView.d.ts +11 -0
- package/dist/clients/online/layouts/index.d.ts +1 -0
- package/dist/clients/online/services/OnlineContextService.d.ts +10 -0
- package/dist/clients/online/services/index.d.ts +1 -0
- package/dist/clients/online/utils/BackboneHelper.d.ts +18 -0
- package/dist/clients/online/utils/OnlineContentUpdateAppLinks.d.ts +2 -0
- package/dist/clients/online/utils/OnlineHelper.d.ts +11 -0
- package/dist/clients/online/utils/PopupHelper.d.ts +12 -0
- package/dist/clients/online/utils/index.d.ts +4 -0
- package/dist/clients/online/views/apps/playlists/LeftNavView.d.ts +3 -0
- package/dist/clients/online/views/apps/playlists/PlayPlaylistView.d.ts +3 -0
- package/dist/clients/online/views/apps/playlists/index.d.ts +2 -0
- package/dist/clients/online/views/index.d.ts +2 -0
- package/dist/clients/online/views/shared/ShareView.d.ts +3 -0
- package/dist/clients/online/views/shared/index.d.ts +1 -0
- package/dist/en.json +1 -0
- package/dist/index.d.ts +54 -0
- package/dist/online-app.css +6 -0
- package/dist/online-app.js +17 -0
- package/dist/shared/components/AppLinkComponent.d.ts +12 -0
- package/dist/shared/components/ClientWrapperComponent.d.ts +7 -0
- package/dist/shared/components/EmptyStateComponent.d.ts +8 -0
- package/dist/shared/components/InfiniteScrollFooterComponent.d.ts +6 -0
- package/dist/shared/components/LazyImageComponent.d.ts +2 -0
- package/dist/shared/components/SpinnerButtonComponent.d.ts +12 -0
- package/dist/shared/components/SpinnerComponent.d.ts +6 -0
- package/dist/shared/components/SvgComponent.d.ts +7 -0
- package/dist/shared/components/alert/AlertComponent.d.ts +7 -0
- package/dist/shared/components/alert/AlertContentComponent.d.ts +8 -0
- package/dist/shared/components/alert/index.d.ts +2 -0
- package/dist/shared/components/dropdown/DropdownComponent.d.ts +8 -0
- package/dist/shared/components/dropdown/DropdownItemComponent.d.ts +10 -0
- package/dist/shared/components/dropdown/index.d.ts +2 -0
- package/dist/shared/components/forms/FormFieldComponent.d.ts +9 -0
- package/dist/shared/components/forms/FormWrapperComponent.d.ts +12 -0
- package/dist/shared/components/forms/index.d.ts +2 -0
- package/dist/shared/components/index.d.ts +12 -0
- package/dist/shared/components/popup/PopupButtonsComponent.d.ts +5 -0
- package/dist/shared/components/popup/PopupComponent.d.ts +7 -0
- package/dist/shared/components/popup/PopupLoadingSpinnerComponent.d.ts +2 -0
- package/dist/shared/components/popup/index.d.ts +3 -0
- package/dist/shared/constants/Actions.d.ts +38 -0
- package/dist/shared/constants/BootstrapKeys.d.ts +3 -0
- package/dist/shared/constants/DataPrefixes.d.ts +20 -0
- package/dist/shared/constants/Layouts.d.ts +3 -0
- package/dist/shared/constants/RadioChannels.d.ts +12 -0
- package/dist/shared/constants/Services.d.ts +7 -0
- package/dist/shared/constants/SupportArticles.d.ts +3 -0
- package/dist/shared/constants/WithStatements.d.ts +5 -0
- package/dist/shared/constants/index.d.ts +8 -0
- package/dist/shared/context/PageTitleContext.d.ts +10 -0
- package/dist/shared/context/index.d.ts +1 -0
- package/dist/shared/enums/Svg.d.ts +13 -0
- package/dist/shared/enums/index.d.ts +1 -0
- package/dist/shared/flight-requests/ConfigRequests.d.ts +4 -0
- package/dist/shared/flight-requests/UserRequests.d.ts +4 -0
- package/dist/shared/flight-requests/index.d.ts +2 -0
- package/dist/shared/hooks/UseBatchFetch.d.ts +14 -0
- package/dist/shared/hooks/UseFetchAll.d.ts +12 -0
- package/dist/shared/hooks/UseInfiniteList.d.ts +20 -0
- package/dist/shared/hooks/UseInfiniteScroll.d.ts +1 -0
- package/dist/shared/hooks/UsePolling.d.ts +1 -0
- package/dist/shared/hooks/UseRenderBackboneView.d.ts +10 -0
- package/dist/shared/hooks/UseRevertPageTitleOnUnsetChild.d.ts +2 -0
- package/dist/shared/hooks/UseSelectAllPages.d.ts +15 -0
- package/dist/shared/hooks/UseSetPageTitle.d.ts +7 -0
- package/dist/shared/hooks/UseVideoMixin.d.ts +2 -0
- package/dist/shared/hooks/index.d.ts +10 -0
- package/dist/shared/interfaces/AppLinkWithLabel.d.ts +5 -0
- package/dist/shared/interfaces/SharedObject.d.ts +8 -0
- package/dist/shared/interfaces/index.d.ts +4 -0
- package/dist/shared/interfaces/models/Restriction.d.ts +6 -0
- package/dist/shared/interfaces/models/VideoWithRestrictions.d.ts +5 -0
- package/dist/shared/interfaces/models/index.d.ts +2 -0
- package/dist/shared/interfaces/props/ViewProps.d.ts +6 -0
- package/dist/shared/interfaces/props/index.d.ts +1 -0
- package/dist/shared/layouts/LayoutComponent.d.ts +12 -0
- package/dist/shared/layouts/OnlineLayoutView.d.ts +26 -0
- package/dist/shared/layouts/index.d.ts +2 -0
- package/dist/shared/services/ClientComponentService.d.ts +22 -0
- package/dist/shared/services/LanguageDataService.d.ts +11 -0
- package/dist/shared/services/index.d.ts +2 -0
- package/dist/shared/utils/PageTitleHelper.d.ts +3 -0
- package/dist/shared/utils/RestrictionHelper.d.ts +6 -0
- package/dist/shared/utils/index.d.ts +2 -0
- package/dist/shared/views/AlertView.d.ts +8 -0
- package/dist/shared/views/ErrorView.d.ts +11 -0
- package/dist/shared/views/ShareView.d.ts +6 -0
- package/dist/shared/views/index.d.ts +3 -0
- package/package.json +47 -0
- package/tooling/externals.js +58 -0
- package/typings/libs/LazyLoad.d.ts +22 -0
- 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
|
+
}
|
package/dist/apps/content-updates/components/classification-banner/ClassifictionBannerContainer.d.ts
ADDED
|
@@ -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,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,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,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';
|
package/dist/apps/content-updates/views/content-updates/components/ContentUpdateClassification.d.ts
ADDED
|
@@ -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,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,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,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,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 @@
|
|
|
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,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 @@
|
|
|
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 @@
|
|
|
1
|
+
export * from './CreateOrUpdatePlaylistRequest';
|
|
@@ -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,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 {};
|