gplayapi-ts
Version:
Google Play API wrapper in TypeScript
46 lines • 2.06 kB
JavaScript
;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var common_exports = {};
__export(common_exports, {
HttpStatusCode: () => HttpStatusCode,
ImageType: () => ImageType
});
module.exports = __toCommonJS(common_exports);
var ImageType = /* @__PURE__ */ ((ImageType2) => {
ImageType2[ImageType2["CATEGORY_ICON"] = 0] = "CATEGORY_ICON";
ImageType2[ImageType2["APP_ICON"] = 1] = "APP_ICON";
ImageType2[ImageType2["YOUTUBE_VIDEO_THUMBNAIL"] = 2] = "YOUTUBE_VIDEO_THUMBNAIL";
ImageType2[ImageType2["PLAY_STORE_PAGE_BACKGROUND"] = 3] = "PLAY_STORE_PAGE_BACKGROUND";
ImageType2[ImageType2["APP_SCREENSHOT"] = 4] = "APP_SCREENSHOT";
return ImageType2;
})(ImageType || {});
var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
HttpStatusCode2[HttpStatusCode2["OK"] = 200] = "OK";
HttpStatusCode2[HttpStatusCode2["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
HttpStatusCode2[HttpStatusCode2["FORBIDDEN"] = 403] = "FORBIDDEN";
HttpStatusCode2[HttpStatusCode2["NOT_FOUND"] = 404] = "NOT_FOUND";
HttpStatusCode2[HttpStatusCode2["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
return HttpStatusCode2;
})(HttpStatusCode || {});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
HttpStatusCode,
ImageType
});
//# sourceMappingURL=common.js.map