@clickview/lite 0.0.13-rc.0 → 0.0.14-dev.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/bundle.js.map +1 -1
- package/dist/lite-app.css.map +1 -1
- package/package.json +53 -53
- package/dist/apps/classrooms/components/manage-classroom-student-list-item/ManageClassroomStudentListItem.d.ts +0 -10
- package/dist/apps/content-updates/utils/ContentUpdateAppLinks.d.ts +0 -0
- package/dist/apps/default/index.d.ts +0 -2
- package/dist/apps/default/views/dialog/LiteDialogView.d.ts +0 -9
- package/dist/apps/default/views/home/HomeView.d.ts +0 -5
- package/dist/apps/embed/EmbedApplication.d.ts +0 -15
- package/dist/apps/index.d.ts +0 -1
- package/dist/apps/user-manager/components/edit-uploaded-student-popup/EditUploadedStudentPopup.d.ts +0 -8
- package/dist/apps/user-manager/components/edit-user-details/EditUserDetails.d.ts +0 -22
- package/dist/apps/user-manager/components/manage-students-list/ManageStudentItem.d.ts +0 -9
- package/dist/apps/user-manager/components/manage-students-list/ManageStudentsList.d.ts +0 -7
- package/dist/apps/user-manager/components/manage-students-list/partial-loading/PartialManageStudentsList.d.ts +0 -2
- package/dist/apps/user-manager/components/small-pagination/SmallPagination.d.ts +0 -13
- package/dist/apps/user-manager/flight-requests/ClassroomRequests.d.ts +0 -4
- package/dist/apps/user-manager/flight-requests/SchoolUserRequests2.d.ts +0 -11
- package/dist/apps/user-manager/flight-requests/StudentRequests.d.ts +0 -4
- package/dist/apps/user-manager/flight-requests/YearLevelRequests2.d.ts +0 -4
- package/dist/apps/user-manager/flight-requests/index.d.ts +0 -2
- package/dist/apps/user-manager/index.d.ts +0 -5
- package/dist/apps/user-manager/interfaces/collections/UserRoleCollection.d.ts +0 -3
- package/dist/apps/user-manager/interfaces/collections/index.d.ts +0 -1
- package/dist/apps/user-manager/interfaces/mocks/MockUserType.d.ts +0 -4
- package/dist/apps/user-manager/interfaces/models/UserRole.d.ts +0 -3
- package/dist/apps/user-manager/interfaces/models/index.d.ts +0 -1
- package/dist/apps/user-manager/views/bulk-student-upload/BulkStudentUploadView.d.ts +0 -7
- package/dist/apps/user-manager/views/bulk-teacher-upload/BulkTeacherUploadView.d.ts +0 -7
- package/dist/apps/user-manager/views/index.d.ts +0 -1
- package/dist/apps/user-manager/views/school-student-manager/partial-loading/PartialSchoolStudentManager.d.ts +0 -2
- package/dist/apps/user-manager/views/student-upload-review/StudentUploadReducer.d.ts +0 -34
- package/dist/shared/components/div-button/DivButton.d.ts +0 -10
- package/dist/shared/components/icon-button/IconButton.d.ts +0 -9
- package/dist/shared/components/sort-select/SortSelect.d.ts +0 -2
- package/dist/shared/components/upload-file-select/UploadFileSelect.d.ts +0 -6
- package/dist/shared/components/uploading-item/UploadingItem.d.ts +0 -9
- package/dist/shared/errors/not-found/NotFoundError.d.ts +0 -5
- package/dist/shared/flight-requests/ConfigRequests.d.ts +0 -4
- package/dist/shared/flight-requests/SchoolUserRequests2.d.ts +0 -10
- package/dist/shared/flight-requests/UserRequests.d.ts +0 -5
- package/dist/shared/flight-requests/YearLevelRequests.d.ts +0 -4
- package/dist/shared/hooks/useWatchCollectionAsMapReducer.d.ts +0 -13
- package/dist/shared/index.d.ts +0 -7
- package/dist/shared/interfaces/mocks/MockUserType.d.ts +0 -0
- package/dist/shared/layouts/embed-layout/EmbedLayoutCompnent.d.ts +0 -8
- package/dist/shared/layouts/embed-layut/EmbedLayoutCompnent.d.ts +0 -8
- package/dist/shared/layouts/embed-layut/EmbedLayoutView.d.ts +0 -17
- package/dist/shared/services/CombineUploadsService.d.ts +0 -44
- package/dist/shared/services/FlightVideoUploadDataService.d.ts +0 -33
- package/dist/shared/services/VideoUploadService.d.ts +0 -12
- package/dist/shared/views/backbone-wrapper/BackboneWrapperView.d.ts +0 -8
- package/dist/shared/views/edit-upload/EditUploadView.d.ts +0 -7
- package/dist/shared/views/edit-video/EditVideoDetails.d.ts +0 -19
- package/dist/shared/views/my-uploads/CombineUploadsService.d.ts +0 -17
- package/dist/shared/views/my-uploads/DismissableAlert.d.ts +0 -2
- package/dist/shared/views/my-uploads/MyUploadsView.d.ts +0 -6
- package/dist/shared/views/my-uploads/UploadingItem.d.ts +0 -7
- package/dist/shared/views/my-uploads/useGetUploadingItems.d.ts +0 -3
- package/dist/shared/views/play/components/BackButton.d.ts +0 -2
- package/dist/shared/views/play/components/Badges.d.ts +0 -7
- package/dist/shared/views/play/components/Buttons.d.ts +0 -2
- package/dist/shared/views/play/components/PlayPage.d.ts +0 -7
- package/dist/shared/views/play/components/VideoTitle.d.ts +0 -7
- package/dist/shared/views/play/components/index.d.ts +0 -3
|
@@ -1,44 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,12 +0,0 @@
|
|
|
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,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Core } from '@clickview/common';
|
|
3
|
-
interface BackboneWrapperViewProps {
|
|
4
|
-
view: () => Core.View;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function BackboneWrapperView({ view, className }: BackboneWrapperViewProps): JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import * as Yup from 'yup';
|
|
3
|
-
import { Video } from '@clickview/shared';
|
|
4
|
-
export interface UpdateVideoRequest {
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const VideoValidationSchema: Yup.ObjectSchema<Yup.Shape<object, {
|
|
10
|
-
name: string;
|
|
11
|
-
description: string;
|
|
12
|
-
}>>;
|
|
13
|
-
interface EditVideoDetailsComponentProps {
|
|
14
|
-
video?: Video;
|
|
15
|
-
saveVideo: (data: UpdateVideoRequest) => void;
|
|
16
|
-
onClickCancel: () => void;
|
|
17
|
-
}
|
|
18
|
-
export declare function EditVideoDetails(props: EditVideoDetailsComponentProps): JSX.Element;
|
|
19
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Core } from '@clickview/common';
|
|
2
|
-
export declare class CombineUploadsService extends Core.Service {
|
|
3
|
-
private videoUploadService;
|
|
4
|
-
private pendingItemsService;
|
|
5
|
-
private uploads;
|
|
6
|
-
private pendingItems;
|
|
7
|
-
private combined;
|
|
8
|
-
get name(): string;
|
|
9
|
-
initialize(): void;
|
|
10
|
-
private initializeServices;
|
|
11
|
-
private initializeCollections;
|
|
12
|
-
private bindListeners;
|
|
13
|
-
private addUpload;
|
|
14
|
-
private addPendingItem;
|
|
15
|
-
private onItemRemove;
|
|
16
|
-
getCollection(): Core.Collection;
|
|
17
|
-
}
|