0.4.0: Claim, Models/ DTOs, compile
CI / publish (push) Failing after 39s
CI / check (push) Successful in 52s

LeaderboardSession.ClaimAsync sends onClaim. Generated DTOs live under Models/ with nullable wire fields. Remove incomplete duplicate type files.
This commit is contained in:
edmand46
2026-08-29 11:33:01 +03:00
parent 3c590294c9
commit ea20ea6d51
89 changed files with 1414 additions and 396 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.Leaderboards;
@@ -8,9 +7,9 @@ namespace RudderSdk.Core.Models.Leaderboards;
public class GetRankingResponse
{
[JsonProperty("entries")]
public List<RankEntry> Entries { get; set; }
public List<RankEntry>? Entries { get; set; }
[JsonProperty("total")]
public long Total { get; set; }
public long? Total { get; set; }
}
+4 -6
View File
@@ -1,22 +1,20 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.Leaderboards;
public class RankEntry
{
[JsonProperty("playerId")]
public string PlayerId { get; set; }
public string? PlayerId { get; set; }
[JsonProperty("playerName")]
public string PlayerName { get; set; }
public string? PlayerName { get; set; }
[JsonProperty("rank")]
public long Rank { get; set; }
public long? Rank { get; set; }
[JsonProperty("score")]
public double Score { get; set; }
public double? Score { get; set; }
}
+2 -4
View File
@@ -1,16 +1,14 @@
// Code generated by apigen. DO NOT EDIT.
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace RudderSdk.Core.Models.Leaderboards;
public class SubmitScoreRequest
{
[JsonProperty("score")]
public double Score { get; set; }
public double? Score { get; set; }
[JsonProperty("slug")]
public string Slug { get; set; }
public string? Slug { get; set; }
}