@imedx/ics-imedx-chromely-plugin-intf-platform
Advanced tools
Comparing version 0.0.7 to 0.0.8-beta.1
import icsChromelyRequest from '@icreate/ics-chromely-js-sdk'; | ||
import IMedx from '@imedx/ics-imedx-core'; | ||
@@ -190,2 +189,5 @@ /****************************************************************************** | ||
}; | ||
IntfPlatform.use = function (request) { | ||
IntfPlatform.request = request; | ||
}; | ||
/** | ||
@@ -207,3 +209,3 @@ * 获取接口信息 | ||
else { | ||
return IMedx.request({ | ||
return IntfPlatform.request({ | ||
url: '/interface-platform/dict-interface/getInterfaceInfo', | ||
@@ -230,3 +232,3 @@ method: 'post', | ||
else { | ||
return IMedx.request({ | ||
return IntfPlatform.request({ | ||
url: '/interface-platform/interface-config/getInterfaceConfigMap', | ||
@@ -265,5 +267,5 @@ method: 'post', | ||
*/ | ||
IntfPlatform.init = function (orgId, hbBasicClient) { | ||
IntfPlatform.init = function (orgId) { | ||
this.orgId = orgId; | ||
this.hbbasic = hbBasicClient; | ||
// this.hbbasic = hbBasicClient | ||
// 初始化所有核心接口 | ||
@@ -270,0 +272,0 @@ var coreInterfaces = IntfPlatform.getAllCoreInterface(); |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@icreate/ics-chromely-js-sdk'), require('@imedx/ics-imedx-core')) : | ||
typeof define === 'function' && define.amd ? define(['exports', '@icreate/ics-chromely-js-sdk', '@imedx/ics-imedx-core'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.IcsImedxChromelyPluginIntfPlatform = {}, global.IcsChromelyRequest, global.IMedxCore)); | ||
})(this, (function (exports, icsChromelyRequest, IMedx) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@icreate/ics-chromely-js-sdk')) : | ||
typeof define === 'function' && define.amd ? define(['exports', '@icreate/ics-chromely-js-sdk'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.IcsImedxChromelyPluginIntfPlatform = {}, global.IcsChromelyRequest)); | ||
})(this, (function (exports, icsChromelyRequest) { 'use strict'; | ||
@@ -193,2 +193,5 @@ /****************************************************************************** | ||
}; | ||
IntfPlatform.use = function (request) { | ||
IntfPlatform.request = request; | ||
}; | ||
/** | ||
@@ -210,3 +213,3 @@ * 获取接口信息 | ||
else { | ||
return IMedx.request({ | ||
return IntfPlatform.request({ | ||
url: '/interface-platform/dict-interface/getInterfaceInfo', | ||
@@ -233,3 +236,3 @@ method: 'post', | ||
else { | ||
return IMedx.request({ | ||
return IntfPlatform.request({ | ||
url: '/interface-platform/interface-config/getInterfaceConfigMap', | ||
@@ -268,5 +271,5 @@ method: 'post', | ||
*/ | ||
IntfPlatform.init = function (orgId, hbBasicClient) { | ||
IntfPlatform.init = function (orgId) { | ||
this.orgId = orgId; | ||
this.hbbasic = hbBasicClient; | ||
// this.hbbasic = hbBasicClient | ||
// 初始化所有核心接口 | ||
@@ -273,0 +276,0 @@ var coreInterfaces = IntfPlatform.getAllCoreInterface(); |
@@ -16,3 +16,2 @@ "use strict"; | ||
var InterfaceCore_1 = require("./interfaces/InterfaceCore"); | ||
var ics_imedx_core_1 = require("@imedx/ics-imedx-core"); | ||
var IntfPlatform = /** @class */ (function () { | ||
@@ -41,2 +40,5 @@ function IntfPlatform() { | ||
}; | ||
IntfPlatform.use = function (request) { | ||
IntfPlatform.request = request; | ||
}; | ||
/** | ||
@@ -58,3 +60,3 @@ * 获取接口信息 | ||
else { | ||
return ics_imedx_core_1.default.request({ | ||
return IntfPlatform.request({ | ||
url: '/interface-platform/dict-interface/getInterfaceInfo', | ||
@@ -81,3 +83,3 @@ method: 'post', | ||
else { | ||
return ics_imedx_core_1.default.request({ | ||
return IntfPlatform.request({ | ||
url: '/interface-platform/interface-config/getInterfaceConfigMap', | ||
@@ -116,5 +118,5 @@ method: 'post', | ||
*/ | ||
IntfPlatform.init = function (orgId, hbBasicClient) { | ||
IntfPlatform.init = function (orgId) { | ||
this.orgId = orgId; | ||
this.hbbasic = hbBasicClient; | ||
// this.hbbasic = hbBasicClient | ||
// 初始化所有核心接口 | ||
@@ -121,0 +123,0 @@ var coreInterfaces = IntfPlatform.getAllCoreInterface(); |
@@ -1,3 +0,3 @@ | ||
import HBBasicClient from '@icreate/hb-basic-js-sdk'; | ||
import { ConfigRecord, IInterfaceCore } from './interfaces/InterfaceCore'; | ||
import { AxiosInstance } from 'axios'; | ||
export default class IntfPlatform { | ||
@@ -9,5 +9,5 @@ /** | ||
/** | ||
* hbbasic接口 | ||
* 请求对象 | ||
*/ | ||
private static hbbasic; | ||
private static request; | ||
/** | ||
@@ -49,2 +49,3 @@ * 实现接口列表 | ||
private static GetInterfaceType; | ||
static use(request: AxiosInstance): void; | ||
/** | ||
@@ -77,3 +78,3 @@ * 获取接口信息 | ||
*/ | ||
static init(orgId: string, hbBasicClient: HBBasicClient): Promise<any>; | ||
static init(orgId: string): Promise<any>; | ||
/** | ||
@@ -80,0 +81,0 @@ * |
{ | ||
"name": "@imedx/ics-imedx-chromely-plugin-intf-platform", | ||
"version": "0.0.7", | ||
"version": "0.0.8-beta.1", | ||
"description": "", | ||
@@ -131,8 +131,4 @@ "keywords": [], | ||
"dependencies": { | ||
"@icreate/hb-basic-js-sdk": "^0.0.17-beta.19", | ||
"@icreate/ics-chromely-js-sdk": "^0.0.7-beat.7", | ||
"@icreate/ics-chromely-plugin-core": "^0.0.20-beta.11", | ||
"@imedx/ics-imedx-core": "^0.0.1-beta.31", | ||
"@imedx/ics-imedx-intf-chs-js-sdk": "^0.0.3-beta.11" | ||
"@icreate/ics-chromely-js-sdk": "^0.0.8" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
1725
138766
+ Added@icreate/ics-chromely-js-sdk@0.0.8(transitive)
- Removed@imedx/ics-imedx-core@^0.0.1-beta.31
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/parser@7.26.3(transitive)
- Removed@babel/types@7.26.3(transitive)
- Removed@icreate/core@0.0.15(transitive)
- Removed@icreate/hb-basic-js-sdk@0.0.17(transitive)
- Removed@icreate/ics-chromely-js-sdk@0.0.7(transitive)
- Removed@icreate/ics-chromely-plugin-core@0.0.20(transitive)
- Removed@icreate/ics-chromely-plugin-report-js-sdk@0.0.9(transitive)
- Removed@imedx/ics-imedx-core@0.0.1-beta.32(transitive)
- Removed@imedx/ics-imedx-intf-chs-js-sdk@0.0.3(transitive)
- Removed@vue/compiler-sfc@2.7.16(transitive)
- Removedaxios@0.26.1(transitive)
- Removedcsstype@3.1.3(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedjs-base64@3.7.7(transitive)
- Removedjsbn@1.1.0(transitive)
- Removednanoid@3.3.8(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedpostcss@8.4.49(transitive)
- Removedprettier@2.8.8(transitive)
- Removedsm-crypto@0.3.13(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedsource-map-js@1.2.1(transitive)
- Removedvue@2.7.16(transitive)