Repository navigation
Expand file tree
/
Copy pathinterface.ts
More file actions
148 lines (129 loc) · 2.23 KB
/
Copy pathinterface.ts
File metadata and controls
148 lines (129 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
interface WarframeItems {
payload: Payload;
}
interface Payload {
items: Item[];
}
interface Item {
item_name: string;
id: string;
market?: any;
thumb: string;
url_name: string;
vaulted?: boolean;
}
interface OrdersWarframe {
payload: Payload;
}
interface Payload {
orders: Order[];
}
interface Order {
visible: boolean;
mod_rank?: number;
platform: string;
creation_date: string;
quantity: number;
last_update: string;
order_type: string;
user: User;
platinum: number;
id: string;
region: string;
}
interface User {
reputation: number;
locale: string;
avatar?: string;
ingame_name: string;
last_seen: string;
id: string;
region: string;
status: string;
}
interface StatisticsWarframe {
payload: Payload;
}
interface Payload {
statistics_closed: Statisticsclosed;
statistics_live: Statisticslive;
}
interface Statisticslive {
'48hours': _48hour2[];
'90days': _48hour2[];
}
interface _48hour2 {
datetime: string;
volume: number;
min_price: number;
max_price: number;
avg_price: number;
wa_price: number;
median: number;
order_type: string;
id: string;
mod_rank: number;
}
interface Statisticsclosed {
'48hours': _48hour[];
'90days': _48hour[];
}
interface _48hour {
datetime: string;
volume: number;
min_price: number;
max_price: number;
open_price: number;
closed_price: number;
avg_price: number;
wa_price: number;
median: number;
donch_top: number;
donch_bot: number;
id: string;
mod_rank: number;
moving_avg?: number;
}
interface WarframeItemSingle {
payload: Payload;
}
interface Payload {
item: Item;
}
interface Item {
id: string;
items_in_set: Itemsinset[];
priceUpdate?: Date;
}
interface Itemsinset {
id: string;
thumb: string;
mod_max_rank: number;
url_name: string;
rarity: string;
icon_format: string;
sub_icon?: any;
icon: string;
tags: string[];
trading_tax: number;
en: En;
ru: En;
ko: En;
fr: En;
sv: En;
de: En;
'zh-hant': En;
'zh-hans': En;
pt: En;
es: En;
pl: En;
cs: En;
uk: En;
}
interface En {
item_name: string;
description: string;
wiki_link: string;
drop: any[];
}
export { Item, OrdersWarframe, StatisticsWarframe, WarframeItemSingle, WarframeItems };