gs2-cdk 1.0.60 → 1.0.61

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 (157) hide show
  1. package/guild/ref/GuildModelRef.d.ts +5 -0
  2. package/guild/ref/GuildModelRef.js +8 -0
  3. package/guild/ref/GuildModelRef.js.map +1 -1
  4. package/guild/ref/GuildModelRef.ts +33 -0
  5. package/guild/ref/GuildRef.d.ts +5 -0
  6. package/guild/ref/GuildRef.js +10 -0
  7. package/guild/ref/GuildRef.js.map +1 -1
  8. package/guild/ref/GuildRef.ts +34 -0
  9. package/guild/ref/NamespaceRef.d.ts +5 -0
  10. package/guild/ref/NamespaceRef.js +8 -0
  11. package/guild/ref/NamespaceRef.js.map +1 -1
  12. package/guild/ref/NamespaceRef.ts +35 -0
  13. package/guild/stampSheet/VerifyCurrentMaximumMemberCountByGuildName.d.ts +15 -0
  14. package/guild/stampSheet/VerifyCurrentMaximumMemberCountByGuildName.js +58 -0
  15. package/guild/stampSheet/VerifyCurrentMaximumMemberCountByGuildName.js.map +1 -0
  16. package/guild/stampSheet/VerifyCurrentMaximumMemberCountByGuildName.ts +76 -0
  17. package/guild/stampSheet/VerifyIncludeMemberByUserId.d.ts +15 -0
  18. package/guild/stampSheet/VerifyIncludeMemberByUserId.js +55 -0
  19. package/guild/stampSheet/VerifyIncludeMemberByUserId.js.map +1 -0
  20. package/guild/stampSheet/VerifyIncludeMemberByUserId.ts +73 -0
  21. package/guild/stampSheet/enum/GuildVerifyType.d.ts +5 -0
  22. package/guild/stampSheet/enum/GuildVerifyType.js +23 -0
  23. package/guild/stampSheet/enum/GuildVerifyType.js.map +1 -0
  24. package/guild/stampSheet/enum/GuildVerifyType.ts +23 -0
  25. package/guild/stampSheet/index.d.ts +3 -1
  26. package/guild/stampSheet/index.js +5 -1
  27. package/guild/stampSheet/index.js.map +1 -1
  28. package/guild/stampSheet/index.ts +4 -0
  29. package/idle/ref/NamespaceRef.d.ts +3 -0
  30. package/idle/ref/NamespaceRef.js +4 -0
  31. package/idle/ref/NamespaceRef.js.map +1 -1
  32. package/idle/ref/NamespaceRef.ts +15 -0
  33. package/idle/stampSheet/ReceiveByUserId.d.ts +14 -0
  34. package/idle/stampSheet/ReceiveByUserId.js +54 -0
  35. package/idle/stampSheet/ReceiveByUserId.js.map +1 -0
  36. package/idle/stampSheet/ReceiveByUserId.ts +71 -0
  37. package/idle/stampSheet/index.d.ts +2 -1
  38. package/idle/stampSheet/index.js +3 -1
  39. package/idle/stampSheet/index.js.map +1 -1
  40. package/idle/stampSheet/index.ts +2 -0
  41. package/package.json +1 -1
  42. package/ranking2/index.d.ts +12 -0
  43. package/ranking2/index.js +32 -0
  44. package/ranking2/index.js.map +1 -0
  45. package/ranking2/index.ts +36 -0
  46. package/ranking2/model/ClusterRankingModel.d.ts +19 -0
  47. package/ranking2/model/ClusterRankingModel.js +59 -0
  48. package/ranking2/model/ClusterRankingModel.js.map +1 -0
  49. package/ranking2/model/ClusterRankingModel.ts +91 -0
  50. package/ranking2/model/CurrentMasterData.d.ts +17 -0
  51. package/ranking2/model/CurrentMasterData.js +58 -0
  52. package/ranking2/model/CurrentMasterData.js.map +1 -0
  53. package/ranking2/model/CurrentMasterData.ts +86 -0
  54. package/ranking2/model/GlobalRankingModel.d.ts +17 -0
  55. package/ranking2/model/GlobalRankingModel.js +55 -0
  56. package/ranking2/model/GlobalRankingModel.js.map +1 -0
  57. package/ranking2/model/GlobalRankingModel.ts +84 -0
  58. package/ranking2/model/Namespace.d.ts +23 -0
  59. package/ranking2/model/Namespace.js +72 -0
  60. package/ranking2/model/Namespace.js.map +1 -0
  61. package/ranking2/model/Namespace.ts +121 -0
  62. package/ranking2/model/RankingReward.d.ts +10 -0
  63. package/ranking2/model/RankingReward.js +27 -0
  64. package/ranking2/model/RankingReward.js.map +1 -0
  65. package/ranking2/model/RankingReward.ts +50 -0
  66. package/ranking2/model/SubscribeRankingModel.d.ts +16 -0
  67. package/ranking2/model/SubscribeRankingModel.js +50 -0
  68. package/ranking2/model/SubscribeRankingModel.js.map +1 -0
  69. package/ranking2/model/SubscribeRankingModel.ts +76 -0
  70. package/ranking2/model/enum/ClusterRankingModelClusterType.d.ts +5 -0
  71. package/ranking2/model/enum/ClusterRankingModelClusterType.js +23 -0
  72. package/ranking2/model/enum/ClusterRankingModelClusterType.js.map +1 -0
  73. package/ranking2/model/enum/ClusterRankingModelClusterType.ts +23 -0
  74. package/ranking2/model/enum/ClusterRankingModelOrderDirection.d.ts +5 -0
  75. package/ranking2/model/enum/ClusterRankingModelOrderDirection.js +23 -0
  76. package/ranking2/model/enum/ClusterRankingModelOrderDirection.js.map +1 -0
  77. package/ranking2/model/enum/ClusterRankingModelOrderDirection.ts +23 -0
  78. package/ranking2/model/enum/GlobalRankingModelOrderDirection.d.ts +5 -0
  79. package/ranking2/model/enum/GlobalRankingModelOrderDirection.js +23 -0
  80. package/ranking2/model/enum/GlobalRankingModelOrderDirection.js.map +1 -0
  81. package/ranking2/model/enum/GlobalRankingModelOrderDirection.ts +23 -0
  82. package/ranking2/model/enum/SubscribeRankingModelOrderDirection.d.ts +5 -0
  83. package/ranking2/model/enum/SubscribeRankingModelOrderDirection.js +23 -0
  84. package/ranking2/model/enum/SubscribeRankingModelOrderDirection.js.map +1 -0
  85. package/ranking2/model/enum/SubscribeRankingModelOrderDirection.ts +23 -0
  86. package/ranking2/model/index.d.ts +16 -0
  87. package/ranking2/model/index.js +40 -0
  88. package/ranking2/model/index.js.map +1 -0
  89. package/ranking2/model/index.ts +48 -0
  90. package/ranking2/model/options/ClusterRankingModelOptions.d.ts +9 -0
  91. package/ranking2/model/options/ClusterRankingModelOptions.js +3 -0
  92. package/ranking2/model/options/ClusterRankingModelOptions.js.map +1 -0
  93. package/ranking2/model/options/ClusterRankingModelOptions.ts +29 -0
  94. package/ranking2/model/options/GlobalRankingModelOptions.d.ts +9 -0
  95. package/ranking2/model/options/GlobalRankingModelOptions.js +3 -0
  96. package/ranking2/model/options/GlobalRankingModelOptions.js.map +1 -0
  97. package/ranking2/model/options/GlobalRankingModelOptions.ts +28 -0
  98. package/ranking2/model/options/NamespaceOptions.d.ts +7 -0
  99. package/ranking2/model/options/NamespaceOptions.js +3 -0
  100. package/ranking2/model/options/NamespaceOptions.js.map +1 -0
  101. package/ranking2/model/options/NamespaceOptions.ts +24 -0
  102. package/ranking2/model/options/RankingRewardOptions.d.ts +5 -0
  103. package/ranking2/model/options/RankingRewardOptions.js +3 -0
  104. package/ranking2/model/options/RankingRewardOptions.js.map +1 -0
  105. package/ranking2/model/options/RankingRewardOptions.ts +22 -0
  106. package/ranking2/model/options/SubscribeRankingModelOptions.d.ts +7 -0
  107. package/ranking2/model/options/SubscribeRankingModelOptions.js +3 -0
  108. package/ranking2/model/options/SubscribeRankingModelOptions.js.map +1 -0
  109. package/ranking2/model/options/SubscribeRankingModelOptions.ts +25 -0
  110. package/ranking2/ref/ClusterRankingBorderRef.d.ts +8 -0
  111. package/ranking2/ref/ClusterRankingBorderRef.js +47 -0
  112. package/ranking2/ref/ClusterRankingBorderRef.js.map +1 -0
  113. package/ranking2/ref/ClusterRankingBorderRef.ts +65 -0
  114. package/ranking2/ref/ClusterRankingModelRef.d.ts +6 -0
  115. package/ranking2/ref/ClusterRankingModelRef.js +38 -0
  116. package/ranking2/ref/ClusterRankingModelRef.js.map +1 -0
  117. package/ranking2/ref/ClusterRankingModelRef.ts +53 -0
  118. package/ranking2/ref/ClusterRankingSeasonRef.d.ts +8 -0
  119. package/ranking2/ref/ClusterRankingSeasonRef.js +46 -0
  120. package/ranking2/ref/ClusterRankingSeasonRef.js.map +1 -0
  121. package/ranking2/ref/ClusterRankingSeasonRef.ts +65 -0
  122. package/ranking2/ref/GlobalRankingBorderRef.d.ts +7 -0
  123. package/ranking2/ref/GlobalRankingBorderRef.js +45 -0
  124. package/ranking2/ref/GlobalRankingBorderRef.js.map +1 -0
  125. package/ranking2/ref/GlobalRankingBorderRef.ts +61 -0
  126. package/ranking2/ref/GlobalRankingModelRef.d.ts +6 -0
  127. package/ranking2/ref/GlobalRankingModelRef.js +38 -0
  128. package/ranking2/ref/GlobalRankingModelRef.js.map +1 -0
  129. package/ranking2/ref/GlobalRankingModelRef.ts +53 -0
  130. package/ranking2/ref/GlobalRankingSeasonRef.d.ts +7 -0
  131. package/ranking2/ref/GlobalRankingSeasonRef.js +44 -0
  132. package/ranking2/ref/GlobalRankingSeasonRef.js.map +1 -0
  133. package/ranking2/ref/GlobalRankingSeasonRef.ts +61 -0
  134. package/ranking2/ref/NamespaceRef.d.ts +15 -0
  135. package/ranking2/ref/NamespaceRef.js +56 -0
  136. package/ranking2/ref/NamespaceRef.js.map +1 -0
  137. package/ranking2/ref/NamespaceRef.ts +107 -0
  138. package/ranking2/ref/SubscribeRankingModelRef.d.ts +6 -0
  139. package/ranking2/ref/SubscribeRankingModelRef.js +38 -0
  140. package/ranking2/ref/SubscribeRankingModelRef.js.map +1 -0
  141. package/ranking2/ref/SubscribeRankingModelRef.ts +52 -0
  142. package/ranking2/ref/index.d.ts +9 -0
  143. package/ranking2/ref/index.js +36 -0
  144. package/ranking2/ref/index.js.map +1 -0
  145. package/ranking2/ref/index.ts +34 -0
  146. package/ranking2/stampSheet/CreateClusterRankingReceivedRewardByUserId.d.ts +14 -0
  147. package/ranking2/stampSheet/CreateClusterRankingReceivedRewardByUserId.js +58 -0
  148. package/ranking2/stampSheet/CreateClusterRankingReceivedRewardByUserId.js.map +1 -0
  149. package/ranking2/stampSheet/CreateClusterRankingReceivedRewardByUserId.ts +75 -0
  150. package/ranking2/stampSheet/CreateGlobalRankingReceivedRewardByUserId.d.ts +13 -0
  151. package/ranking2/stampSheet/CreateGlobalRankingReceivedRewardByUserId.js +54 -0
  152. package/ranking2/stampSheet/CreateGlobalRankingReceivedRewardByUserId.js.map +1 -0
  153. package/ranking2/stampSheet/CreateGlobalRankingReceivedRewardByUserId.ts +69 -0
  154. package/ranking2/stampSheet/index.d.ts +3 -0
  155. package/ranking2/stampSheet/index.js +24 -0
  156. package/ranking2/stampSheet/index.js.map +1 -0
  157. package/ranking2/stampSheet/index.ts +22 -0
