-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add types for
/v2/home/cats
and /v2/home/nodes
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@gw2api/types": patch | ||
--- | ||
|
||
Add types for `/v2/home/cats` and `/v2/home/nodes` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* Cats (/v2/home/cats). | ||
* | ||
* @see https://wiki.guildwars2.com/wiki/API:2/home/cats | ||
*/ | ||
export interface HomeCat { | ||
/** The cat id */ | ||
id: number, | ||
|
||
/** The hint on how to obtain the cat */ | ||
hint: string, | ||
} | ||
|
||
/** | ||
* Home instance nodes (/v2/home/nodes). | ||
* | ||
* @see https://wiki.guildwars2.com/wiki/API:2/home/nodes | ||
*/ | ||
export interface HomeNode { | ||
/** The cat id */ | ||
id: string, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters