warframe-worldstate-parser 5.2.17 → 5.3.0

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.
Files changed (134) hide show
  1. package/dist/Calendar-C99Wr_NC.d.mts +78 -0
  2. package/dist/CambionCycle-CEVo0BPO.d.mts +28 -0
  3. package/dist/CetusCycle-sbJ_VYPO.d.mts +49 -0
  4. package/dist/ConstructionProgress-CffeDtau.d.mts +27 -0
  5. package/dist/DarkSectorBattle-DwaJyGk3.d.mts +53 -0
  6. package/dist/Dependency-CtryMjKU.d.mts +41 -0
  7. package/dist/EarthCycle-BsMMsVT4.d.mts +60 -0
  8. package/dist/ExternalMission-DaE_6ccj.d.mts +49 -0
  9. package/dist/FetchProxy-Bgoi37sM.d.mts +10 -0
  10. package/dist/ImgCdn-By4Qj9kk.d.mts +6 -0
  11. package/dist/Kinepage-BDZm950n.d.mts +22 -0
  12. package/dist/KuvaLogEntry-B0SaM7MX.d.mts +21 -0
  13. package/dist/MidrathCycle-UgLh7wgF.d.mts +25 -0
  14. package/dist/News-CmoQ_nEf.d.mts +101 -0
  15. package/dist/Nightwave-BBRJbyr8.d.mts +59 -0
  16. package/dist/NightwaveChallenge-C6J7ymli.d.mts +51 -0
  17. package/dist/PersistentEnemy-WkvIZ9Mx.d.mts +79 -0
  18. package/dist/RewardData-B5TstL-h.d.mts +11 -0
  19. package/dist/RewardTypes-DMW4dYrB.d.mts +34 -0
  20. package/dist/SteelPathOffering-K2Ji4d5c.d.mts +58 -0
  21. package/dist/VallisCycle-BTYgGev7.d.mts +30 -0
  22. package/dist/WorldStateObject-BgeCocs9.d.mts +48 -0
  23. package/dist/ZarimanCycle-D4YCSLmR.d.mts +45 -0
  24. package/dist/decorate-CltSo06_.mjs +14 -0
  25. package/dist/index-BK5W1mAn.d.mts +1722 -0
  26. package/dist/lib/WorldState.d.mts +16 -35
  27. package/dist/lib/WorldState.mjs +326 -3
  28. package/dist/lib/models/Alert.d.mts +1 -45
  29. package/dist/lib/models/Alert.mjs +30 -3
  30. package/dist/lib/models/Archimedea.d.mts +1 -86
  31. package/dist/lib/models/Archimedea.mjs +76 -3
  32. package/dist/lib/models/Calendar.d.mts +1 -77
  33. package/dist/lib/models/Calendar.mjs +1 -3
  34. package/dist/lib/models/CambionCycle.d.mts +1 -21
  35. package/dist/lib/models/CambionCycle.mjs +20 -3
  36. package/dist/lib/models/CetusCycle.d.mts +1 -48
  37. package/dist/lib/models/CetusCycle.mjs +27 -3
  38. package/dist/lib/models/ChallengeInstance.d.mts +1 -53
  39. package/dist/lib/models/ChallengeInstance.mjs +39 -3
  40. package/dist/lib/models/ConclaveChallenge.d.mts +1 -76
  41. package/dist/lib/models/ConclaveChallenge.mjs +54 -3
  42. package/dist/lib/models/ConstructionProgress.d.mts +1 -17
  43. package/dist/lib/models/ConstructionProgress.mjs +28 -3
  44. package/dist/lib/models/DailyDeal.d.mts +1 -66
  45. package/dist/lib/models/DailyDeal.mjs +49 -3
  46. package/dist/lib/models/DarkSector.d.mts +1 -142
  47. package/dist/lib/models/DarkSector.mjs +153 -3
  48. package/dist/lib/models/DarkSectorBattle.d.mts +1 -52
  49. package/dist/lib/models/DarkSectorBattle.mjs +49 -3
  50. package/dist/lib/models/DuviriCycle.d.mts +1 -23
  51. package/dist/lib/models/DuviriCycle.mjs +21 -3
  52. package/dist/lib/models/EarthCycle.d.mts +1 -59
  53. package/dist/lib/models/EarthCycle.mjs +22 -3
  54. package/dist/lib/models/Fissure.d.mts +1 -78
  55. package/dist/lib/models/Fissure.mjs +50 -3
  56. package/dist/lib/models/FlashSale.d.mts +1 -71
  57. package/dist/lib/models/FlashSale.mjs +47 -3
  58. package/dist/lib/models/GlobalUpgrade.d.mts +1 -55
  59. package/dist/lib/models/GlobalUpgrade.mjs +24 -3
  60. package/dist/lib/models/Invasion.d.mts +1 -113
  61. package/dist/lib/models/Invasion.mjs +69 -3
  62. package/dist/lib/models/Kinepage.d.mts +1 -21
  63. package/dist/lib/models/Kinepage.mjs +25 -2
  64. package/dist/lib/models/Kuva.d.mts +1 -20
  65. package/dist/lib/models/Kuva.mjs +26 -3
  66. package/dist/lib/models/MidrathCycle.d.mts +1 -24
  67. package/dist/lib/models/MidrathCycle.mjs +14 -3
  68. package/dist/lib/models/Mission.d.mts +1 -138
  69. package/dist/lib/models/Mission.mjs +151 -3
  70. package/dist/lib/models/News.d.mts +1 -100
  71. package/dist/lib/models/News.mjs +64 -4
  72. package/dist/lib/models/Nightwave.d.mts +1 -58
  73. package/dist/lib/models/Nightwave.mjs +51 -3
  74. package/dist/lib/models/NightwaveChallenge.d.mts +1 -50
  75. package/dist/lib/models/NightwaveChallenge.mjs +35 -3
  76. package/dist/lib/models/PersistentEnemy.d.mts +1 -78
  77. package/dist/lib/models/PersistentEnemy.mjs +63 -3
  78. package/dist/lib/models/Reward.d.mts +1 -67
  79. package/dist/lib/models/Reward.mjs +51 -3
  80. package/dist/lib/models/SentientOutpost.d.mts +1 -46
  81. package/dist/lib/models/SentientOutpost.mjs +45 -3
  82. package/dist/lib/models/Simaris.d.mts +1 -36
  83. package/dist/lib/models/Simaris.mjs +14 -3
  84. package/dist/lib/models/Sortie.d.mts +1 -60
  85. package/dist/lib/models/Sortie.mjs +45 -3
  86. package/dist/lib/models/SortieVariant.d.mts +1 -49
  87. package/dist/lib/models/SortieVariant.mjs +34 -3
  88. package/dist/lib/models/SteelPathOffering.d.mts +1 -36
  89. package/dist/lib/models/SteelPathOffering.mjs +84 -3
  90. package/dist/lib/models/SyndicateJob.d.mts +1 -92
  91. package/dist/lib/models/SyndicateJob.mjs +74 -3
  92. package/dist/lib/models/SyndicateMission.d.mts +1 -58
  93. package/dist/lib/models/SyndicateMission.mjs +34 -3
  94. package/dist/lib/models/Tmp.d.mts +1 -34
  95. package/dist/lib/models/Tmp.mjs +44 -3
  96. package/dist/lib/models/VallisCycle.d.mts +1 -29
  97. package/dist/lib/models/VallisCycle.mjs +14 -3
  98. package/dist/lib/models/VoidTrader.d.mts +1 -76
  99. package/dist/lib/models/VoidTrader.mjs +55 -3
  100. package/dist/lib/models/VoidTraderItem.d.mts +1 -43
  101. package/dist/lib/models/VoidTraderItem.mjs +26 -3
  102. package/dist/lib/models/VoidTraderSchedule.d.mts +1 -16
  103. package/dist/lib/models/VoidTraderSchedule.mjs +20 -3
  104. package/dist/lib/models/WeeklyChallenge.d.mts +1 -19
  105. package/dist/lib/models/WeeklyChallenge.mjs +18 -3
  106. package/dist/lib/models/WorldEvent.d.mts +1 -204
  107. package/dist/lib/models/WorldEvent.mjs +264 -3
  108. package/dist/lib/models/WorldStateObject.d.mts +1 -47
  109. package/dist/lib/models/WorldStateObject.mjs +29 -3
  110. package/dist/lib/models/ZarimanCycle.d.mts +1 -44
  111. package/dist/lib/models/ZarimanCycle.mjs +19 -3
  112. package/dist/lib/models/index.d.mts +17 -42
  113. package/dist/lib/models/index.mjs +1 -2
  114. package/dist/lib/supporting/Dependency.d.mts +1 -40
  115. package/dist/lib/supporting/Dependency.mjs +1 -1
  116. package/dist/lib/supporting/DuviriChoice.d.mts +1 -18
  117. package/dist/lib/supporting/DuviriChoice.mjs +32 -2
  118. package/dist/lib/supporting/ExternalMission.d.mts +1 -48
  119. package/dist/lib/supporting/ExternalMission.mjs +1 -1
  120. package/dist/lib/supporting/FetchProxy.d.mts +1 -9
  121. package/dist/lib/supporting/FetchProxy.mjs +1 -2
  122. package/dist/lib/supporting/ImgCdn.d.mts +1 -5
  123. package/dist/lib/supporting/ImgCdn.mjs +1 -2
  124. package/dist/lib/supporting/KuvaLogEntry.d.mts +1 -20
  125. package/dist/lib/supporting/KuvaLogEntry.mjs +1 -1
  126. package/dist/lib/supporting/RewardData.d.mts +1 -10
  127. package/dist/lib/supporting/RewardData.mjs +1 -2
  128. package/dist/lib/supporting/RewardTypes.d.mts +1 -33
  129. package/dist/lib/supporting/RewardTypes.mjs +1 -3
  130. package/dist/lib/supporting/index.d.mts +8 -8
  131. package/dist/lib/supporting/index.mjs +1 -2
  132. package/dist/main.d.mts +24 -52
  133. package/dist/main.mjs +1 -3
  134. package/package.json +7 -1
