@be-link/pos-cli-nodejs 1.0.51-beta.6 → 1.0.51-beta.9
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/package.json
CHANGED
|
@@ -2,6 +2,8 @@ import { PosDto } from '../..';
|
|
|
2
2
|
export declare abstract class ItemInfoProxy {
|
|
3
3
|
abstract get raw(): PosDto.IPositiveItemInfo | PosDto.IPositiveItemInfoV2;
|
|
4
4
|
abstract get id(): string;
|
|
5
|
+
/** @deprecated 请使用 id 代替 */
|
|
6
|
+
abstract get _id(): string;
|
|
5
7
|
abstract get name(): string;
|
|
6
8
|
abstract get headPic(): string;
|
|
7
9
|
abstract get headPics(): string[];
|
|
@@ -10,6 +12,7 @@ export declare abstract class ItemInfoProxy {
|
|
|
10
12
|
abstract get categoryTwo(): string;
|
|
11
13
|
abstract get isSelfLead(): number;
|
|
12
14
|
abstract get canUpdateMealInfo(): number | boolean;
|
|
15
|
+
/** @deprecated 请使用 venueId 代替 */
|
|
13
16
|
abstract get storeId(): string | undefined;
|
|
14
17
|
abstract get venueId(): string | undefined;
|
|
15
18
|
abstract get contractType(): string | undefined;
|
|
@@ -39,6 +42,7 @@ declare class ItemInfoProxyV1 extends ItemInfoProxy {
|
|
|
39
42
|
constructor(itemInfo: PosDto.IPositiveItemInfo);
|
|
40
43
|
get raw(): PosDto.IPositiveItemInfo;
|
|
41
44
|
get id(): string;
|
|
45
|
+
get _id(): string;
|
|
42
46
|
get name(): string;
|
|
43
47
|
get headPic(): string;
|
|
44
48
|
get headPics(): string[];
|
|
@@ -91,6 +95,7 @@ declare class ItemInfoProxyV2 extends ItemInfoProxy {
|
|
|
91
95
|
constructor(itemInfo: PosDto.IPositiveItemInfoV2);
|
|
92
96
|
get raw(): PosDto.IPositiveItemInfoV2;
|
|
93
97
|
get id(): string;
|
|
98
|
+
get _id(): string;
|
|
94
99
|
get name(): string;
|
|
95
100
|
get headPic(): string;
|
|
96
101
|
get headPics(): string[];
|
|
@@ -12,6 +12,7 @@ class ItemInfoProxyV1 extends ItemInfoProxy {
|
|
|
12
12
|
// share
|
|
13
13
|
get raw() { return this.itemInfo; }
|
|
14
14
|
get id() { return this.itemInfo._id; }
|
|
15
|
+
get _id() { return this.itemInfo._id; }
|
|
15
16
|
get name() { return this.itemInfo.name; }
|
|
16
17
|
get headPic() { return this.itemInfo.headPics[0]; }
|
|
17
18
|
get headPics() { return this.itemInfo.headPics; }
|
|
@@ -59,6 +60,7 @@ class ItemInfoProxyV2 extends ItemInfoProxy {
|
|
|
59
60
|
// share
|
|
60
61
|
get raw() { return this.itemInfo; }
|
|
61
62
|
get id() { return this.itemInfo._id; }
|
|
63
|
+
get _id() { return this.itemInfo._id; }
|
|
62
64
|
get name() { return this.itemInfo.name; }
|
|
63
65
|
get headPic() { return this.itemInfo.basicInfo.headPics[0]; }
|
|
64
66
|
get headPics() { return this.itemInfo.basicInfo.headPics; }
|