warframe-worldstate-parser 5.2.17 → 5.2.18

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 (133) hide show
  1. package/dist/Calendar-C-rbmV_t.d.mts +78 -0
  2. package/dist/CambionCycle-BzR_MfPH.d.mts +22 -0
  3. package/dist/CetusCycle-DaqfF4J1.d.mts +49 -0
  4. package/dist/ConstructionProgress-BRxmro3-.d.mts +18 -0
  5. package/dist/DarkSectorBattle-DHRl5tG1.d.mts +53 -0
  6. package/dist/Dependency-Cd-TxBJy.d.mts +41 -0
  7. package/dist/EarthCycle-C_oB5gDc.d.mts +60 -0
  8. package/dist/ExternalMission-CT__oi7Q.d.mts +49 -0
  9. package/dist/FetchProxy-DHSI4JPP.d.mts +10 -0
  10. package/dist/ImgCdn-DIhZrwap.d.mts +6 -0
  11. package/dist/Kinepage-CKBuvbv5.d.mts +22 -0
  12. package/dist/KuvaLogEntry-f4ZBn2Xf.d.mts +21 -0
  13. package/dist/MidrathCycle-CxveqDtx.d.mts +25 -0
  14. package/dist/News-CJ3lD7_g.d.mts +101 -0
  15. package/dist/Nightwave-BLHH02ht.d.mts +59 -0
  16. package/dist/NightwaveChallenge-j_m4hVQU.d.mts +51 -0
  17. package/dist/PersistentEnemy-BJ4twtUY.d.mts +79 -0
  18. package/dist/RewardData-BdtdUFnh.d.mts +11 -0
  19. package/dist/RewardTypes-BnGaD7VF.d.mts +34 -0
  20. package/dist/SteelPathOffering-DYjZ29sT.d.mts +37 -0
  21. package/dist/VallisCycle-as7DM4a-.d.mts +30 -0
  22. package/dist/WorldStateObject-C2KjQZjd.d.mts +48 -0
  23. package/dist/ZarimanCycle-DyYiVfyG.d.mts +45 -0
  24. package/dist/index-C4EJ_Mpd.d.mts +1671 -0
  25. package/dist/lib/WorldState.d.mts +16 -35
  26. package/dist/lib/WorldState.mjs +1 -3
  27. package/dist/lib/models/Alert.d.mts +1 -45
  28. package/dist/lib/models/Alert.mjs +1 -3
  29. package/dist/lib/models/Archimedea.d.mts +1 -86
  30. package/dist/lib/models/Archimedea.mjs +1 -3
  31. package/dist/lib/models/Calendar.d.mts +1 -77
  32. package/dist/lib/models/Calendar.mjs +1 -3
  33. package/dist/lib/models/CambionCycle.d.mts +1 -21
  34. package/dist/lib/models/CambionCycle.mjs +1 -3
  35. package/dist/lib/models/CetusCycle.d.mts +1 -48
  36. package/dist/lib/models/CetusCycle.mjs +1 -3
  37. package/dist/lib/models/ChallengeInstance.d.mts +1 -53
  38. package/dist/lib/models/ChallengeInstance.mjs +1 -3
  39. package/dist/lib/models/ConclaveChallenge.d.mts +1 -76
  40. package/dist/lib/models/ConclaveChallenge.mjs +1 -3
  41. package/dist/lib/models/ConstructionProgress.d.mts +1 -17
  42. package/dist/lib/models/ConstructionProgress.mjs +1 -3
  43. package/dist/lib/models/DailyDeal.d.mts +1 -66
  44. package/dist/lib/models/DailyDeal.mjs +1 -3
  45. package/dist/lib/models/DarkSector.d.mts +1 -142
  46. package/dist/lib/models/DarkSector.mjs +1 -3
  47. package/dist/lib/models/DarkSectorBattle.d.mts +1 -52
  48. package/dist/lib/models/DarkSectorBattle.mjs +1 -3
  49. package/dist/lib/models/DuviriCycle.d.mts +1 -23
  50. package/dist/lib/models/DuviriCycle.mjs +1 -3
  51. package/dist/lib/models/EarthCycle.d.mts +1 -59
  52. package/dist/lib/models/EarthCycle.mjs +1 -3
  53. package/dist/lib/models/Fissure.d.mts +1 -78
  54. package/dist/lib/models/Fissure.mjs +1 -3
  55. package/dist/lib/models/FlashSale.d.mts +1 -71
  56. package/dist/lib/models/FlashSale.mjs +1 -3
  57. package/dist/lib/models/GlobalUpgrade.d.mts +1 -55
  58. package/dist/lib/models/GlobalUpgrade.mjs +1 -3
  59. package/dist/lib/models/Invasion.d.mts +1 -113
  60. package/dist/lib/models/Invasion.mjs +1 -3
  61. package/dist/lib/models/Kinepage.d.mts +1 -21
  62. package/dist/lib/models/Kinepage.mjs +1 -2
  63. package/dist/lib/models/Kuva.d.mts +1 -20
  64. package/dist/lib/models/Kuva.mjs +1 -3
  65. package/dist/lib/models/MidrathCycle.d.mts +1 -24
  66. package/dist/lib/models/MidrathCycle.mjs +1 -3
  67. package/dist/lib/models/Mission.d.mts +1 -138
  68. package/dist/lib/models/Mission.mjs +1 -3
  69. package/dist/lib/models/News.d.mts +1 -100
  70. package/dist/lib/models/News.mjs +1 -3
  71. package/dist/lib/models/Nightwave.d.mts +1 -58
  72. package/dist/lib/models/Nightwave.mjs +1 -3
  73. package/dist/lib/models/NightwaveChallenge.d.mts +1 -50
  74. package/dist/lib/models/NightwaveChallenge.mjs +1 -3
  75. package/dist/lib/models/PersistentEnemy.d.mts +1 -78
  76. package/dist/lib/models/PersistentEnemy.mjs +1 -3
  77. package/dist/lib/models/Reward.d.mts +1 -67
  78. package/dist/lib/models/Reward.mjs +1 -3
  79. package/dist/lib/models/SentientOutpost.d.mts +1 -46
  80. package/dist/lib/models/SentientOutpost.mjs +1 -3
  81. package/dist/lib/models/Simaris.d.mts +1 -36
  82. package/dist/lib/models/Simaris.mjs +1 -3
  83. package/dist/lib/models/Sortie.d.mts +1 -60
  84. package/dist/lib/models/Sortie.mjs +1 -3
  85. package/dist/lib/models/SortieVariant.d.mts +1 -49
  86. package/dist/lib/models/SortieVariant.mjs +1 -3
  87. package/dist/lib/models/SteelPathOffering.d.mts +1 -36
  88. package/dist/lib/models/SteelPathOffering.mjs +1 -3
  89. package/dist/lib/models/SyndicateJob.d.mts +1 -92
  90. package/dist/lib/models/SyndicateJob.mjs +1 -3
  91. package/dist/lib/models/SyndicateMission.d.mts +1 -58
  92. package/dist/lib/models/SyndicateMission.mjs +1 -3
  93. package/dist/lib/models/Tmp.d.mts +1 -34
  94. package/dist/lib/models/Tmp.mjs +1 -3
  95. package/dist/lib/models/VallisCycle.d.mts +1 -29
  96. package/dist/lib/models/VallisCycle.mjs +1 -3
  97. package/dist/lib/models/VoidTrader.d.mts +1 -76
  98. package/dist/lib/models/VoidTrader.mjs +1 -3
  99. package/dist/lib/models/VoidTraderItem.d.mts +1 -43
  100. package/dist/lib/models/VoidTraderItem.mjs +1 -3
  101. package/dist/lib/models/VoidTraderSchedule.d.mts +1 -16
  102. package/dist/lib/models/VoidTraderSchedule.mjs +1 -3
  103. package/dist/lib/models/WeeklyChallenge.d.mts +1 -19
  104. package/dist/lib/models/WeeklyChallenge.mjs +1 -3
  105. package/dist/lib/models/WorldEvent.d.mts +1 -204
  106. package/dist/lib/models/WorldEvent.mjs +1 -3
  107. package/dist/lib/models/WorldStateObject.d.mts +1 -47
  108. package/dist/lib/models/WorldStateObject.mjs +1 -3
  109. package/dist/lib/models/ZarimanCycle.d.mts +1 -44
  110. package/dist/lib/models/ZarimanCycle.mjs +1 -3
  111. package/dist/lib/models/index.d.mts +17 -42
  112. package/dist/lib/models/index.mjs +1 -2
  113. package/dist/lib/supporting/Dependency.d.mts +1 -40
  114. package/dist/lib/supporting/Dependency.mjs +1 -1
  115. package/dist/lib/supporting/DuviriChoice.d.mts +1 -18
  116. package/dist/lib/supporting/DuviriChoice.mjs +1 -2
  117. package/dist/lib/supporting/ExternalMission.d.mts +1 -48
  118. package/dist/lib/supporting/ExternalMission.mjs +1 -1
  119. package/dist/lib/supporting/FetchProxy.d.mts +1 -9
  120. package/dist/lib/supporting/FetchProxy.mjs +1 -2
  121. package/dist/lib/supporting/ImgCdn.d.mts +1 -5
  122. package/dist/lib/supporting/ImgCdn.mjs +1 -2
  123. package/dist/lib/supporting/KuvaLogEntry.d.mts +1 -20
  124. package/dist/lib/supporting/KuvaLogEntry.mjs +1 -1
  125. package/dist/lib/supporting/RewardData.d.mts +1 -10
  126. package/dist/lib/supporting/RewardData.mjs +1 -2
  127. package/dist/lib/supporting/RewardTypes.d.mts +1 -33
  128. package/dist/lib/supporting/RewardTypes.mjs +1 -3
  129. package/dist/lib/supporting/index.d.mts +8 -8
  130. package/dist/lib/supporting/index.mjs +1 -2
  131. package/dist/main.d.mts +24 -52
  132. package/dist/main.mjs +1 -3
  133. package/package.json +1 -1
