warframe-worldstate-parser 5.2.18 → 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 (123) hide show
  1. package/dist/{Calendar-C-rbmV_t.d.mts → Calendar-C99Wr_NC.d.mts} +1 -1
  2. package/dist/{CambionCycle-BzR_MfPH.d.mts → CambionCycle-CEVo0BPO.d.mts} +8 -2
  3. package/dist/{CetusCycle-DaqfF4J1.d.mts → CetusCycle-sbJ_VYPO.d.mts} +1 -1
  4. package/dist/{ConstructionProgress-BRxmro3-.d.mts → ConstructionProgress-CffeDtau.d.mts} +10 -1
  5. package/dist/{DarkSectorBattle-DHRl5tG1.d.mts → DarkSectorBattle-DwaJyGk3.d.mts} +1 -1
  6. package/dist/{Dependency-Cd-TxBJy.d.mts → Dependency-CtryMjKU.d.mts} +1 -1
  7. package/dist/{EarthCycle-C_oB5gDc.d.mts → EarthCycle-BsMMsVT4.d.mts} +1 -1
  8. package/dist/{ExternalMission-CT__oi7Q.d.mts → ExternalMission-DaE_6ccj.d.mts} +1 -1
  9. package/dist/{MidrathCycle-CxveqDtx.d.mts → MidrathCycle-UgLh7wgF.d.mts} +1 -1
  10. package/dist/{News-CJ3lD7_g.d.mts → News-CmoQ_nEf.d.mts} +1 -1
  11. package/dist/{Nightwave-BLHH02ht.d.mts → Nightwave-BBRJbyr8.d.mts} +2 -2
  12. package/dist/{NightwaveChallenge-j_m4hVQU.d.mts → NightwaveChallenge-C6J7ymli.d.mts} +1 -1
  13. package/dist/{PersistentEnemy-BJ4twtUY.d.mts → PersistentEnemy-WkvIZ9Mx.d.mts} +1 -1
  14. package/dist/{SteelPathOffering-DYjZ29sT.d.mts → SteelPathOffering-K2Ji4d5c.d.mts} +21 -0
  15. package/dist/{VallisCycle-as7DM4a-.d.mts → VallisCycle-BTYgGev7.d.mts} +1 -1
  16. package/dist/{ZarimanCycle-DyYiVfyG.d.mts → ZarimanCycle-D4YCSLmR.d.mts} +1 -1
  17. package/dist/decorate-CltSo06_.mjs +14 -0
  18. package/dist/{index-C4EJ_Mpd.d.mts → index-BK5W1mAn.d.mts} +57 -6
  19. package/dist/lib/WorldState.d.mts +16 -16
  20. package/dist/lib/WorldState.mjs +325 -0
  21. package/dist/lib/models/Alert.d.mts +1 -1
  22. package/dist/lib/models/Alert.mjs +29 -0
  23. package/dist/lib/models/Archimedea.d.mts +1 -1
  24. package/dist/lib/models/Archimedea.mjs +75 -0
  25. package/dist/lib/models/Calendar.d.mts +1 -1
  26. package/dist/lib/models/CambionCycle.d.mts +1 -1
  27. package/dist/lib/models/CambionCycle.mjs +19 -0
  28. package/dist/lib/models/CetusCycle.d.mts +1 -1
  29. package/dist/lib/models/CetusCycle.mjs +26 -0
  30. package/dist/lib/models/ChallengeInstance.d.mts +1 -1
  31. package/dist/lib/models/ChallengeInstance.mjs +38 -0
  32. package/dist/lib/models/ConclaveChallenge.d.mts +1 -1
  33. package/dist/lib/models/ConclaveChallenge.mjs +53 -0
  34. package/dist/lib/models/ConstructionProgress.d.mts +1 -1
  35. package/dist/lib/models/ConstructionProgress.mjs +27 -0
  36. package/dist/lib/models/DailyDeal.d.mts +1 -1
  37. package/dist/lib/models/DailyDeal.mjs +48 -0
  38. package/dist/lib/models/DarkSector.d.mts +1 -1
  39. package/dist/lib/models/DarkSector.mjs +152 -0
  40. package/dist/lib/models/DarkSectorBattle.d.mts +1 -1
  41. package/dist/lib/models/DarkSectorBattle.mjs +48 -0
  42. package/dist/lib/models/DuviriCycle.d.mts +1 -1
  43. package/dist/lib/models/DuviriCycle.mjs +20 -0
  44. package/dist/lib/models/EarthCycle.d.mts +1 -1
  45. package/dist/lib/models/EarthCycle.mjs +21 -0
  46. package/dist/lib/models/Fissure.d.mts +1 -1
  47. package/dist/lib/models/Fissure.mjs +49 -0
  48. package/dist/lib/models/FlashSale.d.mts +1 -1
  49. package/dist/lib/models/FlashSale.mjs +46 -0
  50. package/dist/lib/models/GlobalUpgrade.d.mts +1 -1
  51. package/dist/lib/models/GlobalUpgrade.mjs +23 -0
  52. package/dist/lib/models/Invasion.d.mts +1 -1
  53. package/dist/lib/models/Invasion.mjs +68 -0
  54. package/dist/lib/models/Kinepage.d.mts +1 -1
  55. package/dist/lib/models/Kinepage.mjs +24 -0
  56. package/dist/lib/models/Kuva.d.mts +1 -1
  57. package/dist/lib/models/Kuva.mjs +25 -0
  58. package/dist/lib/models/MidrathCycle.d.mts +1 -1
  59. package/dist/lib/models/MidrathCycle.mjs +13 -0
  60. package/dist/lib/models/Mission.d.mts +1 -1
  61. package/dist/lib/models/Mission.mjs +150 -0
  62. package/dist/lib/models/News.d.mts +1 -1
  63. package/dist/lib/models/News.mjs +63 -1
  64. package/dist/lib/models/Nightwave.d.mts +1 -1
  65. package/dist/lib/models/Nightwave.mjs +50 -0
  66. package/dist/lib/models/NightwaveChallenge.d.mts +1 -1
  67. package/dist/lib/models/NightwaveChallenge.mjs +34 -0
  68. package/dist/lib/models/PersistentEnemy.d.mts +1 -1
  69. package/dist/lib/models/PersistentEnemy.mjs +62 -0
  70. package/dist/lib/models/Reward.d.mts +1 -1
  71. package/dist/lib/models/Reward.mjs +50 -0
  72. package/dist/lib/models/SentientOutpost.d.mts +1 -1
  73. package/dist/lib/models/SentientOutpost.mjs +44 -0
  74. package/dist/lib/models/Simaris.d.mts +1 -1
  75. package/dist/lib/models/Simaris.mjs +13 -0
  76. package/dist/lib/models/Sortie.d.mts +1 -1
  77. package/dist/lib/models/Sortie.mjs +44 -0
  78. package/dist/lib/models/SortieVariant.d.mts +1 -1
  79. package/dist/lib/models/SortieVariant.mjs +33 -0
  80. package/dist/lib/models/SteelPathOffering.d.mts +1 -1
  81. package/dist/lib/models/SteelPathOffering.mjs +83 -0
  82. package/dist/lib/models/SyndicateJob.d.mts +1 -1
  83. package/dist/lib/models/SyndicateJob.mjs +73 -0
  84. package/dist/lib/models/SyndicateMission.d.mts +1 -1
  85. package/dist/lib/models/SyndicateMission.mjs +33 -0
  86. package/dist/lib/models/Tmp.d.mts +1 -1
  87. package/dist/lib/models/Tmp.mjs +43 -0
  88. package/dist/lib/models/VallisCycle.d.mts +1 -1
  89. package/dist/lib/models/VallisCycle.mjs +13 -0
  90. package/dist/lib/models/VoidTrader.d.mts +1 -1
  91. package/dist/lib/models/VoidTrader.mjs +54 -0
  92. package/dist/lib/models/VoidTraderItem.d.mts +1 -1
  93. package/dist/lib/models/VoidTraderItem.mjs +25 -0
  94. package/dist/lib/models/VoidTraderSchedule.d.mts +1 -1
  95. package/dist/lib/models/VoidTraderSchedule.mjs +19 -0
  96. package/dist/lib/models/WeeklyChallenge.d.mts +1 -1
  97. package/dist/lib/models/WeeklyChallenge.mjs +17 -0
  98. package/dist/lib/models/WorldEvent.d.mts +1 -1
  99. package/dist/lib/models/WorldEvent.mjs +263 -0
  100. package/dist/lib/models/WorldStateObject.d.mts +1 -1
  101. package/dist/lib/models/WorldStateObject.mjs +28 -0
  102. package/dist/lib/models/ZarimanCycle.d.mts +1 -1
  103. package/dist/lib/models/ZarimanCycle.mjs +18 -0
  104. package/dist/lib/models/index.d.mts +17 -17
  105. package/dist/lib/supporting/Dependency.d.mts +1 -1
  106. package/dist/lib/supporting/DuviriChoice.d.mts +1 -1
  107. package/dist/lib/supporting/DuviriChoice.mjs +31 -0
  108. package/dist/lib/supporting/ExternalMission.d.mts +1 -1
  109. package/dist/lib/supporting/FetchProxy.d.mts +1 -1
  110. package/dist/lib/supporting/ImgCdn.d.mts +1 -1
  111. package/dist/lib/supporting/KuvaLogEntry.d.mts +1 -1
  112. package/dist/lib/supporting/RewardData.d.mts +1 -1
  113. package/dist/lib/supporting/RewardTypes.d.mts +1 -1
  114. package/dist/lib/supporting/index.d.mts +8 -8
  115. package/dist/main.d.mts +24 -24
  116. package/package.json +7 -1
  117. /package/dist/{FetchProxy-DHSI4JPP.d.mts → FetchProxy-Bgoi37sM.d.mts} +0 -0
  118. /package/dist/{ImgCdn-DIhZrwap.d.mts → ImgCdn-By4Qj9kk.d.mts} +0 -0
  119. /package/dist/{Kinepage-CKBuvbv5.d.mts → Kinepage-BDZm950n.d.mts} +0 -0
  120. /package/dist/{KuvaLogEntry-f4ZBn2Xf.d.mts → KuvaLogEntry-B0SaM7MX.d.mts} +0 -0
  121. /package/dist/{RewardData-BdtdUFnh.d.mts → RewardData-B5TstL-h.d.mts} +0 -0
  122. /package/dist/{RewardTypes-BnGaD7VF.d.mts → RewardTypes-DMW4dYrB.d.mts} +0 -0
  123. /package/dist/{WorldStateObject-C2KjQZjd.d.mts → WorldStateObject-BgeCocs9.d.mts} +0 -0
