@clickview/curator 1.0.15-rc.3 → 1.0.15-rc.4
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/curator-app.js +3 -3
- package/package.json +3 -3
- package/dist/curator-app.css.map +0 -1
- package/dist/curator-app.js.map +0 -1
- package/dist/libs/shared/src/constants/DataPrefixes.d.ts +0 -12
- package/dist/libs/shared/src/constants/RadioChannels.d.ts +0 -20
- package/dist/libs/shared/src/constants/SharedServices.d.ts +0 -25
- package/dist/libs/shared/src/services/UserDataService.d.ts +0 -22
- package/dist/projects/curator/src/apps/playlists/services/PlaylistDataService.d.ts +0 -22
- package/dist/projects/curator/src/apps/playlists/services/index.d.ts +0 -1
- package/dist/projects/curator/src/apps/series/services/SeriesDataService.d.ts +0 -17
- package/dist/projects/curator/src/apps/series/services/index.d.ts +0 -1
- package/dist/projects/curator/src/apps/videos/services/VideoDataService.d.ts +0 -14
- package/dist/projects/curator/src/apps/videos/services/index.d.ts +0 -1
- package/dist/projects/curator/src/shared/context/UserContext.d.ts +0 -4
- package/dist/projects/curator/src/shared/interfaces/models/CuratorUser.d.ts +0 -5
- package/dist/projects/curator/src/shared/interfaces/models/Group.d.ts +0 -3
- package/dist/projects/curator/src/shared/services/UserDataService.d.ts +0 -11
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const SharedDataPrefixes: {
|
|
2
|
-
SUBJECT_PLAYLISTS: string;
|
|
3
|
-
CURRENT_USER: string;
|
|
4
|
-
WORKSPACE: string;
|
|
5
|
-
CONFIG: string;
|
|
6
|
-
LOCALE: string;
|
|
7
|
-
PHRASES: string;
|
|
8
|
-
SEARCH_FILTERS: string;
|
|
9
|
-
SERIES: string;
|
|
10
|
-
NOTIFICATIONS: string;
|
|
11
|
-
SUGGEST_EDIT: string;
|
|
12
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const SharedDataChannels: {
|
|
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
|
-
};
|
|
11
|
-
export declare const SharedServiceChannels: {
|
|
12
|
-
PENDING_ITEMS: string;
|
|
13
|
-
VIDEO_UPLOAD: string;
|
|
14
|
-
SUBTITLE_UPLOAD: string;
|
|
15
|
-
RESOURCE_UPLOAD: string;
|
|
16
|
-
CONTEXTUAL_SEARCH: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const SharedAppChannels: {
|
|
19
|
-
NOTIFICATIONS: string;
|
|
20
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare const SharedDataServices: {
|
|
2
|
-
Config: string;
|
|
3
|
-
User: string;
|
|
4
|
-
Language: string;
|
|
5
|
-
Video: string;
|
|
6
|
-
VideoUpload: string;
|
|
7
|
-
Library: string;
|
|
8
|
-
Search: string;
|
|
9
|
-
Series: string;
|
|
10
|
-
Notification: string;
|
|
11
|
-
NotificationSocket: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const SharedServices: {
|
|
14
|
-
ImageUrl: string;
|
|
15
|
-
PendingItems: string;
|
|
16
|
-
Alerts: string;
|
|
17
|
-
VideoUpload: string;
|
|
18
|
-
ResourceUpload: string;
|
|
19
|
-
SubtitleUpload: string;
|
|
20
|
-
VideoMixin: string;
|
|
21
|
-
ContextualSearch: string;
|
|
22
|
-
Context: string;
|
|
23
|
-
Notification: string;
|
|
24
|
-
AppOptions: string;
|
|
25
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="backbone" />
|
|
2
|
-
/// <reference types="backbone.radio" />
|
|
3
|
-
import { FetchOptions } from "../../../common/src/react/utils/FetchHelper";
|
|
4
|
-
import { BaseDataService } from "../../../common/src/backbone/services/BaseDataService";
|
|
5
|
-
import { DataServiceError } from "../../../common/src/backbone/interfaces";
|
|
6
|
-
import { HashObject } from "../../../common/src/react/interfaces/HashObject";
|
|
7
|
-
export declare class UserDataService extends BaseDataService {
|
|
8
|
-
get name(): string;
|
|
9
|
-
get channelName(): string;
|
|
10
|
-
getCurrentUser<T>(callback?: (user: T) => void, errorCallback?: () => void): T;
|
|
11
|
-
getWorkspace(callback: (workspace: HashObject) => void, errorCallback?: () => void): HashObject;
|
|
12
|
-
}
|
|
13
|
-
export declare const UserDataServiceHelper: {
|
|
14
|
-
getCurrentUserFetchOptions<T>(setData: (data: T) => void, onError?: (error: DataServiceError) => void): FetchOptions;
|
|
15
|
-
currentUser: {
|
|
16
|
-
dataServiceName: string;
|
|
17
|
-
eventName: string;
|
|
18
|
-
getData: (instance: UserDataService) => unknown;
|
|
19
|
-
getInstance: (context: import("backbone").Events) => unknown;
|
|
20
|
-
beforeOnBeforeRender: boolean;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BaseDataService } from "../../../../../../libs/common/src/backbone/services/BaseDataService";
|
|
2
|
-
import { DataServiceError } from "../../../../../../libs/common/src/backbone/interfaces";
|
|
3
|
-
import { FetchOptions } from "../../../../../../libs/common/src/react/utils/FetchHelper";
|
|
4
|
-
import { Playlist, VideoCollection, ReorderRequest } from "../../../../../../libs/shared/src/interfaces";
|
|
5
|
-
import { CreateOrUpdatePlaylistRequest } from "../../../../../../libs/shared/src/apps/playlists/interfaces";
|
|
6
|
-
export declare class PlaylistDataService extends BaseDataService {
|
|
7
|
-
get name(): string;
|
|
8
|
-
get channelName(): string;
|
|
9
|
-
getPlaylist(playlistId: string, callback?: (data: Playlist) => void, errorCallback?: () => void): Playlist;
|
|
10
|
-
getPlaylistsById(ids: string[], callback?: (data: Playlist[]) => void, errorCallback?: () => void): Playlist[];
|
|
11
|
-
createPlaylist(data: CreateOrUpdatePlaylistRequest, userId: string, callback?: (data: Playlist) => void, errorCallback?: () => void): void;
|
|
12
|
-
updatePlaylist(id: string, data: CreateOrUpdatePlaylistRequest, callback?: (data: Playlist) => void, errorCallback?: () => void): void;
|
|
13
|
-
deletePlaylist(playlistId: string, callback?: () => void, errorCallback?: () => void): void;
|
|
14
|
-
getPlaylistVideos(playlistId: string, callback?: (data: VideoCollection) => void, errorCallback?: () => void): VideoCollection;
|
|
15
|
-
reorderVideos(playlistId: string, reorderRequest: ReorderRequest, callback?: () => void): void;
|
|
16
|
-
removeVideoFromPlaylist(playlistId: string, videoId: string, callback?: () => void, errorCallback?: () => void): void;
|
|
17
|
-
}
|
|
18
|
-
export declare const PlaylistDataServiceHelper: {
|
|
19
|
-
getPlaylistFetchOptions: (playlistId: string, setData: (data: Playlist) => void, onError?: (error: DataServiceError) => void) => FetchOptions;
|
|
20
|
-
getPlaylistsByIdFetchOptions: (ids: string[], setData: (data: Playlist[]) => void, onError?: (error: DataServiceError) => void) => FetchOptions;
|
|
21
|
-
getPlaylistVideosFetchOptions: (playlistId: string, setData: (data: VideoCollection) => void, onError?: (error: DataServiceError) => void) => FetchOptions;
|
|
22
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './PlaylistDataService';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BaseDataService } from "../../../../../../libs/common/src/backbone/services/BaseDataService";
|
|
2
|
-
import { DataServiceError } from "../../../../../../libs/common/src/backbone/interfaces";
|
|
3
|
-
import { FetchOptions } from "../../../../../../libs/common/src/react/utils/FetchHelper";
|
|
4
|
-
import { Series } from "../../../../../../libs/shared/src/interfaces";
|
|
5
|
-
import { CreateOrUpdateSeriesRequest } from "../interfaces";
|
|
6
|
-
export declare class SeriesDataService extends BaseDataService {
|
|
7
|
-
get name(): string;
|
|
8
|
-
get channelName(): string;
|
|
9
|
-
getSeries(seriesId: string, callback?: (video: Series) => void, errorCallback?: () => void): Series;
|
|
10
|
-
getSeriesById(ids: string[], callback?: (data: Series[]) => void, errorCallback?: () => void): Series[];
|
|
11
|
-
createSeries(data: CreateOrUpdateSeriesRequest, callback?: (data: Series) => void, errorCallback?: () => void): void;
|
|
12
|
-
updateSeries(id: string, data: CreateOrUpdateSeriesRequest, callback?: (data: Series) => void, errorCallback?: () => void): void;
|
|
13
|
-
}
|
|
14
|
-
export declare const SeriesDataServiceHelper: {
|
|
15
|
-
getSeriesFetchOptions(seriesId: string, setData: (data: Series) => void, onError?: (error: DataServiceError) => void): FetchOptions;
|
|
16
|
-
getSeriesByIdFetchOptions: (ids: string[], setData: (data: Series[]) => void, onError?: (error: DataServiceError) => void) => FetchOptions;
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './SeriesDataService';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BaseDataService } from "../../../../../../libs/common/src/backbone/services/BaseDataService";
|
|
2
|
-
import { DataServiceError } from "../../../../../../libs/common/src/backbone/interfaces";
|
|
3
|
-
import { FetchOptions } from "../../../../../../libs/common/src/react/utils/FetchHelper";
|
|
4
|
-
import { Video } from "../../../../../../libs/shared/src/interfaces";
|
|
5
|
-
export declare class VideoDataService extends BaseDataService {
|
|
6
|
-
get name(): string;
|
|
7
|
-
get channelName(): string;
|
|
8
|
-
getVideo(videoId: string, callback?: (video: Video) => void, errorCallback?: () => void): Video;
|
|
9
|
-
getVideosById(ids: string[], callback?: (data: Video[]) => void, errorCallback?: () => void): Video[];
|
|
10
|
-
}
|
|
11
|
-
export declare const VideoDataServiceHelper: {
|
|
12
|
-
getVideoFetchOptions: (videoId: string, setData: (data: Video) => void, onError?: (error: DataServiceError) => void) => FetchOptions;
|
|
13
|
-
getVideosByIdFetchOptions: (ids: string[], setData: (data: Video[]) => void, onError?: (error: DataServiceError) => void) => FetchOptions;
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './VideoDataService';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseDataService } from "../../../../../libs/common/src/backbone/services/BaseDataService";
|
|
2
|
-
import { DataServiceError } from "../../../../../libs/common/src/backbone/interfaces";
|
|
3
|
-
import { FetchOptions } from "../../../../../libs/common/src/react/utils/FetchHelper";
|
|
4
|
-
export declare class UserDataService extends BaseDataService {
|
|
5
|
-
get name(): string;
|
|
6
|
-
get channelName(): string;
|
|
7
|
-
getCurrentUser<T>(callback?: (user: T) => void, errorCallback?: () => void): T;
|
|
8
|
-
}
|
|
9
|
-
export declare const UserDataServiceHelper: {
|
|
10
|
-
getCurrentUserFetchOptions<T>(setData: (data: T) => void, onError?: (error: DataServiceError) => void): FetchOptions;
|
|
11
|
-
};
|