@@ -1,35 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
- import { Kinepage } from "./Kinepage.mjs";
4
- import { SentientOutpost } from "./SentientOutpost.mjs";
5
-
6
- //#region lib/models/Tmp.d.ts
7
- interface InitialTmp {
8
- sfn: number;
9
- pgr: {
10
- [k: string]: string | number;
11
- };
12
- fbst?: {
13
- a: number;
14
- e: number;
15
- n: number;
16
- };
17
- QTCCFloofCount?: number;
18
- QTCCFloofLimit?: number;
19
- }
20
- declare class Tmp {
21
- sentientOutposts: SentientOutpost;
22
- kinepage: Kinepage;
23
- faceoffBonus?: {
24
- activation: Date;
25
- expiry: Date;
26
- next: Date;
27
- };
28
- questToConquerCancer?: {
29
- count: number;
30
- goal: number;
31
- };
32
- constructor(json: string, deps?: Dependency);
33
- }
34
- //#endregion
1
+ import { m as Tmp, p as InitialTmp } from "../../index-C4EJ_Mpd.mjs";
35
2
  export { InitialTmp, Tmp };
@@ -1,6 +1,5 @@
1
1
  import { Kinepage } from "./Kinepage.mjs";
2
2
  import { SentientOutpost } from "./SentientOutpost.mjs";
