Skip to content

Commit

Permalink
Omit count from CharacterEquipmentEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
darthmaim committed Jul 29, 2024
1 parent 145a019 commit f28578c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/many-dolphins-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@gw2api/types": patch
---

Omit `count` from `CharacterEquipmentEntry`
2 changes: 1 addition & 1 deletion packages/types/data/character.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export type CharacterEquipmentEntry<Schema extends SchemaVersion = undefined> =
Schema extends SchemaAfter<'2019-12-19T00:00:00.000Z'> | 'latest' ? CharacterEquipmentEntry_2019_12_19 :
CharacterEquipmentEntryBase;

interface CharacterEquipmentEntryBase extends Omit<ItemStack, 'upgrade_slot_indices'> {
interface CharacterEquipmentEntryBase extends Omit<ItemStack, 'upgrade_slot_indices' | 'count'> {
/** The equipment slot in which the item is slotted. */
slot: EquipmentSlot;
}
Expand Down

0 comments on commit f28578c

Please sign in to comment.