UNPKG

@gw2api/types

Version:

TypeScript types for all datastructures used by the Guild Wars 2 API

13 lines (10 loc) 443 B
import type { ItemStack } from './item'; /** * Account shared inventory slots. * Required scopes: account, inventories * * @see https://wiki.guildwars2.com/wiki/API:2/account/inventory */ export type AccountInventory = Array<SharedInventoryItemStack | null>; // item stacks in the shared inventory can not be bound to a character export type SharedInventoryItemStack = Omit<ItemStack, 'binding' | 'bound_to'> & { binding?: 'Account' };