3
-
4
3
  //#region lib/models/Tmp.ts
5
4
  var Tmp = class {
6
5
  sentientOutposts;
@@ -25,6 +24,5 @@ var Tmp = class {
25
24
  };
26
25
  }
27
26
  };
28
-
29
27
  //#endregion
30
- export { Tmp };
28
+ export { Tmp };
@@ -1,30 +1,2 @@
1
- import { WorldStateObject } from "./WorldStateObject.mjs";
2
-
3
- //#region lib/models/VallisCycle.d.ts
4
- /**
5
- * Represents the current Earth Day/Night Cycle
6
- * @augments {WorldStateObject}
7
- */
8
- declare class VallisCycle extends WorldStateObject {
9
- #private;
10
- /**
11
- * Whether or not this it's daytime
12
- */
13
- isWarm: boolean;
14
- /**
15
- * Current cycle state. One of `warm`, `cold`
16
- */
17
- state: string;
18
- constructor();
19
- /**
20
- * Whether this event has expired
21
- */
22
- get expired(): boolean;
23
- /**
24
- * Time remaining string
25
- */
26
- get timeLeft(): string;
27
- get shortString(): string;
28
- }
29
- //#endregion
1
+ import { t as VallisCycle } from "../../VallisCycle-as7DM4a-.mjs";
30
2
  export { VallisCycle };
