AK-21/Graphite-Industrial-Intelligence
0
1"use strict";2var __defProp = Object.defineProperty;3var __getOwnPropDesc = Object.getOwnPropertyDescriptor;4var __getOwnPropNames = Object.getOwnPropertyNames;5var __hasOwnProp = Object.prototype.hasOwnProperty;6var __export = (target, all) => {7 for (var name in all)8 __defProp(target, name, { get: all[name], enumerable: true });9};10var __copyProps = (to, from, except, desc) => {11 if (from && typeof from === "object" || typeof from === "function") {12 for (let key of __getOwnPropNames(from))13 if (!__hasOwnProp.call(to, key) && key !== except)14 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });15 }16 return to;17};18var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);19var query_promise_exports = {};20__export(query_promise_exports, {21 QueryPromise: () => QueryPromise22});23module.exports = __toCommonJS(query_promise_exports);24var import_entity = require("./entity.cjs");25class QueryPromise {26 static [import_entity.entityKind] = "QueryPromise";27 [Symbol.toStringTag] = "QueryPromise";28 catch(onRejected) {29 return this.then(void 0, onRejected);30 }31 finally(onFinally) {32 return this.then(33 (value) => {34 onFinally?.();35 return value;36 },37 (reason) => {38 onFinally?.();39 throw reason;40 }41 );42 }43 then(onFulfilled, onRejected) {44 return this.execute().then(onFulfilled, onRejected);45 }46}47// Annotate the CommonJS export names for ESM import in node:480 && (module.exports = {49 QueryPromise50});51//# sourceMappingURL=query-promise.cjs.map