warframe-worldstate-parser 5.2.16 → 5.2.17

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 (181) hide show
  1. package/dist/lib/WorldState.d.mts +35 -19
  2. package/dist/lib/WorldState.mjs +31 -45
  3. package/dist/lib/models/Alert.d.mts +45 -17
  4. package/dist/lib/models/Alert.mjs +49 -5
  5. package/dist/lib/models/Archimedea.d.mts +86 -17
  6. package/dist/lib/models/Archimedea.mjs +88 -2
  7. package/dist/lib/models/Calendar.d.mts +77 -2
  8. package/dist/lib/models/Calendar.mjs +79 -2
  9. package/dist/lib/models/CambionCycle.d.mts +21 -3
  10. package/dist/lib/models/CambionCycle.mjs +28 -2
  11. package/dist/lib/models/CetusCycle.d.mts +48 -2
  12. package/dist/lib/models/CetusCycle.mjs +87 -2
  13. package/dist/lib/models/ChallengeInstance.d.mts +53 -17
  14. package/dist/lib/models/ChallengeInstance.mjs +46 -1
  15. package/dist/lib/models/ConclaveChallenge.d.mts +76 -17
  16. package/dist/lib/models/ConclaveChallenge.mjs +77 -2
  17. package/dist/lib/models/ConstructionProgress.d.mts +17 -2
  18. package/dist/lib/models/ConstructionProgress.mjs +23 -2
  19. package/dist/lib/models/DailyDeal.d.mts +66 -17
  20. package/dist/lib/models/DailyDeal.mjs +64 -2
  21. package/dist/lib/models/DarkSector.d.mts +142 -17
  22. package/dist/lib/models/DarkSector.mjs +136 -6
  23. package/dist/lib/models/DarkSectorBattle.d.mts +52 -2
  24. package/dist/lib/models/DarkSectorBattle.mjs +49 -1
  25. package/dist/lib/models/DuviriCycle.d.mts +23 -17
  26. package/dist/lib/models/DuviriCycle.mjs +55 -2
  27. package/dist/lib/models/EarthCycle.d.mts +59 -2
  28. package/dist/lib/models/EarthCycle.mjs +73 -2
  29. package/dist/lib/models/Fissure.d.mts +78 -17
  30. package/dist/lib/models/Fissure.mjs +83 -2
  31. package/dist/lib/models/FlashSale.d.mts +71 -17
  32. package/dist/lib/models/FlashSale.mjs +73 -2
  33. package/dist/lib/models/GlobalUpgrade.d.mts +55 -17
  34. package/dist/lib/models/GlobalUpgrade.mjs +56 -2
  35. package/dist/lib/models/Invasion.d.mts +113 -17
  36. package/dist/lib/models/Invasion.mjs +106 -4
  37. package/dist/lib/models/Kinepage.d.mts +21 -1
  38. package/dist/lib/models/Kinepage.mjs +22 -1
  39. package/dist/lib/models/Kuva.d.mts +20 -17
  40. package/dist/lib/models/Kuva.mjs +85 -1
  41. package/dist/lib/models/MidrathCycle.d.mts +24 -2
  42. package/dist/lib/models/MidrathCycle.mjs +66 -2
  43. package/dist/lib/models/Mission.d.mts +138 -17
  44. package/dist/lib/models/Mission.mjs +138 -3
  45. package/dist/lib/models/News.d.mts +100 -2
  46. package/dist/lib/models/News.mjs +116 -2
  47. package/dist/lib/models/Nightwave.d.mts +58 -3
  48. package/dist/lib/models/Nightwave.mjs +58 -3
  49. package/dist/lib/models/NightwaveChallenge.d.mts +50 -2
  50. package/dist/lib/models/NightwaveChallenge.mjs +51 -2
  51. package/dist/lib/models/PersistentEnemy.d.mts +78 -2
  52. package/dist/lib/models/PersistentEnemy.mjs +74 -2
  53. package/dist/lib/models/Reward.d.mts +67 -17
  54. package/dist/lib/models/Reward.mjs +71 -2
  55. package/dist/lib/models/SentientOutpost.d.mts +46 -17
  56. package/dist/lib/models/SentientOutpost.mjs +63 -1
  57. package/dist/lib/models/Simaris.d.mts +36 -17
  58. package/dist/lib/models/Simaris.mjs +33 -1
  59. package/dist/lib/models/Sortie.d.mts +60 -17
  60. package/dist/lib/models/Sortie.mjs +71 -6
  61. package/dist/lib/models/SortieVariant.d.mts +49 -17
  62. package/dist/lib/models/SortieVariant.mjs +49 -1
  63. package/dist/lib/models/SteelPathOffering.d.mts +36 -1
  64. package/dist/lib/models/SteelPathOffering.mjs +81 -1
  65. package/dist/lib/models/SyndicateJob.d.mts +92 -17
  66. package/dist/lib/models/SyndicateJob.mjs +161 -5
  67. package/dist/lib/models/SyndicateMission.d.mts +58 -17
  68. package/dist/lib/models/SyndicateMission.mjs +64 -6
  69. package/dist/lib/models/Tmp.d.mts +34 -17
  70. package/dist/lib/models/Tmp.mjs +28 -2
  71. package/dist/lib/models/VallisCycle.d.mts +29 -2
  72. package/dist/lib/models/VallisCycle.mjs +72 -2
  73. package/dist/lib/models/VoidTrader.d.mts +76 -17
  74. package/dist/lib/models/VoidTrader.mjs +76 -4
  75. package/dist/lib/models/VoidTraderItem.d.mts +43 -17
  76. package/dist/lib/models/VoidTraderItem.mjs +36 -1
  77. package/dist/lib/models/VoidTraderSchedule.d.mts +16 -17
  78. package/dist/lib/models/VoidTraderSchedule.mjs +12 -1
  79. package/dist/lib/models/WeeklyChallenge.d.mts +19 -17
  80. package/dist/lib/models/WeeklyChallenge.mjs +19 -3
  81. package/dist/lib/models/WorldEvent.d.mts +204 -17
  82. package/dist/lib/models/WorldEvent.mjs +211 -7
  83. package/dist/lib/models/WorldStateObject.d.mts +47 -1
  84. package/dist/lib/models/WorldStateObject.mjs +52 -1
  85. package/dist/lib/models/ZarimanCycle.d.mts +44 -2
  86. package/dist/lib/models/ZarimanCycle.mjs +77 -2
  87. package/dist/lib/models/index.d.mts +42 -18
  88. package/dist/lib/models/index.mjs +42 -45
  89. package/dist/lib/supporting/Dependency.d.mts +40 -1
  90. package/dist/lib/supporting/DuviriChoice.d.mts +18 -17
  91. package/dist/lib/supporting/DuviriChoice.mjs +23 -1
  92. package/dist/lib/supporting/ExternalMission.d.mts +48 -1
  93. package/dist/lib/supporting/FetchProxy.d.mts +9 -1
  94. package/dist/lib/supporting/FetchProxy.mjs +44 -1
  95. package/dist/lib/supporting/ImgCdn.d.mts +5 -1
  96. package/dist/lib/supporting/ImgCdn.mjs +5 -1
  97. package/dist/lib/supporting/KuvaLogEntry.d.mts +20 -1
  98. package/dist/lib/supporting/RewardData.d.mts +10 -1
  99. package/dist/lib/supporting/RewardData.mjs +74 -1
  100. package/dist/lib/supporting/RewardTypes.d.mts +33 -1
  101. package/dist/lib/supporting/RewardTypes.mjs +326 -1
  102. package/dist/lib/supporting/index.d.mts +8 -23
  103. package/dist/lib/supporting/index.mjs +5 -6
  104. package/dist/main.d.mts +52 -24
  105. package/dist/main.mjs +47 -48
  106. package/package.json +1 -1
  107. package/dist/Alert-CPT2sBmd.mjs +0 -51
  108. package/dist/Archimedea-Vo36QE99.mjs +0 -90
  109. package/dist/Calendar-CRM0XhAy.d.mts +0 -78
  110. package/dist/Calendar-_gEQ9BEd.mjs +0 -81
  111. package/dist/CambionCycle-B1pqIgks.mjs +0 -30
  112. package/dist/CambionCycle-OI3v1knd.d.mts +0 -22
  113. package/dist/CetusCycle-Ct51M2pd.mjs +0 -89
  114. package/dist/CetusCycle-DQ4n05vO.d.mts +0 -49
  115. package/dist/ChallengeInstance-BOu_e7ML.mjs +0 -48
  116. package/dist/ConclaveChallenge-BTN6UyV6.mjs +0 -79
  117. package/dist/ConstructionProgress-BoF2P9fx.mjs +0 -25
  118. package/dist/ConstructionProgress-DG2KzS0X.d.mts +0 -18
  119. package/dist/DailyDeal-aoNeCFWT.mjs +0 -66
  120. package/dist/DarkSector-D0uJWCg7.mjs +0 -138
  121. package/dist/DarkSectorBattle-CiSe3kFm.d.mts +0 -53
  122. package/dist/DarkSectorBattle-CqRYeNpe.mjs +0 -51
  123. package/dist/Dependency-BR-dAeHI.mjs +0 -1
  124. package/dist/Dependency-CNqXngHD.d.mts +0 -41
  125. package/dist/DuviriChoice-BEBiWA-g.mjs +0 -25
  126. package/dist/DuviriCycle-Do7mMnoC.mjs +0 -57
  127. package/dist/EarthCycle-BOAlcAuQ.mjs +0 -75
  128. package/dist/EarthCycle-CxtijnVV.d.mts +0 -60
  129. package/dist/ExternalMission-C82w4uMq.d.mts +0 -49
  130. package/dist/ExternalMission-D3MSZgnN.mjs +0 -1
  131. package/dist/FetchProxy-Bkdk15SX.mjs +0 -46
  132. package/dist/FetchProxy-DfSTUgkf.d.mts +0 -10
  133. package/dist/Fissure-diM4hyi3.mjs +0 -85
  134. package/dist/FlashSale-CNfRaZhM.mjs +0 -75
  135. package/dist/GlobalUpgrade-CUtZw05z.mjs +0 -58
  136. package/dist/ImgCdn-BJOdWAbU.mjs +0 -7
  137. package/dist/ImgCdn-D0hSGSB1.d.mts +0 -6
  138. package/dist/Invasion-Corx1lxf.mjs +0 -108
  139. package/dist/Kinepage-B-Ym_VW5.d.mts +0 -22
  140. package/dist/Kinepage-CbSzge67.mjs +0 -24
  141. package/dist/Kuva-Ijy2ZGBL.mjs +0 -87
  142. package/dist/KuvaLogEntry-D_VzIT3W.mjs +0 -1
  143. package/dist/KuvaLogEntry-cftxhjfU.d.mts +0 -21
  144. package/dist/MidrathCycle-E0gMF3AR.d.mts +0 -25
  145. package/dist/MidrathCycle-XD2T8Dx5.mjs +0 -68
  146. package/dist/Mission-b8KP-YDf.mjs +0 -140
  147. package/dist/News-DxEm-q6V.d.mts +0 -101
  148. package/dist/News-zAK-sYRg.mjs +0 -118
  149. package/dist/Nightwave-CPqMSqGK.d.mts +0 -59
  150. package/dist/Nightwave-cTRmlbwH.mjs +0 -60
  151. package/dist/NightwaveChallenge-C8ARG7LC.mjs +0 -53
  152. package/dist/NightwaveChallenge-CG3uychc.d.mts +0 -51
  153. package/dist/PersistentEnemy-3Sw5E8AN.mjs +0 -76
  154. package/dist/PersistentEnemy-DnnnreSz.d.mts +0 -79
  155. package/dist/Reward-3FBJF_hS.mjs +0 -73
  156. package/dist/RewardData-C_9b8Yhi.mjs +0 -76
  157. package/dist/RewardData-DWCgJ3UT.d.mts +0 -11
  158. package/dist/RewardTypes-DUrR7H3G.mjs +0 -328
  159. package/dist/RewardTypes-Y3tHrtIJ.d.mts +0 -34
  160. package/dist/SentientOutpost-Cadk-pIW.mjs +0 -65
  161. package/dist/Simaris-D6etEQp_.mjs +0 -35
  162. package/dist/Sortie-rSBgJc6U.mjs +0 -73
  163. package/dist/SortieVariant-CnuLkkNZ.mjs +0 -51
  164. package/dist/SteelPathOffering--wm-7hwb.mjs +0 -83
  165. package/dist/SteelPathOffering-CQkoKi5T.d.mts +0 -37
  166. package/dist/SyndicateJob-R89tWqvT.mjs +0 -162
  167. package/dist/SyndicateMission-CKZDWNyf.mjs +0 -66
  168. package/dist/Tmp-BYL_mYIG.mjs +0 -30
  169. package/dist/VallisCycle-6DCaWFoR.d.mts +0 -30
  170. package/dist/VallisCycle-BW2g49wB.mjs +0 -74
  171. package/dist/VoidTrader-DtjtVUgR.mjs +0 -78
  172. package/dist/VoidTraderItem-Cz6x1KTF.mjs +0 -38
  173. package/dist/VoidTraderSchedule-BsJLu50V.mjs +0 -14
  174. package/dist/WeeklyChallenge-Dl2ekl6X.mjs +0 -21
  175. package/dist/WorldEvent-C-LaV2ug.mjs +0 -213
  176. package/dist/WorldStateObject-45dbRgp7.mjs +0 -54
  177. package/dist/WorldStateObject-C1HEDkH7.d.mts +0 -48
  178. package/dist/ZarimanCycle-BrSLIWhD.d.mts +0 -45
  179. package/dist/ZarimanCycle-DoAPwgaM.mjs +0 -79
  180. package/dist/index-Bgx8kIDy.d.mts +0 -1671
  181. package/dist/supporting-BLSXhlWM.mjs +0 -1
