warframe-worldstate-parser 5.3.5 → 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
|
@@ -2,7 +2,6 @@ import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvew
|
|
|
2
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
3
|
import { VoidTraderItem } from "./VoidTraderItem.mjs";
|
|
4
4
|
import { VoidTraderSchedule } from "./VoidTraderSchedule.mjs";
|
|
5
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
6
5
|
import { Type } from "class-transformer";
|
|
7
6
|
import { IsArray, IsBoolean, IsDate, IsString, ValidateNested } from "class-validator";
|
|
8
7
|
import { fromNow, insist, node, parseDate, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
@@ -77,50 +76,22 @@ var VoidTrader = class extends WorldStateObject {
|
|
|
77
76
|
return timeDeltaToString(fromNow(this.expiry));
|
|
78
77
|
}
|
|
79
78
|
};
|
|
79
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], VoidTrader.prototype, "character", void 0);
|
|
80
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], VoidTrader.prototype, "location", void 0);
|
|
80
81
|
__decorate([
|
|
81
|
-
ApiProperty({ description: "Void trader's name (e.g., Baro Ki'Teer)" }),
|
|
82
|
-
IsString(),
|
|
83
|
-
__decorateMetadata("design:type", String)
|
|
84
|
-
], VoidTrader.prototype, "character", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
ApiProperty({ description: "Location where the trader appears" }),
|
|
87
|
-
IsString(),
|
|
88
|
-
__decorateMetadata("design:type", String)
|
|
89
|
-
], VoidTrader.prototype, "location", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
ApiProperty({
|
|
92
|
-
description: "Trader's inventory items",
|
|
93
|
-
type: [VoidTraderItem]
|
|
94
|
-
}),
|
|
95
82
|
IsArray(),
|
|
96
83
|
ValidateNested({ each: true }),
|
|
97
84
|
Type(() => VoidTraderItem),
|
|
98
85
|
__decorateMetadata("design:type", Array)
|
|
99
86
|
], VoidTrader.prototype, "inventory", void 0);
|
|
87
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], VoidTrader.prototype, "psId", void 0);
|
|
100
88
|
__decorate([
|
|
101
|
-
ApiProperty({ description: "Pseudo-ID for inventory changes" }),
|
|
102
|
-
IsString(),
|
|
103
|
-
__decorateMetadata("design:type", String)
|
|
104
|
-
], VoidTrader.prototype, "psId", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
ApiProperty({
|
|
107
|
-
description: "Initial start date",
|
|
108
|
-
type: Date
|
|
109
|
-
}),
|
|
110
89
|
IsDate(),
|
|
111
90
|
Type(() => Date),
|
|
112
91
|
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
113
92
|
], VoidTrader.prototype, "initialStart", void 0);
|
|
93
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], VoidTrader.prototype, "completed", void 0);
|
|
114
94
|
__decorate([
|
|
115
|
-
ApiProperty({ description: "Whether the trader visit is completed" }),
|
|
116
|
-
IsBoolean(),
|
|
117
|
-
__decorateMetadata("design:type", Boolean)
|
|
118
|
-
], VoidTrader.prototype, "completed", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
ApiProperty({
|
|
121
|
-
description: "Trader schedule",
|
|
122
|
-
type: [VoidTraderSchedule]
|
|
123
|
-
}),
|
|
124
95
|
IsArray(),
|
|
125
96
|
ValidateNested({ each: true }),
|
|
126
97
|
Type(() => VoidTraderSchedule),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as RawVoidTraderItem, f as VoidTraderItem } from "../../index-
|
|
1
|
+
import { d as RawVoidTraderItem, f as VoidTraderItem } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { RawVoidTraderItem, VoidTraderItem };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
3
2
|
import { IsInt, IsString, Min } from "class-validator";
|
|
4
3
|
import { languageString } from "warframe-worldstate-data/utilities";
|
|
5
4
|
//#region lib/models/VoidTraderItem.ts
|
|
@@ -35,24 +34,14 @@ var VoidTraderItem = class {
|
|
|
35
34
|
this.credits = Number.parseInt(String(RegularPrice), 10);
|
|
36
35
|
}
|
|
37
36
|
};
|
|
37
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], VoidTraderItem.prototype, "uniqueName", void 0);
|
|
38
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], VoidTraderItem.prototype, "item", void 0);
|
|
38
39
|
__decorate([
|
|
39
|
-
ApiProperty({ description: "Unique item identifier" }),
|
|
40
|
-
IsString(),
|
|
41
|
-
__decorateMetadata("design:type", String)
|
|
42
|
-
], VoidTraderItem.prototype, "uniqueName", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
ApiProperty({ description: "Localized item name" }),
|
|
45
|
-
IsString(),
|
|
46
|
-
__decorateMetadata("design:type", String)
|
|
47
|
-
], VoidTraderItem.prototype, "item", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
ApiProperty({ description: "Ducat cost" }),
|
|
50
40
|
IsInt(),
|
|
51
41
|
Min(0),
|
|
52
42
|
__decorateMetadata("design:type", Number)
|
|
53
43
|
], VoidTraderItem.prototype, "ducats", void 0);
|
|
54
44
|
__decorate([
|
|
55
|
-
ApiProperty({ description: "Credit cost" }),
|
|
56
45
|
IsInt(),
|
|
57
46
|
Min(0),
|
|
58
47
|
__decorateMetadata("design:type", Number)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { u as VoidTraderSchedule } from "../../index-
|
|
1
|
+
import { u as VoidTraderSchedule } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { VoidTraderSchedule };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
3
2
|
import { Type } from "class-transformer";
|
|
4
3
|
import { IsDate, IsString } from "class-validator";
|
|
5
4
|
import { languageString, parseDate } from "warframe-worldstate-data/utilities";
|
|
@@ -14,18 +13,10 @@ var VoidTraderSchedule = class {
|
|
|
14
13
|
}
|
|
15
14
|
};
|
|
16
15
|
__decorate([
|
|
17
|
-
ApiProperty({
|
|
18
|
-
description: "Schedule expiry date",
|
|
19
|
-
type: Date
|
|
20
|
-
}),
|
|
21
16
|
IsDate(),
|
|
22
17
|
Type(() => Date),
|
|
23
18
|
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
24
19
|
], VoidTraderSchedule.prototype, "expiry", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
ApiProperty({ description: "Featured item" }),
|
|
27
|
-
IsString(),
|
|
28
|
-
__decorateMetadata("design:type", String)
|
|
29
|
-
], VoidTraderSchedule.prototype, "item", void 0);
|
|
20
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], VoidTraderSchedule.prototype, "item", void 0);
|
|
30
21
|
//#endregion
|
|
31
22
|
export { VoidTraderSchedule };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { o as RawWeeklyChallenge, s as WeeklyChallenge } from "../../index-
|
|
1
|
+
import { o as RawWeeklyChallenge, s as WeeklyChallenge } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { RawWeeklyChallenge, WeeklyChallenge };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
3
|
import { ChallengeInstance } from "./ChallengeInstance.mjs";
|
|
4
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
5
4
|
import { Type } from "class-transformer";
|
|
6
5
|
import { IsArray, ValidateNested } from "class-validator";
|
|
7
6
|
//#region lib/models/WeeklyChallenge.ts
|
|
@@ -23,10 +22,6 @@ var WeeklyChallenge = class extends WorldStateObject {
|
|
|
23
22
|
}
|
|
24
23
|
};
|
|
25
24
|
__decorate([
|
|
26
|
-
ApiProperty({
|
|
27
|
-
description: "Array of weekly challenges",
|
|
28
|
-
type: [ChallengeInstance]
|
|
29
|
-
}),
|
|
30
25
|
IsArray(),
|
|
31
26
|
ValidateNested({ each: true }),
|
|
32
27
|
Type(() => ChallengeInstance),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as WorldEvent, i as RawWorldEvent, n as InterimStep, r as ProgressStep, t as InterimRewardMessage } from "../../index-
|
|
1
|
+
import { a as WorldEvent, i as RawWorldEvent, n as InterimStep, r as ProgressStep, t as InterimRewardMessage } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { InterimRewardMessage, InterimStep, ProgressStep, RawWorldEvent, WorldEvent };
|
|
@@ -2,7 +2,6 @@ import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvew
|
|
|
2
2
|
import { Reward } from "./Reward.mjs";
|
|
3
3
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
4
4
|
import { SyndicateJob } from "./SyndicateJob.mjs";
|
|
5
|
-
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
6
5
|
import { Type } from "class-transformer";
|
|
7
6
|
import { IsArray, IsBoolean, IsDate, IsInt, IsNumber, IsObject, IsOptional, IsString, Min, ValidateNested } from "class-validator";
|
|
8
7
|
import { faction, fromNow, languageString, node, parseDate, syndicate } from "warframe-worldstate-data/utilities";
|
|
@@ -237,235 +236,134 @@ var WorldEvent = class WorldEvent extends WorldStateObject {
|
|
|
237
236
|
}
|
|
238
237
|
};
|
|
239
238
|
__decorate([
|
|
240
|
-
ApiProperty({
|
|
241
|
-
description: "Jobs associated with this event",
|
|
242
|
-
type: [SyndicateJob]
|
|
243
|
-
}),
|
|
244
239
|
IsArray(),
|
|
245
240
|
ValidateNested({ each: true }),
|
|
246
241
|
Type(() => SyndicateJob),
|
|
247
242
|
__decorateMetadata("design:type", Array)
|
|
248
243
|
], WorldEvent.prototype, "jobs", void 0);
|
|
249
244
|
__decorate([
|
|
250
|
-
ApiProperty({
|
|
251
|
-
description: "Previous jobs associated with this event",
|
|
252
|
-
type: [SyndicateJob]
|
|
253
|
-
}),
|
|
254
245
|
IsArray(),
|
|
255
246
|
ValidateNested({ each: true }),
|
|
256
247
|
Type(() => SyndicateJob),
|
|
257
248
|
__decorateMetadata("design:type", Array)
|
|
258
249
|
], WorldEvent.prototype, "previousJobs", void 0);
|
|
259
250
|
__decorate([
|
|
260
|
-
ApiProperty({ description: "The event's main score goal" }),
|
|
261
251
|
IsInt(),
|
|
262
252
|
Min(0),
|
|
263
253
|
__decorateMetadata("design:type", Number)
|
|
264
254
|
], WorldEvent.prototype, "maximumScore", void 0);
|
|
265
255
|
__decorate([
|
|
266
|
-
ApiProperty({ description: "The current score on the event" }),
|
|
267
256
|
IsInt(),
|
|
268
257
|
Min(0),
|
|
269
258
|
__decorateMetadata("design:type", Number)
|
|
270
259
|
], WorldEvent.prototype, "currentScore", void 0);
|
|
271
260
|
__decorate([
|
|
272
|
-
ApiProperty({ description: "The first intermediate score goal" }),
|
|
273
261
|
IsInt(),
|
|
274
262
|
Min(0),
|
|
275
263
|
__decorateMetadata("design:type", Number)
|
|
276
264
|
], WorldEvent.prototype, "smallInterval", void 0);
|
|
277
265
|
__decorate([
|
|
278
|
-
ApiProperty({ description: "The second intermediate score goal" }),
|
|
279
266
|
IsInt(),
|
|
280
267
|
Min(0),
|
|
281
268
|
__decorateMetadata("design:type", Number)
|
|
282
269
|
], WorldEvent.prototype, "largeInterval", void 0);
|
|
283
270
|
__decorate([
|
|
284
|
-
ApiPropertyOptional({ description: "The faction that the players must fight in the event" }),
|
|
285
271
|
IsOptional(),
|
|
286
272
|
IsString(),
|
|
287
273
|
__decorateMetadata("design:type", Object)
|
|
288
274
|
], WorldEvent.prototype, "faction", void 0);
|
|
275
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], WorldEvent.prototype, "description", void 0);
|
|
289
276
|
__decorate([
|
|
290
|
-
ApiProperty({ description: "The description of the event" }),
|
|
291
|
-
IsString(),
|
|
292
|
-
__decorateMetadata("design:type", String)
|
|
293
|
-
], WorldEvent.prototype, "description", void 0);
|
|
294
|
-
__decorate([
|
|
295
|
-
ApiPropertyOptional({ description: "Tooltip for the event" }),
|
|
296
277
|
IsOptional(),
|
|
297
278
|
IsString(),
|
|
298
279
|
__decorateMetadata("design:type", Object)
|
|
299
280
|
], WorldEvent.prototype, "tooltip", void 0);
|
|
300
281
|
__decorate([
|
|
301
|
-
ApiPropertyOptional({ description: "The node where the event takes place" }),
|
|
302
282
|
IsOptional(),
|
|
303
283
|
IsString(),
|
|
304
284
|
__decorateMetadata("design:type", Object)
|
|
305
285
|
], WorldEvent.prototype, "node", void 0);
|
|
306
286
|
__decorate([
|
|
307
|
-
ApiProperty({
|
|
308
|
-
description: "The other nodes where the event takes place",
|
|
309
|
-
type: [String]
|
|
310
|
-
}),
|
|
311
287
|
IsArray(),
|
|
312
288
|
IsString({ each: true }),
|
|
313
289
|
__decorateMetadata("design:type", Array)
|
|
314
290
|
], WorldEvent.prototype, "concurrentNodes", void 0);
|
|
315
291
|
__decorate([
|
|
316
|
-
ApiPropertyOptional({ description: "The victim node" }),
|
|
317
292
|
IsOptional(),
|
|
318
293
|
IsString(),
|
|
319
294
|
__decorateMetadata("design:type", Object)
|
|
320
295
|
], WorldEvent.prototype, "victimNode", void 0);
|
|
321
296
|
__decorate([
|
|
322
|
-
ApiPropertyOptional({ description: "The score description" }),
|
|
323
297
|
IsOptional(),
|
|
324
298
|
IsString(),
|
|
325
299
|
__decorateMetadata("design:type", Object)
|
|
326
300
|
], WorldEvent.prototype, "scoreLocTag", void 0);
|
|
327
301
|
__decorate([
|
|
328
|
-
ApiProperty({
|
|
329
|
-
description: "The event's rewards",
|
|
330
|
-
type: [Reward]
|
|
331
|
-
}),
|
|
332
302
|
IsArray(),
|
|
333
303
|
ValidateNested({ each: true }),
|
|
334
304
|
Type(() => Reward),
|
|
335
305
|
__decorateMetadata("design:type", Array)
|
|
336
306
|
], WorldEvent.prototype, "rewards", void 0);
|
|
337
307
|
__decorate([
|
|
338
|
-
ApiPropertyOptional({ description: "Health remaining for the target" }),
|
|
339
308
|
IsOptional(),
|
|
340
309
|
IsNumber(),
|
|
341
310
|
Min(0),
|
|
342
311
|
__decorateMetadata("design:type", Object)
|
|
343
312
|
], WorldEvent.prototype, "health", void 0);
|
|
344
313
|
__decorate([
|
|
345
|
-
ApiPropertyOptional({ description: "Previous job id" }),
|
|
346
314
|
IsOptional(),
|
|
347
315
|
IsString(),
|
|
348
316
|
__decorateMetadata("design:type", Object)
|
|
349
317
|
], WorldEvent.prototype, "previousId", void 0);
|
|
318
|
+
__decorate([IsArray(), __decorateMetadata("design:type", Array)], WorldEvent.prototype, "interimSteps", void 0);
|
|
319
|
+
__decorate([IsArray(), __decorateMetadata("design:type", Array)], WorldEvent.prototype, "progressSteps", void 0);
|
|
350
320
|
__decorate([
|
|
351
|
-
ApiProperty({
|
|
352
|
-
description: "Array of interim steps",
|
|
353
|
-
type: "array",
|
|
354
|
-
items: { type: "object" }
|
|
355
|
-
}),
|
|
356
|
-
IsArray(),
|
|
357
|
-
__decorateMetadata("design:type", Array)
|
|
358
|
-
], WorldEvent.prototype, "interimSteps", void 0);
|
|
359
|
-
__decorate([
|
|
360
|
-
ApiProperty({
|
|
361
|
-
description: "Progress steps, if any are present",
|
|
362
|
-
type: "array",
|
|
363
|
-
items: { type: "object" }
|
|
364
|
-
}),
|
|
365
|
-
IsArray(),
|
|
366
|
-
__decorateMetadata("design:type", Array)
|
|
367
|
-
], WorldEvent.prototype, "progressSteps", void 0);
|
|
368
|
-
__decorate([
|
|
369
|
-
ApiPropertyOptional({ description: "Total of all MultiProgress" }),
|
|
370
321
|
IsOptional(),
|
|
371
322
|
IsNumber(),
|
|
372
323
|
__decorateMetadata("design:type", Number)
|
|
373
324
|
], WorldEvent.prototype, "progressTotal", void 0);
|
|
325
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], WorldEvent.prototype, "showTotalAtEndOfMission", void 0);
|
|
326
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], WorldEvent.prototype, "isPersonal", void 0);
|
|
327
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], WorldEvent.prototype, "isCommunity", void 0);
|
|
374
328
|
__decorate([
|
|
375
|
-
ApiProperty({ description: "Whether to show the total score at the end of the mission" }),
|
|
376
|
-
IsBoolean(),
|
|
377
|
-
__decorateMetadata("design:type", Boolean)
|
|
378
|
-
], WorldEvent.prototype, "showTotalAtEndOfMission", void 0);
|
|
379
|
-
__decorate([
|
|
380
|
-
ApiProperty({ description: "Whether the event is personal" }),
|
|
381
|
-
IsBoolean(),
|
|
382
|
-
__decorateMetadata("design:type", Boolean)
|
|
383
|
-
], WorldEvent.prototype, "isPersonal", void 0);
|
|
384
|
-
__decorate([
|
|
385
|
-
ApiProperty({ description: "Whether the event is community" }),
|
|
386
|
-
IsBoolean(),
|
|
387
|
-
__decorateMetadata("design:type", Boolean)
|
|
388
|
-
], WorldEvent.prototype, "isCommunity", void 0);
|
|
389
|
-
__decorate([
|
|
390
|
-
ApiProperty({
|
|
391
|
-
description: "Affectors for this mission",
|
|
392
|
-
type: [String]
|
|
393
|
-
}),
|
|
394
329
|
IsArray(),
|
|
395
330
|
IsString({ each: true }),
|
|
396
331
|
__decorateMetadata("design:type", Array)
|
|
397
332
|
], WorldEvent.prototype, "regionDrops", void 0);
|
|
398
333
|
__decorate([
|
|
399
|
-
ApiProperty({
|
|
400
|
-
description: "Archwing Drops in effect while this event is active",
|
|
401
|
-
type: [String]
|
|
402
|
-
}),
|
|
403
334
|
IsArray(),
|
|
404
335
|
IsString({ each: true }),
|
|
405
336
|
__decorateMetadata("design:type", Array)
|
|
406
337
|
], WorldEvent.prototype, "archwingDrops", void 0);
|
|
338
|
+
__decorate([IsObject(), __decorateMetadata("design:type", Object)], WorldEvent.prototype, "metadata", void 0);
|
|
407
339
|
__decorate([
|
|
408
|
-
ApiProperty({
|
|
409
|
-
description: "Metadata provided by DE",
|
|
410
|
-
type: "object"
|
|
411
|
-
}),
|
|
412
|
-
IsObject(),
|
|
413
|
-
__decorateMetadata("design:type", Object)
|
|
414
|
-
], WorldEvent.prototype, "metadata", void 0);
|
|
415
|
-
__decorate([
|
|
416
|
-
ApiProperty({
|
|
417
|
-
description: "Bonuses given for completion",
|
|
418
|
-
type: [Number]
|
|
419
|
-
}),
|
|
420
340
|
IsArray(),
|
|
421
341
|
IsNumber({}, { each: true }),
|
|
422
342
|
__decorateMetadata("design:type", Array)
|
|
423
343
|
], WorldEvent.prototype, "completionBonuses", void 0);
|
|
344
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], WorldEvent.prototype, "scoreVar", void 0);
|
|
424
345
|
__decorate([
|
|
425
|
-
ApiProperty({ description: "Score variable name" }),
|
|
426
|
-
IsString(),
|
|
427
|
-
__decorateMetadata("design:type", String)
|
|
428
|
-
], WorldEvent.prototype, "scoreVar", void 0);
|
|
429
|
-
__decorate([
|
|
430
|
-
ApiProperty({
|
|
431
|
-
description: "Alternative expiry date",
|
|
432
|
-
type: Date
|
|
433
|
-
}),
|
|
434
346
|
IsDate(),
|
|
435
347
|
Type(() => Date),
|
|
436
348
|
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
437
349
|
], WorldEvent.prototype, "altExpiry", void 0);
|
|
438
350
|
__decorate([
|
|
439
|
-
ApiProperty({
|
|
440
|
-
description: "Alternative activation date",
|
|
441
|
-
type: Date
|
|
442
|
-
}),
|
|
443
351
|
IsDate(),
|
|
444
352
|
Type(() => Date),
|
|
445
353
|
__decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
|
|
446
354
|
], WorldEvent.prototype, "altActivation", void 0);
|
|
447
355
|
__decorate([
|
|
448
|
-
ApiProperty({
|
|
449
|
-
description: "Next alternative cycle dates",
|
|
450
|
-
type: "object"
|
|
451
|
-
}),
|
|
452
356
|
IsObject(),
|
|
453
357
|
ValidateNested(),
|
|
454
358
|
__decorateMetadata("design:type", Object)
|
|
455
359
|
], WorldEvent.prototype, "nextAlt", void 0);
|
|
456
360
|
__decorate([
|
|
457
|
-
ApiPropertyOptional({ description: "Affiliated syndicate, if any" }),
|
|
458
361
|
IsOptional(),
|
|
459
362
|
IsString(),
|
|
460
363
|
__decorateMetadata("design:type", String)
|
|
461
364
|
], WorldEvent.prototype, "affiliatedWith", void 0);
|
|
365
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], WorldEvent.prototype, "tag", void 0);
|
|
462
366
|
__decorate([
|
|
463
|
-
ApiProperty({ description: "The event's tag" }),
|
|
464
|
-
IsString(),
|
|
465
|
-
__decorateMetadata("design:type", String)
|
|
466
|
-
], WorldEvent.prototype, "tag", void 0);
|
|
467
|
-
__decorate([
|
|
468
|
-
ApiPropertyOptional({ description: "Victim identifier, if any" }),
|
|
469
367
|
IsOptional(),
|
|
470
368
|
IsString(),
|
|
471
369
|
__decorateMetadata("design:type", String)
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
|
-
import { ApiPropertyOptional } from "@nestjs/swagger";
|
|
3
2
|
import { IsDate, IsOptional, IsString } from "class-validator";
|
|
4
3
|
import { fromNow, insist, parseDate, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
5
4
|
//#region lib/models/WorldStateObject.ts
|
|
@@ -53,25 +52,16 @@ var WorldStateObject = class {
|
|
|
53
52
|
}
|
|
54
53
|
};
|
|
55
54
|
__decorate([
|
|
56
|
-
ApiPropertyOptional({ description: "The unique identifier for this world state object" }),
|
|
57
55
|
IsOptional(),
|
|
58
56
|
IsString(),
|
|
59
57
|
__decorateMetadata("design:type", String)
|
|
60
58
|
], WorldStateObject.prototype, "id", void 0);
|
|
61
59
|
__decorate([
|
|
62
|
-
ApiPropertyOptional({
|
|
63
|
-
description: "The date and time when this object becomes active",
|
|
64
|
-
type: Date
|
|
65
|
-
}),
|
|
66
60
|
IsOptional(),
|
|
67
61
|
IsDate(),
|
|
68
62
|
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
69
63
|
], WorldStateObject.prototype, "activation", void 0);
|
|
70
64
|
__decorate([
|
|
71
|
-
ApiPropertyOptional({
|
|
72
|
-
description: "The date and time when this object expires",
|
|
73
|
-
type: Date
|
|
74
|
-
}),
|
|
75
65
|
IsOptional(),
|
|
76
66
|
IsDate(),
|
|
77
67
|
__decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.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/ZarimanCycle.ts
|
|
@@ -76,20 +75,8 @@ var ZarimanCycle = class extends WorldStateObject {
|
|
|
76
75
|
return `${this.timeLeft.replace(/\s\d*s/gi, "")} to ${this.isCorpus ? "grineer" : "corpus"}`;
|
|
77
76
|
}
|
|
78
77
|
};
|
|
79
|
-
__decorate([
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
__decorateMetadata("design:type", Boolean)
|
|
83
|
-
], ZarimanCycle.prototype, "isCorpus", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
ApiProperty({ description: "Current cycle state. One of 'corpus', 'grineer'" }),
|
|
86
|
-
IsString(),
|
|
87
|
-
__decorateMetadata("design:type", String)
|
|
88
|
-
], ZarimanCycle.prototype, "state", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
ApiProperty({ description: "Time remaining in the current cycle" }),
|
|
91
|
-
IsString(),
|
|
92
|
-
__decorateMetadata("design:type", String)
|
|
93
|
-
], ZarimanCycle.prototype, "timeLeft", void 0);
|
|
78
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ZarimanCycle.prototype, "isCorpus", void 0);
|
|
79
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ZarimanCycle.prototype, "state", void 0);
|
|
80
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], ZarimanCycle.prototype, "timeLeft", void 0);
|
|
94
81
|
//#endregion
|
|
95
82
|
export { ZarimanCycle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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, n as InterimStep, nt as PersonalModifier, o as RawWeeklyChallenge, ot as RawAlert, p as FaceoffBonus, 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-
|
|
1
|
+
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, n as InterimStep, nt as PersonalModifier, o as RawWeeklyChallenge, ot as RawAlert, p as FaceoffBonus, 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";
|
|
2
2
|
import { n as Identifier, r as WorldStateObject, t as BaseContentObject } from "../../WorldStateObject-BgeCocs9.mjs";
|
|
3
3
|
import { i as RawDay, n as DayEvent, r as RawCalender, t as Calendar } from "../../Calendar-C99Wr_NC.mjs";
|
|
4
4
|
import { n as CurrentCetusCycle, t as CetusCycle } from "../../CetusCycle-sbJ_VYPO.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { mt as RawChoice, pt as DuviriChoice } from "../../index-
|
|
1
|
+
import { mt as RawChoice, pt as DuviriChoice } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { DuviriChoice, RawChoice };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
3
2
|
import { IsArray, IsString } from "class-validator";
|
|
4
3
|
//#region lib/supporting/DuviriChoice.ts
|
|
5
4
|
/**
|
|
@@ -32,21 +31,9 @@ var DuviriChoice = class {
|
|
|
32
31
|
this.choices = data.Choices;
|
|
33
32
|
}
|
|
34
33
|
};
|
|
34
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], DuviriChoice.prototype, "category", void 0);
|
|
35
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], DuviriChoice.prototype, "categoryKey", void 0);
|
|
35
36
|
__decorate([
|
|
36
|
-
ApiProperty({ description: "Category of the choice. One of 'normal', 'hard'" }),
|
|
37
|
-
IsString(),
|
|
38
|
-
__decorateMetadata("design:type", String)
|
|
39
|
-
], DuviriChoice.prototype, "category", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
ApiProperty({ description: "Raw category key from the API" }),
|
|
42
|
-
IsString(),
|
|
43
|
-
__decorateMetadata("design:type", String)
|
|
44
|
-
], DuviriChoice.prototype, "categoryKey", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
ApiProperty({
|
|
47
|
-
description: "Array of available choices",
|
|
48
|
-
type: [String]
|
|
49
|
-
}),
|
|
50
37
|
IsArray(),
|
|
51
38
|
IsString({ each: true }),
|
|
52
39
|
__decorateMetadata("design:type", Array)
|