glitch-javascript-sdk 2.6.1 → 2.6.2
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/cjs/index.js +3 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Education.d.ts +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/api/Education.ts +4 -1
|
@@ -22,6 +22,7 @@ declare class Education {
|
|
|
22
22
|
static heartbeat<T>(uuid: string, data: object): AxiosPromise<Response<T>>;
|
|
23
23
|
static getSecureVideo<T>(uuid: string): AxiosPromise<Response<T>>;
|
|
24
24
|
static getPreviewSecureVideo<T>(uuid: string): AxiosPromise<Response<T>>;
|
|
25
|
+
static listAllProgress<T>(params?: object): AxiosPromise<Response<T>>;
|
|
25
26
|
static listTrackContent<T>(track_id: string): AxiosPromise<Response<T>>;
|
|
26
27
|
static addContentToTrack<T>(track_id: string, data: object): AxiosPromise<Response<T>>;
|
|
27
28
|
static removeContentFromTrack<T>(track_id: string, content_id: string): AxiosPromise<Response<T>>;
|
package/dist/esm/index.js
CHANGED
|
@@ -16730,6 +16730,9 @@ var Education = /** @class */ (function () {
|
|
|
16730
16730
|
Education.getPreviewSecureVideo = function (uuid) {
|
|
16731
16731
|
return Requests.processRoute(EducationRoute.routes.getPreviewSecureVideo, undefined, { uuid: uuid });
|
|
16732
16732
|
};
|
|
16733
|
+
Education.listAllProgress = function (params) {
|
|
16734
|
+
return Requests.processRoute(EducationRoute.routes.listAllProgress, undefined, undefined, params);
|
|
16735
|
+
};
|
|
16733
16736
|
// --- 4. TRACK CONTENT (PIVOT) ---
|
|
16734
16737
|
Education.listTrackContent = function (track_id) {
|
|
16735
16738
|
return Requests.processRoute(EducationRoute.routes.listTrackContent, undefined, { track_id: track_id });
|