warframe-worldstate-parser 5.3.6 → 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.
Files changed (78) hide show
  1. package/dist/{index-BiofND5v.d.mts → index-BBJQtZk1.d.mts} +3 -3
  2. package/dist/lib/WorldState.d.mts +1 -1
  3. package/dist/lib/WorldState.mjs +1 -141
  4. package/dist/lib/models/Alert.d.mts +1 -1
  5. package/dist/lib/models/Alert.mjs +0 -10
  6. package/dist/lib/models/Archimedea.d.mts +1 -1
  7. package/dist/lib/models/Archimedea.mjs +17 -102
  8. package/dist/lib/models/CambionCycle.mjs +2 -11
  9. package/dist/lib/models/CetusCycle.mjs +4 -24
  10. package/dist/lib/models/ChallengeInstance.d.mts +1 -1
  11. package/dist/lib/models/ChallengeInstance.mjs +1 -11
  12. package/dist/lib/models/ConclaveChallenge.d.mts +1 -1
  13. package/dist/lib/models/ConclaveChallenge.mjs +7 -32
  14. package/dist/lib/models/ConstructionProgress.mjs +3 -16
  15. package/dist/lib/models/DailyDeal.d.mts +1 -1
  16. package/dist/lib/models/DailyDeal.mjs +3 -21
  17. package/dist/lib/models/DarkSector.d.mts +1 -1
  18. package/dist/lib/models/DarkSector.mjs +12 -79
  19. package/dist/lib/models/DarkSectorBattle.mjs +5 -34
  20. package/dist/lib/models/DuviriCycle.d.mts +1 -1
  21. package/dist/lib/models/DuviriCycle.mjs +1 -10
  22. package/dist/lib/models/EarthCycle.mjs +3 -19
  23. package/dist/lib/models/Fissure.d.mts +1 -1
  24. package/dist/lib/models/Fissure.mjs +9 -47
  25. package/dist/lib/models/FlashSale.d.mts +1 -1
  26. package/dist/lib/models/FlashSale.mjs +5 -29
  27. package/dist/lib/models/GlobalUpgrade.d.mts +1 -1
  28. package/dist/lib/models/GlobalUpgrade.mjs +4 -21
  29. package/dist/lib/models/Invasion.d.mts +1 -1
  30. package/dist/lib/models/Invasion.mjs +10 -61
  31. package/dist/lib/models/Kinepage.mjs +2 -15
  32. package/dist/lib/models/Kuva.d.mts +1 -1
  33. package/dist/lib/models/Kuva.mjs +0 -9
  34. package/dist/lib/models/MidrathCycle.mjs +2 -11
  35. package/dist/lib/models/Mission.d.mts +1 -1
  36. package/dist/lib/models/Mission.mjs +13 -89
  37. package/dist/lib/models/News.mjs +9 -53
  38. package/dist/lib/models/Nightwave.mjs +2 -24
  39. package/dist/lib/models/NightwaveChallenge.mjs +5 -27
  40. package/dist/lib/models/PersistentEnemy.mjs +7 -43
  41. package/dist/lib/models/Reward.d.mts +1 -1
  42. package/dist/lib/models/Reward.mjs +3 -38
  43. package/dist/lib/models/SentientOutpost.d.mts +1 -1
  44. package/dist/lib/models/SentientOutpost.mjs +4 -28
  45. package/dist/lib/models/Simaris.d.mts +1 -1
  46. package/dist/lib/models/Simaris.mjs +2 -11
  47. package/dist/lib/models/Sortie.d.mts +1 -1
  48. package/dist/lib/models/Sortie.mjs +4 -29
  49. package/dist/lib/models/SortieVariant.d.mts +1 -1
  50. package/dist/lib/models/SortieVariant.mjs +6 -31
  51. package/dist/lib/models/SteelPathOffering.mjs +5 -48
  52. package/dist/lib/models/SyndicateJob.d.mts +1 -1
  53. package/dist/lib/models/SyndicateJob.mjs +3 -36
  54. package/dist/lib/models/SyndicateMission.d.mts +1 -1
  55. package/dist/lib/models/SyndicateMission.mjs +2 -19
  56. package/dist/lib/models/Tmp.d.mts +1 -1
  57. package/dist/lib/models/Tmp.mjs +0 -31
  58. package/dist/lib/models/VallisCycle.mjs +2 -11
  59. package/dist/lib/models/VoidTrader.d.mts +1 -1
  60. package/dist/lib/models/VoidTrader.mjs +4 -33
  61. package/dist/lib/models/VoidTraderItem.d.mts +1 -1
  62. package/dist/lib/models/VoidTraderItem.mjs +2 -13
  63. package/dist/lib/models/VoidTraderSchedule.d.mts +1 -1
  64. package/dist/lib/models/VoidTraderSchedule.mjs +1 -10
  65. package/dist/lib/models/WeeklyChallenge.d.mts +1 -1
  66. package/dist/lib/models/WeeklyChallenge.mjs +0 -5
  67. package/dist/lib/models/WorldEvent.d.mts +1 -1
  68. package/dist/lib/models/WorldEvent.mjs +9 -111
  69. package/dist/lib/models/WorldStateObject.mjs +0 -10
  70. package/dist/lib/models/ZarimanCycle.mjs +3 -16
  71. package/dist/lib/models/index.d.mts +1 -1
  72. package/dist/lib/supporting/DuviriChoice.d.mts +1 -1
  73. package/dist/lib/supporting/DuviriChoice.mjs +2 -15
  74. package/dist/lib/supporting/ExternalMission.mjs +16 -99
  75. package/dist/lib/supporting/index.d.mts +1 -1
  76. package/dist/main.d.mts +1 -1
  77. package/dist/main.mjs +1 -0
  78. package/package.json +1 -2