@@ -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,9 +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
40
  //#region lib/WorldState.ts
41
+ var _ref, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
37
42
  const { sortie } = wsData;
38
43
  const safeArray = (arr) => arr ?? [];
39
44
  const safeObj = (obj) => obj ?? {};
@@ -331,6 +336,326 @@ var WorldState = class WorldState {
331
336
  ({kinepage: this.kinepage, sentientOutposts: this.sentientOutposts, faceoffBonus: this.faceoffBonus, questToConquerCancer: this.questToConquerCancer} = new Tmp(data.Tmp, deps));
332
337
  }
333
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);
334
659
  var WorldState_default = async (json, deps) => WorldState.build(json, deps);
335
660
  //#endregion
336
661
  export { WorldState, WorldState_default as default, parseArray, parseAsyncArray };
@@ -1,2 +1,2 @@
1
- import { nt as Alert, rt as RawAlert } from "../../index-C4EJ_Mpd.mjs";
1
+ import { nt as Alert, rt as RawAlert } from "../../index-BK5W1mAn.mjs";
2
2
  export { Alert, RawAlert };
@@ -1,7 +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
8
  //#region lib/models/Alert.ts
9
+ var _ref;
5
10
  /**
6
11
  * Represents an alert
7
12
  * @augments {WorldStateObject}
@@ -45,5 +50,29 @@ var Alert = class extends WorldStateObject {
45
50
  return timeDeltaToString(fromNow(this.expiry));
46
51
  }
47
52
  };
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);
48
77
  //#endregion
49
78
  export { Alert };
@@ -1,2 +1,2 @@
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-C4EJ_Mpd.mjs";
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";
2
2
  export { Archimedea, ArchimedeaMission, ArchimedeaMissionDifficulty, ArchimedeaMissionDifficultyRisk, DeepArchimedea, Difficulty, RawArchimedea, RawArchimedeaMission };
@@ -1,5 +1,9 @@
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
8
  //#region lib/models/Archimedea.ts
5
9
  /**
@@ -44,6 +48,42 @@ var ArchimedeaMission = class {
44
48
  }
45
49
  }
46
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);
47
87
  var Archimedea = class extends WorldStateObject {
48
88
  /**
49
89
  * MD5 generated ID
@@ -84,5 +124,40 @@ var Archimedea = class extends WorldStateObject {
84
124
  });
85
125
  }
86
126
  };
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);
87
162
  //#endregion
88
163
  export { Archimedea, ArchimedeaMission };
@@ -1,2 +1,2 @@
1
- import { i as RawDay, n as DayEvent, r as RawCalender, t as Calendar } from "../../Calendar-C-rbmV_t.mjs";
1
+ import { i as RawDay, n as DayEvent, r as RawCalender, t as Calendar } from "../../Calendar-C99Wr_NC.mjs";
2
2
  export { Calendar, DayEvent, RawCalender, RawDay };
@@ -1,2 +1,2 @@
1
- import { t as CambionCycle } from "../../CambionCycle-BzR_MfPH.mjs";
1
+ import { t as CambionCycle } from "../../CambionCycle-CEVo0BPO.mjs";
2
2
  export { CambionCycle };
@@ -1,4 +1,7 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
1
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
3
+ import { ApiProperty } from "@nestjs/swagger";
4
+ import { IsString } from "class-validator";
2
5
  import { fromNow } from "warframe-worldstate-data/utilities";
3
6
  //#region lib/models/CambionCycle.ts
4
7
  /**
@@ -6,7 +9,13 @@ import { fromNow } from "warframe-worldstate-data/utilities";
6
9
  * @augments {WorldStateObject}
7
10
  */
