UNPKG

steamcommunity-inventory

Version:

A rate limit and response handler for steamcommunity inventories. - It's functional. - Will appreciate all feedback I can get

64 lines 1.59 kB
export declare type EconAction = { link: string; name: string; }; export declare type EconTag = { name?: string; category: string; internal_name: string; localized_category_name?: string; localized_tag_name?: string; color?: string; }; export declare type EconDescription = { value: string; color?: string; app_data?: { def_index: number; }; }; export declare type EconItem = { assetid: string; descriptions: EconDescription[]; tradable: number; name: string; type: string; market_name: string; market_hash_name: string; commodity: number; marketable: number; tags: EconTag[]; app_data?: { def_index: number; }; id: string; appid: number; contextid: string; instanceid: string; classid: string; fraudwarnings?: string[]; pos: number; icon_url: string; icon_url_large: string; amount?: string; currency?: number; actions: EconAction[]; market_actions?: EconAction[]; background_color: string; name_color: string; market_tradable_restriction: number; market_marketable_restriction: number; cache_expiration?: string; }; export declare type Asset = { id: string; classid: string; instanceid: string; amount: string; hide_in_china: number; pos: number; appid: number; contextid: string; }; export declare type Description = Omit<EconItem, 'amount' | 'pos' | 'hide_in_china'>; //# sourceMappingURL=types.d.ts.map