@@ -445,11 +445,11 @@ declare class ConclaveChallenge extends WorldStateObject {
445
445
  */
446
446
  standing?: number;
447
447
  /**
448
- * Whether or not this is a daily conclave challenge.
448
+ * Whether this is a daily conclave challenge.
449
449
  */
450
450
  daily: boolean;
451
451
  /**
452
- * Whether or not this is the root challenge
452
+ * Whether this is the root challenge
453
453
  */
454
454
  rootChallenge: boolean;
455
455
  /**
@@ -1042,7 +1042,7 @@ declare class SentientOutpost {
1042
1042
  */
1043
1043
  mission?: OutpostMission;
1044
1044
  /**
1045
- * Whether or not the object was active during creation
1045
+ * Whether the object was active during creation
1046
1046
  */
1047
1047
  active: boolean;
1048
1048
  /**
@@ -1,5 +1,5 @@
1
1
  import { t as Dependency } from "../Dependency-CtryMjKU.mjs";
2
- import { B as DuviriCycle, C as Sortie, D as Simaris, E as LibraryInfo, F as RawGlobalUpgrade, G as RawDailyDeal, I as FlashSale, K as ConclaveChallenge, L as RawFlashSale, N as RawInvasion, P as GlobalUpgrade, R as Fissure, S as RawSortie, U as RawDarkSector, V as DarkSector, W as DailyDeal, X as Archimedea, _ as RawSyndicateMission, a as WorldEvent, at as Alert, c as RawVoidTrader, i as RawWorldEvent, j as Invasion, k as SentientOutpost, l as VoidTrader, mt as RawChoice, o as RawWeeklyChallenge, ot as RawAlert, q as RawChallenge, rt as RawArchimedea, s as WeeklyChallenge, v as SyndicateMission, z as RawFissure } from "../index-BiofND5v.mjs";
2
+ import { B as DuviriCycle, C as Sortie, D as Simaris, E as LibraryInfo, F as RawGlobalUpgrade, G as RawDailyDeal, I as FlashSale, K as ConclaveChallenge, L as RawFlashSale, N as RawInvasion, P as GlobalUpgrade, R as Fissure, S as RawSortie, U as RawDarkSector, V as DarkSector, W as DailyDeal, X as Archimedea, _ as RawSyndicateMission, a as WorldEvent, at as Alert, c as RawVoidTrader, i as RawWorldEvent, j as Invasion, k as SentientOutpost, l as VoidTrader, mt as RawChoice, o as RawWeeklyChallenge, ot as RawAlert, q as RawChallenge, rt as RawArchimedea, s as WeeklyChallenge, v as SyndicateMission, z as RawFissure } from "../index-BBJQtZk1.mjs";
3
3
  import { t as ExternalMission } from "../ExternalMission-Be-eX0Pc.mjs";
4
4
  import { r as WorldStateObject, t as BaseContentObject } from "../WorldStateObject-BgeCocs9.mjs";
5
5
  import { r as RawCalender, t as Calendar } from "../Calendar-C99Wr_NC.mjs";
@@ -33,7 +33,6 @@ import { WorldEvent } from "./models/WorldEvent.mjs";
33
33
  import { ZarimanCycle } from "./models/ZarimanCycle.mjs";
34
34
  import "./models/index.mjs";
35
35
  import { createHash } from "node:crypto";
36
- import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
37
36
  import { Type } from "class-transformer";
38
37
  import { IsArray, IsDate, IsOptional, IsString, ValidateNested } from "class-validator";
39
38
  import wsData from "warframe-worldstate-data";
@@ -339,256 +338,147 @@ var WorldState = class WorldState {
339
338
  }
340
339
  };
341
340
  __decorate([
342
- ApiProperty({
343
- description: "Timestamp when the world state was generated",
344
- type: Date
345
- }),
346
341
  IsDate(),
347
342
  Type(() => Date),
348
343
  __decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
349
344
  ], WorldState.prototype, "timestamp", void 0);
345
+ __decorate([IsString(), __decorateMetadata("design:type", String)], WorldState.prototype, "buildLabel", void 0);
350
346
  __decorate([
351
- ApiProperty({ description: "Current game build version" }),
352
- IsString(),
353
- __decorateMetadata("design:type", String)
354
- ], WorldState.prototype, "buildLabel", void 0);
355
- __decorate([
356
- ApiProperty({
357
- description: "Current in-game news articles",
358
- type: [News]
359
- }),
360
347
  IsArray(),
361
348
  ValidateNested({ each: true }),
362
349
  Type(() => News),
363
350
  __decorateMetadata("design:type", Array)
364
351
  ], WorldState.prototype, "news", void 0);
365
352
  __decorate([
366
- ApiProperty({
367
- description: "Active world events",
368
- type: [WorldEvent]
369
- }),
370
353
  IsArray(),
371
354
  ValidateNested({ each: true }),
372
355
  Type(() => WorldEvent),
373
356
  __decorateMetadata("design:type", Array)
374
357
  ], WorldState.prototype, "events", void 0);
375
358
  __decorate([
376
- ApiProperty({
377
- description: "Active alerts",
378
- type: [Alert]
379
- }),
380
359
  IsArray(),
381
360
  ValidateNested({ each: true }),
382
361
  Type(() => Alert),
383
362
  __decorateMetadata("design:type", Array)
384
363
  ], WorldState.prototype, "alerts", void 0);
385
364
  __decorate([
386
- ApiProperty({
387
- description: "Current daily sortie",
388
- type: () => Sortie
389
- }),
390
365
  ValidateNested(),
391
366
  Type(() => Sortie),
392
367
  __decorateMetadata("design:type", typeof (_ref2 = typeof Sortie !== "undefined" && Sortie) === "function" ? _ref2 : Object)
393
368
  ], WorldState.prototype, "sortie", void 0);
394
369
  __decorate([
395
- ApiProperty({
396
- description: "Active syndicate missions",
397
- type: [SyndicateMission]
398
- }),
399
370
  IsArray(),
400
371
  ValidateNested({ each: true }),
401
372
  Type(() => SyndicateMission),
402
373
  __decorateMetadata("design:type", Array)
403
374
  ], WorldState.prototype, "syndicateMissions", void 0);
404
375
  __decorate([
405
- ApiProperty({
406
- description: "Active void fissures and void storms",
407
- type: [Fissure]
408
- }),
409
376
  IsArray(),
410
377
  ValidateNested({ each: true }),
411
378
  Type(() => Fissure),
412
379
  __decorateMetadata("design:type", Array)
413
380
  ], WorldState.prototype, "fissures", void 0);
414
381
  __decorate([
415
- ApiProperty({
416
- description: "Active global upgrades",
417
- type: [GlobalUpgrade]
418
- }),
419
382
  IsArray(),
420
383
  ValidateNested({ each: true }),
421
384
  Type(() => GlobalUpgrade),
422
385
  __decorateMetadata("design:type", Array)
423
386
  ], WorldState.prototype, "globalUpgrades", void 0);
424
387
  __decorate([
425
- ApiProperty({
426
- description: "Active flash sales",
427
- type: [FlashSale]
428
- }),
429
388
  IsArray(),
430
389
  ValidateNested({ each: true }),
431
390
  Type(() => FlashSale),
432
391
  __decorateMetadata("design:type", Array)
433
392
  ], WorldState.prototype, "flashSales", void 0);
434
393
  __decorate([
435
- ApiProperty({
436
- description: "Active invasions",
437
- type: [Invasion]
438
- }),
439
394
  IsArray(),
440
395
  ValidateNested({ each: true }),
441
396
  Type(() => Invasion),
442
397
  __decorateMetadata("design:type", Array)
443
398
  ], WorldState.prototype, "invasions", void 0);
444
399
  __decorate([
445
- ApiProperty({
446
- description: "Dark sector conflicts",
447
- type: [DarkSector]
448
- }),
449
400
  IsArray(),
450
401
  ValidateNested({ each: true }),
451
402
  Type(() => DarkSector),
452
403
  __decorateMetadata("design:type", Array)
453
404
  ], WorldState.prototype, "darkSectors", void 0);
454
405
  __decorate([
455
- ApiProperty({
456
- description: "All void traders",
457
- type: [VoidTrader]
458
- }),
459
406
  IsArray(),
460
407
  ValidateNested({ each: true }),
461
408
  Type(() => VoidTrader),
462
409
  __decorateMetadata("design:type", Array)
463
410
  ], WorldState.prototype, "voidTraders", void 0);
464
411
  __decorate([
465
- ApiProperty({
466
- description: "Primary void trader (deprecated, use voidTraders)",
467
- type: () => VoidTrader,
468
- deprecated: true
469
- }),
470
412
  ValidateNested(),
471
413
  Type(() => VoidTrader),
472
414
  __decorateMetadata("design:type", typeof (_ref3 = typeof VoidTrader !== "undefined" && VoidTrader) === "function" ? _ref3 : Object)
473
415
  ], WorldState.prototype, "voidTrader", void 0);
474
416
  __decorate([
475
- ApiProperty({
476
- description: "Active daily deals",
477
- type: [DailyDeal]
478
- }),
479
417
  IsArray(),
480
418
  ValidateNested({ each: true }),
481
419
  Type(() => DailyDeal),
482
420
  __decorateMetadata("design:type", Array)
483
421
  ], WorldState.prototype, "dailyDeals", void 0);
484
422
  __decorate([
485
- ApiProperty({
486
- description: "Sanctuary synthesis targets",
487
- type: () => Simaris
488
- }),
489
423
  ValidateNested(),
490
424
  Type(() => Simaris),
491
425
  __decorateMetadata("design:type", typeof (_ref4 = typeof Simaris !== "undefined" && Simaris) === "function" ? _ref4 : Object)
492
426
  ], WorldState.prototype, "simaris", void 0);
493
427
  __decorate([
494
- ApiProperty({
495
- description: "Active conclave challenges",
496
- type: [ConclaveChallenge]
497
- }),
498
428
  IsArray(),
499
429
  ValidateNested({ each: true }),
500
430
  Type(() => ConclaveChallenge),
501
431
  __decorateMetadata("design:type", Array)
502
432
  ], WorldState.prototype, "conclaveChallenges", void 0);
503
433
  __decorate([
504
- ApiProperty({
505
- description: "Active persistent enemies (liches, sisters)",
506
- type: [PersistentEnemy]
507
- }),
508
434
  IsArray(),
509
435
  ValidateNested({ each: true }),
510
436
  Type(() => PersistentEnemy),
511
437
  __decorateMetadata("design:type", Array)
512
438
  ], WorldState.prototype, "persistentEnemies", void 0);
513
439
  __decorate([
514
- ApiProperty({
515
- description: "Earth day/night cycle",
516
- type: () => EarthCycle
517
- }),
518
440
  ValidateNested(),
519
441
  Type(() => EarthCycle),
520
442
  __decorateMetadata("design:type", typeof (_ref5 = typeof EarthCycle !== "undefined" && EarthCycle) === "function" ? _ref5 : Object)
521
443
  ], WorldState.prototype, "earthCycle", void 0);
522
444
  __decorate([
523
- ApiProperty({
524
- description: "Cetus (Plains of Eidolon) day/night cycle",
525
- type: () => CetusCycle
526
- }),
527
445
  ValidateNested(),
528
446
  Type(() => CetusCycle),
529
447
  __decorateMetadata("design:type", typeof (_ref6 = typeof CetusCycle !== "undefined" && CetusCycle) === "function" ? _ref6 : Object)
530
448
  ], WorldState.prototype, "cetusCycle", void 0);
531
449
  __decorate([
532
- ApiProperty({
533
- description: "Cambion Drift cycle",
534
- type: () => CambionCycle
535
- }),
536
450
  ValidateNested(),
537
451
  Type(() => CambionCycle),
538
452
  __decorateMetadata("design:type", typeof (_ref7 = typeof CambionCycle !== "undefined" && CambionCycle) === "function" ? _ref7 : Object)
539
453
  ], WorldState.prototype, "cambionCycle", void 0);
540
454
  __decorate([
541
- ApiProperty({
542
- description: "Zariman cycle",
543
- type: () => ZarimanCycle
544
- }),
545
455
  ValidateNested(),
546
456
  Type(() => ZarimanCycle),
547
457
  __decorateMetadata("design:type", typeof (_ref8 = typeof ZarimanCycle !== "undefined" && ZarimanCycle) === "function" ? _ref8 : Object)
548
458
  ], WorldState.prototype, "zarimanCycle", void 0);
549
459
  __decorate([
550
- ApiPropertyOptional({
551
- description: "Weekly challenges",
552
- type: () => WeeklyChallenge
553
- }),
554
460
  IsOptional(),
555
461
  ValidateNested(),
556
462
  Type(() => WeeklyChallenge),
557
463
  __decorateMetadata("design:type", typeof (_ref9 = typeof WeeklyChallenge !== "undefined" && WeeklyChallenge) === "function" ? _ref9 : Object)
558
464
  ], WorldState.prototype, "weeklyChallenges", void 0);
559
465
  __decorate([
560
- ApiProperty({
561
- description: "Construction progress for Fomorian/Razorback",
562
- type: () => ConstructionProgress
563
- }),
564
466
  ValidateNested(),
565
467
  Type(() => ConstructionProgress),
566
468
  __decorateMetadata("design:type", typeof (_ref10 = typeof ConstructionProgress !== "undefined" && ConstructionProgress) === "function" ? _ref10 : Object)
567
469
  ], WorldState.prototype, "constructionProgress", void 0);
568
470
  __decorate([
569
- ApiProperty({
570
- description: "Orb Vallis temperature cycle",
571
- type: () => VallisCycle
572
- }),
573
471
  ValidateNested(),
574
472
  Type(() => VallisCycle),
575
473
  __decorateMetadata("design:type", typeof (_ref11 = typeof VallisCycle !== "undefined" && VallisCycle) === "function" ? _ref11 : Object)
576
474
  ], WorldState.prototype, "vallisCycle", void 0);
577
475
  __decorate([
578
- ApiPropertyOptional({
579
- description: "Current Nightwave season",
580
- type: () => Nightwave
581
- }),
582
476
  IsOptional(),
583
477
  ValidateNested(),
584
478
  Type(() => Nightwave),
585
479
  __decorateMetadata("design:type", typeof (_ref12 = typeof Nightwave !== "undefined" && Nightwave) === "function" ? _ref12 : Object)
586
480
  ], WorldState.prototype, "nightwave", void 0);
587
481
  __decorate([
588
- ApiPropertyOptional({
589
- description: "Kuva siphon/flood missions",
590
- type: [ExternalMission]
591
- }),
592
482
  IsOptional(),
593
483
  IsArray(),
594
484
  ValidateNested({ each: true }),
@@ -596,68 +486,38 @@ __decorate([
596
486
  __decorateMetadata("design:type", Array)
597
487
  ], WorldState.prototype, "kuva", void 0);
598
488
  __decorate([
599
- ApiPropertyOptional({
600
- description: "Current arbitration mission",
601
- type: ExternalMission
602
- }),
603
489
  IsOptional(),
604
490
  ValidateNested(),
605
491
  Type(() => ExternalMission),
606
492
  __decorateMetadata("design:type", typeof (_ref13 = typeof ExternalMission !== "undefined" && ExternalMission) === "function" ? _ref13 : Object)
607
493
  ], WorldState.prototype, "arbitration", void 0);
608
- __decorate([ApiProperty({ description: "Sentient anomaly outposts" }), __decorateMetadata("design:type", Object)], WorldState.prototype, "sentientOutposts", void 0);
609
494
  __decorate([
610
- ApiProperty({
611
- description: "Steel Path offerings",
612
- type: () => SteelPathOfferings
613
- }),
614
495
  ValidateNested(),
615
496
  Type(() => SteelPathOfferings),
616
497
  __decorateMetadata("design:type", typeof (_ref14 = typeof SteelPathOfferings !== "undefined" && SteelPathOfferings) === "function" ? _ref14 : Object)
617
498
  ], WorldState.prototype, "steelPath", void 0);
618
499
  __decorate([
619
- ApiProperty({
620
- description: "Prime resurgence (Varzia)",
621
- type: () => VoidTrader
622
- }),
623
500
  ValidateNested(),
624
501
  Type(() => VoidTrader),
625
502
  __decorateMetadata("design:type", typeof (_ref15 = typeof VoidTrader !== "undefined" && VoidTrader) === "function" ? _ref15 : Object)
626
503
  ], WorldState.prototype, "vaultTrader", void 0);
627
504
  __decorate([
628
- ApiProperty({
629
- description: "Weekly archon hunt",
630
- type: () => Sortie
631
- }),
632
505
  ValidateNested(),
633
506
  Type(() => Sortie),
634
507
  __decorateMetadata("design:type", typeof (_ref16 = typeof Sortie !== "undefined" && Sortie) === "function" ? _ref16 : Object)
635
508
  ], WorldState.prototype, "archonHunt", void 0);
636
509
  __decorate([
637
- ApiProperty({
638
- description: "Duviri circuit rotation",
639
- type: () => DuviriCycle
640
- }),
641
510
  ValidateNested(),
642
511
  Type(() => DuviriCycle),
643
512
  __decorateMetadata("design:type", typeof (_ref17 = typeof DuviriCycle !== "undefined" && DuviriCycle) === "function" ? _ref17 : Object)
644
513
  ], WorldState.prototype, "duviriCycle", void 0);
645
- __decorate([ApiProperty({ description: "Kinepage message" }), __decorateMetadata("design:type", Object)], WorldState.prototype, "kinepage", void 0);
646
514
  __decorate([
647
- ApiProperty({
648
- description: "Archimedea missions",
649
- type: [Archimedea]
650
- }),
651
515
  IsArray(),
652
516
  ValidateNested({ each: true }),
653
517
  Type(() => Archimedea),
654
518
  __decorateMetadata("design:type", Array)
655
519
  ], WorldState.prototype, "archimedeas", void 0);
656
520
  __decorate([
657
- ApiProperty({
658
- description: "Calendar for 1999 content",
659
- type: () => Calendar
660
- }),
661
521
  ValidateNested(),
662
522
  Type(() => Calendar),
663
523
  __decorateMetadata("design:type", typeof (_ref18 = typeof Calendar !== "undefined" && Calendar) === "function" ? _ref18 : Object)
@@ -1,2 +1,2 @@
1
- import { at as Alert, ot as RawAlert } from "../../index-BiofND5v.mjs";
1
+ import { at as Alert, ot as RawAlert } from "../../index-BBJQtZk1.mjs";
2
2
  export { Alert, RawAlert };
@@ -1,7 +1,6 @@
1
1
  import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
2
2
  import { Mission } from "./Mission.mjs";
3
3
  import { WorldStateObject } from "./WorldStateObject.mjs";
4
- import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
5
4
  import { Type } from "class-transformer";
6
5
  import { IsArray, IsOptional, IsString, ValidateNested } from "class-validator";
7
6
  import { fromNow, timeDeltaToString } from "warframe-worldstate-data/utilities";
@@ -51,25 +50,16 @@ var Alert = class extends WorldStateObject {
51
50
  }
52
51
  };
53
52
  __decorate([
54
- ApiProperty({
55
- description: "The mission that players must complete for this alert",
56
- type: () => Mission
57
- }),
58
53
  ValidateNested(),
59
54
  Type(() => Mission),
60
55
  __decorateMetadata("design:type", typeof (_ref = typeof Mission !== "undefined" && Mission) === "function" ? _ref : Object)
61
56
  ], Alert.prototype, "mission", void 0);
62
57
  __decorate([
63
- ApiProperty({
64
- description: "Types of rewards available from this alert",
65
- type: [String]
66
- }),
67
58
  IsArray(),
68
59
  IsString({ each: true }),
69
60
  __decorateMetadata("design:type", Array)
70
61
  ], Alert.prototype, "rewardTypes", void 0);
71
62
  __decorate([
72
- ApiPropertyOptional({ description: "Special tag for the alert (e.g., LotusGift)" }),
73
63
  IsOptional(),
74
64
  IsString(),
75
65
  __decorateMetadata("design:type", String)
@@ -1,2 +1,2 @@
1
- import { $ as ArchimedeaMissionDifficultyRisk, Q as ArchimedeaMissionDifficulty, X as Archimedea, Z as ArchimedeaMission, et as DeepArchimedea, it as RawArchimedeaMission, nt as PersonalModifier, rt as RawArchimedea, tt as Difficulty } from "../../index-BiofND5v.mjs";
1
+ import { $ as ArchimedeaMissionDifficultyRisk, Q as ArchimedeaMissionDifficulty, X as Archimedea, Z as ArchimedeaMission, et as DeepArchimedea, it as RawArchimedeaMission, nt as PersonalModifier, rt as RawArchimedea, tt as Difficulty } from "../../index-BBJQtZk1.mjs";
2
2
  export { Archimedea, ArchimedeaMission, ArchimedeaMissionDifficulty, ArchimedeaMissionDifficultyRisk, DeepArchimedea, Difficulty, PersonalModifier, RawArchimedea, RawArchimedeaMission };
@@ -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 { createHash } from "node:crypto";
4
- import { ApiProperty } from "@nestjs/swagger";
5
4
  import { Type } from "class-transformer";
6
5
  import { IsArray, IsBoolean, IsString, ValidateNested } from "class-validator";
7
6
  import { faction, languageDesc, languageString, missionType } from "warframe-worldstate-data/utilities";
@@ -13,66 +12,26 @@ var ArchimedeaMissionDifficultyRisk = class {
13
12
  description;
14
13
  isHard;
15
14
  };
16
- __decorate([
17
- ApiProperty({ description: "Risk untranslated key" }),
18
- IsString(),
19
- __decorateMetadata("design:type", String)
20
- ], ArchimedeaMissionDifficultyRisk.prototype, "key", void 0);
21
- __decorate([
22
- ApiProperty({ description: "Risk name" }),
23
- IsString(),
24
- __decorateMetadata("design:type", String)
25
- ], ArchimedeaMissionDifficultyRisk.prototype, "name", void 0);
26
- __decorate([
27
- ApiProperty({ description: "Risk description" }),
28
- IsString(),
29
- __decorateMetadata("design:type", String)
30
- ], ArchimedeaMissionDifficultyRisk.prototype, "description", void 0);
31
- __decorate([
32
- ApiProperty({ description: "Whether this is a hard mode risk" }),
33
- IsBoolean(),
34
- __decorateMetadata("design:type", Boolean)
35
- ], ArchimedeaMissionDifficultyRisk.prototype, "isHard", void 0);
15
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMissionDifficultyRisk.prototype, "key", void 0);
16
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMissionDifficultyRisk.prototype, "name", void 0);
17
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMissionDifficultyRisk.prototype, "description", void 0);
18
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ArchimedeaMissionDifficultyRisk.prototype, "isHard", void 0);
36
19
  var ArchimedeaMissionDifficulty = class {
37
20
  key;
38
21
  name;
39
22
  description;
40
23
  };
41
- __decorate([
42
- ApiProperty({ description: "Deviation untranslated key" }),
43
- IsString(),
44
- __decorateMetadata("design:type", String)
45
- ], ArchimedeaMissionDifficulty.prototype, "key", void 0);
46
- __decorate([
47
- ApiProperty({ description: "Deviation name" }),
48
- IsString(),
49
- __decorateMetadata("design:type", String)
50
- ], ArchimedeaMissionDifficulty.prototype, "name", void 0);
51
- __decorate([
52
- ApiProperty({ description: "Deviation description" }),
53
- IsString(),
54
- __decorateMetadata("design:type", String)
55
- ], ArchimedeaMissionDifficulty.prototype, "description", void 0);
24
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMissionDifficulty.prototype, "key", void 0);
25
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMissionDifficulty.prototype, "name", void 0);
26
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMissionDifficulty.prototype, "description", void 0);
56
27
  var PersonalModifier = class {
57
28
  key;
58
29
  name;
59
30
  description;
60
31
  };
61
- __decorate([
62
- ApiProperty({ description: "Modifier untranslated key" }),
63
- IsString(),
64
- __decorateMetadata("design:type", String)
65
- ], PersonalModifier.prototype, "key", void 0);
66
- __decorate([
67
- ApiProperty({ description: "Modifier name" }),
68
- IsString(),
69
- __decorateMetadata("design:type", String)
70
- ], PersonalModifier.prototype, "name", void 0);
71
- __decorate([
72
- ApiProperty({ description: "Modifier description" }),
73
- IsString(),
74
- __decorateMetadata("design:type", String)
75
- ], PersonalModifier.prototype, "description", void 0);
32
+ __decorate([IsString(), __decorateMetadata("design:type", String)], PersonalModifier.prototype, "key", void 0);
33
+ __decorate([IsString(), __decorateMetadata("design:type", String)], PersonalModifier.prototype, "name", void 0);
34
+ __decorate([IsString(), __decorateMetadata("design:type", String)], PersonalModifier.prototype, "description", void 0);
76
35
  /**
77
36
  * An Archimedea mission with risk and deviations
78
37
  */
@@ -115,40 +74,16 @@ var ArchimedeaMission = class {
115
74
  }
116
75
  }
