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,2 +1,2 @@
|
|
|
1
|
-
import { t as MidrathCycle } from "../../MidrathCycle-
|
|
1
|
+
import { t as MidrathCycle } from "../../MidrathCycle-DBZgxYyZ.mjs";
|
|
2
2
|
export { MidrathCycle };
|
|
@@ -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 { IsBoolean, IsString } from "class-validator";
|
|
6
5
|
import { fromNow, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
7
6
|
//#region lib/models/MidrathCycle.ts
|
|
@@ -11,7 +10,7 @@ import { fromNow, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
|
11
10
|
function getCurrentMidrathCycle() {
|
|
12
11
|
const dayDuration = 1920 * 1e3;
|
|
13
12
|
const nightDuration = 960 * 1e3;
|
|
14
|
-
const totalDuration =
|
|
13
|
+
const totalDuration = 288e4;
|
|
15
14
|
const refPoint = Date.parse("2025-08-07T16:05:29Z");
|
|
16
15
|
const now = Date.now();
|
|
17
16
|
const elapsedInCycle = (now - refPoint) % totalDuration;
|
|
@@ -65,15 +64,7 @@ var MidrathCycle = class extends WorldStateObject {
|
|
|
65
64
|
return timeDeltaToString(fromNow(this.expiry));
|
|
66
65
|
}
|
|
67
66
|
};
|
|
68
|
-
__decorate([
|
|
69
|
-
|
|
70
|
-
IsBoolean(),
|
|
71
|
-
__decorateMetadata("design:type", Boolean)
|
|
72
|
-
], MidrathCycle.prototype, "isDay", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
ApiProperty({ description: "The current state" }),
|
|
75
|
-
IsString(),
|
|
76
|
-
__decorateMetadata("design:type", String)
|
|
77
|
-
], MidrathCycle.prototype, "state", void 0);
|
|
67
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], MidrathCycle.prototype, "isDay", void 0);
|
|
68
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], MidrathCycle.prototype, "state", void 0);
|
|
78
69
|
//#endregion
|
|
79
70
|
export { MidrathCycle };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ct as RawMission, st as Mission } from "../../index-
|
|
1
|
+
import { ct as RawMission, st as Mission } from "../../index-C1rBnvm4.mjs";
|
|
2
2
|
export { Mission, RawMission };
|
|
@@ -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 { Reward } from "./Reward.mjs";
|
|
3
|
-
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
4
3
|
import { Type } from "class-transformer";
|
|
5
4
|
import { IsArray, IsBoolean, IsInt, IsOptional, IsString, Min, ValidateNested } from "class-validator";
|
|
6
5
|
import { faction, insist, languageString, missionType, node } from "warframe-worldstate-data/utilities";
|
|
@@ -139,150 +138,75 @@ var Mission = class {
|
|
|
139
138
|
this.exclusiveWeapon = languageString(data.exclusiveWeapon, locale);
|
|
140
139
|
}
|
|
141
140
|
};
|
|
141
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Mission.prototype, "description", void 0);
|
|
142
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Mission.prototype, "node", void 0);
|
|
143
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Mission.prototype, "nodeKey", void 0);
|
|
144
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Mission.prototype, "type", void 0);
|
|
145
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Mission.prototype, "typeKey", void 0);
|
|
146
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Mission.prototype, "faction", void 0);
|
|
147
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Mission.prototype, "factionKey", void 0);
|
|
142
148
|
__decorate([
|
|
143
|
-
ApiProperty({ description: "Mission description" }),
|
|
144
|
-
IsString(),
|
|
145
|
-
__decorateMetadata("design:type", String)
|
|
146
|
-
], Mission.prototype, "description", void 0);
|
|
147
|
-
__decorate([
|
|
148
|
-
ApiProperty({ description: "Localized mission node name" }),
|
|
149
|
-
IsString(),
|
|
150
|
-
__decorateMetadata("design:type", String)
|
|
151
|
-
], Mission.prototype, "node", void 0);
|
|
152
|
-
__decorate([
|
|
153
|
-
ApiProperty({ description: "Unlocalized mission node key" }),
|
|
154
|
-
IsString(),
|
|
155
|
-
__decorateMetadata("design:type", String)
|
|
156
|
-
], Mission.prototype, "nodeKey", void 0);
|
|
157
|
-
__decorate([
|
|
158
|
-
ApiProperty({ description: "Localized mission type" }),
|
|
159
|
-
IsString(),
|
|
160
|
-
__decorateMetadata("design:type", String)
|
|
161
|
-
], Mission.prototype, "type", void 0);
|
|
162
|
-
__decorate([
|
|
163
|
-
ApiProperty({ description: "Unlocalized mission type key" }),
|
|
164
|
-
IsString(),
|
|
165
|
-
__decorateMetadata("design:type", String)
|
|
166
|
-
], Mission.prototype, "typeKey", void 0);
|
|
167
|
-
__decorate([
|
|
168
|
-
ApiProperty({ description: "Localized faction name" }),
|
|
169
|
-
IsString(),
|
|
170
|
-
__decorateMetadata("design:type", String)
|
|
171
|
-
], Mission.prototype, "faction", void 0);
|
|
172
|
-
__decorate([
|
|
173
|
-
ApiProperty({ description: "Unlocalized faction key" }),
|
|
174
|
-
IsString(),
|
|
175
|
-
__decorateMetadata("design:type", String)
|
|
176
|
-
], Mission.prototype, "factionKey", void 0);
|
|
177
|
-
__decorate([
|
|
178
|
-
ApiPropertyOptional({
|
|
179
|
-
description: "Mission rewards",
|
|
180
|
-
type: () => Reward
|
|
181
|
-
}),
|
|
182
149
|
IsOptional(),
|
|
183
150
|
ValidateNested(),
|
|
184
151
|
Type(() => Reward),
|
|
185
152
|
__decorateMetadata("design:type", typeof (_ref = typeof Reward !== "undefined" && Reward) === "function" ? _ref : Object)
|
|
186
153
|
], Mission.prototype, "reward", void 0);
|
|
187
154
|
__decorate([
|
|
188
|
-
ApiProperty({ description: "Minimum enemy level" }),
|
|
189
155
|
IsInt(),
|
|
190
156
|
Min(0),
|
|
191
157
|
__decorateMetadata("design:type", Number)
|
|
192
158
|
], Mission.prototype, "minEnemyLevel", void 0);
|
|
193
159
|
__decorate([
|
|
194
|
-
ApiProperty({ description: "Maximum enemy level" }),
|
|
195
160
|
IsInt(),
|
|
196
161
|
Min(0),
|
|
197
162
|
__decorateMetadata("design:type", Number)
|
|
198
163
|
], Mission.prototype, "maxEnemyLevel", void 0);
|
|
199
164
|
__decorate([
|
|
200
|
-
ApiPropertyOptional({ description: "Maximum wave number (for wave-based missions)" }),
|
|
201
165
|
IsOptional(),
|
|
202
166
|
IsInt(),
|
|
203
167
|
Min(0),
|
|
204
168
|
__decorateMetadata("design:type", Number)
|
|
205
169
|
], Mission.prototype, "maxWaveNum", void 0);
|
|
170
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], Mission.prototype, "nightmare", void 0);
|
|
171
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], Mission.prototype, "archwingRequired", void 0);
|
|
172
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], Mission.prototype, "isSharkwing", void 0);
|
|
173
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Mission.prototype, "levelOverride", void 0);
|
|
174
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Mission.prototype, "enemySpec", void 0);
|
|
206
175
|
__decorate([
|
|
207
|
-
ApiProperty({ description: "Whether this is a nightmare mission" }),
|
|
208
|
-
IsBoolean(),
|
|
209
|
-
__decorateMetadata("design:type", Boolean)
|
|
210
|
-
], Mission.prototype, "nightmare", void 0);
|
|
211
|
-
__decorate([
|
|
212
|
-
ApiProperty({ description: "Whether archwing is required" }),
|
|
213
|
-
IsBoolean(),
|
|
214
|
-
__decorateMetadata("design:type", Boolean)
|
|
215
|
-
], Mission.prototype, "archwingRequired", void 0);
|
|
216
|
-
__decorate([
|
|
217
|
-
ApiProperty({ description: "Whether sharkwing is required" }),
|
|
218
|
-
IsBoolean(),
|
|
219
|
-
__decorateMetadata("design:type", Boolean)
|
|
220
|
-
], Mission.prototype, "isSharkwing", void 0);
|
|
221
|
-
__decorate([
|
|
222
|
-
ApiProperty({ description: "Level override for the mission" }),
|
|
223
|
-
IsString(),
|
|
224
|
-
__decorateMetadata("design:type", String)
|
|
225
|
-
], Mission.prototype, "levelOverride", void 0);
|
|
226
|
-
__decorate([
|
|
227
|
-
ApiProperty({ description: "Enemy specification" }),
|
|
228
|
-
IsString(),
|
|
229
|
-
__decorateMetadata("design:type", String)
|
|
230
|
-
], Mission.prototype, "enemySpec", void 0);
|
|
231
|
-
__decorate([
|
|
232
|
-
ApiProperty({
|
|
233
|
-
description: "Advanced spawners for the mission",
|
|
234
|
-
type: [String]
|
|
235
|
-
}),
|
|
236
176
|
IsArray(),
|
|
237
177
|
IsString({ each: true }),
|
|
238
178
|
__decorateMetadata("design:type", Array)
|
|
239
179
|
], Mission.prototype, "advancedSpawners", void 0);
|
|
240
180
|
__decorate([
|
|
241
|
-
ApiProperty({
|
|
242
|
-
description: "Items required to enter the mission",
|
|
243
|
-
type: [String]
|
|
244
|
-
}),
|
|
245
181
|
IsArray(),
|
|
246
182
|
IsString({ each: true }),
|
|
247
183
|
__decorateMetadata("design:type", Array)
|
|
248
184
|
], Mission.prototype, "requiredItems", void 0);
|
|
249
185
|
__decorate([
|
|
250
|
-
ApiPropertyOptional({ description: "Whether required items are consumed" }),
|
|
251
186
|
IsOptional(),
|
|
252
187
|
IsBoolean(),
|
|
253
188
|
__decorateMetadata("design:type", Boolean)
|
|
254
189
|
], Mission.prototype, "consumeRequiredItems", void 0);
|
|
255
190
|
__decorate([
|
|
256
|
-
ApiPropertyOptional({ description: "VIP target for the mission" }),
|
|
257
191
|
IsOptional(),
|
|
258
192
|
IsString(),
|
|
259
193
|
__decorateMetadata("design:type", String)
|
|
260
194
|
], Mission.prototype, "target", void 0);
|
|
261
195
|
__decorate([
|
|
262
|
-
ApiPropertyOptional({ description: "Whether leaders are always allowed" }),
|
|
263
196
|
IsOptional(),
|
|
264
197
|
IsBoolean(),
|
|
265
198
|
__decorateMetadata("design:type", Boolean)
|
|
266
199
|
], Mission.prototype, "leadersAlwaysAllowed", void 0);
|
|
267
200
|
__decorate([
|
|
268
|
-
ApiPropertyOptional({ description: "Event goal tag" }),
|
|
269
201
|
IsOptional(),
|
|
270
202
|
IsString(),
|
|
271
203
|
__decorateMetadata("design:type", String)
|
|
272
204
|
], Mission.prototype, "goalTag", void 0);
|
|
273
205
|
__decorate([
|
|
274
|
-
ApiProperty({
|
|
275
|
-
description: "Level auras affecting the mission",
|
|
276
|
-
type: [String]
|
|
277
|
-
}),
|
|
278
206
|
IsArray(),
|
|
279
207
|
IsString({ each: true }),
|
|
280
208
|
__decorateMetadata("design:type", Array)
|
|
281
209
|
], Mission.prototype, "levelAuras", void 0);
|
|
282
|
-
__decorate([
|
|
283
|
-
ApiProperty({ description: "Exclusive weapon allowed for the mission" }),
|
|
284
|
-
IsString(),
|
|
285
|
-
__decorateMetadata("design:type", String)
|
|
286
|
-
], Mission.prototype, "exclusiveWeapon", void 0);
|
|
210
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Mission.prototype, "exclusiveWeapon", void 0);
|
|
287
211
|
//#endregion
|
|
288
212
|
export { Mission };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RawNews, t as News } from "../../News-
|
|
1
|
+
import { n as RawNews, t as News } from "../../News-CKODxayp.mjs";
|
|
2
2
|
export { News, RawNews };
|
package/dist/lib/models/News.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { cdn, deProxy } from "../supporting/ImgCdn.mjs";
|
|
2
|
-
import { n as __decorateMetadata, t as __decorate } from "../../decorate-
|
|
2
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DEb1C2pD.mjs";
|
|
3
3
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
4
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
5
4
|
import { Type } from "class-transformer";
|
|
6
5
|
import { IsBoolean, IsDate, IsObject, IsString } from "class-validator";
|
|
7
6
|
import { fromNow, languageString, parseDate, timeDeltaToString, toNow } from "warframe-worldstate-data/utilities";
|
|
@@ -117,62 +116,19 @@ var News = class extends WorldStateObject {
|
|
|
117
116
|
return langCode in this.translations ? this.translations[langCode] : this.message;
|
|
118
117
|
}
|
|
119
118
|
};
|
|
119
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], News.prototype, "message", void 0);
|
|
120
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], News.prototype, "link", void 0);
|
|
121
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], News.prototype, "imageLink", void 0);
|
|
122
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], News.prototype, "priority", void 0);
|
|
120
123
|
__decorate([
|
|
121
|
-
ApiProperty({ description: "News message content" }),
|
|
122
|
-
IsString(),
|
|
123
|
-
__decorateMetadata("design:type", String)
|
|
124
|
-
], News.prototype, "message", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
ApiProperty({ description: "Link to the forum post or article" }),
|
|
127
|
-
IsString(),
|
|
128
|
-
__decorateMetadata("design:type", String)
|
|
129
|
-
], News.prototype, "link", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
ApiProperty({ description: "Image URL for the news item" }),
|
|
132
|
-
IsString(),
|
|
133
|
-
__decorateMetadata("design:type", String)
|
|
134
|
-
], News.prototype, "imageLink", void 0);
|
|
135
|
-
__decorate([
|
|
136
|
-
ApiProperty({ description: "Whether this news has priority" }),
|
|
137
|
-
IsBoolean(),
|
|
138
|
-
__decorateMetadata("design:type", Boolean)
|
|
139
|
-
], News.prototype, "priority", void 0);
|
|
140
|
-
__decorate([
|
|
141
|
-
ApiProperty({
|
|
142
|
-
description: "Publication date",
|
|
143
|
-
type: Date
|
|
144
|
-
}),
|
|
145
124
|
IsDate(),
|
|
146
125
|
Type(() => Date),
|
|
147
126
|
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
148
127
|
], News.prototype, "date", void 0);
|
|
149
|
-
__decorate([
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
IsObject(),
|
|
155
|
-
__decorateMetadata("design:type", typeof (_ref2 = typeof Record !== "undefined" && Record) === "function" ? _ref2 : Object)
|
|
156
|
-
], News.prototype, "translations", void 0);
|
|
157
|
-
__decorate([
|
|
158
|
-
ApiProperty({ description: "Whether this is a game update announcement" }),
|
|
159
|
-
IsBoolean(),
|
|
160
|
-
__decorateMetadata("design:type", Boolean)
|
|
161
|
-
], News.prototype, "update", void 0);
|
|
162
|
-
__decorate([
|
|
163
|
-
ApiProperty({ description: "Whether this is a Prime Access announcement" }),
|
|
164
|
-
IsBoolean(),
|
|
165
|
-
__decorateMetadata("design:type", Boolean)
|
|
166
|
-
], News.prototype, "primeAccess", void 0);
|
|
167
|
-
__decorate([
|
|
168
|
-
ApiProperty({ description: "Whether this is a stream announcement" }),
|
|
169
|
-
IsBoolean(),
|
|
170
|
-
__decorateMetadata("design:type", Boolean)
|
|
171
|
-
], News.prototype, "stream", void 0);
|
|
172
|
-
__decorate([
|
|
173
|
-
ApiProperty({ description: "Whether this news is mobile-only" }),
|
|
174
|
-
IsBoolean(),
|
|
175
|
-
__decorateMetadata("design:type", Boolean)
|
|
176
|
-
], News.prototype, "mobileOnly", void 0);
|
|
128
|
+
__decorate([IsObject(), __decorateMetadata("design:type", typeof (_ref2 = typeof Record !== "undefined" && Record) === "function" ? _ref2 : Object)], News.prototype, "translations", void 0);
|
|
129
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], News.prototype, "update", void 0);
|
|
130
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], News.prototype, "primeAccess", void 0);
|
|
131
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], News.prototype, "stream", void 0);
|
|
132
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], News.prototype, "mobileOnly", void 0);
|
|
177
133
|
//#endregion
|
|
178
134
|
export { News };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RawNightwave, t as Nightwave } from "../../Nightwave-
|
|
1
|
+
import { n as RawNightwave, t as Nightwave } from "../../Nightwave-D7wrORCe.mjs";
|
|
2
2
|
export { Nightwave, RawNightwave };
|
|
@@ -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 { NightwaveChallenge } from "./NightwaveChallenge.mjs";
|
|
4
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
5
4
|
import { Type } from "class-transformer";
|
|
6
5
|
import { IsArray, IsInt, IsObject, IsString, Min, ValidateNested } from "class-validator";
|
|
7
6
|
import { fromNow, languageString, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
@@ -60,45 +59,24 @@ var Nightwave = class extends WorldStateObject {
|
|
|
60
59
|
}
|
|
61
60
|
};
|
|
62
61
|
__decorate([
|
|
63
|
-
ApiProperty({ description: "The current season (0-indexed)" }),
|
|
64
62
|
IsInt(),
|
|
65
63
|
Min(0),
|
|
66
64
|
__decorateMetadata("design:type", Number)
|
|
67
65
|
], Nightwave.prototype, "season", void 0);
|
|
66
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Nightwave.prototype, "tag", void 0);
|
|
68
67
|
__decorate([
|
|
69
|
-
ApiProperty({ description: "Descriptor for affiliation" }),
|
|
70
|
-
IsString(),
|
|
71
|
-
__decorateMetadata("design:type", String)
|
|
72
|
-
], Nightwave.prototype, "tag", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
ApiProperty({ description: "The current season's current phase (0-indexed)" }),
|
|
75
68
|
IsInt(),
|
|
76
69
|
Min(0),
|
|
77
70
|
__decorateMetadata("design:type", Number)
|
|
78
71
|
], Nightwave.prototype, "phase", void 0);
|
|
72
|
+
__decorate([IsObject(), __decorateMetadata("design:type", typeof (_ref = typeof Record !== "undefined" && Record) === "function" ? _ref : Object)], Nightwave.prototype, "params", void 0);
|
|
79
73
|
__decorate([
|
|
80
|
-
ApiProperty({
|
|
81
|
-
description: "Miscellaneous parameters provided",
|
|
82
|
-
type: "object"
|
|
83
|
-
}),
|
|
84
|
-
IsObject(),
|
|
85
|
-
__decorateMetadata("design:type", typeof (_ref = typeof Record !== "undefined" && Record) === "function" ? _ref : Object)
|
|
86
|
-
], Nightwave.prototype, "params", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
ApiProperty({
|
|
89
|
-
description: "Array of possible challenges",
|
|
90
|
-
type: [NightwaveChallenge]
|
|
91
|
-
}),
|
|
92
74
|
IsArray(),
|
|
93
75
|
ValidateNested({ each: true }),
|
|
94
76
|
Type(() => NightwaveChallenge),
|
|
95
77
|
__decorateMetadata("design:type", Array)
|
|
96
78
|
], Nightwave.prototype, "possibleChallenges", void 0);
|
|
97
79
|
__decorate([
|
|
98
|
-
ApiProperty({
|
|
99
|
-
description: "Array of active challenges",
|
|
100
|
-
type: [NightwaveChallenge]
|
|
101
|
-
}),
|
|
102
80
|
IsArray(),
|
|
103
81
|
ValidateNested({ each: true }),
|
|
104
82
|
Type(() => NightwaveChallenge),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RawNightwaveChallenge, t as NightwaveChallenge } from "../../NightwaveChallenge-
|
|
1
|
+
import { n as RawNightwaveChallenge, t as NightwaveChallenge } from "../../NightwaveChallenge-Cm_BhnRu.mjs";
|
|
2
2
|
export { NightwaveChallenge, RawNightwaveChallenge };
|
|
@@ -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, IsInt, IsString, Min } from "class-validator";
|
|
5
4
|
import { languageDesc, languageString } from "warframe-worldstate-data/utilities";
|
|
6
5
|
//#region lib/models/NightwaveChallenge.ts
|
|
@@ -50,36 +49,15 @@ var NightwaveChallenge = class extends WorldStateObject {
|
|
|
50
49
|
this.isPermanent = Boolean(data?.Permanent);
|
|
51
50
|
}
|
|
52
51
|
};
|
|
52
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], NightwaveChallenge.prototype, "isDaily", void 0);
|
|
53
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], NightwaveChallenge.prototype, "isElite", void 0);
|
|
54
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], NightwaveChallenge.prototype, "desc", void 0);
|
|
55
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], NightwaveChallenge.prototype, "title", void 0);
|
|
53
56
|
__decorate([
|
|
54
|
-
ApiProperty({ description: "Whether or not this is a daily challenge" }),
|
|
55
|
-
IsBoolean(),
|
|
56
|
-
__decorateMetadata("design:type", Boolean)
|
|
57
|
-
], NightwaveChallenge.prototype, "isDaily", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
ApiProperty({ description: "Whether or not the challenge is an elite challenge" }),
|
|
60
|
-
IsBoolean(),
|
|
61
|
-
__decorateMetadata("design:type", Boolean)
|
|
62
|
-
], NightwaveChallenge.prototype, "isElite", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
ApiProperty({ description: "The description for this challenge" }),
|
|
65
|
-
IsString(),
|
|
66
|
-
__decorateMetadata("design:type", String)
|
|
67
|
-
], NightwaveChallenge.prototype, "desc", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
ApiProperty({ description: "The title for this challenge" }),
|
|
70
|
-
IsString(),
|
|
71
|
-
__decorateMetadata("design:type", String)
|
|
72
|
-
], NightwaveChallenge.prototype, "title", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
ApiProperty({ description: "Reputation reward for ranking up in the Nightwave" }),
|
|
75
57
|
IsInt(),
|
|
76
58
|
Min(0),
|
|
77
59
|
__decorateMetadata("design:type", Number)
|
|
78
60
|
], NightwaveChallenge.prototype, "reputation", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
ApiProperty({ description: "Whether this challenge is permanent" }),
|
|
81
|
-
IsBoolean(),
|
|
82
|
-
__decorateMetadata("design:type", Boolean)
|
|
83
|
-
], NightwaveChallenge.prototype, "isPermanent", void 0);
|
|
61
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], NightwaveChallenge.prototype, "isPermanent", void 0);
|
|
84
62
|
//#endregion
|
|
85
63
|
export { NightwaveChallenge };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RawPersistentEnemy, t as PersistentEnemy } from "../../PersistentEnemy-
|
|
1
|
+
import { n as RawPersistentEnemy, t as PersistentEnemy } from "../../PersistentEnemy-CgRe5bWz.mjs";
|
|
2
2
|
export { PersistentEnemy, RawPersistentEnemy };
|
|
@@ -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 { Type } from "class-transformer";
|
|
5
4
|
import { IsBoolean, IsDate, IsInt, IsNumber, IsString, Min } from "class-validator";
|
|
6
5
|
import { languageString, node, parseDate, region } from "warframe-worldstate-data/utilities";
|
|
@@ -75,62 +74,27 @@ var PersistentEnemy = class extends WorldStateObject {
|
|
|
75
74
|
this.pid = `${this.id}${this.isDiscovered}`;
|
|
76
75
|
}
|
|
77
76
|
};
|
|
77
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], PersistentEnemy.prototype, "agentType", void 0);
|
|
78
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], PersistentEnemy.prototype, "locationTag", void 0);
|
|
78
79
|
__decorate([
|
|
79
|
-
ApiProperty({ description: "The enemy's type" }),
|
|
80
|
-
IsString(),
|
|
81
|
-
__decorateMetadata("design:type", String)
|
|
82
|
-
], PersistentEnemy.prototype, "agentType", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
ApiProperty({ description: "The location tag" }),
|
|
85
|
-
IsString(),
|
|
86
|
-
__decorateMetadata("design:type", String)
|
|
87
|
-
], PersistentEnemy.prototype, "locationTag", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
ApiProperty({ description: "The enemy's rank" }),
|
|
90
80
|
IsInt(),
|
|
91
81
|
Min(0),
|
|
92
82
|
__decorateMetadata("design:type", Number)
|
|
93
83
|
], PersistentEnemy.prototype, "rank", void 0);
|
|
94
84
|
__decorate([
|
|
95
|
-
ApiProperty({ description: "The enemy's remaining health percentage" }),
|
|
96
85
|
IsNumber(),
|
|
97
86
|
Min(0),
|
|
98
87
|
__decorateMetadata("design:type", Number)
|
|
99
88
|
], PersistentEnemy.prototype, "healthPercent", void 0);
|
|
89
|
+
__decorate([IsNumber(), __decorateMetadata("design:type", Number)], PersistentEnemy.prototype, "fleeDamage", void 0);
|
|
100
90
|
__decorate([
|
|
101
|
-
ApiProperty({ description: "The percentual damage that the enemy takes when it's defeated" }),
|
|
102
|
-
IsNumber(),
|
|
103
|
-
__decorateMetadata("design:type", Number)
|
|
104
|
-
], PersistentEnemy.prototype, "fleeDamage", void 0);
|
|
105
|
-
__decorate([ApiProperty({ description: "The region where the enemy is located" }), __decorateMetadata("design:type", Object)], PersistentEnemy.prototype, "region", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
ApiProperty({
|
|
108
|
-
description: "The last time the enemy was discovered",
|
|
109
|
-
type: Date
|
|
110
|
-
}),
|
|
111
91
|
IsDate(),
|
|
112
92
|
Type(() => Date),
|
|
113
93
|
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
114
94
|
], PersistentEnemy.prototype, "lastDiscoveredTime", void 0);
|
|
115
|
-
__decorate([
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
], PersistentEnemy.prototype, "lastDiscoveredAt", void 0);
|
|
120
|
-
__decorate([
|
|
121
|
-
ApiProperty({ description: "Whether or not the enemy is currently available" }),
|
|
122
|
-
IsBoolean(),
|
|
123
|
-
__decorateMetadata("design:type", Boolean)
|
|
124
|
-
], PersistentEnemy.prototype, "isDiscovered", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
ApiProperty({ description: "Whether or not the enemy is using ticketing" }),
|
|
127
|
-
IsBoolean(),
|
|
128
|
-
__decorateMetadata("design:type", Boolean)
|
|
129
|
-
], PersistentEnemy.prototype, "isUsingTicketing", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
ApiProperty({ description: "Fake ID incorporating discovery" }),
|
|
132
|
-
IsString(),
|
|
133
|
-
__decorateMetadata("design:type", String)
|
|
134
|
-
], PersistentEnemy.prototype, "pid", void 0);
|
|
95
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], PersistentEnemy.prototype, "lastDiscoveredAt", void 0);
|
|
96
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], PersistentEnemy.prototype, "isDiscovered", void 0);
|
|
97
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], PersistentEnemy.prototype, "isUsingTicketing", void 0);
|
|
98
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], PersistentEnemy.prototype, "pid", void 0);
|
|
135
99
|
//#endregion
|
|
136
100
|
export { PersistentEnemy };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { dt as getItemType, ft as getItemTypeFull, lt as RawReward, ut as Reward } from "../../index-
|
|
1
|
+
import { dt as getItemType, ft as getItemTypeFull, lt as RawReward, ut as Reward } from "../../index-C1rBnvm4.mjs";
|
|
2
2
|
export { RawReward, Reward, getItemType, getItemTypeFull };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import RewardTypes_default from "../supporting/RewardTypes.mjs";
|
|
2
|
-
import { n as __decorateMetadata, t as __decorate } from "../../decorate-
|
|
3
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
2
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DEb1C2pD.mjs";
|
|
4
3
|
import { IsArray, IsInt, IsNumber, IsString, Min } from "class-validator";
|
|
5
4
|
import { insist, languageString } from "warframe-worldstate-data/utilities";
|
|
6
5
|
//#region lib/models/Reward.ts
|
|
@@ -71,51 +70,17 @@ var Reward = class {
|
|
|
71
70
|
}
|
|
72
71
|
};
|
|
73
72
|
__decorate([
|
|
74
|
-
ApiProperty({
|
|
75
|
-
description: "Localized item names being rewarded",
|
|
76
|
-
type: [String]
|
|
77
|
-
}),
|
|
78
73
|
IsArray(),
|
|
79
74
|
IsString({ each: true }),
|
|
80
75
|
__decorateMetadata("design:type", Array)
|
|
81
76
|
], Reward.prototype, "items", void 0);
|
|
77
|
+
__decorate([IsArray(), __decorateMetadata("design:type", Array)], Reward.prototype, "countedItems", void 0);
|
|
82
78
|
__decorate([
|
|
83
|
-
ApiProperty({
|
|
84
|
-
description: "Counted items being rewarded with quantities",
|
|
85
|
-
type: "array",
|
|
86
|
-
items: { properties: {
|
|
87
|
-
type: {
|
|
88
|
-
type: "string",
|
|
89
|
-
description: "Localized item type"
|
|
90
|
-
},
|
|
91
|
-
key: {
|
|
92
|
-
type: "string",
|
|
93
|
-
description: "Unlocalized item key"
|
|
94
|
-
},
|
|
95
|
-
count: {
|
|
96
|
-
type: "number",
|
|
97
|
-
description: "Item count"
|
|
98
|
-
}
|
|
99
|
-
} }
|
|
100
|
-
}),
|
|
101
|
-
IsArray(),
|
|
102
|
-
__decorateMetadata("design:type", Array)
|
|
103
|
-
], Reward.prototype, "countedItems", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
ApiProperty({ description: "Credits rewarded" }),
|
|
106
79
|
IsInt(),
|
|
107
80
|
Min(0),
|
|
108
81
|
__decorateMetadata("design:type", Number)
|
|
109
82
|
], Reward.prototype, "credits", void 0);
|
|
110
|
-
__decorate([
|
|
111
|
-
|
|
112
|
-
IsString(),
|
|
113
|
-
__decorateMetadata("design:type", String)
|
|
114
|
-
], Reward.prototype, "thumbnail", void 0);
|
|
115
|
-
__decorate([
|
|
116
|
-
ApiProperty({ description: "Color code for the reward type" }),
|
|
117
|
-
IsNumber(),
|
|
118
|
-
__decorateMetadata("design:type", Number)
|
|
119
|
-
], Reward.prototype, "color", void 0);
|
|
83
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Reward.prototype, "thumbnail", void 0);
|
|
84
|
+
__decorate([IsNumber(), __decorateMetadata("design:type", Number)], Reward.prototype, "color", void 0);
|
|
120
85
|
//#endregion
|
|
121
86
|
export { Reward, getItemType, getItemTypeFull };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { O as OutpostMission, k as SentientOutpost } from "../../index-
|
|
1
|
+
import { O as OutpostMission, k as SentientOutpost } from "../../index-C1rBnvm4.mjs";
|
|
2
2
|
export { OutpostMission, SentientOutpost };
|
|
@@ -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 { Type } from "class-transformer";
|
|
4
3
|
import { IsBoolean, IsDate, IsOptional, IsString } from "class-validator";
|
|
5
4
|
import { node, nodeEnemy, nodeMissionType } from "warframe-worldstate-data/utilities";
|
|
@@ -41,7 +40,7 @@ var SentientOutpost = class {
|
|
|
41
40
|
*/
|
|
42
41
|
mission;
|
|
43
42
|
/**
|
|
44
|
-
* Whether
|
|
43
|
+
* Whether the object was active during creation
|
|
45
44
|
*/
|
|
46
45
|
active;
|
|
47
46
|
/**
|
|
@@ -67,41 +66,18 @@ var SentientOutpost = class {
|
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
};
|
|
69
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], SentientOutpost.prototype, "id", void 0);
|
|
70
70
|
__decorate([
|
|
71
|
-
ApiProperty({ description: "Unique identifier" }),
|
|
72
|
-
IsString(),
|
|
73
|
-
__decorateMetadata("design:type", String)
|
|
74
|
-
], SentientOutpost.prototype, "id", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
ApiProperty({
|
|
77
|
-
description: "Start time",
|
|
78
|
-
type: Date
|
|
79
|
-
}),
|
|
80
71
|
IsDate(),
|
|
81
72
|
Type(() => Date),
|
|
82
73
|
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
83
74
|
], SentientOutpost.prototype, "activation", void 0);
|
|
84
75
|
__decorate([
|
|
85
|
-
ApiProperty({
|
|
86
|
-
description: "End time",
|
|
87
|
-
type: Date
|
|
88
|
-
}),
|
|
89
76
|
IsDate(),
|
|
90
77
|
Type(() => Date),
|
|
91
78
|
__decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
|
|
92
79
|
], SentientOutpost.prototype, "expiry", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
|
|
95
|
-
description: "Current Mission",
|
|
96
|
-
type: "object"
|
|
97
|
-
}),
|
|
98
|
-
IsOptional(),
|
|
99
|
-
__decorateMetadata("design:type", Object)
|
|
100
|
-
], SentientOutpost.prototype, "mission", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
ApiProperty({ description: "Whether or not the object was active during creation" }),
|
|
103
|
-
IsBoolean(),
|
|
104
|
-
__decorateMetadata("design:type", Boolean)
|
|
105
|
-
], SentientOutpost.prototype, "active", void 0);
|
|
80
|
+
__decorate([IsOptional(), __decorateMetadata("design:type", Object)], SentientOutpost.prototype, "mission", void 0);
|
|
81
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], SentientOutpost.prototype, "active", void 0);
|
|
106
82
|
//#endregion
|
|
107
83
|
export { SentientOutpost };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as Simaris, E as LibraryInfo } from "../../index-
|
|
1
|
+
import { D as Simaris, E as LibraryInfo } from "../../index-C1rBnvm4.mjs";
|
|
2
2
|
export { LibraryInfo, Simaris };
|