@blizzard-api/wow 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.cjs +425 -590
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +388 -388
- package/dist/index.d.ts +388 -388
- package/dist/index.js +284 -424
- package/dist/index.js.map +1 -1
- package/package.json +6 -4
package/dist/index.js
CHANGED
|
@@ -8,85 +8,85 @@ var achievementBase = `${base}/achievement`;
|
|
|
8
8
|
var achievementCategoryBase = `${base}/achievement-category`;
|
|
9
9
|
function achievementCategory(achievementCategoryId) {
|
|
10
10
|
return {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
namespace: "static",
|
|
12
|
+
path: `${achievementCategoryBase}/${achievementCategoryId}`
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
function achievementCategoryIndex() {
|
|
16
16
|
return {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
namespace: "static",
|
|
18
|
+
path: `${achievementCategoryBase}/index`
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
function achievement(achievementId) {
|
|
22
22
|
return {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
namespace: "static",
|
|
24
|
+
path: `${achievementBase}/${achievementId}`
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
function achievementIndex() {
|
|
28
28
|
return {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
namespace: "static",
|
|
30
|
+
path: `${achievementBase}/index`
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
function achievementMedia(achievementId) {
|
|
34
|
-
return { path: `${mediaBase}/achievement/${achievementId}
|
|
34
|
+
return { namespace: "static", path: `${mediaBase}/achievement/${achievementId}` };
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
// src/auction-house/auction-house.ts
|
|
38
38
|
function auctions(connectedRealmId) {
|
|
39
39
|
return {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
namespace: "dynamic",
|
|
41
|
+
path: `${base}/connected-realm/${connectedRealmId}/auctions`
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
function commodities() {
|
|
45
45
|
return {
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
namespace: "dynamic",
|
|
47
|
+
path: `${base}/auctions/commodities`
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
// src/azerite-essence/azerite-essence.ts
|
|
52
52
|
function azeriteEssence(azeriteEssenceId) {
|
|
53
53
|
return {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
namespace: "static",
|
|
55
|
+
path: `${base}/azerite-essence/${azeriteEssenceId}`
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
function azeriteEssenceIndex() {
|
|
59
59
|
return {
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
namespace: "static",
|
|
61
|
+
path: `${base}/azerite-essence/index`
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
function azeriteEssenceMedia(azeriteEssenceId) {
|
|
65
|
-
return { path: `${mediaBase}/azerite-essence/${azeriteEssenceId}
|
|
65
|
+
return { namespace: "static", path: `${mediaBase}/azerite-essence/${azeriteEssenceId}` };
|
|
66
66
|
}
|
|
67
67
|
function azeriteEssenceSearch(options) {
|
|
68
68
|
return {
|
|
69
|
-
path: `${searchBase}/azerite-essence`,
|
|
70
69
|
namespace: "static",
|
|
71
70
|
parameters: {
|
|
72
71
|
_page: options._page,
|
|
73
72
|
"allowed_specializations.id": options["allowed_specializations.id"],
|
|
74
73
|
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
75
|
-
}
|
|
74
|
+
},
|
|
75
|
+
path: `${searchBase}/azerite-essence`
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
// src/connected-realm/connected-realm.ts
|
|
80
80
|
function connectedRealmIndex() {
|
|
81
81
|
return {
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
namespace: "dynamic",
|
|
83
|
+
path: `${base}/connected-realm/index`
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
function connectedRealm(connectedRealmId) {
|
|
87
87
|
return {
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
namespace: "dynamic",
|
|
89
|
+
path: `${base}/connected-realm/${connectedRealmId}`
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
function connectedRealmSearch(options) {
|
|
@@ -95,8 +95,8 @@ function connectedRealmSearch(options) {
|
|
|
95
95
|
parameters: {
|
|
96
96
|
_page: options._page,
|
|
97
97
|
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby,
|
|
98
|
-
"
|
|
99
|
-
"
|
|
98
|
+
"realms.timezone": options["realms.timezone"],
|
|
99
|
+
"status.type": options["status.type"]
|
|
100
100
|
},
|
|
101
101
|
path: `${base}/search/connected-realm`
|
|
102
102
|
};
|
|
@@ -105,88 +105,88 @@ function connectedRealmSearch(options) {
|
|
|
105
105
|
// src/covenant/covenant.ts
|
|
106
106
|
function conduit(conduitId) {
|
|
107
107
|
return {
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
namespace: "static",
|
|
109
|
+
path: `${base}/covenant/conduit/${conduitId}`
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
function conduitIndex() {
|
|
113
113
|
return {
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
namespace: "static",
|
|
115
|
+
path: `${base}/covenant/conduit/index`
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
118
|
function covenant(covenantId) {
|
|
119
119
|
return {
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
namespace: "static",
|
|
121
|
+
path: `${base}/covenant/${covenantId}`
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
function covenantIndex() {
|
|
125
125
|
return {
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
namespace: "static",
|
|
127
|
+
path: `${base}/covenant/index`
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
function covenantMedia(covenantId) {
|
|
131
131
|
return {
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
namespace: "static",
|
|
133
|
+
path: `${mediaBase}/covenant/${covenantId}`
|
|
134
134
|
};
|
|
135
135
|
}
|
|
136
136
|
function soulbind(soulbindId) {
|
|
137
137
|
return {
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
namespace: "static",
|
|
139
|
+
path: `${base}/covenant/soulbind/${soulbindId}`
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
function soulbindIndex() {
|
|
143
143
|
return {
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
namespace: "static",
|
|
145
|
+
path: `${base}/covenant/soulbind/index`
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
// src/creature/creature.ts
|
|
150
150
|
function creature(creatureId) {
|
|
151
151
|
return {
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
namespace: "static",
|
|
153
|
+
path: `${base}/creature/${creatureId}`
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
156
|
function creatureDisplayMedia(creatureDisplayId) {
|
|
157
157
|
return {
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
namespace: "static",
|
|
159
|
+
path: `${mediaBase}/creature-display/${creatureDisplayId}`
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
function creatureFamily(creatureFamilyId) {
|
|
163
163
|
return {
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
namespace: "static",
|
|
165
|
+
path: `${base}/creature-family/${creatureFamilyId}`
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
168
|
function creatureFamilyIndex() {
|
|
169
169
|
return {
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
namespace: "static",
|
|
171
|
+
path: `${base}/creature-family/index`
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
function creatureFamilyMedia(creatureFamilyId) {
|
|
175
175
|
return {
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
namespace: "static",
|
|
177
|
+
path: `${mediaBase}/creature-family/${creatureFamilyId}`
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
180
|
function creatureType(creatureTypeId) {
|
|
181
181
|
return {
|
|
182
|
-
|
|
183
|
-
|
|
182
|
+
namespace: "static",
|
|
183
|
+
path: `${base}/creature-type/${creatureTypeId}`
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
186
|
function creatureTypeIndex() {
|
|
187
187
|
return {
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
namespace: "static",
|
|
189
|
+
path: `${base}/creature-type/index`
|
|
190
190
|
};
|
|
191
191
|
}
|
|
192
192
|
function creatureSearch(options) {
|
|
@@ -194,8 +194,8 @@ function creatureSearch(options) {
|
|
|
194
194
|
namespace: "static",
|
|
195
195
|
parameters: {
|
|
196
196
|
_page: options._page,
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
[`name.${options.locale}`]: options.name,
|
|
198
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
199
199
|
},
|
|
200
200
|
path: `${searchBase}/creature`
|
|
201
201
|
};
|
|
@@ -204,78 +204,78 @@ function creatureSearch(options) {
|
|
|
204
204
|
// src/guild-crest/guild-crest.ts
|
|
205
205
|
function guildCrestComponentsIndex() {
|
|
206
206
|
return {
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
namespace: "static",
|
|
208
|
+
path: `${base}/guild-crest/index`
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
211
|
function guildCrestBorder(borderId) {
|
|
212
212
|
return {
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
namespace: "static",
|
|
214
|
+
path: `${mediaBase}/guild-crest/border/${borderId}`
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
217
|
function guildCrestEmblem(emblemId) {
|
|
218
218
|
return {
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
namespace: "static",
|
|
220
|
+
path: `${mediaBase}/guild-crest/emblem/${emblemId}`
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
// src/heirloom/heirloom.ts
|
|
225
225
|
function heirloom(heirloomId) {
|
|
226
226
|
return {
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
namespace: "static",
|
|
228
|
+
path: `${base}/heirloom/${heirloomId}`
|
|
229
229
|
};
|
|
230
230
|
}
|
|
231
231
|
function heirloomIndex() {
|
|
232
232
|
return {
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
namespace: "static",
|
|
234
|
+
path: `${base}/heirloom/index`
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
// src/item/item.ts
|
|
239
239
|
function item(itemId) {
|
|
240
240
|
return {
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
namespace: "static",
|
|
242
|
+
path: `${base}/item/${itemId}`
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
245
|
function itemClass(itemClassId) {
|
|
246
246
|
return {
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
namespace: "static",
|
|
248
|
+
path: `${base}/item-class/${itemClassId}`
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
251
|
function itemSubClass(itemClassId, itemSubclassId) {
|
|
252
252
|
return {
|
|
253
|
-
|
|
254
|
-
|
|
253
|
+
namespace: "static",
|
|
254
|
+
path: `${base}/item-class/${itemClassId}/item-subclass/${itemSubclassId}`
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
257
|
function itemClassIndex() {
|
|
258
258
|
return {
|
|
259
|
-
|
|
260
|
-
|
|
259
|
+
namespace: "static",
|
|
260
|
+
path: `${base}/item-class/index`
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
263
|
function itemMedia(itemId) {
|
|
264
264
|
return {
|
|
265
|
-
|
|
266
|
-
|
|
265
|
+
namespace: "static",
|
|
266
|
+
path: `${mediaBase}/item/${itemId}`
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
269
|
function itemSet(itemSetId) {
|
|
270
270
|
return {
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
namespace: "static",
|
|
272
|
+
path: `${base}/item-set/${itemSetId}`
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
275
|
function itemSetIndex() {
|
|
276
276
|
return {
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
namespace: "static",
|
|
278
|
+
path: `${base}/item-set/index`
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
function itemSearch(options) {
|
|
@@ -283,8 +283,8 @@ function itemSearch(options) {
|
|
|
283
283
|
namespace: "static",
|
|
284
284
|
parameters: {
|
|
285
285
|
_page: options._page,
|
|
286
|
-
|
|
287
|
-
|
|
286
|
+
[`name.${options.locale}`]: options.name,
|
|
287
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
288
288
|
},
|
|
289
289
|
path: `${searchBase}/item`
|
|
290
290
|
};
|
|
@@ -293,14 +293,14 @@ function itemSearch(options) {
|
|
|
293
293
|
// src/journal/journal.ts
|
|
294
294
|
function journalEncounter(journalEncounterId) {
|
|
295
295
|
return {
|
|
296
|
-
|
|
297
|
-
|
|
296
|
+
namespace: "static",
|
|
297
|
+
path: `${base}/journal-encounter/${journalEncounterId}`
|
|
298
298
|
};
|
|
299
299
|
}
|
|
300
300
|
function journalEncounterIndex() {
|
|
301
301
|
return {
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
namespace: "static",
|
|
303
|
+
path: `${base}/journal-encounter/index`
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
306
|
function journalEncounterSearch(options) {
|
|
@@ -308,40 +308,40 @@ function journalEncounterSearch(options) {
|
|
|
308
308
|
namespace: "static",
|
|
309
309
|
parameters: {
|
|
310
310
|
_page: options._page,
|
|
311
|
-
|
|
312
|
-
|
|
311
|
+
[`instance.name.${options.locale}`]: options.instanceName,
|
|
312
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
313
313
|
},
|
|
314
314
|
path: `${searchBase}/journal-encounter`
|
|
315
315
|
};
|
|
316
316
|
}
|
|
317
317
|
function journalExpansion(journalExpansionId) {
|
|
318
318
|
return {
|
|
319
|
-
|
|
320
|
-
|
|
319
|
+
namespace: "static",
|
|
320
|
+
path: `${base}/journal-expansion/${journalExpansionId}`
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
323
|
function journalExpansionIndex() {
|
|
324
324
|
return {
|
|
325
|
-
|
|
326
|
-
|
|
325
|
+
namespace: "static",
|
|
326
|
+
path: `${base}/journal-expansion/index`
|
|
327
327
|
};
|
|
328
328
|
}
|
|
329
329
|
function journalInstance(journalInstanceId) {
|
|
330
330
|
return {
|
|
331
|
-
|
|
332
|
-
|
|
331
|
+
namespace: "static",
|
|
332
|
+
path: `${base}/journal-instance/${journalInstanceId}`
|
|
333
333
|
};
|
|
334
334
|
}
|
|
335
335
|
function journalInstanceIndex() {
|
|
336
336
|
return {
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
namespace: "static",
|
|
338
|
+
path: `${base}/journal-instance/index`
|
|
339
339
|
};
|
|
340
340
|
}
|
|
341
341
|
function journalInstanceMedia(journalInstanceId) {
|
|
342
342
|
return {
|
|
343
|
-
|
|
344
|
-
|
|
343
|
+
namespace: "static",
|
|
344
|
+
path: `${mediaBase}/journal-instance/${journalInstanceId}`
|
|
345
345
|
};
|
|
346
346
|
}
|
|
347
347
|
|
|
@@ -361,46 +361,46 @@ function mediaSearch(options) {
|
|
|
361
361
|
// src/modified-crafting/modified-crafting.ts
|
|
362
362
|
function modifiedCraftingCategory(modifiedCraftingCategoryId) {
|
|
363
363
|
return {
|
|
364
|
-
|
|
365
|
-
|
|
364
|
+
namespace: "static",
|
|
365
|
+
path: `${base}/modified-crafting/category/${modifiedCraftingCategoryId}`
|
|
366
366
|
};
|
|
367
367
|
}
|
|
368
368
|
function modifiedCraftingCategoryIndex() {
|
|
369
369
|
return {
|
|
370
|
-
|
|
371
|
-
|
|
370
|
+
namespace: "static",
|
|
371
|
+
path: `${base}/modified-crafting/category/index`
|
|
372
372
|
};
|
|
373
373
|
}
|
|
374
374
|
function modifiedCraftingIndex() {
|
|
375
375
|
return {
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
namespace: "static",
|
|
377
|
+
path: `${base}/modified-crafting/index`
|
|
378
378
|
};
|
|
379
379
|
}
|
|
380
380
|
function modifiedCraftingReagentSlotType(modifiedCraftingReagentSlotTypeId) {
|
|
381
381
|
return {
|
|
382
|
-
|
|
383
|
-
|
|
382
|
+
namespace: "static",
|
|
383
|
+
path: `${base}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}`
|
|
384
384
|
};
|
|
385
385
|
}
|
|
386
386
|
function modifiedCraftingReagentSlotTypeIndex() {
|
|
387
387
|
return {
|
|
388
|
-
|
|
389
|
-
|
|
388
|
+
namespace: "static",
|
|
389
|
+
path: `${base}/modified-crafting/reagent-slot-type/index`
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
// src/mount/mount.ts
|
|
394
394
|
function mount(mountId) {
|
|
395
395
|
return {
|
|
396
|
-
|
|
397
|
-
|
|
396
|
+
namespace: "static",
|
|
397
|
+
path: `${base}/mount/${mountId}`
|
|
398
398
|
};
|
|
399
399
|
}
|
|
400
400
|
function mountIndex() {
|
|
401
401
|
return {
|
|
402
|
-
|
|
403
|
-
|
|
402
|
+
namespace: "static",
|
|
403
|
+
path: `${base}/mount/index`
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
406
|
function mountSearch(options) {
|
|
@@ -408,8 +408,8 @@ function mountSearch(options) {
|
|
|
408
408
|
namespace: "static",
|
|
409
409
|
parameters: {
|
|
410
410
|
_page: options._page,
|
|
411
|
-
|
|
412
|
-
|
|
411
|
+
[`name.${options.locale}`]: options.name,
|
|
412
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
413
413
|
},
|
|
414
414
|
path: `${searchBase}/mount`
|
|
415
415
|
};
|
|
@@ -418,352 +418,352 @@ function mountSearch(options) {
|
|
|
418
418
|
// src/mythic-keystone-affix/mythic-keystone-affix.ts
|
|
419
419
|
function mythicKeystoneAffix(mythicKeystoneAffixId) {
|
|
420
420
|
return {
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
namespace: "static",
|
|
422
|
+
path: `${base}/keystone-affix/${mythicKeystoneAffixId}`
|
|
423
423
|
};
|
|
424
424
|
}
|
|
425
425
|
function mythicKeystoneAffixIndex() {
|
|
426
426
|
return {
|
|
427
|
-
|
|
428
|
-
|
|
427
|
+
namespace: "static",
|
|
428
|
+
path: `${base}/keystone-affix/index`
|
|
429
429
|
};
|
|
430
430
|
}
|
|
431
431
|
function mythicKeystoneAffixMedia(mythicKeystoneAffixId) {
|
|
432
432
|
return {
|
|
433
|
-
|
|
434
|
-
|
|
433
|
+
namespace: "static",
|
|
434
|
+
path: `${mediaBase}/keystone-affix/${mythicKeystoneAffixId}`
|
|
435
435
|
};
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
// src/mythic-keystone-dungeon/mythic-keystone-dungeon.ts
|
|
439
439
|
function mythicKeystoneDungeon(mythicKeystoneDungeonId) {
|
|
440
440
|
return {
|
|
441
|
-
|
|
442
|
-
|
|
441
|
+
namespace: "dynamic",
|
|
442
|
+
path: `${base}/mythic-keystone/dungeon/${mythicKeystoneDungeonId}`
|
|
443
443
|
};
|
|
444
444
|
}
|
|
445
445
|
function mythicKeystoneDungeonIndex() {
|
|
446
446
|
return {
|
|
447
|
-
|
|
448
|
-
|
|
447
|
+
namespace: "dynamic",
|
|
448
|
+
path: `${base}/mythic-keystone/dungeon/index`
|
|
449
449
|
};
|
|
450
450
|
}
|
|
451
451
|
function mythicKeystoneIndex() {
|
|
452
452
|
return {
|
|
453
|
-
|
|
454
|
-
|
|
453
|
+
namespace: "dynamic",
|
|
454
|
+
path: `${base}/mythic-keystone/index`
|
|
455
455
|
};
|
|
456
456
|
}
|
|
457
457
|
function mythicKeystonePeriod(mythicKeystonePeriodId) {
|
|
458
458
|
return {
|
|
459
|
-
|
|
460
|
-
|
|
459
|
+
namespace: "dynamic",
|
|
460
|
+
path: `${base}/mythic-keystone/period/${mythicKeystonePeriodId}`
|
|
461
461
|
};
|
|
462
462
|
}
|
|
463
463
|
function mythicKeystonePeriodIndex() {
|
|
464
464
|
return {
|
|
465
|
-
|
|
466
|
-
|
|
465
|
+
namespace: "dynamic",
|
|
466
|
+
path: `${base}/mythic-keystone/period/index`
|
|
467
467
|
};
|
|
468
468
|
}
|
|
469
469
|
function mythicKeystoneSeason(mythicKeystoneSeasonId) {
|
|
470
470
|
return {
|
|
471
|
-
|
|
472
|
-
|
|
471
|
+
namespace: "dynamic",
|
|
472
|
+
path: `${base}/mythic-keystone/season/${mythicKeystoneSeasonId}`
|
|
473
473
|
};
|
|
474
474
|
}
|
|
475
475
|
function mythicKeystoneSeasonIndex() {
|
|
476
476
|
return {
|
|
477
|
-
|
|
478
|
-
|
|
477
|
+
namespace: "dynamic",
|
|
478
|
+
path: `${base}/mythic-keystone/season/index`
|
|
479
479
|
};
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
// src/mythic-keystone-leaderboard/mythic-keystone-leaderboard.ts
|
|
483
483
|
function mythicKeystoneLeaderboard(connectedRealmId, dungeonId, period) {
|
|
484
484
|
return {
|
|
485
|
-
|
|
486
|
-
|
|
485
|
+
namespace: "dynamic",
|
|
486
|
+
path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/${dungeonId}/period/${period}`
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
489
|
function mythicKeystoneLeaderboardIndex(connectedRealmId) {
|
|
490
490
|
return {
|
|
491
|
-
|
|
492
|
-
|
|
491
|
+
namespace: "dynamic",
|
|
492
|
+
path: `${base}/connected-realm/${connectedRealmId}/mythic-leaderboard/index`
|
|
493
493
|
};
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
// src/mythic-raid-leaderboard/mythic-raid-leaderboard.ts
|
|
497
497
|
function mythicRaidLeaderboard(raid, faction) {
|
|
498
498
|
return {
|
|
499
|
-
|
|
500
|
-
|
|
499
|
+
namespace: "dynamic",
|
|
500
|
+
path: `${base}/leaderboard/hall-of-fame/${raid}/${faction}`
|
|
501
501
|
};
|
|
502
502
|
}
|
|
503
503
|
|
|
504
504
|
// src/pet/pet.ts
|
|
505
505
|
function pet(petId) {
|
|
506
506
|
return {
|
|
507
|
-
|
|
508
|
-
|
|
507
|
+
namespace: "static",
|
|
508
|
+
path: `${base}/pet/${petId}`
|
|
509
509
|
};
|
|
510
510
|
}
|
|
511
511
|
function petIndex() {
|
|
512
512
|
return {
|
|
513
|
-
|
|
514
|
-
|
|
513
|
+
namespace: "static",
|
|
514
|
+
path: `${base}/pet/index`
|
|
515
515
|
};
|
|
516
516
|
}
|
|
517
517
|
function petMedia(petId) {
|
|
518
518
|
return {
|
|
519
|
-
|
|
520
|
-
|
|
519
|
+
namespace: "static",
|
|
520
|
+
path: `${mediaBase}/pet/${petId}`
|
|
521
521
|
};
|
|
522
522
|
}
|
|
523
523
|
function petAbility(petAbilityId) {
|
|
524
524
|
return {
|
|
525
|
-
|
|
526
|
-
|
|
525
|
+
namespace: "static",
|
|
526
|
+
path: `${base}/pet-ability/${petAbilityId}`
|
|
527
527
|
};
|
|
528
528
|
}
|
|
529
529
|
function petAbilityIndex() {
|
|
530
530
|
return {
|
|
531
|
-
|
|
532
|
-
|
|
531
|
+
namespace: "static",
|
|
532
|
+
path: `${base}/pet-ability/index`
|
|
533
533
|
};
|
|
534
534
|
}
|
|
535
535
|
function petAbilityMedia(petAbilityId) {
|
|
536
536
|
return {
|
|
537
|
-
|
|
538
|
-
|
|
537
|
+
namespace: "static",
|
|
538
|
+
path: `${mediaBase}/pet-ability/${petAbilityId}`
|
|
539
539
|
};
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
// src/playable-class/playable-class.ts
|
|
543
543
|
function playableClass(playableClassId) {
|
|
544
544
|
return {
|
|
545
|
-
|
|
546
|
-
|
|
545
|
+
namespace: "static",
|
|
546
|
+
path: `${base}/playable-class/${playableClassId}`
|
|
547
547
|
};
|
|
548
548
|
}
|
|
549
549
|
function playableClassIndex() {
|
|
550
550
|
return {
|
|
551
|
-
|
|
552
|
-
|
|
551
|
+
namespace: "static",
|
|
552
|
+
path: `${base}/playable-class/index`
|
|
553
553
|
};
|
|
554
554
|
}
|
|
555
555
|
function playableClassMedia(playableClassId) {
|
|
556
556
|
return {
|
|
557
|
-
|
|
558
|
-
|
|
557
|
+
namespace: "static",
|
|
558
|
+
path: `${mediaBase}/playable-class/${playableClassId}`
|
|
559
559
|
};
|
|
560
560
|
}
|
|
561
561
|
function pvpTalentSlots(playableClassId) {
|
|
562
562
|
return {
|
|
563
|
-
|
|
564
|
-
|
|
563
|
+
namespace: "static",
|
|
564
|
+
path: `${base}/playable-class/${playableClassId}/pvp-talent-slots`
|
|
565
565
|
};
|
|
566
566
|
}
|
|
567
567
|
|
|
568
568
|
// src/playable-race/playable-race.ts
|
|
569
569
|
function playableRace(playableRaceId) {
|
|
570
570
|
return {
|
|
571
|
-
|
|
572
|
-
|
|
571
|
+
namespace: "static",
|
|
572
|
+
path: `${base}/playable-race/${playableRaceId}`
|
|
573
573
|
};
|
|
574
574
|
}
|
|
575
575
|
function playableRaceIndex() {
|
|
576
576
|
return {
|
|
577
|
-
|
|
578
|
-
|
|
577
|
+
namespace: "static",
|
|
578
|
+
path: `${base}/playable-race/index`
|
|
579
579
|
};
|
|
580
580
|
}
|
|
581
581
|
|
|
582
582
|
// src/playable-specialization/playable-specialization.ts
|
|
583
583
|
function playableSpecialization(specializationId) {
|
|
584
584
|
return {
|
|
585
|
-
|
|
586
|
-
|
|
585
|
+
namespace: "static",
|
|
586
|
+
path: `${base}/playable-specialization/${specializationId}`
|
|
587
587
|
};
|
|
588
588
|
}
|
|
589
589
|
function playableSpecializationIndex() {
|
|
590
590
|
return {
|
|
591
|
-
|
|
592
|
-
|
|
591
|
+
namespace: "static",
|
|
592
|
+
path: `${base}/playable-specialization/index`
|
|
593
593
|
};
|
|
594
594
|
}
|
|
595
595
|
function playableSpecializationMedia(specializationId) {
|
|
596
596
|
return {
|
|
597
|
-
|
|
598
|
-
|
|
597
|
+
namespace: "static",
|
|
598
|
+
path: `${mediaBase}/playable-specialization/${specializationId}`
|
|
599
599
|
};
|
|
600
600
|
}
|
|
601
601
|
|
|
602
602
|
// src/power-type/power-type.ts
|
|
603
603
|
function powerType(powerTypeId) {
|
|
604
604
|
return {
|
|
605
|
-
|
|
606
|
-
|
|
605
|
+
namespace: "static",
|
|
606
|
+
path: `${base}/power-type/${powerTypeId}`
|
|
607
607
|
};
|
|
608
608
|
}
|
|
609
609
|
function powerTypeIndex() {
|
|
610
610
|
return {
|
|
611
|
-
|
|
612
|
-
|
|
611
|
+
namespace: "static",
|
|
612
|
+
path: `${base}/power-type/index`
|
|
613
613
|
};
|
|
614
614
|
}
|
|
615
615
|
|
|
616
616
|
// src/profession/profession.ts
|
|
617
617
|
function profession(professionId) {
|
|
618
618
|
return {
|
|
619
|
-
|
|
620
|
-
|
|
619
|
+
namespace: "static",
|
|
620
|
+
path: `${base}/profession/${professionId}`
|
|
621
621
|
};
|
|
622
622
|
}
|
|
623
623
|
function professionIndex() {
|
|
624
624
|
return {
|
|
625
|
-
|
|
626
|
-
|
|
625
|
+
namespace: "static",
|
|
626
|
+
path: `${base}/profession/index`
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
629
|
function professionMedia(professionId) {
|
|
630
630
|
return {
|
|
631
|
-
|
|
632
|
-
|
|
631
|
+
namespace: "static",
|
|
632
|
+
path: `${mediaBase}/profession/${professionId}`
|
|
633
633
|
};
|
|
634
634
|
}
|
|
635
635
|
function professionSkillTier(professionId, skillTierId) {
|
|
636
636
|
return {
|
|
637
|
-
|
|
638
|
-
|
|
637
|
+
namespace: "static",
|
|
638
|
+
path: `${base}/profession/${professionId}/skill-tier/${skillTierId}`
|
|
639
639
|
};
|
|
640
640
|
}
|
|
641
641
|
function recipe(recipeId) {
|
|
642
642
|
return {
|
|
643
|
-
|
|
644
|
-
|
|
643
|
+
namespace: "static",
|
|
644
|
+
path: `${base}/recipe/${recipeId}`
|
|
645
645
|
};
|
|
646
646
|
}
|
|
647
647
|
function recipeMedia(recipeId) {
|
|
648
648
|
return {
|
|
649
|
-
|
|
650
|
-
|
|
649
|
+
namespace: "static",
|
|
650
|
+
path: `${mediaBase}/recipe/${recipeId}`
|
|
651
651
|
};
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
// src/pvp-season/pvp-season.ts
|
|
655
655
|
function pvpLeaderboard(pvpSeasonId, bracket) {
|
|
656
656
|
return {
|
|
657
|
-
|
|
658
|
-
|
|
657
|
+
namespace: "dynamic",
|
|
658
|
+
path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/${bracket}`
|
|
659
659
|
};
|
|
660
660
|
}
|
|
661
661
|
function pvpLeaderboardIndex(pvpSeasonId) {
|
|
662
662
|
return {
|
|
663
|
-
|
|
664
|
-
|
|
663
|
+
namespace: "dynamic",
|
|
664
|
+
path: `${base}/pvp-season/${pvpSeasonId}/pvp-leaderboard/index`
|
|
665
665
|
};
|
|
666
666
|
}
|
|
667
667
|
function pvpRewardsIndex(pvpSeasonId) {
|
|
668
668
|
return {
|
|
669
|
-
|
|
670
|
-
|
|
669
|
+
namespace: "dynamic",
|
|
670
|
+
path: `${base}/pvp-season/${pvpSeasonId}/pvp-reward/index`
|
|
671
671
|
};
|
|
672
672
|
}
|
|
673
673
|
function pvpSeason(pvpSeasonId) {
|
|
674
674
|
return {
|
|
675
|
-
|
|
676
|
-
|
|
675
|
+
namespace: "dynamic",
|
|
676
|
+
path: `${base}/pvp-season/${pvpSeasonId}`
|
|
677
677
|
};
|
|
678
678
|
}
|
|
679
679
|
function pvpSeasonIndex() {
|
|
680
680
|
return {
|
|
681
|
-
|
|
682
|
-
|
|
681
|
+
namespace: "dynamic",
|
|
682
|
+
path: `${base}/pvp-season/index`
|
|
683
683
|
};
|
|
684
684
|
}
|
|
685
685
|
|
|
686
686
|
// src/pvp-tier/pvp-tier.ts
|
|
687
687
|
function pvpTier(pvpTierId) {
|
|
688
688
|
return {
|
|
689
|
-
|
|
690
|
-
|
|
689
|
+
namespace: "static",
|
|
690
|
+
path: `${base}/pvp-tier/${pvpTierId}`
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
693
|
function pvpTierIndex() {
|
|
694
694
|
return {
|
|
695
|
-
|
|
696
|
-
|
|
695
|
+
namespace: "static",
|
|
696
|
+
path: `${base}/pvp-tier/index`
|
|
697
697
|
};
|
|
698
698
|
}
|
|
699
699
|
function pvpTierMedia(pvpTierId) {
|
|
700
700
|
return {
|
|
701
|
-
|
|
702
|
-
|
|
701
|
+
namespace: "static",
|
|
702
|
+
path: `${mediaBase}/pvp-tier/${pvpTierId}`
|
|
703
703
|
};
|
|
704
704
|
}
|
|
705
705
|
|
|
706
706
|
// src/quest/quest.ts
|
|
707
707
|
function quest(questId) {
|
|
708
708
|
return {
|
|
709
|
-
|
|
710
|
-
|
|
709
|
+
namespace: "static",
|
|
710
|
+
path: `${base}/quest/${questId}`
|
|
711
711
|
};
|
|
712
712
|
}
|
|
713
713
|
function questIndex() {
|
|
714
714
|
return {
|
|
715
|
-
|
|
716
|
-
|
|
715
|
+
namespace: "static",
|
|
716
|
+
path: `${base}/quest/index`
|
|
717
717
|
};
|
|
718
718
|
}
|
|
719
719
|
function questArea(questAreaId) {
|
|
720
720
|
return {
|
|
721
|
-
|
|
722
|
-
|
|
721
|
+
namespace: "static",
|
|
722
|
+
path: `${base}/quest/area/${questAreaId}`
|
|
723
723
|
};
|
|
724
724
|
}
|
|
725
725
|
function questAreaIndex() {
|
|
726
726
|
return {
|
|
727
|
-
|
|
728
|
-
|
|
727
|
+
namespace: "static",
|
|
728
|
+
path: `${base}/quest/area/index`
|
|
729
729
|
};
|
|
730
730
|
}
|
|
731
731
|
function questCategory(questCategoryId) {
|
|
732
732
|
return {
|
|
733
|
-
|
|
734
|
-
|
|
733
|
+
namespace: "static",
|
|
734
|
+
path: `${base}/quest/category/${questCategoryId}`
|
|
735
735
|
};
|
|
736
736
|
}
|
|
737
737
|
function questCategoryIndex() {
|
|
738
738
|
return {
|
|
739
|
-
|
|
740
|
-
|
|
739
|
+
namespace: "static",
|
|
740
|
+
path: `${base}/quest/category/index`
|
|
741
741
|
};
|
|
742
742
|
}
|
|
743
743
|
function questType(questTypeId) {
|
|
744
744
|
return {
|
|
745
|
-
|
|
746
|
-
|
|
745
|
+
namespace: "static",
|
|
746
|
+
path: `${base}/quest/type/${questTypeId}`
|
|
747
747
|
};
|
|
748
748
|
}
|
|
749
749
|
function questTypeIndex() {
|
|
750
750
|
return {
|
|
751
|
-
|
|
752
|
-
|
|
751
|
+
namespace: "static",
|
|
752
|
+
path: `${base}/quest/type/index`
|
|
753
753
|
};
|
|
754
754
|
}
|
|
755
755
|
|
|
756
756
|
// src/realm/realm.ts
|
|
757
757
|
function realm(realmSlug) {
|
|
758
758
|
return {
|
|
759
|
-
|
|
760
|
-
|
|
759
|
+
namespace: "dynamic",
|
|
760
|
+
path: `${base}/realm/${realmSlug}`
|
|
761
761
|
};
|
|
762
762
|
}
|
|
763
763
|
function realmIndex() {
|
|
764
764
|
return {
|
|
765
|
-
|
|
766
|
-
|
|
765
|
+
namespace: "dynamic",
|
|
766
|
+
path: `${base}/realm/index`
|
|
767
767
|
};
|
|
768
768
|
}
|
|
769
769
|
function realmSearch(options) {
|
|
@@ -781,54 +781,54 @@ function realmSearch(options) {
|
|
|
781
781
|
// src/region/region.ts
|
|
782
782
|
function region(regionId) {
|
|
783
783
|
return {
|
|
784
|
-
|
|
785
|
-
|
|
784
|
+
namespace: "dynamic",
|
|
785
|
+
path: `${base}/region/${regionId}`
|
|
786
786
|
};
|
|
787
787
|
}
|
|
788
788
|
function regionIndex() {
|
|
789
789
|
return {
|
|
790
|
-
|
|
791
|
-
|
|
790
|
+
namespace: "dynamic",
|
|
791
|
+
path: `${base}/region/index`
|
|
792
792
|
};
|
|
793
793
|
}
|
|
794
794
|
|
|
795
795
|
// src/reputations/reputations.ts
|
|
796
796
|
function reputationFaction(reputationFactionId) {
|
|
797
797
|
return {
|
|
798
|
-
|
|
799
|
-
|
|
798
|
+
namespace: "static",
|
|
799
|
+
path: `${base}/reputation-faction/${reputationFactionId}`
|
|
800
800
|
};
|
|
801
801
|
}
|
|
802
802
|
function reputationFactionIndex() {
|
|
803
803
|
return {
|
|
804
|
-
|
|
805
|
-
|
|
804
|
+
namespace: "static",
|
|
805
|
+
path: `${base}/reputation-faction/index`
|
|
806
806
|
};
|
|
807
807
|
}
|
|
808
808
|
function reputationTiers(reputationTiersId) {
|
|
809
809
|
return {
|
|
810
|
-
|
|
811
|
-
|
|
810
|
+
namespace: "static",
|
|
811
|
+
path: `${base}/reputation-tiers/${reputationTiersId}`
|
|
812
812
|
};
|
|
813
813
|
}
|
|
814
814
|
function reputationTiersIndex() {
|
|
815
815
|
return {
|
|
816
|
-
|
|
817
|
-
|
|
816
|
+
namespace: "static",
|
|
817
|
+
path: `${base}/reputation-tiers/index`
|
|
818
818
|
};
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
// src/spell/spell.ts
|
|
822
822
|
function spell(spellId) {
|
|
823
823
|
return {
|
|
824
|
-
|
|
825
|
-
|
|
824
|
+
namespace: "static",
|
|
825
|
+
path: `${base}/spell/${spellId}`
|
|
826
826
|
};
|
|
827
827
|
}
|
|
828
828
|
function spellMedia(spellId) {
|
|
829
829
|
return {
|
|
830
|
-
|
|
831
|
-
|
|
830
|
+
namespace: "static",
|
|
831
|
+
path: `${mediaBase}/spell/${spellId}`
|
|
832
832
|
};
|
|
833
833
|
}
|
|
834
834
|
function spellSearch(options) {
|
|
@@ -836,8 +836,8 @@ function spellSearch(options) {
|
|
|
836
836
|
namespace: "static",
|
|
837
837
|
parameters: {
|
|
838
838
|
_page: options._page,
|
|
839
|
-
|
|
840
|
-
|
|
839
|
+
[`name.${options.locale}`]: options.name,
|
|
840
|
+
orderby: Array.isArray(options.orderby) ? options.orderby.join(",") : options.orderby
|
|
841
841
|
},
|
|
842
842
|
path: `${searchBase}/spell`
|
|
843
843
|
};
|
|
@@ -846,112 +846,112 @@ function spellSearch(options) {
|
|
|
846
846
|
// src/talent/talent.ts
|
|
847
847
|
function pvpTalent(pvpTalentId) {
|
|
848
848
|
return {
|
|
849
|
-
|
|
850
|
-
|
|
849
|
+
namespace: "static",
|
|
850
|
+
path: `${base}/pvp-talent/${pvpTalentId}`
|
|
851
851
|
};
|
|
852
852
|
}
|
|
853
853
|
function pvpTalentIndex() {
|
|
854
854
|
return {
|
|
855
|
-
|
|
856
|
-
|
|
855
|
+
namespace: "static",
|
|
856
|
+
path: `${base}/pvp-talent/index`
|
|
857
857
|
};
|
|
858
858
|
}
|
|
859
859
|
function talent(talentId) {
|
|
860
860
|
return {
|
|
861
|
-
|
|
862
|
-
|
|
861
|
+
namespace: "static",
|
|
862
|
+
path: `${base}/talent/${talentId}`
|
|
863
863
|
};
|
|
864
864
|
}
|
|
865
865
|
function talentIndex() {
|
|
866
866
|
return {
|
|
867
|
-
|
|
868
|
-
|
|
867
|
+
namespace: "static",
|
|
868
|
+
path: `${base}/talent/index`
|
|
869
869
|
};
|
|
870
870
|
}
|
|
871
871
|
function talentTree(talentTreeId, specId) {
|
|
872
872
|
return {
|
|
873
|
-
|
|
874
|
-
|
|
873
|
+
namespace: "static",
|
|
874
|
+
path: `${base}/talent-tree/${talentTreeId}/playable-specialization/${specId}`
|
|
875
875
|
};
|
|
876
876
|
}
|
|
877
877
|
function talentTreeIndex() {
|
|
878
878
|
return {
|
|
879
|
-
|
|
880
|
-
|
|
879
|
+
namespace: "static",
|
|
880
|
+
path: `${base}/talent-tree/index`
|
|
881
881
|
};
|
|
882
882
|
}
|
|
883
883
|
function talentTreeNodes(talentTreeId) {
|
|
884
884
|
return {
|
|
885
|
-
|
|
886
|
-
|
|
885
|
+
namespace: "static",
|
|
886
|
+
path: `${base}/talent-tree/${talentTreeId}`
|
|
887
887
|
};
|
|
888
888
|
}
|
|
889
889
|
|
|
890
890
|
// src/tech-talent/tech-talent.ts
|
|
891
891
|
function techTalent(techTalentId) {
|
|
892
892
|
return {
|
|
893
|
-
|
|
894
|
-
|
|
893
|
+
namespace: "static",
|
|
894
|
+
path: `${base}/tech-talent/${techTalentId}`
|
|
895
895
|
};
|
|
896
896
|
}
|
|
897
897
|
function techTalentIndex() {
|
|
898
898
|
return {
|
|
899
|
-
|
|
900
|
-
|
|
899
|
+
namespace: "static",
|
|
900
|
+
path: `${base}/tech-talent/index`
|
|
901
901
|
};
|
|
902
902
|
}
|
|
903
903
|
function techTalentMedia(techTalentId) {
|
|
904
904
|
return {
|
|
905
|
-
|
|
906
|
-
|
|
905
|
+
namespace: "static",
|
|
906
|
+
path: `${mediaBase}/tech-talent/${techTalentId}`
|
|
907
907
|
};
|
|
908
908
|
}
|
|
909
909
|
function techTalentTree(techTalentTreeId) {
|
|
910
910
|
return {
|
|
911
|
-
|
|
912
|
-
|
|
911
|
+
namespace: "static",
|
|
912
|
+
path: `${base}/tech-talent-tree/${techTalentTreeId}`
|
|
913
913
|
};
|
|
914
914
|
}
|
|
915
915
|
function techTalentTreeIndex() {
|
|
916
916
|
return {
|
|
917
|
-
|
|
918
|
-
|
|
917
|
+
namespace: "static",
|
|
918
|
+
path: `${base}/tech-talent-tree/index`
|
|
919
919
|
};
|
|
920
920
|
}
|
|
921
921
|
|
|
922
922
|
// src/title/title.ts
|
|
923
923
|
function title(titleId) {
|
|
924
924
|
return {
|
|
925
|
-
|
|
926
|
-
|
|
925
|
+
namespace: "static",
|
|
926
|
+
path: `${base}/title/${titleId}`
|
|
927
927
|
};
|
|
928
928
|
}
|
|
929
929
|
function titleIndex() {
|
|
930
930
|
return {
|
|
931
|
-
|
|
932
|
-
|
|
931
|
+
namespace: "static",
|
|
932
|
+
path: `${base}/title/index`
|
|
933
933
|
};
|
|
934
934
|
}
|
|
935
935
|
|
|
936
936
|
// src/toy/toy.ts
|
|
937
937
|
function toy(toyId) {
|
|
938
938
|
return {
|
|
939
|
-
|
|
940
|
-
|
|
939
|
+
namespace: "static",
|
|
940
|
+
path: `${base}/toy/${toyId}`
|
|
941
941
|
};
|
|
942
942
|
}
|
|
943
943
|
function toyIndex() {
|
|
944
944
|
return {
|
|
945
|
-
|
|
946
|
-
|
|
945
|
+
namespace: "static",
|
|
946
|
+
path: `${base}/toy/index`
|
|
947
947
|
};
|
|
948
948
|
}
|
|
949
949
|
|
|
950
950
|
// src/wow-token/wow-token.ts
|
|
951
951
|
function wowToken() {
|
|
952
952
|
return {
|
|
953
|
-
|
|
954
|
-
|
|
953
|
+
namespace: "dynamic",
|
|
954
|
+
path: `${base}/token/index`
|
|
955
955
|
};
|
|
956
956
|
}
|
|
957
957
|
|
|
@@ -989,12 +989,12 @@ var wow = {
|
|
|
989
989
|
creatureFamily,
|
|
990
990
|
creatureFamilyIndex,
|
|
991
991
|
creatureFamilyMedia,
|
|
992
|
+
creatureSearch,
|
|
992
993
|
creatureType,
|
|
993
994
|
creatureTypeIndex,
|
|
994
|
-
creatureSearch,
|
|
995
995
|
//Guild Crest
|
|
996
|
-
guildCrestComponentsIndex,
|
|
997
996
|
guildCrestBorder,
|
|
997
|
+
guildCrestComponentsIndex,
|
|
998
998
|
guildCrestEmblem,
|
|
999
999
|
//Heirloom
|
|
1000
1000
|
heirloom,
|
|
@@ -1002,12 +1002,12 @@ var wow = {
|
|
|
1002
1002
|
//Item
|
|
1003
1003
|
item,
|
|
1004
1004
|
itemClass,
|
|
1005
|
-
itemSubClass,
|
|
1006
1005
|
itemClassIndex,
|
|
1007
1006
|
itemMedia,
|
|
1007
|
+
itemSearch,
|
|
1008
1008
|
itemSet,
|
|
1009
1009
|
itemSetIndex,
|
|
1010
|
-
|
|
1010
|
+
itemSubClass,
|
|
1011
1011
|
//Journal
|
|
1012
1012
|
journalEncounter,
|
|
1013
1013
|
journalEncounterIndex,
|
|
@@ -1048,11 +1048,11 @@ var wow = {
|
|
|
1048
1048
|
mythicRaidLeaderboard,
|
|
1049
1049
|
//Pet
|
|
1050
1050
|
pet,
|
|
1051
|
-
petIndex,
|
|
1052
|
-
petMedia,
|
|
1053
1051
|
petAbility,
|
|
1054
1052
|
petAbilityIndex,
|
|
1055
1053
|
petAbilityMedia,
|
|
1054
|
+
petIndex,
|
|
1055
|
+
petMedia,
|
|
1056
1056
|
//Playable Class
|
|
1057
1057
|
playableClass,
|
|
1058
1058
|
playableClassIndex,
|
|
@@ -1087,11 +1087,11 @@ var wow = {
|
|
|
1087
1087
|
pvpTierMedia,
|
|
1088
1088
|
//Quest
|
|
1089
1089
|
quest,
|
|
1090
|
-
questIndex,
|
|
1091
1090
|
questArea,
|
|
1092
1091
|
questAreaIndex,
|
|
1093
1092
|
questCategory,
|
|
1094
1093
|
questCategoryIndex,
|
|
1094
|
+
questIndex,
|
|
1095
1095
|
questType,
|
|
1096
1096
|
questTypeIndex,
|
|
1097
1097
|
//Realm
|
|
@@ -1132,147 +1132,7 @@ var wow = {
|
|
|
1132
1132
|
//WoW Token
|
|
1133
1133
|
wowToken
|
|
1134
1134
|
};
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
achievementCategoryIndex,
|
|
1139
|
-
achievementIndex,
|
|
1140
|
-
achievementMedia,
|
|
1141
|
-
auctions,
|
|
1142
|
-
azeriteEssence,
|
|
1143
|
-
azeriteEssenceIndex,
|
|
1144
|
-
azeriteEssenceMedia,
|
|
1145
|
-
azeriteEssenceSearch,
|
|
1146
|
-
commodities,
|
|
1147
|
-
conduit,
|
|
1148
|
-
conduitIndex,
|
|
1149
|
-
connectedRealm,
|
|
1150
|
-
connectedRealmIndex,
|
|
1151
|
-
connectedRealmSearch,
|
|
1152
|
-
covenant,
|
|
1153
|
-
covenantIndex,
|
|
1154
|
-
covenantMedia,
|
|
1155
|
-
creature,
|
|
1156
|
-
creatureDisplayMedia,
|
|
1157
|
-
creatureFamily,
|
|
1158
|
-
creatureFamilyIndex,
|
|
1159
|
-
creatureFamilyMedia,
|
|
1160
|
-
creatureSearch,
|
|
1161
|
-
creatureType,
|
|
1162
|
-
creatureTypeIndex,
|
|
1163
|
-
guildCrestBorder,
|
|
1164
|
-
guildCrestComponentsIndex,
|
|
1165
|
-
guildCrestEmblem,
|
|
1166
|
-
heirloom,
|
|
1167
|
-
heirloomIndex,
|
|
1168
|
-
item,
|
|
1169
|
-
itemClass,
|
|
1170
|
-
itemClassIndex,
|
|
1171
|
-
itemMedia,
|
|
1172
|
-
itemSearch,
|
|
1173
|
-
itemSet,
|
|
1174
|
-
itemSetIndex,
|
|
1175
|
-
itemSubClass,
|
|
1176
|
-
journalEncounter,
|
|
1177
|
-
journalEncounterIndex,
|
|
1178
|
-
journalEncounterSearch,
|
|
1179
|
-
journalExpansion,
|
|
1180
|
-
journalExpansionIndex,
|
|
1181
|
-
journalInstance,
|
|
1182
|
-
journalInstanceIndex,
|
|
1183
|
-
journalInstanceMedia,
|
|
1184
|
-
mediaSearch,
|
|
1185
|
-
modifiedCraftingCategory,
|
|
1186
|
-
modifiedCraftingCategoryIndex,
|
|
1187
|
-
modifiedCraftingIndex,
|
|
1188
|
-
modifiedCraftingReagentSlotType,
|
|
1189
|
-
modifiedCraftingReagentSlotTypeIndex,
|
|
1190
|
-
mount,
|
|
1191
|
-
mountIndex,
|
|
1192
|
-
mountSearch,
|
|
1193
|
-
mythicKeystoneAffix,
|
|
1194
|
-
mythicKeystoneAffixIndex,
|
|
1195
|
-
mythicKeystoneAffixMedia,
|
|
1196
|
-
mythicKeystoneDungeon,
|
|
1197
|
-
mythicKeystoneDungeonIndex,
|
|
1198
|
-
mythicKeystoneIndex,
|
|
1199
|
-
mythicKeystoneLeaderboard,
|
|
1200
|
-
mythicKeystoneLeaderboardIndex,
|
|
1201
|
-
mythicKeystonePeriod,
|
|
1202
|
-
mythicKeystonePeriodIndex,
|
|
1203
|
-
mythicKeystoneSeason,
|
|
1204
|
-
mythicKeystoneSeasonIndex,
|
|
1205
|
-
mythicRaidLeaderboard,
|
|
1206
|
-
pet,
|
|
1207
|
-
petAbility,
|
|
1208
|
-
petAbilityIndex,
|
|
1209
|
-
petAbilityMedia,
|
|
1210
|
-
petIndex,
|
|
1211
|
-
petMedia,
|
|
1212
|
-
playableClass,
|
|
1213
|
-
playableClassIndex,
|
|
1214
|
-
playableClassMedia,
|
|
1215
|
-
playableRace,
|
|
1216
|
-
playableRaceIndex,
|
|
1217
|
-
playableSpecialization,
|
|
1218
|
-
playableSpecializationIndex,
|
|
1219
|
-
playableSpecializationMedia,
|
|
1220
|
-
powerType,
|
|
1221
|
-
powerTypeIndex,
|
|
1222
|
-
profession,
|
|
1223
|
-
professionIndex,
|
|
1224
|
-
professionMedia,
|
|
1225
|
-
professionSkillTier,
|
|
1226
|
-
pvpLeaderboard,
|
|
1227
|
-
pvpLeaderboardIndex,
|
|
1228
|
-
pvpRewardsIndex,
|
|
1229
|
-
pvpSeason,
|
|
1230
|
-
pvpSeasonIndex,
|
|
1231
|
-
pvpTalent,
|
|
1232
|
-
pvpTalentIndex,
|
|
1233
|
-
pvpTalentSlots,
|
|
1234
|
-
pvpTier,
|
|
1235
|
-
pvpTierIndex,
|
|
1236
|
-
pvpTierMedia,
|
|
1237
|
-
quest,
|
|
1238
|
-
questArea,
|
|
1239
|
-
questAreaIndex,
|
|
1240
|
-
questCategory,
|
|
1241
|
-
questCategoryIndex,
|
|
1242
|
-
questIndex,
|
|
1243
|
-
questType,
|
|
1244
|
-
questTypeIndex,
|
|
1245
|
-
realm,
|
|
1246
|
-
realmIndex,
|
|
1247
|
-
realmSearch,
|
|
1248
|
-
recipe,
|
|
1249
|
-
recipeMedia,
|
|
1250
|
-
region,
|
|
1251
|
-
regionIndex,
|
|
1252
|
-
reputationFaction,
|
|
1253
|
-
reputationFactionIndex,
|
|
1254
|
-
reputationTiers,
|
|
1255
|
-
reputationTiersIndex,
|
|
1256
|
-
soulbind,
|
|
1257
|
-
soulbindIndex,
|
|
1258
|
-
spell,
|
|
1259
|
-
spellMedia,
|
|
1260
|
-
spellSearch,
|
|
1261
|
-
talent,
|
|
1262
|
-
talentIndex,
|
|
1263
|
-
talentTree,
|
|
1264
|
-
talentTreeIndex,
|
|
1265
|
-
talentTreeNodes,
|
|
1266
|
-
techTalent,
|
|
1267
|
-
techTalentIndex,
|
|
1268
|
-
techTalentMedia,
|
|
1269
|
-
techTalentTree,
|
|
1270
|
-
techTalentTreeIndex,
|
|
1271
|
-
title,
|
|
1272
|
-
titleIndex,
|
|
1273
|
-
toy,
|
|
1274
|
-
toyIndex,
|
|
1275
|
-
wow,
|
|
1276
|
-
wowToken
|
|
1277
|
-
};
|
|
1135
|
+
|
|
1136
|
+
export { achievement, achievementCategory, achievementCategoryIndex, achievementIndex, achievementMedia, auctions, azeriteEssence, azeriteEssenceIndex, azeriteEssenceMedia, azeriteEssenceSearch, commodities, conduit, conduitIndex, connectedRealm, connectedRealmIndex, connectedRealmSearch, covenant, covenantIndex, covenantMedia, creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex, guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem, heirloom, heirloomIndex, item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSet, itemSetIndex, itemSubClass, journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia, mediaSearch, modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex, mount, mountIndex, mountSearch, mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia, mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex, mythicRaidLeaderboard, pet, petAbility, petAbilityIndex, petAbilityMedia, petIndex, petMedia, playableClass, playableClassIndex, playableClassMedia, playableRace, playableRaceIndex, playableSpecialization, playableSpecializationIndex, playableSpecializationMedia, powerType, powerTypeIndex, profession, professionIndex, professionMedia, professionSkillTier, pvpLeaderboard, pvpLeaderboardIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex, pvpTalent, pvpTalentIndex, pvpTalentSlots, pvpTier, pvpTierIndex, pvpTierMedia, quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex, realm, realmIndex, realmSearch, recipe, recipeMedia, region, regionIndex, reputationFaction, reputationFactionIndex, reputationTiers, reputationTiersIndex, soulbind, soulbindIndex, spell, spellMedia, spellSearch, talent, talentIndex, talentTree, talentTreeIndex, talentTreeNodes, techTalent, techTalentIndex, techTalentMedia, techTalentTree, techTalentTreeIndex, title, titleIndex, toy, toyIndex, wow, wowToken };
|
|
1137
|
+
//# sourceMappingURL=out.js.map
|
|
1278
1138
|
//# sourceMappingURL=index.js.map
|