117
76
  };
77
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMission.prototype, "faction", void 0);
78
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMission.prototype, "factionKey", void 0);
79
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMission.prototype, "missionType", void 0);
80
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ArchimedeaMission.prototype, "missionTypeKey", void 0);
118
81
  __decorate([
119
- ApiProperty({ description: "Faction name" }),
120
- IsString(),
121
- __decorateMetadata("design:type", String)
122
- ], ArchimedeaMission.prototype, "faction", void 0);
123
- __decorate([
124
- ApiProperty({ description: "Faction untranslated key" }),
125
- IsString(),
126
- __decorateMetadata("design:type", String)
127
- ], ArchimedeaMission.prototype, "factionKey", void 0);
128
- __decorate([
129
- ApiProperty({ description: "Mission type name" }),
130
- IsString(),
131
- __decorateMetadata("design:type", String)
132
- ], ArchimedeaMission.prototype, "missionType", void 0);
133
- __decorate([
134
- ApiProperty({ description: "Mission type untranslated key" }),
135
- IsString(),
136
- __decorateMetadata("design:type", String)
137
- ], ArchimedeaMission.prototype, "missionTypeKey", void 0);
138
- __decorate([
139
- ApiProperty({
140
- description: "Deviation difficulty information",
141
- type: () => ArchimedeaMissionDifficulty
142
- }),
143
82
  ValidateNested(),
144
83
  Type(() => ArchimedeaMissionDifficulty),
145
84
  __decorateMetadata("design:type", typeof (_ref = typeof ArchimedeaMissionDifficulty !== "undefined" && ArchimedeaMissionDifficulty) === "function" ? _ref : Object)
146
85
  ], ArchimedeaMission.prototype, "deviation", void 0);
