@blizzard-api/wow 0.0.5 → 0.0.6
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/dist/index.d.cts +26 -0
- package/dist/index.d.ts +26 -0
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -161,131 +161,157 @@ declare const wow: {
|
|
|
161
161
|
path: string;
|
|
162
162
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
163
163
|
parameters?: Record<string, string | number> | undefined;
|
|
164
|
+
_responseType?: void | undefined;
|
|
164
165
|
};
|
|
165
166
|
creatureDisplayMedia: (creatureDisplayId: number) => {
|
|
166
167
|
path: string;
|
|
167
168
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
168
169
|
parameters?: Record<string, string | number> | undefined;
|
|
170
|
+
_responseType?: void | undefined;
|
|
169
171
|
};
|
|
170
172
|
creatureFamily: (creatureFamilyId: number) => {
|
|
171
173
|
path: string;
|
|
172
174
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
173
175
|
parameters?: Record<string, string | number> | undefined;
|
|
176
|
+
_responseType?: void | undefined;
|
|
174
177
|
};
|
|
175
178
|
creatureFamilyIndex: () => {
|
|
176
179
|
path: string;
|
|
177
180
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
178
181
|
parameters?: Record<string, string | number> | undefined;
|
|
182
|
+
_responseType?: void | undefined;
|
|
179
183
|
};
|
|
180
184
|
creatureFamilyMedia: (creatureFamilyId: number) => {
|
|
181
185
|
path: string;
|
|
182
186
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
183
187
|
parameters?: Record<string, string | number> | undefined;
|
|
188
|
+
_responseType?: void | undefined;
|
|
184
189
|
};
|
|
185
190
|
creatureType: (creatureTypeId: number) => {
|
|
186
191
|
path: string;
|
|
187
192
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
188
193
|
parameters?: Record<string, string | number> | undefined;
|
|
194
|
+
_responseType?: void | undefined;
|
|
189
195
|
};
|
|
190
196
|
creatureTypeIndex: () => {
|
|
191
197
|
path: string;
|
|
192
198
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
193
199
|
parameters?: Record<string, string | number> | undefined;
|
|
200
|
+
_responseType?: void | undefined;
|
|
194
201
|
};
|
|
195
202
|
conduit: (conduitId: number) => {
|
|
196
203
|
path: string;
|
|
197
204
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
198
205
|
parameters?: Record<string, string | number> | undefined;
|
|
206
|
+
_responseType?: void | undefined;
|
|
199
207
|
};
|
|
200
208
|
conduitIndex: () => {
|
|
201
209
|
path: string;
|
|
202
210
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
203
211
|
parameters?: Record<string, string | number> | undefined;
|
|
212
|
+
_responseType?: void | undefined;
|
|
204
213
|
};
|
|
205
214
|
covenant: (covenantId: number) => {
|
|
206
215
|
path: string;
|
|
207
216
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
208
217
|
parameters?: Record<string, string | number> | undefined;
|
|
218
|
+
_responseType?: void | undefined;
|
|
209
219
|
};
|
|
210
220
|
covenantIndex: () => {
|
|
211
221
|
path: string;
|
|
212
222
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
213
223
|
parameters?: Record<string, string | number> | undefined;
|
|
224
|
+
_responseType?: void | undefined;
|
|
214
225
|
};
|
|
215
226
|
covenantMedia: (covenantId: number) => {
|
|
216
227
|
path: string;
|
|
217
228
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
218
229
|
parameters?: Record<string, string | number> | undefined;
|
|
230
|
+
_responseType?: void | undefined;
|
|
219
231
|
};
|
|
220
232
|
soulbind: (soulbindId: number) => {
|
|
221
233
|
path: string;
|
|
222
234
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
223
235
|
parameters?: Record<string, string | number> | undefined;
|
|
236
|
+
_responseType?: void | undefined;
|
|
224
237
|
};
|
|
225
238
|
soulbindIndex: () => {
|
|
226
239
|
path: string;
|
|
227
240
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
228
241
|
parameters?: Record<string, string | number> | undefined;
|
|
242
|
+
_responseType?: void | undefined;
|
|
229
243
|
};
|
|
230
244
|
connectedRealmIndex: () => {
|
|
231
245
|
path: string;
|
|
232
246
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
233
247
|
parameters?: Record<string, string | number> | undefined;
|
|
248
|
+
_responseType?: ConnectedRealmIndexResponse | undefined;
|
|
234
249
|
};
|
|
235
250
|
connectedRealm: (connectedRealmId: number) => {
|
|
236
251
|
path: string;
|
|
237
252
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
238
253
|
parameters?: Record<string, string | number> | undefined;
|
|
254
|
+
_responseType?: ConnectedRealmResponse | undefined;
|
|
239
255
|
};
|
|
240
256
|
azeriteEssence: (azeriteEssenceId: number) => {
|
|
241
257
|
path: string;
|
|
242
258
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
243
259
|
parameters?: Record<string, string | number> | undefined;
|
|
260
|
+
_responseType?: void | undefined;
|
|
244
261
|
};
|
|
245
262
|
azeriteEssenceIndex: () => {
|
|
246
263
|
path: string;
|
|
247
264
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
248
265
|
parameters?: Record<string, string | number> | undefined;
|
|
266
|
+
_responseType?: void | undefined;
|
|
249
267
|
};
|
|
250
268
|
azeriteEssenceMedia: (azeriteEssenceId: number) => {
|
|
251
269
|
path: string;
|
|
252
270
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
253
271
|
parameters?: Record<string, string | number> | undefined;
|
|
272
|
+
_responseType?: void | undefined;
|
|
254
273
|
};
|
|
255
274
|
auctions: (connectedRealmId: number) => {
|
|
256
275
|
path: string;
|
|
257
276
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
258
277
|
parameters?: Record<string, string | number> | undefined;
|
|
278
|
+
_responseType?: AuctionHouseResponse | undefined;
|
|
259
279
|
};
|
|
260
280
|
commodities: () => {
|
|
261
281
|
path: string;
|
|
262
282
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
263
283
|
parameters?: Record<string, string | number> | undefined;
|
|
284
|
+
_responseType?: AuctionHouseCommoditiesResponse | undefined;
|
|
264
285
|
};
|
|
265
286
|
achievementCategory: (achievementCategoryId: number) => {
|
|
266
287
|
path: string;
|
|
267
288
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
268
289
|
parameters?: Record<string, string | number> | undefined;
|
|
290
|
+
_responseType?: AchievementCategoryResponse | undefined;
|
|
269
291
|
};
|
|
270
292
|
achievementCategoryIndex: () => {
|
|
271
293
|
path: string;
|
|
272
294
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
273
295
|
parameters?: Record<string, string | number> | undefined;
|
|
296
|
+
_responseType?: AchievementCategoryIndexResponse | undefined;
|
|
274
297
|
};
|
|
275
298
|
achievement: (achievementId: number) => {
|
|
276
299
|
path: string;
|
|
277
300
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
278
301
|
parameters?: Record<string, string | number> | undefined;
|
|
302
|
+
_responseType?: AchievementResponse | undefined;
|
|
279
303
|
};
|
|
280
304
|
achievementIndex: () => {
|
|
281
305
|
path: string;
|
|
282
306
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
283
307
|
parameters?: Record<string, string | number> | undefined;
|
|
308
|
+
_responseType?: AchievementIndexResponse | undefined;
|
|
284
309
|
};
|
|
285
310
|
achievementMedia: (achievementId: number) => {
|
|
286
311
|
path: string;
|
|
287
312
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
288
313
|
parameters?: Record<string, string | number> | undefined;
|
|
314
|
+
_responseType?: AchievementMediaResponse | undefined;
|
|
289
315
|
};
|
|
290
316
|
};
|
|
291
317
|
|
package/dist/index.d.ts
CHANGED
|
@@ -161,131 +161,157 @@ declare const wow: {
|
|
|
161
161
|
path: string;
|
|
162
162
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
163
163
|
parameters?: Record<string, string | number> | undefined;
|
|
164
|
+
_responseType?: void | undefined;
|
|
164
165
|
};
|
|
165
166
|
creatureDisplayMedia: (creatureDisplayId: number) => {
|
|
166
167
|
path: string;
|
|
167
168
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
168
169
|
parameters?: Record<string, string | number> | undefined;
|
|
170
|
+
_responseType?: void | undefined;
|
|
169
171
|
};
|
|
170
172
|
creatureFamily: (creatureFamilyId: number) => {
|
|
171
173
|
path: string;
|
|
172
174
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
173
175
|
parameters?: Record<string, string | number> | undefined;
|
|
176
|
+
_responseType?: void | undefined;
|
|
174
177
|
};
|
|
175
178
|
creatureFamilyIndex: () => {
|
|
176
179
|
path: string;
|
|
177
180
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
178
181
|
parameters?: Record<string, string | number> | undefined;
|
|
182
|
+
_responseType?: void | undefined;
|
|
179
183
|
};
|
|
180
184
|
creatureFamilyMedia: (creatureFamilyId: number) => {
|
|
181
185
|
path: string;
|
|
182
186
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
183
187
|
parameters?: Record<string, string | number> | undefined;
|
|
188
|
+
_responseType?: void | undefined;
|
|
184
189
|
};
|
|
185
190
|
creatureType: (creatureTypeId: number) => {
|
|
186
191
|
path: string;
|
|
187
192
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
188
193
|
parameters?: Record<string, string | number> | undefined;
|
|
194
|
+
_responseType?: void | undefined;
|
|
189
195
|
};
|
|
190
196
|
creatureTypeIndex: () => {
|
|
191
197
|
path: string;
|
|
192
198
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
193
199
|
parameters?: Record<string, string | number> | undefined;
|
|
200
|
+
_responseType?: void | undefined;
|
|
194
201
|
};
|
|
195
202
|
conduit: (conduitId: number) => {
|
|
196
203
|
path: string;
|
|
197
204
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
198
205
|
parameters?: Record<string, string | number> | undefined;
|
|
206
|
+
_responseType?: void | undefined;
|
|
199
207
|
};
|
|
200
208
|
conduitIndex: () => {
|
|
201
209
|
path: string;
|
|
202
210
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
203
211
|
parameters?: Record<string, string | number> | undefined;
|
|
212
|
+
_responseType?: void | undefined;
|
|
204
213
|
};
|
|
205
214
|
covenant: (covenantId: number) => {
|
|
206
215
|
path: string;
|
|
207
216
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
208
217
|
parameters?: Record<string, string | number> | undefined;
|
|
218
|
+
_responseType?: void | undefined;
|
|
209
219
|
};
|
|
210
220
|
covenantIndex: () => {
|
|
211
221
|
path: string;
|
|
212
222
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
213
223
|
parameters?: Record<string, string | number> | undefined;
|
|
224
|
+
_responseType?: void | undefined;
|
|
214
225
|
};
|
|
215
226
|
covenantMedia: (covenantId: number) => {
|
|
216
227
|
path: string;
|
|
217
228
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
218
229
|
parameters?: Record<string, string | number> | undefined;
|
|
230
|
+
_responseType?: void | undefined;
|
|
219
231
|
};
|
|
220
232
|
soulbind: (soulbindId: number) => {
|
|
221
233
|
path: string;
|
|
222
234
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
223
235
|
parameters?: Record<string, string | number> | undefined;
|
|
236
|
+
_responseType?: void | undefined;
|
|
224
237
|
};
|
|
225
238
|
soulbindIndex: () => {
|
|
226
239
|
path: string;
|
|
227
240
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
228
241
|
parameters?: Record<string, string | number> | undefined;
|
|
242
|
+
_responseType?: void | undefined;
|
|
229
243
|
};
|
|
230
244
|
connectedRealmIndex: () => {
|
|
231
245
|
path: string;
|
|
232
246
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
233
247
|
parameters?: Record<string, string | number> | undefined;
|
|
248
|
+
_responseType?: ConnectedRealmIndexResponse | undefined;
|
|
234
249
|
};
|
|
235
250
|
connectedRealm: (connectedRealmId: number) => {
|
|
236
251
|
path: string;
|
|
237
252
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
238
253
|
parameters?: Record<string, string | number> | undefined;
|
|
254
|
+
_responseType?: ConnectedRealmResponse | undefined;
|
|
239
255
|
};
|
|
240
256
|
azeriteEssence: (azeriteEssenceId: number) => {
|
|
241
257
|
path: string;
|
|
242
258
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
243
259
|
parameters?: Record<string, string | number> | undefined;
|
|
260
|
+
_responseType?: void | undefined;
|
|
244
261
|
};
|
|
245
262
|
azeriteEssenceIndex: () => {
|
|
246
263
|
path: string;
|
|
247
264
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
248
265
|
parameters?: Record<string, string | number> | undefined;
|
|
266
|
+
_responseType?: void | undefined;
|
|
249
267
|
};
|
|
250
268
|
azeriteEssenceMedia: (azeriteEssenceId: number) => {
|
|
251
269
|
path: string;
|
|
252
270
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
253
271
|
parameters?: Record<string, string | number> | undefined;
|
|
272
|
+
_responseType?: void | undefined;
|
|
254
273
|
};
|
|
255
274
|
auctions: (connectedRealmId: number) => {
|
|
256
275
|
path: string;
|
|
257
276
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
258
277
|
parameters?: Record<string, string | number> | undefined;
|
|
278
|
+
_responseType?: AuctionHouseResponse | undefined;
|
|
259
279
|
};
|
|
260
280
|
commodities: () => {
|
|
261
281
|
path: string;
|
|
262
282
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
263
283
|
parameters?: Record<string, string | number> | undefined;
|
|
284
|
+
_responseType?: AuctionHouseCommoditiesResponse | undefined;
|
|
264
285
|
};
|
|
265
286
|
achievementCategory: (achievementCategoryId: number) => {
|
|
266
287
|
path: string;
|
|
267
288
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
268
289
|
parameters?: Record<string, string | number> | undefined;
|
|
290
|
+
_responseType?: AchievementCategoryResponse | undefined;
|
|
269
291
|
};
|
|
270
292
|
achievementCategoryIndex: () => {
|
|
271
293
|
path: string;
|
|
272
294
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
273
295
|
parameters?: Record<string, string | number> | undefined;
|
|
296
|
+
_responseType?: AchievementCategoryIndexResponse | undefined;
|
|
274
297
|
};
|
|
275
298
|
achievement: (achievementId: number) => {
|
|
276
299
|
path: string;
|
|
277
300
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
278
301
|
parameters?: Record<string, string | number> | undefined;
|
|
302
|
+
_responseType?: AchievementResponse | undefined;
|
|
279
303
|
};
|
|
280
304
|
achievementIndex: () => {
|
|
281
305
|
path: string;
|
|
282
306
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
283
307
|
parameters?: Record<string, string | number> | undefined;
|
|
308
|
+
_responseType?: AchievementIndexResponse | undefined;
|
|
284
309
|
};
|
|
285
310
|
achievementMedia: (achievementId: number) => {
|
|
286
311
|
path: string;
|
|
287
312
|
namespace?: _blizzard_api_core.BlizzardNamespaces | undefined;
|
|
288
313
|
parameters?: Record<string, string | number> | undefined;
|
|
314
|
+
_responseType?: AchievementMediaResponse | undefined;
|
|
289
315
|
};
|
|
290
316
|
};
|
|
291
317
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blizzard-api/wow",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Putro",
|
|
6
6
|
"description": "A series of helpers to interact with the World of Warcraft Blizzard API",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@blizzard-api/core": "0.0.
|
|
48
|
+
"@blizzard-api/core": "0.0.8"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@blizzard-api/core": "0.0.
|
|
51
|
+
"@blizzard-api/core": "0.0.8"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsup",
|