Skip to content

Commit

Permalink
Add types for /v2/account/homestead/glyphs
Browse files Browse the repository at this point in the history
  • Loading branch information
darthmaim committed Aug 24, 2024
1 parent e770961 commit 6e39a8a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-mirrors-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@gw2api/types": patch
---

Add types for `/v2/account/homestead/glyphs`
2 changes: 2 additions & 0 deletions packages/types/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export type KnownAuthenticatedEndpoint =
| '/v2/account/home/cats'
| '/v2/account/home/nodes'
| '/v2/account/homestead/decorations'
| '/v2/account/homestead/glyphs'
| '/v2/account/inventory'
| '/v2/account/jadebots'
| '/v2/account/legendaryarmory'
Expand Down Expand Up @@ -402,6 +403,7 @@ export type EndpointType<Url extends KnownEndpoint | (string & {}), Schema exten
Url extends '/v2/account/home/cats' ? AccountHomeCat<Schema>[] :
Url extends '/v2/account/home/nodes' ? string[] :
Url extends '/v2/account/homestead/decorations' ? AccountHomesteadDecoration[] :
Url extends '/v2/account/homestead/glyphs' ? string[] :
Url extends '/v2/account/inventory' ? AccountInventory :
Url extends '/v2/account/jadebots' ? number[] :
Url extends '/v2/account/legendaryarmory' ? AccountLegendaryarmory[] :
Expand Down

0 comments on commit 6e39a8a

Please sign in to comment.