@be-link/pos-cli-nodejs 0.0.3 → 0.0.5
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/README.md +2 -0
- package/index.d.ts +4 -0
- package/index.js +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,4 +35,6 @@ import { queryByStoreService } from '@be-link/pos-cli-nodejs'
|
|
|
35
35
|
import { queryByWebService } from '@be-link/pos-cli-nodejs'
|
|
36
36
|
// 订单备注类
|
|
37
37
|
import { orderNoteService } from '@be-link/pos-cli-nodejs'
|
|
38
|
+
// 枚举类
|
|
39
|
+
import { PosConstants } from '@be-link/pos-cli-nodejs'
|
|
38
40
|
```
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { POS } from './types';
|
|
1
2
|
import orderCoreService from './pos/modules/orderCore/service';
|
|
2
3
|
import orderFulfillService from './pos/modules/orderFulfill/service';
|
|
3
4
|
import queryByCommodityService from './pos/modules/orderQuery/commodity';
|
|
@@ -6,4 +7,7 @@ import queryByUserService from './pos/modules/orderQuery/user';
|
|
|
6
7
|
import queryByWebService from './pos/modules/orderQuery/web';
|
|
7
8
|
import orderNoteService from './pos/modules/orderNote/service';
|
|
8
9
|
import orderJobService from './pos/modules/orderJob/service';
|
|
10
|
+
/** 业务模块 */
|
|
9
11
|
export { orderCoreService, orderFulfillService, queryByCommodityService, queryByStoreService, queryByUserService, queryByWebService, orderNoteService, orderJobService, };
|
|
12
|
+
/** 枚举类 */
|
|
13
|
+
export declare const PosConstants: typeof POS.Constants;
|
package/index.js
CHANGED
|
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.orderJobService = exports.orderNoteService = exports.queryByWebService = exports.queryByUserService = exports.queryByStoreService = exports.queryByCommodityService = exports.orderFulfillService = exports.orderCoreService = void 0;
|
|
6
|
+
exports.PosConstants = exports.orderJobService = exports.orderNoteService = exports.queryByWebService = exports.queryByUserService = exports.queryByStoreService = exports.queryByCommodityService = exports.orderFulfillService = exports.orderCoreService = void 0;
|
|
7
|
+
const types_1 = require("./types");
|
|
7
8
|
const service_1 = __importDefault(require("./pos/modules/orderCore/service"));
|
|
8
9
|
exports.orderCoreService = service_1.default;
|
|
9
10
|
const service_2 = __importDefault(require("./pos/modules/orderFulfill/service"));
|
|
@@ -20,3 +21,5 @@ const service_3 = __importDefault(require("./pos/modules/orderNote/service"));
|
|
|
20
21
|
exports.orderNoteService = service_3.default;
|
|
21
22
|
const service_4 = __importDefault(require("./pos/modules/orderJob/service"));
|
|
22
23
|
exports.orderJobService = service_4.default;
|
|
24
|
+
/** 枚举类 */
|
|
25
|
+
exports.PosConstants = types_1.POS.Constants;
|