@clickview/lite 0.0.5-dev.0 → 0.0.5-rc.1

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 (114) hide show
  1. package/dist/apps/content-updates/LiteContentUpdatesApplication.d.ts +16 -0
  2. package/dist/apps/content-updates/utils/LiteContentUpdateAppLinks.d.ts +2 -0
  3. package/dist/apps/content-updates/utils/index.d.ts +1 -0
  4. package/dist/apps/default/LiteDefaultApplication.d.ts +8 -3
  5. package/dist/apps/default/views/dialog/LiteDialogView.d.ts +2 -0
  6. package/dist/apps/default/views/index.d.ts +2 -0
  7. package/dist/apps/embed/LiteEmbedApplication.d.ts +2 -2
  8. package/dist/apps/notifications/LiteNotificationsApplication.d.ts +2 -2
  9. package/dist/apps/playlists/LitePlaylistsApplication.d.ts +3 -4
  10. package/dist/apps/search/LiteSearchApplication.d.ts +0 -1
  11. package/dist/apps/search/components/filter-actions/FilterActions.d.ts +11 -0
  12. package/dist/apps/search/components/filter-button/FilterButton.d.ts +7 -0
  13. package/dist/apps/search/components/filter-types/checkbox-filter/CheckboxFilter.d.ts +5 -0
  14. package/dist/apps/search/components/filter-types/index.d.ts +4 -0
  15. package/dist/apps/search/components/filter-types/more-filters/MoreFilters.d.ts +5 -0
  16. package/dist/apps/search/components/filter-types/radio-filter/RadioFilter.d.ts +7 -0
  17. package/dist/apps/search/components/filter-types/switch-filter/SwitchFilter.d.ts +3 -0
  18. package/dist/apps/search/components/index.d.ts +5 -0
  19. package/dist/apps/search/components/reset-button/ResetButton.d.ts +6 -0
  20. package/dist/apps/search/components/search-filters/PartialSearchFilters.d.ts +2 -0
  21. package/dist/apps/search/components/search-filters/SearchFilters.d.ts +3 -1
  22. package/dist/apps/search/interfaces/FilterProps.d.ts +4 -0
  23. package/dist/apps/search/interfaces/SearchFilter.d.ts +17 -0
  24. package/dist/apps/search/interfaces/SearchResults.d.ts +3 -2
  25. package/dist/apps/search/interfaces/index.d.ts +2 -0
  26. package/dist/apps/search/reducers/FilterReducer.d.ts +28 -0
  27. package/dist/apps/search/reducers/index.d.ts +1 -0
  28. package/dist/apps/search/utils/FilterHelper.d.ts +14 -0
  29. package/dist/apps/search/utils/SearchHelper.d.ts +2 -3
  30. package/dist/apps/search/utils/index.d.ts +1 -0
  31. package/dist/apps/search/views/search-results/SearchResultsView.d.ts +1 -1
  32. package/dist/apps/subjects/LiteSubjectApplication.d.ts +3 -2
  33. package/dist/bundle.js +1 -1
  34. package/dist/en.json +1 -1
  35. package/dist/index.d.ts +16 -0
  36. package/dist/lite-app.css +21 -1
  37. package/dist/shared/components/clips/ClipItem.d.ts +8 -0
  38. package/dist/shared/components/clips/Clips.d.ts +7 -0
  39. package/dist/shared/components/div-button/DivButton.d.ts +10 -0
  40. package/dist/shared/components/immersive-reader/ImmersiveReader.d.ts +8 -0
  41. package/dist/shared/components/index.d.ts +7 -0
  42. package/dist/shared/components/interactives/InteractiveItem.d.ts +7 -0
  43. package/dist/shared/components/interactives/Interactives.d.ts +7 -0
  44. package/dist/shared/components/play-page/PlayPage.d.ts +1 -0
  45. package/dist/shared/components/play-page/VideoTitle.d.ts +1 -0
  46. package/dist/shared/components/synopsis/Synopsis.d.ts +8 -0
  47. package/dist/shared/components/upload-file-select/UploadFileSelect.d.ts +6 -0
  48. package/dist/shared/components/uploading-item/UploadingItem.d.ts +9 -0
  49. package/dist/shared/components/user-options/UserOptions.d.ts +1 -1
  50. package/dist/shared/components/video-details/VideoDetails.d.ts +1 -0
  51. package/dist/shared/constants/LiteActions.d.ts +13 -0
  52. package/dist/shared/constants/LiteRadioChannels.d.ts +2 -0
  53. package/dist/shared/constants/RadioChannels.d.ts +10 -0
  54. package/dist/shared/constants/Services.d.ts +24 -0
  55. package/dist/shared/constants/index.d.ts +2 -0
  56. package/dist/shared/errors/index.d.ts +1 -1
  57. package/dist/shared/flight-requests/VideoRequests.d.ts +4 -1
  58. package/dist/shared/flight-requests/index.d.ts +2 -2
  59. package/dist/shared/layouts/teacher-layout/TeacherLayoutView.d.ts +2 -2
  60. package/dist/shared/layouts/teacher-layout/drag-mask/DragMask.d.ts +2 -0
  61. package/dist/shared/services/CombineUploadsService.d.ts +44 -0
  62. package/dist/shared/services/FlightVideoDataService.d.ts +14 -0
  63. package/dist/shared/services/FlightVideoUploadDataService.d.ts +33 -0
  64. package/dist/shared/services/VideoUploadService.d.ts +12 -0
  65. package/dist/shared/services/index.d.ts +4 -0
  66. package/dist/shared/views/edit-upload/EditUploadView.d.ts +7 -0
  67. package/dist/shared/views/edit-video/EditVideoView.d.ts +7 -0
  68. package/dist/shared/views/index.d.ts +2 -1
  69. package/dist/shared/views/left-nav/LeftNavView.d.ts +1 -1
  70. package/dist/shared/views/my-uploads/DismissableAlert.d.ts +2 -0
  71. package/dist/shared/views/my-uploads/useGetUploadingItems.d.ts +3 -0
  72. package/package.json +12 -7
  73. package/dist/apps/default/index.d.ts +0 -2
  74. package/dist/apps/index.d.ts +0 -1
  75. package/dist/apps/notifications/interfaces/Notification.d.ts +0 -3
  76. package/dist/apps/notifications/interfaces/NotificationCollection.d.ts +0 -4
  77. package/dist/apps/notifications/interfaces/index.d.ts +0 -2
  78. package/dist/apps/notifications/services/FlightNotificationDataService.d.ts +0 -16
  79. package/dist/apps/notifications/services/index.d.ts +0 -1
  80. package/dist/apps/playlists/components/index.d.ts +0 -1
  81. package/dist/apps/playlists/components/playlist-list/LitePlaylistItem.d.ts +0 -9
  82. package/dist/apps/playlists/components/playlist-list/LitePlaylistList.d.ts +0 -9
  83. package/dist/apps/playlists/components/playlist-list/index.d.ts +0 -1
  84. package/dist/apps/playlists/flight-requests/PlaylistRequests.d.ts +0 -4
  85. package/dist/apps/playlists/flight-requests/index.d.ts +0 -1
  86. package/dist/apps/playlists/index.d.ts +0 -1
  87. package/dist/apps/playlists/views/index.d.ts +0 -1
  88. package/dist/apps/playlists/views/user-playlists/UserPlaylistsView.d.ts +0 -2
  89. package/dist/apps/playlists/views/user-playlists/index.d.ts +0 -1
  90. package/dist/bundle.js.map +0 -1
  91. package/dist/lite-app.css.map +0 -1
  92. package/dist/lite-app.js +0 -112
  93. package/dist/lite-app.js.map +0 -1
  94. package/dist/shared/components/icon-button/IconButton.d.ts +0 -9
  95. package/dist/shared/errors/not-found/NotFoundError.d.ts +0 -5
  96. package/dist/shared/errors/primitives/AlertError.d.ts +0 -0
  97. package/dist/shared/errors/primitives/DialogError.d.ts +0 -0
  98. package/dist/shared/errors/primitives/ErrorPageError.d.ts +0 -0
  99. package/dist/shared/errors/primitives/index.d.ts +0 -3
  100. package/dist/shared/flight-requests/ConfigRequests.d.ts +0 -4
  101. package/dist/shared/flight-requests/PlaylistRequests.d.ts +0 -4
  102. package/dist/shared/flight-requests/UserRequests.d.ts +0 -4
  103. package/dist/shared/index.d.ts +0 -5
  104. package/dist/shared/utils/InfiniteScrollHelper.d.ts +0 -11
  105. package/dist/shared/utils/LiteAppLinkHelper.d.ts +0 -3
  106. package/dist/shared/views/backbone-wrapper/BackboneWrapperView.d.ts +0 -8
  107. package/dist/shared/views/favorite-videos/FavoriteVideos.d.ts +0 -6
  108. package/dist/shared/views/favorite-videos/index.d.ts +0 -1
  109. package/dist/shared/views/my-uploads/components/MyUploadsBannerActions.d.ts +0 -5
  110. package/dist/shared/views/play/components/BackButton.d.ts +0 -2
  111. package/dist/shared/views/play/components/Badges.d.ts +0 -7
  112. package/dist/shared/views/play/components/Buttons.d.ts +0 -2
  113. package/dist/shared/views/play/components/VideoTitle.d.ts +0 -7
  114. package/dist/shared/views/play/components/index.d.ts +0 -3
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { Video } from '@clickview/shared';
3
+ interface InteractivesProps {
4
+ video: Video;
5
+ }
6
+ export declare function Interactives(props: InteractivesProps): JSX.Element;
7
+ export {};
@@ -3,6 +3,7 @@ import { Video } from '@clickview/shared';
3
3
  interface PlayPageProps {
4
4
  video: Video;
5
5
  relatedVideos: Video[];
6
+ setFavorite?: (favorite: boolean) => void;
6
7
  }
7
8
  export declare function PlayPage(props: PlayPageProps): JSX.Element;
8
9
  export {};
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import { Video } from '@clickview/shared';
3
3
  interface VideoTitleProps {
4
4
  video: Video;
5
+ setFavorite?: (favorite: boolean) => void;
5
6
  }
6
7
  export declare function VideoTitle(props: VideoTitleProps): React.ReactElement;
7
8
  export {};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { Video } from '@clickview/shared';
3
+ interface SynopsisProps {
4
+ video: Video;
5
+ onClickFullDescription: () => void;
6
+ }
7
+ export declare function Synopsis(props: SynopsisProps): JSX.Element;
8
+ export {};
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ interface UploadFileSelectProps {
3
+ hideButtonText?: boolean;
4
+ }
5
+ export declare const UploadFileSelect: React.NamedExoticComponent<UploadFileSelectProps>;
6
+ export {};
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { CombinedUpload } from 'shared/services';
3
+ interface UploadingItemProps {
4
+ item: CombinedUpload;
5
+ onClickDelete: (item: CombinedUpload) => void;
6
+ onClickAlternate: (item: CombinedUpload) => void;
7
+ }
8
+ export declare function UploadingItem(props: UploadingItemProps): JSX.Element;
9
+ export {};
@@ -6,5 +6,5 @@ interface UserOptionsProps {
6
6
  /**
7
7
  * TODO: Implement user options properly;
8
8
  */
9
- export declare function UserOptions(props: UserOptionsProps): React.ReactElement;
9
+ export declare const UserOptions: React.NamedExoticComponent<UserOptionsProps>;
10
10
  export {};
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import { Video } from '@clickview/shared';
3
3
  interface DetailsPaneProps {
4
4
  video: Video;
5
+ onClickShowSynopsis: () => void;
5
6
  }
6
7
  export declare function VideoDetailsWithScrollbar(props: DetailsPaneProps): React.ReactElement;
7
8
  export {};
@@ -1,10 +1,16 @@
1
1
  export declare const Actions: {
2
2
  Default: {
3
3
  HOME: string;
4
+ ERROR: string;
5
+ NOT_FOUND: string;
6
+ DEV_ERROR: string;
7
+ DIALOG_ERROR: string;
4
8
  MY_UPLOADS: string;
5
9
  SERIES: string;
6
10
  PLAY_VIDEO: string;
7
11
  FAVORITE_VIDEOS: string;
12
+ EDIT_VIDEO: string;
13
+ EDIT_UPLOAD: string;
8
14
  };
9
15
  Playlists: {
10
16
  HOME: string;
@@ -29,4 +35,11 @@ export declare const Actions: {
29
35
  Notifications: {
30
36
  HOME: string;
31
37
  };
38
+ Search: {
39
+ HOME: string;
40
+ };
41
+ ContentUpdates: {
42
+ CONTENT_UPDATES: string;
43
+ CLASSIFICATION_UPDATE: string;
44
+ };
32
45
  };
@@ -5,4 +5,6 @@ export declare const AppChannels: {
5
5
  SUBJECT: string;
6
6
  EMBED: string;
7
7
  NOTIFICATIONS: string;
8
+ SEARCH: string;
9
+ CONTENT_UPDATES: string;
8
10
  };
@@ -0,0 +1,10 @@
1
+ export declare const DataChannels: {
2
+ CONFIG: string;
3
+ USER: string;
4
+ LANGUAGE: string;
5
+ LIBRARY: string;
6
+ SEARCH: string;
7
+ SERIES: string;
8
+ NOTIFICATIONS: string;
9
+ NOTIFICATIONS_SOCKET: string;
10
+ };
@@ -0,0 +1,24 @@
1
+ export declare const Services: {
2
+ ImageUrl: string;
3
+ PendingItems: string;
4
+ Alerts: string;
5
+ VideoUpload: string;
6
+ ResourceUpload: string;
7
+ SubtitleUpload: string;
8
+ VideoMixin: string;
9
+ ContextualSearch: string;
10
+ Context: string;
11
+ Notification: string;
12
+ };
13
+ export declare const DataServices: {
14
+ Config: string;
15
+ User: string;
16
+ Language: string;
17
+ Video: string;
18
+ VideoUpload: string;
19
+ Library: string;
20
+ Search: string;
21
+ Series: string;
22
+ Notification: string;
23
+ NotificationSocket: string;
24
+ };
@@ -3,3 +3,5 @@ export * from './LiteRadioChannels';
3
3
  export * from './LiteLayoutRegions';
4
4
  export * from './LiteLayouts';
5
5
  export * from './WithStatements';
6
+ export * from './RadioChannels';
7
+ export * from './Services';
@@ -1 +1 @@
1
- export * from './not-found/NotFoundError';
1
+ export * from './not-found/LiteNotFoundError';
@@ -1,6 +1,9 @@
1
1
  import { Flight } from '@clickview/common';
2
+ import { Video, UpdateVideoRequest } from '@clickview/shared';
2
3
  export declare const VideoRequests: {
3
4
  video(id: string): Flight.Request;
4
- workspace(cursor: string): Flight.Request;
5
+ workspace(id: string, cursor: string): Flight.Request;
6
+ videos(ids: string[], success?: (videos: Video[]) => void): Flight.Request;
7
+ updateVideo(data: UpdateVideoRequest, success?: () => void): Flight.Request;
5
8
  favoriteVideos(cursor: string): Flight.Request;
6
9
  };
@@ -1,4 +1,4 @@
1
- export * from './UserRequests';
2
- export * from './ConfigRequests';
3
1
  export * from './VideoRequests';
4
2
  export * from './SeriesRequests';
3
+ export * from './ShareRequests';
4
+ export * from './AudienceRequests';
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ObjectHash } from 'backbone';
3
- import { Core, ReactLayoutView } from '@clickview/common';
4
- export interface TeacherLayoutViewOptions extends Core.LayoutViewOptions {
3
+ import { ReactLayoutView, ReactLayoutViewOptions } from '@clickview/common';
4
+ export interface TeacherLayoutViewOptions extends ReactLayoutViewOptions {
5
5
  showNav: boolean;
6
6
  }
7
7
  export declare class TeacherLayoutView extends ReactLayoutView {
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare function DragMask(): React.ReactElement;
@@ -0,0 +1,44 @@
1
+ import { Core } from '@clickview/common';
2
+ export declare enum CombinedUploadStatus {
3
+ Uploading = 0,
4
+ Processing = 1,
5
+ Errored = 2
6
+ }
7
+ export interface CombinedUpload {
8
+ id: string;
9
+ name: string;
10
+ status: CombinedUploadStatus;
11
+ progress: number;
12
+ pendingProcessId: number;
13
+ videoId?: string;
14
+ }
15
+ /**
16
+ * The sole purpose of this service is to combine the collections in the
17
+ * VideoUploadService and the PendingItemsService in a way that's consumable
18
+ * by the MyuploadsView
19
+ */
20
+ export declare class CombineUploadsService extends Core.Service {
21
+ private videoUploadService;
22
+ private pendingItemsService;
23
+ private uploads;
24
+ private pendingItems;
25
+ private combined;
26
+ get name(): string;
27
+ initialize(): void;
28
+ private initializeServices;
29
+ private initializeCollections;
30
+ private bindListeners;
31
+ private getUploadAttrs;
32
+ private getPendingItemAttrs;
33
+ private addUpload;
34
+ private addPendingItem;
35
+ private removeUpload;
36
+ private removePendingItem;
37
+ private onChangeUpload;
38
+ private onChangePendingItem;
39
+ cancelItem(item: CombinedUpload): void;
40
+ retryItem(item: CombinedUpload): void;
41
+ editUpload(item: CombinedUpload): void;
42
+ updateUploadMetadata(videoId: string, name: string): void;
43
+ getCollection(): Core.Collection;
44
+ }
@@ -0,0 +1,14 @@
1
+ import { Core } from '@clickview/common';
2
+ import { BaseVideoDataService } from '@clickview/shared';
3
+ import { Store } from 'redux';
4
+ interface FlightVideoDataServiceOptions {
5
+ store: Store;
6
+ }
7
+ export declare class FlightVideoDataService implements BaseVideoDataService<Core.Collection> {
8
+ private store;
9
+ constructor(options: FlightVideoDataServiceOptions);
10
+ get name(): string;
11
+ clearVideoCache(): void;
12
+ getVideos(ids: string[], callback?: (videos: Core.Collection<Core.Model>) => void): Core.Collection;
13
+ }
14
+ export {};
@@ -0,0 +1,33 @@
1
+ import { Store } from 'redux';
2
+ import { Core, HashObject } from '@clickview/common';
3
+ import { BaseVideoUploadDataService, VideoOrigin, PendingProcessOrigin } from '@clickview/shared';
4
+ interface FlightVideoDataServiceOptions {
5
+ store: Store;
6
+ }
7
+ interface CompletePendingItemVideo {
8
+ name: string;
9
+ description?: string;
10
+ }
11
+ interface CompletePendingItemRequest {
12
+ id: string;
13
+ userId: string;
14
+ customerId: string;
15
+ libraryId: string;
16
+ categoryId: string;
17
+ fileUrl: string;
18
+ pendingProcessOrigin: PendingProcessOrigin;
19
+ origin: VideoOrigin;
20
+ video: CompletePendingItemVideo;
21
+ }
22
+ export declare class FlightVideoUploadDataService implements BaseVideoUploadDataService {
23
+ private store;
24
+ constructor(options: FlightVideoDataServiceOptions);
25
+ get name(): string;
26
+ clearPendingItems(ids: string[], callback?: () => void): void;
27
+ cancelPendingItems(ids: string[], callback?: () => void): void;
28
+ retryPendingItems(ids: string[], callback?: () => void): void;
29
+ getPendingItem(id: string, callback: (item: Core.Model) => void): void;
30
+ getPendingItems(callback: (items: HashObject[]) => void): void;
31
+ completeVideoUpload(request: CompletePendingItemRequest, callback?: (item: HashObject) => void): void;
32
+ }
33
+ export {};
@@ -0,0 +1,12 @@
1
+ import { BaseVideoUploadService } from '@clickview/shared';
2
+ export declare class VideoUploadService extends BaseVideoUploadService {
3
+ private videoUploadDataService;
4
+ private pendingItemsService;
5
+ private userDataService;
6
+ initialize(): void;
7
+ private lockUnload;
8
+ private unlockUnload;
9
+ private getUpload;
10
+ private completeUpload;
11
+ protected onSuccess(file: File, response: any): void;
12
+ }
@@ -1,2 +1,6 @@
1
1
  export * from './FlightSeriesDataService';
2
2
  export * from './FlightLibraryDataService';
3
+ export * from './VideoUploadService';
4
+ export * from './CombineUploadsService';
5
+ export * from './FlightVideoDataService';
6
+ export * from './FlightVideoUploadDataService';
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { PopupViewProps } from '@clickview/shared';
3
+ interface EditUploadViewProps {
4
+ uploadId: string;
5
+ }
6
+ export declare function EditUploadView(props: EditUploadViewProps & PopupViewProps): JSX.Element;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { PopupViewProps } from '@clickview/shared';
3
+ interface EditVideoViewProps {
4
+ id: string;
5
+ }
6
+ export declare function EditVideoView(props: EditVideoViewProps & PopupViewProps): JSX.Element;
7
+ export {};
@@ -5,4 +5,5 @@ export * from './play/PlayView';
5
5
  export * from './my-uploads/MyUploadsView';
6
6
  export * from './series/SeriesView';
7
7
  export * from './play-shared/PlaySharedView';
8
- export * from './backbone-wrapper/BackboneWrapperView';
8
+ export * from './edit-video/EditVideoView';
9
+ export * from './edit-upload/EditUploadView';
@@ -7,5 +7,5 @@ export declare enum LeftNavState {
7
7
  interface LeftNavViewProps {
8
8
  navState: LeftNavState;
9
9
  }
10
- export declare function LeftNavView(props: LeftNavViewProps): React.ReactElement;
10
+ export declare const LeftNavView: React.NamedExoticComponent<LeftNavViewProps>;
11
11
  export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function DismissibleAlert(): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { CombinedUpload } from 'shared/services';
3
+ export declare function useGetUploadingItems(onRemove: () => void, dependencies: React.DependencyList): CombinedUpload[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickview/lite",
3
- "version": "0.0.5-dev.0",
3
+ "version": "0.0.5-rc.1",
4
4
  "description": "ClickView Lite",
5
5
  "main": "dist/bundle.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,15 +20,20 @@
20
20
  "author": "Joshua Taylor, Shale Kuzmanovski, Matt Trengrove, Michael McDonnell",
21
21
  "license": "ISC",
22
22
  "devDependencies": {
23
- "@clickview/tooling": "0.0.13-dev.1",
23
+ "@clickview/tooling": "0.0.13-rc.1",
24
+ "@types/marked": "0.7.3",
24
25
  "@types/react-custom-scrollbars": "4.0.6"
25
26
  },
26
27
  "dependencies": {
27
- "@clickview/common": "1.0.4-dev.0",
28
- "@clickview/playlists": "1.0.4-dev.0",
29
- "@clickview/shared": "1.0.4-dev.0",
30
- "@clickview/styles": "1.0.2",
31
- "react-custom-scrollbars": "4.2.1"
28
+ "@clickview/common": "1.0.4-rc.1",
29
+ "@clickview/dashboard": "1.0.4-rc.1",
30
+ "@clickview/playlists": "1.0.4-rc.1",
31
+ "@clickview/shared": "1.0.4-rc.1",
32
+ "@clickview/styles": "1.0.3-rc.1",
33
+ "@microsoft/immersive-reader-sdk": "1.0.0",
34
+ "marked": "0.8.0",
35
+ "react-custom-scrollbars": "4.2.1",
36
+ "react-dropzone": "10.2.1"
32
37
  },
33
38
  "babel": {
34
39
  "presets": [
@@ -1,2 +0,0 @@
1
- export * from './views';
2
- export * from './LiteDefaultApplication';
@@ -1 +0,0 @@
1
- export * from './default';
@@ -1,3 +0,0 @@
1
- import { BaseObject } from '@clickview/shared';
2
- export interface Notification extends BaseObject {
3
- }
@@ -1,4 +0,0 @@
1
- import { BasePaginatedCollection } from '@clickview/shared';
2
- import { Notification } from 'apps/notifications/interfaces';
3
- export interface NotificationCollection extends BasePaginatedCollection<Notification> {
4
- }
@@ -1,2 +0,0 @@
1
- export * from './Notification';
2
- export * from './NotificationCollection';
@@ -1,16 +0,0 @@
1
- import { Store } from 'redux';
2
- import { Cursors } from '@clickview/common';
3
- import { BaseNotificationDataService, NotificationCollectionRequest, Notification as BackboneNotification, NotificationCollection as BackboneNotificationCollection } from '@clickview/shared';
4
- interface FlightNotificationDataServiceOptions {
5
- store: Store;
6
- }
7
- export declare class FlightNotificationDataService implements BaseNotificationDataService {
8
- private store;
9
- constructor(options: FlightNotificationDataServiceOptions);
10
- get name(): string;
11
- getNotifications(userId: string, params: NotificationCollectionRequest, collectionIdentifier: string, callback?: (data?: BackboneNotificationCollection) => BackboneNotificationCollection): BackboneNotificationCollection;
12
- markRead(id: string, callback?: (data?: BackboneNotification) => any): void;
13
- markSeen(callback?: () => any): void;
14
- getNotificationsCursors(collectionIdentifier: string): Cursors;
15
- }
16
- export {};
@@ -1 +0,0 @@
1
- export * from './FlightNotificationDataService';
@@ -1 +0,0 @@
1
- export * from './playlist-list';
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { Core } from '@clickview/common';
3
- import { Playlist } from '@clickview/shared';
4
- interface PlaylistItemProps {
5
- playlist: Playlist;
6
- appLink: Core.AppLink;
7
- }
8
- export declare function PlaylistItem(props: PlaylistItemProps): JSX.Element;
9
- export {};
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { Core } from '@clickview/common';
3
- import { Playlist } from '@clickview/shared';
4
- interface PlaylistListProps {
5
- playlists: Playlist[];
6
- getPlaylistAppLink: (playlist: Playlist) => Core.AppLink;
7
- }
8
- export declare function PlaylistList(props: PlaylistListProps): JSX.Element;
9
- export {};
@@ -1 +0,0 @@
1
- export * from './LitePlaylistList';
@@ -1,4 +0,0 @@
1
- import { Flight } from '@clickview/common';
2
- export declare const PlaylistRequests: {
3
- getUserPlaylists(cursor?: string): Flight.Request;
4
- };
@@ -1 +0,0 @@
1
- export * from './PlaylistRequests';
@@ -1 +0,0 @@
1
- export * from './LitePlaylistsApplication';
@@ -1 +0,0 @@
1
- export * from './user-playlists';
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function UserPlaylistsView(): JSX.Element;
@@ -1 +0,0 @@
1
- export * from './UserPlaylistsView';