@@ -1,38 +1,19 @@
1
- import { Dependency } from "./supporting/Dependency.mjs";
2
- import { RawChoice } from "./supporting/DuviriChoice.mjs";
3
- import { ExternalMission } from "./supporting/ExternalMission.mjs";
4
- import "./supporting/index.mjs";
5
- import { BaseContentObject, WorldStateObject } from "./models/WorldStateObject.mjs";
6
- import { Alert, RawAlert } from "./models/Alert.mjs";
7
- import { Archimedea, RawArchimedea } from "./models/Archimedea.mjs";
8
- import { Calendar, RawCalender } from "./models/Calendar.mjs";
9
- import { CetusCycle } from "./models/CetusCycle.mjs";
10
- import { CambionCycle } from "./models/CambionCycle.mjs";
11
- import { ConclaveChallenge, RawChallenge } from "./models/ConclaveChallenge.mjs";
12
- import { ConstructionProgress } from "./models/ConstructionProgress.mjs";
13
- import { DailyDeal, RawDailyDeal } from "./models/DailyDeal.mjs";
14
- import { DarkSector, RawDarkSector } from "./models/DarkSector.mjs";
15
- import { DuviriCycle } from "./models/DuviriCycle.mjs";
16
- import { EarthCycle } from "./models/EarthCycle.mjs";
17
- import { Fissure, RawFissure } from "./models/Fissure.mjs";
18
- import { FlashSale, RawFlashSale } from "./models/FlashSale.mjs";
19
- import { GlobalUpgrade, RawGlobalUpgrade } from "./models/GlobalUpgrade.mjs";
20
- import { Invasion, RawInvasion } from "./models/Invasion.mjs";
21
- import { Kinepage } from "./models/Kinepage.mjs";
22
- import { News, RawNews } from "./models/News.mjs";
23
- import { Nightwave, RawNightwave } from "./models/Nightwave.mjs";
24
- import { PersistentEnemy, RawPersistentEnemy } from "./models/PersistentEnemy.mjs";
25
- import { SentientOutpost } from "./models/SentientOutpost.mjs";
26
- import { LibraryInfo, Simaris } from "./models/Simaris.mjs";
27
- import { RawSortie, Sortie } from "./models/Sortie.mjs";
28
- import { SteelPathOfferings } from "./models/SteelPathOffering.mjs";
29
- import { RawSyndicateMission, SyndicateMission } from "./models/SyndicateMission.mjs";
30
- import { VallisCycle } from "./models/VallisCycle.mjs";
31
- import { RawVoidTrader, VoidTrader } from "./models/VoidTrader.mjs";
32
- import { RawWeeklyChallenge, WeeklyChallenge } from "./models/WeeklyChallenge.mjs";
33
- import { RawWorldEvent, WorldEvent } from "./models/WorldEvent.mjs";
34
- import { ZarimanCycle } from "./models/ZarimanCycle.mjs";
35
- import "./models/index.mjs";
1
+ import { t as Dependency } from "../Dependency-CtryMjKU.mjs";
2
+ import { D as SentientOutpost, F as RawFlashSale, G as RawChallenge, H as DailyDeal, I as Fissure, J as Archimedea, L as RawFissure, M as GlobalUpgrade, N as RawGlobalUpgrade, P as FlashSale, R as DuviriCycle, T as Simaris, U as RawDailyDeal, V as RawDarkSector, W as ConclaveChallenge, a as WorldEvent, b as RawSortie, c as RawVoidTrader, dt as RawChoice, et as RawArchimedea, g as SyndicateMission, h as RawSyndicateMission, i as RawWorldEvent, j as RawInvasion, k as Invasion, l as VoidTrader, nt as Alert, o as RawWeeklyChallenge, rt as RawAlert, s as WeeklyChallenge, w as LibraryInfo, x as Sortie, z as DarkSector } from "../index-BK5W1mAn.mjs";
3
+ import { t as ExternalMission } from "../ExternalMission-DaE_6ccj.mjs";
4
+ import { r as WorldStateObject, t as BaseContentObject } from "../WorldStateObject-BgeCocs9.mjs";
5
+ import { r as RawCalender, t as Calendar } from "../Calendar-C99Wr_NC.mjs";
6
+ import { t as CetusCycle } from "../CetusCycle-sbJ_VYPO.mjs";
7
+ import { t as CambionCycle } from "../CambionCycle-CEVo0BPO.mjs";
8
+ import { t as ConstructionProgress } from "../ConstructionProgress-CffeDtau.mjs";
9
+ import { t as EarthCycle } from "../EarthCycle-BsMMsVT4.mjs";
10
+ import { t as Kinepage } from "../Kinepage-BDZm950n.mjs";
11
+ import { n as RawNews, t as News } from "../News-CmoQ_nEf.mjs";
12
+ import { n as RawNightwave, t as Nightwave } from "../Nightwave-BBRJbyr8.mjs";
13
+ import { n as RawPersistentEnemy, t as PersistentEnemy } from "../PersistentEnemy-WkvIZ9Mx.mjs";
14
+ import { n as SteelPathOfferings } from "../SteelPathOffering-K2Ji4d5c.mjs";
15
+ import { t as VallisCycle } from "../VallisCycle-BTYgGev7.mjs";
16
+ import { n as ZarimanCycle } from "../ZarimanCycle-D4YCSLmR.mjs";
36
17
 