@@ -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 { AcquireAction } from "../../../core/model";
17
+
18
+ export interface RankingRewardOptions {
19
+ metadata?: string|null;
20
+ acquireActions?: AcquireAction[]|null;
21
+ }
22
+
@@ -0,0 +1,7 @@
1
+ export interface SubscribeRankingModelOptions {
2
+ metadata?: string | null;
3
+ minimumValue?: number | null;
4
+ maximumValue?: number | null;
5
+ entryPeriodEventId?: string | null;
6
+ accessPeriodEventId?: string | null;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SubscribeRankingModelOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubscribeRankingModelOptions.js","sourceRoot":"","sources":["SubscribeRankingModelOptions.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 { SubscribeRankingModelOrderDirection } from "../enum/SubscribeRankingModelOrderDirection";
17
+
18
+ export interface SubscribeRankingModelOptions {
19
+ metadata?: string|null;
20
+ minimumValue?: number|null;
21
+ maximumValue?: number|null;
22
+ entryPeriodEventId?: string|null;
23
+ accessPeriodEventId?: string|null;
24
+ }
25
+
@@ -0,0 +1,8 @@
1
+ export default class ClusterRankingBorderRef {
2
+ private readonly namespaceName;
3
+ private readonly rankingName;
4
+ private readonly clusterName;
5
+ private readonly season;
6
+ constructor(namespaceName: string, rankingName: string, clusterName: string, season: number);
7
+ grn(): string;
8
+ }
@@ -0,0 +1,47 @@
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
+ * deny overwrite
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ const func_1 = require("../../core/func");
21
+ class ClusterRankingBorderRef {
22
+ constructor(namespaceName, rankingName, clusterName, season) {
23
+ this.namespaceName = namespaceName;
24
+ this.rankingName = rankingName;
25
+ this.clusterName = clusterName;
26
+ this.season = season;
27
+ }
28
+ grn() {
29
+ return new func_1.Join(":", [
30
+ "grn",
31
+ "gs2",
32
+ func_1.GetAttr.region().str(),
33
+ func_1.GetAttr.ownerId().str(),
34
+ "ranking2",
35
+ this.namespaceName,
36
+ "cluster",
37
+ this.rankingName,
38
+ "ranking",
39
+ "cluster",
40
+ this.clusterName,
41
+ this.season.toString(),
42
+ "border",
43
+ ]).str();
44
+ }
45
+ }
46
+ exports.default = ClusterRankingBorderRef;
47
+ //# sourceMappingURL=ClusterRankingBorderRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClusterRankingBorderRef.js","sourceRoot":"","sources":["ClusterRankingBorderRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAEH,0CAA8C;AAE9C,MAAqB,uBAAuB;IAMxC,YACI,aAAqB,EACrB,WAAmB,EACnB,WAAmB,EACnB,MAAc;QAEd,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,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,UAAU;YACV,IAAI,CAAC,aAAa;YAClB,SAAS;YACT,IAAI,CAAC,WAAW;YAChB,SAAS;YACT,SAAS;YACT,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;YACtB,QAAQ;SACX,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA5CD,0CA4CC"}
@@ -0,0 +1,65 @@
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
+ * deny overwrite
17
+ */
18
+
19
+ import {GetAttr, Join} from "../../core/func";
20
+
21
+ export default class ClusterRankingBorderRef {
22
+ private readonly namespaceName: string;
23
+ private readonly rankingName: string;
24
+ private readonly clusterName: string;
25
+ private readonly season: number;
26
+
27
+ public constructor(
28
+ namespaceName: string,
29
+ rankingName: string,
30
+ clusterName: string,
31
+ season: number,
32
+ ) {
33
+ this.namespaceName = namespaceName;
34
+ this.rankingName = rankingName;
35
+ this.clusterName = clusterName;
36
+ this.season = season;
37
+ }
38
+
39
+ public grn(
40
+ ): string {
41
+ return new Join(
42
+ ":",
43
+ [
44
+ "grn",
45
+ "gs2",
46
+ GetAttr.region(
47
+ ).str(
48
+ ),
49
+ GetAttr.ownerId(
50
+ ).str(
51
+ ),
52
+ "ranking2",
53
+ this.namespaceName,
54
+ "cluster",
55
+ this.rankingName,
56
+ "ranking",
57
+ "cluster",
58
+ this.clusterName,
59
+ this.season.toString(),
60
+ "border",
61
+ ],
62
+ ).str(
63
+ );
64
+ }
65
+ }
@@ -0,0 +1,6 @@
1
+ export default class ClusterRankingModelRef {
2
+ private readonly namespaceName;
3
+ private readonly rankingName;
4
+ constructor(namespaceName: string, rankingName: 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 ClusterRankingModelRef {
20
+ constructor(namespaceName, rankingName) {
21
+ this.namespaceName = namespaceName;
22
+ this.rankingName = rankingName;
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
+ "ranking2",
31
+ this.namespaceName,
32
+ "cluster",
33
+ this.rankingName,
34
+ ]).str();
35
+ }
36
+ }
37
+ exports.default = ClusterRankingModelRef;
38
+ //# sourceMappingURL=ClusterRankingModelRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClusterRankingModelRef.js","sourceRoot":"","sources":["ClusterRankingModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAG9C,MAAqB,sBAAsB;IAIvC,YACI,aAAqB,EACrB,WAAmB;QAEnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,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,UAAU;YACV,IAAI,CAAC,aAAa;YAClB,SAAS;YACT,IAAI,CAAC,WAAW;SACnB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,yCAiCC"}
@@ -0,0 +1,53 @@
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
+ import ClusterRankingSeasonRef from "./ClusterRankingSeasonRef";
19
+
20
+ export default class ClusterRankingModelRef {
21
+ private readonly namespaceName: string;
22
+ private readonly rankingName: string;
23
+
24
+ public constructor(
25
+ namespaceName: string,
26
+ rankingName: string,
27
+ ) {
28
+ this.namespaceName = namespaceName;
29
+ this.rankingName = rankingName;
30
+ }
31
+
32
+ public grn(
33
+ ): string {
34
+ return new Join(
35
+ ":",
36
+ [
37
+ "grn",
38
+ "gs2",
39
+ GetAttr.region(
40
+ ).str(
41
+ ),
42
+ GetAttr.ownerId(
43
+ ).str(
44
+ ),
45
+ "ranking2",
46
+ this.namespaceName,
47
+ "cluster",
48
+ this.rankingName,
49
+ ],
50
+ ).str(
51
+ );
52
+ }
53
+ }
@@ -0,0 +1,8 @@
1
+ export default class ClusterRankingSeasonRef {
2
+ private readonly namespaceName;
3
+ private readonly rankingName;
4
+ private readonly clusterName;
5
+ private readonly season;
6
+ constructor(namespaceName: string, rankingName: string, clusterName: string, season: number);
7
+ grn(): string;
8
+ }
@@ -0,0 +1,46 @@
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
+ * deny overwrite
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ const func_1 = require("../../core/func");
21
+ class ClusterRankingSeasonRef {
22
+ constructor(namespaceName, rankingName, clusterName, season) {
23
+ this.namespaceName = namespaceName;
24
+ this.rankingName = rankingName;
25
+ this.clusterName = clusterName;
26
+ this.season = season;
27
+ }
28
+ grn() {
29
+ return new func_1.Join(":", [
30
+ "grn",
31
+ "gs2",
32
+ func_1.GetAttr.region().str(),
33
+ func_1.GetAttr.ownerId().str(),
34
+ "ranking2",
35
+ this.namespaceName,
36
+ "cluster",
37
+ this.rankingName,
38
+ "ranking",
39
+ "cluster",
40
+ this.clusterName,
41
+ this.season.toString(),
42
+ ]).str();
43
+ }
44
+ }
45
+ exports.default = ClusterRankingSeasonRef;
46
+ //# sourceMappingURL=ClusterRankingSeasonRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClusterRankingSeasonRef.js","sourceRoot":"","sources":["ClusterRankingSeasonRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAEH,0CAA8C;AAG9C,MAAqB,uBAAuB;IAMxC,YACI,aAAqB,EACrB,WAAmB,EACnB,WAAmB,EACnB,MAAc;QAEd,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,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,UAAU;YACV,IAAI,CAAC,aAAa;YAClB,SAAS;YACT,IAAI,CAAC,WAAW;YAChB,SAAS;YACT,SAAS;YACT,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;SACzB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA3CD,0CA2CC"}
@@ -0,0 +1,65 @@
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
+ * deny overwrite
17
+ */
18
+
19
+ import {GetAttr, Join} from "../../core/func";
20
+ import ClusterRankingBorderRef from "./ClusterRankingBorderRef";
21
+
22
+ export default class ClusterRankingSeasonRef {
23
+ private readonly namespaceName: string;
24
+ private readonly rankingName: string;
25
+ private readonly clusterName: string;
26
+ private readonly season: number;
27
+
28
+ public constructor(
29
+ namespaceName: string,
30
+ rankingName: string,
31
+ clusterName: string,
32
+ season: number,
33
+ ) {
34
+ this.namespaceName = namespaceName;
35
+ this.rankingName = rankingName;
36
+ this.clusterName = clusterName;
37
+ this.season = season;
38
+ }
39
+
40
+ public grn(
41
+ ): string {
42
+ return new Join(
43
+ ":",
44
+ [
45
+ "grn",
46
+ "gs2",
47
+ GetAttr.region(
48
+ ).str(
49
+ ),
50
+ GetAttr.ownerId(
51
+ ).str(
52
+ ),
53
+ "ranking2",
54
+ this.namespaceName,
55
+ "cluster",
56
+ this.rankingName,
57
+ "ranking",
58
+ "cluster",
59
+ this.clusterName,
60
+ this.season.toString(),
61
+ ],
62
+ ).str(
63
+ );
64
+ }
65
+ }
@@ -0,0 +1,7 @@
1
+ export default class GlobalRankingBorderRef {
2
+ private readonly namespaceName;
3
+ private readonly rankingName;
4
+ private readonly season;
5
+ constructor(namespaceName: string, rankingName: string, season: number);
6
+ grn(): string;
7
+ }
@@ -0,0 +1,45 @@
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
+ * deny overwrite
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ const func_1 = require("../../core/func");
21
+ class GlobalRankingBorderRef {
22
+ constructor(namespaceName, rankingName, season) {
23
+ this.namespaceName = namespaceName;
24
+ this.rankingName = rankingName;
25
+ this.season = season;
26
+ }
27
+ grn() {
28
+ return new func_1.Join(":", [
29
+ "grn",
30
+ "gs2",
31
+ func_1.GetAttr.region().str(),
32
+ func_1.GetAttr.ownerId().str(),
33
+ "ranking2",
34
+ this.namespaceName,
35
+ "global",
36
+ this.rankingName,
37
+ "ranking",
38
+ "global",
39
+ this.season.toString(),
40
+ "border",
41
+ ]).str();
42
+ }
43
+ }
44
+ exports.default = GlobalRankingBorderRef;
45
+ //# sourceMappingURL=GlobalRankingBorderRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GlobalRankingBorderRef.js","sourceRoot":"","sources":["GlobalRankingBorderRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAEH,0CAA8C;AAE9C,MAAqB,sBAAsB;IAKvC,YACI,aAAqB,EACrB,WAAmB,EACnB,MAAc;QAEd,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,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,UAAU;YACV,IAAI,CAAC,aAAa;YAClB,QAAQ;YACR,IAAI,CAAC,WAAW;YAChB,SAAS;YACT,QAAQ;YACR,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;YACtB,QAAQ;SACX,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAxCD,yCAwCC"}
@@ -0,0 +1,61 @@
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
+ * deny overwrite
17
+ */
18
+
19
+ import {GetAttr, Join} from "../../core/func";
20
+
21
+ export default class GlobalRankingBorderRef {
22
+ private readonly namespaceName: string;
23
+ private readonly rankingName: string;
24
+ private readonly season: number;
25
+
26
+ public constructor(
27
+ namespaceName: string,
28
+ rankingName: string,
29
+ season: number,
30
+ ) {
31
+ this.namespaceName = namespaceName;
32
+ this.rankingName = rankingName;
33
+ this.season = season;
34
+ }
35
+
36
+ public grn(
37
+ ): string {
38
+ return new Join(
39
+ ":",
40
+ [
41
+ "grn",
42
+ "gs2",
43
+ GetAttr.region(
44
+ ).str(
45
+ ),
46
+ GetAttr.ownerId(
47
+ ).str(
48
+ ),
49
+ "ranking2",
50
+ this.namespaceName,
51
+ "global",
52
+ this.rankingName,
53
+ "ranking",
54
+ "global",
55
+ this.season.toString(),
56
+ "border",
57
+ ],
58
+ ).str(
59
+ );
60
+ }
61
+ }
@@ -0,0 +1,6 @@
1
+ export default class GlobalRankingModelRef {
2
+ private readonly namespaceName;
3
+ private readonly rankingName;
4
+ constructor(namespaceName: string, rankingName: 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 GlobalRankingModelRef {
20
+ constructor(namespaceName, rankingName) {
21
+ this.namespaceName = namespaceName;
22
+ this.rankingName = rankingName;
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
+ "ranking2",
31
+ this.namespaceName,
32
+ "global",
33
+ this.rankingName,
34
+ ]).str();
35
+ }
36
+ }
37
+ exports.default = GlobalRankingModelRef;
38
+ //# sourceMappingURL=GlobalRankingModelRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GlobalRankingModelRef.js","sourceRoot":"","sources":["GlobalRankingModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAG9C,MAAqB,qBAAqB;IAItC,YACI,aAAqB,EACrB,WAAmB;QAEnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,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,UAAU;YACV,IAAI,CAAC,aAAa;YAClB,QAAQ;YACR,IAAI,CAAC,WAAW;SACnB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,wCAiCC"}
@@ -0,0 +1,53 @@
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
+ import GlobalRankingSeasonRef from "./GlobalRankingSeasonRef";
19
+
20
+ export default class GlobalRankingModelRef {
21
+ private readonly namespaceName: string;
22
+ private readonly rankingName: string;
23
+
24
+ public constructor(
25
+ namespaceName: string,
26
+ rankingName: string,
27
+ ) {
28
+ this.namespaceName = namespaceName;
29
+ this.rankingName = rankingName;
30
+ }
31
+
32
+ public grn(
33
+ ): string {
34
+ return new Join(
35
+ ":",
36
+ [
37
+ "grn",
38
+ "gs2",
39
+ GetAttr.region(
40
+ ).str(
41
+ ),
42
+ GetAttr.ownerId(
43
+ ).str(
44
+ ),
45
+ "ranking2",
46
+ this.namespaceName,
47
+ "global",
48
+ this.rankingName,
49
+ ],
50
+ ).str(
51
+ );
52
+ }
53
+ }
@@ -0,0 +1,7 @@
1
+ export default class GlobalRankingSeasonRef {
2
+ private readonly namespaceName;
3
+ private readonly rankingName;
4
+ private readonly season;
5
+ constructor(namespaceName: string, rankingName: string, season: number);
6
+ grn(): string;
7
+ }