@@ -1,6 +1,5 @@
1
1
  import { WorldStateObject } from "./WorldStateObject.mjs";
2
2
  import { fromNow, timeDeltaToString } from "warframe-worldstate-data/utilities";
3
-
4
3
  //#region lib/models/VallisCycle.ts
5
4
  const lStart = /* @__PURE__ */ new Date("2026-02-04T19:46:48Z");
6
5
  const loopTime = 16e5;
@@ -69,6 +68,5 @@ var VallisCycle = class extends WorldStateObject {
69
68
  return `${this.timeLeft.replace(/\s\d*s/gi, "")} to ${this.isWarm ? "Cold" : "Warm"}`;
70
69
  }
71
70
  };
72
-
73
71
  //#endregion
74
- export { VallisCycle };
72
+ export { VallisCycle };
@@ -1,77 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
- import { BaseContentObject, WorldStateObject } from "./WorldStateObject.mjs";
4
- import { RawVoidTraderItem, VoidTraderItem } from "./VoidTraderItem.mjs";
5
- import { VoidTraderSchedule } from "./VoidTraderSchedule.mjs";
6
- import { ContentTimestamp } from "warframe-worldstate-data/utilities";
7
-
8
- //#region lib/models/VoidTrader.d.ts
9
- interface RawVoidTrader extends BaseContentObject {
10
- Character?: string;
11
- Node: string;
12
- Manifest: RawVoidTraderItem[];
13
- InitialStartDate: ContentTimestamp;
14
- Completed: boolean;
15
- ScheduleInfo: {
16
- Expiry: ContentTimestamp;
17
- FeaturedItem: string;
18
- }[];
19
- }
20
- /**
21
- * Represents a void trader
22
- * @augments {WorldStateObject}
23
- */
24
- declare class VoidTrader extends WorldStateObject {
25
- /**
26
- * The void trader's name
27
- */
28
- character: string;
29
- /**
30
- * The node at which the Void Trader appears
31
- */
32
- location: string;
33
- /**
34
- * The trader's inventory
35
- */
36
- inventory: VoidTraderItem[];
37
- /**
38
- * Pseudo Identifier for identifying changes in inventory
39
- */
40
- psId: string;
41
- /**
42
- * The initial start date
43
- */
44
- initialStart: Date;
45
- /**
46
- * Whether it's completed or not
47
- */
48
- completed: boolean;
49
- /**
50
- * Possible schedule
51
- */
52
- schedule: VoidTraderSchedule[];
53
- /**
54
- * @param data The trader data
55
- * @param deps The dependencies object
56
- * @param deps.locale Locale to use for translations
57
- * @param deps.character The trader name
58
- */
59
- constructor(data: RawVoidTrader, {
60
- locale,
61
- character
62
- }?: Dependency);
63
- /**
64
- * Whether the trader is active
65
- */
66
- get active(): boolean;
67
- /**
68
- * Time delta string from now to the start
69
- */
70
- get startString(): string;
71
- /**
72
- * Time delta string from now to the end
73
- */
74
- get endString(): string;
75
- }
76
- //#endregion
1
+ import { c as RawVoidTrader, l as VoidTrader } from "../../index-C4EJ_Mpd.mjs";
77
2
  export { RawVoidTrader, VoidTrader };
@@ -2,7 +2,6 @@ import { WorldStateObject } from "./WorldStateObject.mjs";
2
2
  import { VoidTraderItem } from "./VoidTraderItem.mjs";
3
3
  import { VoidTraderSchedule } from "./VoidTraderSchedule.mjs";
4
4
  import { fromNow, insist, node, parseDate, timeDeltaToString } from "warframe-worldstate-data/utilities";
5
-
6
5
  //#region lib/models/VoidTrader.ts
7
6
  /**
8
7
  * Represents a void trader
@@ -73,6 +72,5 @@ var VoidTrader = class extends WorldStateObject {
73
72
  return timeDeltaToString(fromNow(this.expiry));
74
73
  }
75
74
  };
76
-
77
75
  //#endregion
78
- export { VoidTrader };
76
+ export { VoidTrader };
@@ -1,44 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
-
4
- //#region lib/models/VoidTraderItem.d.ts
5
- interface RawVoidTraderItem {
6
- ItemType: string;
7
- PrimePrice?: number;
8
- RegularPrice?: number;
9
- }
10
- /**
11
- * A void trader inventory item
12
- */
13
- declare class VoidTraderItem {
14
- uniqueName: string;
15
- /**
16
- * The name of the inventory item
17
- */
18
- item: string;
19
- /**
20
- * Ducat cost of the item
21
- */
22
- ducats: number;
23
- /**
24
- * Credit cost of the item
25
- */
26
- credits: number;
27
- /**
28
- * @param data The void trader item data
29
- * @param data.ItemType Worldstate Item i18n path
30
- * @param data.PrimePrice Ducat cost of the item
31
- * @param data.RegularPrice Credit price of the item
32
- * @param deps The dependencies object
33
- * @param deps.locale Locale to use for translations
34
- */
35
- constructor({
36
- ItemType,
37
- PrimePrice,
38
- RegularPrice
39
- }: RawVoidTraderItem, {
40
- locale
41
- }?: Dependency);
42
- }
43
- //#endregion
1
+ import { d as RawVoidTraderItem, f as VoidTraderItem } from "../../index-C4EJ_Mpd.mjs";
44
2
  export { RawVoidTraderItem, VoidTraderItem };
@@ -1,5 +1,4 @@
1
1
  import { languageString } from "warframe-worldstate-data/utilities";
2
-
3
2
  //#region lib/models/VoidTraderItem.ts
4
3
  /**
5
4
  * A void trader inventory item
@@ -33,6 +32,5 @@ var VoidTraderItem = class {
33
32
  this.credits = Number.parseInt(String(RegularPrice), 10);
34
33
  }
35
34
  };
36
-
37
35
  //#endregion
38
- export { VoidTraderItem };
36
+ export { VoidTraderItem };
@@ -1,17 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
- import { ContentTimestamp } from "warframe-worldstate-data/utilities";
4
-
5
- //#region lib/models/VoidTraderSchedule.d.ts
6
- declare class VoidTraderSchedule {
7
- expiry: Date;
8
- item: string;
9
- constructor(data: {
10
- Expiry: ContentTimestamp;
11
- FeaturedItem: string;
12
- }, {
13
- locale
14
- }?: Dependency);
15
- }
16
- //#endregion
1
+ import { u as VoidTraderSchedule } from "../../index-C4EJ_Mpd.mjs";
17
2
  export { VoidTraderSchedule };
@@ -1,5 +1,4 @@
1
1
  import { languageString, parseDate } from "warframe-worldstate-data/utilities";
2
-
3
2
  //#region lib/models/VoidTraderSchedule.ts
4
3
  var VoidTraderSchedule = class {
5
4
  expiry;
@@ -9,6 +8,5 @@ var VoidTraderSchedule = class {
9
8
  this.item = languageString(data.FeaturedItem, locale);
10
9
  }
11
10
  };
12
-
13
11
  //#endregion
14
- export { VoidTraderSchedule };
12
+ export { VoidTraderSchedule };
@@ -1,20 +1,2 @@
1
- import { BaseContentObject, WorldStateObject } from "./WorldStateObject.mjs";
2
- import { ChallengeInstance, RawChallengeInstance } from "./ChallengeInstance.mjs";
3
-
4
- //#region lib/models/WeeklyChallenge.d.ts
5
- interface RawWeeklyChallenge extends BaseContentObject {
6
- Challenges: RawChallengeInstance[];
7
- }
8
- /**
9
- * Represents a void trader
10
- * @augments {WorldStateObject}
11
- */
12
- declare class WeeklyChallenge extends WorldStateObject {
13
- challenges: ChallengeInstance[];
14
- /**
15
- * @param data The Void trader data
16
- */
17
- constructor(data: RawWeeklyChallenge);
18
- }
19
- //#endregion
1
+ import { o as RawWeeklyChallenge, s as WeeklyChallenge } from "../../index-C4EJ_Mpd.mjs";
20
2
  export { RawWeeklyChallenge, WeeklyChallenge };
