Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Fix First Played Typings
Browse files Browse the repository at this point in the history
  • Loading branch information
UCDFiddes committed Jan 24, 2024
1 parent c79dd0b commit d8bcd51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hive-bedrock-api",
"version": "1.0.9",
"version": "1.0.10",
"description": "An API wrapper for the Hive Minecraft Bedrock Edition server.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/types/GAMES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export interface BASE_GAME_ALL extends Omit<API_BASE_GAME_ALL, "first_played"> {
id: GAME;
level: number;
losses: number;
first_played: Date;
first_played: number;
win_percentage: number;
}
export interface BASE_GAME_MONTHLY extends API_BASE_GAME_MONTHLY {
Expand All @@ -71,7 +71,7 @@ export interface BASE_GAME_MONTHLY extends API_BASE_GAME_MONTHLY {
win_percentage: number;
}
export interface USER_MAIN extends Omit<API_USER_MAIN, "first_played"> {
first_played: Date;
first_played: number;
}

export interface GAME_HIDE extends API_GAME_HIDE {}
Expand Down

0 comments on commit d8bcd51

Please sign in to comment.