147
86
  __decorate([
148
- ApiProperty({
149
- description: "List of risks for this mission",
150
- type: [ArchimedeaMissionDifficultyRisk]
151
- }),
152
87
  IsArray(),
153
88
  ValidateNested({ each: true }),
154
89
  Type(() => ArchimedeaMissionDifficultyRisk),
@@ -194,36 +129,16 @@ var Archimedea = class extends WorldStateObject {
194
129
  });
195
130
  }
196
131
  };
132
+ __decorate([IsString(), __decorateMetadata("design:type", String)], Archimedea.prototype, "id", void 0);
133
+ __decorate([IsString(), __decorateMetadata("design:type", String)], Archimedea.prototype, "type", void 0);
134
+ __decorate([IsString(), __decorateMetadata("design:type", String)], Archimedea.prototype, "typeKey", void 0);
197
135
  __decorate([
198
- ApiProperty({ description: "MD5 generated ID" }),
199
- IsString(),
200
- __decorateMetadata("design:type", String)
201
- ], Archimedea.prototype, "id", void 0);
202
- __decorate([
203
- ApiProperty({ description: "Archimedea type" }),
204
- IsString(),
205
- __decorateMetadata("design:type", String)
206
- ], Archimedea.prototype, "type", void 0);
207
- __decorate([
208
- ApiProperty({ description: "Archimedea type untranslated" }),
209
- IsString(),
210
- __decorateMetadata("design:type", String)
211
- ], Archimedea.prototype, "typeKey", void 0);
212
- __decorate([
213
- ApiProperty({
214
- description: "Missions along with deviations and risks",
215
- type: [ArchimedeaMission]
216
- }),
217
136
  IsArray(),
218
137
  ValidateNested({ each: true }),
219
138
  Type(() => ArchimedeaMission),
220
139
  __decorateMetadata("design:type", Array)
221
140
  ], Archimedea.prototype, "missions", void 0);
