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.
- package/package.json +1 -1
- package/seasonRating/index.d.ts +12 -0
- package/seasonRating/index.js +32 -0
- package/seasonRating/index.js.map +1 -0
- package/seasonRating/index.ts +36 -0
- package/seasonRating/model/CurrentMasterData.d.ts +13 -0
- package/seasonRating/model/CurrentMasterData.js +50 -0
- package/seasonRating/model/CurrentMasterData.js.map +1 -0
- package/seasonRating/model/CurrentMasterData.ts +70 -0
- package/seasonRating/model/GameResult.d.ts +9 -0
- package/seasonRating/model/GameResult.js +20 -0
- package/seasonRating/model/GameResult.js.map +1 -0
- package/seasonRating/model/GameResult.ts +44 -0
- package/seasonRating/model/MatchSession.d.ts +18 -0
- package/seasonRating/model/MatchSession.js +61 -0
- package/seasonRating/model/MatchSession.js.map +1 -0
- package/seasonRating/model/MatchSession.ts +93 -0
- package/seasonRating/model/Namespace.d.ts +21 -0
- package/seasonRating/model/Namespace.js +72 -0
- package/seasonRating/model/Namespace.js.map +1 -0
- package/seasonRating/model/Namespace.ts +115 -0
- package/seasonRating/model/SeasonModel.d.ts +12 -0
- package/seasonRating/model/SeasonModel.js +30 -0
- package/seasonRating/model/SeasonModel.js.map +1 -0
- package/seasonRating/model/SeasonModel.ts +57 -0
- package/seasonRating/model/SignedBallot.d.ts +9 -0
- package/seasonRating/model/SignedBallot.js +20 -0
- package/seasonRating/model/SignedBallot.js.map +1 -0
- package/seasonRating/model/SignedBallot.ts +44 -0
- package/seasonRating/model/TierModel.d.ts +12 -0
- package/seasonRating/model/TierModel.js +34 -0
- package/seasonRating/model/TierModel.js.map +1 -0
- package/seasonRating/model/TierModel.ts +61 -0
- package/seasonRating/model/Vote.d.ts +0 -0
- package/seasonRating/model/Vote.js +19 -0
- package/seasonRating/model/Vote.js.map +1 -0
- package/seasonRating/model/Vote.ts +17 -0
- package/seasonRating/model/WrittenBallot.d.ts +0 -0
- package/seasonRating/model/WrittenBallot.js +19 -0
- package/seasonRating/model/WrittenBallot.js.map +1 -0
- package/seasonRating/model/WrittenBallot.ts +17 -0
- package/seasonRating/model/index.d.ts +15 -0
- package/seasonRating/model/index.js +36 -0
- package/seasonRating/model/index.js.map +1 -0
- package/seasonRating/model/index.ts +48 -0
- package/seasonRating/model/options/GameResultOptions.d.ts +2 -0
- package/seasonRating/model/options/GameResultOptions.js +18 -0
- package/seasonRating/model/options/GameResultOptions.js.map +1 -0
- package/seasonRating/model/options/GameResultOptions.ts +19 -0
- package/seasonRating/model/options/MatchSessionOptions.d.ts +4 -0
- package/seasonRating/model/options/MatchSessionOptions.js +18 -0
- package/seasonRating/model/options/MatchSessionOptions.js.map +1 -0
- package/seasonRating/model/options/MatchSessionOptions.ts +21 -0
- package/seasonRating/model/options/NamespaceOptions.d.ts +7 -0
- package/seasonRating/model/options/NamespaceOptions.js +3 -0
- package/seasonRating/model/options/NamespaceOptions.js.map +1 -0
- package/seasonRating/model/options/NamespaceOptions.ts +24 -0
- package/seasonRating/model/options/SeasonModelOptions.d.ts +3 -0
- package/seasonRating/model/options/SeasonModelOptions.js +3 -0
- package/seasonRating/model/options/SeasonModelOptions.js.map +1 -0
- package/seasonRating/model/options/SeasonModelOptions.ts +21 -0
- package/seasonRating/model/options/SignedBallotOptions.d.ts +2 -0
- package/seasonRating/model/options/SignedBallotOptions.js +18 -0
- package/seasonRating/model/options/SignedBallotOptions.js.map +1 -0
- package/seasonRating/model/options/SignedBallotOptions.ts +19 -0
- package/seasonRating/model/options/TierModelOptions.d.ts +3 -0
- package/seasonRating/model/options/TierModelOptions.js +18 -0
- package/seasonRating/model/options/TierModelOptions.js.map +1 -0
- package/seasonRating/model/options/TierModelOptions.ts +20 -0
- package/seasonRating/model/options/VoteOptions.d.ts +0 -0
- package/seasonRating/model/options/VoteOptions.js +19 -0
- package/seasonRating/model/options/VoteOptions.js.map +1 -0
- package/seasonRating/model/options/VoteOptions.ts +17 -0
- package/seasonRating/model/options/WrittenBallotOptions.d.ts +4 -0
- package/seasonRating/model/options/WrittenBallotOptions.js +3 -0
- package/seasonRating/model/options/WrittenBallotOptions.js.map +1 -0
- package/seasonRating/model/options/WrittenBallotOptions.ts +23 -0
- package/seasonRating/ref/MatchSessionRef.d.ts +6 -0
- package/seasonRating/ref/MatchSessionRef.js +38 -0
- package/seasonRating/ref/MatchSessionRef.js.map +1 -0
- package/seasonRating/ref/MatchSessionRef.ts +52 -0
- package/seasonRating/ref/NamespaceRef.d.ts +7 -0
- package/seasonRating/ref/NamespaceRef.js +40 -0
- package/seasonRating/ref/NamespaceRef.js.map +1 -0
- package/seasonRating/ref/NamespaceRef.ts +59 -0
- package/seasonRating/ref/SeasonModelRef.d.ts +6 -0
- package/seasonRating/ref/SeasonModelRef.js +38 -0
- package/seasonRating/ref/SeasonModelRef.js.map +1 -0
- package/seasonRating/ref/SeasonModelRef.ts +52 -0
- package/seasonRating/ref/VoteRef.d.ts +7 -0
- package/seasonRating/ref/VoteRef.js +40 -0
- package/seasonRating/ref/VoteRef.js.map +1 -0
- package/seasonRating/ref/VoteRef.ts +56 -0
- package/seasonRating/ref/index.d.ts +5 -0
- package/seasonRating/ref/index.js +28 -0
- package/seasonRating/ref/index.js.map +1 -0
- package/seasonRating/ref/index.ts +26 -0
- package/seasonRating/stampSheet/index.d.ts +1 -0
- package/seasonRating/stampSheet/index.js +18 -0
- package/seasonRating/stampSheet/index.js.map +1 -0
- package/seasonRating/stampSheet/index.ts +18 -0
|
@@ -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=MatchSessionOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MatchSessionOptions.js","sourceRoot":"","sources":["MatchSessionOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 MatchSessionOptions {
|
|
18
|
+
sessionName?: string|null;
|
|
19
|
+
ttlSeconds?: number|null;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import TransactionSetting from "../../../core/model/TransactionSetting";
|
|
2
|
+
import LogSetting from "../../../core/model/LogSetting";
|
|
3
|
+
export interface NamespaceOptions {
|
|
4
|
+
description?: string | null;
|
|
5
|
+
transactionSetting?: TransactionSetting | null;
|
|
6
|
+
logSetting?: LogSetting | null;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamespaceOptions.js","sourceRoot":"","sources":["NamespaceOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 LogSetting from "../../../core/model/LogSetting";
|
|
18
|
+
|
|
19
|
+
export interface NamespaceOptions {
|
|
20
|
+
description?: string|null;
|
|
21
|
+
transactionSetting?: TransactionSetting|null;
|
|
22
|
+
logSetting?: LogSetting|null;
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeasonModelOptions.js","sourceRoot":"","sources":["SeasonModelOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 TierModel from "../TierModel";
|
|
17
|
+
|
|
18
|
+
export interface SeasonModelOptions {
|
|
19
|
+
metadata?: string|null;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -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=SignedBallotOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignedBallotOptions.js","sourceRoot":"","sources":["SignedBallotOptions.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 SignedBallotOptions {
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -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=TierModelOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TierModelOptions.js","sourceRoot":"","sources":["TierModelOptions.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 TierModelOptions {
|
|
18
|
+
metadata?: string|null;
|
|
19
|
+
}
|
|
20
|
+
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
//# sourceMappingURL=VoteOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VoteOptions.js","sourceRoot":"","sources":["VoteOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WrittenBallotOptions.js","sourceRoot":"","sources":["WrittenBallotOptions.ts"],"names":[],"mappings":""}
|
|
@@ -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
|
+
* deny overwrite
|
|
17
|
+
*/
|
|
18
|
+
import GameResult from "../GameResult";
|
|
19
|
+
|
|
20
|
+
export interface WrittenBallotOptions {
|
|
21
|
+
gameResults?: GameResult[]|null;
|
|
22
|
+
}
|
|
23
|
+
|
|
@@ -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 MatchSessionRef {
|
|
20
|
+
constructor(namespaceName, sessionName) {
|
|
21
|
+
this.namespaceName = namespaceName;
|
|
22
|
+
this.sessionName = sessionName;
|
|
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
|
+
"seasonRating",
|
|
31
|
+
this.namespaceName,
|
|
32
|
+
"session",
|
|
33
|
+
this.sessionName,
|
|
34
|
+
]).str();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.default = MatchSessionRef;
|
|
38
|
+
//# sourceMappingURL=MatchSessionRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MatchSessionRef.js","sourceRoot":"","sources":["MatchSessionRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,eAAe;IAIhC,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,cAAc;YACd,IAAI,CAAC,aAAa;YAClB,SAAS;YACT,IAAI,CAAC,WAAW;SACnB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,kCAiCC"}
|
|
@@ -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 MatchSessionRef {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly sessionName: string;
|
|
22
|
+
|
|
23
|
+
public constructor(
|
|
24
|
+
namespaceName: string,
|
|
25
|
+
sessionName: string,
|
|
26
|
+
) {
|
|
27
|
+
this.namespaceName = namespaceName;
|
|
28
|
+
this.sessionName = sessionName;
|
|
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
|
+
"seasonRating",
|
|
45
|
+
this.namespaceName,
|
|
46
|
+
"session",
|
|
47
|
+
this.sessionName,
|
|
48
|
+
],
|
|
49
|
+
).str(
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -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 tslib_1 = require("tslib");
|
|
19
|
+
const func_1 = require("../../core/func");
|
|
20
|
+
const SeasonModelRef_1 = tslib_1.__importDefault(require("./SeasonModelRef"));
|
|
21
|
+
class NamespaceRef {
|
|
22
|
+
constructor(namespaceName) {
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
}
|
|
25
|
+
seasonModel(seasonName) {
|
|
26
|
+
return new SeasonModelRef_1.default(this.namespaceName, seasonName);
|
|
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
|
+
"seasonRating",
|
|
35
|
+
this.namespaceName,
|
|
36
|
+
]).str();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.default = NamespaceRef;
|
|
40
|
+
//# sourceMappingURL=NamespaceRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,8EAA8C;AAI9C,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,WAAW,CACd,UAAkB;QAElB,OAAO,IAAI,wBAAc,CACrB,IAAI,CAAC,aAAa,EAClB,UAAU,CACb,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;AArCD,+BAqCC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 SeasonModelRef from "./SeasonModelRef";
|
|
19
|
+
import MatchSessionRef from "./MatchSessionRef";
|
|
20
|
+
import VoteRef from "./VoteRef";
|
|
21
|
+
|
|
22
|
+
export default class NamespaceRef {
|
|
23
|
+
private readonly namespaceName: string;
|
|
24
|
+
|
|
25
|
+
public constructor(
|
|
26
|
+
namespaceName: string,
|
|
27
|
+
) {
|
|
28
|
+
this.namespaceName = namespaceName;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public seasonModel(
|
|
32
|
+
seasonName: string,
|
|
33
|
+
): SeasonModelRef {
|
|
34
|
+
return new SeasonModelRef(
|
|
35
|
+
this.namespaceName,
|
|
36
|
+
seasonName,
|
|
37
|
+
);
|
|
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
|
+
"seasonRating",
|
|
54
|
+
this.namespaceName,
|
|
55
|
+
],
|
|
56
|
+
).str(
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -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 SeasonModelRef {
|
|
20
|
+
constructor(namespaceName, seasonName) {
|
|
21
|
+
this.namespaceName = namespaceName;
|
|
22
|
+
this.seasonName = seasonName;
|
|
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
|
+
"seasonRating",
|
|
31
|
+
this.namespaceName,
|
|
32
|
+
"model",
|
|
33
|
+
this.seasonName,
|
|
34
|
+
]).str();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.default = SeasonModelRef;
|
|
38
|
+
//# sourceMappingURL=SeasonModelRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeasonModelRef.js","sourceRoot":"","sources":["SeasonModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,cAAc;IAI/B,YACI,aAAqB,EACrB,UAAkB;QAElB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,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,OAAO;YACP,IAAI,CAAC,UAAU;SAClB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,iCAiCC"}
|
|
@@ -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 SeasonModelRef {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly seasonName: string;
|
|
22
|
+
|
|
23
|
+
public constructor(
|
|
24
|
+
namespaceName: string,
|
|
25
|
+
seasonName: string,
|
|
26
|
+
) {
|
|
27
|
+
this.namespaceName = namespaceName;
|
|
28
|
+
this.seasonName = seasonName;
|
|
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
|
+
"seasonRating",
|
|
45
|
+
this.namespaceName,
|
|
46
|
+
"model",
|
|
47
|
+
this.seasonName,
|
|
48
|
+
],
|
|
49
|
+
).str(
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
}
|