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.
Files changed (165) hide show
  1. package/enhance/model/CurrentMasterData.d.ts +3 -1
  2. package/enhance/model/CurrentMasterData.js +5 -1
  3. package/enhance/model/CurrentMasterData.js.map +1 -1
  4. package/enhance/model/CurrentMasterData.ts +8 -0
  5. package/enhance/model/Namespace.d.ts +2 -1
  6. package/enhance/model/Namespace.js +2 -2
  7. package/enhance/model/Namespace.js.map +1 -1
  8. package/enhance/model/Namespace.ts +3 -0
  9. package/enhance/model/UnleashRateEntryModel.d.ts +9 -0
  10. package/enhance/model/UnleashRateEntryModel.js +20 -0
  11. package/enhance/model/UnleashRateEntryModel.js.map +1 -0
  12. package/enhance/model/UnleashRateEntryModel.ts +44 -0
  13. package/enhance/model/UnleashRateModel.d.ts +14 -0
  14. package/enhance/model/UnleashRateModel.js +39 -0
  15. package/enhance/model/UnleashRateModel.js.map +1 -0
  16. package/enhance/model/UnleashRateModel.ts +68 -0
  17. package/enhance/model/index.d.ts +5 -1
  18. package/enhance/model/index.js +5 -1
  19. package/enhance/model/index.js.map +1 -1
  20. package/enhance/model/index.ts +8 -0
  21. package/enhance/model/options/UnleashRateEntryModelOptions.d.ts +2 -0
  22. package/enhance/model/options/UnleashRateEntryModelOptions.js +18 -0
  23. package/enhance/model/options/UnleashRateEntryModelOptions.js.map +1 -0
  24. package/enhance/model/options/UnleashRateEntryModelOptions.ts +19 -0
  25. package/enhance/model/options/UnleashRateModelOptions.d.ts +4 -0
  26. package/enhance/model/options/UnleashRateModelOptions.js +3 -0
  27. package/enhance/model/options/UnleashRateModelOptions.js.map +1 -0
  28. package/enhance/model/options/UnleashRateModelOptions.ts +22 -0
  29. package/enhance/ref/NamespaceRef.d.ts +2 -0
  30. package/enhance/ref/NamespaceRef.js +4 -0
  31. package/enhance/ref/NamespaceRef.js.map +1 -1
  32. package/enhance/ref/NamespaceRef.ts +10 -0
  33. package/enhance/ref/UnleashRateModelRef.d.ts +6 -0
  34. package/enhance/ref/UnleashRateModelRef.js +38 -0
  35. package/enhance/ref/UnleashRateModelRef.js.map +1 -0
  36. package/enhance/ref/UnleashRateModelRef.ts +52 -0
  37. package/enhance/ref/index.d.ts +2 -1
  38. package/enhance/ref/index.js +3 -1
  39. package/enhance/ref/index.js.map +1 -1
  40. package/enhance/ref/index.ts +2 -0
  41. package/enhance/stampSheet/UnleashByUserId.d.ts +15 -0
  42. package/enhance/stampSheet/UnleashByUserId.js +57 -0
  43. package/enhance/stampSheet/UnleashByUserId.js.map +1 -0
  44. package/enhance/stampSheet/UnleashByUserId.ts +77 -0
  45. package/enhance/stampSheet/index.d.ts +2 -1
  46. package/enhance/stampSheet/index.js +3 -1
  47. package/enhance/stampSheet/index.js.map +1 -1
  48. package/enhance/stampSheet/index.ts +2 -0
  49. package/grade/index.d.ts +12 -0
  50. package/grade/index.js +32 -0
  51. package/grade/index.js.map +1 -0
  52. package/grade/index.ts +36 -0
  53. package/grade/model/AcquireActionRate.d.ts +16 -0
  54. package/grade/model/AcquireActionRate.js +42 -0
  55. package/grade/model/AcquireActionRate.js.map +1 -0
  56. package/grade/model/AcquireActionRate.ts +85 -0
  57. package/grade/model/CurrentMasterData.d.ts +13 -0
  58. package/grade/model/CurrentMasterData.js +50 -0
  59. package/grade/model/CurrentMasterData.js.map +1 -0
  60. package/grade/model/CurrentMasterData.ts +70 -0
  61. package/grade/model/DefaultGradeModel.d.ts +9 -0
  62. package/grade/model/DefaultGradeModel.js +20 -0
  63. package/grade/model/DefaultGradeModel.js.map +1 -0
  64. package/grade/model/DefaultGradeModel.ts +44 -0
  65. package/grade/model/GradeEntryModel.d.ts +11 -0
  66. package/grade/model/GradeEntryModel.js +30 -0
  67. package/grade/model/GradeEntryModel.js.map +1 -0
  68. package/grade/model/GradeEntryModel.ts +55 -0
  69. package/grade/model/GradeModel.d.ts +14 -0
  70. package/grade/model/GradeModel.js +40 -0
  71. package/grade/model/GradeModel.js.map +1 -0
  72. package/grade/model/GradeModel.ts +71 -0
  73. package/grade/model/Namespace.d.ts +22 -0
  74. package/grade/model/Namespace.js +77 -0
  75. package/grade/model/Namespace.js.map +1 -0
  76. package/grade/model/Namespace.ts +122 -0
  77. package/grade/model/enum/AcquireActionRateMode.d.ts +5 -0
  78. package/grade/model/enum/AcquireActionRateMode.js +23 -0
  79. package/grade/model/enum/AcquireActionRateMode.js.map +1 -0
  80. package/grade/model/enum/AcquireActionRateMode.ts +23 -0
  81. package/grade/model/index.d.ts +15 -0
  82. package/grade/model/index.js +34 -0
  83. package/grade/model/index.js.map +1 -0
  84. package/grade/model/index.ts +46 -0
  85. package/grade/model/options/AcquireActionRateModeIsBigOptions.d.ts +2 -0
  86. package/grade/model/options/AcquireActionRateModeIsBigOptions.js +3 -0
  87. package/grade/model/options/AcquireActionRateModeIsBigOptions.js.map +1 -0
  88. package/grade/model/options/AcquireActionRateModeIsBigOptions.ts +19 -0
  89. package/grade/model/options/AcquireActionRateModeIsDoubleOptions.d.ts +2 -0
  90. package/grade/model/options/AcquireActionRateModeIsDoubleOptions.js +3 -0
  91. package/grade/model/options/AcquireActionRateModeIsDoubleOptions.js.map +1 -0
  92. package/grade/model/options/AcquireActionRateModeIsDoubleOptions.ts +19 -0
  93. package/grade/model/options/AcquireActionRateOptions.d.ts +4 -0
  94. package/grade/model/options/AcquireActionRateOptions.js +3 -0
  95. package/grade/model/options/AcquireActionRateOptions.js.map +1 -0
  96. package/grade/model/options/AcquireActionRateOptions.ts +22 -0
  97. package/grade/model/options/DefaultGradeModelOptions.d.ts +2 -0
  98. package/grade/model/options/DefaultGradeModelOptions.js +18 -0
  99. package/grade/model/options/DefaultGradeModelOptions.js.map +1 -0
  100. package/grade/model/options/DefaultGradeModelOptions.ts +19 -0
  101. package/grade/model/options/GradeEntryModelOptions.d.ts +3 -0
  102. package/grade/model/options/GradeEntryModelOptions.js +18 -0
  103. package/grade/model/options/GradeEntryModelOptions.js.map +1 -0
  104. package/grade/model/options/GradeEntryModelOptions.ts +20 -0
  105. package/grade/model/options/GradeModelOptions.d.ts +7 -0
  106. package/grade/model/options/GradeModelOptions.js +3 -0
  107. package/grade/model/options/GradeModelOptions.js.map +1 -0
  108. package/grade/model/options/GradeModelOptions.ts +25 -0
  109. package/grade/model/options/NamespaceOptions.d.ts +9 -0
  110. package/grade/model/options/NamespaceOptions.js +3 -0
  111. package/grade/model/options/NamespaceOptions.js.map +1 -0
  112. package/grade/model/options/NamespaceOptions.ts +26 -0
  113. package/grade/ref/GradeModelRef.d.ts +6 -0
  114. package/grade/ref/GradeModelRef.js +38 -0
  115. package/grade/ref/GradeModelRef.js.map +1 -0
  116. package/grade/ref/GradeModelRef.ts +52 -0
  117. package/grade/ref/NamespaceRef.d.ts +21 -0
  118. package/grade/ref/NamespaceRef.js +64 -0
  119. package/grade/ref/NamespaceRef.js.map +1 -0
  120. package/grade/ref/NamespaceRef.ts +159 -0
  121. package/grade/ref/index.d.ts +3 -0
  122. package/grade/ref/index.js +24 -0
  123. package/grade/ref/index.js.map +1 -0
  124. package/grade/ref/index.ts +22 -0
  125. package/grade/stampSheet/AddGradeByUserId.d.ts +13 -0
  126. package/grade/stampSheet/AddGradeByUserId.js +53 -0
  127. package/grade/stampSheet/AddGradeByUserId.js.map +1 -0
  128. package/grade/stampSheet/AddGradeByUserId.ts +69 -0
  129. package/grade/stampSheet/ApplyRankCapByUserId.d.ts +12 -0
  130. package/grade/stampSheet/ApplyRankCapByUserId.js +48 -0
  131. package/grade/stampSheet/ApplyRankCapByUserId.js.map +1 -0
  132. package/grade/stampSheet/ApplyRankCapByUserId.ts +63 -0
  133. package/grade/stampSheet/MultiplyAcquireActionsByUserId.d.ts +14 -0
  134. package/grade/stampSheet/MultiplyAcquireActionsByUserId.js +57 -0
  135. package/grade/stampSheet/MultiplyAcquireActionsByUserId.js.map +1 -0
  136. package/grade/stampSheet/MultiplyAcquireActionsByUserId.ts +76 -0
  137. package/grade/stampSheet/SubGradeByUserId.d.ts +13 -0
  138. package/grade/stampSheet/SubGradeByUserId.js +53 -0
  139. package/grade/stampSheet/SubGradeByUserId.js.map +1 -0
  140. package/grade/stampSheet/SubGradeByUserId.ts +69 -0
  141. package/grade/stampSheet/VerifyGradeByUserId.d.ts +15 -0
  142. package/grade/stampSheet/VerifyGradeByUserId.js +57 -0
  143. package/grade/stampSheet/VerifyGradeByUserId.js.map +1 -0
  144. package/grade/stampSheet/VerifyGradeByUserId.ts +76 -0
  145. package/grade/stampSheet/VerifyGradeUpMaterialByUserId.d.ts +15 -0
  146. package/grade/stampSheet/VerifyGradeUpMaterialByUserId.js +56 -0
  147. package/grade/stampSheet/VerifyGradeUpMaterialByUserId.js.map +1 -0
  148. package/grade/stampSheet/VerifyGradeUpMaterialByUserId.ts +76 -0
  149. package/grade/stampSheet/enum/StatusVerifyType.d.ts +5 -0
  150. package/grade/stampSheet/enum/StatusVerifyType.js +23 -0
  151. package/grade/stampSheet/enum/StatusVerifyType.js.map +1 -0
  152. package/grade/stampSheet/enum/StatusVerifyType.ts +23 -0
  153. package/grade/stampSheet/index.d.ts +7 -0
  154. package/grade/stampSheet/index.js +32 -0
  155. package/grade/stampSheet/index.js.map +1 -0
  156. package/grade/stampSheet/index.ts +30 -0
  157. package/package.json +1 -1
  158. package/stateMachine/ref/NamespaceRef.d.ts +1 -2
  159. package/stateMachine/ref/NamespaceRef.js +2 -2
  160. package/stateMachine/ref/NamespaceRef.js.map +1 -1
  161. package/stateMachine/ref/NamespaceRef.ts +0 -3
  162. package/stateMachine/stampSheet/StartStateMachineByUserId.d.ts +1 -3
  163. package/stateMachine/stampSheet/StartStateMachineByUserId.js +1 -6
  164. package/stateMachine/stampSheet/StartStateMachineByUserId.js.map +1 -1
  165. package/stateMachine/stampSheet/StartStateMachineByUserId.ts +0 -7