222
141
  __decorate([
223
- ApiProperty({
224
- description: "Modifiers applied to the player",
225
- type: [PersonalModifier]
226
- }),
227
142
  IsArray(),
228
143
  ValidateNested({ each: true }),
229
144
  Type(() => PersonalModifier),
@@ -1,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 { IsString } from "class-validator";
5
4
  import { fromNow } from "warframe-worldstate-data/utilities";
6
5
  //#region lib/models/CambionCycle.ts
@@ -33,15 +32,7 @@ var CambionCycle = class extends WorldStateObject {
33
32
  return fromNow(this.expiry) < 0;
34
33
  }
35
34
  };
36
- __decorate([
37
- 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);
35
+ __decorate([IsString(), __decorateMetadata("design:type", String)], CambionCycle.prototype, "timeLeft", void 0);
36
+ __decorate([IsString(), __decorateMetadata("design:type", String)], CambionCycle.prototype, "state", void 0);
46
37
  //#endregion
47
38
  export { CambionCycle };
@@ -1,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/CetusCycle.ts
@@ -86,28 +85,9 @@ var CetusCycle = class extends WorldStateObject {
86
85
  };
87
86
  }
88
87
  };
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);
88
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], CetusCycle.prototype, "isDay", void 0);
89
+ __decorate([IsString(), __decorateMetadata("design:type", String)], CetusCycle.prototype, "state", void 0);
90
+ __decorate([IsString(), __decorateMetadata("design:type", String)], CetusCycle.prototype, "timeLeft", void 0);
91
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], CetusCycle.prototype, "isCetus", void 0);
112
92
  //#endregion
113
93
  export { CetusCycle };
@@ -1,2 +1,2 @@
1
- import { J as ChallengeInstance, Y as RawChallengeInstance } from "../../index-BiofND5v.mjs";
1
+ import { J as ChallengeInstance, Y as RawChallengeInstance } from "../../index-BBJQtZk1.mjs";
2
2
  export { ChallengeInstance, RawChallengeInstance };