@icewhale/casaos-appmanagement-openapi
Advanced tools
Comparing version 0.4.4-3-alpha3 to 0.4.4-3-alpha4
@@ -55,1 +55,13 @@ /** | ||
} | ||
interface ServerMap { | ||
[key: string]: { | ||
url: string; | ||
description: string; | ||
}[]; | ||
} | ||
/** | ||
* | ||
* @export | ||
*/ | ||
export declare const operationServerMap: ServerMap; | ||
export {}; |
@@ -19,3 +19,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0; | ||
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0; | ||
const axios_1 = __importDefault(require("axios")); | ||
@@ -40,2 +40,3 @@ exports.BASE_PATH = "/v2/app_management".replace(/\/+$/, ""); | ||
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) { | ||
var _a; | ||
this.basePath = basePath; | ||
@@ -45,3 +46,3 @@ this.axios = axios; | ||
this.configuration = configuration; | ||
this.basePath = configuration.basePath || this.basePath; | ||
this.basePath = (_a = configuration.basePath) !== null && _a !== void 0 ? _a : basePath; | ||
} | ||
@@ -66,1 +67,6 @@ } | ||
exports.RequiredError = RequiredError; | ||
/** | ||
* | ||
* @export | ||
*/ | ||
exports.operationServerMap = {}; |
@@ -18,2 +18,3 @@ /** | ||
basePath?: string; | ||
serverIndex?: number; | ||
baseOptions?: any; | ||
@@ -58,2 +59,9 @@ formDataCtor?: new () => any; | ||
/** | ||
* override server index | ||
* | ||
* @type {number} | ||
* @memberof Configuration | ||
*/ | ||
serverIndex?: number; | ||
/** | ||
* base options for axios calls | ||
@@ -60,0 +68,0 @@ * |
@@ -24,2 +24,3 @@ "use strict"; | ||
this.basePath = param.basePath; | ||
this.serverIndex = param.serverIndex; | ||
this.baseOptions = param.baseOptions; | ||
@@ -26,0 +27,0 @@ this.formDataCtor = param.formDataCtor; |
{ | ||
"name": "@icewhale/casaos-appmanagement-openapi", | ||
"version": "v0.4.4-3-alpha3", | ||
"version": "v0.4.4-3-alpha4", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "clean": "rm -rf generate", |
Sorry, the diff of this file is too big to display
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
244315
4757