@@ -1,6 +1,5 @@
1
1
  import { WorldStateObject } from "./WorldStateObject.mjs";
2
2
  import { ChallengeInstance } from "./ChallengeInstance.mjs";
3
-
4
3
  //#region lib/models/WeeklyChallenge.ts
5
4
  /**
6
5
  * Represents a void trader
@@ -16,6 +15,5 @@ var WeeklyChallenge = class extends WorldStateObject {
16
15
  this.challenges = data.Challenges.map((challengeData) => new ChallengeInstance(challengeData));
17
16
  }
18
17
  };
19
-
20
18
  //#endregion
21
- export { WeeklyChallenge };
19
+ export { WeeklyChallenge };
@@ -1,205 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
- import { RawReward, Reward } from "./Reward.mjs";
4
- import { BaseContentObject, Identifier, WorldStateObject } from "./WorldStateObject.mjs";
5
- import { RawSyndicateJob, SyndicateJob } from "./SyndicateJob.mjs";
6
- import { ContentTimestamp } from "warframe-worldstate-data/utilities";
7
-
8
- //#region lib/models/WorldEvent.d.ts
9
- /**
10
- * Interim step for an event reward system.
11
- */
12
- interface InterimStep {
13
- goal: number;
14
- reward: Reward | undefined;
15
- winnerCount: number;
16
- message: object;
17
- }
18
- /**
19
- * Progress for one of multiple stages
20
- */
21
- interface ProgressStep {
22
- type: string;
23
- progressAmt: number;
24
- }
25
- interface InterimRewardMessage {
26
- sender: string;
27
- subject: string;
28
- message: string;
29
- senderIcon: string;
30
- attachments: string;
31
- }
32
- interface RawWorldEvent extends BaseContentObject {
33
- Goal: number;
34
- Count?: number;
35
- GoalInterim?: string;
36
- GoalInterim2?: string;
37
- Faction?: string;
38
- Desc: string;
39
- ToolTip?: string;
40
- Node?: string;
41
- ConcurrentNodes?: string[] | undefined;
42
- VictimNode?: string;
43
- Fomorian?: string;
44
- ScoreLocTag?: string;
45
- HealthPct?: number;
46
- JobPreviousVersion?: Identifier;
47
- Reward?: RawReward;
48
- InterimRewards?: RawReward[];
49
- InterimRewardMessages?: InterimRewardMessage[];
50
- InterimGoals: number[];
51
- _interimWinnerCounts?: number[];
52
- IsMultiProgress?: boolean;
53
- Types?: string[];
54
- MultiProgress?: string[];
55
- ShowTotalAtEOM?: boolean;
56
- Personal: boolean;
57
- Community?: boolean;
58
- RegionDrops?: string[];
59
- ArchwingDrops?: string[];
60
- Metadata?: string;
61
- CompletionBonus?: number[];
62
- ScoreVar: string;
63
- AltExpiry?: ContentTimestamp;
64
- AltActivation?: ContentTimestamp;
65
- NextAltExpiry?: ContentTimestamp;
66
- NextAltActivation?: ContentTimestamp;
67
- JobAffiliationTag?: string;
68
- Tag: string;
69
- Jobs?: RawSyndicateJob[];
70
- PreviousJobs?: RawSyndicateJob[];
71
- }
72
- /**
73
- * Represents an in-game special event
74
- * @augments {WorldStateObject}
75
- */
76
- declare class WorldEvent extends WorldStateObject {
77
- jobs: SyndicateJob[];
78
- previousJobs: SyndicateJob[];
79
- /**
80
- * The event's main score goal
81
- */
82
- maximumScore: number;
83
- /**
84
- * The current score on the event
85
- */
86
- currentScore: number;
87
- /**
88
- * The first intermediate score goal
89
- */
90
- smallInterval: number;
91
- /**
92
- * The second intermediate score goal
93
- */
94
- largeInterval: number;
95
- /**
96
- * The faction that the players must fight in the event
97
- */
98
- faction: string | undefined;
99
- /**
100
- * The description of the event
101
- */
102
- description: string;
103
- /**
104
- * Tooltip for the event
105
- */
106
- tooltip: string | undefined;
107
- /**
108
- * The node where the event takes place
109
- */
110
- node: string | undefined;
111
- /**
112
- * The other nodes where the event takes place
113
- */
114
- concurrentNodes: string[];
115
- /**
116
- * The victim node
117
- */
118
- victimNode: string | undefined;
119
- /**
120
- * The score description
121
- */
122
- scoreLocTag: string | undefined;
123
- /**
124
- * The event's rewards
125
- */
126
- rewards: Reward[];
127
- /**
128
- * Health remaining for the target
129
- */
130
- health: number | undefined;
131
- /**
132
- * Previous job id
133
- */
134
- previousId: string | undefined;
135
- /**
136
- * Array of steps
137
- */
138
- interimSteps: InterimStep[];
139
- /**
140
- * Progress Steps, if any are present
141
- */
142
- progressSteps: ProgressStep[];
143
- /**
144
- * Total of all MultiProgress
145
- */
146
- progressTotal?: number;
147
- /**
148
- * Whether to show the total score at the end of the mission
149
- */
150
- showTotalAtEndOfMission: boolean;
151
- /**
152
- * Whether the event is personal
153
- */
154
- isPersonal: boolean;
155
- /**
156
- * Whether the event is community
157
- */
158
- isCommunity: boolean;
159
- regionDrops: string[];
160
- /**
161
- * Archwing Drops in effect while this event is active
162
- */
163
- archwingDrops: string[];
164
- /**
165
- * Metadata provided by DE
166
- */
167
- metadata: object;
168
- /**
169
- * Bonuses given for completion
170
- */
171
- completionBonuses: number[];
172
- scoreVar: string;
173
- altExpiry: Date;
174
- altActivation: Date;
175
- nextAlt: {
176
- expiry: Date;
177
- activation: Date;
178
- };
179
- affiliatedWith?: string;
180
- /**
181
- * The event's tag
182
- */
183
- tag: string;
184
- victim?: string;
185
- /**
186
- * Asynchronously build a new WorldEvent
187
- * @param data The event data
188
- * @param deps The dependencies object
189
- * @returns The created WorldEvent object
190
- */
191
- static build(data: RawWorldEvent, deps: Dependency): Promise<WorldEvent>;
192
- /**
193
- * @param data The event data
194
- * @param deps The dependencies object
195
- */
196
- constructor(data: RawWorldEvent, {
197
- locale
198
- }?: Dependency);
199
- /**
200
- * Whether the event has expired
201
- */
202
- get expired(): boolean;
203
- }
204
- //#endregion
1
+ import { a as WorldEvent, i as RawWorldEvent, n as InterimStep, r as ProgressStep, t as InterimRewardMessage } from "../../index-C4EJ_Mpd.mjs";
205
2
  export { InterimRewardMessage, InterimStep, ProgressStep, RawWorldEvent, WorldEvent };
