@clickview/player 0.0.23-dev.1 → 0.0.23-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/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +7 -3
- package/dist/libs/common/src/backbone/services/LanguageService.d.ts +1 -0
- package/dist/libs/common/src/react/flight/FlightHelpers.d.ts +1 -0
- package/dist/libs/shared/src/apps/search/interfaces/SearchResults.d.ts +3 -3
- package/dist/libs/shared/src/enums/SettingName.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/models/Clip.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/models/InteractiveMetadata.d.ts +2 -0
- package/dist/player-app.js +2 -2
- package/package.json +3 -3
|
@@ -72,6 +72,8 @@ export declare enum UserAction {
|
|
|
72
72
|
Answer = "cv_product_submit",
|
|
73
73
|
Complete = "cv_product_complete",
|
|
74
74
|
Archive = "cv_product_archive",
|
|
75
|
+
Promote = "cv_product_promote",
|
|
76
|
+
Demote = "cv_product_demote",
|
|
75
77
|
SetAccess = "cv_product_set_access",
|
|
76
78
|
AddToLocalCache = "cv_product_add_to_lc",
|
|
77
79
|
/**
|
|
@@ -163,14 +165,15 @@ export declare enum LocationContext {
|
|
|
163
165
|
StudentManager = "student_manager",
|
|
164
166
|
StudentManagerListItem = "student_manager_list_item",
|
|
165
167
|
EditUser = "edit_user",
|
|
168
|
+
Classroom = "classroom",
|
|
166
169
|
ClassroomsList = "classrooms_list",
|
|
167
170
|
ClassroomsListItem = "classrooms_list_item",
|
|
168
|
-
ClassroomOverview = "classroom_overview",
|
|
169
|
-
ClassroomOverviewStudentListItem = "classroom_overview_student_list_item",
|
|
170
171
|
ManageClassroomStudents = "manage_classroom_students",
|
|
171
172
|
ManageClassroomStudentListItem = "manage_classroom_student_list_item",
|
|
172
173
|
ManageClassroomGroups = "manage_classroom_groups",
|
|
173
174
|
ManageClassroomGroupListItem = "manage_classroom_group_list_item",
|
|
175
|
+
ManageClassroomTeachers = "manage_classroom_teachers",
|
|
176
|
+
ManageClassroomTeacherListItem = "manage_classroom_teachers_list_item",
|
|
174
177
|
ArchivedClassrooms = "archived_classrooms",
|
|
175
178
|
PreviewInteractive = "preview_interactive",
|
|
176
179
|
PreviewSharedInteractive = "preview_shared_interactive",
|
|
@@ -349,7 +352,8 @@ export declare enum AssocDescriptor {
|
|
|
349
352
|
Link = "link",
|
|
350
353
|
Avatar = "avatar",
|
|
351
354
|
Clip = "clip",
|
|
352
|
-
Interactive = "interactive"
|
|
355
|
+
Interactive = "interactive",
|
|
356
|
+
Classroom = "classroom"
|
|
353
357
|
}
|
|
354
358
|
export declare enum ToggleDescriptor {
|
|
355
359
|
On = "on",
|
|
@@ -12,4 +12,5 @@ interface GetResponseOptions {
|
|
|
12
12
|
}
|
|
13
13
|
export declare function useGetResponse<T>(key: string, options?: GetResponseOptions): Response<T>;
|
|
14
14
|
export declare function useBasicFetch<T>(request: Request, options?: GetResponseOptions): Response<T>;
|
|
15
|
+
export declare function fetchAsync<T>(store: Store, request: Request): Promise<T>;
|
|
15
16
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Video, Classification, Playlist, Series, Clip, InteractiveMetadata, User } from 'libs/shared/interfaces';
|
|
1
|
+
import { Video, Classification, Playlist, Series, Clip, InteractiveMetadata, User, Classroom } from 'libs/shared/interfaces';
|
|
2
2
|
export declare type SearchResultsObject<T> = T & {
|
|
3
3
|
_index: SearchIndices;
|
|
4
4
|
_featured?: boolean;
|
|
5
5
|
};
|
|
6
|
-
export declare type SearchResultObjectTypes = SearchResultsObject<Video> | SearchResultsObject<Classification> | SearchResultsObject<Series> | SearchResultsObject<Playlist> | SearchResultsObject<Clip> | SearchResultsObject<InteractiveMetadata> | SearchResultsObject<User>;
|
|
7
|
-
export declare type SearchIndices = 'video' | 'series' | 'playlist' | 'classification' | 'clip' | 'interactive' | 'user';
|
|
6
|
+
export declare type SearchResultObjectTypes = SearchResultsObject<Video> | SearchResultsObject<Classification> | SearchResultsObject<Series> | SearchResultsObject<Playlist> | SearchResultsObject<Clip> | SearchResultsObject<InteractiveMetadata> | SearchResultsObject<User> | SearchResultsObject<Classroom>;
|
|
7
|
+
export declare type SearchIndices = 'video' | 'series' | 'playlist' | 'classification' | 'clip' | 'interactive' | 'user' | 'classroom';
|
|
8
8
|
export interface SearchResults<T = SearchResultObjectTypes> {
|
|
9
9
|
results: T[];
|
|
10
10
|
totalResults: number;
|
|
@@ -25,5 +25,6 @@ export declare enum SettingName {
|
|
|
25
25
|
LiteUpgradeTypeCustomer = "lite_upgrade_type_customer",
|
|
26
26
|
LiteUpgradeTypeUser = "lite_upgrade_type_user",
|
|
27
27
|
HasCompletedUpgradeOnboarding = "has_completed_upgrade_onboarding",
|
|
28
|
-
LiteUpgradeFeedback = "lite_upgrade_feedback"
|
|
28
|
+
LiteUpgradeFeedback = "lite_upgrade_feedback",
|
|
29
|
+
LiteUpgradeComplete = "lite_upgrade_complete"
|
|
29
30
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseObject, InteractiveCollection, User, Video, VirtualObject, CanUpdate, UserCollection } from 'libs/shared/interfaces';
|
|
2
|
+
import { CanBeConsumed } from './Video';
|
|
2
3
|
export interface Clip extends BaseObject {
|
|
3
4
|
description?: string;
|
|
4
5
|
startTime: number;
|
|
@@ -8,6 +9,7 @@ export interface Clip extends BaseObject {
|
|
|
8
9
|
interactives?: InteractiveCollection;
|
|
9
10
|
_isClickViewContent?: IsClickViewContent;
|
|
10
11
|
_canUpdate?: CanUpdate;
|
|
12
|
+
_canBeConsumed?: CanBeConsumed;
|
|
11
13
|
favouritedBy?: UserCollection;
|
|
12
14
|
}
|
|
13
15
|
interface IsClickViewContent extends VirtualObject {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CurationStatus } from 'libs/shared/enums/CurationStatus';
|
|
2
2
|
import { InteractiveOriginType } from 'libs/shared/enums/InteractiveOriginType';
|
|
3
3
|
import { BaseObject, VirtualObject, User, Thumbnail, Video, Clip, Timepoint, CanUpdate, UserCollection } from 'libs/shared/interfaces';
|
|
4
|
+
import { CanBeConsumed } from './Video';
|
|
4
5
|
export interface InteractiveMetadata extends BaseObject {
|
|
5
6
|
status: CurationStatus;
|
|
6
7
|
interactiveId: string;
|
|
@@ -14,6 +15,7 @@ export interface InteractiveMetadata extends BaseObject {
|
|
|
14
15
|
_isClickViewContent?: IsClickViewContent;
|
|
15
16
|
_timepoints?: VirtualTimepoints;
|
|
16
17
|
_canUpdate?: CanUpdate;
|
|
18
|
+
_canBeConsumed?: CanBeConsumed;
|
|
17
19
|
favouritedBy?: UserCollection;
|
|
18
20
|
}
|
|
19
21
|
export interface HasInteractive extends VirtualObject {
|