@@ -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 AcquireActionRateMode = {
20
+ DOUBLE: "double",
21
+ BIG: "big",
22
+ } as const;
23
+ export type AcquireActionRateMode = typeof AcquireActionRateMode[keyof typeof AcquireActionRateMode];
@@ -0,0 +1,15 @@
1
+ import Namespace from "./Namespace";
2
+ import { NamespaceOptions } from "./options/NamespaceOptions";
3
+ import GradeModel from "./GradeModel";
4
+ import { GradeModelOptions } from "./options/GradeModelOptions";
5
+ import DefaultGradeModel from "./DefaultGradeModel";
6
+ import { DefaultGradeModelOptions } from "./options/DefaultGradeModelOptions";
7
+ import GradeEntryModel from "./GradeEntryModel";
8
+ import { GradeEntryModelOptions } from "./options/GradeEntryModelOptions";
9
+ import AcquireActionRate from "./AcquireActionRate";
10
+ import { AcquireActionRateOptions } from "./options/AcquireActionRateOptions";
11
+ import { AcquireActionRateMode } from "./enum/AcquireActionRateMode";
12
+ import { AcquireActionRateModeIsDoubleOptions } from "./options/AcquireActionRateModeIsDoubleOptions";
13
+ import { AcquireActionRateModeIsBigOptions } from "./options/AcquireActionRateModeIsBigOptions";
14
+ import CurrentMasterData from "./CurrentMasterData";
15
+ export { Namespace, NamespaceOptions, GradeModel, GradeModelOptions, DefaultGradeModel, DefaultGradeModelOptions, GradeEntryModel, GradeEntryModelOptions, AcquireActionRate, AcquireActionRateOptions, AcquireActionRateMode, AcquireActionRateModeIsDoubleOptions, AcquireActionRateModeIsBigOptions, CurrentMasterData, };
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CurrentMasterData = exports.AcquireActionRateMode = exports.AcquireActionRate = exports.GradeEntryModel = exports.DefaultGradeModel = exports.GradeModel = exports.Namespace = 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 Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
21
+ exports.Namespace = Namespace_1.default;
22
+ const GradeModel_1 = tslib_1.__importDefault(require("./GradeModel"));
23
+ exports.GradeModel = GradeModel_1.default;
24
+ const DefaultGradeModel_1 = tslib_1.__importDefault(require("./DefaultGradeModel"));
25
+ exports.DefaultGradeModel = DefaultGradeModel_1.default;
26
+ const GradeEntryModel_1 = tslib_1.__importDefault(require("./GradeEntryModel"));
27
+ exports.GradeEntryModel = GradeEntryModel_1.default;
28
+ const AcquireActionRate_1 = tslib_1.__importDefault(require("./AcquireActionRate"));
29
+ exports.AcquireActionRate = AcquireActionRate_1.default;
30
+ const AcquireActionRateMode_1 = require("./enum/AcquireActionRateMode");
31
+ Object.defineProperty(exports, "AcquireActionRateMode", { enumerable: true, get: function () { return AcquireActionRateMode_1.AcquireActionRateMode; } });
32
+ const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
33
+ exports.CurrentMasterData = CurrentMasterData_1.default;
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAgBhC,oBAhBG,mBAAS,CAgBH;AAdb,sEAAsC;AAgBlC,qBAhBG,oBAAU,CAgBH;AAdd,oFAAoD;AAgBhD,4BAhBG,2BAAiB,CAgBH;AAdrB,gFAAgD;AAgB5C,0BAhBG,yBAAe,CAgBH;AAdnB,oFAAoD;AAgBhD,4BAhBG,2BAAiB,CAgBH;AAdrB,wEAAqE;AAgBjE,sGAhBK,6CAAqB,OAgBL;AAbzB,oFAAoD;AAgBhD,4BAhBG,2BAAiB,CAgBH"}
@@ -0,0 +1,46 @@
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 Namespace from "./Namespace";
17
+ import { NamespaceOptions } from "./options/NamespaceOptions";
18
+ import GradeModel from "./GradeModel";
19
+ import { GradeModelOptions } from "./options/GradeModelOptions";
20
+ import DefaultGradeModel from "./DefaultGradeModel";
21
+ import { DefaultGradeModelOptions } from "./options/DefaultGradeModelOptions";
22
+ import GradeEntryModel from "./GradeEntryModel";
23
+ import { GradeEntryModelOptions } from "./options/GradeEntryModelOptions";
24
+ import AcquireActionRate from "./AcquireActionRate";
25
+ import { AcquireActionRateOptions } from "./options/AcquireActionRateOptions";
26
+ import { AcquireActionRateMode } from "./enum/AcquireActionRateMode";
27
+ import { AcquireActionRateModeIsDoubleOptions } from "./options/AcquireActionRateModeIsDoubleOptions"
28
+ import { AcquireActionRateModeIsBigOptions } from "./options/AcquireActionRateModeIsBigOptions"
29
+ import CurrentMasterData from "./CurrentMasterData";
30
+
31
+ export {
32
+ Namespace,
33
+ NamespaceOptions,
34
+ GradeModel,
35
+ GradeModelOptions,
36
+ DefaultGradeModel,
37
+ DefaultGradeModelOptions,
38
+ GradeEntryModel,
39
+ GradeEntryModelOptions,
40
+ AcquireActionRate,
41
+ AcquireActionRateOptions,
42
+ AcquireActionRateMode,
43
+ AcquireActionRateModeIsDoubleOptions,
44
+ AcquireActionRateModeIsBigOptions,
45
+ CurrentMasterData,
46
+ }
@@ -0,0 +1,2 @@
1
+ export interface AcquireActionRateModeIsBigOptions {
2
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AcquireActionRateModeIsBigOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcquireActionRateModeIsBigOptions.js","sourceRoot":"","sources":["AcquireActionRateModeIsBigOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
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 { AcquireActionRateMode } from "../enum/AcquireActionRateMode";
17
+
18
+ export interface AcquireActionRateModeIsBigOptions {
19
+ }
@@ -0,0 +1,2 @@
1
+ export interface AcquireActionRateModeIsDoubleOptions {
2
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AcquireActionRateModeIsDoubleOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcquireActionRateModeIsDoubleOptions.js","sourceRoot":"","sources":["AcquireActionRateModeIsDoubleOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
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 { AcquireActionRateMode } from "../enum/AcquireActionRateMode";
17
+
18
+ export interface AcquireActionRateModeIsDoubleOptions {
19
+ }
@@ -0,0 +1,4 @@
1
+ export interface AcquireActionRateOptions {
2
+ rates?: number[] | null;
3
+ bigRates?: string[] | null;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AcquireActionRateOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcquireActionRateOptions.js","sourceRoot":"","sources":["AcquireActionRateOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
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 { AcquireActionRateMode } from "../enum/AcquireActionRateMode";
17
+
18
+ export interface AcquireActionRateOptions {
19
+ rates?: number[]|null;
20
+ bigRates?: string[]|null;
21
+ }
22
+
@@ -0,0 +1,2 @@
1
+ export interface DefaultGradeModelOptions {
2
+ }
@@ -0,0 +1,18 @@
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
+ //# sourceMappingURL=DefaultGradeModelOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultGradeModelOptions.js","sourceRoot":"","sources":["DefaultGradeModelOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,19 @@
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
+ export interface DefaultGradeModelOptions {
18
+ }
19
+
@@ -0,0 +1,3 @@
1
+ export interface GradeEntryModelOptions {
2
+ metadata?: string | null;
3
+ }
@@ -0,0 +1,18 @@
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
+ //# sourceMappingURL=GradeEntryModelOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GradeEntryModelOptions.js","sourceRoot":"","sources":["GradeEntryModelOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,20 @@
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
+ export interface GradeEntryModelOptions {
18
+ metadata?: string|null;
19
+ }
20
+
@@ -0,0 +1,7 @@
1
+ import DefaultGradeModel from "../DefaultGradeModel";
2
+ import AcquireActionRate from "../AcquireActionRate";
3
+ export interface GradeModelOptions {
4
+ metadata?: string | null;
5
+ defaultGrades?: DefaultGradeModel[] | null;
6
+ acquireActionRates?: AcquireActionRate[] | null;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=GradeModelOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GradeModelOptions.js","sourceRoot":"","sources":["GradeModelOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
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 DefaultGradeModel from "../DefaultGradeModel";
17
+ import GradeEntryModel from "../GradeEntryModel";
18
+ import AcquireActionRate from "../AcquireActionRate";
19
+
20
+ export interface GradeModelOptions {
21
+ metadata?: string|null;
22
+ defaultGrades?: DefaultGradeModel[]|null;
23
+ acquireActionRates?: AcquireActionRate[]|null;
24
+ }
25
+
@@ -0,0 +1,9 @@
1
+ import TransactionSetting from "../../../core/model/TransactionSetting";
2
+ import ScriptSetting from "../../../core/model/ScriptSetting";
3
+ import LogSetting from "../../../core/model/LogSetting";
4
+ export interface NamespaceOptions {
5
+ description?: string | null;
6
+ transactionSetting?: TransactionSetting | null;
7
+ changeGradeScript?: ScriptSetting | null;
8
+ logSetting?: LogSetting | null;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=NamespaceOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NamespaceOptions.js","sourceRoot":"","sources":["NamespaceOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,26 @@
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 TransactionSetting from "../../../core/model/TransactionSetting";
17
+ import ScriptSetting from "../../../core/model/ScriptSetting";
18
+ import LogSetting from "../../../core/model/LogSetting";
19
+
20
+ export interface NamespaceOptions {
21
+ description?: string|null;
22
+ transactionSetting?: TransactionSetting|null;
23
+ changeGradeScript?: ScriptSetting|null;
24
+ logSetting?: LogSetting|null;
25
+ }
26
+
@@ -0,0 +1,6 @@
1
+ export default class GradeModelRef {
2
+ private readonly namespaceName;
3
+ private readonly gradeName;
4
+ constructor(namespaceName: string, gradeName: string);
5
+ grn(): string;
6
+ }
@@ -0,0 +1,38 @@
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 func_1 = require("../../core/func");
19
+ class GradeModelRef {
20
+ constructor(namespaceName, gradeName) {
21
+ this.namespaceName = namespaceName;
22
+ this.gradeName = gradeName;
23
+ }
24
+ grn() {
25
+ return new func_1.Join(":", [
26
+ "grn",
27
+ "gs2",
28
+ func_1.GetAttr.region().str(),
29
+ func_1.GetAttr.ownerId().str(),
30
+ "grade",
31
+ this.namespaceName,
32
+ "model",
33
+ this.gradeName,
34
+ ]).str();
35
+ }
36
+ }
37
+ exports.default = GradeModelRef;
38
+ //# sourceMappingURL=GradeModelRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GradeModelRef.js","sourceRoot":"","sources":["GradeModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,aAAa;IAI9B,YACI,aAAqB,EACrB,SAAiB;QAEjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,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,OAAO;YACP,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,IAAI,CAAC,SAAS;SACjB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,gCAiCC"}
@@ -0,0 +1,52 @@
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 {GetAttr, Join} from "../../core/func";
18
+
19
+ export default class GradeModelRef {
20
+ private readonly namespaceName: string;
21
+ private readonly gradeName: string;
22
+
23
+ public constructor(
24
+ namespaceName: string,
25
+ gradeName: string,
26
+ ) {
27
+ this.namespaceName = namespaceName;
28
+ this.gradeName = gradeName;
29
+ }
30
+
31
+ public grn(
32
+ ): string {
33
+ return new Join(
34
+ ":",
35
+ [
36
+ "grn",
37
+ "gs2",
38
+ GetAttr.region(
39
+ ).str(
40
+ ),
41
+ GetAttr.ownerId(
42
+ ).str(
43
+ ),
44
+ "grade",
45
+ this.namespaceName,
46
+ "model",
47
+ this.gradeName,
48
+ ],
49
+ ).str(
50
+ );
51
+ }
52
+ }
@@ -0,0 +1,21 @@
1
+ import GradeModelRef from "./GradeModelRef";
2
+ import AddGradeByUserId from "../stampSheet/AddGradeByUserId";
3
+ import ApplyRankCapByUserId from "../stampSheet/ApplyRankCapByUserId";
4
+ import MultiplyAcquireActionsByUserId from "../stampSheet/MultiplyAcquireActionsByUserId";
5
+ import { AcquireAction } from "../../core/model";
6
+ import SubGradeByUserId from "../stampSheet/SubGradeByUserId";
7
+ import VerifyGradeByUserId from "../stampSheet/VerifyGradeByUserId";
8
+ import { StatusVerifyType } from "../stampSheet/enum/StatusVerifyType";
9
+ import VerifyGradeUpMaterialByUserId from "../stampSheet/VerifyGradeUpMaterialByUserId";
10
+ export default class NamespaceRef {
11
+ private readonly namespaceName;
12
+ constructor(namespaceName: string);
13
+ gradeModel(gradeName: string): GradeModelRef;
14
+ addGrade(gradeName: string, propertyId: string, gradeValue?: number | null, userId?: string): AddGradeByUserId;
15
+ applyRankCap(gradeName: string, propertyId: string, userId?: string): ApplyRankCapByUserId;
16
+ multiplyAcquireActions(gradeName: string, propertyId: string, rateName: string, acquireActions?: AcquireAction[] | null, userId?: string): MultiplyAcquireActionsByUserId;
17
+ subGrade(gradeName: string, propertyId: string, gradeValue?: number | null, userId?: string): SubGradeByUserId;
18
+ verifyGrade(gradeName: string, verifyType: StatusVerifyType, propertyId: string, gradeValue?: number | null, userId?: string): VerifyGradeByUserId;
19
+ verifyGradeUpMaterial(gradeName: string, verifyType: StatusVerifyType, propertyId: string, materialPropertyId: string, userId?: string): VerifyGradeUpMaterialByUserId;
20
+ grn(): string;
21
+ }
@@ -0,0 +1,64 @@
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 tslib_1 = require("tslib");
19
+ const func_1 = require("../../core/func");
20
+ const GradeModelRef_1 = tslib_1.__importDefault(require("./GradeModelRef"));
21
+ const AddGradeByUserId_1 = tslib_1.__importDefault(require("../stampSheet/AddGradeByUserId"));
22
+ const ApplyRankCapByUserId_1 = tslib_1.__importDefault(require("../stampSheet/ApplyRankCapByUserId"));
23
+ const MultiplyAcquireActionsByUserId_1 = tslib_1.__importDefault(require("../stampSheet/MultiplyAcquireActionsByUserId"));
24
+ const SubGradeByUserId_1 = tslib_1.__importDefault(require("../stampSheet/SubGradeByUserId"));
25
+ const VerifyGradeByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyGradeByUserId"));
26
+ const VerifyGradeUpMaterialByUserId_1 = tslib_1.__importDefault(require("../stampSheet/VerifyGradeUpMaterialByUserId"));
27
+ class NamespaceRef {
28
+ constructor(namespaceName) {
29
+ this.namespaceName = namespaceName;
30
+ }
31
+ gradeModel(gradeName) {
32
+ return new GradeModelRef_1.default(this.namespaceName, gradeName);
33
+ }
34
+ addGrade(gradeName, propertyId, gradeValue = null, userId = "#{userId}") {
35
+ return new AddGradeByUserId_1.default(this.namespaceName, gradeName, propertyId, gradeValue, userId);
36
+ }
37
+ applyRankCap(gradeName, propertyId, userId = "#{userId}") {
38
+ return new ApplyRankCapByUserId_1.default(this.namespaceName, gradeName, propertyId, userId);
39
+ }
40
+ multiplyAcquireActions(gradeName, propertyId, rateName, acquireActions = null, userId = "#{userId}") {
41
+ return new MultiplyAcquireActionsByUserId_1.default(this.namespaceName, gradeName, propertyId, rateName, acquireActions, userId);
42
+ }
43
+ subGrade(gradeName, propertyId, gradeValue = null, userId = "#{userId}") {
44
+ return new SubGradeByUserId_1.default(this.namespaceName, gradeName, propertyId, gradeValue, userId);
45
+ }
46
+ verifyGrade(gradeName, verifyType, propertyId, gradeValue = null, userId = "#{userId}") {
47
+ return new VerifyGradeByUserId_1.default(this.namespaceName, gradeName, verifyType, propertyId, gradeValue, userId);
48
+ }
49
+ verifyGradeUpMaterial(gradeName, verifyType, propertyId, materialPropertyId, userId = "#{userId}") {
50
+ return new VerifyGradeUpMaterialByUserId_1.default(this.namespaceName, gradeName, verifyType, propertyId, materialPropertyId, userId);
51
+ }
52
+ grn() {
53
+ return new func_1.Join(":", [
54
+ "grn",
55
+ "gs2",
56
+ func_1.GetAttr.region().str(),
57
+ func_1.GetAttr.ownerId().str(),
58
+ "grade",
59
+ this.namespaceName,
60
+ ]).str();
61
+ }
62
+ }
63
+ exports.default = NamespaceRef;
64
+ //# sourceMappingURL=NamespaceRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4EAA4C;AAC5C,8FAA8D;AAC9D,sGAAsE;AACtE,0HAA0F;AAE1F,8FAA8D;AAC9D,oGAAoE;AAEpE,wHAAwF;AAExF,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,UAAU,CACb,SAAiB;QAEjB,OAAO,IAAI,uBAAa,CACpB,IAAI,CAAC,aAAa,EAClB,SAAS,CACZ,CAAC;IACN,CAAC;IAEM,QAAQ,CACX,SAAiB,EACjB,UAAkB,EAClB,aAA0B,IAAI,EAC9B,SAAiB,WAAW;QAE5B,OAAO,IAAI,0BAAgB,CACvB,IAAI,CAAC,aAAa,EAClB,SAAS,EACT,UAAU,EACV,UAAU,EACV,MAAM,CACT,CAAC;IACN,CAAC;IAEM,YAAY,CACf,SAAiB,EACjB,UAAkB,EAClB,SAAiB,WAAW;QAE5B,OAAO,IAAI,8BAAoB,CAC3B,IAAI,CAAC,aAAa,EAClB,SAAS,EACT,UAAU,EACV,MAAM,CACT,CAAC;IACN,CAAC;IAEM,sBAAsB,CACzB,SAAiB,EACjB,UAAkB,EAClB,QAAgB,EAChB,iBAAuC,IAAI,EAC3C,SAAiB,WAAW;QAE5B,OAAO,IAAI,wCAA8B,CACrC,IAAI,CAAC,aAAa,EAClB,SAAS,EACT,UAAU,EACV,QAAQ,EACR,cAAc,EACd,MAAM,CACT,CAAC;IACN,CAAC;IAEM,QAAQ,CACX,SAAiB,EACjB,UAAkB,EAClB,aAA0B,IAAI,EAC9B,SAAiB,WAAW;QAE5B,OAAO,IAAI,0BAAgB,CACvB,IAAI,CAAC,aAAa,EAClB,SAAS,EACT,UAAU,EACV,UAAU,EACV,MAAM,CACT,CAAC;IACN,CAAC;IAEM,WAAW,CACd,SAAiB,EACjB,UAA4B,EAC5B,UAAkB,EAClB,aAA0B,IAAI,EAC9B,SAAiB,WAAW;QAE5B,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,MAAM,CACT,CAAC;IACN,CAAC;IAEM,qBAAqB,CACxB,SAAiB,EACjB,UAA4B,EAC5B,UAAkB,EAClB,kBAA0B,EAC1B,SAAiB,WAAW;QAE5B,OAAO,IAAI,uCAA6B,CACpC,IAAI,CAAC,aAAa,EAClB,SAAS,EACT,UAAU,EACV,UAAU,EACV,kBAAkB,EAClB,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,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAnID,+BAmIC"}