@be-link/cs-cli-nodejs 0.1.37 → 0.1.38

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.
@@ -0,0 +1,8 @@
1
+ import BaseService from '../baseService';
2
+ import { Job } from './types';
3
+ declare class JobService extends BaseService implements Job.Controller {
4
+ prefixUrl: string;
5
+ batchFlushItemData(): Promise<void>;
6
+ }
7
+ declare const jobService: JobService;
8
+ export default jobService;
@@ -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 JobService extends baseService_1.default {
9
+ constructor() {
10
+ super(...arguments);
11
+ this.prefixUrl = '/job';
12
+ }
13
+ batchFlushItemData() {
14
+ return (0, http_1.callApi)(this.getApiUrl(this.batchFlushItemData));
15
+ }
16
+ }
17
+ const jobService = new JobService();
18
+ exports.default = jobService;
19
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/cs/modules/job/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,UAAW,SAAQ,qBAAW;IAApC;;QACE,cAAS,GAAG,MAAM,CAAA;IAOpB,CAAC;IALC,kBAAkB;QAChB,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,CACxC,CAAA;IACH,CAAC;CACF;AAED,MAAM,UAAU,GAAG,IAAI,UAAU,EAAE,CAAA;AAEnC,kBAAe,UAAU,CAAA"}
@@ -0,0 +1,12 @@
1
+ export declare namespace Job {
2
+ namespace DTO {
3
+ }
4
+ namespace Request {
5
+ }
6
+ namespace Response {
7
+ }
8
+ interface Controller {
9
+ /** 每天晚上批量刷宽表 */
10
+ batchFlushItemData(): Promise<void>;
11
+ }
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/cs/modules/job/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/cs-cli-nodejs",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "description": "商品服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {