From f8076440355cc19c00bf29ea9174f9473ee26ca5 Mon Sep 17 00:00:00 2001 From: UCDFiddes <66165184+UCDFiddes@users.noreply.github.com> Date: Thu, 4 Jul 2024 11:48:30 +0100 Subject: [PATCH] Add username to monthly statistics --- package.json | 2 +- src/types/api/games/bridge.types.ts | 1 + src/types/api/games/build.types.ts | 1 + src/types/api/games/ctf.types.ts | 1 + src/types/api/games/dr.types.ts | 1 + src/types/api/games/drop.types.ts | 1 + src/types/api/games/grav.types.ts | 1 + src/types/api/games/ground.types.ts | 1 + src/types/api/games/hide.types.ts | 1 + src/types/api/games/murder.types.ts | 1 + src/types/api/games/party.types.ts | 1 + src/types/api/games/sg.types.ts | 1 + src/types/api/games/sky.types.ts | 1 + src/types/api/games/wars.types.ts | 1 + 14 files changed, 14 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index eddf565..a04d103 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hive-bedrock-data", - "version": "1.2.2", + "version": "1.2.3", "description": "A repo to store and calculate data and type definitions from The Hive: Bedrock Edition server.", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/types/api/games/bridge.types.ts b/src/types/api/games/bridge.types.ts index f75d409..da4a6ff 100644 --- a/src/types/api/games/bridge.types.ts +++ b/src/types/api/games/bridge.types.ts @@ -25,6 +25,7 @@ interface Statistics_BRIDGE_Monthly index: number; human_index: number; + username: string; uncapped_xp?: number; } diff --git a/src/types/api/games/build.types.ts b/src/types/api/games/build.types.ts index a9ee2e2..30ae0e9 100644 --- a/src/types/api/games/build.types.ts +++ b/src/types/api/games/build.types.ts @@ -18,6 +18,7 @@ interface Statistics_BUILD_AllTime extends Statistics_BUILD { interface Statistics_BUILD_Monthly extends Statistics_BUILD { index: number; human_index: number; + username: string; uncapped_xp?: number; } diff --git a/src/types/api/games/ctf.types.ts b/src/types/api/games/ctf.types.ts index 78a645e..a9fb70b 100644 --- a/src/types/api/games/ctf.types.ts +++ b/src/types/api/games/ctf.types.ts @@ -18,6 +18,7 @@ interface Statistics_CTF_AllTime extends Statistics_CTF { interface Statistics_CTF_Monthly extends Statistics_CTF { index: number; human_index: number; + username: string; uncapped_xp?: number; } diff --git a/src/types/api/games/dr.types.ts b/src/types/api/games/dr.types.ts index da0b0e0..667d7fc 100644 --- a/src/types/api/games/dr.types.ts +++ b/src/types/api/games/dr.types.ts @@ -17,6 +17,7 @@ interface Statistics_DR_AllTime extends Statistics_DR { interface Statistics_DR_Monthly extends Statistics_DR { index: number; human_index: number; + username: string; uncapped_xp?: number; } diff --git a/src/types/api/games/drop.types.ts b/src/types/api/games/drop.types.ts index 2b17378..a23252b 100644 --- a/src/types/api/games/drop.types.ts +++ b/src/types/api/games/drop.types.ts @@ -17,6 +17,7 @@ interface Statistics_DROP_AllTime extends Statistics_DROP { interface Statistics_DROP_Monthly extends Statistics_DROP { index: number; human_index: number; + username: string; uncapped_xp?: number; } diff --git a/src/types/api/games/grav.types.ts b/src/types/api/games/grav.types.ts index 23e526f..390ccf5 100644 --- a/src/types/api/games/grav.types.ts +++ b/src/types/api/games/grav.types.ts @@ -16,6 +16,7 @@ interface Statistics_GRAV_AllTime extends Statistics_GRAV { interface Statistics_GRAV_Monthly extends Statistics_GRAV { index: number; human_index: number; + username: string; uncapped_xp?: number; } diff --git a/src/types/api/games/ground.types.ts b/src/types/api/games/ground.types.ts index 6edd938..37c6735 100644 --- a/src/types/api/games/ground.types.ts +++ b/src/types/api/games/ground.types.ts @@ -18,6 +18,7 @@ interface Statistics_GROUND_AllTime extends Statistics_GROUND { interface Statistics_GROUND_Monthly extends Statistics_GROUND { index: number; human_index: number; + username: string; uncapped_xp?: number; } diff --git a/src/types/api/games/hide.types.ts b/src/types/api/games/hide.types.ts index 5c3b138..7baa0a2 100644 --- a/src/types/api/games/hide.types.ts +++ b/src/types/api/games/hide.types.ts @@ -16,6 +16,7 @@ interface Statistics_HIDE_AllTime extends Statistics_HIDE { interface Statistics_HIDE_Monthly extends Statistics_HIDE { index: number; human_index: number; + username: string; uncapped_xp?: number; } diff --git a/src/types/api/games/murder.types.ts b/src/types/api/games/murder.types.ts index 9399003..eb29bd3 100644 --- a/src/types/api/games/murder.types.ts +++ b/src/types/api/games/murder.types.ts @@ -18,6 +18,7 @@ interface Statistics_MURDER_AllTime extends Statistics_MURDER { interface Statistics_MURDER_Monthly extends Statistics_MURDER { index: number; human_index: number; + username: string; uncapped_xp?: number; } diff --git a/src/types/api/games/party.types.ts b/src/types/api/games/party.types.ts index 3680f9d..4078334 100644 --- a/src/types/api/games/party.types.ts +++ b/src/types/api/games/party.types.ts @@ -15,6 +15,7 @@ interface Statistics_PARTY_AllTime extends Statistics_PARTY { interface Statistics_PARTY_Monthly extends Statistics_PARTY { index: number; human_index: number; + username: string; uncapped_xp?: number; } diff --git a/src/types/api/games/sg.types.ts b/src/types/api/games/sg.types.ts index 80da8d6..71bc8b6 100644 --- a/src/types/api/games/sg.types.ts +++ b/src/types/api/games/sg.types.ts @@ -21,6 +21,7 @@ interface Statistics_SG_AllTime extends Statistics_SG { interface Statistics_SG_Monthly extends Statistics_SG { index: number; human_index: number; + username: string; uncapped_xp?: number; } diff --git a/src/types/api/games/sky.types.ts b/src/types/api/games/sky.types.ts index 490c10b..6b39828 100644 --- a/src/types/api/games/sky.types.ts +++ b/src/types/api/games/sky.types.ts @@ -18,6 +18,7 @@ interface Statistics_SKY_AllTime extends Statistics_SKY { interface Statistics_SKY_Monthly extends Statistics_SKY { index: number; human_index: number; + username: string; uncapped_xp?: number; } diff --git a/src/types/api/games/wars.types.ts b/src/types/api/games/wars.types.ts index 5d14118..78ffdd0 100644 --- a/src/types/api/games/wars.types.ts +++ b/src/types/api/games/wars.types.ts @@ -18,6 +18,7 @@ interface Statistics_WARS_AllTime extends Statistics_WARS { interface Statistics_WARS_Monthly extends Statistics_WARS { index: number; human_index: number; + username: string; uncapped_xp?: number; }