@@ -1,76 +0,0 @@
1
- //#region lib/supporting/RewardData.ts
2
- const resources = [
3
- "Alloy Plate",
4
- "Argon Crystal",
5
- "Circuits",
6
- "Control Module",
7
- "Cryotic",
8
- "Ferrite",
9
- "Gallium",
10
- "Morphics",
11
- "Nano Spores",
12
- "Neural Sensors",
13
- "Neurodes",
14
- "Orokin Cell",
15
- "Oxium",
16
- "Plastids",
17
- "Polymer Bundle",
18
- "Rubedo",
19
- "Salvage",
20
- "Tellurium"
21
- ];
22
- const auras = [
23
- "Brief Respite",
24
- "Corrosive Projection",
25
- "Dead Eye",
26
- "EMP Aura",
27
- "Empowered Blades",
28
- "Enemy Radar",
29
- "Energy Siphon",
30
- "Growing Power",
31
- "Infested Impedance",
32
- "Loot Detector",
33
- "Physique",
34
- "Pistol Amp",
35
- "Pistol Scavenger",
36
- "Rejuvenation",
37
- "Rifle Amp",
38
- "Rifle Scavenger",
39
- "Shield Disruption",
40
- "Shotgun Amp",
41
- "Shotgun Scavenger",
42
- "Sniper Scavenger",
43
- "Speed Holster",
44
- "Sprint Boost",
45
- "Stand United",
46
- "Steel Charge"
47
- ];
48
- const nightmare = [
49
- "Accelerated Blast",
50
- "Animal Instinct",
51
- "Armored Agility",
52
- "Blaze",
53
- "Chilling Reload",
54
- "Constitution",
55
- "Drifting Contact",
56
- "Focus Energy",
57
- "Fortitude",
58
- "Hammer Shot",
59
- "Ice Storm",
60
- "Lethal Torrent",
61
- "Rending Strike",
62
- "Stunning Speed",
63
- "Wildfire",
64
- "Seeking Fury",
65
- "Streamlined Form",
66
- "Shred",
67
- "Vigor"
68
- ];
69
- var RewardData_default = {
70
- nightmare,
71
- auras,
72
- resources
73
- };
74
-
75
- //#endregion
76
- export { resources as i, auras as n, nightmare as r, RewardData_default as t };
@@ -1,11 +0,0 @@
1
- //#region lib/supporting/RewardData.d.ts
2
- declare const resources: string[];
3
- declare const auras: string[];
4
- declare const nightmare: string[];
5
- declare const _default: {
6
- nightmare: string[];
7
- auras: string[];
8
- resources: string[];
9
- };
10
- //#endregion
11
- export { resources as i, auras as n, nightmare as r, _default as t };
@@ -1,328 +0,0 @@
1
- import { r as wfCdn, t as cdn } from "./ImgCdn-BJOdWAbU.mjs";
2
- import { i as resources, n as auras, r as nightmare } from "./RewardData-C_9b8Yhi.mjs";
3
-
4
- //#region lib/supporting/RewardTypes.ts
5
- /**
6
- * All possible RewardTypes
7
- * @type {Array.<RewardType>}
8
- */
9
- var RewardTypes_default = [
10
- {
11
- name: "vauban",
12
- description: "Vauban parts",
13
- test: (s) => /^vauban(?!.*helmet)/i.test(s),
14
- thumbnail: wfCdn("vauban.png"),
15
- color: 6052435
16
- },
17
- {
18
- name: "vandal",
19
- description: "Vandal Weapon Parts",
20
- test: (s) => /vandal/i.test(s),
21
- thumbnail: wfCdn("dera-vandal.png"),
22
- color: 6052435
23
- },
24
- {
25
- name: "wraith",
26
- description: "Wraith Weapon Parts",
27
- test: (s) => /wraith/i.test(s),
28
- thumbnail: wfCdn("furax-wraith.png"),
29
- color: 6052435
30
- },
31
- {
32
- name: "skin",
33
- description: "Weapon skins",
34
- test: (s) => /skin/i.test(s),
35
- thumbnail: "https://raw.githubusercontent.com/wfcd/warframe-worldstate-parser/master/resources/weapon_skin_thumb.png",
36
- color: 5196851
37
- },
38
- {
39
- name: "helmet",
40
- description: "Alternative helmets",
41
- test: (s) => /helmet/i.test(s),
42
- thumbnail: "https://raw.githubusercontent.com/wfcd/warframe-worldstate-parser/master/resources/alt_helmet_thumb.png",
43
- color: 5666423
44
- },
45
- {
46
- name: "nitain",
47
- description: "Nitain extract",
48
- test: (s) => /nitain/i.test(s),
49
- thumbnail: wfCdn("nitain-extract.png"),
50
- color: 11447716
51
- },
52
- {
53
- name: "mutalist",
54
- description: "Mutalist Alad V coordinates",
55
- test: (s) => /mutalist/i.test(s),
56
- thumbnail: wfCdn("mutalist-alad-v-nav-coordinate.png"),
57
- color: 158519
58
- },
59
- {
60
- name: "weapon",
61
- description: "Weapons",
62
- test: (s) => /dagger|sword|glaive/i.test(s),
63
- thumbnail: wfCdn("blueprint"),
64
- color: 10723479
65
- },
66
- {
67
- name: "fieldron",
68
- description: "Fieldron",
69
- test: (s) => /fieldron/i.test(s),
70
- thumbnail: wfCdn("fieldron.png"),
71
- color: 5068118
72
- },
73
- {
74
- name: "detonite",
75
- description: "Detonite Injector",
76
- test: (s) => /detonite/i.test(s),
77
- thumbnail: wfCdn("detonite-injector.png"),
78
- color: 5068118
79
- },
80
- {
81
- name: "mutagen",
82
- description: "Mutagen Mass",
83
- test: (s) => /mutagen/i.test(s),
84
- thumbnail: wfCdn("mutagen-mass.png"),
85
- color: 5068118
86
- },
87
- {
88
- name: "clantech",
89
- description: "Clantech resources",
90
- test: (s) => /fieldron|detonite|mutagen/i.test(s),
91
- thumbnail: "https://github.com/wfcd/warframe-worldstate-parser/raw/master/resources/clantech_thmb.png",
92
- color: 5068118
93
- },
94
- {
95
- name: "aura",
96
- description: "Auras",
97
- test: (s) => auras.includes(s),
98
- thumbnail: "https://github.com/wfcd/warframe-worldstate-parser/raw/master/resources/aura_thumb.png",
99
- color: 13170943
100
- },
101
- {
102
- name: "neuralSensors",
103
- description: "Neural Sensors",
104
- test: (s) => /neural/i.test(s),
105
- thumbnail: wfCdn("neural-sensors.png"),
106
- color: 13170943
107
- },
108
- {
109
- name: "neurodes",
110
- description: "Neurodes",
111
- test: (s) => /neurode/i.test(s),
112
- thumbnail: wfCdn("neurodes.png"),
113
- color: 13170943
114
- },
115
- {
116
- name: "orokinCell",
117
- description: "Orokin Cell",
118
- test: (s) => /orokin\scell/i.test(s),
119
- thumbnail: wfCdn("orokin-cell.png"),
120
- color: 13170943
121
- },
122
- {
123
- name: "alloyPlate",
124
- description: "Alloy Plate",
125
- test: (s) => /alloy\splate/i.test(s),
126
- thumbnail: wfCdn("alloy-plate.png"),
127
- color: 13170943
128
- },
129
- {
130
- name: "circuits",
131
- description: "Circuits",
132
- test: (s) => /circuits/i.test(s),
133
- thumbnail: wfCdn("circuits.png"),
134
- color: 13170943
135
- },
136
- {
137
- name: "controlModule",
138
- description: "Control Module",
139
- test: (s) => /control\smodule/i.test(s),
140
- thumbnail: wfCdn("control-module.png"),
141
- color: 13170943
142
- },
143
- {
144
- name: "ferrite",
145
- description: "Ferrite",
146
- test: (s) => /ferrite/i.test(s),
147
- thumbnail: wfCdn("ferrite.png"),
148
- color: 13170943
149
- },
150
- {
151
- name: "gallium",
152
- description: "Gallium",
153
- test: (s) => /gallium/i.test(s),
154
- thumbnail: wfCdn("gallium.png"),
155
- color: 10595770
156
- },
157
- {
158
- name: "morphics",
159
- description: "Morphics",
160
- test: (s) => /morphics/i.test(s),
161
- thumbnail: wfCdn("morphics.png"),
162
- color: 13170943
163
- },
164
- {
165
- name: "nanoSpores",
166
- description: "Nano Spores",
167
- test: (s) => /nano\sspores/i.test(s),
168
- thumbnail: wfCdn("nano-spores.png"),
169
- color: 5455670
170
- },
171
- {
172
- name: "oxium",
173
- description: "Oxium",
174
- test: (s) => /oxium/i.test(s),
175
- thumbnail: wfCdn("oxium.png"),
176
- color: 9597243
177
- },
178
- {
179
- name: "rubedo",
180
- description: "Rubedo",
181
- test: (s) => /rubedo/i.test(s),
182
- thumbnail: wfCdn("rubedo.png"),
183
- color: 13516342
184
- },
185
- {
186
- name: "salvage",
187
- description: "Salvage",
188
- test: (s) => /salvage/i.test(s),
189
- thumbnail: wfCdn("salvage.png"),
190
- color: 9145997
191
- },
192
- {
193
- name: "plastids",
194
- description: "Plastids",
195
- test: (s) => /plastids/i.test(s),
196
- thumbnail: wfCdn("plastids.png"),
197
- color: 13545096
198
- },
199
- {
200
- name: "polymerBundle",
201
- description: "Polymer Bundle",
202
- test: (s) => /polymer\sbundle/i.test(s),
203
- thumbnail: wfCdn("polymer-bundle.png"),
204
- color: 7032228
205
- },
206
- {
207
- name: "argonCrystal",
208
- description: "Argon Crystal",
209
- test: (s) => /argon\scrystal/i.test(s),
210
- thumbnail: wfCdn("argon-crystal.png"),
211
- color: 13170943
212
- },
213
- {
214
- name: "cryotic",
215
- description: "Cryotic",
216
- test: (s) => /cryotic/i.test(s),
217
- thumbnail: wfCdn("cryotic.png"),
218
- color: 7905971
219
- },
220
- {
221
- name: "tellurium",
222
- description: "Tellurium",
223
- test: (s) => /tellurium/i.test(s),
224
- thumbnail: wfCdn("tellurium.png"),
225
- color: 15150616
226
- },
227
- {
228
- name: "resource",
229
- description: "Resources",
230
- test: (s) => resources.includes(s),
231
- thumbnail: "https://i.imgur.com/Bq5TEPo.png",
232
- color: 16772764
233
- },
234
- {
235
- name: "nightmare",
236
- description: "Nightmare mods",
237
- test: (s) => nightmare.includes(s),
238
- thumbnail: cdn("svg/nightmare.svg"),
239
- color: 11677228
240
- },
241
- {
242
- name: "endo",
243
- description: "Endo",
244
- test: (s) => /^\d+x?\sendo/i.test(s),
245
- thumbnail: wfCdn("endo.png"),
246
- color: 12755532
247
- },
248
- {
249
- name: "reactor",
250
- description: "Orokin Reactors",
251
- test: (s) => /reactor/i.test(s),
252
- thumbnail: wfCdn("orokin-reactor.png"),
253
- color: 14140285
254
- },
255
- {
256
- name: "catalyst",
257
- description: "Orokin Catalyst",
258
- test: (s) => /catalyst/i.test(s),
259
- thumbnail: wfCdn("orokin-catalyst.png"),
260
- color: 6855389
261
- },
262
- {
263
- name: "potato",
264
- description: "Orokin Catalysts/Reactors",
265
- test: (s) => /catalyst|reactor/i.test(s),
266
- thumbnail: wfCdn("orokin-catalyst.png"),
267
- color: 6855389
268
- },
269
- {
270
- name: "forma",
271
- description: "Forma",
272
- test: (s) => /forma/i.test(s),
273
- thumbnail: wfCdn("forma.png"),
274
- color: 11638087
275
- },
276
- {
277
- name: "exilus",
278
- description: "Exilus",
279
- test: (s) => /exilus/i.test(s),
280
- thumbnail: wfCdn("exilus-adapter.png"),
281
- color: 8925997
282
- },
283
- {
284
- name: "synthula",
285
- description: "Synthula",
286
- test: (s) => /synthula/i.test(s),
287
- thumbnail: wfCdn("synthula.png"),
288
- color: 10461599
289
- },
290
- {
291
- name: "kavatGene",
292
- description: "Kavat Genetic Code",
293
- test: (s) => /Kavat Ge/i.test(s),
294
- thumbnail: wfCdn("kavat-genetic-code.png"),
295
- color: 7776429
296
- },
297
- {
298
- name: "kubrowEgg",
299
- description: "Kubrow Egg",
300
- test: (s) => /kubrow\segg/i.test(s),
301
- thumbnail: wfCdn("kubrow-egg"),
302
- color: 10851199
303
- },
304
- {
305
- name: "traces",
306
- description: "Void Traces",
307
- test: (s) => /trace/i.test(s),
308
- thumbnail: wfCdn("void-traces.png"),
309
- color: 6923485
310
- },
311
- {
312
- name: "riven",
313
- description: "Riven Mod",
314
- test: (s) => /riven/i.test(s),
315
- thumbnail: wfCdn("rifle-riven-mod.png"),
316
- color: 10585021
317
- },
318
- {
319
- name: "other",
320
- description: "Other",
321
- test: () => true,
322
- thumbnail: "",
323
- color: 5198940
324
- }
325
- ];
326
-
327
- //#endregion
328
- export { RewardTypes_default as t };
@@ -1,34 +0,0 @@
1
- //#region lib/supporting/RewardTypes.d.ts
2
- /**
3
- * An object describing a type of reward, including name, description,
4
- * test function to verify type from a string, thumbnail url, and color
5
- */
6
- interface RewardType {
7
- /**
8
- * Name of the reward type.
9
- */
10
- name: string;
11
- /**
12
- * Description of the reward type.
13
- */
14
- description: string;
15
- /**
16
- * Function for testing the reward type against a string.
17
- */
18
- test: (s: string) => boolean;
19
- /**
20
- * Thumbnail url for the reward type.
21
- */
22
- thumbnail: string;
23
- /**
24
- * Summary color representing this reward type
25
- */
26
- color: number;
27
- }
28
- /**
29
- * All possible RewardTypes
30
- * @type {Array.<RewardType>}
31
- */
32
- declare const _default: RewardType[];
33
- //#endregion
34
- export { _default as n, RewardType as t };
@@ -1,65 +0,0 @@
1
- import { node, nodeEnemy, nodeMissionType } from "warframe-worldstate-data/utilities";
2
-
3
- //#region lib/models/SentientOutpost.ts
4
- const duration = 1800;
5
- const sat = () => {
6
- const now = Math.floor(Date.now() / 1e3);
7
- const cycleSeconds = now % duration;
8
- const active = cycleSeconds > 0 && cycleSeconds < 1800;
9
- const start = (now - cycleSeconds) * 1e3;
10
- const end = (now - cycleSeconds + duration) * 1e3;
11
- return {
12
- active,
13
- expiry: new Date(end),
14
- activation: new Date(start)
15
- };
16
- };
17
- /**
18
- * Represents a set of sentient outposts that are present
19
- * Parsed source is combined data from DE's worldstate and semlar.com/anomaly.json
20
- */
21
- var SentientOutpost = class {
22
- node;
23
- id;
24
- /**
25
- * Start time
26
- */
27
- activation;
28
- /**
29
- * End time
30
- */
31
- expiry;
32
- /**
33
- * Current Mission
34
- */
35
- mission;
36
- /**
37
- * Whether or not the object was active during creation
38
- */
39
- active;
40
- /**
41
- * @param sfn Sentient outpost node number
42
- * @param deps Dependencies
43
- */
44
- constructor(sfn, { locale, sentientData, logger }) {
45
- this.node = sfn || "000";
46
- const id = `CrewBattleNode${this.node}`;
47
- if (this.node === "000") this.mission = void 0;
48
- else this.mission = {
49
- node: node(id, locale),
50
- faction: nodeEnemy(id, locale),
51
- type: nodeMissionType(id, locale)
52
- };
53
- ({activation: this.activation, expiry: this.expiry} = sat());
54
- this.active = Boolean(this.mission);
55
- this.id = `${id}:${this.active}`;
56
- if (!sentientData) logger?.debug("No outpost data, skipping");
57
- else {
58
- this.activation = /* @__PURE__ */ new Date(sentientData.start * 1e3);
59
- this.expiry = /* @__PURE__ */ new Date(sentientData.end * 1e3);
60
- }
61
- }
62
- };
63
-
64
- //#endregion
65
- export { SentientOutpost as t };
@@ -1,35 +0,0 @@
1
- import { languageString } from "warframe-worldstate-data/utilities";
2
-
3
- //#region lib/models/Simaris.ts
4
- /**
5
- * Contains information about sanctuary targets
6
- */
7
- var Simaris = class {
8
- /**
9
- * The sanctuary target
10
- */
11
- target;
12
- /**
13
- * Whether or not the target is currently active
14
- */
15
- isTargetActive;
16
- /**
17
- * @param data The sanctuary data
18
- * @param deps The dependencies object
19
- * @param deps.locale Locale to use for translations
20
- */
21
- constructor(data, { locale } = { locale: "en" }) {
22
- if (!data || !Object.keys(data).length) data = { LastCompletedTargetType: "" };
23
- this.target = languageString(data.LastCompletedTargetType, locale) || "N/A";
24
- this.isTargetActive = !data.LastCompletedTargetType;
25
- }
26
- /**
27
- * A string representation of the current sanctuary status
28
- */
29
- get asString() {
30
- return `Simaris's ${this.isTargetActive ? "current" : "previous"} objective ${this.isTargetActive ? "is" : "was"} ${this.target}`;
31
- }
32
- };
33
-
34
- //#endregion
35
- export { Simaris as t };
@@ -1,73 +0,0 @@
1
- import { t as Mission } from "./Mission-b8KP-YDf.mjs";
2
- import { t as WorldStateObject } from "./WorldStateObject-45dbRgp7.mjs";
3
- import { t as SortieVariant } from "./SortieVariant-CnuLkkNZ.mjs";
4
- import wsData from "warframe-worldstate-data";
5
- import { fromNow, languageString, parseDate, sortieBoss, sortieFaction, timeDeltaToString } from "warframe-worldstate-data/utilities";
6
-
7
- //#region lib/models/Sortie.ts
8
- const { sortie: sortieData } = wsData;
9
- /**
10
- * Represents a daily sortie
11
- * @augments {WorldStateObject}
12
- */
13
- var Sortie = class extends WorldStateObject {
14
- /**
15
- * The sortie's reward pool
16
- */
17
- rewardPool;
18
- /**
19
- * The sortie's variants
20
- */
21
- variants;
22
- /**
23
- * Archon hunt missions if sortie is an archon hunt
24
- */
25
- missions;
26
- /**
27
- * The sortie's boss
28
- */
29
- boss;
30
- /**
31
- * The sortie's faction
32
- */
33
- faction;
34
- /**
35
- * The sortie's faction
36
- */
37
- factionKey;
38
- /**
39
- * @param data The data for all daily sorties
40
- * @param deps The dependencies object
41
- * @param deps.locale Locale to use for translations
42
- */
43
- constructor(data, { locale = "en" } = { locale: "en" }) {
44
- super(data);
45
- const opts = {
46
- sortieData,
47
- locale
48
- };
49
- this.activation = parseDate(data.Activation);
50
- this.expiry = parseDate(data.Expiry);
51
- this.rewardPool = languageString(data.Reward, locale);
52
- this.variants = (data.Variants ?? []).map((v) => new SortieVariant(v, opts));
53
- this.missions = (data.Missions ?? []).map((v) => new Mission(v, opts));
54
- this.boss = sortieBoss(data.Boss, locale);
55
- this.faction = sortieFaction(data.Boss, locale);
56
- this.factionKey = sortieFaction(data.Boss, "en");
57
- }
58
- /**
59
- * ETA string (at time of object creation)
60
- */
61
- get eta() {
62
- return timeDeltaToString(fromNow(this.expiry));
63
- }
64
- /**
65
- * Whether this is expired (at time of object creation)
66
- */
67
- get expired() {
68
- return fromNow(this.expiry) < 0;
69
- }
70
- };
71
-
72
- //#endregion
73
- export { Sortie as t };
@@ -1,51 +0,0 @@
1
- import { insist, missionType, node, sortieModDesc, sortieModifier } from "warframe-worldstate-data/utilities";
2
-
3
- //#region lib/models/SortieVariant.ts
4
- /**
5
- * Represents a sortie variant
6
- * @class
7
- */
8
- var SortieVariant = class {
9
- /**
10
- * The variant's mission type
11
- */
12
- missionType;
13
- /**
14
- * The variant's mission type unlocalized
15
- */
16
- missionTypeKey;
17
- /**
18
- * The mission modifier
19
- */
20
- modifier;
21
- /**
22
- * The variant's modifier description
23
- */
24
- modifierDescription;
25
- /**
26
- * The node where the variant takes place
27
- */
28
- node;
29
- /**
30
- * The node where the variant takes place unlocalized
31
- */
32
- nodeKey;
33
- /**
34
- * Make the SortieVariant
35
- * @param data Sortie variant data
36
- * @param deps Dependencies
37
- * @param deps.locale Locale to use for translations
38
- */
39
- constructor(data, { locale = "en" } = { locale: "en" }) {
40
- insist({ ...data });
41
- this.missionType = missionType(data.missionType, locale);
42
- this.missionTypeKey = missionType(data.missionType, "en");
43
- this.modifier = sortieModifier(data.modifierType, locale);
44
- this.modifierDescription = sortieModDesc(data.modifierType, locale);
45
- this.node = node(data.node, locale);
46
- this.nodeKey = node(data.node, "en");
47
- }
48
- };
49
-
50
- //#endregion
51
- export { SortieVariant as t };