37
18
  //#region lib/WorldState.d.ts
38
19
  /**
@@ -1,3 +1,4 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../decorate-CltSo06_.mjs";
1
2
  import { Alert } from "./models/Alert.mjs";
2
3
  import { Archimedea } from "./models/Archimedea.mjs";
3
4
  import { Calendar } from "./models/Calendar.mjs";
@@ -31,10 +32,13 @@ import { WorldEvent } from "./models/WorldEvent.mjs";
31
32
  import { ZarimanCycle } from "./models/ZarimanCycle.mjs";
32
33
  import "./models/index.mjs";
33
34
  import { createHash } from "node:crypto";
35
+ import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
36
+ import { Type } from "class-transformer";
37
+ import { IsArray, IsDate, IsOptional, IsString, ValidateNested } from "class-validator";
34
38
  import wsData from "warframe-worldstate-data";
35
39
  import { parseDate } from "warframe-worldstate-data/utilities";
36
-
37
40
  //#region lib/WorldState.ts
41
+ var _ref, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
38
42
  const { sortie } = wsData;
39
43
  const safeArray = (arr) => arr ?? [];
40
44
  const safeObj = (obj) => obj ?? {};
@@ -332,7 +336,326 @@ var WorldState = class WorldState {
332
336
  ({kinepage: this.kinepage, sentientOutposts: this.sentientOutposts, faceoffBonus: this.faceoffBonus, questToConquerCancer: this.questToConquerCancer} = new Tmp(data.Tmp, deps));
333
337
  }
334
338
  };
339
+ __decorate([
340
+ ApiProperty({
341
+ description: "Timestamp when the world state was generated",
342
+ type: Date
343
+ }),
344
+ IsDate(),
345
+ Type(() => Date),
346
+ __decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
347
+ ], WorldState.prototype, "timestamp", void 0);
348
+ __decorate([
349
+ ApiProperty({ description: "Current game build version" }),
350
+ IsString(),
351
+ __decorateMetadata("design:type", String)
352
+ ], WorldState.prototype, "buildLabel", void 0);
353
+ __decorate([
354
+ ApiProperty({
355
+ description: "Current in-game news articles",
356
+ type: [News]
357
+ }),
358
+ IsArray(),
359
+ ValidateNested({ each: true }),
360
+ Type(() => News),
361
+ __decorateMetadata("design:type", Array)
362
+ ], WorldState.prototype, "news", void 0);
363
+ __decorate([
364
+ ApiProperty({
365
+ description: "Active world events",
366
+ type: [WorldEvent]
367
+ }),
368
+ IsArray(),
369
+ ValidateNested({ each: true }),
370
+ Type(() => WorldEvent),
371
+ __decorateMetadata("design:type", Array)
372
+ ], WorldState.prototype, "events", void 0);
373
+ __decorate([
374
+ ApiProperty({
375
+ description: "Active alerts",
376
+ type: [Alert]
377
+ }),
378
+ IsArray(),
379
+ ValidateNested({ each: true }),
380
+ Type(() => Alert),
381
+ __decorateMetadata("design:type", Array)
382
+ ], WorldState.prototype, "alerts", void 0);
383
+ __decorate([
384
+ ApiProperty({
385
+ description: "Current daily sortie",
386
+ type: () => Sortie
387
+ }),
388
+ ValidateNested(),
389
+ Type(() => Sortie),
390
+ __decorateMetadata("design:type", typeof (_ref2 = typeof Sortie !== "undefined" && Sortie) === "function" ? _ref2 : Object)
391
+ ], WorldState.prototype, "sortie", void 0);
392
+ __decorate([
393
+ ApiProperty({
394
+ description: "Active syndicate missions",
395
+ type: [SyndicateMission]
396
+ }),
397
+ IsArray(),
398
+ ValidateNested({ each: true }),
399
+ Type(() => SyndicateMission),
400
+ __decorateMetadata("design:type", Array)
401
+ ], WorldState.prototype, "syndicateMissions", void 0);
402
+ __decorate([
403
+ ApiProperty({
404
+ description: "Active void fissures and void storms",
405
+ type: [Fissure]
406
+ }),
407
+ IsArray(),
408
+ ValidateNested({ each: true }),
409
+ Type(() => Fissure),
410
+ __decorateMetadata("design:type", Array)
411
+ ], WorldState.prototype, "fissures", void 0);
412
+ __decorate([
413
+ ApiProperty({
414
+ description: "Active global upgrades",
415
+ type: [GlobalUpgrade]
416
+ }),
417
+ IsArray(),
418
+ ValidateNested({ each: true }),
419
+ Type(() => GlobalUpgrade),
420
+ __decorateMetadata("design:type", Array)
421
+ ], WorldState.prototype, "globalUpgrades", void 0);
422
+ __decorate([
423
+ ApiProperty({
424
+ description: "Active flash sales",
425
+ type: [FlashSale]
426
+ }),
427
+ IsArray(),
428
+ ValidateNested({ each: true }),
429
+ Type(() => FlashSale),
430
+ __decorateMetadata("design:type", Array)
431
+ ], WorldState.prototype, "flashSales", void 0);
432
+ __decorate([
433
+ ApiProperty({
434
+ description: "Active invasions",
435
+ type: [Invasion]
436
+ }),
437
+ IsArray(),
438
+ ValidateNested({ each: true }),
439
+ Type(() => Invasion),
440
+ __decorateMetadata("design:type", Array)
441
+ ], WorldState.prototype, "invasions", void 0);
442
+ __decorate([
443
+ ApiProperty({
444
+ description: "Dark sector conflicts",
445
+ type: [DarkSector]
446
+ }),
447
+ IsArray(),
448
+ ValidateNested({ each: true }),
449
+ Type(() => DarkSector),
450
+ __decorateMetadata("design:type", Array)
451
+ ], WorldState.prototype, "darkSectors", void 0);
452
+ __decorate([
453
+ ApiProperty({
454
+ description: "All void traders",
455
+ type: [VoidTrader]
456
+ }),
457
+ IsArray(),
458
+ ValidateNested({ each: true }),
459
+ Type(() => VoidTrader),
460
+ __decorateMetadata("design:type", Array)
461
+ ], WorldState.prototype, "voidTraders", void 0);
462
+ __decorate([
463
+ ApiProperty({
464
+ description: "Primary void trader (deprecated, use voidTraders)",
465
+ type: () => VoidTrader,
466
+ deprecated: true
467
+ }),
468
+ ValidateNested(),
469
+ Type(() => VoidTrader),
470
+ __decorateMetadata("design:type", typeof (_ref3 = typeof VoidTrader !== "undefined" && VoidTrader) === "function" ? _ref3 : Object)
471
+ ], WorldState.prototype, "voidTrader", void 0);
472
+ __decorate([
473
+ ApiProperty({
474
+ description: "Active daily deals",
475
+ type: [DailyDeal]
476
+ }),
477
+ IsArray(),
478
+ ValidateNested({ each: true }),
479
+ Type(() => DailyDeal),
480
+ __decorateMetadata("design:type", Array)
481
+ ], WorldState.prototype, "dailyDeals", void 0);
482
+ __decorate([
483
+ ApiProperty({
484
+ description: "Sanctuary synthesis targets",
485
+ type: () => Simaris
486
+ }),
487
+ ValidateNested(),
488
+ Type(() => Simaris),
489
+ __decorateMetadata("design:type", typeof (_ref4 = typeof Simaris !== "undefined" && Simaris) === "function" ? _ref4 : Object)
490
+ ], WorldState.prototype, "simaris", void 0);
491
+ __decorate([
492
+ ApiProperty({
493
+ description: "Active conclave challenges",
494
+ type: [ConclaveChallenge]
495
+ }),
496
+ IsArray(),
497
+ ValidateNested({ each: true }),
498
+ Type(() => ConclaveChallenge),
499
+ __decorateMetadata("design:type", Array)
500
+ ], WorldState.prototype, "conclaveChallenges", void 0);
501
+ __decorate([
502
+ ApiProperty({
503
+ description: "Active persistent enemies (liches, sisters)",
504
+ type: [PersistentEnemy]
505
+ }),
506
+ IsArray(),
507
+ ValidateNested({ each: true }),
508
+ Type(() => PersistentEnemy),
509
+ __decorateMetadata("design:type", Array)
510
+ ], WorldState.prototype, "persistentEnemies", void 0);
511
+ __decorate([
512
+ ApiProperty({
513
+ description: "Earth day/night cycle",
514
+ type: () => EarthCycle
515
+ }),
516
+ ValidateNested(),
517
+ Type(() => EarthCycle),
518
+ __decorateMetadata("design:type", typeof (_ref5 = typeof EarthCycle !== "undefined" && EarthCycle) === "function" ? _ref5 : Object)
519
+ ], WorldState.prototype, "earthCycle", void 0);
520
+ __decorate([
521
+ ApiProperty({
522
+ description: "Cetus (Plains of Eidolon) day/night cycle",
523
+ type: () => CetusCycle
524
+ }),
525
+ ValidateNested(),
526
+ Type(() => CetusCycle),
527
+ __decorateMetadata("design:type", typeof (_ref6 = typeof CetusCycle !== "undefined" && CetusCycle) === "function" ? _ref6 : Object)
528
+ ], WorldState.prototype, "cetusCycle", void 0);
529
+ __decorate([
530
+ ApiProperty({
531
+ description: "Cambion Drift cycle",
532
+ type: () => CambionCycle
533
+ }),
534
+ ValidateNested(),
535
+ Type(() => CambionCycle),
536
+ __decorateMetadata("design:type", typeof (_ref7 = typeof CambionCycle !== "undefined" && CambionCycle) === "function" ? _ref7 : Object)
537
+ ], WorldState.prototype, "cambionCycle", void 0);
538
+ __decorate([
539
+ ApiProperty({
540
+ description: "Zariman cycle",
541
+ type: () => ZarimanCycle
542
+ }),
543
+ ValidateNested(),
544
+ Type(() => ZarimanCycle),
545
+ __decorateMetadata("design:type", typeof (_ref8 = typeof ZarimanCycle !== "undefined" && ZarimanCycle) === "function" ? _ref8 : Object)
546
+ ], WorldState.prototype, "zarimanCycle", void 0);
547
+ __decorate([
548
+ ApiPropertyOptional({
549
+ description: "Weekly challenges",
550
+ type: () => WeeklyChallenge
551
+ }),
552
+ IsOptional(),
553
+ ValidateNested(),
554
+ Type(() => WeeklyChallenge),
555
+ __decorateMetadata("design:type", typeof (_ref9 = typeof WeeklyChallenge !== "undefined" && WeeklyChallenge) === "function" ? _ref9 : Object)
556
+ ], WorldState.prototype, "weeklyChallenges", void 0);
557
+ __decorate([
558
+ ApiProperty({
559
+ description: "Construction progress for Fomorian/Razorback",
560
+ type: () => ConstructionProgress
561
+ }),
562
+ ValidateNested(),
563
+ Type(() => ConstructionProgress),
564
+ __decorateMetadata("design:type", typeof (_ref10 = typeof ConstructionProgress !== "undefined" && ConstructionProgress) === "function" ? _ref10 : Object)
565
+ ], WorldState.prototype, "constructionProgress", void 0);
566
+ __decorate([
567
+ ApiProperty({
568
+ description: "Orb Vallis temperature cycle",
569
+ type: () => VallisCycle
570
+ }),
571
+ ValidateNested(),
572
+ Type(() => VallisCycle),
573
+ __decorateMetadata("design:type", typeof (_ref11 = typeof VallisCycle !== "undefined" && VallisCycle) === "function" ? _ref11 : Object)
574
+ ], WorldState.prototype, "vallisCycle", void 0);
575
+ __decorate([
576
+ ApiPropertyOptional({
577
+ description: "Current Nightwave season",
578
+ type: () => Nightwave
579
+ }),
580
+ IsOptional(),
581
+ ValidateNested(),
582
+ Type(() => Nightwave),
583
+ __decorateMetadata("design:type", typeof (_ref12 = typeof Nightwave !== "undefined" && Nightwave) === "function" ? _ref12 : Object)
584
+ ], WorldState.prototype, "nightwave", void 0);
585
+ __decorate([
586
+ ApiPropertyOptional({
587
+ description: "Kuva siphon/flood missions",
588
+ type: "array"
589
+ }),
590
+ IsOptional(),
591
+ IsArray(),
592
+ __decorateMetadata("design:type", Array)
593
+ ], WorldState.prototype, "kuva", void 0);
594
+ __decorate([
595
+ ApiPropertyOptional({
596
+ description: "Current arbitration mission",
597
+ type: "object"
598
+ }),
599
+ IsOptional(),
600
+ __decorateMetadata("design:type", Object)
601
+ ], WorldState.prototype, "arbitration", void 0);
602
+ __decorate([ApiProperty({ description: "Sentient anomaly outposts" }), __decorateMetadata("design:type", Object)], WorldState.prototype, "sentientOutposts", void 0);
603
+ __decorate([
604
+ ApiProperty({
605
+ description: "Steel Path offerings",
606
+ type: () => SteelPathOfferings
607
+ }),
608
+ ValidateNested(),
609
+ Type(() => SteelPathOfferings),
610
+ __decorateMetadata("design:type", typeof (_ref13 = typeof SteelPathOfferings !== "undefined" && SteelPathOfferings) === "function" ? _ref13 : Object)
611
+ ], WorldState.prototype, "steelPath", void 0);
612
+ __decorate([
613
+ ApiProperty({
614
+ description: "Prime resurgence (Varzia)",
615
+ type: () => VoidTrader
616
+ }),
617
+ ValidateNested(),
618
+ Type(() => VoidTrader),
619
+ __decorateMetadata("design:type", typeof (_ref14 = typeof VoidTrader !== "undefined" && VoidTrader) === "function" ? _ref14 : Object)
620
+ ], WorldState.prototype, "vaultTrader", void 0);
621
+ __decorate([
622
+ ApiProperty({
623
+ description: "Weekly archon hunt",
624
+ type: () => Sortie
625
+ }),
626
+ ValidateNested(),
627
+ Type(() => Sortie),
628
+ __decorateMetadata("design:type", typeof (_ref15 = typeof Sortie !== "undefined" && Sortie) === "function" ? _ref15 : Object)
629
+ ], WorldState.prototype, "archonHunt", void 0);
630
+ __decorate([
631
+ ApiProperty({
632
+ description: "Duviri circuit rotation",
633
+ type: () => DuviriCycle
634
+ }),
635
+ ValidateNested(),
636
+ Type(() => DuviriCycle),
637
+ __decorateMetadata("design:type", typeof (_ref16 = typeof DuviriCycle !== "undefined" && DuviriCycle) === "function" ? _ref16 : Object)
638
+ ], WorldState.prototype, "duviriCycle", void 0);
639
+ __decorate([ApiProperty({ description: "Kinepage message" }), __decorateMetadata("design:type", Object)], WorldState.prototype, "kinepage", void 0);
640
+ __decorate([
641
+ ApiProperty({
642
+ description: "Archimedea missions",
643
+ type: [Archimedea]
644
+ }),
645
+ IsArray(),
646
+ ValidateNested({ each: true }),
647
+ Type(() => Archimedea),
648
+ __decorateMetadata("design:type", Array)
649
+ ], WorldState.prototype, "archimedeas", void 0);
650
+ __decorate([
651
+ ApiProperty({
652
+ description: "Calendar for 1999 content",
653
+ type: () => Calendar
654
+ }),
655
+ ValidateNested(),
656
+ Type(() => Calendar),
657
+ __decorateMetadata("design:type", typeof (_ref17 = typeof Calendar !== "undefined" && Calendar) === "function" ? _ref17 : Object)
658
+ ], WorldState.prototype, "calendar", void 0);
335
659
  var WorldState_default = async (json, deps) => WorldState.build(json, deps);
336
-
337
660
  //#endregion
338
- export { WorldState, WorldState_default as default, parseArray, parseAsyncArray };
661
+ export { WorldState, WorldState_default as default, parseArray, parseAsyncArray };
@@ -1,46 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
- import { Reward } from "./Reward.mjs";
4
- import { Mission, RawMission } from "./Mission.mjs";
5
- import { BaseContentObject, WorldStateObject } from "./WorldStateObject.mjs";
6
-
7
- //#region lib/models/Alert.d.ts
8
- interface RawAlert extends BaseContentObject {
9
- MissionInfo: RawMission;
10
- Tag?: string;
11
- }
12
- /**
13
- * Represents an alert
14
- * @augments {WorldStateObject}
15
- */
16
- declare class Alert extends WorldStateObject {
17
- /**
18
- * The mission that the players have to complete
19
- */
20
- mission: Mission;
21
- /**
22
- * An array containing the types of all of the alert's rewards
23
- */
24
- rewardTypes: string[];
25
- /**
26
- * A tag that DE occasionally provides, such as `LotusGift`
27
- */
28
- tag?: string;
29
- constructor(data: RawAlert, {
30
- locale
31
- }?: Dependency);
32
- /**
33
- * Alert's description
34
- */
35
- get description(): string;
36
- /**
37
- * Alert rewards
38
- */
39
- get reward(): Reward | undefined;
40
- /**
41
- * How much time is left before the alert expires
42
- */
43
- get eta(): string;
44
- }
45
- //#endregion
1
+ import { nt as Alert, rt as RawAlert } from "../../index-BK5W1mAn.mjs";
46
2
  export { Alert, RawAlert };
