deepsight.gg 1.0.79
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/DeepsightDropTableDefinition.json +2458 -0
- package/DeepsightMomentDefinition.json +450 -0
- package/DeepsightPlugCategorisation.d.ts +225 -0
- package/DeepsightPlugCategorisation.json +87836 -0
- package/DeepsightPlugCategorisation.ts +225 -0
- package/DeepsightTierTypeDefinition.json +100 -0
- package/DeepsightVendorDefinition.json +97073 -0
- package/DeepsightWallpaperDefinition.json +392 -0
- package/Enums.d.ts +51837 -0
- package/Interfaces.d.ts +317 -0
- package/README.md +20 -0
- package/package.json +24 -0
- package/versions.json +20 -0
package/Interfaces.d.ts
ADDED
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import type { DestinyDisplayPropertiesDefinition, DestinyItemComponentSetOfint32, DestinyItemQuantity, DestinyVendorCategoryEntryDefinition, DestinyVendorItemDefinition, DestinyVendorLocationDefinition, DictionaryComponentResponse, TierType } from "bungie-api-ts/destiny2";
|
|
2
|
+
import type { ActivityHashes, ActivityModifierHashes, EventCardHashes, InventoryItemHashes, ItemTierTypeHashes, MomentHashes, SeasonHashes, VendorGroupHashes, VendorHashes } from "./Enums";
|
|
3
|
+
|
|
4
|
+
export declare type ISOString = `${bigint}-${"0" | ""}${bigint}-${"0" | ""}${bigint}T${"0" | ""}${bigint}:${"0" | ""}${bigint}:${"0" | ""}${bigint}Z`;
|
|
5
|
+
|
|
6
|
+
export declare interface DeepsightManifest {
|
|
7
|
+
/**
|
|
8
|
+
* This number increments whenever any other property changes (excluding Destiny2/Manifest)
|
|
9
|
+
*/
|
|
10
|
+
deepsight: number;
|
|
11
|
+
/**
|
|
12
|
+
* A datetime string in the ISO format, yyyy-mm-ddThh:mm:ssZ, representing the last time any property has changed
|
|
13
|
+
*/
|
|
14
|
+
updated: ISOString;
|
|
15
|
+
|
|
16
|
+
DeepsightDropTableDefinition: number;
|
|
17
|
+
DeepsightMomentDefinition: number;
|
|
18
|
+
DeepsightPlugCategorisation: number;
|
|
19
|
+
DeepsightWallpaperDefinition: number;
|
|
20
|
+
DeepsightTierTypeDefinition: number;
|
|
21
|
+
Enums: number;
|
|
22
|
+
Interfaces: number;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The version of the Destiny manifest the current deepsight manifest supports
|
|
26
|
+
*/
|
|
27
|
+
"Destiny2/Manifest": string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* A datetime string in the ISO format, yyyy-mm-ddThh:mm:ssZ, representing the last daily reset from when this manifest was last updated.
|
|
31
|
+
*
|
|
32
|
+
* **Note that this is only set after 30 minutes, at minimum, sometimes longer.**
|
|
33
|
+
*/
|
|
34
|
+
lastDailyReset: ISOString;
|
|
35
|
+
/**
|
|
36
|
+
* A datetime string in the ISO format, yyyy-mm-ddThh:mm:ssZ, representing the last weekly reset from when this manifest was last updated.
|
|
37
|
+
*
|
|
38
|
+
* **Note that this is only set after 30 minutes, at minimum, sometimes longer.**
|
|
39
|
+
*/
|
|
40
|
+
lastWeeklyReset: ISOString;
|
|
41
|
+
/**
|
|
42
|
+
* A datetime string in the ISO format, yyyy-mm-ddThh:mm:ssZ, representing the last Trials reset from when this manifest was last updated.
|
|
43
|
+
* When Trials is not active, this is the start of Trials on the previous week.
|
|
44
|
+
*
|
|
45
|
+
* **Note that this does not take into account weeks when Trials is not active at all, such as when Iron Banner replaces it.**
|
|
46
|
+
*
|
|
47
|
+
* **Note that this is only set after 30 minutes, at minimum, sometimes longer.**
|
|
48
|
+
*/
|
|
49
|
+
lastTrialsReset: ISOString;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The `instanceId` and `period` datetime of a PGCR created since the last daily reset.
|
|
53
|
+
*
|
|
54
|
+
* **Note that this is only set after 30 minutes, at minimum, sometimes longer.**
|
|
55
|
+
*
|
|
56
|
+
* For reference, the PGCR chosen is generally not notable in any way,
|
|
57
|
+
* it's simply the first PGCR that a binary search happened to stumble upon in the correct day.
|
|
58
|
+
*/
|
|
59
|
+
referencePostGameCarnageReportSinceDailyReset: DeepsightManifestReferencePGCR;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export declare interface DeepsightManifestReferencePGCR {
|
|
63
|
+
instanceId: `${bigint}`;
|
|
64
|
+
period: ISOString;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export declare interface DeepsightDisplayPropertiesDefinition {
|
|
68
|
+
name?: string;
|
|
69
|
+
description?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Icon paths are guaranteed to either be via Bungie.net or deepsight.gg.
|
|
72
|
+
* - Bungie.net icon paths always begin with `/` and should be appended to `https://www.bungie.net`
|
|
73
|
+
* - deepsight.gg icon paths always begin with `./` should be joined with `https://deepsight.gg`
|
|
74
|
+
*/
|
|
75
|
+
icon?: DeepsightIconPath | BungieIconPath;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export declare type DeepsightIconPath = `./${string}`;
|
|
79
|
+
export declare type BungieIconPath = `/${string}`;
|
|
80
|
+
|
|
81
|
+
export declare interface DeepsightDropTableDefinition {
|
|
82
|
+
/**
|
|
83
|
+
* `DestinyActivityDefinition` hash.
|
|
84
|
+
* Refers to the version of the activity that's always available.
|
|
85
|
+
*/
|
|
86
|
+
hash: ActivityHashes;
|
|
87
|
+
/**
|
|
88
|
+
* `DestinyActivityDefinition` hash.
|
|
89
|
+
* Refers to the version of the activity that rotates in (if different.)
|
|
90
|
+
*
|
|
91
|
+
* In the case of raids, this refers to the activity definition that lists all challenges available.
|
|
92
|
+
*/
|
|
93
|
+
rotationActivityHash?: ActivityHashes;
|
|
94
|
+
/**
|
|
95
|
+
* Partial display properties. Not all fields are guaranteed to be provided.
|
|
96
|
+
*/
|
|
97
|
+
displayProperties?: DeepsightDisplayPropertiesDefinition;
|
|
98
|
+
/**
|
|
99
|
+
* A drop table used as the base drop table for all encounters. Encounter-specific drop tables may override this.
|
|
100
|
+
*/
|
|
101
|
+
dropTable?: Partial<Record<InventoryItemHashes, DeepsightDropTableDropDefinition>>;
|
|
102
|
+
/**
|
|
103
|
+
* If this activity has encounters, information about them will be here.
|
|
104
|
+
*/
|
|
105
|
+
encounters?: DeepsightDropTableEncounterDefinition[];
|
|
106
|
+
/**
|
|
107
|
+
* If the activity has a high level variant which drops different loot, it's defined here.
|
|
108
|
+
*/
|
|
109
|
+
master?: DeepsightDropTableMasterDefinition;
|
|
110
|
+
/**
|
|
111
|
+
* If challenges or drops rotate, this field will be filled.
|
|
112
|
+
*/
|
|
113
|
+
rotations?: DeepsightDropTableRotationsDefinition;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* If this activity is only available for a certain period of time, this specifies whether it's available as a rotator or whether it's a repeatable activity (IE, the most recent ones)
|
|
117
|
+
*/
|
|
118
|
+
availability?: "rotator" | "repeatable";
|
|
119
|
+
/**
|
|
120
|
+
* A datetime string in the ISO format, yyyy-mm-ddThh:mm:ssZ, representing the time when this activity will no longer be available
|
|
121
|
+
*/
|
|
122
|
+
endTime?: ISOString;
|
|
123
|
+
/**
|
|
124
|
+
* The type of activity as a string
|
|
125
|
+
*/
|
|
126
|
+
type: "nightfall" | "trials" | "dungeon" | "raid" | "lost-sector" | "exotic-mission";
|
|
127
|
+
/**
|
|
128
|
+
* Partial display properties. Not all fields are guaranteed to be provided.
|
|
129
|
+
*/
|
|
130
|
+
typeDisplayProperties: DeepsightDisplayPropertiesDefinition;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export declare interface DeepsightDropTableEncounterDefinition {
|
|
134
|
+
/**
|
|
135
|
+
* Phase hashes are based on data from `characterProgressions.milestones[milestone hash].activities[activity index].phases`
|
|
136
|
+
*/
|
|
137
|
+
phaseHash?: number;
|
|
138
|
+
/**
|
|
139
|
+
* True if this is a traversal phase (not a real encounter)
|
|
140
|
+
*/
|
|
141
|
+
traversal?: true;
|
|
142
|
+
/**
|
|
143
|
+
* Every encounter is guaranteed to have a partial display properties object.
|
|
144
|
+
*/
|
|
145
|
+
displayProperties: DeepsightDisplayPropertiesDefinition & {
|
|
146
|
+
/**
|
|
147
|
+
* An alternative title for the encounter, generally wordier.
|
|
148
|
+
*/
|
|
149
|
+
directive?: string;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Determines the way that this encounter's drop table should be applied to the base activity drop table.
|
|
153
|
+
* - "replace" = this encounter-specific drop table should be used instead of the base drop table.
|
|
154
|
+
* - "merge" = this encounter-specific drop table should be merged into the base drop table.
|
|
155
|
+
* If not provided, it should default to "merge".
|
|
156
|
+
*/
|
|
157
|
+
dropTableMergeStrategy?: "replace" | "merge";
|
|
158
|
+
/**
|
|
159
|
+
* Encounter-specific drop table.
|
|
160
|
+
*/
|
|
161
|
+
dropTable?: Partial<Record<InventoryItemHashes, DeepsightDropTableDropDefinition>>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export declare interface DeepsightDropTableMasterDefinition {
|
|
165
|
+
/**
|
|
166
|
+
* `DestinyActivityDefinition` hash for the master activity.
|
|
167
|
+
*/
|
|
168
|
+
activityHash: ActivityHashes;
|
|
169
|
+
/**
|
|
170
|
+
* A non-rotating drop table of items from the master activity.
|
|
171
|
+
*/
|
|
172
|
+
dropTable?: Partial<Record<InventoryItemHashes, DeepsightDropTableDropDefinition>>;
|
|
173
|
+
/**
|
|
174
|
+
* If this activity is only available for a certain period of time, this specifies whether it's available as a rotator or whether it's a repeatable activity (IE, the most recent ones)
|
|
175
|
+
*/
|
|
176
|
+
availability?: "rotator" | "repeatable";
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export declare interface DeepsightDropTableDropDefinition {
|
|
180
|
+
/**
|
|
181
|
+
* `DestinyInventoryItemDefinition` hash representing a quest item required for this drop to drop.
|
|
182
|
+
*/
|
|
183
|
+
requiresQuest?: InventoryItemHashes;
|
|
184
|
+
/**
|
|
185
|
+
* `DestinyInventoryItemDefinition` hashes representing a list of items required for this drop to drop.
|
|
186
|
+
*/
|
|
187
|
+
requiresItems?: InventoryItemHashes[];
|
|
188
|
+
/**
|
|
189
|
+
* `true` if this item is only available for purchase in an end-of-activity cache.
|
|
190
|
+
*/
|
|
191
|
+
purchaseOnly?: true;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export declare interface DeepsightDropTableRotationsDefinition {
|
|
195
|
+
/**
|
|
196
|
+
* A datetime string in the ISO format, yyyy-mm-ddThh:mm:ssZ, representing the time the rotations start from.
|
|
197
|
+
*/
|
|
198
|
+
anchor: ISOString;
|
|
199
|
+
/**
|
|
200
|
+
* Whether this rotation is daily or weekly.
|
|
201
|
+
*/
|
|
202
|
+
interval: "daily" | "weekly";
|
|
203
|
+
/**
|
|
204
|
+
* The current index into `drops`, `masterDrops`, and `challenges`. This will no longer be valid when the interval ends.
|
|
205
|
+
*
|
|
206
|
+
* This can't be used directly as an index into the arrays, and must first be normalised to the respective array's length.
|
|
207
|
+
* IE: `drops[current % drops.length]`
|
|
208
|
+
*/
|
|
209
|
+
current: number;
|
|
210
|
+
/**
|
|
211
|
+
* A datetime string in the ISO format, yyyy-mm-ddThh:mm:ssZ, representing the time the current rotation will change to the next one.
|
|
212
|
+
*/
|
|
213
|
+
next: ISOString;
|
|
214
|
+
/**
|
|
215
|
+
* An array of drop table objects (containing all possible drops) or `DestinyInventoryItemDefinition` hashes (for a single drop).
|
|
216
|
+
*
|
|
217
|
+
* The first item in the array will be the active drop(s) during the week of the anchor reset, then the next drop the next week,
|
|
218
|
+
* and so on until all drops are exhausted. At that point, it cycles back to the first drop.
|
|
219
|
+
*/
|
|
220
|
+
drops?: (Partial<Record<InventoryItemHashes, DeepsightDropTableDropDefinition>> | InventoryItemHashes)[];
|
|
221
|
+
/**
|
|
222
|
+
* An array of drop table objects (containing all possible drops) or `DestinyInventoryItemDefinition` hashes (for a single drop).
|
|
223
|
+
*
|
|
224
|
+
* The first item in the array will be the active drop(s) during the week of the anchor reset, then the next drop the next week,
|
|
225
|
+
* and so on until all drops are exhausted. At that point, it cycles back to the first drop.
|
|
226
|
+
*/
|
|
227
|
+
masterDrops?: (Partial<Record<InventoryItemHashes, DeepsightDropTableDropDefinition>> | InventoryItemHashes)[];
|
|
228
|
+
/**
|
|
229
|
+
* `DestinyActivityModifierDefinition` hashes.
|
|
230
|
+
* The first challenge will be the active challenge during the week of the anchor reset, then the next challenge the next week,
|
|
231
|
+
* and so on until all challenges are exhausted. At that point, it cycles back to the first challenge.
|
|
232
|
+
*/
|
|
233
|
+
challenges?: ActivityModifierHashes[];
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export declare interface DeepsightMomentDefinition {
|
|
237
|
+
hash: MomentHashes;
|
|
238
|
+
id: string;
|
|
239
|
+
displayProperties: DeepsightDisplayPropertiesDefinition;
|
|
240
|
+
iconWatermark?: string;
|
|
241
|
+
iconWatermarkShelved?: string;
|
|
242
|
+
/**
|
|
243
|
+
* For events, the event card hash. If there isn't an event card, `true`
|
|
244
|
+
*/
|
|
245
|
+
event?: true | EventCardHashes;
|
|
246
|
+
expansion?: true;
|
|
247
|
+
season?: number;
|
|
248
|
+
year?: number;
|
|
249
|
+
seasonHash?: SeasonHashes;
|
|
250
|
+
/**
|
|
251
|
+
* Items that should be associated with this moment, but aren't according to the Destiny manifest (by icon watermark).
|
|
252
|
+
* You should render these items with this moment's `iconWatermark`.
|
|
253
|
+
*/
|
|
254
|
+
itemHashes?: InventoryItemHashes[];
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Destiny 2 wallpapers Bungie has released indexed by `DeepsightMomentDefinition` hashes.
|
|
259
|
+
*/
|
|
260
|
+
export declare interface DeepsightWallpaperDefinition {
|
|
261
|
+
/**
|
|
262
|
+
* A `DeepsightMomentDefinition` hash.
|
|
263
|
+
*/
|
|
264
|
+
hash: MomentHashes;
|
|
265
|
+
/**
|
|
266
|
+
* Wallpaper URLs. Each is an absolute (full) URL.
|
|
267
|
+
*/
|
|
268
|
+
wallpapers: string[];
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export interface DeepsightTierTypeDefinition {
|
|
272
|
+
/**
|
|
273
|
+
* A `DestinyItemTierTypeDefinition` hash.
|
|
274
|
+
*/
|
|
275
|
+
hash: ItemTierTypeHashes;
|
|
276
|
+
/**
|
|
277
|
+
* The `TierType` of this tier, as appears in `DestinyInventoryItemDefinition`'s `inventory.tierType`.
|
|
278
|
+
*/
|
|
279
|
+
tierType: TierType;
|
|
280
|
+
/**
|
|
281
|
+
* Partial display properties. Not all fields are guaranteed to be provided.
|
|
282
|
+
*/
|
|
283
|
+
displayProperties: DeepsightDisplayPropertiesDefinition;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export interface DeepsightVendorDefinition {
|
|
287
|
+
/**
|
|
288
|
+
* A `DestinyVendorDefinition` hash.
|
|
289
|
+
*/
|
|
290
|
+
hash: VendorHashes;
|
|
291
|
+
/**
|
|
292
|
+
* Partial display properties. Not all fields are guaranteed to be provided.
|
|
293
|
+
*/
|
|
294
|
+
displayProperties: DeepsightDisplayPropertiesDefinition;
|
|
295
|
+
/**
|
|
296
|
+
* The current location of the vendor.
|
|
297
|
+
*/
|
|
298
|
+
location: DestinyVendorLocationDefinition;
|
|
299
|
+
/**
|
|
300
|
+
* An array of `DestinyVendorGroupDefinition` hashes.
|
|
301
|
+
*/
|
|
302
|
+
groups: VendorGroupHashes[];
|
|
303
|
+
categories: DeepsightVendorCategoryEntryDefinition[];
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export interface DeepsightVendorCategoryEntryDefinition extends Omit<DestinyVendorCategoryEntryDefinition, "vendorItemIndexes"> {
|
|
307
|
+
items: DeepsightVendorItemDefinition[];
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export interface DeepsightVendorItemDefinition extends DestinyVendorItemDefinition {
|
|
311
|
+
displayProperties: DestinyDisplayPropertiesDefinition;
|
|
312
|
+
quantity: number;
|
|
313
|
+
overrideNextRefreshDate?: string;
|
|
314
|
+
apiPurchasable?: boolean;
|
|
315
|
+
costs?: DestinyItemQuantity[];
|
|
316
|
+
itemComponent: { [KEY in keyof DestinyItemComponentSetOfint32]: DestinyItemComponentSetOfint32[KEY] extends DictionaryComponentResponse<infer T> ? T : never };
|
|
317
|
+
}
|
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# deepsight.gg
|
|
2
|
+
deepsight.gg provides a number of manifests generated automatically to make development with the Destiny 2 API easier.
|
|
3
|
+
|
|
4
|
+
**The primary usage of this package is the TypeScript definitions.** That said, the current manifests do come with.
|
|
5
|
+
|
|
6
|
+
**It's recommended to handle updating these manifests in the same way that you handle updating the Bungie.NET Destiny 2 manifest.** If you update the D2 manifest only when you can manually verify that your app works with it, update deepsight.gg manifests at the same time. If you instead keep it up to date on client machines or servers based on polling for version changes, you should do the same with the deepsight.gg manifests.
|
|
7
|
+
|
|
8
|
+
If you use any of these manifests, please credit and link to [deepsight.gg](https://deepsight.gg)! It's not actually a requirement, but it would be super appreciated!
|
|
9
|
+
|
|
10
|
+
## Live Updates
|
|
11
|
+
The latest manifests are always available at `https://deepsight.gg/manifest/*`
|
|
12
|
+
|
|
13
|
+
To only download when there's new versions, use [`versions.json`](https://deepsight.gg/manifest/versions.json). For more detail, see the [documentation](https://github.com/ChiriVulpes/deepsight.gg/wiki/Versions).
|
|
14
|
+
|
|
15
|
+
## Manual Updates
|
|
16
|
+
If you want to choose when to update to new versions of the deepsight.gg manifests manually, you have a few options:
|
|
17
|
+
|
|
18
|
+
- If you want to be as manual as possible, you can just download the [`manifest` branch](https://github.com/ChiriVulpes/deepsight.gg/tree/manifest) directly.
|
|
19
|
+
- You can add the [`manifest` branch](https://github.com/ChiriVulpes/deepsight.gg/tree/manifest) as a submodule.
|
|
20
|
+
- You can use the manifests provided by this package!
|
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "deepsight.gg",
|
|
3
|
+
"description": "Manifests provided by deepsight.gg, the next evolution of item management in Destiny 2.",
|
|
4
|
+
"version": "1.0.79",
|
|
5
|
+
"types": "Interfaces.d.ts",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"destiny2",
|
|
9
|
+
"destiny",
|
|
10
|
+
"deepsight",
|
|
11
|
+
"inventory",
|
|
12
|
+
"vault",
|
|
13
|
+
"bungie",
|
|
14
|
+
"bungie.net",
|
|
15
|
+
"typescript",
|
|
16
|
+
"item",
|
|
17
|
+
"api"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://github.com/ChiriVulpes/deepsight.gg/wiki",
|
|
20
|
+
"author": "Chiri Vulpes",
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"bungie-api-ts": "^5.0.0"
|
|
23
|
+
}
|
|
24
|
+
}
|
package/versions.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"DeepsightDropTableDefinition": 36,
|
|
3
|
+
"DeepsightMomentDefinition": 2,
|
|
4
|
+
"DeepsightPlugCategorisation": 12,
|
|
5
|
+
"DeepsightWallpaperDefinition": 2,
|
|
6
|
+
"Enums": 10,
|
|
7
|
+
"Destiny2/Manifest": "222980.24.01.17.1915-1-bnet.53680",
|
|
8
|
+
"Interfaces": 7,
|
|
9
|
+
"deepsight": 79,
|
|
10
|
+
"DeepsightTierTypeDefinition": 1,
|
|
11
|
+
"lastDailyReset": "2024-01-25T17:00:00Z",
|
|
12
|
+
"lastWeeklyReset": "2024-01-23T17:00:00Z",
|
|
13
|
+
"lastTrialsReset": "2024-01-26T17:00:00Z",
|
|
14
|
+
"referencePostGameCarnageReportSinceDailyReset": {
|
|
15
|
+
"instanceId": "14371629904",
|
|
16
|
+
"period": "2024-01-25T19:15:32Z"
|
|
17
|
+
},
|
|
18
|
+
"updated": "2024-01-26T10:07:01Z",
|
|
19
|
+
"DeepsightVendorDefinition": 2
|
|
20
|
+
}
|