Skip to content

Commit d7b7514

Browse files
Automatically update staging NodeJS SDK
1 parent 438ff93 commit d7b7514

7 files changed

Lines changed: 9 additions & 9 deletions

api/types/LeaderboardResponse.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export interface LeaderboardResponse {
1616
rankBy: TrophyApi.LeaderboardResponseRankBy;
1717
/** Deprecated. The key of the attribute to break down this leaderboard by. */
1818
breakdownAttribute?: string;
19-
/** The user attribute keys that define this leaderboard breakdown. Present when the leaderboard is broken down by one or more user attributes. */
20-
breakdownAttributes?: string[];
19+
/** The user attribute keys that this leaderboard is broken down by. */
20+
breakdownAttributes: string[];
2121
/** The key of the metric to rank by, if rankBy is 'metric'. */
2222
metricKey?: string;
2323
/** The name of the metric to rank by, if rankBy is 'metric'. */

api/types/MetricEventLeaderboardResponse.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export interface MetricEventLeaderboardResponse {
2525
rankBy: TrophyApi.LeaderboardResponseRankBy;
2626
/** Deprecated. The key of the attribute to break down this leaderboard by. */
2727
breakdownAttribute?: string;
28-
/** The user attribute keys that define this leaderboard breakdown. Present when the leaderboard is broken down by one or more user attributes. */
29-
breakdownAttributes?: string[];
28+
/** The user attribute keys that this leaderboard is broken down by. */
29+
breakdownAttributes: string[];
3030
/** The key of the metric to rank by, if rankBy is 'metric'. */
3131
metricKey?: string;
3232
/** The name of the metric to rank by, if rankBy is 'metric'. */

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@trophyso/node",
3-
"version": "1.3.1-beta",
3+
"version": "1.3.2-beta",
44
"description": "NodeJS SDK for the Trophy API",
55
"main": "index.js",
66
"scripts": {

serialization/types/LeaderboardResponse.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export declare namespace LeaderboardResponse {
1212
key: string;
1313
rankBy: serializers.LeaderboardResponseRankBy.Raw;
1414
breakdownAttribute?: string | null;
15-
breakdownAttributes?: string[] | null;
15+
breakdownAttributes: string[];
1616
metricKey?: string | null;
1717
metricName?: string | null;
1818
pointsSystemKey?: string | null;

serialization/types/LeaderboardResponse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ exports.LeaderboardResponse = core.serialization.object({
4343
key: core.serialization.string(),
4444
rankBy: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).LeaderboardResponseRankBy; })),
4545
breakdownAttribute: core.serialization.string().optional(),
46-
breakdownAttributes: core.serialization.list(core.serialization.string()).optional(),
46+
breakdownAttributes: core.serialization.list(core.serialization.string()),
4747
metricKey: core.serialization.string().optional(),
4848
metricName: core.serialization.string().optional(),
4949
pointsSystemKey: core.serialization.string().optional(),

serialization/types/MetricEventLeaderboardResponse.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export declare namespace MetricEventLeaderboardResponse {
1818
key: string;
1919
rankBy: serializers.LeaderboardResponseRankBy.Raw;
2020
breakdownAttribute?: string | null;
21-
breakdownAttributes?: string[] | null;
21+
breakdownAttributes: string[];
2222
metricKey?: string | null;
2323
metricName?: string | null;
2424
pointsSystemKey?: string | null;

serialization/types/MetricEventLeaderboardResponse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ exports.MetricEventLeaderboardResponse = core.serialization.object({
5151
key: core.serialization.string(),
5252
rankBy: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).LeaderboardResponseRankBy; })),
5353
breakdownAttribute: core.serialization.string().optional(),
54-
breakdownAttributes: core.serialization.list(core.serialization.string()).optional(),
54+
breakdownAttributes: core.serialization.list(core.serialization.string()),
5555
metricKey: core.serialization.string().optional(),
5656
metricName: core.serialization.string().optional(),
5757
pointsSystemKey: core.serialization.string().optional(),

0 commit comments

Comments
 (0)