@@ -1,8 +1,12 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
1
2
  import { Mission } from "./Mission.mjs";
2
3
  import { WorldStateObject } from "./WorldStateObject.mjs";
4
+ import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
5
+ import { Type } from "class-transformer";
6
+ import { IsArray, IsOptional, IsString, ValidateNested } from "class-validator";
3
7
  import { fromNow, timeDeltaToString } from "warframe-worldstate-data/utilities";
4
-
5
8
  //#region lib/models/Alert.ts
9
+ var _ref;
6
10
  /**
7
11
  * Represents an alert
8
12
  * @augments {WorldStateObject}
@@ -46,6 +50,29 @@ var Alert = class extends WorldStateObject {
46
50
  return timeDeltaToString(fromNow(this.expiry));
47
51
  }
48
52
  };
49
-
53
+ __decorate([
54
+ ApiProperty({
55
+ description: "The mission that players must complete for this alert",
56
+ type: () => Mission
57
+ }),
58
+ ValidateNested(),
59
+ Type(() => Mission),
60
+ __decorateMetadata("design:type", typeof (_ref = typeof Mission !== "undefined" && Mission) === "function" ? _ref : Object)
61
+ ], Alert.prototype, "mission", void 0);
62
+ __decorate([
63
+ ApiProperty({
64
+ description: "Types of rewards available from this alert",
65
+ type: [String]
66
+ }),
67
+ IsArray(),
68
+ IsString({ each: true }),
69
+ __decorateMetadata("design:type", Array)
70
+ ], Alert.prototype, "rewardTypes", void 0);
71
+ __decorate([
72
+ ApiPropertyOptional({ description: "Special tag for the alert (e.g., LotusGift)" }),
73
+ IsOptional(),
74
+ IsString(),
75
+ __decorateMetadata("design:type", String)
76
+ ], Alert.prototype, "tag", void 0);
50
77
  //#endregion
51
- export { Alert };
78
+ export { Alert };
@@ -1,87 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
- import { BaseContentObject, WorldStateObject } from "./WorldStateObject.mjs";
4
- import { Locale } from "warframe-worldstate-data";
5
-
6
- //#region lib/models/Archimedea.d.ts
7
- /**
8
- * @deprecated use Archimedea to reference temporal and deep
9
- */
10
- type DeepArchimedea = Archimedea;
11
- interface RawArchimedea extends BaseContentObject {
12
- Type: string;
13
- Missions: RawArchimedeaMission[];
14
- Variables: string[];
15
- }
16
- type Difficulty = {
17
- type: string;
18
- deviation: string;
19
- risks: string[];
20
- };
21
- interface RawArchimedeaMission {
22
- faction: string;
23
- missionType: string;
24
- difficulties: Difficulty[];
25
- }
26
- interface ArchimedeaMissionDifficultyRisk {
27
- key: string;
28
- name: string;
29
- description: string;
30
- isHard: boolean;
31
- }
32
- interface ArchimedeaMissionDifficulty {
33
- key: string;
34
- name: string;
35
- description: string;
36
- }
37
- /**
38
- * An Archimedea mission with risk and deviations
39
- */
40
- declare class ArchimedeaMission {
41
- faction: string;
42
- factionKey: string;
43
- missionType: string;
44
- missionTypeKey: string;
45
- deviation: ArchimedeaMissionDifficulty;
46
- risks: ArchimedeaMissionDifficultyRisk[];
47
- /**
48
- * @param mission Challenge mission type
49
- * @param locale Locale for translation
50
- */
51
- constructor(mission: RawArchimedeaMission, locale: Locale);
52
- }
53
- declare class Archimedea extends WorldStateObject {
54
- /**
55
- * MD5 generated ID
56
- */
57
- id: string;
58
- /**
59
- * Archimedea type
60
- */
61
- type: string;
62
- /**
63
- * Archimedea type untranslated
64
- */
65
- typeKey: string;
66
- /**
67
- * Missions along with deviations and risks
68
- */
69
- missions: ArchimedeaMission[];
70
- /**
71
- * Modifiers applied to the player
72
- */
73
- personalModifiers: {
74
- key: string;
75
- name: string;
76
- description: string;
77
- }[];
78
- /**
79
- * @param data Data to parse
80
- * @param locale Locale to translate to
81
- */
82
- constructor(data: RawArchimedea, {
83
- locale
84
- }?: Dependency);
85
- }
86
- //#endregion
1
+ import { $ as Difficulty, J as Archimedea, Q as DeepArchimedea, X as ArchimedeaMissionDifficulty, Y as ArchimedeaMission, Z as ArchimedeaMissionDifficultyRisk, et as RawArchimedea, tt as RawArchimedeaMission } from "../../index-BK5W1mAn.mjs";
87
2
  export { Archimedea, ArchimedeaMission, ArchimedeaMissionDifficulty, ArchimedeaMissionDifficultyRisk, DeepArchimedea, Difficulty, RawArchimedea, RawArchimedeaMission };
