warframe-worldstate-parser 5.3.6 → 5.3.8
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/{Calendar-C99Wr_NC.d.mts → Calendar-D7QlYdGs.d.mts} +1 -1
- package/dist/{CambionCycle-CEVo0BPO.d.mts → CambionCycle-zMzaSuKG.d.mts} +2 -2
- package/dist/{CetusCycle-sbJ_VYPO.d.mts → CetusCycle-LdcGs_wx.d.mts} +1 -1
- package/dist/{ConstructionProgress-CffeDtau.d.mts → ConstructionProgress-fM9jbjFW.d.mts} +1 -1
- package/dist/{DarkSectorBattle-DwaJyGk3.d.mts → DarkSectorBattle-Cr-K4LmW.d.mts} +1 -1
- package/dist/{Dependency-CtryMjKU.d.mts → Dependency-fgtm0qdZ.d.mts} +1 -1
- package/dist/{EarthCycle-BsMMsVT4.d.mts → EarthCycle-tuV5mFzh.d.mts} +1 -1
- package/dist/{MidrathCycle-UgLh7wgF.d.mts → MidrathCycle-DBZgxYyZ.d.mts} +1 -1
- package/dist/{News-CmoQ_nEf.d.mts → News-CKODxayp.d.mts} +1 -1
- package/dist/{Nightwave-BBRJbyr8.d.mts → Nightwave-D7wrORCe.d.mts} +2 -2
- package/dist/{NightwaveChallenge-C6J7ymli.d.mts → NightwaveChallenge-Cm_BhnRu.d.mts} +1 -1
- package/dist/{PersistentEnemy-WkvIZ9Mx.d.mts → PersistentEnemy-CgRe5bWz.d.mts} +1 -1
- package/dist/{VallisCycle-BTYgGev7.d.mts → VallisCycle-DpoQ9hBT.d.mts} +1 -1
- package/dist/{ZarimanCycle-D4YCSLmR.d.mts → ZarimanCycle-crkro6pa.d.mts} +1 -1
- package/dist/{decorate-DHEOvewm.mjs → decorate-DEb1C2pD.mjs} +2 -2
- package/dist/{index-BiofND5v.d.mts → index-C1rBnvm4.d.mts} +9 -9
- package/dist/lib/WorldState.d.mts +16 -16
- package/dist/lib/WorldState.mjs +2 -142
- package/dist/lib/models/Alert.d.mts +1 -1
- package/dist/lib/models/Alert.mjs +1 -11
- package/dist/lib/models/Archimedea.d.mts +1 -1
- package/dist/lib/models/Archimedea.mjs +18 -103
- package/dist/lib/models/Calendar.d.mts +1 -1
- package/dist/lib/models/CambionCycle.d.mts +1 -1
- package/dist/lib/models/CambionCycle.mjs +3 -12
- package/dist/lib/models/CetusCycle.d.mts +1 -1
- package/dist/lib/models/CetusCycle.mjs +5 -25
- package/dist/lib/models/ChallengeInstance.d.mts +1 -1
- package/dist/lib/models/ChallengeInstance.mjs +2 -12
- package/dist/lib/models/ConclaveChallenge.d.mts +1 -1
- package/dist/lib/models/ConclaveChallenge.mjs +8 -33
- package/dist/lib/models/ConstructionProgress.d.mts +1 -1
- package/dist/lib/models/ConstructionProgress.mjs +4 -17
- package/dist/lib/models/DailyDeal.d.mts +1 -1
- package/dist/lib/models/DailyDeal.mjs +4 -22
- package/dist/lib/models/DarkSector.d.mts +1 -1
- package/dist/lib/models/DarkSector.mjs +13 -80
- package/dist/lib/models/DarkSectorBattle.d.mts +1 -1
- package/dist/lib/models/DarkSectorBattle.mjs +6 -35
- package/dist/lib/models/DuviriCycle.d.mts +1 -1
- package/dist/lib/models/DuviriCycle.mjs +2 -11
- package/dist/lib/models/EarthCycle.d.mts +1 -1
- package/dist/lib/models/EarthCycle.mjs +4 -20
- package/dist/lib/models/Fissure.d.mts +1 -1
- package/dist/lib/models/Fissure.mjs +10 -48
- package/dist/lib/models/FlashSale.d.mts +1 -1
- package/dist/lib/models/FlashSale.mjs +6 -30
- package/dist/lib/models/GlobalUpgrade.d.mts +1 -1
- package/dist/lib/models/GlobalUpgrade.mjs +5 -22
- package/dist/lib/models/Invasion.d.mts +1 -1
- package/dist/lib/models/Invasion.mjs +11 -62
- package/dist/lib/models/Kinepage.d.mts +1 -1
- package/dist/lib/models/Kinepage.mjs +3 -16
- package/dist/lib/models/Kuva.d.mts +1 -1
- package/dist/lib/models/Kuva.mjs +1 -10
- package/dist/lib/models/MidrathCycle.d.mts +1 -1
- package/dist/lib/models/MidrathCycle.mjs +4 -13
- package/dist/lib/models/Mission.d.mts +1 -1
- package/dist/lib/models/Mission.mjs +14 -90
- package/dist/lib/models/News.d.mts +1 -1
- package/dist/lib/models/News.mjs +10 -54
- package/dist/lib/models/Nightwave.d.mts +1 -1
- package/dist/lib/models/Nightwave.mjs +3 -25
- package/dist/lib/models/NightwaveChallenge.d.mts +1 -1
- package/dist/lib/models/NightwaveChallenge.mjs +6 -28
- package/dist/lib/models/PersistentEnemy.d.mts +1 -1
- package/dist/lib/models/PersistentEnemy.mjs +8 -44
- package/dist/lib/models/Reward.d.mts +1 -1
- package/dist/lib/models/Reward.mjs +4 -39
- package/dist/lib/models/SentientOutpost.d.mts +1 -1
- package/dist/lib/models/SentientOutpost.mjs +5 -29
- package/dist/lib/models/Simaris.d.mts +1 -1
- package/dist/lib/models/Simaris.mjs +3 -12
- package/dist/lib/models/Sortie.d.mts +1 -1
- package/dist/lib/models/Sortie.mjs +5 -30
- package/dist/lib/models/SortieVariant.d.mts +1 -1
- package/dist/lib/models/SortieVariant.mjs +7 -32
- package/dist/lib/models/SteelPathOffering.d.mts +1 -1
- package/dist/lib/models/SteelPathOffering.mjs +6 -49
- package/dist/lib/models/SyndicateJob.d.mts +1 -1
- package/dist/lib/models/SyndicateJob.mjs +4 -37
- package/dist/lib/models/SyndicateMission.d.mts +1 -1
- package/dist/lib/models/SyndicateMission.mjs +3 -20
- package/dist/lib/models/Tmp.d.mts +1 -1
- package/dist/lib/models/Tmp.mjs +1 -32
- package/dist/lib/models/VallisCycle.d.mts +1 -1
- package/dist/lib/models/VallisCycle.mjs +3 -12
- package/dist/lib/models/VoidTrader.d.mts +1 -1
- package/dist/lib/models/VoidTrader.mjs +5 -34
- package/dist/lib/models/VoidTraderItem.d.mts +1 -1
- package/dist/lib/models/VoidTraderItem.mjs +3 -14
- package/dist/lib/models/VoidTraderSchedule.d.mts +1 -1
- package/dist/lib/models/VoidTraderSchedule.mjs +2 -11
- package/dist/lib/models/WeeklyChallenge.d.mts +1 -1
- package/dist/lib/models/WeeklyChallenge.mjs +1 -6
- package/dist/lib/models/WorldEvent.d.mts +1 -1
- package/dist/lib/models/WorldEvent.mjs +10 -112
- package/dist/lib/models/WorldStateObject.d.mts +1 -1
- package/dist/lib/models/WorldStateObject.mjs +1 -11
- package/dist/lib/models/ZarimanCycle.d.mts +1 -1
- package/dist/lib/models/ZarimanCycle.mjs +4 -17
- package/dist/lib/models/index.d.mts +17 -17
- package/dist/lib/supporting/Dependency.d.mts +1 -1
- package/dist/lib/supporting/DuviriChoice.d.mts +1 -1
- package/dist/lib/supporting/DuviriChoice.mjs +3 -16
- package/dist/lib/supporting/ExternalMission.d.mts +1 -1
- package/dist/lib/supporting/ExternalMission.mjs +17 -100
- package/dist/lib/supporting/FetchProxy.d.mts +1 -1
- package/dist/lib/supporting/ImgCdn.d.mts +1 -1
- package/dist/lib/supporting/KuvaLogEntry.d.mts +1 -1
- package/dist/lib/supporting/RewardData.d.mts +1 -1
- package/dist/lib/supporting/RewardTypes.d.mts +1 -1
- package/dist/lib/supporting/index.d.mts +8 -8
- package/dist/main.d.mts +24 -24
- package/dist/main.mjs +1 -0
- package/package.json +2 -3
- /package/dist/{ExternalMission-Be-eX0Pc.d.mts → ExternalMission-CyjaiHtM.d.mts} +0 -0
- /package/dist/{FetchProxy-Bgoi37sM.d.mts → FetchProxy-Bx4hAhWN.d.mts} +0 -0
- /package/dist/{ImgCdn-By4Qj9kk.d.mts → ImgCdn-BNwfDNfV.d.mts} +0 -0
- /package/dist/{Kinepage-BDZm950n.d.mts → Kinepage-ChaoLN-v.d.mts} +0 -0
- /package/dist/{KuvaLogEntry-B0SaM7MX.d.mts → KuvaLogEntry-DD9nXgqP.d.mts} +0 -0
- /package/dist/{RewardData-B5TstL-h.d.mts → RewardData-CWoi9KgM.d.mts} +0 -0
- /package/dist/{RewardTypes-DMW4dYrB.d.mts → RewardTypes-CdOLYOdA.d.mts} +0 -0
- /package/dist/{SteelPathOffering-K2Ji4d5c.d.mts → SteelPathOffering-BRZtir78.d.mts} +0 -0
- /package/dist/{WorldStateObject-BgeCocs9.d.mts → WorldStateObject-CIJgXUCx.d.mts} +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { n as __decorateMetadata, t as __decorate } from "../../decorate-
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DEb1C2pD.mjs";
|
|
2
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
5
4
|
import { Type } from "class-transformer";
|
|
6
5
|
import { IsArray, IsBoolean, IsString, ValidateNested } from "class-validator";
|
|
7
6
|
import { faction, languageDesc, languageString, missionType } from "warframe-worldstate-data/utilities";
|
|
@@ -13,66 +12,26 @@ var ArchimedeaMissionDifficultyRisk = class {
|
|
|
13
12
|
description;
|
|
14
13
|
isHard;
|
|
15
14
|
};
|
|
16
|
-
__decorate([
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
], ArchimedeaMissionDifficultyRisk.prototype, "key", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
ApiProperty({ description: "Risk name" }),
|
|
23
|
-
IsString(),
|
|
24
|
-
__decorateMetadata("design:type", String)
|
|
25
|
-
], ArchimedeaMissionDifficultyRisk.prototype, "name", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
ApiProperty({ description: "Risk description" }),
|
|
28
|
-
IsString(),
|
|
29
|
-
__decorateMetadata("design:type", String)
|
|
30
|
-
], ArchimedeaMissionDifficultyRisk.prototype, "description", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
ApiProperty({ description: "Whether this is a hard mode risk" }),
|
|
33
|
-
IsBoolean(),
|
|
34
|
-
__decorateMetadata("design:type", Boolean)
|
|
35
|
-
], ArchimedeaMissionDifficultyRisk.prototype, "isHard", void 0);
|
|
15
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMissionDifficultyRisk.prototype, "key", void 0);
|
|
16
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMissionDifficultyRisk.prototype, "name", void 0);
|
|
17
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMissionDifficultyRisk.prototype, "description", void 0);
|
|
18
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ArchimedeaMissionDifficultyRisk.prototype, "isHard", void 0);
|
|
36
19
|
var ArchimedeaMissionDifficulty = class {
|
|
37
20
|
key;
|
|
38
21
|
name;
|
|
39
22
|
description;
|
|
40
23
|
};
|
|
41
|
-
__decorate([
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
__decorateMetadata("design:type", String)
|
|
45
|
-
], ArchimedeaMissionDifficulty.prototype, "key", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
ApiProperty({ description: "Deviation name" }),
|
|
48
|
-
IsString(),
|
|
49
|
-
__decorateMetadata("design:type", String)
|
|
50
|
-
], ArchimedeaMissionDifficulty.prototype, "name", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
ApiProperty({ description: "Deviation description" }),
|
|
53
|
-
IsString(),
|
|
54
|
-
__decorateMetadata("design:type", String)
|
|
55
|
-
], ArchimedeaMissionDifficulty.prototype, "description", void 0);
|
|
24
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMissionDifficulty.prototype, "key", void 0);
|
|
25
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMissionDifficulty.prototype, "name", void 0);
|
|
26
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMissionDifficulty.prototype, "description", void 0);
|
|
56
27
|
var PersonalModifier = class {
|
|
57
28
|
key;
|
|
58
29
|
name;
|
|
59
30
|
description;
|
|
60
31
|
};
|
|
61
|
-
__decorate([
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
__decorateMetadata("design:type", String)
|
|
65
|
-
], PersonalModifier.prototype, "key", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
ApiProperty({ description: "Modifier name" }),
|
|
68
|
-
IsString(),
|
|
69
|
-
__decorateMetadata("design:type", String)
|
|
70
|
-
], PersonalModifier.prototype, "name", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
ApiProperty({ description: "Modifier description" }),
|
|
73
|
-
IsString(),
|
|
74
|
-
__decorateMetadata("design:type", String)
|
|
75
|
-
], PersonalModifier.prototype, "description", void 0);
|
|
32
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], PersonalModifier.prototype, "key", void 0);
|
|
33
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], PersonalModifier.prototype, "name", void 0);
|
|
34
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], PersonalModifier.prototype, "description", void 0);
|
|
76
35
|
/**
|
|
77
36
|
* An Archimedea mission with risk and deviations
|
|
78
37
|
*/
|
|
@@ -115,40 +74,16 @@ var ArchimedeaMission = class {
|
|
|
115
74
|
}
|
|
116
75
|
}
|
|
117
76
|
};
|
|
77
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMission.prototype, "faction", void 0);
|
|
78
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMission.prototype, "factionKey", void 0);
|
|
79
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMission.prototype, "missionType", void 0);
|
|
80
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMission.prototype, "missionTypeKey", void 0);
|
|
118
81
|
__decorate([
|
|
119
|
-
ApiProperty({ description: "Faction name" }),
|
|
120
|
-
IsString(),
|
|
121
|
-
__decorateMetadata("design:type", String)
|
|
122
|
-
], ArchimedeaMission.prototype, "faction", void 0);
|
|
123
|
-
__decorate([
|
|
124
|
-
ApiProperty({ description: "Faction untranslated key" }),
|
|
125
|
-
IsString(),
|
|
126
|
-
__decorateMetadata("design:type", String)
|
|
127
|
-
], ArchimedeaMission.prototype, "factionKey", void 0);
|
|
128
|
-
__decorate([
|
|
129
|
-
ApiProperty({ description: "Mission type name" }),
|
|
130
|
-
IsString(),
|
|
131
|
-
__decorateMetadata("design:type", String)
|
|
132
|
-
], ArchimedeaMission.prototype, "missionType", void 0);
|
|
133
|
-
__decorate([
|
|
134
|
-
ApiProperty({ description: "Mission type untranslated key" }),
|
|
135
|
-
IsString(),
|
|
136
|
-
__decorateMetadata("design:type", String)
|
|
137
|
-
], ArchimedeaMission.prototype, "missionTypeKey", void 0);
|
|
138
|
-
__decorate([
|
|
139
|
-
ApiProperty({
|
|
140
|
-
description: "Deviation difficulty information",
|
|
141
|
-
type: () => ArchimedeaMissionDifficulty
|
|
142
|
-
}),
|
|
143
82
|
ValidateNested(),
|
|
144
83
|
Type(() => ArchimedeaMissionDifficulty),
|
|
145
84
|
__decorateMetadata("design:type", typeof (_ref = typeof ArchimedeaMissionDifficulty !== "undefined" && ArchimedeaMissionDifficulty) === "function" ? _ref : Object)
|
|
146
85
|
], ArchimedeaMission.prototype, "deviation", void 0);
|
|
147
86
|
__decorate([
|
|
148
|
-
ApiProperty({
|
|
149
|
-
description: "List of risks for this mission",
|
|
150
|
-
type: [ArchimedeaMissionDifficultyRisk]
|
|
151
|
-
}),
|
|
152
87
|
IsArray(),
|
|
153
88
|
ValidateNested({ each: true }),
|
|
154
89
|
Type(() => ArchimedeaMissionDifficultyRisk),
|
|
@@ -194,36 +129,16 @@ var Archimedea = class extends WorldStateObject {
|
|
|
194
129
|
});
|
|
195
130
|
}
|
|
196
131
|
};
|
|
132
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Archimedea.prototype, "id", void 0);
|
|
133
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Archimedea.prototype, "type", void 0);
|
|
134
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Archimedea.prototype, "typeKey", void 0);
|
|
197
135
|
__decorate([
|
|
198
|
-
ApiProperty({ description: "MD5 generated ID" }),
|
|
199
|
-
IsString(),
|
|
200
|
-
__decorateMetadata("design:type", String)
|
|
201
|
-
], Archimedea.prototype, "id", void 0);
|
|
202
|
-
__decorate([
|
|
203
|
-
ApiProperty({ description: "Archimedea type" }),
|
|
204
|
-
IsString(),
|
|
205
|
-
__decorateMetadata("design:type", String)
|
|
206
|
-
], Archimedea.prototype, "type", void 0);
|
|
207
|
-
__decorate([
|
|
208
|
-
ApiProperty({ description: "Archimedea type untranslated" }),
|
|
209
|
-
IsString(),
|
|
210
|
-
__decorateMetadata("design:type", String)
|
|
211
|
-
], Archimedea.prototype, "typeKey", void 0);
|
|
212
|
-
__decorate([
|
|
213
|
-
ApiProperty({
|
|
214
|
-
description: "Missions along with deviations and risks",
|
|
215
|
-
type: [ArchimedeaMission]
|
|
216
|
-
}),
|
|
217
136
|
IsArray(),
|
|
218
137
|
ValidateNested({ each: true }),
|
|
219
138
|
Type(() => ArchimedeaMission),
|
|
220
139
|
__decorateMetadata("design:type", Array)
|
|
221
140
|
], Archimedea.prototype, "missions", void 0);
|
|
222
141
|
__decorate([
|
|
223
|
-
ApiProperty({
|
|
224
|
-
description: "Modifiers applied to the player",
|
|
225
|
-
type: [PersonalModifier]
|
|
226
|
-
}),
|
|
227
142
|
IsArray(),
|
|
228
143
|
ValidateNested({ each: true }),
|
|
229
144
|
Type(() => PersonalModifier),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as RawDay, n as DayEvent, r as RawCalender, t as Calendar } from "../../Calendar-
|
|
1
|
+
import { i as RawDay, n as DayEvent, r as RawCalender, t as Calendar } from "../../Calendar-D7QlYdGs.mjs";
|
|
2
2
|
export { Calendar, DayEvent, RawCalender, RawDay };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as CambionCycle } from "../../CambionCycle-
|
|
1
|
+
import { t as CambionCycle } from "../../CambionCycle-zMzaSuKG.mjs";
|
|
2
2
|
export { CambionCycle };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { n as __decorateMetadata, t as __decorate } from "../../decorate-
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DEb1C2pD.mjs";
|
|
2
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
4
3
|
import { IsString } from "class-validator";
|
|
5
4
|
import { fromNow } from "warframe-worldstate-data/utilities";
|
|
6
5
|
//#region lib/models/CambionCycle.ts
|
|
@@ -33,15 +32,7 @@ var CambionCycle = class extends WorldStateObject {
|
|
|
33
32
|
return fromNow(this.expiry) < 0;
|
|
34
33
|
}
|
|
35
34
|
};
|
|
36
|
-
__decorate([
|
|
37
|
-
|
|
38
|
-
IsString(),
|
|
39
|
-
__decorateMetadata("design:type", String)
|
|
40
|
-
], CambionCycle.prototype, "timeLeft", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
ApiProperty({ description: "Current cycle state. One of 'fass', 'vome'" }),
|
|
43
|
-
IsString(),
|
|
44
|
-
__decorateMetadata("design:type", String)
|
|
45
|
-
], CambionCycle.prototype, "state", void 0);
|
|
35
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], CambionCycle.prototype, "timeLeft", void 0);
|
|
36
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], CambionCycle.prototype, "state", void 0);
|
|
46
37
|
//#endregion
|
|
47
38
|
export { CambionCycle };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as CurrentCetusCycle, t as CetusCycle } from "../../CetusCycle-
|
|
1
|
+
import { n as CurrentCetusCycle, t as CetusCycle } from "../../CetusCycle-LdcGs_wx.mjs";
|
|
2
2
|
export { CetusCycle, CurrentCetusCycle };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { n as __decorateMetadata, t as __decorate } from "../../decorate-
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DEb1C2pD.mjs";
|
|
2
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
4
3
|
import { IsBoolean, IsString } from "class-validator";
|
|
5
4
|
import { fromNow, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
6
5
|
//#region lib/models/CetusCycle.ts
|
|
@@ -86,28 +85,9 @@ var CetusCycle = class extends WorldStateObject {
|
|
|
86
85
|
};
|
|
87
86
|
}
|
|
88
87
|
};
|
|
89
|
-
__decorate([
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
], CetusCycle.prototype, "isDay", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
ApiProperty({
|
|
96
|
-
description: "Current cycle state",
|
|
97
|
-
enum: ["day", "night"]
|
|
98
|
-
}),
|
|
99
|
-
IsString(),
|
|
100
|
-
__decorateMetadata("design:type", String)
|
|
101
|
-
], CetusCycle.prototype, "state", void 0);
|
|
102
|
-
__decorate([
|
|
103
|
-
ApiProperty({ description: "Time remaining until next cycle" }),
|
|
104
|
-
IsString(),
|
|
105
|
-
__decorateMetadata("design:type", String)
|
|
106
|
-
], CetusCycle.prototype, "timeLeft", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
ApiProperty({ description: "Always true for Cetus cycle" }),
|
|
109
|
-
IsBoolean(),
|
|
110
|
-
__decorateMetadata("design:type", Boolean)
|
|
111
|
-
], CetusCycle.prototype, "isCetus", void 0);
|
|
88
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], CetusCycle.prototype, "isDay", void 0);
|
|
89
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], CetusCycle.prototype, "state", void 0);
|
|
90
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], CetusCycle.prototype, "timeLeft", void 0);
|
|
91
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], CetusCycle.prototype, "isCetus", void 0);
|
|
112
92
|
//#endregion
|
|
113
93
|
export { CetusCycle };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { J as ChallengeInstance, Y as RawChallengeInstance } from "../../index-
|
|
1
|
+
import { J as ChallengeInstance, Y as RawChallengeInstance } from "../../index-C1rBnvm4.mjs";
|
|
2
2
|
export { ChallengeInstance, RawChallengeInstance };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as __decorateMetadata, t as __decorate } from "../../decorate-
|
|
2
|
-
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DEb1C2pD.mjs";
|
|
3
2
|
import { IsInt, IsOptional, IsString, Min } from "class-validator";
|
|
4
3
|
import { languageString } from "warframe-worldstate-data/utilities";
|
|
5
4
|
//#region lib/models/ChallengeInstance.ts
|
|
@@ -45,37 +44,28 @@ var ChallengeInstance = class {
|
|
|
45
44
|
this.target = data.VictimType?.[0] ? languageString(data.VictimType[0], locale) : data.Script?._faction;
|
|
46
45
|
}
|
|
47
46
|
};
|
|
47
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ChallengeInstance.prototype, "type", void 0);
|
|
48
48
|
__decorate([
|
|
49
|
-
ApiProperty({ description: "Type of challenge" }),
|
|
50
|
-
IsString(),
|
|
51
|
-
__decorateMetadata("design:type", String)
|
|
52
|
-
], ChallengeInstance.prototype, "type", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
ApiProperty({ description: "Minimum enemy level to fulfill challenge" }),
|
|
55
49
|
IsInt(),
|
|
56
50
|
Min(0),
|
|
57
51
|
__decorateMetadata("design:type", Number)
|
|
58
52
|
], ChallengeInstance.prototype, "minEnemyLevel", void 0);
|
|
59
53
|
__decorate([
|
|
60
|
-
ApiProperty({ description: "Required number of units to complete challenge" }),
|
|
61
54
|
IsInt(),
|
|
62
55
|
Min(0),
|
|
63
56
|
__decorateMetadata("design:type", Number)
|
|
64
57
|
], ChallengeInstance.prototype, "requiredAmount", void 0);
|
|
65
58
|
__decorate([
|
|
66
|
-
ApiProperty({ description: "Waypoint for amount of units between progression updates" }),
|
|
67
59
|
IsInt(),
|
|
68
60
|
Min(0),
|
|
69
61
|
__decorateMetadata("design:type", Number)
|
|
70
62
|
], ChallengeInstance.prototype, "progressAmount", void 0);
|
|
71
63
|
__decorate([
|
|
72
|
-
ApiPropertyOptional({ description: "Required damage type" }),
|
|
73
64
|
IsOptional(),
|
|
74
65
|
IsString(),
|
|
75
66
|
__decorateMetadata("design:type", String)
|
|
76
67
|
], ChallengeInstance.prototype, "damageType", void 0);
|
|
77
68
|
__decorate([
|
|
78
|
-
ApiPropertyOptional({ description: "Target to fulfill challenge" }),
|
|
79
69
|
IsOptional(),
|
|
80
70
|
IsString(),
|
|
81
71
|
__decorateMetadata("design:type", String)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { K as ConclaveChallenge, q as RawChallenge } from "../../index-
|
|
1
|
+
import { K as ConclaveChallenge, q as RawChallenge } from "../../index-C1rBnvm4.mjs";
|
|
2
2
|
export { ConclaveChallenge, RawChallenge };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { n as __decorateMetadata, t as __decorate } from "../../decorate-
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DEb1C2pD.mjs";
|
|
2
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
|
-
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
4
3
|
import { IsBoolean, IsInt, IsOptional, IsString, Min } from "class-validator";
|
|
5
4
|
import { conclaveCategory, conclaveChallenge, conclaveMode, fromNow, parseDate, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
6
5
|
//#region lib/models/ConclaveChallenge.ts
|
|
@@ -38,11 +37,11 @@ var ConclaveChallenge = class extends WorldStateObject {
|
|
|
38
37
|
*/
|
|
39
38
|
standing;
|
|
40
39
|
/**
|
|
41
|
-
* Whether
|
|
40
|
+
* Whether this is a daily conclave challenge.
|
|
42
41
|
*/
|
|
43
42
|
daily;
|
|
44
43
|
/**
|
|
45
|
-
* Whether
|
|
44
|
+
* Whether this is the root challenge
|
|
46
45
|
*/
|
|
47
46
|
rootChallenge;
|
|
48
47
|
/**
|
|
@@ -77,54 +76,30 @@ var ConclaveChallenge = class extends WorldStateObject {
|
|
|
77
76
|
}
|
|
78
77
|
};
|
|
79
78
|
__decorate([
|
|
80
|
-
ApiProperty({ description: "The number of times that the challenge's objective needs to be completed" }),
|
|
81
79
|
IsInt(),
|
|
82
80
|
Min(0),
|
|
83
81
|
__decorateMetadata("design:type", Number)
|
|
84
82
|
], ConclaveChallenge.prototype, "amount", void 0);
|
|
83
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ConclaveChallenge.prototype, "mode", void 0);
|
|
84
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ConclaveChallenge.prototype, "category", void 0);
|
|
85
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ConclaveChallenge.prototype, "categoryKey", void 0);
|
|
85
86
|
__decorate([
|
|
86
|
-
ApiProperty({ description: "The PVP mode that the challenge must be completed in" }),
|
|
87
|
-
IsString(),
|
|
88
|
-
__decorateMetadata("design:type", String)
|
|
89
|
-
], ConclaveChallenge.prototype, "mode", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
ApiProperty({ description: "The challenge's category (daily, weekly...)" }),
|
|
92
|
-
IsString(),
|
|
93
|
-
__decorateMetadata("design:type", String)
|
|
94
|
-
], ConclaveChallenge.prototype, "category", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
ApiProperty({ description: "The challenge category unlocalized" }),
|
|
97
|
-
IsString(),
|
|
98
|
-
__decorateMetadata("design:type", String)
|
|
99
|
-
], ConclaveChallenge.prototype, "categoryKey", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
ApiPropertyOptional({ description: "The challenge's description text" }),
|
|
102
87
|
IsOptional(),
|
|
103
88
|
IsString(),
|
|
104
89
|
__decorateMetadata("design:type", String)
|
|
105
90
|
], ConclaveChallenge.prototype, "description", void 0);
|
|
106
91
|
__decorate([
|
|
107
|
-
ApiPropertyOptional({ description: "Title of the challenge" }),
|
|
108
92
|
IsOptional(),
|
|
109
93
|
IsString(),
|
|
110
94
|
__decorateMetadata("design:type", String)
|
|
111
95
|
], ConclaveChallenge.prototype, "title", void 0);
|
|
112
96
|
__decorate([
|
|
113
|
-
ApiPropertyOptional({ description: "Standing granted by completing challenge" }),
|
|
114
97
|
IsOptional(),
|
|
115
98
|
IsInt(),
|
|
116
99
|
Min(0),
|
|
117
100
|
__decorateMetadata("design:type", Number)
|
|
118
101
|
], ConclaveChallenge.prototype, "standing", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
|
|
121
|
-
IsBoolean(),
|
|
122
|
-
__decorateMetadata("design:type", Boolean)
|
|
123
|
-
], ConclaveChallenge.prototype, "daily", void 0);
|
|
124
|
-
__decorate([
|
|
125
|
-
ApiProperty({ description: "Whether or not this is the root challenge" }),
|
|
126
|
-
IsBoolean(),
|
|
127
|
-
__decorateMetadata("design:type", Boolean)
|
|
128
|
-
], ConclaveChallenge.prototype, "rootChallenge", void 0);
|
|
102
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ConclaveChallenge.prototype, "daily", void 0);
|
|
103
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ConclaveChallenge.prototype, "rootChallenge", void 0);
|
|
129
104
|
//#endregion
|
|
130
105
|
export { ConclaveChallenge };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ConstructionProgress } from "../../ConstructionProgress-
|
|
1
|
+
import { t as ConstructionProgress } from "../../ConstructionProgress-fM9jbjFW.mjs";
|
|
2
2
|
export { ConstructionProgress };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { n as __decorateMetadata, t as __decorate } from "../../decorate-
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DEb1C2pD.mjs";
|
|
2
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
5
4
|
import { IsString } from "class-validator";
|
|
6
5
|
//#region lib/models/ConstructionProgress.ts
|
|
7
6
|
/**
|
|
@@ -31,20 +30,8 @@ var ConstructionProgress = class extends WorldStateObject {
|
|
|
31
30
|
this.unknownProgress = (data[2] ?? 0).toFixed(2);
|
|
32
31
|
}
|
|
33
32
|
};
|
|
34
|
-
__decorate([
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
__decorateMetadata("design:type", String)
|
|
38
|
-
], ConstructionProgress.prototype, "fomorianProgress", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
ApiProperty({ description: "Razorback construction progress percentage" }),
|
|
41
|
-
IsString(),
|
|
42
|
-
__decorateMetadata("design:type", String)
|
|
43
|
-
], ConstructionProgress.prototype, "razorbackProgress", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
ApiProperty({ description: "Unknown construction progress percentage" }),
|
|
46
|
-
IsString(),
|
|
47
|
-
__decorateMetadata("design:type", String)
|
|
48
|
-
], ConstructionProgress.prototype, "unknownProgress", void 0);
|
|
33
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ConstructionProgress.prototype, "fomorianProgress", void 0);
|
|
34
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ConstructionProgress.prototype, "razorbackProgress", void 0);
|
|
35
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ConstructionProgress.prototype, "unknownProgress", void 0);
|
|
49
36
|
//#endregion
|
|
50
37
|
export { ConstructionProgress };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { G as RawDailyDeal, W as DailyDeal } from "../../index-
|
|
1
|
+
import { G as RawDailyDeal, W as DailyDeal } from "../../index-C1rBnvm4.mjs";
|
|
2
2
|
export { DailyDeal, RawDailyDeal };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { n as __decorateMetadata, t as __decorate } from "../../decorate-
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DEb1C2pD.mjs";
|
|
2
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
4
3
|
import { IsInt, IsNumber, IsString, Min } from "class-validator";
|
|
5
4
|
import { fromNow, languageString, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
6
5
|
//#region lib/models/DailyDeal.ts
|
|
@@ -63,47 +62,30 @@ var DailyDeal = class extends WorldStateObject {
|
|
|
63
62
|
return timeDeltaToString(fromNow(this.expiry));
|
|
64
63
|
}
|
|
65
64
|
};
|
|
65
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], DailyDeal.prototype, "item", void 0);
|
|
66
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], DailyDeal.prototype, "uniqueName", void 0);
|
|
66
67
|
__decorate([
|
|
67
|
-
ApiProperty({ description: "Localized item name on sale" }),
|
|
68
|
-
IsString(),
|
|
69
|
-
__decorateMetadata("design:type", String)
|
|
70
|
-
], DailyDeal.prototype, "item", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
ApiProperty({ description: "Unique item identifier" }),
|
|
73
|
-
IsString(),
|
|
74
|
-
__decorateMetadata("design:type", String)
|
|
75
|
-
], DailyDeal.prototype, "uniqueName", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
ApiProperty({ description: "Original price in platinum" }),
|
|
78
68
|
IsInt(),
|
|
79
69
|
Min(0),
|
|
80
70
|
__decorateMetadata("design:type", Number)
|
|
81
71
|
], DailyDeal.prototype, "originalPrice", void 0);
|
|
82
72
|
__decorate([
|
|
83
|
-
ApiProperty({ description: "Sale price in platinum" }),
|
|
84
73
|
IsInt(),
|
|
85
74
|
Min(0),
|
|
86
75
|
__decorateMetadata("design:type", Number)
|
|
87
76
|
], DailyDeal.prototype, "salePrice", void 0);
|
|
88
77
|
__decorate([
|
|
89
|
-
ApiProperty({ description: "Total items available" }),
|
|
90
78
|
IsInt(),
|
|
91
79
|
Min(0),
|
|
92
80
|
__decorateMetadata("design:type", Number)
|
|
93
81
|
], DailyDeal.prototype, "total", void 0);
|
|
94
82
|
__decorate([
|
|
95
|
-
ApiProperty({ description: "Number of items sold" }),
|
|
96
83
|
IsInt(),
|
|
97
84
|
Min(0),
|
|
98
85
|
__decorateMetadata("design:type", Number)
|
|
99
86
|
], DailyDeal.prototype, "sold", void 0);
|
|
87
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], DailyDeal.prototype, "id", void 0);
|
|
100
88
|
__decorate([
|
|
101
|
-
ApiProperty({ description: "Unique deal identifier" }),
|
|
102
|
-
IsString(),
|
|
103
|
-
__decorateMetadata("design:type", String)
|
|
104
|
-
], DailyDeal.prototype, "id", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
ApiProperty({ description: "Discount percentage" }),
|
|
107
89
|
IsNumber(),
|
|
108
90
|
Min(0),
|
|
109
91
|
__decorateMetadata("design:type", Number)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { H as DefenderInfo, U as RawDarkSector, V as DarkSector } from "../../index-
|
|
1
|
+
import { H as DefenderInfo, U as RawDarkSector, V as DarkSector } from "../../index-C1rBnvm4.mjs";
|
|
2
2
|
export { DarkSector, DefenderInfo, RawDarkSector };
|