UNPKG

node-hoyolab

Version:

node-hoyolab is an unofficial API Wrapper library developed to integrate with the Hoyolab, which provides a more convenient way to access the Hoyolab API.

41 lines (40 loc) 1.56 kB
"use strict"; 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 record_enum_exports = {}; __export(record_enum_exports, { Abyss: () => Abyss, ShiyuDefense: () => ShiyuDefense }); module.exports = __toCommonJS(record_enum_exports); var ShiyuDefense = /* @__PURE__ */ ((ShiyuDefense2) => { ShiyuDefense2[ShiyuDefense2["CURRENT"] = 1] = "CURRENT"; ShiyuDefense2[ShiyuDefense2["PREVIOUS"] = 2] = "PREVIOUS"; return ShiyuDefense2; })(ShiyuDefense || {}); var Abyss = /* @__PURE__ */ ((Abyss2) => { Abyss2[Abyss2["WitheringGarden"] = 1] = "WitheringGarden"; Abyss2[Abyss2["InfernoReap"] = 2] = "InfernoReap"; Abyss2[Abyss2["TopInfernoReap"] = 3] = "TopInfernoReap"; return Abyss2; })(Abyss || {}); // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { Abyss, ShiyuDefense });