@blizzard-api/wow 4.0.3 → 4.0.4
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSearchParameters, Faction, KeyBase, Locales, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
1
|
+
import { BaseSearchParameters, Faction, Factions, Href, KeyBase, Locales, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
2
2
|
|
|
3
3
|
//#region src/journal/types.d.ts
|
|
4
4
|
/**
|
|
@@ -100,11 +100,12 @@ interface Creature extends NameId {
|
|
|
100
100
|
creature_display: CreatureDisplay;
|
|
101
101
|
description?: string;
|
|
102
102
|
}
|
|
103
|
-
interface CreatureDisplay
|
|
103
|
+
interface CreatureDisplay {
|
|
104
104
|
id: number;
|
|
105
|
+
key?: Href;
|
|
105
106
|
}
|
|
106
107
|
type EncounterCategory = 'DUNGEON' | 'EVENT' | 'RAID' | 'WORLD_BOSS';
|
|
107
|
-
type EncounterMode = 'HEROIC' | 'LFR' | 'MYTHIC' | 'NORMAL';
|
|
108
|
+
type EncounterMode = 'HEROIC' | 'LFR' | 'MYTHIC' | 'MYTHIC_KEYSTONE' | 'NORMAL';
|
|
108
109
|
interface Item {
|
|
109
110
|
id: number;
|
|
110
111
|
item: NameIdKey;
|
|
@@ -127,6 +128,10 @@ interface JournalEncounterSearchResponseItem extends KeyBase {
|
|
|
127
128
|
data: {
|
|
128
129
|
category: Category;
|
|
129
130
|
creatures: Array<JournalEncounterSearchCreature>;
|
|
131
|
+
faction?: {
|
|
132
|
+
name: Record<Locales, string>;
|
|
133
|
+
type: Factions;
|
|
134
|
+
};
|
|
130
135
|
id: number;
|
|
131
136
|
instance: {
|
|
132
137
|
id: number;
|
|
@@ -138,7 +143,7 @@ interface JournalEncounterSearchResponseItem extends KeyBase {
|
|
|
138
143
|
type: EncounterMode;
|
|
139
144
|
}>;
|
|
140
145
|
name: Record<Locales, string>;
|
|
141
|
-
sections?: Array<
|
|
146
|
+
sections?: Array<JournalSectionSearch>;
|
|
142
147
|
};
|
|
143
148
|
}
|
|
144
149
|
interface JournalSection {
|
|
@@ -152,6 +157,17 @@ interface JournalSection {
|
|
|
152
157
|
};
|
|
153
158
|
title?: null | string;
|
|
154
159
|
}
|
|
160
|
+
interface JournalSectionSearch {
|
|
161
|
+
body_text?: null | string;
|
|
162
|
+
creature_display?: CreatureDisplay;
|
|
163
|
+
id: number;
|
|
164
|
+
sections?: Array<JournalSubSectionSearch>;
|
|
165
|
+
spell?: KeyBase & {
|
|
166
|
+
id: number;
|
|
167
|
+
name?: string;
|
|
168
|
+
};
|
|
169
|
+
title?: Record<Locales, string>;
|
|
170
|
+
}
|
|
155
171
|
interface JournalSubSection {
|
|
156
172
|
body_text?: null | string;
|
|
157
173
|
creature_display?: CreatureDisplay;
|
|
@@ -217,6 +233,71 @@ interface JournalSubSection6 {
|
|
|
217
233
|
};
|
|
218
234
|
title?: string;
|
|
219
235
|
}
|
|
236
|
+
interface JournalSubSectionSearch {
|
|
237
|
+
body_text?: null | string;
|
|
238
|
+
creature_display?: CreatureDisplay;
|
|
239
|
+
id: number;
|
|
240
|
+
sections?: Array<JournalSubSectionSearch2>;
|
|
241
|
+
spell?: KeyBase & {
|
|
242
|
+
id: number;
|
|
243
|
+
name?: string;
|
|
244
|
+
};
|
|
245
|
+
title?: Record<Locales, string>;
|
|
246
|
+
}
|
|
247
|
+
interface JournalSubSectionSearch2 {
|
|
248
|
+
body_text?: null | string;
|
|
249
|
+
creature_display?: CreatureDisplay;
|
|
250
|
+
id: number;
|
|
251
|
+
sections?: Array<JournalSubSectionSearch3>;
|
|
252
|
+
spell?: KeyBase & {
|
|
253
|
+
id: number;
|
|
254
|
+
name?: string;
|
|
255
|
+
};
|
|
256
|
+
title?: Record<Locales, string>;
|
|
257
|
+
}
|
|
258
|
+
interface JournalSubSectionSearch3 {
|
|
259
|
+
body_text?: null | string;
|
|
260
|
+
creature_display?: CreatureDisplay;
|
|
261
|
+
id: number;
|
|
262
|
+
sections?: Array<JournalSubSectionSearch4>;
|
|
263
|
+
spell?: KeyBase & {
|
|
264
|
+
id: number;
|
|
265
|
+
name?: string;
|
|
266
|
+
};
|
|
267
|
+
title?: Record<Locales, string>;
|
|
268
|
+
}
|
|
269
|
+
interface JournalSubSectionSearch4 {
|
|
270
|
+
body_text?: null | string;
|
|
271
|
+
creature_display?: CreatureDisplay;
|
|
272
|
+
id: number;
|
|
273
|
+
sections?: Array<JournalSubSectionSearch5>;
|
|
274
|
+
spell?: KeyBase & {
|
|
275
|
+
id: number;
|
|
276
|
+
name?: string;
|
|
277
|
+
};
|
|
278
|
+
title?: Record<Locales, string>;
|
|
279
|
+
}
|
|
280
|
+
interface JournalSubSectionSearch5 {
|
|
281
|
+
body_text?: null | string;
|
|
282
|
+
creature_display?: CreatureDisplay;
|
|
283
|
+
id: number;
|
|
284
|
+
sections?: Array<JournalSubSectionSearch6>;
|
|
285
|
+
spell?: KeyBase & {
|
|
286
|
+
id: number;
|
|
287
|
+
name?: string;
|
|
288
|
+
};
|
|
289
|
+
title?: Record<Locales, string>;
|
|
290
|
+
}
|
|
291
|
+
interface JournalSubSectionSearch6 {
|
|
292
|
+
body_text?: null | string;
|
|
293
|
+
creature_display?: CreatureDisplay;
|
|
294
|
+
id: number;
|
|
295
|
+
spell?: KeyBase & {
|
|
296
|
+
id: number;
|
|
297
|
+
name?: string;
|
|
298
|
+
};
|
|
299
|
+
title?: string;
|
|
300
|
+
}
|
|
220
301
|
interface Media extends KeyBase {
|
|
221
302
|
id: number;
|
|
222
303
|
}
|
|
@@ -280,4 +361,4 @@ declare function journalInstanceIndex(): Resource<JournalInstanceIndexResponse>;
|
|
|
280
361
|
declare function journalInstanceMedia(journalInstanceId: number): Resource<JournalInstanceMediaResponse>;
|
|
281
362
|
//#endregion
|
|
282
363
|
export { JournalInstanceResponse as _, journalExpansionIndex as a, journalInstanceMedia as c, JournalEncounterSearchParameters as d, JournalEncounterSearchResponse as f, JournalInstanceMediaResponse as g, JournalInstanceIndexResponse as h, journalExpansion as i, JournalEncounterIndexResponse as l, JournalExpansionResponse as m, journalEncounterIndex as n, journalInstance as o, JournalExpansionIndexResponse as p, journalEncounterSearch as r, journalInstanceIndex as s, journalEncounter as t, JournalEncounterResponse as u };
|
|
283
|
-
//# sourceMappingURL=index-
|
|
364
|
+
//# sourceMappingURL=index-CnUQDcQw.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ import { a as GuildAchievementsResponse, c as GuildRosterResponse, i as guildRos
|
|
|
28
28
|
import { i as HeirloomResponse, n as heirloomIndex, r as HeirloomIndexResponse, t as heirloom } from "./index-ZAJGdEvm.js";
|
|
29
29
|
import { C as RoomIndexReponse, S as GenericDecorSearchParameters, T as RoomSearchResponse, _ as FixtureHookResponse, a as fixtureHook, b as FixtureResponse, c as fixtureIndex, d as roomIndex, f as roomSearch, g as FixtureHookIndexResponse, h as DecorSearchResponse, i as fixture, l as fixtureSearch, m as DecorResponse, n as decorIndex, o as fixtureHookIndex, p as DecorIndexResponse, r as decorSearch, s as fixtureHookSearch, t as decor, u as room, v as FixtureHookSearchResponse, w as RoomResponse, x as FixtureSearchResponse, y as FixtureIndexResponse } from "./index-CMDZfaJk.js";
|
|
30
30
|
import { _ as ItemSubClassResponse, a as itemSearch, c as itemSubClass, d as ItemMediaResponse, f as ItemResponse, g as ItemSetResponse, h as ItemSetIndexResponse, i as itemMedia, l as ItemClassIndexResponse, m as ItemSearchResponse, n as itemClass, o as itemSet, p as ItemSearchParameters, r as itemClassIndex, s as itemSetIndex, t as item, u as ItemClassResponse } from "./index-CP1gTrDv.js";
|
|
31
|
-
import { _ as JournalInstanceResponse, a as journalExpansionIndex, c as journalInstanceMedia, d as JournalEncounterSearchParameters, f as JournalEncounterSearchResponse, g as JournalInstanceMediaResponse, h as JournalInstanceIndexResponse, i as journalExpansion, l as JournalEncounterIndexResponse, m as JournalExpansionResponse, n as journalEncounterIndex, o as journalInstance, p as JournalExpansionIndexResponse, r as journalEncounterSearch, s as journalInstanceIndex, t as journalEncounter, u as JournalEncounterResponse } from "./index-
|
|
31
|
+
import { _ as JournalInstanceResponse, a as journalExpansionIndex, c as journalInstanceMedia, d as JournalEncounterSearchParameters, f as JournalEncounterSearchResponse, g as JournalInstanceMediaResponse, h as JournalInstanceIndexResponse, i as journalExpansion, l as JournalEncounterIndexResponse, m as JournalExpansionResponse, n as journalEncounterIndex, o as journalInstance, p as JournalExpansionIndexResponse, r as journalEncounterSearch, s as journalInstanceIndex, t as journalEncounter, u as JournalEncounterResponse } from "./index-CnUQDcQw.js";
|
|
32
32
|
import { n as MediaSearchParameters, r as MediaSearchResponse, t as mediaSearch } from "./index-DDHIN-u0.js";
|
|
33
33
|
import { a as modifiedCraftingReagentSlotTypeIndex, c as ModifiedCraftingIndexResponse, i as modifiedCraftingReagentSlotType, l as ModifiedCraftingReagentSlotTypeIndexResponse, n as modifiedCraftingCategoryIndex, o as ModifiedCraftingCategoryIndexResponse, r as modifiedCraftingIndex, s as ModifiedCraftingCategoryResponse, t as modifiedCraftingCategory, u as ModifiedCraftingReagentSlotTypeResponse } from "./index-DxEXkR_n.js";
|
|
34
34
|
import { a as MountResponse, i as MountIndexResponse, n as mountIndex, o as MountSearchParameters, r as mountSearch, s as MountSearchResponse, t as mount } from "./index-CH3CudPP.js";
|
package/dist/journal/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as journalExpansionIndex, c as journalInstanceMedia, i as journalExpansion, n as journalEncounterIndex, o as journalInstance, r as journalEncounterSearch, s as journalInstanceIndex, t as journalEncounter } from "../index-
|
|
1
|
+
import { a as journalExpansionIndex, c as journalInstanceMedia, i as journalExpansion, n as journalEncounterIndex, o as journalInstance, r as journalEncounterSearch, s as journalInstanceIndex, t as journalEncounter } from "../index-CnUQDcQw.js";
|
|
2
2
|
export { journalEncounter, journalEncounterIndex, journalEncounterSearch, journalExpansion, journalExpansionIndex, journalInstance, journalInstanceIndex, journalInstanceMedia };
|