Skip to content

Commit

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

Export `SharedInventoryItemStack`
2 changes: 1 addition & 1 deletion packages/types/data/account-inventory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ import type { ItemStack } from './item';
export type AccountInventory = Array<SharedInventoryItemStack | null>;

// item stacks in the shared inventory can not be bound to a character
type SharedInventoryItemStack = Omit<ItemStack, 'binding' | 'bound_to'> & { binding?: 'Account' };
export type SharedInventoryItemStack = Omit<ItemStack, 'binding' | 'bound_to'> & { binding?: 'Account' };

0 comments on commit 145a019

Please sign in to comment.