gs2 1.3.250 → 1.3.254
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/matchmaking/model/{CurrentRatingModelMaster.d.ts → CurrentModelMaster.d.ts} +2 -2
- package/matchmaking/model/{CurrentRatingModelMaster.js → CurrentModelMaster.js} +19 -19
- package/matchmaking/model/CurrentModelMaster.js.map +1 -0
- package/matchmaking/model/{CurrentRatingModelMaster.ts → CurrentModelMaster.ts} +3 -3
- package/matchmaking/model/JoinedSeasonGathering.d.ts +45 -0
- package/matchmaking/model/JoinedSeasonGathering.js +241 -0
- package/matchmaking/model/JoinedSeasonGathering.js.map +1 -0
- package/matchmaking/model/JoinedSeasonGathering.ts +260 -0
- package/matchmaking/model/SeasonGathering.d.ts +50 -0
- package/matchmaking/model/SeasonGathering.js +285 -0
- package/matchmaking/model/SeasonGathering.js.map +1 -0
- package/matchmaking/model/SeasonGathering.ts +309 -0
- package/matchmaking/model/SeasonModel.d.ts +39 -0
- package/matchmaking/model/SeasonModel.js +185 -0
- package/matchmaking/model/SeasonModel.js.map +1 -0
- package/matchmaking/model/SeasonModel.ts +198 -0
- package/matchmaking/model/SeasonModelMaster.d.ts +55 -0
- package/matchmaking/model/SeasonModelMaster.js +241 -0
- package/matchmaking/model/SeasonModelMaster.js.map +1 -0
- package/matchmaking/model/SeasonModelMaster.ts +254 -0
- package/matchmaking/model/index.d.ts +6 -2
- package/matchmaking/model/index.js +11 -3
- package/matchmaking/model/index.js.map +1 -1
- package/matchmaking/model/index.ts +10 -2
- package/matchmaking/request/CreateSeasonModelMasterRequest.d.ts +45 -0
- package/matchmaking/request/CreateSeasonModelMasterRequest.js +153 -0
- package/matchmaking/request/CreateSeasonModelMasterRequest.js.map +1 -0
- package/matchmaking/request/CreateSeasonModelMasterRequest.ts +160 -0
- package/matchmaking/request/DeleteSeasonGatheringRequest.d.ts +37 -0
- package/matchmaking/request/DeleteSeasonGatheringRequest.js +125 -0
- package/matchmaking/request/DeleteSeasonGatheringRequest.js.map +1 -0
- package/matchmaking/request/DeleteSeasonGatheringRequest.ts +132 -0
- package/matchmaking/request/DeleteSeasonModelMasterRequest.d.ts +25 -0
- package/matchmaking/request/DeleteSeasonModelMasterRequest.js +83 -0
- package/matchmaking/request/DeleteSeasonModelMasterRequest.js.map +1 -0
- package/matchmaking/request/DeleteSeasonModelMasterRequest.ts +90 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.d.ts +41 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.js +139 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.js.map +1 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.ts +146 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.d.ts +37 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.js +125 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.js.map +1 -0
- package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.ts +132 -0
- package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.d.ts +41 -0
- package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.js +139 -0
- package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.js.map +1 -0
- package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.ts +146 -0
- package/matchmaking/request/DescribeSeasonGatheringsRequest.d.ts +41 -0
- package/matchmaking/request/DescribeSeasonGatheringsRequest.js +139 -0
- package/matchmaking/request/DescribeSeasonGatheringsRequest.js.map +1 -0
- package/matchmaking/request/DescribeSeasonGatheringsRequest.ts +146 -0
- package/matchmaking/request/DescribeSeasonModelMastersRequest.d.ts +29 -0
- package/matchmaking/request/DescribeSeasonModelMastersRequest.js +97 -0
- package/matchmaking/request/DescribeSeasonModelMastersRequest.js.map +1 -0
- package/matchmaking/request/DescribeSeasonModelMastersRequest.ts +104 -0
- package/matchmaking/request/{GetCurrentRatingModelMasterRequest.d.ts → DescribeSeasonModelsRequest.d.ts} +2 -2
- package/matchmaking/request/DescribeSeasonModelsRequest.js +69 -0
- package/matchmaking/request/DescribeSeasonModelsRequest.js.map +1 -0
- package/matchmaking/request/DescribeSeasonModelsRequest.ts +76 -0
- package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.d.ts +41 -0
- package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.js +137 -0
- package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.js.map +1 -0
- package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.ts +147 -0
- package/matchmaking/request/DoSeasonMatchmakingRequest.d.ts +37 -0
- package/matchmaking/request/DoSeasonMatchmakingRequest.js +123 -0
- package/matchmaking/request/DoSeasonMatchmakingRequest.js.map +1 -0
- package/matchmaking/request/DoSeasonMatchmakingRequest.ts +133 -0
- package/matchmaking/request/GetCurrentModelMasterRequest.d.ts +21 -0
- package/matchmaking/request/{GetCurrentRatingModelMasterRequest.js → GetCurrentModelMasterRequest.js} +17 -17
- package/matchmaking/request/GetCurrentModelMasterRequest.js.map +1 -0
- package/matchmaking/request/{GetCurrentRatingModelMasterRequest.ts → GetCurrentModelMasterRequest.ts} +3 -3
- package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.d.ts +37 -0
- package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.js +125 -0
- package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.js.map +1 -0
- package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.ts +132 -0
- package/matchmaking/request/GetJoinedSeasonGatheringRequest.d.ts +33 -0
- package/matchmaking/request/GetJoinedSeasonGatheringRequest.js +111 -0
- package/matchmaking/request/GetJoinedSeasonGatheringRequest.js.map +1 -0
- package/matchmaking/request/GetJoinedSeasonGatheringRequest.ts +118 -0
- package/matchmaking/request/GetSeasonGatheringRequest.d.ts +37 -0
- package/matchmaking/request/GetSeasonGatheringRequest.js +125 -0
- package/matchmaking/request/GetSeasonGatheringRequest.js.map +1 -0
- package/matchmaking/request/GetSeasonGatheringRequest.ts +132 -0
- package/matchmaking/request/GetSeasonModelMasterRequest.d.ts +25 -0
- package/matchmaking/request/GetSeasonModelMasterRequest.js +83 -0
- package/matchmaking/request/GetSeasonModelMasterRequest.js.map +1 -0
- package/matchmaking/request/GetSeasonModelMasterRequest.ts +90 -0
- package/matchmaking/request/GetSeasonModelRequest.d.ts +25 -0
- package/matchmaking/request/GetSeasonModelRequest.js +83 -0
- package/matchmaking/request/GetSeasonModelRequest.js.map +1 -0
- package/matchmaking/request/GetSeasonModelRequest.ts +90 -0
- package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.d.ts → UpdateCurrentModelMasterFromGitHubRequest.d.ts} +2 -2
- package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.js → UpdateCurrentModelMasterFromGitHubRequest.js} +20 -20
- package/matchmaking/request/UpdateCurrentModelMasterFromGitHubRequest.js.map +1 -0
- package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.ts → UpdateCurrentModelMasterFromGitHubRequest.ts} +3 -3
- package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.d.ts → UpdateCurrentModelMasterRequest.d.ts} +2 -2
- package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.js → UpdateCurrentModelMasterRequest.js} +20 -20
- package/matchmaking/request/UpdateCurrentModelMasterRequest.js.map +1 -0
- package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.ts → UpdateCurrentModelMasterRequest.ts} +3 -3
- package/matchmaking/request/UpdateSeasonModelMasterRequest.d.ts +45 -0
- package/matchmaking/request/UpdateSeasonModelMasterRequest.js +153 -0
- package/matchmaking/request/UpdateSeasonModelMasterRequest.js.map +1 -0
- package/matchmaking/request/UpdateSeasonModelMasterRequest.ts +160 -0
- package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.d.ts +25 -0
- package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.js +83 -0
- package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.js.map +1 -0
- package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.ts +90 -0
- package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.d.ts +53 -0
- package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.js +179 -0
- package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.js.map +1 -0
- package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.ts +189 -0
- package/matchmaking/request/VerifyIncludeParticipantRequest.d.ts +49 -0
- package/matchmaking/request/VerifyIncludeParticipantRequest.js +165 -0
- package/matchmaking/request/VerifyIncludeParticipantRequest.js.map +1 -0
- package/matchmaking/request/VerifyIncludeParticipantRequest.ts +175 -0
- package/matchmaking/request/index.d.ts +24 -4
- package/matchmaking/request/index.js +48 -8
- package/matchmaking/request/index.js.map +1 -1
- package/matchmaking/request/index.ts +46 -6
- package/matchmaking/rest.d.ts +23 -3
- package/matchmaking/rest.js +574 -6
- package/matchmaking/rest.js.map +1 -1
- package/matchmaking/rest.ts +654 -6
- package/matchmaking/result/CreateSeasonModelMasterResult.d.ts +14 -0
- package/matchmaking/result/{UpdateCurrentRatingModelMasterResult.js → CreateSeasonModelMasterResult.js} +12 -12
- package/matchmaking/result/CreateSeasonModelMasterResult.js.map +1 -0
- package/matchmaking/result/CreateSeasonModelMasterResult.ts +47 -0
- package/matchmaking/result/DeleteSeasonGatheringResult.d.ts +14 -0
- package/matchmaking/result/{UpdateCurrentRatingModelMasterFromGitHubResult.js → DeleteSeasonGatheringResult.js} +12 -12
- package/matchmaking/result/DeleteSeasonGatheringResult.js.map +1 -0
- package/matchmaking/result/DeleteSeasonGatheringResult.ts +47 -0
- package/matchmaking/result/DeleteSeasonModelMasterResult.d.ts +14 -0
- package/matchmaking/result/DeleteSeasonModelMasterResult.js +48 -0
- package/matchmaking/result/DeleteSeasonModelMasterResult.js.map +1 -0
- package/matchmaking/result/DeleteSeasonModelMasterResult.ts +47 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.d.ts +18 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.js +67 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.js.map +1 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.ts +72 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.d.ts +18 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.js +67 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.js.map +1 -0
- package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.ts +72 -0
- package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.d.ts +18 -0
- package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.js +67 -0
- package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.js.map +1 -0
- package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.ts +72 -0
- package/matchmaking/result/DescribeSeasonGatheringsResult.d.ts +18 -0
- package/matchmaking/result/DescribeSeasonGatheringsResult.js +67 -0
- package/matchmaking/result/DescribeSeasonGatheringsResult.js.map +1 -0
- package/matchmaking/result/DescribeSeasonGatheringsResult.ts +72 -0
- package/matchmaking/result/DescribeSeasonModelMastersResult.d.ts +18 -0
- package/matchmaking/result/DescribeSeasonModelMastersResult.js +67 -0
- package/matchmaking/result/DescribeSeasonModelMastersResult.js.map +1 -0
- package/matchmaking/result/DescribeSeasonModelMastersResult.ts +72 -0
- package/matchmaking/result/DescribeSeasonModelsResult.d.ts +14 -0
- package/matchmaking/result/DescribeSeasonModelsResult.js +53 -0
- package/matchmaking/result/DescribeSeasonModelsResult.js.map +1 -0
- package/matchmaking/result/DescribeSeasonModelsResult.ts +55 -0
- package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.d.ts +18 -0
- package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.js +62 -0
- package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.js.map +1 -0
- package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.ts +64 -0
- package/matchmaking/result/DoSeasonMatchmakingResult.d.ts +18 -0
- package/matchmaking/result/DoSeasonMatchmakingResult.js +62 -0
- package/matchmaking/result/DoSeasonMatchmakingResult.js.map +1 -0
- package/matchmaking/result/DoSeasonMatchmakingResult.ts +64 -0
- package/matchmaking/result/ExportMasterResult.d.ts +3 -3
- package/matchmaking/result/ExportMasterResult.js +1 -1
- package/matchmaking/result/ExportMasterResult.js.map +1 -1
- package/matchmaking/result/ExportMasterResult.ts +5 -5
- package/matchmaking/result/GetCurrentModelMasterResult.d.ts +14 -0
- package/matchmaking/result/GetCurrentModelMasterResult.js +48 -0
- package/matchmaking/result/GetCurrentModelMasterResult.js.map +1 -0
- package/matchmaking/result/{GetCurrentRatingModelMasterResult.ts → GetCurrentModelMasterResult.ts} +8 -8
- package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.d.ts +14 -0
- package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.js +48 -0
- package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.js.map +1 -0
- package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.ts +47 -0
- package/matchmaking/result/GetJoinedSeasonGatheringResult.d.ts +14 -0
- package/matchmaking/result/{GetCurrentRatingModelMasterResult.js → GetJoinedSeasonGatheringResult.js} +12 -12
- package/matchmaking/result/GetJoinedSeasonGatheringResult.js.map +1 -0
- package/matchmaking/result/GetJoinedSeasonGatheringResult.ts +47 -0
- package/matchmaking/result/GetSeasonGatheringResult.d.ts +14 -0
- package/matchmaking/result/GetSeasonGatheringResult.js +48 -0
- package/matchmaking/result/GetSeasonGatheringResult.js.map +1 -0
- package/matchmaking/result/GetSeasonGatheringResult.ts +47 -0
- package/matchmaking/result/GetSeasonModelMasterResult.d.ts +14 -0
- package/matchmaking/result/GetSeasonModelMasterResult.js +48 -0
- package/matchmaking/result/GetSeasonModelMasterResult.js.map +1 -0
- package/matchmaking/result/GetSeasonModelMasterResult.ts +47 -0
- package/matchmaking/result/GetSeasonModelResult.d.ts +14 -0
- package/matchmaking/result/GetSeasonModelResult.js +48 -0
- package/matchmaking/result/GetSeasonModelResult.js.map +1 -0
- package/matchmaking/result/GetSeasonModelResult.ts +47 -0
- package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.d.ts +14 -0
- package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.js +48 -0
- package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.js.map +1 -0
- package/matchmaking/result/{UpdateCurrentRatingModelMasterResult.ts → UpdateCurrentModelMasterFromGitHubResult.ts} +8 -8
- package/matchmaking/result/UpdateCurrentModelMasterResult.d.ts +14 -0
- package/matchmaking/result/UpdateCurrentModelMasterResult.js +48 -0
- package/matchmaking/result/UpdateCurrentModelMasterResult.js.map +1 -0
- package/matchmaking/result/{UpdateCurrentRatingModelMasterFromGitHubResult.ts → UpdateCurrentModelMasterResult.ts} +8 -8
- package/matchmaking/result/UpdateSeasonModelMasterResult.d.ts +14 -0
- package/matchmaking/result/UpdateSeasonModelMasterResult.js +48 -0
- package/matchmaking/result/UpdateSeasonModelMasterResult.js.map +1 -0
- package/matchmaking/result/UpdateSeasonModelMasterResult.ts +47 -0
- package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.d.ts +13 -0
- package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.js +45 -0
- package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.js.map +1 -0
- package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.ts +46 -0
- package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.d.ts +9 -0
- package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.js +30 -0
- package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.js.map +1 -0
- package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.ts +29 -0
- package/matchmaking/result/VerifyIncludeParticipantResult.d.ts +9 -0
- package/matchmaking/result/VerifyIncludeParticipantResult.js +30 -0
- package/matchmaking/result/VerifyIncludeParticipantResult.js.map +1 -0
- package/matchmaking/result/VerifyIncludeParticipantResult.ts +29 -0
- package/matchmaking/result/index.d.ts +24 -4
- package/matchmaking/result/index.js +48 -8
- package/matchmaking/result/index.js.map +1 -1
- package/matchmaking/result/index.ts +46 -6
- package/package.json +1 -1
- package/matchmaking/model/CurrentRatingModelMaster.js.map +0 -1
- package/matchmaking/request/GetCurrentRatingModelMasterRequest.js.map +0 -1
- package/matchmaking/request/UpdateCurrentRatingModelMasterFromGitHubRequest.js.map +0 -1
- package/matchmaking/request/UpdateCurrentRatingModelMasterRequest.js.map +0 -1
- package/matchmaking/result/GetCurrentRatingModelMasterResult.d.ts +0 -14
- package/matchmaking/result/GetCurrentRatingModelMasterResult.js.map +0 -1
- package/matchmaking/result/UpdateCurrentRatingModelMasterFromGitHubResult.d.ts +0 -14
- package/matchmaking/result/UpdateCurrentRatingModelMasterFromGitHubResult.js.map +0 -1
- package/matchmaking/result/UpdateCurrentRatingModelMasterResult.d.ts +0 -14
- package/matchmaking/result/UpdateCurrentRatingModelMasterResult.js.map +0 -1
|
@@ -0,0 +1,309 @@
|
|
|
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 IModel from '../../core/interface/IModel';
|
|
18
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:matchmaking:{namespaceName}:season:{seasonName}:{season}:{tier}:gathering:{seasonGatheringName}";
|
|
19
|
+
|
|
20
|
+
export default class SeasonGathering implements IModel {
|
|
21
|
+
private seasonGatheringId: string|null = null;
|
|
22
|
+
private seasonName: string|null = null;
|
|
23
|
+
private season: number|null = null;
|
|
24
|
+
private tier: number|null = null;
|
|
25
|
+
private name: string|null = null;
|
|
26
|
+
private participants: string[]|null = null;
|
|
27
|
+
private createdAt: number|null = null;
|
|
28
|
+
private revision: number|null = null;
|
|
29
|
+
|
|
30
|
+
public static getRegion(grn: string): string|null {
|
|
31
|
+
const match = grn.match(grnFormat
|
|
32
|
+
.replace('{region}', '(.*)')
|
|
33
|
+
.replace('{ownerId}', '.*')
|
|
34
|
+
.replace('{namespaceName}', '.*')
|
|
35
|
+
.replace('{seasonName}', '.*')
|
|
36
|
+
.replace('{season}', '.*')
|
|
37
|
+
.replace('{tier}', '.*')
|
|
38
|
+
.replace('{seasonGatheringName}', '.*')
|
|
39
|
+
);
|
|
40
|
+
if (match) {
|
|
41
|
+
return match[1];
|
|
42
|
+
}
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public static getOwnerId(grn: string): string|null {
|
|
47
|
+
const match = grn.match(grnFormat
|
|
48
|
+
.replace('{region}', '.*')
|
|
49
|
+
.replace('{ownerId}', '(.*)')
|
|
50
|
+
.replace('{namespaceName}', '.*')
|
|
51
|
+
.replace('{seasonName}', '.*')
|
|
52
|
+
.replace('{season}', '.*')
|
|
53
|
+
.replace('{tier}', '.*')
|
|
54
|
+
.replace('{seasonGatheringName}', '.*')
|
|
55
|
+
);
|
|
56
|
+
if (match) {
|
|
57
|
+
return match[1];
|
|
58
|
+
}
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
public static getNamespaceName(grn: string): string|null {
|
|
63
|
+
const match = grn.match(grnFormat
|
|
64
|
+
.replace('{region}', '.*')
|
|
65
|
+
.replace('{ownerId}', '.*')
|
|
66
|
+
.replace('{namespaceName}', '(.*)')
|
|
67
|
+
.replace('{seasonName}', '.*')
|
|
68
|
+
.replace('{season}', '.*')
|
|
69
|
+
.replace('{tier}', '.*')
|
|
70
|
+
.replace('{seasonGatheringName}', '.*')
|
|
71
|
+
);
|
|
72
|
+
if (match) {
|
|
73
|
+
return match[1];
|
|
74
|
+
}
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public static getSeasonName(grn: string): string|null {
|
|
79
|
+
const match = grn.match(grnFormat
|
|
80
|
+
.replace('{region}', '.*')
|
|
81
|
+
.replace('{ownerId}', '.*')
|
|
82
|
+
.replace('{namespaceName}', '.*')
|
|
83
|
+
.replace('{seasonName}', '(.*)')
|
|
84
|
+
.replace('{season}', '.*')
|
|
85
|
+
.replace('{tier}', '.*')
|
|
86
|
+
.replace('{seasonGatheringName}', '.*')
|
|
87
|
+
);
|
|
88
|
+
if (match) {
|
|
89
|
+
return match[1];
|
|
90
|
+
}
|
|
91
|
+
return null;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
public static getSeason(grn: string): string|null {
|
|
95
|
+
const match = grn.match(grnFormat
|
|
96
|
+
.replace('{region}', '.*')
|
|
97
|
+
.replace('{ownerId}', '.*')
|
|
98
|
+
.replace('{namespaceName}', '.*')
|
|
99
|
+
.replace('{seasonName}', '.*')
|
|
100
|
+
.replace('{season}', '(.*)')
|
|
101
|
+
.replace('{tier}', '.*')
|
|
102
|
+
.replace('{seasonGatheringName}', '.*')
|
|
103
|
+
);
|
|
104
|
+
if (match) {
|
|
105
|
+
return match[1];
|
|
106
|
+
}
|
|
107
|
+
return null;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
public static getTier(grn: string): string|null {
|
|
111
|
+
const match = grn.match(grnFormat
|
|
112
|
+
.replace('{region}', '.*')
|
|
113
|
+
.replace('{ownerId}', '.*')
|
|
114
|
+
.replace('{namespaceName}', '.*')
|
|
115
|
+
.replace('{seasonName}', '.*')
|
|
116
|
+
.replace('{season}', '.*')
|
|
117
|
+
.replace('{tier}', '(.*)')
|
|
118
|
+
.replace('{seasonGatheringName}', '.*')
|
|
119
|
+
);
|
|
120
|
+
if (match) {
|
|
121
|
+
return match[1];
|
|
122
|
+
}
|
|
123
|
+
return null;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
public static getSeasonGatheringName(grn: string): string|null {
|
|
127
|
+
const match = grn.match(grnFormat
|
|
128
|
+
.replace('{region}', '.*')
|
|
129
|
+
.replace('{ownerId}', '.*')
|
|
130
|
+
.replace('{namespaceName}', '.*')
|
|
131
|
+
.replace('{seasonName}', '.*')
|
|
132
|
+
.replace('{season}', '.*')
|
|
133
|
+
.replace('{tier}', '.*')
|
|
134
|
+
.replace('{seasonGatheringName}', '(.*)')
|
|
135
|
+
);
|
|
136
|
+
if (match) {
|
|
137
|
+
return match[1];
|
|
138
|
+
}
|
|
139
|
+
return null;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
public static isValid(grn: string): boolean {
|
|
143
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
144
|
+
return false;
|
|
145
|
+
}
|
|
146
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
147
|
+
return false;
|
|
148
|
+
}
|
|
149
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
150
|
+
return false;
|
|
151
|
+
}
|
|
152
|
+
if (this.getSeasonName(grn) == null || this.getSeasonName(grn) === '') {
|
|
153
|
+
return false;
|
|
154
|
+
}
|
|
155
|
+
if (this.getSeason(grn) == null || this.getSeason(grn) === '') {
|
|
156
|
+
return false;
|
|
157
|
+
}
|
|
158
|
+
if (this.getTier(grn) == null || this.getTier(grn) === '') {
|
|
159
|
+
return false;
|
|
160
|
+
}
|
|
161
|
+
if (this.getSeasonGatheringName(grn) == null || this.getSeasonGatheringName(grn) === '') {
|
|
162
|
+
return false;
|
|
163
|
+
}
|
|
164
|
+
return true;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
public static createGrn(
|
|
168
|
+
region: string|null,
|
|
169
|
+
ownerId: string|null,
|
|
170
|
+
namespaceName: string|null,
|
|
171
|
+
seasonName: string|null,
|
|
172
|
+
season: string|null,
|
|
173
|
+
tier: string|null,
|
|
174
|
+
seasonGatheringName: string|null,
|
|
175
|
+
): string|null {
|
|
176
|
+
return grnFormat
|
|
177
|
+
.replace('{region}', region ?? '')
|
|
178
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
179
|
+
.replace('{namespaceName}', namespaceName ?? '')
|
|
180
|
+
.replace('{seasonName}', seasonName ?? '')
|
|
181
|
+
.replace('{season}', season ?? '')
|
|
182
|
+
.replace('{tier}', tier ?? '')
|
|
183
|
+
.replace('{seasonGatheringName}', seasonGatheringName ?? '');
|
|
184
|
+
}
|
|
185
|
+
public getSeasonGatheringId(): string|null {
|
|
186
|
+
return this.seasonGatheringId;
|
|
187
|
+
}
|
|
188
|
+
public setSeasonGatheringId(seasonGatheringId: string|null) {
|
|
189
|
+
this.seasonGatheringId = seasonGatheringId;
|
|
190
|
+
return this;
|
|
191
|
+
}
|
|
192
|
+
public withSeasonGatheringId(seasonGatheringId: string|null): this {
|
|
193
|
+
this.seasonGatheringId = seasonGatheringId;
|
|
194
|
+
return this;
|
|
195
|
+
}
|
|
196
|
+
public getSeasonName(): string|null {
|
|
197
|
+
return this.seasonName;
|
|
198
|
+
}
|
|
199
|
+
public setSeasonName(seasonName: string|null) {
|
|
200
|
+
this.seasonName = seasonName;
|
|
201
|
+
return this;
|
|
202
|
+
}
|
|
203
|
+
public withSeasonName(seasonName: string|null): this {
|
|
204
|
+
this.seasonName = seasonName;
|
|
205
|
+
return this;
|
|
206
|
+
}
|
|
207
|
+
public getSeason(): number|null {
|
|
208
|
+
return this.season;
|
|
209
|
+
}
|
|
210
|
+
public setSeason(season: number|null) {
|
|
211
|
+
this.season = season;
|
|
212
|
+
return this;
|
|
213
|
+
}
|
|
214
|
+
public withSeason(season: number|null): this {
|
|
215
|
+
this.season = season;
|
|
216
|
+
return this;
|
|
217
|
+
}
|
|
218
|
+
public getTier(): number|null {
|
|
219
|
+
return this.tier;
|
|
220
|
+
}
|
|
221
|
+
public setTier(tier: number|null) {
|
|
222
|
+
this.tier = tier;
|
|
223
|
+
return this;
|
|
224
|
+
}
|
|
225
|
+
public withTier(tier: number|null): this {
|
|
226
|
+
this.tier = tier;
|
|
227
|
+
return this;
|
|
228
|
+
}
|
|
229
|
+
public getName(): string|null {
|
|
230
|
+
return this.name;
|
|
231
|
+
}
|
|
232
|
+
public setName(name: string|null) {
|
|
233
|
+
this.name = name;
|
|
234
|
+
return this;
|
|
235
|
+
}
|
|
236
|
+
public withName(name: string|null): this {
|
|
237
|
+
this.name = name;
|
|
238
|
+
return this;
|
|
239
|
+
}
|
|
240
|
+
public getParticipants(): string[]|null {
|
|
241
|
+
return this.participants;
|
|
242
|
+
}
|
|
243
|
+
public setParticipants(participants: string[]|null) {
|
|
244
|
+
this.participants = participants;
|
|
245
|
+
return this;
|
|
246
|
+
}
|
|
247
|
+
public withParticipants(participants: string[]|null): this {
|
|
248
|
+
this.participants = participants;
|
|
249
|
+
return this;
|
|
250
|
+
}
|
|
251
|
+
public getCreatedAt(): number|null {
|
|
252
|
+
return this.createdAt;
|
|
253
|
+
}
|
|
254
|
+
public setCreatedAt(createdAt: number|null) {
|
|
255
|
+
this.createdAt = createdAt;
|
|
256
|
+
return this;
|
|
257
|
+
}
|
|
258
|
+
public withCreatedAt(createdAt: number|null): this {
|
|
259
|
+
this.createdAt = createdAt;
|
|
260
|
+
return this;
|
|
261
|
+
}
|
|
262
|
+
public getRevision(): number|null {
|
|
263
|
+
return this.revision;
|
|
264
|
+
}
|
|
265
|
+
public setRevision(revision: number|null) {
|
|
266
|
+
this.revision = revision;
|
|
267
|
+
return this;
|
|
268
|
+
}
|
|
269
|
+
public withRevision(revision: number|null): this {
|
|
270
|
+
this.revision = revision;
|
|
271
|
+
return this;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
public static fromDict(data: {[key: string]: any}): SeasonGathering|null {
|
|
275
|
+
if (data == undefined || data == null) {
|
|
276
|
+
return null;
|
|
277
|
+
}
|
|
278
|
+
return new SeasonGathering()
|
|
279
|
+
.withSeasonGatheringId(data["seasonGatheringId"])
|
|
280
|
+
.withSeasonName(data["seasonName"])
|
|
281
|
+
.withSeason(data["season"])
|
|
282
|
+
.withTier(data["tier"])
|
|
283
|
+
.withName(data["name"])
|
|
284
|
+
.withParticipants(data.participants ?
|
|
285
|
+
data.participants.map((item: {[key: string]: any}) => {
|
|
286
|
+
return item;
|
|
287
|
+
}
|
|
288
|
+
) : [])
|
|
289
|
+
.withCreatedAt(data["createdAt"])
|
|
290
|
+
.withRevision(data["revision"]);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
public toDict(): {[key: string]: any} {
|
|
294
|
+
return {
|
|
295
|
+
"seasonGatheringId": this.getSeasonGatheringId(),
|
|
296
|
+
"seasonName": this.getSeasonName(),
|
|
297
|
+
"season": this.getSeason(),
|
|
298
|
+
"tier": this.getTier(),
|
|
299
|
+
"name": this.getName(),
|
|
300
|
+
"participants": this.getParticipants() ?
|
|
301
|
+
this.getParticipants()!.map((item: string) => {
|
|
302
|
+
return item;
|
|
303
|
+
}
|
|
304
|
+
) : [],
|
|
305
|
+
"createdAt": this.getCreatedAt(),
|
|
306
|
+
"revision": this.getRevision(),
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class SeasonModel implements IModel {
|
|
3
|
+
private seasonModelId;
|
|
4
|
+
private name;
|
|
5
|
+
private metadata;
|
|
6
|
+
private maximumParticipants;
|
|
7
|
+
private experienceModelId;
|
|
8
|
+
private challengePeriodEventId;
|
|
9
|
+
static getRegion(grn: string): string | null;
|
|
10
|
+
static getOwnerId(grn: string): string | null;
|
|
11
|
+
static getNamespaceName(grn: string): string | null;
|
|
12
|
+
static getSeasonName(grn: string): string | null;
|
|
13
|
+
static isValid(grn: string): boolean;
|
|
14
|
+
static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, seasonName: string | null): string | null;
|
|
15
|
+
getSeasonModelId(): string | null;
|
|
16
|
+
setSeasonModelId(seasonModelId: string | null): this;
|
|
17
|
+
withSeasonModelId(seasonModelId: string | null): this;
|
|
18
|
+
getName(): string | null;
|
|
19
|
+
setName(name: string | null): this;
|
|
20
|
+
withName(name: string | null): this;
|
|
21
|
+
getMetadata(): string | null;
|
|
22
|
+
setMetadata(metadata: string | null): this;
|
|
23
|
+
withMetadata(metadata: string | null): this;
|
|
24
|
+
getMaximumParticipants(): number | null;
|
|
25
|
+
setMaximumParticipants(maximumParticipants: number | null): this;
|
|
26
|
+
withMaximumParticipants(maximumParticipants: number | null): this;
|
|
27
|
+
getExperienceModelId(): string | null;
|
|
28
|
+
setExperienceModelId(experienceModelId: string | null): this;
|
|
29
|
+
withExperienceModelId(experienceModelId: string | null): this;
|
|
30
|
+
getChallengePeriodEventId(): string | null;
|
|
31
|
+
setChallengePeriodEventId(challengePeriodEventId: string | null): this;
|
|
32
|
+
withChallengePeriodEventId(challengePeriodEventId: string | null): this;
|
|
33
|
+
static fromDict(data: {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
}): SeasonModel | null;
|
|
36
|
+
toDict(): {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
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
|
+
var grnFormat = "grn:gs2:{region}:{ownerId}:matchmaking:{namespaceName}:model:{seasonName}";
|
|
19
|
+
var SeasonModel = /** @class */ (function () {
|
|
20
|
+
function SeasonModel() {
|
|
21
|
+
this.seasonModelId = null;
|
|
22
|
+
this.name = null;
|
|
23
|
+
this.metadata = null;
|
|
24
|
+
this.maximumParticipants = null;
|
|
25
|
+
this.experienceModelId = null;
|
|
26
|
+
this.challengePeriodEventId = null;
|
|
27
|
+
}
|
|
28
|
+
SeasonModel.getRegion = function (grn) {
|
|
29
|
+
var match = grn.match(grnFormat
|
|
30
|
+
.replace('{region}', '(.*)')
|
|
31
|
+
.replace('{ownerId}', '.*')
|
|
32
|
+
.replace('{namespaceName}', '.*')
|
|
33
|
+
.replace('{seasonName}', '.*'));
|
|
34
|
+
if (match) {
|
|
35
|
+
return match[1];
|
|
36
|
+
}
|
|
37
|
+
return null;
|
|
38
|
+
};
|
|
39
|
+
SeasonModel.getOwnerId = function (grn) {
|
|
40
|
+
var match = grn.match(grnFormat
|
|
41
|
+
.replace('{region}', '.*')
|
|
42
|
+
.replace('{ownerId}', '(.*)')
|
|
43
|
+
.replace('{namespaceName}', '.*')
|
|
44
|
+
.replace('{seasonName}', '.*'));
|
|
45
|
+
if (match) {
|
|
46
|
+
return match[1];
|
|
47
|
+
}
|
|
48
|
+
return null;
|
|
49
|
+
};
|
|
50
|
+
SeasonModel.getNamespaceName = function (grn) {
|
|
51
|
+
var match = grn.match(grnFormat
|
|
52
|
+
.replace('{region}', '.*')
|
|
53
|
+
.replace('{ownerId}', '.*')
|
|
54
|
+
.replace('{namespaceName}', '(.*)')
|
|
55
|
+
.replace('{seasonName}', '.*'));
|
|
56
|
+
if (match) {
|
|
57
|
+
return match[1];
|
|
58
|
+
}
|
|
59
|
+
return null;
|
|
60
|
+
};
|
|
61
|
+
SeasonModel.getSeasonName = function (grn) {
|
|
62
|
+
var match = grn.match(grnFormat
|
|
63
|
+
.replace('{region}', '.*')
|
|
64
|
+
.replace('{ownerId}', '.*')
|
|
65
|
+
.replace('{namespaceName}', '.*')
|
|
66
|
+
.replace('{seasonName}', '(.*)'));
|
|
67
|
+
if (match) {
|
|
68
|
+
return match[1];
|
|
69
|
+
}
|
|
70
|
+
return null;
|
|
71
|
+
};
|
|
72
|
+
SeasonModel.isValid = function (grn) {
|
|
73
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
if (this.getSeasonName(grn) == null || this.getSeasonName(grn) === '') {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
return true;
|
|
86
|
+
};
|
|
87
|
+
SeasonModel.createGrn = function (region, ownerId, namespaceName, seasonName) {
|
|
88
|
+
return grnFormat
|
|
89
|
+
.replace('{region}', region !== null && region !== void 0 ? region : '')
|
|
90
|
+
.replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
|
|
91
|
+
.replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
|
|
92
|
+
.replace('{seasonName}', seasonName !== null && seasonName !== void 0 ? seasonName : '');
|
|
93
|
+
};
|
|
94
|
+
SeasonModel.prototype.getSeasonModelId = function () {
|
|
95
|
+
return this.seasonModelId;
|
|
96
|
+
};
|
|
97
|
+
SeasonModel.prototype.setSeasonModelId = function (seasonModelId) {
|
|
98
|
+
this.seasonModelId = seasonModelId;
|
|
99
|
+
return this;
|
|
100
|
+
};
|
|
101
|
+
SeasonModel.prototype.withSeasonModelId = function (seasonModelId) {
|
|
102
|
+
this.seasonModelId = seasonModelId;
|
|
103
|
+
return this;
|
|
104
|
+
};
|
|
105
|
+
SeasonModel.prototype.getName = function () {
|
|
106
|
+
return this.name;
|
|
107
|
+
};
|
|
108
|
+
SeasonModel.prototype.setName = function (name) {
|
|
109
|
+
this.name = name;
|
|
110
|
+
return this;
|
|
111
|
+
};
|
|
112
|
+
SeasonModel.prototype.withName = function (name) {
|
|
113
|
+
this.name = name;
|
|
114
|
+
return this;
|
|
115
|
+
};
|
|
116
|
+
SeasonModel.prototype.getMetadata = function () {
|
|
117
|
+
return this.metadata;
|
|
118
|
+
};
|
|
119
|
+
SeasonModel.prototype.setMetadata = function (metadata) {
|
|
120
|
+
this.metadata = metadata;
|
|
121
|
+
return this;
|
|
122
|
+
};
|
|
123
|
+
SeasonModel.prototype.withMetadata = function (metadata) {
|
|
124
|
+
this.metadata = metadata;
|
|
125
|
+
return this;
|
|
126
|
+
};
|
|
127
|
+
SeasonModel.prototype.getMaximumParticipants = function () {
|
|
128
|
+
return this.maximumParticipants;
|
|
129
|
+
};
|
|
130
|
+
SeasonModel.prototype.setMaximumParticipants = function (maximumParticipants) {
|
|
131
|
+
this.maximumParticipants = maximumParticipants;
|
|
132
|
+
return this;
|
|
133
|
+
};
|
|
134
|
+
SeasonModel.prototype.withMaximumParticipants = function (maximumParticipants) {
|
|
135
|
+
this.maximumParticipants = maximumParticipants;
|
|
136
|
+
return this;
|
|
137
|
+
};
|
|
138
|
+
SeasonModel.prototype.getExperienceModelId = function () {
|
|
139
|
+
return this.experienceModelId;
|
|
140
|
+
};
|
|
141
|
+
SeasonModel.prototype.setExperienceModelId = function (experienceModelId) {
|
|
142
|
+
this.experienceModelId = experienceModelId;
|
|
143
|
+
return this;
|
|
144
|
+
};
|
|
145
|
+
SeasonModel.prototype.withExperienceModelId = function (experienceModelId) {
|
|
146
|
+
this.experienceModelId = experienceModelId;
|
|
147
|
+
return this;
|
|
148
|
+
};
|
|
149
|
+
SeasonModel.prototype.getChallengePeriodEventId = function () {
|
|
150
|
+
return this.challengePeriodEventId;
|
|
151
|
+
};
|
|
152
|
+
SeasonModel.prototype.setChallengePeriodEventId = function (challengePeriodEventId) {
|
|
153
|
+
this.challengePeriodEventId = challengePeriodEventId;
|
|
154
|
+
return this;
|
|
155
|
+
};
|
|
156
|
+
SeasonModel.prototype.withChallengePeriodEventId = function (challengePeriodEventId) {
|
|
157
|
+
this.challengePeriodEventId = challengePeriodEventId;
|
|
158
|
+
return this;
|
|
159
|
+
};
|
|
160
|
+
SeasonModel.fromDict = function (data) {
|
|
161
|
+
if (data == undefined || data == null) {
|
|
162
|
+
return null;
|
|
163
|
+
}
|
|
164
|
+
return new SeasonModel()
|
|
165
|
+
.withSeasonModelId(data["seasonModelId"])
|
|
166
|
+
.withName(data["name"])
|
|
167
|
+
.withMetadata(data["metadata"])
|
|
168
|
+
.withMaximumParticipants(data["maximumParticipants"])
|
|
169
|
+
.withExperienceModelId(data["experienceModelId"])
|
|
170
|
+
.withChallengePeriodEventId(data["challengePeriodEventId"]);
|
|
171
|
+
};
|
|
172
|
+
SeasonModel.prototype.toDict = function () {
|
|
173
|
+
return {
|
|
174
|
+
"seasonModelId": this.getSeasonModelId(),
|
|
175
|
+
"name": this.getName(),
|
|
176
|
+
"metadata": this.getMetadata(),
|
|
177
|
+
"maximumParticipants": this.getMaximumParticipants(),
|
|
178
|
+
"experienceModelId": this.getExperienceModelId(),
|
|
179
|
+
"challengePeriodEventId": this.getChallengePeriodEventId(),
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
return SeasonModel;
|
|
183
|
+
}());
|
|
184
|
+
exports.default = SeasonModel;
|
|
185
|
+
//# source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