gs2-cdk 1.0.56 → 1.0.57

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 (101) hide show
  1. package/package.json +1 -1
  2. package/seasonRating/index.d.ts +12 -0
  3. package/seasonRating/index.js +32 -0
  4. package/seasonRating/index.js.map +1 -0
  5. package/seasonRating/index.ts +36 -0
  6. package/seasonRating/model/CurrentMasterData.d.ts +13 -0
  7. package/seasonRating/model/CurrentMasterData.js +50 -0
  8. package/seasonRating/model/CurrentMasterData.js.map +1 -0
  9. package/seasonRating/model/CurrentMasterData.ts +70 -0
  10. package/seasonRating/model/GameResult.d.ts +9 -0
  11. package/seasonRating/model/GameResult.js +20 -0
  12. package/seasonRating/model/GameResult.js.map +1 -0
  13. package/seasonRating/model/GameResult.ts +44 -0
  14. package/seasonRating/model/MatchSession.d.ts +18 -0
  15. package/seasonRating/model/MatchSession.js +61 -0
  16. package/seasonRating/model/MatchSession.js.map +1 -0
  17. package/seasonRating/model/MatchSession.ts +93 -0
  18. package/seasonRating/model/Namespace.d.ts +21 -0
  19. package/seasonRating/model/Namespace.js +72 -0
  20. package/seasonRating/model/Namespace.js.map +1 -0
  21. package/seasonRating/model/Namespace.ts +115 -0
  22. package/seasonRating/model/SeasonModel.d.ts +12 -0
  23. package/seasonRating/model/SeasonModel.js +30 -0
  24. package/seasonRating/model/SeasonModel.js.map +1 -0
  25. package/seasonRating/model/SeasonModel.ts +57 -0
  26. package/seasonRating/model/SignedBallot.d.ts +9 -0
  27. package/seasonRating/model/SignedBallot.js +20 -0
  28. package/seasonRating/model/SignedBallot.js.map +1 -0
  29. package/seasonRating/model/SignedBallot.ts +44 -0
  30. package/seasonRating/model/TierModel.d.ts +12 -0
  31. package/seasonRating/model/TierModel.js +34 -0
  32. package/seasonRating/model/TierModel.js.map +1 -0
  33. package/seasonRating/model/TierModel.ts +61 -0
  34. package/seasonRating/model/Vote.d.ts +0 -0
  35. package/seasonRating/model/Vote.js +19 -0
  36. package/seasonRating/model/Vote.js.map +1 -0
  37. package/seasonRating/model/Vote.ts +17 -0
  38. package/seasonRating/model/WrittenBallot.d.ts +0 -0
  39. package/seasonRating/model/WrittenBallot.js +19 -0
  40. package/seasonRating/model/WrittenBallot.js.map +1 -0
  41. package/seasonRating/model/WrittenBallot.ts +17 -0
  42. package/seasonRating/model/index.d.ts +15 -0
  43. package/seasonRating/model/index.js +36 -0
  44. package/seasonRating/model/index.js.map +1 -0
  45. package/seasonRating/model/index.ts +48 -0
  46. package/seasonRating/model/options/GameResultOptions.d.ts +2 -0
  47. package/seasonRating/model/options/GameResultOptions.js +18 -0
  48. package/seasonRating/model/options/GameResultOptions.js.map +1 -0
  49. package/seasonRating/model/options/GameResultOptions.ts +19 -0
  50. package/seasonRating/model/options/MatchSessionOptions.d.ts +4 -0
  51. package/seasonRating/model/options/MatchSessionOptions.js +18 -0
  52. package/seasonRating/model/options/MatchSessionOptions.js.map +1 -0
  53. package/seasonRating/model/options/MatchSessionOptions.ts +21 -0
  54. package/seasonRating/model/options/NamespaceOptions.d.ts +7 -0
  55. package/seasonRating/model/options/NamespaceOptions.js +3 -0
  56. package/seasonRating/model/options/NamespaceOptions.js.map +1 -0
  57. package/seasonRating/model/options/NamespaceOptions.ts +24 -0
  58. package/seasonRating/model/options/SeasonModelOptions.d.ts +3 -0
  59. package/seasonRating/model/options/SeasonModelOptions.js +3 -0
  60. package/seasonRating/model/options/SeasonModelOptions.js.map +1 -0
  61. package/seasonRating/model/options/SeasonModelOptions.ts +21 -0
  62. package/seasonRating/model/options/SignedBallotOptions.d.ts +2 -0
  63. package/seasonRating/model/options/SignedBallotOptions.js +18 -0
  64. package/seasonRating/model/options/SignedBallotOptions.js.map +1 -0
  65. package/seasonRating/model/options/SignedBallotOptions.ts +19 -0
  66. package/seasonRating/model/options/TierModelOptions.d.ts +3 -0
  67. package/seasonRating/model/options/TierModelOptions.js +18 -0
  68. package/seasonRating/model/options/TierModelOptions.js.map +1 -0
  69. package/seasonRating/model/options/TierModelOptions.ts +20 -0
  70. package/seasonRating/model/options/VoteOptions.d.ts +0 -0
  71. package/seasonRating/model/options/VoteOptions.js +19 -0
  72. package/seasonRating/model/options/VoteOptions.js.map +1 -0
  73. package/seasonRating/model/options/VoteOptions.ts +17 -0
  74. package/seasonRating/model/options/WrittenBallotOptions.d.ts +4 -0
  75. package/seasonRating/model/options/WrittenBallotOptions.js +3 -0
  76. package/seasonRating/model/options/WrittenBallotOptions.js.map +1 -0
  77. package/seasonRating/model/options/WrittenBallotOptions.ts +23 -0
  78. package/seasonRating/ref/MatchSessionRef.d.ts +6 -0
  79. package/seasonRating/ref/MatchSessionRef.js +38 -0
  80. package/seasonRating/ref/MatchSessionRef.js.map +1 -0
  81. package/seasonRating/ref/MatchSessionRef.ts +52 -0
  82. package/seasonRating/ref/NamespaceRef.d.ts +7 -0
  83. package/seasonRating/ref/NamespaceRef.js +40 -0
  84. package/seasonRating/ref/NamespaceRef.js.map +1 -0
  85. package/seasonRating/ref/NamespaceRef.ts +59 -0
  86. package/seasonRating/ref/SeasonModelRef.d.ts +6 -0
  87. package/seasonRating/ref/SeasonModelRef.js +38 -0
  88. package/seasonRating/ref/SeasonModelRef.js.map +1 -0
  89. package/seasonRating/ref/SeasonModelRef.ts +52 -0
  90. package/seasonRating/ref/VoteRef.d.ts +7 -0
  91. package/seasonRating/ref/VoteRef.js +40 -0
  92. package/seasonRating/ref/VoteRef.js.map +1 -0
  93. package/seasonRating/ref/VoteRef.ts +56 -0
  94. package/seasonRating/ref/index.d.ts +5 -0
  95. package/seasonRating/ref/index.js +28 -0
  96. package/seasonRating/ref/index.js.map +1 -0
  97. package/seasonRating/ref/index.ts +26 -0
  98. package/seasonRating/stampSheet/index.d.ts +1 -0
  99. package/seasonRating/stampSheet/index.js +18 -0
  100. package/seasonRating/stampSheet/index.js.map +1 -0
  101. package/seasonRating/stampSheet/index.ts +18 -0
