gs2 1.3.223 → 1.3.224
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/mission/result/IncreaseByStampSheetResult.d.ts +4 -0
- package/mission/result/IncreaseByStampSheetResult.js +21 -1
- package/mission/result/IncreaseByStampSheetResult.js.map +1 -1
- package/mission/result/IncreaseByStampSheetResult.ts +26 -1
- package/mission/result/IncreaseCounterByUserIdResult.d.ts +4 -0
- package/mission/result/IncreaseCounterByUserIdResult.js +21 -1
- package/mission/result/IncreaseCounterByUserIdResult.js.map +1 -1
- package/mission/result/IncreaseCounterByUserIdResult.ts +26 -1
- package/package.json +1 -1
|
@@ -2,9 +2,13 @@ import IResult from '../../core/interface/IResult';
|
|
|
2
2
|
import * as Gs2Mission from '../model';
|
|
3
3
|
export default class IncreaseByStampSheetResult implements IResult {
|
|
4
4
|
private item;
|
|
5
|
+
private changedCompletes;
|
|
5
6
|
getItem(): Gs2Mission.Counter | null;
|
|
6
7
|
setItem(item: Gs2Mission.Counter | null): this;
|
|
7
8
|
withItem(item: Gs2Mission.Counter | null): this;
|
|
9
|
+
getChangedCompletes(): Gs2Mission.Complete[] | null;
|
|
10
|
+
setChangedCompletes(changedCompletes: Gs2Mission.Complete[] | null): this;
|
|
11
|
+
withChangedCompletes(changedCompletes: Gs2Mission.Complete[] | null): this;
|
|
8
12
|
static fromDict(data: {
|
|
9
13
|
[key: string]: any;
|
|
10
14
|
}): IncreaseByStampSheetResult;
|
|
@@ -20,6 +20,7 @@ var Gs2Mission = tslib_1.__importStar(require("../model"));
|
|
|
20
20
|
var IncreaseByStampSheetResult = /** @class */ (function () {
|
|
21
21
|
function IncreaseByStampSheetResult() {
|
|
22
22
|
this.item = null;
|
|
23
|
+
this.changedCompletes = null;
|
|
23
24
|
}
|
|
24
25
|
IncreaseByStampSheetResult.prototype.getItem = function () {
|
|
25
26
|
return this.item;
|
|
@@ -32,14 +33,33 @@ var IncreaseByStampSheetResult = /** @class */ (function () {
|
|
|
32
33
|
this.item = item;
|
|
33
34
|
return this;
|
|
34
35
|
};
|
|
36
|
+
IncreaseByStampSheetResult.prototype.getChangedCompletes = function () {
|
|
37
|
+
return this.changedCompletes;
|
|
38
|
+
};
|
|
39
|
+
IncreaseByStampSheetResult.prototype.setChangedCompletes = function (changedCompletes) {
|
|
40
|
+
this.changedCompletes = changedCompletes;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
IncreaseByStampSheetResult.prototype.withChangedCompletes = function (changedCompletes) {
|
|
44
|
+
this.changedCompletes = changedCompletes;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
35
47
|
IncreaseByStampSheetResult.fromDict = function (data) {
|
|
36
48
|
return new IncreaseByStampSheetResult()
|
|
37
|
-
.withItem(Gs2Mission.Counter.fromDict(data["item"]))
|
|
49
|
+
.withItem(Gs2Mission.Counter.fromDict(data["item"]))
|
|
50
|
+
.withChangedCompletes(data.changedCompletes ?
|
|
51
|
+
data.changedCompletes.map(function (item) {
|
|
52
|
+
return Gs2Mission.Complete.fromDict(item);
|
|
53
|
+
}) : []);
|
|
38
54
|
};
|
|
39
55
|
IncreaseByStampSheetResult.prototype.toDict = function () {
|
|
40
56
|
var _a;
|
|
41
57
|
return {
|
|
42
58
|
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
59
|
+
"changedCompletes": this.getChangedCompletes() ?
|
|
60
|
+
this.getChangedCompletes().map(function (item) {
|
|
61
|
+
return item.toDict();
|
|
62
|
+
}) : [],
|
|
43
63
|
};
|
|
44
64
|
};
|
|
45
65
|
return IncreaseByStampSheetResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IncreaseByStampSheetResult.js","sourceRoot":"","sources":["IncreaseByStampSheetResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAA4B,IAAI,CAAC;
|
|
1
|
+
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AEM,2CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,kBAAkB,EAAE,IAAI,CAAC,mBAAmB,EAAE,CAAC,CAAC;gBAC5C,IAAI,CAAC,mBAAmB,EAAG,CAAC,GAAG,CAAC,UAAC,IAAyB;oBACtD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;IACL,iCAAC;AAAD,CAAC,AApDD,IAoDC"}
|
|
@@ -19,6 +19,7 @@ import * as Gs2Mission from '../model'
|
|
|
19
19
|
|
|
20
20
|
export default class IncreaseByStampSheetResult implements IResult {
|
|
21
21
|
private item: Gs2Mission.Counter|null = null;
|
|
22
|
+
private changedCompletes: Gs2Mission.Complete[]|null = null;
|
|
22
23
|
|
|
23
24
|
public getItem(): Gs2Mission.Counter|null {
|
|
24
25
|
return this.item;
|
|
@@ -34,14 +35,38 @@ export default class IncreaseByStampSheetResult implements IResult {
|
|
|
34
35
|
return this;
|
|
35
36
|
}
|
|
36
37
|
|
|
38
|
+
public getChangedCompletes(): Gs2Mission.Complete[]|null {
|
|
39
|
+
return this.changedCompletes;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public setChangedCompletes(changedCompletes: Gs2Mission.Complete[]|null) {
|
|
43
|
+
this.changedCompletes = changedCompletes;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public withChangedCompletes(changedCompletes: Gs2Mission.Complete[]|null): this {
|
|
48
|
+
this.changedCompletes = changedCompletes;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
|
|
37
52
|
public static fromDict(data: {[key: string]: any}): IncreaseByStampSheetResult {
|
|
38
53
|
return new IncreaseByStampSheetResult()
|
|
39
|
-
.withItem(Gs2Mission.Counter.fromDict(data["item"]))
|
|
54
|
+
.withItem(Gs2Mission.Counter.fromDict(data["item"]))
|
|
55
|
+
.withChangedCompletes(data.changedCompletes ?
|
|
56
|
+
data.changedCompletes.map((item: {[key: string]: any}) => {
|
|
57
|
+
return Gs2Mission.Complete.fromDict(item);
|
|
58
|
+
}
|
|
59
|
+
) : []);
|
|
40
60
|
}
|
|
41
61
|
|
|
42
62
|
public toDict(): {[key: string]: any} {
|
|
43
63
|
return {
|
|
44
64
|
"item": this.getItem()?.toDict(),
|
|
65
|
+
"changedCompletes": this.getChangedCompletes() ?
|
|
66
|
+
this.getChangedCompletes()!.map((item: Gs2Mission.Complete) => {
|
|
67
|
+
return item.toDict();
|
|
68
|
+
}
|
|
69
|
+
) : [],
|
|
45
70
|
};
|
|
46
71
|
}
|
|
47
72
|
}
|
|
@@ -2,9 +2,13 @@ import IResult from '../../core/interface/IResult';
|
|
|
2
2
|
import * as Gs2Mission from '../model';
|
|
3
3
|
export default class IncreaseCounterByUserIdResult implements IResult {
|
|
4
4
|
private item;
|
|
5
|
+
private changedCompletes;
|
|
5
6
|
getItem(): Gs2Mission.Counter | null;
|
|
6
7
|
setItem(item: Gs2Mission.Counter | null): this;
|
|
7
8
|
withItem(item: Gs2Mission.Counter | null): this;
|
|
9
|
+
getChangedCompletes(): Gs2Mission.Complete[] | null;
|
|
10
|
+
setChangedCompletes(changedCompletes: Gs2Mission.Complete[] | null): this;
|
|
11
|
+
withChangedCompletes(changedCompletes: Gs2Mission.Complete[] | null): this;
|
|
8
12
|
static fromDict(data: {
|
|
9
13
|
[key: string]: any;
|
|
10
14
|
}): IncreaseCounterByUserIdResult;
|
|
@@ -20,6 +20,7 @@ var Gs2Mission = tslib_1.__importStar(require("../model"));
|
|
|
20
20
|
var IncreaseCounterByUserIdResult = /** @class */ (function () {
|
|
21
21
|
function IncreaseCounterByUserIdResult() {
|
|
22
22
|
this.item = null;
|
|
23
|
+
this.changedCompletes = null;
|
|
23
24
|
}
|
|
24
25
|
IncreaseCounterByUserIdResult.prototype.getItem = function () {
|
|
25
26
|
return this.item;
|
|
@@ -32,14 +33,33 @@ var IncreaseCounterByUserIdResult = /** @class */ (function () {
|
|
|
32
33
|
this.item = item;
|
|
33
34
|
return this;
|
|
34
35
|
};
|
|
36
|
+
IncreaseCounterByUserIdResult.prototype.getChangedCompletes = function () {
|
|
37
|
+
return this.changedCompletes;
|
|
38
|
+
};
|
|
39
|
+
IncreaseCounterByUserIdResult.prototype.setChangedCompletes = function (changedCompletes) {
|
|
40
|
+
this.changedCompletes = changedCompletes;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
IncreaseCounterByUserIdResult.prototype.withChangedCompletes = function (changedCompletes) {
|
|
44
|
+
this.changedCompletes = changedCompletes;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
35
47
|
IncreaseCounterByUserIdResult.fromDict = function (data) {
|
|
36
48
|
return new IncreaseCounterByUserIdResult()
|
|
37
|
-
.withItem(Gs2Mission.Counter.fromDict(data["item"]))
|
|
49
|
+
.withItem(Gs2Mission.Counter.fromDict(data["item"]))
|
|
50
|
+
.withChangedCompletes(data.changedCompletes ?
|
|
51
|
+
data.changedCompletes.map(function (item) {
|
|
52
|
+
return Gs2Mission.Complete.fromDict(item);
|
|
53
|
+
}) : []);
|
|
38
54
|
};
|
|
39
55
|
IncreaseCounterByUserIdResult.prototype.toDict = function () {
|
|
40
56
|
var _a;
|
|
41
57
|
return {
|
|
42
58
|
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
59
|
+
"changedCompletes": this.getChangedCompletes() ?
|
|
60
|
+
this.getChangedCompletes().map(function (item) {
|
|
61
|
+
return item.toDict();
|
|
62
|
+
}) : [],
|
|
43
63
|
};
|
|
44
64
|
};
|
|
45
65
|
return IncreaseCounterByUserIdResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IncreaseCounterByUserIdResult.js","sourceRoot":"","sources":["IncreaseCounterByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;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AI,CAAC,CAAC;YAC9C,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC;IAEM,8CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,kBAAkB,EAAE,IAAI,CAAC,mBAAmB,EAAE,CAAC,CAAC;gBAC5C,IAAI,CAAC,mBAAmB,EAAG,CAAC,GAAG,CAAC,UAAC,IAAyB;oBACtD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;IACL,oCAAC;AAAD,CAAC,AApDD,IAoDC"}
|
|
@@ -19,6 +19,7 @@ import * as Gs2Mission from '../model'
|
|
|
19
19
|
|
|
20
20
|
export default class IncreaseCounterByUserIdResult implements IResult {
|
|
21
21
|
private item: Gs2Mission.Counter|null = null;
|
|
22
|
+
private changedCompletes: Gs2Mission.Complete[]|null = null;
|
|
22
23
|
|
|
23
24
|
public getItem(): Gs2Mission.Counter|null {
|
|
24
25
|
return this.item;
|
|
@@ -34,14 +35,38 @@ export default class IncreaseCounterByUserIdResult implements IResult {
|
|
|
34
35
|
return this;
|
|
35
36
|
}
|
|
36
37
|
|
|
38
|
+
public getChangedCompletes(): Gs2Mission.Complete[]|null {
|
|
39
|
+
return this.changedCompletes;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public setChangedCompletes(changedCompletes: Gs2Mission.Complete[]|null) {
|
|
43
|
+
this.changedCompletes = changedCompletes;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public withChangedCompletes(changedCompletes: Gs2Mission.Complete[]|null): this {
|
|
48
|
+
this.changedCompletes = changedCompletes;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
|
|
37
52
|
public static fromDict(data: {[key: string]: any}): IncreaseCounterByUserIdResult {
|
|
38
53
|
return new IncreaseCounterByUserIdResult()
|
|
39
|
-
.withItem(Gs2Mission.Counter.fromDict(data["item"]))
|
|
54
|
+
.withItem(Gs2Mission.Counter.fromDict(data["item"]))
|
|
55
|
+
.withChangedCompletes(data.changedCompletes ?
|
|
56
|
+
data.changedCompletes.map((item: {[key: string]: any}) => {
|
|
57
|
+
return Gs2Mission.Complete.fromDict(item);
|
|
58
|
+
}
|
|
59
|
+
) : []);
|
|
40
60
|
}
|
|
41
61
|
|
|
42
62
|
public toDict(): {[key: string]: any} {
|
|
43
63
|
return {
|
|
44
64
|
"item": this.getItem()?.toDict(),
|
|
65
|
+
"changedCompletes": this.getChangedCompletes() ?
|
|
66
|
+
this.getChangedCompletes()!.map((item: Gs2Mission.Complete) => {
|
|
67
|
+
return item.toDict();
|
|
68
|
+
}
|
|
69
|
+
) : [],
|
|
45
70
|
};
|
|
46
71
|
}
|
|
47
72
|
}
|