glitch-javascript-sdk 2.5.9 → 2.6.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/cjs/index.js +4 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Education.d.ts +1 -0
- package/dist/esm/index.js +4 -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 +3 -0
- package/src/routes/EducationRoute.ts +1 -0
package/dist/cjs/index.js
CHANGED
|
@@ -29700,6 +29700,7 @@ var EducationRoute = /** @class */ (function () {
|
|
|
29700
29700
|
saveContentModuleState: { url: '/education/content/{uuid}/module-state', method: HTTP_METHODS.POST },
|
|
29701
29701
|
getContentModuleState: { url: '/education/content/{uuid}/module-state', method: HTTP_METHODS.GET },
|
|
29702
29702
|
getSecureVideo: { url: '/education/content/{uuid}/secure-video', method: HTTP_METHODS.GET },
|
|
29703
|
+
getPreviewSecureVideo: { url: '/education/content/{uuid}/preview-secure-video', method: HTTP_METHODS.GET },
|
|
29703
29704
|
// 4. EducationContentTrackController (Pivot)
|
|
29704
29705
|
listTrackContent: { url: '/education/tracks/{track_id}/content', method: HTTP_METHODS.GET },
|
|
29705
29706
|
addContentToTrack: { url: '/education/tracks/{track_id}/content', method: HTTP_METHODS.POST },
|
|
@@ -29863,6 +29864,9 @@ var Education = /** @class */ (function () {
|
|
|
29863
29864
|
Education.getSecureVideo = function (uuid) {
|
|
29864
29865
|
return Requests.processRoute(EducationRoute.routes.getSecureVideo, undefined, { uuid: uuid });
|
|
29865
29866
|
};
|
|
29867
|
+
Education.getPreviewSecureVideo = function (uuid) {
|
|
29868
|
+
return Requests.processRoute(EducationRoute.routes.getPreviewSecureVideo, undefined, { uuid: uuid });
|
|
29869
|
+
};
|
|
29866
29870
|
// --- 4. TRACK CONTENT (PIVOT) ---
|
|
29867
29871
|
Education.listTrackContent = function (track_id) {
|
|
29868
29872
|
return Requests.processRoute(EducationRoute.routes.listTrackContent, undefined, { track_id: track_id });
|