glitch-javascript-sdk 3.2.24 → 3.2.25
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 +7 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/GameShows.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/api/GameShows.ts +7 -0
- package/src/routes/GameShowsRoute.ts +1 -0
|
@@ -173,5 +173,9 @@ declare class GameShows {
|
|
|
173
173
|
* List notification signups for a game show. Requires organizer permissions.
|
|
174
174
|
*/
|
|
175
175
|
static listWishlist<T>(show_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
176
|
+
/**
|
|
177
|
+
* List public game shows that include a title. Useful for game-page festival banners.
|
|
178
|
+
*/
|
|
179
|
+
static listForTitle<T>(title_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
176
180
|
}
|
|
177
181
|
export default GameShows;
|
package/dist/esm/index.js
CHANGED
|
@@ -14923,6 +14923,7 @@ var GameShowsRoute = /** @class */ (function () {
|
|
|
14923
14923
|
analyticsReport: { url: '/gameshows/{show_id}/analytics/report', method: HTTP_METHODS.GET },
|
|
14924
14924
|
joinWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.POST },
|
|
14925
14925
|
listWishlist: { url: '/gameshows/{show_id}/wishlist', method: HTTP_METHODS.GET },
|
|
14926
|
+
listForTitle: { url: '/titles/{title_id}/gameshows', method: HTTP_METHODS.GET },
|
|
14926
14927
|
};
|
|
14927
14928
|
return GameShowsRoute;
|
|
14928
14929
|
}());
|
|
@@ -15164,6 +15165,12 @@ var GameShows = /** @class */ (function () {
|
|
|
15164
15165
|
GameShows.listWishlist = function (show_id, params) {
|
|
15165
15166
|
return Requests.processRoute(GameShowsRoute.routes.listWishlist, {}, { show_id: show_id }, params);
|
|
15166
15167
|
};
|
|
15168
|
+
/**
|
|
15169
|
+
* List public game shows that include a title. Useful for game-page festival banners.
|
|
15170
|
+
*/
|
|
15171
|
+
GameShows.listForTitle = function (title_id, params) {
|
|
15172
|
+
return Requests.processRoute(GameShowsRoute.routes.listForTitle, {}, { title_id: title_id }, params);
|
|
15173
|
+
};
|
|
15167
15174
|
return GameShows;
|
|
15168
15175
|
}());
|
|
15169
15176
|
|