1
This commit is contained in:
@@ -106,6 +106,8 @@ pub struct PuzzleBoardSnapshotResponse {
|
||||
pub struct PuzzleRuntimeLevelSnapshotResponse {
|
||||
pub run_id: String,
|
||||
pub level_index: u32,
|
||||
#[serde(default)]
|
||||
pub level_id: Option<String>,
|
||||
pub grid_size: u32,
|
||||
pub profile_id: String,
|
||||
pub level_name: String,
|
||||
@@ -139,6 +141,18 @@ pub struct PuzzleRuntimeLevelSnapshotResponse {
|
||||
pub leaderboard_entries: Vec<PuzzleLeaderboardEntryResponse>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct PuzzleRecommendedNextWorkResponse {
|
||||
pub profile_id: String,
|
||||
pub level_name: String,
|
||||
pub author_display_name: String,
|
||||
pub theme_tags: Vec<String>,
|
||||
#[serde(default)]
|
||||
pub cover_image_src: Option<String>,
|
||||
pub similarity_score: f32,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct PuzzleRunSnapshotResponse {
|
||||
@@ -154,6 +168,14 @@ pub struct PuzzleRunSnapshotResponse {
|
||||
#[serde(default)]
|
||||
pub recommended_next_profile_id: Option<String>,
|
||||
#[serde(default)]
|
||||
pub next_level_mode: String,
|
||||
#[serde(default)]
|
||||
pub next_level_profile_id: Option<String>,
|
||||
#[serde(default)]
|
||||
pub next_level_id: Option<String>,
|
||||
#[serde(default)]
|
||||
pub recommended_next_works: Vec<PuzzleRecommendedNextWorkResponse>,
|
||||
#[serde(default)]
|
||||
pub leaderboard_entries: Vec<PuzzleLeaderboardEntryResponse>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user