gs2-cdk 1.0.95 → 1.0.96
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/distributor/model/BatchRequestPayload.d.ts +12 -0
- package/distributor/model/BatchRequestPayload.js +28 -0
- package/distributor/model/BatchRequestPayload.js.map +1 -0
- package/distributor/model/BatchRequestPayload.ts +57 -0
- package/distributor/model/BatchResultPayload.d.ts +10 -0
- package/distributor/model/BatchResultPayload.js +24 -0
- package/distributor/model/BatchResultPayload.js.map +1 -0
- package/distributor/model/BatchResultPayload.ts +50 -0
- package/distributor/model/enum/BatchRequestPayloadService.d.ts +52 -0
- package/distributor/model/enum/BatchRequestPayloadService.js +70 -0
- package/distributor/model/enum/BatchRequestPayloadService.js.map +1 -0
- package/distributor/model/enum/BatchRequestPayloadService.ts +70 -0
- package/distributor/model/index.d.ts +6 -1
- package/distributor/model/index.js +7 -1
- package/distributor/model/index.js.map +1 -1
- package/distributor/model/index.ts +10 -0
- package/distributor/model/options/BatchRequestPayloadOptions.d.ts +2 -0
- package/distributor/model/options/BatchRequestPayloadOptions.js +3 -0
- package/distributor/model/options/BatchRequestPayloadOptions.js.map +1 -0
- package/distributor/model/options/BatchRequestPayloadOptions.ts +20 -0
- package/distributor/model/options/BatchResultPayloadOptions.d.ts +2 -0
- package/distributor/model/options/BatchResultPayloadOptions.js +18 -0
- package/distributor/model/options/BatchResultPayloadOptions.js.map +1 -0
- package/distributor/model/options/BatchResultPayloadOptions.ts +19 -0
- package/guild/model/Inbox.d.ts +1 -0
- package/guild/model/Inbox.js +7 -2
- package/guild/model/Inbox.js.map +1 -1
- package/guild/model/Inbox.ts +7 -0
- package/guild/model/Member.d.ts +1 -0
- package/guild/model/Member.js +6 -0
- package/guild/model/Member.js.map +1 -1
- package/guild/model/Member.ts +5 -0
- package/guild/model/ReceiveMemberRequest.d.ts +1 -0
- package/guild/model/ReceiveMemberRequest.js +6 -0
- package/guild/model/ReceiveMemberRequest.js.map +1 -1
- package/guild/model/ReceiveMemberRequest.ts +5 -0
- package/guild/model/options/GuildOptions.d.ts +2 -0
- package/guild/model/options/GuildOptions.ts +2 -0
- package/guild/model/options/InboxOptions.d.ts +2 -0
- package/guild/model/options/InboxOptions.js +0 -15
- package/guild/model/options/InboxOptions.js.map +1 -1
- package/guild/model/options/InboxOptions.ts +2 -0
- package/guild/model/options/MemberOptions.d.ts +1 -0
- package/guild/model/options/MemberOptions.ts +1 -0
- package/guild/model/options/ReceiveMemberRequestOptions.d.ts +1 -0
- package/guild/model/options/ReceiveMemberRequestOptions.ts +1 -0
- package/package.json +1 -1
- package/ranking2/model/ClusterRankingModel.d.ts +3 -1
- package/ranking2/model/ClusterRankingModel.js +5 -1
- package/ranking2/model/ClusterRankingModel.js.map +1 -1
- package/ranking2/model/ClusterRankingModel.ts +7 -0
- package/ranking2/model/GlobalRankingModel.d.ts +3 -1
- package/ranking2/model/GlobalRankingModel.js +5 -1
- package/ranking2/model/GlobalRankingModel.js.map +1 -1
- package/ranking2/model/GlobalRankingModel.ts +7 -0
- package/ranking2/model/enum/ClusterRankingModelRewardCalculationIndex.d.ts +5 -0
- package/ranking2/model/enum/ClusterRankingModelRewardCalculationIndex.js +23 -0
- package/ranking2/model/enum/ClusterRankingModelRewardCalculationIndex.js.map +1 -0
- package/ranking2/model/enum/ClusterRankingModelRewardCalculationIndex.ts +23 -0
- package/ranking2/model/enum/GlobalRankingModelRewardCalculationIndex.d.ts +5 -0
- package/ranking2/model/enum/GlobalRankingModelRewardCalculationIndex.js +23 -0
- package/ranking2/model/enum/GlobalRankingModelRewardCalculationIndex.js.map +1 -0
- package/ranking2/model/enum/GlobalRankingModelRewardCalculationIndex.ts +23 -0
- package/ranking2/model/index.d.ts +3 -1
- package/ranking2/model/index.js +5 -1
- package/ranking2/model/index.js.map +1 -1
- package/ranking2/model/index.ts +4 -0
- package/ranking2/model/options/ClusterRankingModelOptions.ts +1 -0
- package/ranking2/model/options/GlobalRankingModelOptions.ts +1 -0
package/guild/model/Member.js
CHANGED
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class Member {
|
|
4
4
|
constructor(userId, roleName, options = null) {
|
|
5
|
+
var _a;
|
|
6
|
+
this.metadata = null;
|
|
5
7
|
this.userId = userId;
|
|
6
8
|
this.roleName = roleName;
|
|
9
|
+
this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
|
|
7
10
|
}
|
|
8
11
|
properties() {
|
|
9
12
|
let properties = {};
|
|
@@ -13,6 +16,9 @@ class Member {
|
|
|
13
16
|
if (this.roleName != null) {
|
|
14
17
|
properties["roleName"] = this.roleName;
|
|
15
18
|
}
|
|
19
|
+
if (this.metadata != null) {
|
|
20
|
+
properties["metadata"] = this.metadata;
|
|
21
|
+
}
|
|
16
22
|
return properties;
|
|
17
23
|
}
|
|
18
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Member.js","sourceRoot":"","sources":["Member.ts"],"names":[],"mappings":";;AAiBA,MAAqB,MAAM;
|
|
1
|
+
{"version":3,"file":"Member.js","sourceRoot":"","sources":["Member.ts"],"names":[],"mappings":";;AAiBA,MAAqB,MAAM;IAKvB,YACI,MAAc,EACd,QAAgB,EAChB,UAA8B,IAAI;;QALrB,aAAQ,GAAgB,IAAI,CAAC;QAO1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA/BD,yBA+BC"}
|
package/guild/model/Member.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { MemberOptions } from "./options/MemberOptions";
|
|
|
18
18
|
export default class Member {
|
|
19
19
|
private readonly userId: string;
|
|
20
20
|
private readonly roleName: string;
|
|
21
|
+
private readonly metadata: string|null = null;
|
|
21
22
|
|
|
22
23
|
public constructor(
|
|
23
24
|
userId: string,
|
|
@@ -26,6 +27,7 @@ export default class Member {
|
|
|
26
27
|
) {
|
|
27
28
|
this.userId = userId;
|
|
28
29
|
this.roleName = roleName;
|
|
30
|
+
this.metadata = options?.metadata ?? null;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
public properties(
|
|
@@ -38,6 +40,9 @@ export default class Member {
|
|
|
38
40
|
if (this.roleName != null) {
|
|
39
41
|
properties["roleName"] = this.roleName;
|
|
40
42
|
}
|
|
43
|
+
if (this.metadata != null) {
|
|
44
|
+
properties["metadata"] = this.metadata;
|
|
45
|
+
}
|
|
41
46
|
|
|
42
47
|
return properties;
|
|
43
48
|
}
|
|
@@ -2,6 +2,7 @@ import { ReceiveMemberRequestOptions } from "./options/ReceiveMemberRequestOptio
|
|
|
2
2
|
export default class ReceiveMemberRequest {
|
|
3
3
|
private readonly userId;
|
|
4
4
|
private readonly targetGuildName;
|
|
5
|
+
private readonly metadata;
|
|
5
6
|
constructor(userId: string, targetGuildName: string, options?: ReceiveMemberRequestOptions | null);
|
|
6
7
|
properties(): {
|
|
7
8
|
[name: string]: any;
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class ReceiveMemberRequest {
|
|
4
4
|
constructor(userId, targetGuildName, options = null) {
|
|
5
|
+
var _a;
|
|
6
|
+
this.metadata = null;
|
|
5
7
|
this.userId = userId;
|
|
6
8
|
this.targetGuildName = targetGuildName;
|
|
9
|
+
this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
|
|
7
10
|
}
|
|
8
11
|
properties() {
|
|
9
12
|
let properties = {};
|
|
@@ -13,6 +16,9 @@ class ReceiveMemberRequest {
|
|
|
13
16
|
if (this.targetGuildName != null) {
|
|
14
17
|
properties["targetGuildName"] = this.targetGuildName;
|
|
15
18
|
}
|
|
19
|
+
if (this.metadata != null) {
|
|
20
|
+
properties["metadata"] = this.metadata;
|
|
21
|
+
}
|
|
16
22
|
return properties;
|
|
17
23
|
}
|
|
18
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReceiveMemberRequest.js","sourceRoot":"","sources":["ReceiveMemberRequest.ts"],"names":[],"mappings":";;AAiBA,MAAqB,oBAAoB;
|
|
1
|
+
{"version":3,"file":"ReceiveMemberRequest.js","sourceRoot":"","sources":["ReceiveMemberRequest.ts"],"names":[],"mappings":";;AAiBA,MAAqB,oBAAoB;IAKrC,YACI,MAAc,EACd,eAAuB,EACvB,UAA4C,IAAI;;QALnC,aAAQ,GAAgB,IAAI,CAAC;QAO1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA/BD,uCA+BC"}
|
|
@@ -18,6 +18,7 @@ import { ReceiveMemberRequestOptions } from "./options/ReceiveMemberRequestOptio
|
|
|
18
18
|
export default class ReceiveMemberRequest {
|
|
19
19
|
private readonly userId: string;
|
|
20
20
|
private readonly targetGuildName: string;
|
|
21
|
+
private readonly metadata: string|null = null;
|
|
21
22
|
|
|
22
23
|
public constructor(
|
|
23
24
|
userId: string,
|
|
@@ -26,6 +27,7 @@ export default class ReceiveMemberRequest {
|
|
|
26
27
|
) {
|
|
27
28
|
this.userId = userId;
|
|
28
29
|
this.targetGuildName = targetGuildName;
|
|
30
|
+
this.metadata = options?.metadata ?? null;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
public properties(
|
|
@@ -38,6 +40,9 @@ export default class ReceiveMemberRequest {
|
|
|
38
40
|
if (this.targetGuildName != null) {
|
|
39
41
|
properties["targetGuildName"] = this.targetGuildName;
|
|
40
42
|
}
|
|
43
|
+
if (this.metadata != null) {
|
|
44
|
+
properties["metadata"] = this.metadata;
|
|
45
|
+
}
|
|
41
46
|
|
|
42
47
|
return properties;
|
|
43
48
|
}
|
|
@@ -5,6 +5,8 @@ export interface GuildOptions {
|
|
|
5
5
|
attribute3?: number | null;
|
|
6
6
|
attribute4?: number | null;
|
|
7
7
|
attribute5?: number | null;
|
|
8
|
+
metadata?: string | null;
|
|
9
|
+
memberMetadata?: string | null;
|
|
8
10
|
customRoles?: RoleModel[] | null;
|
|
9
11
|
guildMemberDefaultRole?: string | null;
|
|
10
12
|
timeOffsetToken?: string | null;
|
|
@@ -22,6 +22,8 @@ export interface GuildOptions {
|
|
|
22
22
|
attribute3?: number|null;
|
|
23
23
|
attribute4?: number|null;
|
|
24
24
|
attribute5?: number|null;
|
|
25
|
+
metadata?: string|null;
|
|
26
|
+
memberMetadata?: string|null;
|
|
25
27
|
customRoles?: RoleModel[]|null;
|
|
26
28
|
guildMemberDefaultRole?: string|null;
|
|
27
29
|
timeOffsetToken?: string|null;
|
|
@@ -1,18 +1,3 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
//# sourceMappingURL=InboxOptions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InboxOptions.js","sourceRoot":"","sources":["InboxOptions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InboxOptions.js","sourceRoot":"","sources":["InboxOptions.ts"],"names":[],"mappings":""}
|
|
@@ -13,9 +13,11 @@
|
|
|
13
13
|
* express or implied. See the License for the specific language governing
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import ReceiveMemberRequest from "../ReceiveMemberRequest";
|
|
16
17
|
|
|
17
18
|
export interface InboxOptions {
|
|
18
19
|
fromUserIds?: string[]|null;
|
|
20
|
+
receiveMemberRequests?: ReceiveMemberRequest[]|null;
|
|
19
21
|
revision?: number|null;
|
|
20
22
|
}
|
|
21
23
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { ClusterRankingModelOptions } from "./options/ClusterRankingModelOptions";
|
|
2
2
|
import { ClusterRankingModelClusterType } from "./enum/ClusterRankingModelClusterType";
|
|
3
3
|
import { ClusterRankingModelOrderDirection } from "./enum/ClusterRankingModelOrderDirection";
|
|
4
|
+
import { ClusterRankingModelRewardCalculationIndex } from "./enum/ClusterRankingModelRewardCalculationIndex";
|
|
4
5
|
export default class ClusterRankingModel {
|
|
5
6
|
private readonly name;
|
|
6
7
|
private readonly clusterType;
|
|
7
8
|
private readonly sum;
|
|
8
9
|
private readonly orderDirection;
|
|
10
|
+
private readonly rewardCalculationIndex;
|
|
9
11
|
private readonly metadata;
|
|
10
12
|
private readonly minimumValue;
|
|
11
13
|
private readonly maximumValue;
|
|
12
14
|
private readonly entryPeriodEventId;
|
|
13
15
|
private readonly rankingRewards;
|
|
14
16
|
private readonly accessPeriodEventId;
|
|
15
|
-
constructor(name: string, clusterType: ClusterRankingModelClusterType, sum: boolean, orderDirection: ClusterRankingModelOrderDirection, options?: ClusterRankingModelOptions | null);
|
|
17
|
+
constructor(name: string, clusterType: ClusterRankingModelClusterType, sum: boolean, orderDirection: ClusterRankingModelOrderDirection, rewardCalculationIndex: ClusterRankingModelRewardCalculationIndex, options?: ClusterRankingModelOptions | null);
|
|
16
18
|
properties(): {
|
|
17
19
|
[name: string]: any;
|
|
18
20
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class ClusterRankingModel {
|
|
4
|
-
constructor(name, clusterType, sum, orderDirection, options = null) {
|
|
4
|
+
constructor(name, clusterType, sum, orderDirection, rewardCalculationIndex, options = null) {
|
|
5
5
|
var _a, _b, _c, _d, _e, _f;
|
|
6
6
|
this.metadata = null;
|
|
7
7
|
this.minimumValue = null;
|
|
@@ -13,6 +13,7 @@ class ClusterRankingModel {
|
|
|
13
13
|
this.clusterType = clusterType;
|
|
14
14
|
this.sum = sum;
|
|
15
15
|
this.orderDirection = orderDirection;
|
|
16
|
+
this.rewardCalculationIndex = rewardCalculationIndex;
|
|
16
17
|
this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
|
|
17
18
|
this.minimumValue = (_b = options === null || options === void 0 ? void 0 : options.minimumValue) !== null && _b !== void 0 ? _b : null;
|
|
18
19
|
this.maximumValue = (_c = options === null || options === void 0 ? void 0 : options.maximumValue) !== null && _c !== void 0 ? _c : null;
|
|
@@ -52,6 +53,9 @@ class ClusterRankingModel {
|
|
|
52
53
|
if (this.accessPeriodEventId != null) {
|
|
53
54
|
properties["accessPeriodEventId"] = this.accessPeriodEventId;
|
|
54
55
|
}
|
|
56
|
+
if (this.rewardCalculationIndex != null) {
|
|
57
|
+
properties["rewardCalculationIndex"] = this.rewardCalculationIndex;
|
|
58
|
+
}
|
|
55
59
|
return properties;
|
|
56
60
|
}
|
|
57
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterRankingModel.js","sourceRoot":"","sources":["ClusterRankingModel.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"ClusterRankingModel.js","sourceRoot":"","sources":["ClusterRankingModel.ts"],"names":[],"mappings":"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"}
|
|
@@ -18,12 +18,14 @@ import RankingReward from "./RankingReward";
|
|
|
18
18
|
import { ClusterRankingModelOptions } from "./options/ClusterRankingModelOptions";
|
|
19
19
|
import { ClusterRankingModelClusterType } from "./enum/ClusterRankingModelClusterType";
|
|
20
20
|
import { ClusterRankingModelOrderDirection } from "./enum/ClusterRankingModelOrderDirection";
|
|
21
|
+
import { ClusterRankingModelRewardCalculationIndex } from "./enum/ClusterRankingModelRewardCalculationIndex";
|
|
21
22
|
|
|
22
23
|
export default class ClusterRankingModel {
|
|
23
24
|
private readonly name: string;
|
|
24
25
|
private readonly clusterType: ClusterRankingModelClusterType;
|
|
25
26
|
private readonly sum: boolean;
|
|
26
27
|
private readonly orderDirection: ClusterRankingModelOrderDirection;
|
|
28
|
+
private readonly rewardCalculationIndex: ClusterRankingModelRewardCalculationIndex;
|
|
27
29
|
private readonly metadata: string|null = null;
|
|
28
30
|
private readonly minimumValue: number|null = null;
|
|
29
31
|
private readonly maximumValue: number|null = null;
|
|
@@ -36,12 +38,14 @@ export default class ClusterRankingModel {
|
|
|
36
38
|
clusterType: ClusterRankingModelClusterType,
|
|
37
39
|
sum: boolean,
|
|
38
40
|
orderDirection: ClusterRankingModelOrderDirection,
|
|
41
|
+
rewardCalculationIndex: ClusterRankingModelRewardCalculationIndex,
|
|
39
42
|
options: ClusterRankingModelOptions|null = null,
|
|
40
43
|
) {
|
|
41
44
|
this.name = name;
|
|
42
45
|
this.clusterType = clusterType;
|
|
43
46
|
this.sum = sum;
|
|
44
47
|
this.orderDirection = orderDirection;
|
|
48
|
+
this.rewardCalculationIndex = rewardCalculationIndex;
|
|
45
49
|
this.metadata = options?.metadata ?? null;
|
|
46
50
|
this.minimumValue = options?.minimumValue ?? null;
|
|
47
51
|
this.maximumValue = options?.maximumValue ?? null;
|
|
@@ -85,6 +89,9 @@ export default class ClusterRankingModel {
|
|
|
85
89
|
if (this.accessPeriodEventId != null) {
|
|
86
90
|
properties["accessPeriodEventId"] = this.accessPeriodEventId;
|
|
87
91
|
}
|
|
92
|
+
if (this.rewardCalculationIndex != null) {
|
|
93
|
+
properties["rewardCalculationIndex"] = this.rewardCalculationIndex;
|
|
94
|
+
}
|
|
88
95
|
|
|
89
96
|
return properties;
|
|
90
97
|
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { GlobalRankingModelOptions } from "./options/GlobalRankingModelOptions";
|
|
2
2
|
import { GlobalRankingModelOrderDirection } from "./enum/GlobalRankingModelOrderDirection";
|
|
3
|
+
import { GlobalRankingModelRewardCalculationIndex } from "./enum/GlobalRankingModelRewardCalculationIndex";
|
|
3
4
|
export default class GlobalRankingModel {
|
|
4
5
|
private readonly name;
|
|
5
6
|
private readonly sum;
|
|
6
7
|
private readonly orderDirection;
|
|
8
|
+
private readonly rewardCalculationIndex;
|
|
7
9
|
private readonly metadata;
|
|
8
10
|
private readonly minimumValue;
|
|
9
11
|
private readonly maximumValue;
|
|
10
12
|
private readonly entryPeriodEventId;
|
|
11
13
|
private readonly rankingRewards;
|
|
12
14
|
private readonly accessPeriodEventId;
|
|
13
|
-
constructor(name: string, sum: boolean, orderDirection: GlobalRankingModelOrderDirection, options?: GlobalRankingModelOptions | null);
|
|
15
|
+
constructor(name: string, sum: boolean, orderDirection: GlobalRankingModelOrderDirection, rewardCalculationIndex: GlobalRankingModelRewardCalculationIndex, options?: GlobalRankingModelOptions | null);
|
|
14
16
|
properties(): {
|
|
15
17
|
[name: string]: any;
|
|
16
18
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class GlobalRankingModel {
|
|
4
|
-
constructor(name, sum, orderDirection, options = null) {
|
|
4
|
+
constructor(name, sum, orderDirection, rewardCalculationIndex, options = null) {
|
|
5
5
|
var _a, _b, _c, _d, _e, _f;
|
|
6
6
|
this.metadata = null;
|
|
7
7
|
this.minimumValue = null;
|
|
@@ -12,6 +12,7 @@ class GlobalRankingModel {
|
|
|
12
12
|
this.name = name;
|
|
13
13
|
this.sum = sum;
|
|
14
14
|
this.orderDirection = orderDirection;
|
|
15
|
+
this.rewardCalculationIndex = rewardCalculationIndex;
|
|
15
16
|
this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
|
|
16
17
|
this.minimumValue = (_b = options === null || options === void 0 ? void 0 : options.minimumValue) !== null && _b !== void 0 ? _b : null;
|
|
17
18
|
this.maximumValue = (_c = options === null || options === void 0 ? void 0 : options.maximumValue) !== null && _c !== void 0 ? _c : null;
|
|
@@ -48,6 +49,9 @@ class GlobalRankingModel {
|
|
|
48
49
|
if (this.accessPeriodEventId != null) {
|
|
49
50
|
properties["accessPeriodEventId"] = this.accessPeriodEventId;
|
|
50
51
|
}
|
|
52
|
+
if (this.rewardCalculationIndex != null) {
|
|
53
|
+
properties["rewardCalculationIndex"] = this.rewardCalculationIndex;
|
|
54
|
+
}
|
|
51
55
|
return properties;
|
|
52
56
|
}
|
|
53
57
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalRankingModel.js","sourceRoot":"","sources":["GlobalRankingModel.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"GlobalRankingModel.js","sourceRoot":"","sources":["GlobalRankingModel.ts"],"names":[],"mappings":"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"}
|
|
@@ -17,11 +17,13 @@ import { AcquireAction } from "../../core/model";
|
|
|
17
17
|
import RankingReward from "./RankingReward";
|
|
18
18
|
import { GlobalRankingModelOptions } from "./options/GlobalRankingModelOptions";
|
|
19
19
|
import { GlobalRankingModelOrderDirection } from "./enum/GlobalRankingModelOrderDirection";
|
|
20
|
+
import { GlobalRankingModelRewardCalculationIndex } from "./enum/GlobalRankingModelRewardCalculationIndex";
|
|
20
21
|
|
|
21
22
|
export default class GlobalRankingModel {
|
|
22
23
|
private readonly name: string;
|
|
23
24
|
private readonly sum: boolean;
|
|
24
25
|
private readonly orderDirection: GlobalRankingModelOrderDirection;
|
|
26
|
+
private readonly rewardCalculationIndex: GlobalRankingModelRewardCalculationIndex;
|
|
25
27
|
private readonly metadata: string|null = null;
|
|
26
28
|
private readonly minimumValue: number|null = null;
|
|
27
29
|
private readonly maximumValue: number|null = null;
|
|
@@ -33,11 +35,13 @@ export default class GlobalRankingModel {
|
|
|
33
35
|
name: string,
|
|
34
36
|
sum: boolean,
|
|
35
37
|
orderDirection: GlobalRankingModelOrderDirection,
|
|
38
|
+
rewardCalculationIndex: GlobalRankingModelRewardCalculationIndex,
|
|
36
39
|
options: GlobalRankingModelOptions|null = null,
|
|
37
40
|
) {
|
|
38
41
|
this.name = name;
|
|
39
42
|
this.sum = sum;
|
|
40
43
|
this.orderDirection = orderDirection;
|
|
44
|
+
this.rewardCalculationIndex = rewardCalculationIndex;
|
|
41
45
|
this.metadata = options?.metadata ?? null;
|
|
42
46
|
this.minimumValue = options?.minimumValue ?? null;
|
|
43
47
|
this.maximumValue = options?.maximumValue ?? null;
|
|
@@ -78,6 +82,9 @@ export default class GlobalRankingModel {
|
|
|
78
82
|
if (this.accessPeriodEventId != null) {
|
|
79
83
|
properties["accessPeriodEventId"] = this.accessPeriodEventId;
|
|
80
84
|
}
|
|
85
|
+
if (this.rewardCalculationIndex != null) {
|
|
86
|
+
properties["rewardCalculationIndex"] = this.rewardCalculationIndex;
|
|
87
|
+
}
|
|
81
88
|
|
|
82
89
|
return properties;
|
|
83
90
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const ClusterRankingModelRewardCalculationIndex: {
|
|
2
|
+
readonly RANK: "rank";
|
|
3
|
+
readonly INDEX: "index";
|
|
4
|
+
};
|
|
5
|
+
export type ClusterRankingModelRewardCalculationIndex = typeof ClusterRankingModelRewardCalculationIndex[keyof typeof ClusterRankingModelRewardCalculationIndex];
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
exports.ClusterRankingModelRewardCalculationIndex = void 0;
|
|
19
|
+
exports.ClusterRankingModelRewardCalculationIndex = {
|
|
20
|
+
RANK: "rank",
|
|
21
|
+
INDEX: "index",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=ClusterRankingModelRewardCalculationIndex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterRankingModelRewardCalculationIndex.js","sourceRoot":"","sources":["ClusterRankingModelRewardCalculationIndex.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,yCAAyC,GAAG;IACrD,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACR,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export const ClusterRankingModelRewardCalculationIndex = {
|
|
20
|
+
RANK: "rank",
|
|
21
|
+
INDEX: "index",
|
|
22
|
+
} as const;
|
|
23
|
+
export type ClusterRankingModelRewardCalculationIndex = typeof ClusterRankingModelRewardCalculationIndex[keyof typeof ClusterRankingModelRewardCalculationIndex];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const GlobalRankingModelRewardCalculationIndex: {
|
|
2
|
+
readonly RANK: "rank";
|
|
3
|
+
readonly INDEX: "index";
|
|
4
|
+
};
|
|
5
|
+
export type GlobalRankingModelRewardCalculationIndex = typeof GlobalRankingModelRewardCalculationIndex[keyof typeof GlobalRankingModelRewardCalculationIndex];
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
exports.GlobalRankingModelRewardCalculationIndex = void 0;
|
|
19
|
+
exports.GlobalRankingModelRewardCalculationIndex = {
|
|
20
|
+
RANK: "rank",
|
|
21
|
+
INDEX: "index",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=GlobalRankingModelRewardCalculationIndex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlobalRankingModelRewardCalculationIndex.js","sourceRoot":"","sources":["GlobalRankingModelRewardCalculationIndex.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,wCAAwC,GAAG;IACpD,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACR,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export const GlobalRankingModelRewardCalculationIndex = {
|
|
20
|
+
RANK: "rank",
|
|
21
|
+
INDEX: "index",
|
|
22
|
+
} as const;
|
|
23
|
+
export type GlobalRankingModelRewardCalculationIndex = typeof GlobalRankingModelRewardCalculationIndex[keyof typeof GlobalRankingModelRewardCalculationIndex];
|
|
@@ -3,10 +3,12 @@ import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
|
3
3
|
import GlobalRankingModel from "./GlobalRankingModel";
|
|
4
4
|
import { GlobalRankingModelOptions } from "./options/GlobalRankingModelOptions";
|
|
5
5
|
import { GlobalRankingModelOrderDirection } from "./enum/GlobalRankingModelOrderDirection";
|
|
6
|
+
import { GlobalRankingModelRewardCalculationIndex } from "./enum/GlobalRankingModelRewardCalculationIndex";
|
|
6
7
|
import ClusterRankingModel from "./ClusterRankingModel";
|
|
7
8
|
import { ClusterRankingModelOptions } from "./options/ClusterRankingModelOptions";
|
|
8
9
|
import { ClusterRankingModelClusterType } from "./enum/ClusterRankingModelClusterType";
|
|
9
10
|
import { ClusterRankingModelOrderDirection } from "./enum/ClusterRankingModelOrderDirection";
|
|
11
|
+
import { ClusterRankingModelRewardCalculationIndex } from "./enum/ClusterRankingModelRewardCalculationIndex";
|
|
10
12
|
import SubscribeRankingModel from "./SubscribeRankingModel";
|
|
11
13
|
import { SubscribeRankingModelOptions } from "./options/SubscribeRankingModelOptions";
|
|
12
14
|
import { SubscribeRankingModelOrderDirection } from "./enum/SubscribeRankingModelOrderDirection";
|
|
@@ -21,4 +23,4 @@ import { AcquireActionResultOptions } from "./options/AcquireActionResultOptions
|
|
|
21
23
|
import TransactionResult from "./TransactionResult";
|
|
22
24
|
import { TransactionResultOptions } from "./options/TransactionResultOptions";
|
|
23
25
|
import CurrentMasterData from "./CurrentMasterData";
|
|
24
|
-
export { Namespace, NamespaceOptions, GlobalRankingModel, GlobalRankingModelOptions, GlobalRankingModelOrderDirection, ClusterRankingModel, ClusterRankingModelOptions, ClusterRankingModelClusterType, ClusterRankingModelOrderDirection, SubscribeRankingModel, SubscribeRankingModelOptions, SubscribeRankingModelOrderDirection, RankingReward, RankingRewardOptions, VerifyActionResult, VerifyActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, AcquireActionResult, AcquireActionResultOptions, TransactionResult, TransactionResultOptions, CurrentMasterData, };
|
|
26
|
+
export { Namespace, NamespaceOptions, GlobalRankingModel, GlobalRankingModelOptions, GlobalRankingModelOrderDirection, GlobalRankingModelRewardCalculationIndex, ClusterRankingModel, ClusterRankingModelOptions, ClusterRankingModelClusterType, ClusterRankingModelOrderDirection, ClusterRankingModelRewardCalculationIndex, SubscribeRankingModel, SubscribeRankingModelOptions, SubscribeRankingModelOrderDirection, RankingReward, RankingRewardOptions, VerifyActionResult, VerifyActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, AcquireActionResult, AcquireActionResultOptions, TransactionResult, TransactionResultOptions, CurrentMasterData, };
|
package/ranking2/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CurrentMasterData = exports.TransactionResult = exports.AcquireActionResult = exports.ConsumeActionResult = exports.VerifyActionResult = exports.RankingReward = exports.SubscribeRankingModelOrderDirection = exports.SubscribeRankingModel = exports.ClusterRankingModelOrderDirection = exports.ClusterRankingModelClusterType = exports.ClusterRankingModel = exports.GlobalRankingModelOrderDirection = exports.GlobalRankingModel = exports.Namespace = void 0;
|
|
3
|
+
exports.CurrentMasterData = exports.TransactionResult = exports.AcquireActionResult = exports.ConsumeActionResult = exports.VerifyActionResult = exports.RankingReward = exports.SubscribeRankingModelOrderDirection = exports.SubscribeRankingModel = exports.ClusterRankingModelRewardCalculationIndex = exports.ClusterRankingModelOrderDirection = exports.ClusterRankingModelClusterType = exports.ClusterRankingModel = exports.GlobalRankingModelRewardCalculationIndex = exports.GlobalRankingModelOrderDirection = exports.GlobalRankingModel = exports.Namespace = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -23,12 +23,16 @@ const GlobalRankingModel_1 = tslib_1.__importDefault(require("./GlobalRankingMod
|
|
|
23
23
|
exports.GlobalRankingModel = GlobalRankingModel_1.default;
|
|
24
24
|
const GlobalRankingModelOrderDirection_1 = require("./enum/GlobalRankingModelOrderDirection");
|
|
25
25
|
Object.defineProperty(exports, "GlobalRankingModelOrderDirection", { enumerable: true, get: function () { return GlobalRankingModelOrderDirection_1.GlobalRankingModelOrderDirection; } });
|
|
26
|
+
const GlobalRankingModelRewardCalculationIndex_1 = require("./enum/GlobalRankingModelRewardCalculationIndex");
|
|
27
|
+
Object.defineProperty(exports, "GlobalRankingModelRewardCalculationIndex", { enumerable: true, get: function () { return GlobalRankingModelRewardCalculationIndex_1.GlobalRankingModelRewardCalculationIndex; } });
|
|
26
28
|
const ClusterRankingModel_1 = tslib_1.__importDefault(require("./ClusterRankingModel"));
|
|
27
29
|
exports.ClusterRankingModel = ClusterRankingModel_1.default;
|
|
28
30
|
const ClusterRankingModelClusterType_1 = require("./enum/ClusterRankingModelClusterType");
|
|
29
31
|
Object.defineProperty(exports, "ClusterRankingModelClusterType", { enumerable: true, get: function () { return ClusterRankingModelClusterType_1.ClusterRankingModelClusterType; } });
|
|
30
32
|
const ClusterRankingModelOrderDirection_1 = require("./enum/ClusterRankingModelOrderDirection");
|
|
31
33
|
Object.defineProperty(exports, "ClusterRankingModelOrderDirection", { enumerable: true, get: function () { return ClusterRankingModelOrderDirection_1.ClusterRankingModelOrderDirection; } });
|
|
34
|
+
const ClusterRankingModelRewardCalculationIndex_1 = require("./enum/ClusterRankingModelRewardCalculationIndex");
|
|
35
|
+
Object.defineProperty(exports, "ClusterRankingModelRewardCalculationIndex", { enumerable: true, get: function () { return ClusterRankingModelRewardCalculationIndex_1.ClusterRankingModelRewardCalculationIndex; } });
|
|
32
36
|
const SubscribeRankingModel_1 = tslib_1.__importDefault(require("./SubscribeRankingModel"));
|
|
33
37
|
exports.SubscribeRankingModel = SubscribeRankingModel_1.default;
|
|
34
38
|
const SubscribeRankingModelOrderDirection_1 = require("./enum/SubscribeRankingModelOrderDirection");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AA2BhC,oBA3BG,mBAAS,CA2BH;AAzBb,sFAAsD;AA2BlD,6BA3BG,4BAAkB,CA2BH;AAzBtB,8FAA2F;AA2BvF,iHA3BK,mEAAgC,OA2BL;AA1BpC,8GAA2G;AA2BvG,yHA3BK,mFAAwC,OA2BL;AA1B5C,wFAAwD;AA2BpD,8BA3BG,6BAAmB,CA2BH;AAzBvB,0FAAuF;AA2BnF,+GA3BK,+DAA8B,OA2BL;AA1BlC,gGAA6F;AA2BzF,kHA3BK,qEAAiC,OA2BL;AA1BrC,gHAA6G;AA2BzG,0HA3BK,qFAAyC,OA2BL;AA1B7C,4FAA4D;AA2BxD,gCA3BG,+BAAqB,CA2BH;AAzBzB,oGAAiG;AA2B7F,oHA3BK,yEAAmC,OA2BL;AA1BvC,4EAA4C;AA2BxC,wBA3BG,uBAAa,CA2BH;AAzBjB,sFAAsD;AA2BlD,6BA3BG,4BAAkB,CA2BH;AAzBtB,wFAAwD;AA2BpD,8BA3BG,6BAAmB,CA2BH;AAzBvB,wFAAwD;AA2BpD,8BA3BG,6BAAmB,CA2BH;AAzBvB,oFAAoD;AA2BhD,4BA3BG,2BAAiB,CA2BH;AAzBrB,oFAAoD;AA2BhD,4BA3BG,2BAAiB,CA2BH"}
|
package/ranking2/model/index.ts
CHANGED
|
@@ -18,10 +18,12 @@ import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
|
18
18
|
import GlobalRankingModel from "./GlobalRankingModel";
|
|
19
19
|
import { GlobalRankingModelOptions } from "./options/GlobalRankingModelOptions";
|
|
20
20
|
import { GlobalRankingModelOrderDirection } from "./enum/GlobalRankingModelOrderDirection";
|
|
21
|
+
import { GlobalRankingModelRewardCalculationIndex } from "./enum/GlobalRankingModelRewardCalculationIndex";
|
|
21
22
|
import ClusterRankingModel from "./ClusterRankingModel";
|
|
22
23
|
import { ClusterRankingModelOptions } from "./options/ClusterRankingModelOptions";
|
|
23
24
|
import { ClusterRankingModelClusterType } from "./enum/ClusterRankingModelClusterType";
|
|
24
25
|
import { ClusterRankingModelOrderDirection } from "./enum/ClusterRankingModelOrderDirection";
|
|
26
|
+
import { ClusterRankingModelRewardCalculationIndex } from "./enum/ClusterRankingModelRewardCalculationIndex";
|
|
25
27
|
import SubscribeRankingModel from "./SubscribeRankingModel";
|
|
26
28
|
import { SubscribeRankingModelOptions } from "./options/SubscribeRankingModelOptions";
|
|
27
29
|
import { SubscribeRankingModelOrderDirection } from "./enum/SubscribeRankingModelOrderDirection";
|
|
@@ -43,10 +45,12 @@ export {
|
|
|
43
45
|
GlobalRankingModel,
|
|
44
46
|
GlobalRankingModelOptions,
|
|
45
47
|
GlobalRankingModelOrderDirection,
|
|
48
|
+
GlobalRankingModelRewardCalculationIndex,
|
|
46
49
|
ClusterRankingModel,
|
|
47
50
|
ClusterRankingModelOptions,
|
|
48
51
|
ClusterRankingModelClusterType,
|
|
49
52
|
ClusterRankingModelOrderDirection,
|
|
53
|
+
ClusterRankingModelRewardCalculationIndex,
|
|
50
54
|
SubscribeRankingModel,
|
|
51
55
|
SubscribeRankingModelOptions,
|
|
52
56
|
SubscribeRankingModelOrderDirection,
|