@@ -2,7 +2,6 @@ import { Reward } from "./Reward.mjs";
2
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
3
3
  import { SyndicateJob } from "./SyndicateJob.mjs";
4
4
  import { faction, fromNow, languageString, node, parseDate, syndicate } from "warframe-worldstate-data/utilities";
5
-
6
5
  //#region lib/models/WorldEvent.ts
7
6
  /**
8
7
  * Represents an in-game special event
@@ -208,6 +207,5 @@ var WorldEvent = class WorldEvent extends WorldStateObject {
208
207
  return fromNow(this.expiry) < 0;
209
208
  }
210
209
  };
211
-
212
210
  //#endregion
213
- export { WorldEvent };
211
+ export { WorldEvent };
@@ -1,48 +1,2 @@
1
- import { ContentTimestamp } from "warframe-worldstate-data/utilities";
2
-
3
- //#region lib/models/WorldStateObject.d.ts
4
- interface Identifier {
5
- $id?: string;
6
- $oid?: string;
7
- }
8
- interface BaseContentObject {
9
- _id?: Identifier;
10
- Activation?: ContentTimestamp;
11
- Expiry?: ContentTimestamp;
12
- }
13
- /**
14
- * Represents a generic object from WorldState
15
- */
16
- declare class WorldStateObject {
17
- /**
18
- * The object's id field
19
- */
20
- id?: string;
21
- /**
22
- * The date and time at which the WorldStateObject started
23
- */
24
- activation?: Date;
25
- /**
26
- * The date and time at which the WorldStateObject ends
27
- */
28
- expiry?: Date;
29
- /**
30
- * @param data The object data
31
- */
32
- constructor(data: BaseContentObject);
33
- /**
34
- * Whether the void trader is active (at time of object creation)
35
- */
36
- get active(): boolean;
37
- /**
38
- * A string indicating how long it will take for the trader to arrive
39
- * (at time of object creation)
40
- */
41
- get startString(): string | undefined;
42
- /**
43
- * Time delta string from now to the end
44
- */
45
- get endString(): string | undefined;
46
- }
47
- //#endregion
1
+ import { n as Identifier, r as WorldStateObject, t as BaseContentObject } from "../../WorldStateObject-C2KjQZjd.mjs";
48
2
  export { BaseContentObject, Identifier, WorldStateObject };
