@be-link/cs-cli-nodejs 0.0.190 → 0.0.192
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cs/modules/itemManage/index.d.ts +10 -0
- package/cs/modules/itemManage/index.js +4 -2
- package/cs/modules/itemManage/index.js.map +1 -1
- package/cs/modules/itemManage/itemCache/service.d.ts +9 -0
- package/cs/modules/itemManage/itemCache/service.js +19 -0
- package/cs/modules/itemManage/itemCache/service.js.map +1 -0
- package/cs/modules/itemManage/itemCache/type.d.ts +12 -0
- package/cs/modules/itemManage/itemCache/type.js +3 -0
- package/cs/modules/itemManage/itemCache/type.js.map +1 -0
- package/cs/modules/itemQuery/byItem/type.js.map +1 -1
- package/package.json +1 -1
|
@@ -28,5 +28,15 @@ declare const itemManageService: {
|
|
|
28
28
|
readonly publicProdHost: "";
|
|
29
29
|
getApiUrl(func: Function): string;
|
|
30
30
|
};
|
|
31
|
+
byItemCache: {
|
|
32
|
+
prefixUrl: string;
|
|
33
|
+
delItemCache<K extends (keyof import("../../../types").QueryBlockDataMap)[]>(req: import("./itemCache/type").ManageByItemCache.Request.IDelItemCache<K>): Promise<void>;
|
|
34
|
+
isPublicEnv: boolean;
|
|
35
|
+
readonly natDevHost: "http://qgostaxv.cs.nmkh74o4.rlwzae9d.com:8090";
|
|
36
|
+
readonly natProdHost: "";
|
|
37
|
+
readonly publicDevHost: "https://cs-74680-5-1304510571.sh.run.tcloudbase.com";
|
|
38
|
+
readonly publicProdHost: "";
|
|
39
|
+
getApiUrl(func: Function): string;
|
|
40
|
+
};
|
|
31
41
|
};
|
|
32
42
|
export default itemManageService;
|
|
@@ -4,10 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const service_1 = __importDefault(require("./item/service"));
|
|
7
|
-
const service_2 = __importDefault(require("./
|
|
7
|
+
const service_2 = __importDefault(require("./itemCache/service"));
|
|
8
|
+
const service_3 = __importDefault(require("./itemCombo/service"));
|
|
8
9
|
const itemManageService = {
|
|
9
10
|
byItem: service_1.default,
|
|
10
|
-
byItemCombo:
|
|
11
|
+
byItemCombo: service_3.default,
|
|
12
|
+
byItemCache: service_2.default,
|
|
11
13
|
};
|
|
12
14
|
exports.default = itemManageService;
|
|
13
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/cs/modules/itemManage/index.ts"],"names":[],"mappings":";;;;;AAAA,6DAAmC;AACnC,kEAA6C;AAE7C,MAAM,iBAAiB,GAAG;IACxB,MAAM,EAAN,iBAAM;IACN,WAAW,EAAX,iBAAW;CACZ,CAAA;AAED,kBAAe,iBAAiB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/cs/modules/itemManage/index.ts"],"names":[],"mappings":";;;;;AAAA,6DAAmC;AACnC,kEAA6C;AAC7C,kEAA6C;AAE7C,MAAM,iBAAiB,GAAG;IACxB,MAAM,EAAN,iBAAM;IACN,WAAW,EAAX,iBAAW;IACX,WAAW,EAAX,iBAAW;CACZ,CAAA;AAED,kBAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { QueryBlockDataMap } from '../../../../types';
|
|
2
|
+
import BaseService from '../../baseService';
|
|
3
|
+
import { ManageByItemCache } from './type';
|
|
4
|
+
declare class ManageByItemCacheService extends BaseService implements ManageByItemCache.Controller {
|
|
5
|
+
prefixUrl: string;
|
|
6
|
+
delItemCache<K extends (keyof QueryBlockDataMap)[]>(req: ManageByItemCache.Request.IDelItemCache<K>): Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
declare const byItemCache: ManageByItemCacheService;
|
|
9
|
+
export default byItemCache;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const http_1 = require("../../../http");
|
|
7
|
+
const baseService_1 = __importDefault(require("../../baseService"));
|
|
8
|
+
class ManageByItemCacheService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/item/manage/by-item-cache';
|
|
12
|
+
}
|
|
13
|
+
delItemCache(req) {
|
|
14
|
+
return (0, http_1.callApi)(this.getApiUrl(this.delItemCache), req);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const byItemCache = new ManageByItemCacheService();
|
|
18
|
+
exports.default = byItemCache;
|
|
19
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemManage/itemCache/service.ts"],"names":[],"mappings":";;;;;AACA,wCAAuC;AACvC,oEAA2C;AAG3C,MAAM,wBAAyB,SAAQ,qBAAW;IAAlD;;QACE,cAAS,GAAW,4BAA4B,CAAA;IAUlD,CAAC;IARC,YAAY,CACV,GAA+C;QAE/C,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,EACjC,GAAG,CACJ,CAAA;IACH,CAAC;CACF;AAED,MAAM,WAAW,GAAG,IAAI,wBAAwB,EAAE,CAAA;AAElD,kBAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as GDto from '../../../../types';
|
|
2
|
+
export declare namespace ManageByItemCache {
|
|
3
|
+
namespace Request {
|
|
4
|
+
interface IDelItemCache<k> {
|
|
5
|
+
itemIds: string[];
|
|
6
|
+
queryBlocks: k;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
interface Controller {
|
|
10
|
+
delItemCache<K extends (keyof GDto.QueryBlockDataMap)[]>(req: Request.IDelItemCache<K>): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemManage/itemCache/type.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItem/type.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItem/type.ts"],"names":[],"mappings":";;;AAEA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,oCAAuB,CAAA;AACzB,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AACD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
|