@@ -1,7 +1,10 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
1
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
2
3
  import { createHash } from "node:crypto";
4
+ import { ApiProperty } from "@nestjs/swagger";
5
+ import { Type } from "class-transformer";
6
+ import { IsArray, IsString, ValidateNested } from "class-validator";
3
7
  import { faction, languageDesc, languageString, missionType } from "warframe-worldstate-data/utilities";
4
-
5
8
  //#region lib/models/Archimedea.ts
6
9
  /**
7
10
  * An Archimedea mission with risk and deviations
@@ -45,6 +48,42 @@ var ArchimedeaMission = class {
45
48
  }
46
49
  }
47
50
  };
51
+ __decorate([
52
+ ApiProperty({ description: "Faction name" }),
53
+ IsString(),
54
+ __decorateMetadata("design:type", String)
55
+ ], ArchimedeaMission.prototype, "faction", void 0);
56
+ __decorate([
57
+ ApiProperty({ description: "Faction untranslated key" }),
58
+ IsString(),
59
+ __decorateMetadata("design:type", String)
60
+ ], ArchimedeaMission.prototype, "factionKey", void 0);
61
+ __decorate([
62
+ ApiProperty({ description: "Mission type name" }),
63
+ IsString(),
64
+ __decorateMetadata("design:type", String)
65
+ ], ArchimedeaMission.prototype, "missionType", void 0);
66
+ __decorate([
67
+ ApiProperty({ description: "Mission type untranslated key" }),
68
+ IsString(),
69
+ __decorateMetadata("design:type", String)
70
+ ], ArchimedeaMission.prototype, "missionTypeKey", void 0);
71
+ __decorate([
72
+ ApiProperty({ description: "Deviation difficulty information" }),
73
+ ValidateNested(),
74
+ Type(() => Object),
75
+ __decorateMetadata("design:type", Object)
76
+ ], ArchimedeaMission.prototype, "deviation", void 0);
77
+ __decorate([
78
+ ApiProperty({
79
+ description: "List of risks for this mission",
80
+ type: [Object]
81
+ }),
82
+ IsArray(),
83
+ ValidateNested({ each: true }),
84
+ Type(() => Object),
85
+ __decorateMetadata("design:type", Array)
86
+ ], ArchimedeaMission.prototype, "risks", void 0);
48
87
  var Archimedea = class extends WorldStateObject {
49
88
  /**
50
89
  * MD5 generated ID
@@ -85,6 +124,40 @@ var Archimedea = class extends WorldStateObject {
85
124
  });
86
125
  }
87
126
  };
88
-
127
+ __decorate([
128
+ ApiProperty({ description: "MD5 generated ID" }),
129
+ IsString(),
130
+ __decorateMetadata("design:type", String)
131
+ ], Archimedea.prototype, "id", void 0);
132
+ __decorate([
133
+ ApiProperty({ description: "Archimedea type" }),
134
+ IsString(),
135
+ __decorateMetadata("design:type", String)
136
+ ], Archimedea.prototype, "type", void 0);
137
+ __decorate([
138
+ ApiProperty({ description: "Archimedea type untranslated" }),
139
+ IsString(),
140
+ __decorateMetadata("design:type", String)
141
+ ], Archimedea.prototype, "typeKey", void 0);
142
+ __decorate([
143
+ ApiProperty({
144
+ description: "Missions along with deviations and risks",
145
+ type: [ArchimedeaMission]
146
+ }),
147
+ IsArray(),
148
+ ValidateNested({ each: true }),
149
+ Type(() => ArchimedeaMission),
150
+ __decorateMetadata("design:type", Array)
151
+ ], Archimedea.prototype, "missions", void 0);
152
+ __decorate([
153
+ ApiProperty({
154
+ description: "Modifiers applied to the player",
155
+ type: [Object]
156
+ }),
157
+ IsArray(),
158
+ ValidateNested({ each: true }),
159
+ Type(() => Object),
160
+ __decorateMetadata("design:type", Array)
161
+ ], Archimedea.prototype, "personalModifiers", void 0);
89
162
  //#endregion
90
- export { Archimedea, ArchimedeaMission };
163
+ export { Archimedea, ArchimedeaMission };