glitch-javascript-sdk 3.10.7 → 3.10.8
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 +22 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
- package/src/api/GameShows.ts +24 -0
- package/src/routes/GameShowsRoute.ts +1 -0
package/dist/cjs/index.js
CHANGED
|
@@ -33126,6 +33126,7 @@ var GameShowsRoute = /** @class */ (function () {
|
|
|
33126
33126
|
registrationQuestionReports: { url: '/gameshows/{show_id}/registration-form/reports', method: HTTP_METHODS.GET },
|
|
33127
33127
|
listTitles: { url: '/gameshows/{show_id}/titles', method: HTTP_METHODS.GET },
|
|
33128
33128
|
addTitle: { url: '/gameshows/{show_id}/addTitle', method: HTTP_METHODS.POST },
|
|
33129
|
+
searchTitleCandidates: { url: '/gameshows/{show_id}/title-candidates', method: HTTP_METHODS.GET },
|
|
33129
33130
|
// External registration file preview/import endpoints.
|
|
33130
33131
|
previewExternalTitles: { url: '/gameshows/{show_id}/external-titles/preview', method: HTTP_METHODS.POST },
|
|
33131
33132
|
importExternalTitles: { url: '/gameshows/{show_id}/external-titles/import', method: HTTP_METHODS.POST },
|
|
@@ -33375,6 +33376,10 @@ var GameShows = /** @class */ (function () {
|
|
|
33375
33376
|
GameShows.addTitle = function (show_id, data, params) {
|
|
33376
33377
|
return Requests.processRoute(GameShowsRoute.routes.addTitle, data, { show_id: show_id }, params);
|
|
33377
33378
|
};
|
|
33379
|
+
/** Search privacy-safe registered Glitch games that an organizer may attach to a festival. */
|
|
33380
|
+
GameShows.searchTitleCandidates = function (show_id, params) {
|
|
33381
|
+
return Requests.processRoute(GameShowsRoute.routes.searchTitleCandidates, {}, { show_id: show_id }, params);
|
|
33382
|
+
};
|
|
33378
33383
|
/** Preview CSV/TSV/TXT/ZIP registrations without writing showcase data. */
|
|
33379
33384
|
GameShows.previewExternalTitles = function (show_id, file, data, params) {
|
|
33380
33385
|
// Multipart helpers require the concrete URL before uploading.
|