@clickview/online 0.0.5-dev.1 → 0.0.5-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/dist/en.json +1 -1
- package/dist/libs/common/src/react/hooks/UseViewModel.d.ts +4 -0
- package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +1 -1
- package/dist/libs/common/src/react/utils/TextHelper.d.ts +1 -1
- package/dist/libs/shared/src/apps/content-updates/interfaces/ClassificationVideosGrouping.d.ts +3 -2
- package/dist/libs/shared/src/apps/content-updates/interfaces/index.d.ts +0 -1
- package/dist/libs/shared/src/apps/playlists/components/empty-state/EmptyVideoList.d.ts +3 -0
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PlaylistItem.d.ts +8 -3
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PlaylistList.d.ts +9 -3
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PlaylistOwnerAvatar.d.ts +9 -0
- package/dist/libs/shared/src/apps/playlists/components/sort-select/PlaylistSortSelect.d.ts +9 -0
- package/dist/libs/shared/src/apps/playlists/enums/PlaylistSortType.d.ts +4 -2
- package/dist/libs/shared/src/apps/playlists/enums/PlaylistType.d.ts +5 -0
- package/dist/libs/shared/src/apps/playlists/interfaces/identifiers/PlaylistCollectionIdentifier.d.ts +4 -1
- package/dist/libs/shared/src/apps/playlists/utils/PlaylistSortHelper.d.ts +0 -1
- package/dist/libs/shared/src/apps/subjects/components/preferences/index.d.ts +1 -1
- package/dist/libs/shared/src/apps/subjects/components/preferences/nav/PreferencesNav.d.ts +12 -0
- package/dist/libs/shared/src/apps/subjects/components/preferences/preference-item/PreferenceItem.d.ts +1 -0
- package/dist/libs/shared/src/apps/subjects/components/preferences/preference-item/PreferenceItemStatus.d.ts +1 -0
- package/dist/libs/shared/src/apps/subjects/components/preferences/subject-preference-grid/SubjectPreferenceGrid.d.ts +2 -1
- package/dist/libs/shared/src/apps/subjects/components/preferences/subject-preference-item/SubjectPreferenceItem.d.ts +1 -0
- package/dist/libs/shared/src/apps/subjects/interfaces/ClassificationPreference.d.ts +0 -1
- package/dist/libs/shared/src/components/actions/ActionButton.d.ts +4 -0
- package/dist/libs/shared/src/components/actions/Actions.d.ts +4 -0
- package/dist/libs/shared/src/components/app-link/AppLink.d.ts +4 -0
- package/dist/libs/shared/src/components/avatar/Avatar.d.ts +8 -0
- package/dist/libs/shared/src/components/clickview-avatar/ClickViewAvatar.d.ts +2 -0
- package/dist/libs/shared/src/components/forms/form-buttons/FormButtons.d.ts +10 -0
- package/dist/libs/shared/src/components/forms/form-checkbox/FormCheckbox.d.ts +7 -0
- package/dist/libs/shared/src/components/forms/form-field/CharacterCounter.d.ts +7 -0
- package/dist/libs/shared/src/components/forms/form-field/FormField.d.ts +16 -0
- package/dist/libs/shared/src/components/forms/form-wrapper/FormWrapper.d.ts +20 -0
- package/dist/libs/shared/src/components/icon-button/IconButton.d.ts +4 -0
- package/dist/libs/shared/src/components/popup/Popup.d.ts +16 -0
- package/dist/libs/shared/src/components/popup/PopupLoadingSpinner.d.ts +2 -0
- package/dist/libs/shared/src/components/svg-container/SvgContainer.d.ts +2 -1
- package/dist/libs/shared/src/components/svgs/clickview-logo/ClickViewLogo.d.ts +1 -0
- package/dist/libs/shared/src/components/toggle-switch/ToggleSwitch.d.ts +1 -0
- package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidget.d.ts +4 -0
- package/dist/libs/shared/src/constants/WithStatements.d.ts +5 -0
- package/dist/libs/shared/src/enums/SettingName.d.ts +2 -1
- package/dist/libs/shared/src/flight-requests/PlaylistRequests.d.ts +3 -3
- package/dist/libs/shared/src/flight-requests/PreferenceRequests.d.ts +2 -2
- package/dist/libs/shared/src/flight-requests/SettingRequests.d.ts +1 -1
- package/dist/libs/shared/src/flight-requests/UserRequests.d.ts +1 -0
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +4 -1
- package/dist/libs/shared/src/images/svg/objects/index.d.ts +4 -1
- package/dist/libs/shared/src/interfaces/models/Avatar.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Customer.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +2 -2
- package/dist/libs/shared/src/interfaces/models/User.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/models/index.d.ts +2 -0
- package/dist/libs/shared/src/utils/FormHelper.d.ts +4 -0
- package/dist/libs/shared/src/utils/RegionHelper.d.ts +4 -0
- package/dist/libs/shared/src/utils/UserHelper.d.ts +3 -0
- package/dist/online-app.css +35 -11
- package/dist/online-app.css.map +1 -1
- package/dist/online-app.js +3 -3
- package/dist/online-app.js.map +1 -1
- package/dist/projects/online/src/apps/dashboard/components/onboarding-nag/OnboardingNag.d.ts +8 -0
- package/dist/projects/online/src/apps/dashboard/components/onboarding-nag-item/OnboardingNagItem.d.ts +10 -0
- package/dist/projects/online/src/apps/dashboard/components/onboarding-progress/OnboardingProgress.d.ts +6 -0
- package/dist/projects/online/src/apps/default/OnlineDefaultApplication.d.ts +5 -2
- package/dist/projects/online/src/apps/default/views/verify-email/VerifyEmailValidation.d.ts +3 -0
- package/dist/projects/online/src/apps/default/views/verify-email/VerifyEmailView.d.ts +3 -0
- package/dist/projects/online/src/apps/playlists/components/left-nav/LeftNav.d.ts +13 -0
- package/dist/projects/online/src/apps/playlists/components/left-nav/LeftNavItem.d.ts +0 -0
- package/dist/projects/online/src/apps/playlists/components/left-nav/LevNavPlaylistOwnerIndicator.d.ts +8 -0
- package/dist/projects/online/src/apps/playlists/components/left-nav/left-nav-item/LeftNavItem.d.ts +10 -0
- package/dist/projects/online/src/apps/playlists/components/left-nav/left-nav-playlist-owner-indicator/LevNavPlaylistOwnerIndicator.d.ts +8 -0
- package/dist/projects/online/src/apps/playlists/components/left-nav/partial-loading/PartialLeftNav.d.ts +2 -0
- package/dist/projects/online/src/apps/playlists/components/legacy-playlist-list/LegacyPartialPlaylistList.d.ts +2 -0
- package/dist/projects/online/src/apps/playlists/components/legacy-playlist-list/LegacyPlaylistItem.d.ts +7 -0
- package/dist/projects/online/src/apps/playlists/components/legacy-playlist-list/LegacyPlaylistList.d.ts +7 -0
- package/dist/projects/online/src/apps/playlists/components/playlist-header/PlaylistHeader.d.ts +2 -3
- package/dist/projects/online/src/apps/playlists/components/playlist-list-header/PartialPlaylistListHeader.d.ts +2 -0
- package/dist/projects/online/src/apps/playlists/components/playlist-list-header/PlaylistListHeader.d.ts +12 -0
- package/dist/projects/online/src/apps/playlists/views/playlists/PlaylistsView.d.ts +0 -2
- package/dist/projects/online/src/apps/subjects/utils/OnboardingHelper.d.ts +8 -2
- package/dist/projects/online/src/index.d.ts +13 -5
- package/dist/projects/online/src/shared/components/index.d.ts +0 -1
- package/dist/projects/online/src/shared/constants/Actions.d.ts +17 -0
- package/dist/projects/online/src/shared/constants/RadioChannels.d.ts +1 -0
- package/dist/projects/online/src/shared/constants/ViewModelKeys.d.ts +3 -0
- package/dist/projects/online/src/shared/identifiers/index.d.ts +0 -1
- package/dist/projects/online/src/shared/layouts/OnlineLayoutView.d.ts +8 -6
- package/package.json +3 -3
- package/typings/libs/FutureCoreHelper.d.ts +6 -0
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +0 -42
- package/dist/libs/shared/src/apps/subjects/components/preferences/subject-preference-item/SubjectPreferenceItemStatus.d.ts +0 -10
- package/dist/libs/shared/src/components/pagination/Pagination.d.ts +0 -28
- package/dist/libs/shared/src/components/video-list/VideoItem.d.ts +0 -13
- package/dist/libs/shared/src/components/video-list/VideoList.d.ts +0 -22
- package/dist/libs/shared/src/components/video-list/components/video-item-actions/VideoItemActions.d.ts +0 -7
- package/dist/libs/shared/src/components/video-list/components/video-item-badges/VideoItemBadges.d.ts +0 -7
- package/dist/libs/shared/src/components/video-list/components/video-item-description/UseTruncateText.d.ts +0 -9
- package/dist/libs/shared/src/components/video-list/components/video-item-description/VideoItemDescription.d.ts +0 -8
- package/dist/libs/shared/src/components/video-list/components/video-item-header/VideoItemHeader.d.ts +0 -9
- package/dist/libs/shared/src/context/VideoActionsContext.d.ts +0 -10
- package/dist/libs/shared/src/flight-requests/FavouriteVideoRequests.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/VideoWithRestrictions.d.ts +0 -5
- package/dist/libs/shared/src/utils/RestrictionHelper.d.ts +0 -5
- package/dist/libs/shared/src/utils/VideoHelper.d.ts +0 -4
- package/dist/projects/online/src/apps/playlists/PlaylistApplication.d.ts +0 -36
- package/dist/projects/online/src/apps/playlists/components/playlist-header/PlaylistBreadcrumbsComponent.d.ts +0 -7
- package/dist/projects/online/src/apps/playlists/components/playlist-header/PlaylistHeaderActionsComponent.d.ts +0 -17
- package/dist/projects/online/src/apps/playlists/components/playlist-header/index.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/components/playlist-header/partial-loading/PartialPlaylistHeaderComponent.d.ts +0 -6
- package/dist/projects/online/src/apps/playlists/components/playlist-header/partial-loading/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/components/video-list/PartialVideoList.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/components/video-list/PlaceHolder.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/components/video-list/RestrictedBadge.d.ts +0 -7
- package/dist/projects/online/src/apps/playlists/components/video-list/RestrictionInfo.d.ts +0 -7
- package/dist/projects/online/src/apps/playlists/components/video-list/SortableVideoList.d.ts +0 -8
- package/dist/projects/online/src/apps/playlists/components/video-list/SortableVideoListContainer.d.ts +0 -12
- package/dist/projects/online/src/apps/playlists/components/video-list/ThumbnailComponent.d.ts +0 -10
- package/dist/projects/online/src/apps/playlists/components/video-list/VideoActionsComponent.d.ts +0 -12
- package/dist/projects/online/src/apps/playlists/components/video-list/VideoItemComponent.d.ts +0 -15
- package/dist/projects/online/src/apps/playlists/components/video-list/VideoItemPreviewComponent.d.ts +0 -9
- package/dist/projects/online/src/apps/playlists/components/video-list/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/flight-requests/SubjectRequests.d.ts +0 -4
- package/dist/projects/online/src/apps/playlists/flight-requests/index.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/views/add-to-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/delete-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/edit-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/index.d.ts +0 -10
- package/dist/projects/online/src/apps/playlists/views/left-nav/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/migration-in-progress/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/new-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/play-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/playlist/PlaylistViewUtils.d.ts +0 -12
- package/dist/projects/online/src/apps/playlists/views/playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/playlists/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/remove-video-from-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/subjects/views/preferences/PreferencesView.d.ts +0 -8
- package/dist/projects/online/src/shared/components/info-banner/InfoBanner.d.ts +0 -2
- package/dist/projects/online/src/shared/hooks/UseVideoMixin.d.ts +0 -2
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { Core } from "../../../../../libs/common/src/backbone";
|
|
3
|
-
import { HashObject } from "../../../../../libs/common/src/react/interfaces/HashObject";
|
|
4
|
-
import { OnlineLayoutView, OnlineLayoutViewOptions } from "../../shared/layouts";
|
|
5
|
-
export declare class PlaylistApplication extends Core.Application {
|
|
6
|
-
protected layout: OnlineLayoutView;
|
|
7
|
-
private currentPlaylistId;
|
|
8
|
-
initialize(): void;
|
|
9
|
-
get name(): string;
|
|
10
|
-
static get router(): any;
|
|
11
|
-
get channelName(): string;
|
|
12
|
-
get layoutOptions(): Core.LayoutOptions<OnlineLayoutViewOptions>;
|
|
13
|
-
index(params: HashObject): void;
|
|
14
|
-
playlist(playlistId: string, slug?: string): void;
|
|
15
|
-
newPlaylist(): void;
|
|
16
|
-
editPlaylist(playlistId: string): void;
|
|
17
|
-
deletePlaylist(playlistId: string): void;
|
|
18
|
-
removeVideoFromPlaylist(videoId: string, playlistId: string): void;
|
|
19
|
-
playPlaylist(playlistId: string): void;
|
|
20
|
-
playPlaylistVideo(playlistId: string, videoId?: string): void;
|
|
21
|
-
sharePlaylist(playlistId: string): void;
|
|
22
|
-
sharedPlaylist(shareCode: string): void;
|
|
23
|
-
playSharedPlaylist(shareCode: string): void;
|
|
24
|
-
playSharedPlaylistVideo(shareCode: string, videoId?: 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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Playlist } from "../../../../../../../libs/shared/src/interfaces";
|
|
3
|
-
interface PlaylistBreadcrumbsComponentProps {
|
|
4
|
-
playlist: Playlist;
|
|
5
|
-
}
|
|
6
|
-
export declare function PlaylistBreadcrumbsComponent(props: PlaylistBreadcrumbsComponentProps): React.ReactElement;
|
|
7
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Core } from "../../../../../../../libs/common/src/backbone";
|
|
3
|
-
import { Playlist } from "../../../../../../../libs/shared/src/interfaces";
|
|
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 {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './PartialPlaylistHeaderComponent';
|
package/dist/projects/online/src/apps/playlists/components/video-list/SortableVideoList.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Video } from "../../../../../../../libs/shared/src/interfaces";
|
|
3
|
-
import { VideoItemComponentProps } from './VideoItemComponent';
|
|
4
|
-
interface VideoListProps extends Omit<VideoItemComponentProps, 'video' | 'idx'> {
|
|
5
|
-
videos: Video[];
|
|
6
|
-
}
|
|
7
|
-
export declare const SortableVideoList: React.ComponentClass<VideoListProps & import("react-sortable-hoc").SortableContainerProps, any>;
|
|
8
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { VideoListProps } from "../../../../../../../libs/shared/src/components/video-list/VideoList";
|
|
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;
|
package/dist/projects/online/src/apps/playlists/components/video-list/ThumbnailComponent.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Core } from "../../../../../../../libs/common/src/backbone";
|
|
3
|
-
import { Video } from "../../../../../../../libs/shared/src/interfaces";
|
|
4
|
-
interface ThumbnailComponentProps {
|
|
5
|
-
video: Video;
|
|
6
|
-
appLink: Core.AppLink;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function ThumbnailComponent(props: ThumbnailComponentProps): React.ReactElement;
|
|
10
|
-
export {};
|
package/dist/projects/online/src/apps/playlists/components/video-list/VideoActionsComponent.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Model } from 'backbone';
|
|
3
|
-
import { PropsWithAnalyticsOptions } from "../../../../../../../libs/shared/src/interfaces";
|
|
4
|
-
interface VideoActionsComponentProps {
|
|
5
|
-
video: Model;
|
|
6
|
-
playlistId: string;
|
|
7
|
-
canEdit?: boolean;
|
|
8
|
-
showLoader: () => void;
|
|
9
|
-
}
|
|
10
|
-
declare type PropTypes = PropsWithAnalyticsOptions<VideoActionsComponentProps>;
|
|
11
|
-
export declare function VideoActionsComponent(props: PropTypes): React.ReactElement;
|
|
12
|
-
export {};
|
package/dist/projects/online/src/apps/playlists/components/video-list/VideoItemComponent.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Core } from "../../../../../../../libs/common/src/backbone";
|
|
3
|
-
import { Video } from "../../../../../../../libs/shared/src/interfaces";
|
|
4
|
-
import { SharedObject } from "../../../../shared/interfaces";
|
|
5
|
-
export interface VideoItemComponentProps {
|
|
6
|
-
video: Video | SharedObject<Video>;
|
|
7
|
-
playlistId: string;
|
|
8
|
-
idx: number;
|
|
9
|
-
getVideoAppLink: (video: Video) => Core.AppLink;
|
|
10
|
-
isUserSignedIn: boolean;
|
|
11
|
-
canEdit?: boolean;
|
|
12
|
-
setIsSorting?: (isSorting: boolean) => void;
|
|
13
|
-
fetchRestrictions?: () => void;
|
|
14
|
-
}
|
|
15
|
-
export declare function VideoItemComponent(props: VideoItemComponentProps): React.ReactElement;
|
package/dist/projects/online/src/apps/playlists/components/video-list/VideoItemPreviewComponent.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Video } from "../../../../../../../libs/shared/src/interfaces";
|
|
3
|
-
interface VideoItemPreviewComponentProps {
|
|
4
|
-
video: Video;
|
|
5
|
-
previewOpen: boolean;
|
|
6
|
-
setPreviewOpen: (open: boolean) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function VideoItemPreviewComponent(props: VideoItemPreviewComponentProps): React.ReactElement;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './SortableVideoListContainer';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AddToPlaylistView';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './DeletePlaylistView';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './EditPlaylistView';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './left-nav';
|
|
2
|
-
export * from './migration-in-progress';
|
|
3
|
-
export * from './play-playlist';
|
|
4
|
-
export * from './add-to-playlist';
|
|
5
|
-
export * from './delete-playlist';
|
|
6
|
-
export * from './edit-playlist';
|
|
7
|
-
export * from './new-playlist';
|
|
8
|
-
export * from './playlist';
|
|
9
|
-
export * from './playlists';
|
|
10
|
-
export * from './remove-video-from-playlist/RemoveVideoFromPlaylistView';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './LeftNavView';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './MigrationInProgressView';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './NewPlaylistView';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './PlayPlaylistView';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Video, Playlist, CurrentUser } from "../../../../../../../libs/shared/src/interfaces";
|
|
2
|
-
import { VideoAction } from "../../../../../../../libs/shared/src/utils/video-actions/VideoActionsHelper";
|
|
3
|
-
import { WorkflowPhase } from "../../../../../../../libs/analytics/src/interfaces";
|
|
4
|
-
/**
|
|
5
|
-
* NOTE:
|
|
6
|
-
* This will be wrong if we increase the playlist limit from 100, or
|
|
7
|
-
* stop fetching all 100 videos at once.
|
|
8
|
-
*/
|
|
9
|
-
export declare function getLastUpdatedDate(videos: Video[]): string;
|
|
10
|
-
export declare function getVideoActions(canEdit: boolean): VideoAction[];
|
|
11
|
-
export declare function logSortAction(playlistId: string, videoId: string, workflowPhase: WorkflowPhase): void;
|
|
12
|
-
export declare function canEditPlaylist(playlist: Playlist, user: CurrentUser): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './PlaylistView';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './PlaylistsView';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './RemoveVideoFromPlaylistView';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare type PreferenceStep = 'welcome' | 'subjects' | 'levels' | 'summary' | 'school-level' | 'curriculum';
|
|
3
|
-
interface PreferencesViewProps {
|
|
4
|
-
step: PreferenceStep;
|
|
5
|
-
redirectUrl: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function PreferencesView({ step: currentStep, redirectUrl }: PreferencesViewProps): JSX.Element;
|
|
8
|
-
export {};
|