8
11
  var CambionCycle = class extends WorldStateObject {
12
+ /**
13
+ * Time remaining string in the current cycle
14
+ */
9
15
  timeLeft;
16
+ /**
17
+ * Current cycle state. One of 'fass', 'vome'
18
+ */
10
19
  state;
11
20
  /**
12
21
  * @param {CetusCycle} cetusCycle Match data from cetus cycle for data
@@ -24,5 +33,15 @@ var CambionCycle = class extends WorldStateObject {
24
33
  return fromNow(this.expiry) < 0;
25
34
  }
26
35
  };
36
+ __decorate([
37
+ ApiProperty({ description: "Time remaining in the current cycle" }),
38
+ IsString(),
39
+ __decorateMetadata("design:type", String)
40
+ ], CambionCycle.prototype, "timeLeft", void 0);
41
+ __decorate([
42
+ ApiProperty({ description: "Current cycle state. One of 'fass', 'vome'" }),
43
+ IsString(),
44
+ __decorateMetadata("design:type", String)
45
+ ], CambionCycle.prototype, "state", void 0);
27
46
  //#endregion
28
47
  export { CambionCycle };
@@ -1,2 +1,2 @@
1
- import { n as CurrentCetusCycle, t as CetusCycle } from "../../CetusCycle-DaqfF4J1.mjs";
1
+ import { n as CurrentCetusCycle, t as CetusCycle } from "../../CetusCycle-sbJ_VYPO.mjs";
2
2
  export { CetusCycle, CurrentCetusCycle };
@@ -1,4 +1,7 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
1
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
3
+ import { ApiProperty } from "@nestjs/swagger";
4
+ import { IsBoolean, IsString } from "class-validator";
2
5
  import { fromNow, timeDeltaToString } from "warframe-worldstate-data/utilities";
3
6
  //#region lib/models/CetusCycle.ts
4
7
  const nightTime = 3e3;
@@ -83,5 +86,28 @@ var CetusCycle = class extends WorldStateObject {
83
86
  };
84
87
  }
85
88
  };
89
+ __decorate([
90
+ ApiProperty({ description: "Whether it is currently day time in Cetus" }),
91
+ IsBoolean(),
92
+ __decorateMetadata("design:type", Boolean)
93
+ ], CetusCycle.prototype, "isDay", void 0);
94
+ __decorate([
95
+ ApiProperty({
96
+ description: "Current cycle state",
97
+ enum: ["day", "night"]
98
+ }),
99
+ IsString(),
100
+ __decorateMetadata("design:type", String)
101
+ ], CetusCycle.prototype, "state", void 0);
102
+ __decorate([
103
+ ApiProperty({ description: "Time remaining until next cycle" }),
104
+ IsString(),
105
+ __decorateMetadata("design:type", String)
106
+ ], CetusCycle.prototype, "timeLeft", void 0);
107
+ __decorate([
108
+ ApiProperty({ description: "Always true for Cetus cycle" }),
109
+ IsBoolean(),
110
+ __decorateMetadata("design:type", Boolean)
111
+ ], CetusCycle.prototype, "isCetus", void 0);
86
112
  //#endregion
87
113
  export { CetusCycle };
@@ -1,2 +1,2 @@
1
- import { K as ChallengeInstance, q as RawChallengeInstance } from "../../index-C4EJ_Mpd.mjs";
1
+ import { K as ChallengeInstance, q as RawChallengeInstance } from "../../index-BK5W1mAn.mjs";
2
2
  export { ChallengeInstance, RawChallengeInstance };
@@ -1,3 +1,6 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
2
+ import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
3
+ import { IsInt, IsOptional, IsString, Min } from "class-validator";
1
4
  import { languageString } from "warframe-worldstate-data/utilities";
2
5
  //#region lib/models/ChallengeInstance.ts
3
6
  /**
@@ -42,5 +45,40 @@ var ChallengeInstance = class {
42
45
  this.target = data.VictimType?.[0] ? languageString(data.VictimType[0], locale) : data.Script?._faction;
43
46
  }
44
47
  };
48
+ __decorate([
49
+ ApiProperty({ description: "Type of challenge" }),
50
+ IsString(),
51
+ __decorateMetadata("design:type", String)
52
+ ], ChallengeInstance.prototype, "type", void 0);
53
+ __decorate([
54
+ ApiProperty({ description: "Minimum enemy level to fulfill challenge" }),
55
+ IsInt(),
56
+ Min(0),
57
+ __decorateMetadata("design:type", Number)
58
+ ], ChallengeInstance.prototype, "minEnemyLevel", void 0);
59
+ __decorate([
60
+ ApiProperty({ description: "Required number of units to complete challenge" }),
61
+ IsInt(),
62
+ Min(0),
63
+ __decorateMetadata("design:type", Number)
64
+ ], ChallengeInstance.prototype, "requiredAmount", void 0);
65
+ __decorate([
66
+ ApiProperty({ description: "Waypoint for amount of units between progression updates" }),
67
+ IsInt(),
68
+ Min(0),
69
+ __decorateMetadata("design:type", Number)
70
+ ], ChallengeInstance.prototype, "progressAmount", void 0);
71
+ __decorate([
72
+ ApiPropertyOptional({ description: "Required damage type" }),
73
+ IsOptional(),
74
+ IsString(),
75
+ __decorateMetadata("design:type", String)
76
+ ], ChallengeInstance.prototype, "damageType", void 0);
77
+ __decorate([
78
+ ApiPropertyOptional({ description: "Target to fulfill challenge" }),
79
+ IsOptional(),
80
+ IsString(),
81
+ __decorateMetadata("design:type", String)
82
+ ], ChallengeInstance.prototype, "target", void 0);
45
83
  //#endregion
46
84
  export { ChallengeInstance };
@@ -1,2 +1,2 @@
1
- import { G as RawChallenge, W as ConclaveChallenge } from "../../index-C4EJ_Mpd.mjs";
1
+ import { G as RawChallenge, W as ConclaveChallenge } from "../../index-BK5W1mAn.mjs";
2
2
  export { ConclaveChallenge, RawChallenge };