warframe-worldstate-parser 5.3.6 → 5.3.7
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-BiofND5v.d.mts → index-BBJQtZk1.d.mts} +3 -3
- package/dist/lib/WorldState.d.mts +1 -1
- package/dist/lib/WorldState.mjs +1 -141
- package/dist/lib/models/Alert.d.mts +1 -1
- package/dist/lib/models/Alert.mjs +0 -10
- package/dist/lib/models/Archimedea.d.mts +1 -1
- package/dist/lib/models/Archimedea.mjs +17 -102
- package/dist/lib/models/CambionCycle.mjs +2 -11
- package/dist/lib/models/CetusCycle.mjs +4 -24
- package/dist/lib/models/ChallengeInstance.d.mts +1 -1
- package/dist/lib/models/ChallengeInstance.mjs +1 -11
- package/dist/lib/models/ConclaveChallenge.d.mts +1 -1
- package/dist/lib/models/ConclaveChallenge.mjs +7 -32
- package/dist/lib/models/ConstructionProgress.mjs +3 -16
- package/dist/lib/models/DailyDeal.d.mts +1 -1
- package/dist/lib/models/DailyDeal.mjs +3 -21
- package/dist/lib/models/DarkSector.d.mts +1 -1
- package/dist/lib/models/DarkSector.mjs +12 -79
- package/dist/lib/models/DarkSectorBattle.mjs +5 -34
- package/dist/lib/models/DuviriCycle.d.mts +1 -1
- package/dist/lib/models/DuviriCycle.mjs +1 -10
- package/dist/lib/models/EarthCycle.mjs +3 -19
- package/dist/lib/models/Fissure.d.mts +1 -1
- package/dist/lib/models/Fissure.mjs +9 -47
- package/dist/lib/models/FlashSale.d.mts +1 -1
- package/dist/lib/models/FlashSale.mjs +5 -29
- package/dist/lib/models/GlobalUpgrade.d.mts +1 -1
- package/dist/lib/models/GlobalUpgrade.mjs +4 -21
- package/dist/lib/models/Invasion.d.mts +1 -1
- package/dist/lib/models/Invasion.mjs +10 -61
- package/dist/lib/models/Kinepage.mjs +2 -15
- package/dist/lib/models/Kuva.d.mts +1 -1
- package/dist/lib/models/Kuva.mjs +0 -9
- package/dist/lib/models/MidrathCycle.mjs +2 -11
- package/dist/lib/models/Mission.d.mts +1 -1
- package/dist/lib/models/Mission.mjs +13 -89
- package/dist/lib/models/News.mjs +9 -53
- package/dist/lib/models/Nightwave.mjs +2 -24
- package/dist/lib/models/NightwaveChallenge.mjs +5 -27
- package/dist/lib/models/PersistentEnemy.mjs +7 -43
- package/dist/lib/models/Reward.d.mts +1 -1
- package/dist/lib/models/Reward.mjs +3 -38
- package/dist/lib/models/SentientOutpost.d.mts +1 -1
- package/dist/lib/models/SentientOutpost.mjs +4 -28
- package/dist/lib/models/Simaris.d.mts +1 -1
- package/dist/lib/models/Simaris.mjs +2 -11
- package/dist/lib/models/Sortie.d.mts +1 -1
- package/dist/lib/models/Sortie.mjs +4 -29
- package/dist/lib/models/SortieVariant.d.mts +1 -1
- package/dist/lib/models/SortieVariant.mjs +6 -31
- package/dist/lib/models/SteelPathOffering.mjs +5 -48
- package/dist/lib/models/SyndicateJob.d.mts +1 -1
- package/dist/lib/models/SyndicateJob.mjs +3 -36
- package/dist/lib/models/SyndicateMission.d.mts +1 -1
- package/dist/lib/models/SyndicateMission.mjs +2 -19
- package/dist/lib/models/Tmp.d.mts +1 -1
- package/dist/lib/models/Tmp.mjs +0 -31
- package/dist/lib/models/VallisCycle.mjs +2 -11
- package/dist/lib/models/VoidTrader.d.mts +1 -1
- package/dist/lib/models/VoidTrader.mjs +4 -33
- package/dist/lib/models/VoidTraderItem.d.mts +1 -1
- package/dist/lib/models/VoidTraderItem.mjs +2 -13
- package/dist/lib/models/VoidTraderSchedule.d.mts +1 -1
- package/dist/lib/models/VoidTraderSchedule.mjs +1 -10
- package/dist/lib/models/WeeklyChallenge.d.mts +1 -1
- package/dist/lib/models/WeeklyChallenge.mjs +0 -5
- package/dist/lib/models/WorldEvent.d.mts +1 -1
- package/dist/lib/models/WorldEvent.mjs +9 -111
- package/dist/lib/models/WorldStateObject.mjs +0 -10
- package/dist/lib/models/ZarimanCycle.mjs +3 -16
- package/dist/lib/models/index.d.mts +1 -1
- package/dist/lib/supporting/DuviriChoice.d.mts +1 -1
- package/dist/lib/supporting/DuviriChoice.mjs +2 -15
- package/dist/lib/supporting/ExternalMission.mjs +16 -99
- package/dist/lib/supporting/index.d.mts +1 -1
- package/dist/main.d.mts +1 -1
- package/dist/main.mjs +1 -0
- package/package.json +1 -2
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
|
-
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
3
2
|
import { Type } from "class-transformer";
|
|
4
3
|
import { IsBoolean, IsDate, IsOptional, IsString } from "class-validator";
|
|
5
4
|
//#region lib/supporting/ExternalMission.ts
|
|
@@ -50,70 +49,29 @@ var ExternalMission = class {
|
|
|
50
49
|
*/
|
|
51
50
|
expired;
|
|
52
51
|
};
|
|
52
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ExternalMission.prototype, "id", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
ApiProperty({ description: "Mission ID" }),
|
|
55
|
-
IsString(),
|
|
56
|
-
__decorateMetadata("design:type", String)
|
|
57
|
-
], ExternalMission.prototype, "id", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
ApiProperty({
|
|
60
|
-
description: "Start time",
|
|
61
|
-
type: Date
|
|
62
|
-
}),
|
|
63
54
|
IsDate(),
|
|
64
55
|
Type(() => Date),
|
|
65
56
|
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
66
57
|
], ExternalMission.prototype, "activation", void 0);
|
|
67
58
|
__decorate([
|
|
68
|
-
ApiProperty({
|
|
69
|
-
description: "End time",
|
|
70
|
-
type: Date
|
|
71
|
-
}),
|
|
72
59
|
IsDate(),
|
|
73
60
|
Type(() => Date),
|
|
74
61
|
__decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
|
|
75
62
|
], ExternalMission.prototype, "expiry", void 0);
|
|
63
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ExternalMission.prototype, "node", void 0);
|
|
64
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ExternalMission.prototype, "nodeKey", void 0);
|
|
76
65
|
__decorate([
|
|
77
|
-
ApiProperty({ description: "Formatted node name with planet" }),
|
|
78
|
-
IsString(),
|
|
79
|
-
__decorateMetadata("design:type", String)
|
|
80
|
-
], ExternalMission.prototype, "node", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
ApiProperty({ description: "Untranslated formatted node name with planet" }),
|
|
83
|
-
IsString(),
|
|
84
|
-
__decorateMetadata("design:type", String)
|
|
85
|
-
], ExternalMission.prototype, "nodeKey", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
ApiPropertyOptional({ description: "Enemy on tile" }),
|
|
88
66
|
IsOptional(),
|
|
89
67
|
IsString(),
|
|
90
68
|
__decorateMetadata("design:type", String)
|
|
91
69
|
], ExternalMission.prototype, "enemy", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
], ExternalMission.prototype, "
|
|
97
|
-
__decorate([
|
|
98
|
-
ApiProperty({ description: "Untranslated node mission type" }),
|
|
99
|
-
IsString(),
|
|
100
|
-
__decorateMetadata("design:type", String)
|
|
101
|
-
], ExternalMission.prototype, "typeKey", void 0);
|
|
102
|
-
__decorate([
|
|
103
|
-
ApiProperty({ description: "Whether or not the tile requires archwing" }),
|
|
104
|
-
IsBoolean(),
|
|
105
|
-
__decorateMetadata("design:type", Boolean)
|
|
106
|
-
], ExternalMission.prototype, "archwing", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
ApiProperty({ description: "Whether or not the tile requires sharkwing" }),
|
|
109
|
-
IsBoolean(),
|
|
110
|
-
__decorateMetadata("design:type", Boolean)
|
|
111
|
-
], ExternalMission.prototype, "sharkwing", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
ApiProperty({ description: "Whether the mission is expired at the time of creation or not" }),
|
|
114
|
-
IsBoolean(),
|
|
115
|
-
__decorateMetadata("design:type", Boolean)
|
|
116
|
-
], ExternalMission.prototype, "expired", void 0);
|
|
70
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ExternalMission.prototype, "type", void 0);
|
|
71
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ExternalMission.prototype, "typeKey", void 0);
|
|
72
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ExternalMission.prototype, "archwing", void 0);
|
|
73
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ExternalMission.prototype, "sharkwing", void 0);
|
|
74
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ExternalMission.prototype, "expired", void 0);
|
|
117
75
|
/**
|
|
118
76
|
* External mission data retrieved from https://10o.io/kuvalog.json - Class version for OpenAPI
|
|
119
77
|
*/
|
|
@@ -160,69 +118,28 @@ var ExternalMissionClass = class {
|
|
|
160
118
|
*/
|
|
161
119
|
expired;
|
|
162
120
|
};
|
|
121
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ExternalMissionClass.prototype, "id", void 0);
|
|
163
122
|
__decorate([
|
|
164
|
-
ApiProperty({ description: "Mission ID" }),
|
|
165
|
-
IsString(),
|
|
166
|
-
__decorateMetadata("design:type", String)
|
|
167
|
-
], ExternalMissionClass.prototype, "id", void 0);
|
|
168
|
-
__decorate([
|
|
169
|
-
ApiProperty({
|
|
170
|
-
description: "Start time",
|
|
171
|
-
type: Date
|
|
172
|
-
}),
|
|
173
123
|
IsDate(),
|
|
174
124
|
Type(() => Date),
|
|
175
125
|
__decorateMetadata("design:type", typeof (_ref3 = typeof Date !== "undefined" && Date) === "function" ? _ref3 : Object)
|
|
176
126
|
], ExternalMissionClass.prototype, "activation", void 0);
|
|
177
127
|
__decorate([
|
|
178
|
-
ApiProperty({
|
|
179
|
-
description: "End time",
|
|
180
|
-
type: Date
|
|
181
|
-
}),
|
|
182
128
|
IsDate(),
|
|
183
129
|
Type(() => Date),
|
|
184
130
|
__decorateMetadata("design:type", typeof (_ref4 = typeof Date !== "undefined" && Date) === "function" ? _ref4 : Object)
|
|
185
131
|
], ExternalMissionClass.prototype, "expiry", void 0);
|
|
132
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ExternalMissionClass.prototype, "node", void 0);
|
|
133
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ExternalMissionClass.prototype, "nodeKey", void 0);
|
|
186
134
|
__decorate([
|
|
187
|
-
ApiProperty({ description: "Formatted node name with planet" }),
|
|
188
|
-
IsString(),
|
|
189
|
-
__decorateMetadata("design:type", String)
|
|
190
|
-
], ExternalMissionClass.prototype, "node", void 0);
|
|
191
|
-
__decorate([
|
|
192
|
-
ApiProperty({ description: "Untranslated formatted node name with planet" }),
|
|
193
|
-
IsString(),
|
|
194
|
-
__decorateMetadata("design:type", String)
|
|
195
|
-
], ExternalMissionClass.prototype, "nodeKey", void 0);
|
|
196
|
-
__decorate([
|
|
197
|
-
ApiPropertyOptional({ description: "Enemy on tile" }),
|
|
198
135
|
IsOptional(),
|
|
199
136
|
IsString(),
|
|
200
137
|
__decorateMetadata("design:type", String)
|
|
201
138
|
], ExternalMissionClass.prototype, "enemy", void 0);
|
|
202
|
-
__decorate([
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
], ExternalMissionClass.prototype, "
|
|
207
|
-
__decorate([
|
|
208
|
-
ApiProperty({ description: "Untranslated node mission type" }),
|
|
209
|
-
IsString(),
|
|
210
|
-
__decorateMetadata("design:type", String)
|
|
211
|
-
], ExternalMissionClass.prototype, "typeKey", void 0);
|
|
212
|
-
__decorate([
|
|
213
|
-
ApiProperty({ description: "Whether or not the tile requires archwing" }),
|
|
214
|
-
IsBoolean(),
|
|
215
|
-
__decorateMetadata("design:type", Boolean)
|
|
216
|
-
], ExternalMissionClass.prototype, "archwing", void 0);
|
|
217
|
-
__decorate([
|
|
218
|
-
ApiProperty({ description: "Whether or not the tile requires sharkwing" }),
|
|
219
|
-
IsBoolean(),
|
|
220
|
-
__decorateMetadata("design:type", Boolean)
|
|
221
|
-
], ExternalMissionClass.prototype, "sharkwing", void 0);
|
|
222
|
-
__decorate([
|
|
223
|
-
ApiProperty({ description: "Whether the mission is expired at the time of creation or not" }),
|
|
224
|
-
IsBoolean(),
|
|
225
|
-
__decorateMetadata("design:type", Boolean)
|
|
226
|
-
], ExternalMissionClass.prototype, "expired", void 0);
|
|
139
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ExternalMissionClass.prototype, "type", void 0);
|
|
140
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ExternalMissionClass.prototype, "typeKey", void 0);
|
|
141
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ExternalMissionClass.prototype, "archwing", void 0);
|
|
142
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ExternalMissionClass.prototype, "sharkwing", void 0);
|
|
143
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ExternalMissionClass.prototype, "expired", void 0);
|
|
227
144
|
//#endregion
|
|
228
145
|
export { ExternalMission, ExternalMissionClass };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as SolnodeData, t as KuvaLogEntry } from "../../KuvaLogEntry-B0SaM7MX.mjs";
|
|
2
2
|
import { t as Dependency } from "../../Dependency-CtryMjKU.mjs";
|
|
3
|
-
import { mt as RawChoice, pt as DuviriChoice } from "../../index-
|
|
3
|
+
import { mt as RawChoice, pt as DuviriChoice } from "../../index-BBJQtZk1.mjs";
|
|
4
4
|
import { n as ExternalMissionClass, t as ExternalMission } from "../../ExternalMission-Be-eX0Pc.mjs";
|
|
5
5
|
import { t as fetchProxy } from "../../FetchProxy-Bgoi37sM.mjs";
|
|
6
6
|
import { n as deProxy, r as wfCdn, t as cdn } from "../../ImgCdn-By4Qj9kk.mjs";
|
package/dist/main.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as SolnodeData, t as KuvaLogEntry } from "./KuvaLogEntry-B0SaM7MX.mjs";
|
|
2
2
|
import { t as Dependency } from "./Dependency-CtryMjKU.mjs";
|
|
3
|
-
import { $ as ArchimedeaMissionDifficultyRisk, A as Kuva, B as DuviriCycle, C as Sortie, D as Simaris, E as LibraryInfo, F as RawGlobalUpgrade, G as RawDailyDeal, H as DefenderInfo, I as FlashSale, J as ChallengeInstance, K as ConclaveChallenge, L as RawFlashSale, M as InvasionParticipant, N as RawInvasion, O as OutpostMission, P as GlobalUpgrade, Q as ArchimedeaMissionDifficulty, R as Fissure, S as RawSortie, T as SortieVariant, U as RawDarkSector, V as DarkSector, W as DailyDeal, X as Archimedea, Y as RawChallengeInstance, Z as ArchimedeaMission, _ as RawSyndicateMission, a as WorldEvent, at as Alert, b as RewardDrop, c as RawVoidTrader, ct as RawMission, d as RawVoidTraderItem, dt as getItemType, et as DeepArchimedea, f as VoidTraderItem, ft as getItemTypeFull, g as Tmp, h as QuestProgress, i as RawWorldEvent, it as RawArchimedeaMission, j as Invasion, k as SentientOutpost, l as VoidTrader, lt as RawReward, m as InitialTmp, mt as RawChoice, n as InterimStep, nt as PersonalModifier, o as RawWeeklyChallenge, ot as RawAlert, p as FaceoffBonus, pt as DuviriChoice, q as RawChallenge, r as ProgressStep, rt as RawArchimedea, s as WeeklyChallenge, st as Mission, t as InterimRewardMessage, tt as Difficulty, u as VoidTraderSchedule, ut as Reward, v as SyndicateMission, w as RawSortieVariant, x as SyndicateJob, y as RawSyndicateJob, z as RawFissure } from "./index-
|
|
3
|
+
import { $ as ArchimedeaMissionDifficultyRisk, A as Kuva, B as DuviriCycle, C as Sortie, D as Simaris, E as LibraryInfo, F as RawGlobalUpgrade, G as RawDailyDeal, H as DefenderInfo, I as FlashSale, J as ChallengeInstance, K as ConclaveChallenge, L as RawFlashSale, M as InvasionParticipant, N as RawInvasion, O as OutpostMission, P as GlobalUpgrade, Q as ArchimedeaMissionDifficulty, R as Fissure, S as RawSortie, T as SortieVariant, U as RawDarkSector, V as DarkSector, W as DailyDeal, X as Archimedea, Y as RawChallengeInstance, Z as ArchimedeaMission, _ as RawSyndicateMission, a as WorldEvent, at as Alert, b as RewardDrop, c as RawVoidTrader, ct as RawMission, d as RawVoidTraderItem, dt as getItemType, et as DeepArchimedea, f as VoidTraderItem, ft as getItemTypeFull, g as Tmp, h as QuestProgress, i as RawWorldEvent, it as RawArchimedeaMission, j as Invasion, k as SentientOutpost, l as VoidTrader, lt as RawReward, m as InitialTmp, mt as RawChoice, n as InterimStep, nt as PersonalModifier, o as RawWeeklyChallenge, ot as RawAlert, p as FaceoffBonus, pt as DuviriChoice, q as RawChallenge, r as ProgressStep, rt as RawArchimedea, s as WeeklyChallenge, st as Mission, t as InterimRewardMessage, tt as Difficulty, u as VoidTraderSchedule, ut as Reward, v as SyndicateMission, w as RawSortieVariant, x as SyndicateJob, y as RawSyndicateJob, z as RawFissure } from "./index-BBJQtZk1.mjs";
|
|
4
4
|
import { n as ExternalMissionClass, t as ExternalMission } from "./ExternalMission-Be-eX0Pc.mjs";
|
|
5
5
|
import { t as fetchProxy } from "./FetchProxy-Bgoi37sM.mjs";
|
|
6
6
|
import { n as deProxy, r as wfCdn, t as cdn } from "./ImgCdn-By4Qj9kk.mjs";
|
package/dist/main.mjs
CHANGED
|
@@ -48,6 +48,7 @@ import { WorldEvent } from "./lib/models/WorldEvent.mjs";
|
|
|
48
48
|
import { ZarimanCycle } from "./lib/models/ZarimanCycle.mjs";
|
|
49
49
|
import "./lib/models/index.mjs";
|
|
50
50
|
import { WorldState, parseArray, parseAsyncArray } from "./lib/WorldState.mjs";
|
|
51
|
+
import "reflect-metadata";
|
|
51
52
|
//#region main.ts
|
|
52
53
|
var main_default = WorldState;
|
|
53
54
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "warframe-worldstate-parser",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.7",
|
|
4
4
|
"description": "An Open parser for Warframe's Worldstate in Javascript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"warframe-worldstate",
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
"LICENSE"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@nestjs/swagger": "^11.2.6",
|
|
37
36
|
"class-transformer": "^0.5.1",
|
|
38
37
|
"class-validator": "^0.15.1",
|
|
39
38
|
"reflect-metadata": "^0.2.2"
|