@@ -1,5 +1,4 @@
1
1
  import { fromNow, insist, parseDate, timeDeltaToString } from "warframe-worldstate-data/utilities";
2
-
3
2
  //#region lib/models/WorldStateObject.ts
4
3
  /**
5
4
  * Represents a generic object from WorldState
@@ -49,6 +48,5 @@ var WorldStateObject = class {
49
48
  return timeDeltaToString(fromNow(this.expiry));
50
49
  }
51
50
  };
52
-
53
51
  //#endregion
54
- export { WorldStateObject };
52
+ export { WorldStateObject };
@@ -1,45 +1,2 @@
1
- import { WorldStateObject } from "./WorldStateObject.mjs";
2
-
3
- //#region lib/models/ZarimanCycle.d.ts
4
- interface CurrentZarimanCycle {
5
- isCorpus: boolean;
6
- timeLeft: string;
7
- expiry: Date;
8
- expiresIn: number;
9
- state: string;
10
- start: number;
11
- }
12
- /**
13
- * Represents the current Zariman Corpus/Grineer Cycle
14
- * @augments {WorldStateObject}
15
- */
16
- declare class ZarimanCycle extends WorldStateObject {
17
- #private;
18
- /**
19
- * Whether or not this it's corpus or grineer
20
- */
21
- isCorpus: boolean;
22
- /**
23
- * Current cycle state. One of `corpus`, `grineer`
24
- */
25
- state: string;
26
- /**
27
- * Time remaining string
28
- */
29
- timeLeft: string;
30
- /**
31
- * @param {Date} bountiesEndDate The current Zariman cycle expiry
32
- */
33
- constructor(bountiesEndDate: Date);
34
- /**
35
- * Whether this is expired
36
- */
37
- get expired(): boolean;
38
- getCurrentZarimanCycle(): CurrentZarimanCycle;
39
- /**
40
- * The event's string representation
41
- */
42
- get shortString(): string;
43
- }
44
- //#endregion
1
+ import { n as ZarimanCycle, t as CurrentZarimanCycle } from "../../ZarimanCycle-DyYiVfyG.mjs";
45
2
  export { CurrentZarimanCycle, ZarimanCycle };
@@ -1,6 +1,5 @@
1
1
  import { WorldStateObject } from "./WorldStateObject.mjs";
2
2
  import { fromNow, timeDeltaToString } from "warframe-worldstate-data/utilities";
3
-
4
3
  //#region lib/models/ZarimanCycle.ts
5
4
  const corpusTimeMillis = 16551828e5;
6
5
  const fullCycle = 18e6;
@@ -74,6 +73,5 @@ var ZarimanCycle = class extends WorldStateObject {
74
73
  return `${this.timeLeft.replace(/\s\d*s/gi, "")} to ${this.isCorpus ? "grineer" : "corpus"}`;
75
74
  }
76
75
  };
77
-
78
76
  //#endregion
79
- export { ZarimanCycle };
77
+ export { ZarimanCycle };