gs2 1.3.129 → 1.3.130
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
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import IModel from '../../core/interface/IModel';
|
|
2
2
|
export default class GeneralDauWauMauHistory implements IModel {
|
|
3
|
+
private date;
|
|
3
4
|
private dau;
|
|
4
5
|
private wauLast7Days;
|
|
5
6
|
private wauTargetWeekSunday;
|
|
6
7
|
private wauTargetWeekMonday;
|
|
7
8
|
private mauLast30Days;
|
|
8
9
|
private mauTargetMonth;
|
|
10
|
+
getDate(): string | null;
|
|
11
|
+
setDate(date: string | null): this;
|
|
12
|
+
withDate(date: string | null): this;
|
|
9
13
|
getDau(): number | null;
|
|
10
14
|
setDau(dau: number | null): this;
|
|
11
15
|
withDau(dau: number | null): this;
|
|
@@ -17,6 +17,7 @@ permissions and limitations under the License.
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
var GeneralDauWauMauHistory = /** @class */ (function () {
|
|
19
19
|
function GeneralDauWauMauHistory() {
|
|
20
|
+
this.date = null;
|
|
20
21
|
this.dau = null;
|
|
21
22
|
this.wauLast7Days = null;
|
|
22
23
|
this.wauTargetWeekSunday = null;
|
|
@@ -24,6 +25,17 @@ var GeneralDauWauMauHistory = /** @class */ (function () {
|
|
|
24
25
|
this.mauLast30Days = null;
|
|
25
26
|
this.mauTargetMonth = null;
|
|
26
27
|
}
|
|
28
|
+
GeneralDauWauMauHistory.prototype.getDate = function () {
|
|
29
|
+
return this.date;
|
|
30
|
+
};
|
|
31
|
+
GeneralDauWauMauHistory.prototype.setDate = function (date) {
|
|
32
|
+
this.date = date;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
GeneralDauWauMauHistory.prototype.withDate = function (date) {
|
|
36
|
+
this.date = date;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
27
39
|
GeneralDauWauMauHistory.prototype.getDau = function () {
|
|
28
40
|
return this.dau;
|
|
29
41
|
};
|
|
@@ -95,6 +107,7 @@ var GeneralDauWauMauHistory = /** @class */ (function () {
|
|
|
95
107
|
return null;
|
|
96
108
|
}
|
|
97
109
|
return new GeneralDauWauMauHistory()
|
|
110
|
+
.withDate(data["date"])
|
|
98
111
|
.withDau(data["dau"])
|
|
99
112
|
.withWauLast7Days(data["wauLast7Days"])
|
|
100
113
|
.withWauTargetWeekSunday(data["wauTargetWeekSunday"])
|
|
@@ -104,6 +117,7 @@ var GeneralDauWauMauHistory = /** @class */ (function () {
|
|
|
104
117
|
};
|
|
105
118
|
GeneralDauWauMauHistory.prototype.toDict = function () {
|
|
106
119
|
return {
|
|
120
|
+
"date": this.getDate(),
|
|
107
121
|
"dau": this.getDau(),
|
|
108
122
|
"wauLast7Days": this.getWauLast7Days(),
|
|
109
123
|
"wauTargetWeekSunday": this.getWauTargetWeekSunday(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneralDauWauMauHistory.js","sourceRoot":"","sources":["GeneralDauWauMauHistory.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,QAAG,GAAgB,IAAI,CAAC;QACxB,iBAAY,GAAgB,IAAI,CAAC;QACjC,wBAAmB,GAAgB,IAAI,CAAC;QACxC,wBAAmB,GAAgB,IAAI,CAAC;QACxC,kBAAa,GAAgB,IAAI,CAAC;QAClC,mBAAc,GAAgB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"GeneralDauWauMauHistory.js","sourceRoot":"","sources":["GeneralDauWauMauHistory.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,SAAI,GAAgB,IAAI,CAAC;QACzB,QAAG,GAAgB,IAAI,CAAC;QACxB,iBAAY,GAAgB,IAAI,CAAC;QACjC,wBAAmB,GAAgB,IAAI,CAAC;QACxC,wBAAmB,GAAgB,IAAI,CAAC;QACx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CAAC;aACtC,uBAAuB,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;aACpD,uBAAuB,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;aACpD,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACpD,CAAC;IAEM,wCAAM,GAAb;QACI,OAAO;YACH,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;YACtC,qBAAqB,EAAE,IAAI,CAAC,sBAAsB,EAAE;YACpD,qBAAqB,EAAE,IAAI,CAAC,sBAAsB,EAAE;YACpD,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;SAC7C,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AA/GD,IA+GC"}
|
|
@@ -17,12 +17,24 @@ permissions and limitations under the License.
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
18
|
|
|
19
19
|
export default class GeneralDauWauMauHistory implements IModel {
|
|
20
|
+
private date: string|null = null;
|
|
20
21
|
private dau: number|null = null;
|
|
21
22
|
private wauLast7Days: number|null = null;
|
|
22
23
|
private wauTargetWeekSunday: number|null = null;
|
|
23
24
|
private wauTargetWeekMonday: number|null = null;
|
|
24
25
|
private mauLast30Days: number|null = null;
|
|
25
26
|
private mauTargetMonth: number|null = null;
|
|
27
|
+
public getDate(): string|null {
|
|
28
|
+
return this.date;
|
|
29
|
+
}
|
|
30
|
+
public setDate(date: string|null) {
|
|
31
|
+
this.date = date;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
public withDate(date: string|null): this {
|
|
35
|
+
this.date = date;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
26
38
|
public getDau(): number|null {
|
|
27
39
|
return this.dau;
|
|
28
40
|
}
|
|
@@ -95,6 +107,7 @@ export default class GeneralDauWauMauHistory implements IModel {
|
|
|
95
107
|
return null;
|
|
96
108
|
}
|
|
97
109
|
return new GeneralDauWauMauHistory()
|
|
110
|
+
.withDate(data["date"])
|
|
98
111
|
.withDau(data["dau"])
|
|
99
112
|
.withWauLast7Days(data["wauLast7Days"])
|
|
100
113
|
.withWauTargetWeekSunday(data["wauTargetWeekSunday"])
|
|
@@ -105,6 +118,7 @@ export default class GeneralDauWauMauHistory implements IModel {
|
|
|
105
118
|
|
|
106
119
|
public toDict(): {[key: string]: any} {
|
|
107
120
|
return {
|
|
121
|
+
"date": this.getDate(),
|
|
108
122
|
"dau": this.getDau(),
|
|
109
123
|
"wauLast7Days": this.getWauLast7Days(),
|
|
110
124
|
"wauTargetWeekSunday": this.getWauTargetWeekSunday(),
|