fetch item prices - throttle end points with promise queue

This commit is contained in:
2018-08-28 21:45:46 -05:00
parent 97acc0d4fa
commit 7ca8606284
17 changed files with 241 additions and 64 deletions

View File

@@ -1,6 +1,10 @@
import { IItemPrice } from './item-price';
export interface IItem {
category: any[];
corrupted: boolean;
descrText: string;
elder: boolean;
explicitMods: string[];
frameType: number;
h: number;
@@ -8,10 +12,15 @@ export interface IItem {
id: string;
identified: boolean;
ilvl: number;
implicitMods: string[];
inventoryId: string;
itemPrice?: IItemPrice;
league: string;
name: string;
properties: any[];
requirements: any[];
shaper: boolean;
sockets: any[];
stackSize?: number;
typeLine: string;
verified: boolean;