gs2-cdk 1.0.50 → 1.0.52
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/enhance/model/CurrentMasterData.d.ts +3 -1
- package/enhance/model/CurrentMasterData.js +5 -1
- package/enhance/model/CurrentMasterData.js.map +1 -1
- package/enhance/model/CurrentMasterData.ts +8 -0
- package/enhance/model/Namespace.d.ts +2 -1
- package/enhance/model/Namespace.js +2 -2
- package/enhance/model/Namespace.js.map +1 -1
- package/enhance/model/Namespace.ts +3 -0
- package/enhance/model/UnleashRateEntryModel.d.ts +9 -0
- package/enhance/model/UnleashRateEntryModel.js +20 -0
- package/enhance/model/UnleashRateEntryModel.js.map +1 -0
- package/enhance/model/UnleashRateEntryModel.ts +44 -0
- package/enhance/model/UnleashRateModel.d.ts +14 -0
- package/enhance/model/UnleashRateModel.js +39 -0
- package/enhance/model/UnleashRateModel.js.map +1 -0
- package/enhance/model/UnleashRateModel.ts +68 -0
- package/enhance/model/index.d.ts +5 -1
- package/enhance/model/index.js +5 -1
- package/enhance/model/index.js.map +1 -1
- package/enhance/model/index.ts +8 -0
- package/enhance/model/options/UnleashRateEntryModelOptions.d.ts +2 -0
- package/enhance/model/options/UnleashRateEntryModelOptions.js +18 -0
- package/enhance/model/options/UnleashRateEntryModelOptions.js.map +1 -0
- package/enhance/model/options/UnleashRateEntryModelOptions.ts +19 -0
- package/enhance/model/options/UnleashRateModelOptions.d.ts +4 -0
- package/enhance/model/options/UnleashRateModelOptions.js +3 -0
- package/enhance/model/options/UnleashRateModelOptions.js.map +1 -0
- package/enhance/model/options/UnleashRateModelOptions.ts +22 -0
- package/enhance/ref/NamespaceRef.d.ts +2 -0
- package/enhance/ref/NamespaceRef.js +4 -0
- package/enhance/ref/NamespaceRef.js.map +1 -1
- package/enhance/ref/NamespaceRef.ts +10 -0
- package/enhance/ref/UnleashRateModelRef.d.ts +6 -0
- package/enhance/ref/UnleashRateModelRef.js +38 -0
- package/enhance/ref/UnleashRateModelRef.js.map +1 -0
- package/enhance/ref/UnleashRateModelRef.ts +52 -0
- package/enhance/ref/index.d.ts +2 -1
- package/enhance/ref/index.js +3 -1
- package/enhance/ref/index.js.map +1 -1
- package/enhance/ref/index.ts +2 -0
- package/enhance/stampSheet/UnleashByUserId.d.ts +15 -0
- package/enhance/stampSheet/UnleashByUserId.js +57 -0
- package/enhance/stampSheet/UnleashByUserId.js.map +1 -0
- package/enhance/stampSheet/UnleashByUserId.ts +77 -0
- package/enhance/stampSheet/index.d.ts +2 -1
- package/enhance/stampSheet/index.js +3 -1
- package/enhance/stampSheet/index.js.map +1 -1
- package/enhance/stampSheet/index.ts +2 -0
- package/grade/index.d.ts +12 -0
- package/grade/index.js +32 -0
- package/grade/index.js.map +1 -0
- package/grade/index.ts +36 -0
- package/grade/model/AcquireActionRate.d.ts +16 -0
- package/grade/model/AcquireActionRate.js +42 -0
- package/grade/model/AcquireActionRate.js.map +1 -0
- package/grade/model/AcquireActionRate.ts +85 -0
- package/grade/model/CurrentMasterData.d.ts +13 -0
- package/grade/model/CurrentMasterData.js +50 -0
- package/grade/model/CurrentMasterData.js.map +1 -0
- package/grade/model/CurrentMasterData.ts +70 -0
- package/grade/model/DefaultGradeModel.d.ts +9 -0
- package/grade/model/DefaultGradeModel.js +20 -0
- package/grade/model/DefaultGradeModel.js.map +1 -0
- package/grade/model/DefaultGradeModel.ts +44 -0
- package/grade/model/GradeEntryModel.d.ts +11 -0
- package/grade/model/GradeEntryModel.js +30 -0
- package/grade/model/GradeEntryModel.js.map +1 -0
- package/grade/model/GradeEntryModel.ts +55 -0
- package/grade/model/GradeModel.d.ts +14 -0
- package/grade/model/GradeModel.js +40 -0
- package/grade/model/GradeModel.js.map +1 -0
- package/grade/model/GradeModel.ts +71 -0
- package/grade/model/Namespace.d.ts +22 -0
- package/grade/model/Namespace.js +77 -0
- package/grade/model/Namespace.js.map +1 -0
- package/grade/model/Namespace.ts +122 -0
- package/grade/model/enum/AcquireActionRateMode.d.ts +5 -0
- package/grade/model/enum/AcquireActionRateMode.js +23 -0
- package/grade/model/enum/AcquireActionRateMode.js.map +1 -0
- package/grade/model/enum/AcquireActionRateMode.ts +23 -0
- package/grade/model/index.d.ts +15 -0
- package/grade/model/index.js +34 -0
- package/grade/model/index.js.map +1 -0
- package/grade/model/index.ts +46 -0
- package/grade/model/options/AcquireActionRateModeIsBigOptions.d.ts +2 -0
- package/grade/model/options/AcquireActionRateModeIsBigOptions.js +3 -0
- package/grade/model/options/AcquireActionRateModeIsBigOptions.js.map +1 -0
- package/grade/model/options/AcquireActionRateModeIsBigOptions.ts +19 -0
- package/grade/model/options/AcquireActionRateModeIsDoubleOptions.d.ts +2 -0
- package/grade/model/options/AcquireActionRateModeIsDoubleOptions.js +3 -0
- package/grade/model/options/AcquireActionRateModeIsDoubleOptions.js.map +1 -0
- package/grade/model/options/AcquireActionRateModeIsDoubleOptions.ts +19 -0
- package/grade/model/options/AcquireActionRateOptions.d.ts +4 -0
- package/grade/model/options/AcquireActionRateOptions.js +3 -0
- package/grade/model/options/AcquireActionRateOptions.js.map +1 -0
- package/grade/model/options/AcquireActionRateOptions.ts +22 -0
- package/grade/model/options/DefaultGradeModelOptions.d.ts +2 -0
- package/grade/model/options/DefaultGradeModelOptions.js +18 -0
- package/grade/model/options/DefaultGradeModelOptions.js.map +1 -0
- package/grade/model/options/DefaultGradeModelOptions.ts +19 -0
- package/grade/model/options/GradeEntryModelOptions.d.ts +3 -0
- package/grade/model/options/GradeEntryModelOptions.js +18 -0
- package/grade/model/options/GradeEntryModelOptions.js.map +1 -0
- package/grade/model/options/GradeEntryModelOptions.ts +20 -0
- package/grade/model/options/GradeModelOptions.d.ts +7 -0
- package/grade/model/options/GradeModelOptions.js +3 -0
- package/grade/model/options/GradeModelOptions.js.map +1 -0
- package/grade/model/options/GradeModelOptions.ts +25 -0
- package/grade/model/options/NamespaceOptions.d.ts +9 -0
- package/grade/model/options/NamespaceOptions.js +3 -0
- package/grade/model/options/NamespaceOptions.js.map +1 -0
- package/grade/model/options/NamespaceOptions.ts +26 -0
- package/grade/ref/GradeModelRef.d.ts +6 -0
- package/grade/ref/GradeModelRef.js +38 -0
- package/grade/ref/GradeModelRef.js.map +1 -0
- package/grade/ref/GradeModelRef.ts +52 -0
- package/grade/ref/NamespaceRef.d.ts +21 -0
- package/grade/ref/NamespaceRef.js +64 -0
- package/grade/ref/NamespaceRef.js.map +1 -0
- package/grade/ref/NamespaceRef.ts +159 -0
- package/grade/ref/index.d.ts +3 -0
- package/grade/ref/index.js +24 -0
- package/grade/ref/index.js.map +1 -0
- package/grade/ref/index.ts +22 -0
- package/grade/stampSheet/AddGradeByUserId.d.ts +13 -0
- package/grade/stampSheet/AddGradeByUserId.js +53 -0
- package/grade/stampSheet/AddGradeByUserId.js.map +1 -0
- package/grade/stampSheet/AddGradeByUserId.ts +69 -0
- package/grade/stampSheet/ApplyRankCapByUserId.d.ts +12 -0
- package/grade/stampSheet/ApplyRankCapByUserId.js +48 -0
- package/grade/stampSheet/ApplyRankCapByUserId.js.map +1 -0
- package/grade/stampSheet/ApplyRankCapByUserId.ts +63 -0
- package/grade/stampSheet/MultiplyAcquireActionsByUserId.d.ts +14 -0
- package/grade/stampSheet/MultiplyAcquireActionsByUserId.js +57 -0
- package/grade/stampSheet/MultiplyAcquireActionsByUserId.js.map +1 -0
- package/grade/stampSheet/MultiplyAcquireActionsByUserId.ts +76 -0
- package/grade/stampSheet/SubGradeByUserId.d.ts +13 -0
- package/grade/stampSheet/SubGradeByUserId.js +53 -0
- package/grade/stampSheet/SubGradeByUserId.js.map +1 -0
- package/grade/stampSheet/SubGradeByUserId.ts +69 -0
- package/grade/stampSheet/VerifyGradeByUserId.d.ts +15 -0
- package/grade/stampSheet/VerifyGradeByUserId.js +57 -0
- package/grade/stampSheet/VerifyGradeByUserId.js.map +1 -0
- package/grade/stampSheet/VerifyGradeByUserId.ts +76 -0
- package/grade/stampSheet/VerifyGradeUpMaterialByUserId.d.ts +15 -0
- package/grade/stampSheet/VerifyGradeUpMaterialByUserId.js +56 -0
- package/grade/stampSheet/VerifyGradeUpMaterialByUserId.js.map +1 -0
- package/grade/stampSheet/VerifyGradeUpMaterialByUserId.ts +76 -0
- package/grade/stampSheet/enum/StatusVerifyType.d.ts +5 -0
- package/grade/stampSheet/enum/StatusVerifyType.js +23 -0
- package/grade/stampSheet/enum/StatusVerifyType.js.map +1 -0
- package/grade/stampSheet/enum/StatusVerifyType.ts +23 -0
- package/grade/stampSheet/index.d.ts +7 -0
- package/grade/stampSheet/index.js +32 -0
- package/grade/stampSheet/index.js.map +1 -0
- package/grade/stampSheet/index.ts +30 -0
- package/package.json +1 -1
- package/stateMachine/ref/NamespaceRef.d.ts +1 -2
- package/stateMachine/ref/NamespaceRef.js +2 -2
- package/stateMachine/ref/NamespaceRef.js.map +1 -1
- package/stateMachine/ref/NamespaceRef.ts +0 -3
- package/stateMachine/stampSheet/StartStateMachineByUserId.d.ts +1 -3
- package/stateMachine/stampSheet/StartStateMachineByUserId.js +1 -6
- package/stateMachine/stampSheet/StartStateMachineByUserId.js.map +1 -1
- package/stateMachine/stampSheet/StartStateMachineByUserId.ts +0 -7
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const model_1 = require("../../core/model");
|
|
19
|
+
class SubGradeByUserId extends model_1.ConsumeAction {
|
|
20
|
+
constructor(namespaceName, gradeName, propertyId, gradeValue = null, userId = "#{userId}") {
|
|
21
|
+
super();
|
|
22
|
+
this.gradeValue = null;
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
this.gradeName = gradeName;
|
|
25
|
+
this.propertyId = propertyId;
|
|
26
|
+
this.gradeValue = gradeValue !== null && gradeValue !== void 0 ? gradeValue : null;
|
|
27
|
+
this.userId = userId;
|
|
28
|
+
}
|
|
29
|
+
request() {
|
|
30
|
+
let properties = {};
|
|
31
|
+
if (this.namespaceName != null) {
|
|
32
|
+
properties["namespaceName"] = this.namespaceName;
|
|
33
|
+
}
|
|
34
|
+
if (this.userId != null) {
|
|
35
|
+
properties["userId"] = this.userId;
|
|
36
|
+
}
|
|
37
|
+
if (this.gradeName != null) {
|
|
38
|
+
properties["gradeName"] = this.gradeName;
|
|
39
|
+
}
|
|
40
|
+
if (this.propertyId != null) {
|
|
41
|
+
properties["propertyId"] = this.propertyId;
|
|
42
|
+
}
|
|
43
|
+
if (this.gradeValue != null) {
|
|
44
|
+
properties["gradeValue"] = this.gradeValue;
|
|
45
|
+
}
|
|
46
|
+
return properties;
|
|
47
|
+
}
|
|
48
|
+
action() {
|
|
49
|
+
return "Gs2Grade:SubGradeByUserId";
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.default = SubGradeByUserId;
|
|
53
|
+
//# sourceMappingURL=SubGradeByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubGradeByUserId.js","sourceRoot":"","sources":["SubGradeByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,gBAAiB,SAAQ,qBAAa;IAQvD,YACI,aAAqB,EACrB,SAAiB,EACjB,UAAkB,EAClB,aAA0B,IAAI,EAC9B,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAVK,eAAU,GAAgB,IAAI,CAAC;QAY5C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,IAAI,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,2BAA2B,CAAC;IACvC,CAAC;CACJ;AAlDD,mCAkDC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import {AcquireAction, ConsumeAction} from "../../core/model";
|
|
18
|
+
|
|
19
|
+
export default class SubGradeByUserId extends ConsumeAction {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly userId: string;
|
|
22
|
+
private readonly gradeName: string;
|
|
23
|
+
private readonly propertyId: string;
|
|
24
|
+
private readonly gradeValue: number|null = null;
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
public constructor(
|
|
28
|
+
namespaceName: string,
|
|
29
|
+
gradeName: string,
|
|
30
|
+
propertyId: string,
|
|
31
|
+
gradeValue: number|null = null,
|
|
32
|
+
userId: string = "#{userId}",
|
|
33
|
+
) {
|
|
34
|
+
super();
|
|
35
|
+
|
|
36
|
+
this.namespaceName = namespaceName;
|
|
37
|
+
this.gradeName = gradeName;
|
|
38
|
+
this.propertyId = propertyId;
|
|
39
|
+
this.gradeValue = gradeValue ?? null;
|
|
40
|
+
this.userId = userId;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public request(
|
|
44
|
+
): {[name: string]: any} {
|
|
45
|
+
let properties: {[name: string]: any} = {};
|
|
46
|
+
|
|
47
|
+
if (this.namespaceName != null) {
|
|
48
|
+
properties["namespaceName"] = this.namespaceName;
|
|
49
|
+
}
|
|
50
|
+
if (this.userId != null) {
|
|
51
|
+
properties["userId"] = this.userId;
|
|
52
|
+
}
|
|
53
|
+
if (this.gradeName != null) {
|
|
54
|
+
properties["gradeName"] = this.gradeName;
|
|
55
|
+
}
|
|
56
|
+
if (this.propertyId != null) {
|
|
57
|
+
properties["propertyId"] = this.propertyId;
|
|
58
|
+
}
|
|
59
|
+
if (this.gradeValue != null) {
|
|
60
|
+
properties["gradeValue"] = this.gradeValue;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return properties;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public action(): string {
|
|
67
|
+
return "Gs2Grade:SubGradeByUserId";
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ConsumeAction } from "../../core/model";
|
|
2
|
+
import { StatusVerifyType } from "./enum/StatusVerifyType";
|
|
3
|
+
export default class VerifyGradeByUserId extends ConsumeAction {
|
|
4
|
+
private readonly namespaceName;
|
|
5
|
+
private readonly userId;
|
|
6
|
+
private readonly gradeName;
|
|
7
|
+
private readonly verifyType;
|
|
8
|
+
private readonly propertyId;
|
|
9
|
+
private readonly gradeValue;
|
|
10
|
+
constructor(namespaceName: string, gradeName: string, verifyType: StatusVerifyType, propertyId: string, gradeValue?: number | null, userId?: string);
|
|
11
|
+
request(): {
|
|
12
|
+
[name: string]: any;
|
|
13
|
+
};
|
|
14
|
+
action(): string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const model_1 = require("../../core/model");
|
|
19
|
+
class VerifyGradeByUserId extends model_1.ConsumeAction {
|
|
20
|
+
constructor(namespaceName, gradeName, verifyType, propertyId, gradeValue = null, userId = "#{userId}") {
|
|
21
|
+
super();
|
|
22
|
+
this.gradeValue = null;
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
this.gradeName = gradeName;
|
|
25
|
+
this.verifyType = verifyType;
|
|
26
|
+
this.propertyId = propertyId;
|
|
27
|
+
this.gradeValue = gradeValue !== null && gradeValue !== void 0 ? gradeValue : null;
|
|
28
|
+
this.userId = userId;
|
|
29
|
+
}
|
|
30
|
+
request() {
|
|
31
|
+
let properties = {};
|
|
32
|
+
if (this.namespaceName != null) {
|
|
33
|
+
properties["namespaceName"] = this.namespaceName;
|
|
34
|
+
}
|
|
35
|
+
if (this.userId != null) {
|
|
36
|
+
properties["userId"] = this.userId;
|
|
37
|
+
}
|
|
38
|
+
if (this.gradeName != null) {
|
|
39
|
+
properties["gradeName"] = this.gradeName;
|
|
40
|
+
}
|
|
41
|
+
if (this.verifyType != null) {
|
|
42
|
+
properties["verifyType"] = this.verifyType;
|
|
43
|
+
}
|
|
44
|
+
if (this.propertyId != null) {
|
|
45
|
+
properties["propertyId"] = this.propertyId;
|
|
46
|
+
}
|
|
47
|
+
if (this.gradeValue != null) {
|
|
48
|
+
properties["gradeValue"] = this.gradeValue;
|
|
49
|
+
}
|
|
50
|
+
return properties;
|
|
51
|
+
}
|
|
52
|
+
action() {
|
|
53
|
+
return "Gs2Grade:VerifyGradeByUserId";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.default = VerifyGradeByUserId;
|
|
57
|
+
//# sourceMappingURL=VerifyGradeByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyGradeByUserId.js","sourceRoot":"","sources":["VerifyGradeByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAG9D,MAAqB,mBAAoB,SAAQ,qBAAa;IAS1D,YACI,aAAqB,EACrB,SAAiB,EACjB,UAA4B,EAC5B,UAAkB,EAClB,aAA0B,IAAI,EAC9B,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAXK,eAAU,GAAgB,IAAI,CAAC;QAa5C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,IAAI,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,8BAA8B,CAAC;IAC1C,CAAC;CACJ;AAxDD,sCAwDC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import {AcquireAction, ConsumeAction} from "../../core/model";
|
|
18
|
+
import { StatusVerifyType } from "./enum/StatusVerifyType";
|
|
19
|
+
|
|
20
|
+
export default class VerifyGradeByUserId extends ConsumeAction {
|
|
21
|
+
private readonly namespaceName: string;
|
|
22
|
+
private readonly userId: string;
|
|
23
|
+
private readonly gradeName: string;
|
|
24
|
+
private readonly verifyType: StatusVerifyType;
|
|
25
|
+
private readonly propertyId: string;
|
|
26
|
+
private readonly gradeValue: number|null = null;
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
public constructor(
|
|
30
|
+
namespaceName: string,
|
|
31
|
+
gradeName: string,
|
|
32
|
+
verifyType: StatusVerifyType,
|
|
33
|
+
propertyId: string,
|
|
34
|
+
gradeValue: number|null = null,
|
|
35
|
+
userId: string = "#{userId}",
|
|
36
|
+
) {
|
|
37
|
+
super();
|
|
38
|
+
|
|
39
|
+
this.namespaceName = namespaceName;
|
|
40
|
+
this.gradeName = gradeName;
|
|
41
|
+
this.verifyType = verifyType;
|
|
42
|
+
this.propertyId = propertyId;
|
|
43
|
+
this.gradeValue = gradeValue ?? null;
|
|
44
|
+
this.userId = userId;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public request(
|
|
48
|
+
): {[name: string]: any} {
|
|
49
|
+
let properties: {[name: string]: any} = {};
|
|
50
|
+
|
|
51
|
+
if (this.namespaceName != null) {
|
|
52
|
+
properties["namespaceName"] = this.namespaceName;
|
|
53
|
+
}
|
|
54
|
+
if (this.userId != null) {
|
|
55
|
+
properties["userId"] = this.userId;
|
|
56
|
+
}
|
|
57
|
+
if (this.gradeName != null) {
|
|
58
|
+
properties["gradeName"] = this.gradeName;
|
|
59
|
+
}
|
|
60
|
+
if (this.verifyType != null) {
|
|
61
|
+
properties["verifyType"] = this.verifyType;
|
|
62
|
+
}
|
|
63
|
+
if (this.propertyId != null) {
|
|
64
|
+
properties["propertyId"] = this.propertyId;
|
|
65
|
+
}
|
|
66
|
+
if (this.gradeValue != null) {
|
|
67
|
+
properties["gradeValue"] = this.gradeValue;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return properties;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public action(): string {
|
|
74
|
+
return "Gs2Grade:VerifyGradeByUserId";
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ConsumeAction } from "../../core/model";
|
|
2
|
+
import { StatusVerifyType } from "./enum/StatusVerifyType";
|
|
3
|
+
export default class VerifyGradeUpMaterialByUserId extends ConsumeAction {
|
|
4
|
+
private readonly namespaceName;
|
|
5
|
+
private readonly userId;
|
|
6
|
+
private readonly gradeName;
|
|
7
|
+
private readonly verifyType;
|
|
8
|
+
private readonly propertyId;
|
|
9
|
+
private readonly materialPropertyId;
|
|
10
|
+
constructor(namespaceName: string, gradeName: string, verifyType: StatusVerifyType, propertyId: string, materialPropertyId: string, userId?: string);
|
|
11
|
+
request(): {
|
|
12
|
+
[name: string]: any;
|
|
13
|
+
};
|
|
14
|
+
action(): string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const model_1 = require("../../core/model");
|
|
19
|
+
class VerifyGradeUpMaterialByUserId extends model_1.ConsumeAction {
|
|
20
|
+
constructor(namespaceName, gradeName, verifyType, propertyId, materialPropertyId, userId = "#{userId}") {
|
|
21
|
+
super();
|
|
22
|
+
this.namespaceName = namespaceName;
|
|
23
|
+
this.gradeName = gradeName;
|
|
24
|
+
this.verifyType = verifyType;
|
|
25
|
+
this.propertyId = propertyId;
|
|
26
|
+
this.materialPropertyId = materialPropertyId;
|
|
27
|
+
this.userId = userId;
|
|
28
|
+
}
|
|
29
|
+
request() {
|
|
30
|
+
let properties = {};
|
|
31
|
+
if (this.namespaceName != null) {
|
|
32
|
+
properties["namespaceName"] = this.namespaceName;
|
|
33
|
+
}
|
|
34
|
+
if (this.userId != null) {
|
|
35
|
+
properties["userId"] = this.userId;
|
|
36
|
+
}
|
|
37
|
+
if (this.gradeName != null) {
|
|
38
|
+
properties["gradeName"] = this.gradeName;
|
|
39
|
+
}
|
|
40
|
+
if (this.verifyType != null) {
|
|
41
|
+
properties["verifyType"] = this.verifyType;
|
|
42
|
+
}
|
|
43
|
+
if (this.propertyId != null) {
|
|
44
|
+
properties["propertyId"] = this.propertyId;
|
|
45
|
+
}
|
|
46
|
+
if (this.materialPropertyId != null) {
|
|
47
|
+
properties["materialPropertyId"] = this.materialPropertyId;
|
|
48
|
+
}
|
|
49
|
+
return properties;
|
|
50
|
+
}
|
|
51
|
+
action() {
|
|
52
|
+
return "Gs2Grade:VerifyGradeUpMaterialByUserId";
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.default = VerifyGradeUpMaterialByUserId;
|
|
56
|
+
//# sourceMappingURL=VerifyGradeUpMaterialByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyGradeUpMaterialByUserId.js","sourceRoot":"","sources":["VerifyGradeUpMaterialByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAG9D,MAAqB,6BAA8B,SAAQ,qBAAa;IASpE,YACI,aAAqB,EACrB,SAAiB,EACjB,UAA4B,EAC5B,UAAkB,EAClB,kBAA0B,EAC1B,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,wCAAwC,CAAC;IACpD,CAAC;CACJ;AAxDD,gDAwDC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import {AcquireAction, ConsumeAction} from "../../core/model";
|
|
18
|
+
import { StatusVerifyType } from "./enum/StatusVerifyType";
|
|
19
|
+
|
|
20
|
+
export default class VerifyGradeUpMaterialByUserId extends ConsumeAction {
|
|
21
|
+
private readonly namespaceName: string;
|
|
22
|
+
private readonly userId: string;
|
|
23
|
+
private readonly gradeName: string;
|
|
24
|
+
private readonly verifyType: StatusVerifyType;
|
|
25
|
+
private readonly propertyId: string;
|
|
26
|
+
private readonly materialPropertyId: string;
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
public constructor(
|
|
30
|
+
namespaceName: string,
|
|
31
|
+
gradeName: string,
|
|
32
|
+
verifyType: StatusVerifyType,
|
|
33
|
+
propertyId: string,
|
|
34
|
+
materialPropertyId: string,
|
|
35
|
+
userId: string = "#{userId}",
|
|
36
|
+
) {
|
|
37
|
+
super();
|
|
38
|
+
|
|
39
|
+
this.namespaceName = namespaceName;
|
|
40
|
+
this.gradeName = gradeName;
|
|
41
|
+
this.verifyType = verifyType;
|
|
42
|
+
this.propertyId = propertyId;
|
|
43
|
+
this.materialPropertyId = materialPropertyId;
|
|
44
|
+
this.userId = userId;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public request(
|
|
48
|
+
): {[name: string]: any} {
|
|
49
|
+
let properties: {[name: string]: any} = {};
|
|
50
|
+
|
|
51
|
+
if (this.namespaceName != null) {
|
|
52
|
+
properties["namespaceName"] = this.namespaceName;
|
|
53
|
+
}
|
|
54
|
+
if (this.userId != null) {
|
|
55
|
+
properties["userId"] = this.userId;
|
|
56
|
+
}
|
|
57
|
+
if (this.gradeName != null) {
|
|
58
|
+
properties["gradeName"] = this.gradeName;
|
|
59
|
+
}
|
|
60
|
+
if (this.verifyType != null) {
|
|
61
|
+
properties["verifyType"] = this.verifyType;
|
|
62
|
+
}
|
|
63
|
+
if (this.propertyId != null) {
|
|
64
|
+
properties["propertyId"] = this.propertyId;
|
|
65
|
+
}
|
|
66
|
+
if (this.materialPropertyId != null) {
|
|
67
|
+
properties["materialPropertyId"] = this.materialPropertyId;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return properties;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public action(): string {
|
|
74
|
+
return "Gs2Grade:VerifyGradeUpMaterialByUserId";
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.StatusVerifyType = void 0;
|
|
19
|
+
exports.StatusVerifyType = {
|
|
20
|
+
MATCH: "match",
|
|
21
|
+
NOT_MATCH: "notMatch",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=StatusVerifyType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusVerifyType.js","sourceRoot":"","sources":["StatusVerifyType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,gBAAgB,GAAG;IAC5B,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,UAAU;CACf,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export const StatusVerifyType = {
|
|
20
|
+
MATCH: "match",
|
|
21
|
+
NOT_MATCH: "notMatch",
|
|
22
|
+
} as const;
|
|
23
|
+
export type StatusVerifyType = typeof StatusVerifyType[keyof typeof StatusVerifyType];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import AddGradeByUserId from "./AddGradeByUserId";
|
|
2
|
+
import ApplyRankCapByUserId from "./ApplyRankCapByUserId";
|
|
3
|
+
import MultiplyAcquireActionsByUserId from "./MultiplyAcquireActionsByUserId";
|
|
4
|
+
import SubGradeByUserId from "./SubGradeByUserId";
|
|
5
|
+
import VerifyGradeByUserId from "./VerifyGradeByUserId";
|
|
6
|
+
import VerifyGradeUpMaterialByUserId from "./VerifyGradeUpMaterialByUserId";
|
|
7
|
+
export { AddGradeByUserId, ApplyRankCapByUserId, MultiplyAcquireActionsByUserId, SubGradeByUserId, VerifyGradeByUserId, VerifyGradeUpMaterialByUserId, };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VerifyGradeUpMaterialByUserId = exports.VerifyGradeByUserId = exports.SubGradeByUserId = exports.MultiplyAcquireActionsByUserId = exports.ApplyRankCapByUserId = exports.AddGradeByUserId = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/*
|
|
6
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
7
|
+
* Reserved.
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
10
|
+
* You may not use this file except in compliance with the License.
|
|
11
|
+
* A copy of the License is located at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
16
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
17
|
+
* express or implied. See the License for the specific language governing
|
|
18
|
+
* permissions and limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
const AddGradeByUserId_1 = tslib_1.__importDefault(require("./AddGradeByUserId"));
|
|
21
|
+
exports.AddGradeByUserId = AddGradeByUserId_1.default;
|
|
22
|
+
const ApplyRankCapByUserId_1 = tslib_1.__importDefault(require("./ApplyRankCapByUserId"));
|
|
23
|
+
exports.ApplyRankCapByUserId = ApplyRankCapByUserId_1.default;
|
|
24
|
+
const MultiplyAcquireActionsByUserId_1 = tslib_1.__importDefault(require("./MultiplyAcquireActionsByUserId"));
|
|
25
|
+
exports.MultiplyAcquireActionsByUserId = MultiplyAcquireActionsByUserId_1.default;
|
|
26
|
+
const SubGradeByUserId_1 = tslib_1.__importDefault(require("./SubGradeByUserId"));
|
|
27
|
+
exports.SubGradeByUserId = SubGradeByUserId_1.default;
|
|
28
|
+
const VerifyGradeByUserId_1 = tslib_1.__importDefault(require("./VerifyGradeByUserId"));
|
|
29
|
+
exports.VerifyGradeByUserId = VerifyGradeByUserId_1.default;
|
|
30
|
+
const VerifyGradeUpMaterialByUserId_1 = tslib_1.__importDefault(require("./VerifyGradeUpMaterialByUserId"));
|
|
31
|
+
exports.VerifyGradeUpMaterialByUserId = VerifyGradeUpMaterialByUserId_1.default;
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kFAAkD;AAQ9C,2BARG,0BAAgB,CAQH;AAPpB,0FAA0D;AAQtD,+BARG,8BAAoB,CAQH;AAPxB,8GAA8E;AAQ1E,yCARG,wCAA8B,CAQH;AAPlC,kFAAkD;AAQ9C,2BARG,0BAAgB,CAQH;AAPpB,wFAAwD;AAQpD,8BARG,6BAAmB,CAQH;AAPvB,4GAA4E;AAQxE,wCARG,uCAA6B,CAQH"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import AddGradeByUserId from "./AddGradeByUserId";
|
|
17
|
+
import ApplyRankCapByUserId from "./ApplyRankCapByUserId";
|
|
18
|
+
import MultiplyAcquireActionsByUserId from "./MultiplyAcquireActionsByUserId";
|
|
19
|
+
import SubGradeByUserId from "./SubGradeByUserId";
|
|
20
|
+
import VerifyGradeByUserId from "./VerifyGradeByUserId";
|
|
21
|
+
import VerifyGradeUpMaterialByUserId from "./VerifyGradeUpMaterialByUserId";
|
|
22
|
+
|
|
23
|
+
export {
|
|
24
|
+
AddGradeByUserId,
|
|
25
|
+
ApplyRankCapByUserId,
|
|
26
|
+
MultiplyAcquireActionsByUserId,
|
|
27
|
+
SubGradeByUserId,
|
|
28
|
+
VerifyGradeByUserId,
|
|
29
|
+
VerifyGradeUpMaterialByUserId,
|
|
30
|
+
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import StartStateMachineByUserId from "../stampSheet/StartStateMachineByUserId";
|
|
2
|
-
import { StatusEnableSpeculativeExecution } from "../stampSheet/enum/StatusEnableSpeculativeExecution";
|
|
3
2
|
export default class NamespaceRef {
|
|
4
3
|
private readonly namespaceName;
|
|
5
4
|
constructor(namespaceName: string);
|
|
6
|
-
startStateMachine(args?: string | null,
|
|
5
|
+
startStateMachine(args?: string | null, ttl?: number | null, userId?: string): StartStateMachineByUserId;
|
|
7
6
|
grn(): string;
|
|
8
7
|
}
|
|
@@ -22,8 +22,8 @@ class NamespaceRef {
|
|
|
22
22
|
constructor(namespaceName) {
|
|
23
23
|
this.namespaceName = namespaceName;
|
|
24
24
|
}
|
|
25
|
-
startStateMachine(args = null,
|
|
26
|
-
return new StartStateMachineByUserId_1.default(this.namespaceName, args,
|
|
25
|
+
startStateMachine(args = null, ttl = null, userId = "#{userId}") {
|
|
26
|
+
return new StartStateMachineByUserId_1.default(this.namespaceName, args, ttl, userId);
|
|
27
27
|
}
|
|
28
28
|
grn() {
|
|
29
29
|
return new func_1.Join(":", [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,gHAAgF;
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,gHAAgF;AAEhF,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,iBAAiB,CACpB,OAAoB,IAAI,EACxB,MAAmB,IAAI,EACvB,SAAiB,WAAW;QAE5B,OAAO,IAAI,mCAAyB,CAChC,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,GAAG,EACH,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,cAAc;YACd,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAzCD,+BAyCC"}
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
|
|
17
17
|
import {GetAttr, Join} from "../../core/func";
|
|
18
18
|
import StartStateMachineByUserId from "../stampSheet/StartStateMachineByUserId";
|
|
19
|
-
import { StatusEnableSpeculativeExecution } from "../stampSheet/enum/StatusEnableSpeculativeExecution";
|
|
20
19
|
|
|
21
20
|
export default class NamespaceRef {
|
|
22
21
|
private readonly namespaceName: string;
|
|
@@ -29,14 +28,12 @@ export default class NamespaceRef {
|
|
|
29
28
|
|
|
30
29
|
public startStateMachine(
|
|
31
30
|
args: string|null = null,
|
|
32
|
-
enableSpeculativeExecution: StatusEnableSpeculativeExecution|null = null,
|
|
33
31
|
ttl: number|null = null,
|
|
34
32
|
userId: string = "#{userId}",
|
|
35
33
|
): StartStateMachineByUserId {
|
|
36
34
|
return new StartStateMachineByUserId(
|
|
37
35
|
this.namespaceName,
|
|
38
36
|
args,
|
|
39
|
-
enableSpeculativeExecution,
|
|
40
37
|
ttl,
|
|
41
38
|
userId,
|
|
42
39
|
);
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { AcquireAction } from "../../core/model";
|
|
2
|
-
import { StatusEnableSpeculativeExecution } from "./enum/StatusEnableSpeculativeExecution";
|
|
3
2
|
export default class StartStateMachineByUserId extends AcquireAction {
|
|
4
3
|
private readonly namespaceName;
|
|
5
4
|
private readonly userId;
|
|
6
5
|
private readonly args;
|
|
7
|
-
private readonly enableSpeculativeExecution;
|
|
8
6
|
private readonly ttl;
|
|
9
|
-
constructor(namespaceName: string, args?: string | null,
|
|
7
|
+
constructor(namespaceName: string, args?: string | null, ttl?: number | null, userId?: string);
|
|
10
8
|
request(): {
|
|
11
9
|
[name: string]: any;
|
|
12
10
|
};
|