Skip to content

Commit

Permalink
feat: add liberation fields to type definitions (#15)
Browse files Browse the repository at this point in the history
* feat: add new liberation statistic fields

Signed-off-by: Fabio Nettis <nettisfabio@gmail.com>

* chore(release): bump package to version 1.1.0

Signed-off-by: Fabio Nettis <nettisfabio@gmail.com>

---------

Signed-off-by: Fabio Nettis <nettisfabio@gmail.com>
  • Loading branch information
fabio-nettis committed Apr 5, 2024
1 parent 5dc7f25 commit 860f23e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "MIT",
"private": false,
"description": "The official SDK for HellHub API. Filter and collect data with full type safety out of the box.",
"version": "1.0.5",
"version": "1.1.0",
"main": "dist/index.mjs",
"types": "dist/index.d.ts",
"keywords": [
Expand Down
3 changes: 3 additions & 0 deletions types/api-entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ export interface Planet extends RemoteEntity {
orders?: Order[];
maxHealth: number;
players: number;
liberation: number;
liberationRate: number;
liberationState: "WINNING" | "DRAW" | "LOSING" | "N/A";
disabled: boolean;
positionX: number;
positionY: number;
Expand Down

0 comments on commit 860f23e

Please sign in to comment.