glitch-javascript-sdk 3.5.2 → 3.5.3
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 +5 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/GameShows.d.ts +2 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/api/GameShows.ts +5 -0
- package/src/routes/GameShowsRoute.ts +1 -0
package/dist/cjs/index.js
CHANGED
|
@@ -27046,6 +27046,7 @@ var GameShowsRoute = /** @class */ (function () {
|
|
|
27046
27046
|
deleteBlock: { url: '/gameshows/{show_id}/blocks/{block_id}', method: HTTP_METHODS.DELETE },
|
|
27047
27047
|
reorderBlocks: { url: '/gameshows/{show_id}/blocks/reorder', method: HTTP_METHODS.POST },
|
|
27048
27048
|
listSchedule: { url: '/gameshows/{show_id}/schedule', method: HTTP_METHODS.GET },
|
|
27049
|
+
getScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.GET },
|
|
27049
27050
|
createScheduleItem: { url: '/gameshows/{show_id}/schedule', method: HTTP_METHODS.POST },
|
|
27050
27051
|
updateScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.PUT },
|
|
27051
27052
|
deleteScheduleItem: { url: '/gameshows/{show_id}/schedule/{schedule_id}', method: HTTP_METHODS.DELETE },
|
|
@@ -27310,6 +27311,10 @@ var GameShows = /** @class */ (function () {
|
|
|
27310
27311
|
GameShows.listSchedule = function (show_id, params) {
|
|
27311
27312
|
return Requests.processRoute(GameShowsRoute.routes.listSchedule, {}, { show_id: show_id }, params);
|
|
27312
27313
|
};
|
|
27314
|
+
/** Fetch one public or organizer-visible festival schedule item. */
|
|
27315
|
+
GameShows.getScheduleItem = function (show_id, schedule_id, params) {
|
|
27316
|
+
return Requests.processRoute(GameShowsRoute.routes.getScheduleItem, {}, { show_id: show_id, schedule_id: schedule_id }, params);
|
|
27317
|
+
};
|
|
27313
27318
|
/**
|
|
27314
27319
|
* Create a schedule item for a game show. Requires organizer permissions.
|
|
27315
27320
|
*/
|