@@ -0,0 +1,40 @@
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 VoteRef {
20
+ constructor(namespaceName, seasonName, sessionName) {
21
+ this.namespaceName = namespaceName;
22
+ this.seasonName = seasonName;
23
+ this.sessionName = sessionName;
24
+ }
25
+ grn() {
26
+ return new func_1.Join(":", [
27
+ "grn",
28
+ "gs2",
29
+ func_1.GetAttr.region().str(),
30
+ func_1.GetAttr.ownerId().str(),
31
+ "seasonRating",
32
+ this.namespaceName,
33
+ "vote",
34
+ this.seasonName,
35
+ this.sessionName,
36
+ ]).str();
37
+ }
38
+ }
39
+ exports.default = VoteRef;
40
+ //# sourceMappingURL=VoteRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VoteRef.js","sourceRoot":"","sources":["VoteRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,OAAO;IAKxB,YACI,aAAqB,EACrB,UAAkB,EAClB,WAAmB;QAEnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,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,cAAc;YACd,IAAI,CAAC,aAAa;YAClB,MAAM;YACN,IAAI,CAAC,UAAU;YACf,IAAI,CAAC,WAAW;SACnB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AArCD,0BAqCC"}
@@ -0,0 +1,56 @@
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 VoteRef {
20
+ private readonly namespaceName: string;
21
+ private readonly seasonName: string;
22
+ private readonly sessionName: string;
23
+
24
+ public constructor(
25
+ namespaceName: string,
26
+ seasonName: string,
27
+ sessionName: string,
28
+ ) {
29
+ this.namespaceName = namespaceName;
30
+ this.seasonName = seasonName;
31
+ this.sessionName = sessionName;
32
+ }
33
+
34
+ public grn(
35
+ ): string {
36
+ return new Join(
37
+ ":",
38
+ [
39
+ "grn",
40
+ "gs2",
41
+ GetAttr.region(
42
+ ).str(
43
+ ),
44
+ GetAttr.ownerId(
45
+ ).str(
46
+ ),
47
+ "seasonRating",
48
+ this.namespaceName,
49
+ "vote",
50
+ this.seasonName,
51
+ this.sessionName,
52
+ ],
53
+ ).str(
54
+ );
55
+ }
56
+ }
@@ -0,0 +1,5 @@
1
+ import NamespaceRef from "./NamespaceRef";
2
+ import MatchSessionRef from "./MatchSessionRef";
3
+ import SeasonModelRef from "./SeasonModelRef";
4
+ import VoteRef from "./VoteRef";
5
+ export { NamespaceRef, MatchSessionRef, SeasonModelRef, VoteRef, };
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VoteRef = exports.SeasonModelRef = exports.MatchSessionRef = exports.NamespaceRef = 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 NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
21
+ exports.NamespaceRef = NamespaceRef_1.default;
22
+ const MatchSessionRef_1 = tslib_1.__importDefault(require("./MatchSessionRef"));
23
+ exports.MatchSessionRef = MatchSessionRef_1.default;
24
+ const SeasonModelRef_1 = tslib_1.__importDefault(require("./SeasonModelRef"));
25
+ exports.SeasonModelRef = SeasonModelRef_1.default;
26
+ const VoteRef_1 = tslib_1.__importDefault(require("./VoteRef"));
27
+ exports.VoteRef = VoteRef_1.default;
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAMtC,uBANG,sBAAY,CAMH;AALhB,gFAAgD;AAM5C,0BANG,yBAAe,CAMH;AALnB,8EAA8C;AAM1C,yBANG,wBAAc,CAMH;AALlB,gEAAgC;AAM5B,kBANG,iBAAO,CAMH"}
@@ -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 NamespaceRef from "./NamespaceRef";
17
+ import MatchSessionRef from "./MatchSessionRef";
18
+ import SeasonModelRef from "./SeasonModelRef";
19
+ import VoteRef from "./VoteRef";
20
+
21
+ export {
22
+ NamespaceRef,
23
+ MatchSessionRef,
24
+ SeasonModelRef,
25
+ VoteRef,
26
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -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=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,18 @@
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 {
18
+ }