warframe-worldstate-parser 5.2.18 → 5.3.1
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.
- package/dist/{Calendar-C-rbmV_t.d.mts → Calendar-C99Wr_NC.d.mts} +1 -1
- package/dist/{CambionCycle-BzR_MfPH.d.mts → CambionCycle-CEVo0BPO.d.mts} +8 -2
- package/dist/{CetusCycle-DaqfF4J1.d.mts → CetusCycle-sbJ_VYPO.d.mts} +1 -1
- package/dist/{ConstructionProgress-BRxmro3-.d.mts → ConstructionProgress-CffeDtau.d.mts} +10 -1
- package/dist/{DarkSectorBattle-DHRl5tG1.d.mts → DarkSectorBattle-DwaJyGk3.d.mts} +1 -1
- package/dist/{Dependency-Cd-TxBJy.d.mts → Dependency-CtryMjKU.d.mts} +1 -1
- package/dist/{EarthCycle-C_oB5gDc.d.mts → EarthCycle-BsMMsVT4.d.mts} +1 -1
- package/dist/ExternalMission-Be-eX0Pc.d.mts +95 -0
- package/dist/{MidrathCycle-CxveqDtx.d.mts → MidrathCycle-UgLh7wgF.d.mts} +1 -1
- package/dist/{News-CJ3lD7_g.d.mts → News-CmoQ_nEf.d.mts} +1 -1
- package/dist/{Nightwave-BLHH02ht.d.mts → Nightwave-BBRJbyr8.d.mts} +2 -2
- package/dist/{NightwaveChallenge-j_m4hVQU.d.mts → NightwaveChallenge-C6J7ymli.d.mts} +1 -1
- package/dist/{PersistentEnemy-BJ4twtUY.d.mts → PersistentEnemy-WkvIZ9Mx.d.mts} +1 -1
- package/dist/{SteelPathOffering-DYjZ29sT.d.mts → SteelPathOffering-K2Ji4d5c.d.mts} +21 -0
- package/dist/{VallisCycle-as7DM4a-.d.mts → VallisCycle-BTYgGev7.d.mts} +1 -1
- package/dist/{ZarimanCycle-DyYiVfyG.d.mts → ZarimanCycle-D4YCSLmR.d.mts} +1 -1
- package/dist/decorate-CltSo06_.mjs +14 -0
- package/dist/{index-C4EJ_Mpd.d.mts → index-BiofND5v.d.mts} +77 -23
- package/dist/lib/WorldState.d.mts +16 -16
- package/dist/lib/WorldState.mjs +332 -2
- package/dist/lib/models/Alert.d.mts +1 -1
- package/dist/lib/models/Alert.mjs +29 -0
- package/dist/lib/models/Archimedea.d.mts +2 -2
- package/dist/lib/models/Archimedea.mjs +146 -1
- package/dist/lib/models/Calendar.d.mts +1 -1
- package/dist/lib/models/CambionCycle.d.mts +1 -1
- package/dist/lib/models/CambionCycle.mjs +19 -0
- package/dist/lib/models/CetusCycle.d.mts +1 -1
- package/dist/lib/models/CetusCycle.mjs +26 -0
- package/dist/lib/models/ChallengeInstance.d.mts +1 -1
- package/dist/lib/models/ChallengeInstance.mjs +38 -0
- package/dist/lib/models/ConclaveChallenge.d.mts +1 -1
- package/dist/lib/models/ConclaveChallenge.mjs +53 -0
- package/dist/lib/models/ConstructionProgress.d.mts +1 -1
- package/dist/lib/models/ConstructionProgress.mjs +27 -0
- package/dist/lib/models/DailyDeal.d.mts +1 -1
- package/dist/lib/models/DailyDeal.mjs +48 -0
- package/dist/lib/models/DarkSector.d.mts +1 -1
- package/dist/lib/models/DarkSector.mjs +152 -0
- package/dist/lib/models/DarkSectorBattle.d.mts +1 -1
- package/dist/lib/models/DarkSectorBattle.mjs +48 -0
- package/dist/lib/models/DuviriCycle.d.mts +1 -1
- package/dist/lib/models/DuviriCycle.mjs +20 -0
- package/dist/lib/models/EarthCycle.d.mts +1 -1
- package/dist/lib/models/EarthCycle.mjs +21 -0
- package/dist/lib/models/Fissure.d.mts +1 -1
- package/dist/lib/models/Fissure.mjs +49 -0
- package/dist/lib/models/FlashSale.d.mts +1 -1
- package/dist/lib/models/FlashSale.mjs +46 -0
- package/dist/lib/models/GlobalUpgrade.d.mts +1 -1
- package/dist/lib/models/GlobalUpgrade.mjs +23 -0
- package/dist/lib/models/Invasion.d.mts +1 -1
- package/dist/lib/models/Invasion.mjs +68 -0
- package/dist/lib/models/Kinepage.d.mts +1 -1
- package/dist/lib/models/Kinepage.mjs +24 -0
- package/dist/lib/models/Kuva.d.mts +1 -1
- package/dist/lib/models/Kuva.mjs +28 -0
- package/dist/lib/models/MidrathCycle.d.mts +1 -1
- package/dist/lib/models/MidrathCycle.mjs +13 -0
- package/dist/lib/models/Mission.d.mts +1 -1
- package/dist/lib/models/Mission.mjs +150 -0
- package/dist/lib/models/News.d.mts +1 -1
- package/dist/lib/models/News.mjs +63 -1
- package/dist/lib/models/Nightwave.d.mts +1 -1
- package/dist/lib/models/Nightwave.mjs +50 -0
- package/dist/lib/models/NightwaveChallenge.d.mts +1 -1
- package/dist/lib/models/NightwaveChallenge.mjs +34 -0
- package/dist/lib/models/PersistentEnemy.d.mts +1 -1
- package/dist/lib/models/PersistentEnemy.mjs +62 -0
- package/dist/lib/models/Reward.d.mts +1 -1
- package/dist/lib/models/Reward.mjs +50 -0
- package/dist/lib/models/SentientOutpost.d.mts +1 -1
- package/dist/lib/models/SentientOutpost.mjs +44 -0
- package/dist/lib/models/Simaris.d.mts +1 -1
- package/dist/lib/models/Simaris.mjs +13 -0
- package/dist/lib/models/Sortie.d.mts +1 -1
- package/dist/lib/models/Sortie.mjs +44 -0
- package/dist/lib/models/SortieVariant.d.mts +1 -1
- package/dist/lib/models/SortieVariant.mjs +33 -0
- package/dist/lib/models/SteelPathOffering.d.mts +1 -1
- package/dist/lib/models/SteelPathOffering.mjs +83 -0
- package/dist/lib/models/SyndicateJob.d.mts +1 -1
- package/dist/lib/models/SyndicateJob.mjs +73 -0
- package/dist/lib/models/SyndicateMission.d.mts +1 -1
- package/dist/lib/models/SyndicateMission.mjs +33 -0
- package/dist/lib/models/Tmp.d.mts +2 -2
- package/dist/lib/models/Tmp.mjs +92 -1
- package/dist/lib/models/VallisCycle.d.mts +1 -1
- package/dist/lib/models/VallisCycle.mjs +13 -0
- package/dist/lib/models/VoidTrader.d.mts +1 -1
- package/dist/lib/models/VoidTrader.mjs +54 -0
- package/dist/lib/models/VoidTraderItem.d.mts +1 -1
- package/dist/lib/models/VoidTraderItem.mjs +25 -0
- package/dist/lib/models/VoidTraderSchedule.d.mts +1 -1
- package/dist/lib/models/VoidTraderSchedule.mjs +19 -0
- package/dist/lib/models/WeeklyChallenge.d.mts +1 -1
- package/dist/lib/models/WeeklyChallenge.mjs +17 -0
- package/dist/lib/models/WorldEvent.d.mts +1 -1
- package/dist/lib/models/WorldEvent.mjs +263 -0
- package/dist/lib/models/WorldStateObject.d.mts +1 -1
- package/dist/lib/models/WorldStateObject.mjs +28 -0
- package/dist/lib/models/ZarimanCycle.d.mts +1 -1
- package/dist/lib/models/ZarimanCycle.mjs +18 -0
- package/dist/lib/models/index.d.mts +18 -18
- package/dist/lib/models/index.mjs +3 -3
- package/dist/lib/supporting/Dependency.d.mts +1 -1
- package/dist/lib/supporting/DuviriChoice.d.mts +1 -1
- package/dist/lib/supporting/DuviriChoice.mjs +31 -0
- package/dist/lib/supporting/ExternalMission.d.mts +2 -2
- package/dist/lib/supporting/ExternalMission.mjs +228 -1
- package/dist/lib/supporting/FetchProxy.d.mts +1 -1
- package/dist/lib/supporting/ImgCdn.d.mts +1 -1
- package/dist/lib/supporting/KuvaLogEntry.d.mts +1 -1
- package/dist/lib/supporting/RewardData.d.mts +1 -1
- package/dist/lib/supporting/RewardTypes.d.mts +1 -1
- package/dist/lib/supporting/index.d.mts +9 -9
- package/dist/lib/supporting/index.mjs +2 -1
- package/dist/main.d.mts +25 -25
- package/dist/main.mjs +7 -6
- package/package.json +7 -1
- package/dist/ExternalMission-CT__oi7Q.d.mts +0 -49
- /package/dist/{FetchProxy-DHSI4JPP.d.mts → FetchProxy-Bgoi37sM.d.mts} +0 -0
- /package/dist/{ImgCdn-DIhZrwap.d.mts → ImgCdn-By4Qj9kk.d.mts} +0 -0
- /package/dist/{Kinepage-CKBuvbv5.d.mts → Kinepage-BDZm950n.d.mts} +0 -0
- /package/dist/{KuvaLogEntry-f4ZBn2Xf.d.mts → KuvaLogEntry-B0SaM7MX.d.mts} +0 -0
- /package/dist/{RewardData-BdtdUFnh.d.mts → RewardData-B5TstL-h.d.mts} +0 -0
- /package/dist/{RewardTypes-BnGaD7VF.d.mts → RewardTypes-DMW4dYrB.d.mts} +0 -0
- /package/dist/{WorldStateObject-C2KjQZjd.d.mts → WorldStateObject-BgeCocs9.d.mts} +0 -0
|
@@ -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/ZarimanCycle.ts
|
|
4
7
|
const corpusTimeMillis = 16551828e5;
|
|
@@ -73,5 +76,20 @@ var ZarimanCycle = class extends WorldStateObject {
|
|
|
73
76
|
return `${this.timeLeft.replace(/\s\d*s/gi, "")} to ${this.isCorpus ? "grineer" : "corpus"}`;
|
|
74
77
|
}
|
|
75
78
|
};
|
|
79
|
+
__decorate([
|
|
80
|
+
ApiProperty({ description: "Whether or not it is currently Corpus (false = Grineer)" }),
|
|
81
|
+
IsBoolean(),
|
|
82
|
+
__decorateMetadata("design:type", Boolean)
|
|
83
|
+
], ZarimanCycle.prototype, "isCorpus", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
ApiProperty({ description: "Current cycle state. One of 'corpus', 'grineer'" }),
|
|
86
|
+
IsString(),
|
|
87
|
+
__decorateMetadata("design:type", String)
|
|
88
|
+
], ZarimanCycle.prototype, "state", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
ApiProperty({ description: "Time remaining in the current cycle" }),
|
|
91
|
+
IsString(),
|
|
92
|
+
__decorateMetadata("design:type", String)
|
|
93
|
+
], ZarimanCycle.prototype, "timeLeft", void 0);
|
|
76
94
|
//#endregion
|
|
77
95
|
export { ZarimanCycle };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { n as Identifier, r as WorldStateObject, t as BaseContentObject } from "../../WorldStateObject-
|
|
3
|
-
import { i as RawDay, n as DayEvent, r as RawCalender, t as Calendar } from "../../Calendar-
|
|
4
|
-
import { n as CurrentCetusCycle, t as CetusCycle } from "../../CetusCycle-
|
|
5
|
-
import { t as CambionCycle } from "../../CambionCycle-
|
|
6
|
-
import { t as ConstructionProgress } from "../../ConstructionProgress-
|
|
7
|
-
import { n as RawDarkSectorBattle, t as DarkSectorBattle } from "../../DarkSectorBattle-
|
|
8
|
-
import { n as EarthCycleType, t as EarthCycle } from "../../EarthCycle-
|
|
9
|
-
import { t as Kinepage } from "../../Kinepage-
|
|
10
|
-
import { t as MidrathCycle } from "../../MidrathCycle-
|
|
11
|
-
import { n as RawNews, t as News } from "../../News-
|
|
12
|
-
import { n as RawNightwaveChallenge, t as NightwaveChallenge } from "../../NightwaveChallenge-
|
|
13
|
-
import { n as RawNightwave, t as Nightwave } from "../../Nightwave-
|
|
14
|
-
import { n as RawPersistentEnemy, t as PersistentEnemy } from "../../PersistentEnemy-
|
|
15
|
-
import { n as SteelPathOfferings, t as Incursion } from "../../SteelPathOffering-
|
|
16
|
-
import { t as VallisCycle } from "../../VallisCycle-
|
|
17
|
-
import { n as ZarimanCycle, t as CurrentZarimanCycle } from "../../ZarimanCycle-
|
|
18
|
-
export { Alert, Archimedea, ArchimedeaMission, ArchimedeaMissionDifficulty, ArchimedeaMissionDifficultyRisk, BaseContentObject, Calendar, CambionCycle, CetusCycle, ChallengeInstance, ConclaveChallenge, ConstructionProgress, CurrentCetusCycle, CurrentZarimanCycle, DailyDeal, DarkSector, DarkSectorBattle, DayEvent, DeepArchimedea, DefenderInfo, Difficulty, DuviriCycle, EarthCycle, EarthCycleType, Fissure, FlashSale, GlobalUpgrade, Identifier, Incursion, InitialTmp, InterimRewardMessage, InterimStep, Invasion, InvasionParticipant, Kinepage, Kuva, LibraryInfo, MidrathCycle, Mission, News, Nightwave, NightwaveChallenge, OutpostMission, PersistentEnemy, ProgressStep, RawAlert, RawArchimedea, RawArchimedeaMission, RawCalender, RawChallenge, RawChallengeInstance, RawDailyDeal, RawDarkSector, RawDarkSectorBattle, RawDay, RawFissure, RawFlashSale, RawGlobalUpgrade, RawInvasion, RawMission, RawNews, RawNightwave, RawNightwaveChallenge, RawPersistentEnemy, RawReward, RawSortie, RawSortieVariant, RawSyndicateJob, RawSyndicateMission, RawVoidTrader, RawVoidTraderItem, RawWeeklyChallenge, RawWorldEvent, Reward, RewardDrop, SentientOutpost, Simaris, Sortie, SortieVariant, SteelPathOfferings, SyndicateJob, SyndicateMission, Tmp, VallisCycle, VoidTrader, VoidTraderItem, VoidTraderSchedule, WeeklyChallenge, WorldEvent, WorldStateObject, ZarimanCycle, getItemType, getItemTypeFull };
|
|
1
|
+
import { $ as ArchimedeaMissionDifficultyRisk, A as Kuva, B as DuviriCycle, C as Sortie, D as Simaris, E as LibraryInfo, F as RawGlobalUpgrade, G as RawDailyDeal, H as DefenderInfo, I as FlashSale, J as ChallengeInstance, K as ConclaveChallenge, L as RawFlashSale, M as InvasionParticipant, N as RawInvasion, O as OutpostMission, P as GlobalUpgrade, Q as ArchimedeaMissionDifficulty, R as Fissure, S as RawSortie, T as SortieVariant, U as RawDarkSector, V as DarkSector, W as DailyDeal, X as Archimedea, Y as RawChallengeInstance, Z as ArchimedeaMission, _ as RawSyndicateMission, a as WorldEvent, at as Alert, b as RewardDrop, c as RawVoidTrader, ct as RawMission, d as RawVoidTraderItem, dt as getItemType, et as DeepArchimedea, f as VoidTraderItem, ft as getItemTypeFull, g as Tmp, h as QuestProgress, i as RawWorldEvent, it as RawArchimedeaMission, j as Invasion, k as SentientOutpost, l as VoidTrader, lt as RawReward, m as InitialTmp, n as InterimStep, nt as PersonalModifier, o as RawWeeklyChallenge, ot as RawAlert, p as FaceoffBonus, q as RawChallenge, r as ProgressStep, rt as RawArchimedea, s as WeeklyChallenge, st as Mission, t as InterimRewardMessage, tt as Difficulty, u as VoidTraderSchedule, ut as Reward, v as SyndicateMission, w as RawSortieVariant, x as SyndicateJob, y as RawSyndicateJob, z as RawFissure } from "../../index-BiofND5v.mjs";
|
|
2
|
+
import { n as Identifier, r as WorldStateObject, t as BaseContentObject } from "../../WorldStateObject-BgeCocs9.mjs";
|
|
3
|
+
import { i as RawDay, n as DayEvent, r as RawCalender, t as Calendar } from "../../Calendar-C99Wr_NC.mjs";
|
|
4
|
+
import { n as CurrentCetusCycle, t as CetusCycle } from "../../CetusCycle-sbJ_VYPO.mjs";
|
|
5
|
+
import { t as CambionCycle } from "../../CambionCycle-CEVo0BPO.mjs";
|
|
6
|
+
import { t as ConstructionProgress } from "../../ConstructionProgress-CffeDtau.mjs";
|
|
7
|
+
import { n as RawDarkSectorBattle, t as DarkSectorBattle } from "../../DarkSectorBattle-DwaJyGk3.mjs";
|
|
8
|
+
import { n as EarthCycleType, t as EarthCycle } from "../../EarthCycle-BsMMsVT4.mjs";
|
|
9
|
+
import { t as Kinepage } from "../../Kinepage-BDZm950n.mjs";
|
|
10
|
+
import { t as MidrathCycle } from "../../MidrathCycle-UgLh7wgF.mjs";
|
|
11
|
+
import { n as RawNews, t as News } from "../../News-CmoQ_nEf.mjs";
|
|
12
|
+
import { n as RawNightwaveChallenge, t as NightwaveChallenge } from "../../NightwaveChallenge-C6J7ymli.mjs";
|
|
13
|
+
import { n as RawNightwave, t as Nightwave } from "../../Nightwave-BBRJbyr8.mjs";
|
|
14
|
+
import { n as RawPersistentEnemy, t as PersistentEnemy } from "../../PersistentEnemy-WkvIZ9Mx.mjs";
|
|
15
|
+
import { n as SteelPathOfferings, t as Incursion } from "../../SteelPathOffering-K2Ji4d5c.mjs";
|
|
16
|
+
import { t as VallisCycle } from "../../VallisCycle-BTYgGev7.mjs";
|
|
17
|
+
import { n as ZarimanCycle, t as CurrentZarimanCycle } from "../../ZarimanCycle-D4YCSLmR.mjs";
|
|
18
|
+
export { Alert, Archimedea, ArchimedeaMission, ArchimedeaMissionDifficulty, ArchimedeaMissionDifficultyRisk, BaseContentObject, Calendar, CambionCycle, CetusCycle, ChallengeInstance, ConclaveChallenge, ConstructionProgress, CurrentCetusCycle, CurrentZarimanCycle, DailyDeal, DarkSector, DarkSectorBattle, DayEvent, DeepArchimedea, DefenderInfo, Difficulty, DuviriCycle, EarthCycle, EarthCycleType, FaceoffBonus, Fissure, FlashSale, GlobalUpgrade, Identifier, Incursion, InitialTmp, InterimRewardMessage, InterimStep, Invasion, InvasionParticipant, Kinepage, Kuva, LibraryInfo, MidrathCycle, Mission, News, Nightwave, NightwaveChallenge, OutpostMission, PersistentEnemy, PersonalModifier, ProgressStep, QuestProgress, RawAlert, RawArchimedea, RawArchimedeaMission, RawCalender, RawChallenge, RawChallengeInstance, RawDailyDeal, RawDarkSector, RawDarkSectorBattle, RawDay, RawFissure, RawFlashSale, RawGlobalUpgrade, RawInvasion, RawMission, RawNews, RawNightwave, RawNightwaveChallenge, RawPersistentEnemy, RawReward, RawSortie, RawSortieVariant, RawSyndicateJob, RawSyndicateMission, RawVoidTrader, RawVoidTraderItem, RawWeeklyChallenge, RawWorldEvent, Reward, RewardDrop, SentientOutpost, Simaris, Sortie, SortieVariant, SteelPathOfferings, SyndicateJob, SyndicateMission, Tmp, VallisCycle, VoidTrader, VoidTraderItem, VoidTraderSchedule, WeeklyChallenge, WorldEvent, WorldStateObject, ZarimanCycle, getItemType, getItemTypeFull };
|
|
@@ -2,7 +2,7 @@ import { Reward, getItemType, getItemTypeFull } from "./Reward.mjs";
|
|
|
2
2
|
import { Mission } from "./Mission.mjs";
|
|
3
3
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
4
4
|
import { Alert } from "./Alert.mjs";
|
|
5
|
-
import { Archimedea, ArchimedeaMission } from "./Archimedea.mjs";
|
|
5
|
+
import { Archimedea, ArchimedeaMission, ArchimedeaMissionDifficulty, ArchimedeaMissionDifficultyRisk, PersonalModifier } from "./Archimedea.mjs";
|
|
6
6
|
import { Calendar, DayEvent } from "./Calendar.mjs";
|
|
7
7
|
import { CambionCycle } from "./CambionCycle.mjs";
|
|
8
8
|
import { CetusCycle } from "./CetusCycle.mjs";
|
|
@@ -32,7 +32,7 @@ import { Sortie } from "./Sortie.mjs";
|
|
|
32
32
|
import { SteelPathOfferings } from "./SteelPathOffering.mjs";
|
|
33
33
|
import { SyndicateJob } from "./SyndicateJob.mjs";
|
|
34
34
|
import { SyndicateMission } from "./SyndicateMission.mjs";
|
|
35
|
-
import { Tmp } from "./Tmp.mjs";
|
|
35
|
+
import { FaceoffBonus, QuestProgress, Tmp } from "./Tmp.mjs";
|
|
36
36
|
import { VallisCycle } from "./VallisCycle.mjs";
|
|
37
37
|
import { VoidTraderItem } from "./VoidTraderItem.mjs";
|
|
38
38
|
import { VoidTraderSchedule } from "./VoidTraderSchedule.mjs";
|
|
@@ -40,4 +40,4 @@ import { VoidTrader } from "./VoidTrader.mjs";
|
|
|
40
40
|
import { WeeklyChallenge } from "./WeeklyChallenge.mjs";
|
|
41
41
|
import { WorldEvent } from "./WorldEvent.mjs";
|
|
42
42
|
import { ZarimanCycle } from "./ZarimanCycle.mjs";
|
|
43
|
-
export { Alert, Archimedea, ArchimedeaMission, Calendar, CambionCycle, CetusCycle, ChallengeInstance, ConclaveChallenge, ConstructionProgress, DailyDeal, DarkSector, DarkSectorBattle, DayEvent, DuviriCycle, EarthCycle, Fissure, FlashSale, GlobalUpgrade, Invasion, Kinepage, Kuva, MidrathCycle, Mission, News, Nightwave, NightwaveChallenge, PersistentEnemy, Reward, SentientOutpost, Simaris, Sortie, SortieVariant, SteelPathOfferings, SyndicateJob, SyndicateMission, Tmp, VallisCycle, VoidTrader, VoidTraderItem, VoidTraderSchedule, WeeklyChallenge, WorldEvent, WorldStateObject, ZarimanCycle, getItemType, getItemTypeFull };
|
|
43
|
+
export { Alert, Archimedea, ArchimedeaMission, ArchimedeaMissionDifficulty, ArchimedeaMissionDifficultyRisk, Calendar, CambionCycle, CetusCycle, ChallengeInstance, ConclaveChallenge, ConstructionProgress, DailyDeal, DarkSector, DarkSectorBattle, DayEvent, DuviriCycle, EarthCycle, FaceoffBonus, Fissure, FlashSale, GlobalUpgrade, Invasion, Kinepage, Kuva, MidrathCycle, Mission, News, Nightwave, NightwaveChallenge, PersistentEnemy, PersonalModifier, QuestProgress, Reward, SentientOutpost, Simaris, Sortie, SortieVariant, SteelPathOfferings, SyndicateJob, SyndicateMission, Tmp, VallisCycle, VoidTrader, VoidTraderItem, VoidTraderSchedule, WeeklyChallenge, WorldEvent, WorldStateObject, ZarimanCycle, getItemType, getItemTypeFull };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Dependency } from "../../Dependency-
|
|
1
|
+
import { t as Dependency } from "../../Dependency-CtryMjKU.mjs";
|
|
2
2
|
export { Dependency };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mt as RawChoice, pt as DuviriChoice } from "../../index-BiofND5v.mjs";
|
|
2
2
|
export { DuviriChoice, RawChoice };
|
|
@@ -1,10 +1,22 @@
|
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
2
|
+
import { ApiProperty } from "@nestjs/swagger";
|
|
3
|
+
import { IsArray, IsString } from "class-validator";
|
|
1
4
|
//#region lib/supporting/DuviriChoice.ts
|
|
2
5
|
/**
|
|
3
6
|
* Single category of duviri choices
|
|
4
7
|
*/
|
|
5
8
|
var DuviriChoice = class {
|
|
9
|
+
/**
|
|
10
|
+
* Category of the choice. One of 'normal', 'hard'
|
|
11
|
+
*/
|
|
6
12
|
category;
|
|
13
|
+
/**
|
|
14
|
+
* Raw category key from the API
|
|
15
|
+
*/
|
|
7
16
|
categoryKey;
|
|
17
|
+
/**
|
|
18
|
+
* Array of available choices
|
|
19
|
+
*/
|
|
8
20
|
choices;
|
|
9
21
|
constructor(data) {
|
|
10
22
|
switch (data.Category) {
|
|
@@ -20,5 +32,24 @@ var DuviriChoice = class {
|
|
|
20
32
|
this.choices = data.Choices;
|
|
21
33
|
}
|
|
22
34
|
};
|
|
35
|
+
__decorate([
|
|
36
|
+
ApiProperty({ description: "Category of the choice. One of 'normal', 'hard'" }),
|
|
37
|
+
IsString(),
|
|
38
|
+
__decorateMetadata("design:type", String)
|
|
39
|
+
], DuviriChoice.prototype, "category", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
ApiProperty({ description: "Raw category key from the API" }),
|
|
42
|
+
IsString(),
|
|
43
|
+
__decorateMetadata("design:type", String)
|
|
44
|
+
], DuviriChoice.prototype, "categoryKey", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
ApiProperty({
|
|
47
|
+
description: "Array of available choices",
|
|
48
|
+
type: [String]
|
|
49
|
+
}),
|
|
50
|
+
IsArray(),
|
|
51
|
+
IsString({ each: true }),
|
|
52
|
+
__decorateMetadata("design:type", Array)
|
|
53
|
+
], DuviriChoice.prototype, "choices", void 0);
|
|
23
54
|
//#endregion
|
|
24
55
|
export { DuviriChoice };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ExternalMission } from "../../ExternalMission-
|
|
2
|
-
export { ExternalMission };
|
|
1
|
+
import { n as ExternalMissionClass, t as ExternalMission } from "../../ExternalMission-Be-eX0Pc.mjs";
|
|
2
|
+
export { ExternalMission, ExternalMissionClass };
|
|
@@ -1 +1,228 @@
|
|
|
1
|
-
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
3
|
+
import { Type } from "class-transformer";
|
|
4
|
+
import { IsBoolean, IsDate, IsOptional, IsString } from "class-validator";
|
|
5
|
+
//#region lib/supporting/ExternalMission.ts
|
|
6
|
+
var _ref, _ref2, _ref3, _ref4;
|
|
7
|
+
/**
|
|
8
|
+
* External mission data retrieved from https://10o.io/kuvalog.json
|
|
9
|
+
*/
|
|
10
|
+
var ExternalMission = class {
|
|
11
|
+
id;
|
|
12
|
+
/**
|
|
13
|
+
* start time
|
|
14
|
+
*/
|
|
15
|
+
activation;
|
|
16
|
+
/**
|
|
17
|
+
* end timer
|
|
18
|
+
*/
|
|
19
|
+
expiry;
|
|
20
|
+
/**
|
|
21
|
+
* formatted node name with planet
|
|
22
|
+
*/
|
|
23
|
+
node;
|
|
24
|
+
/**
|
|
25
|
+
* Untranslated formatted node name with planet
|
|
26
|
+
*/
|
|
27
|
+
nodeKey;
|
|
28
|
+
/**
|
|
29
|
+
* Enemy on tile
|
|
30
|
+
*/
|
|
31
|
+
enemy;
|
|
32
|
+
/**
|
|
33
|
+
* Mission type of node
|
|
34
|
+
*/
|
|
35
|
+
type;
|
|
36
|
+
/**
|
|
37
|
+
* Untranslated node mission type
|
|
38
|
+
*/
|
|
39
|
+
typeKey;
|
|
40
|
+
/**
|
|
41
|
+
* whether or not the tile requires archwing
|
|
42
|
+
*/
|
|
43
|
+
archwing;
|
|
44
|
+
/**
|
|
45
|
+
* whether or not the tile requires sharkwing
|
|
46
|
+
*/
|
|
47
|
+
sharkwing;
|
|
48
|
+
/**
|
|
49
|
+
* Whether the mission is expired at the time of creation or not
|
|
50
|
+
*/
|
|
51
|
+
expired;
|
|
52
|
+
};
|
|
53
|
+
__decorate([
|
|
54
|
+
ApiProperty({ description: "Mission ID" }),
|
|
55
|
+
IsString(),
|
|
56
|
+
__decorateMetadata("design:type", String)
|
|
57
|
+
], ExternalMission.prototype, "id", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
ApiProperty({
|
|
60
|
+
description: "Start time",
|
|
61
|
+
type: Date
|
|
62
|
+
}),
|
|
63
|
+
IsDate(),
|
|
64
|
+
Type(() => Date),
|
|
65
|
+
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
66
|
+
], ExternalMission.prototype, "activation", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
ApiProperty({
|
|
69
|
+
description: "End time",
|
|
70
|
+
type: Date
|
|
71
|
+
}),
|
|
72
|
+
IsDate(),
|
|
73
|
+
Type(() => Date),
|
|
74
|
+
__decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
|
|
75
|
+
], ExternalMission.prototype, "expiry", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
ApiProperty({ description: "Formatted node name with planet" }),
|
|
78
|
+
IsString(),
|
|
79
|
+
__decorateMetadata("design:type", String)
|
|
80
|
+
], ExternalMission.prototype, "node", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
ApiProperty({ description: "Untranslated formatted node name with planet" }),
|
|
83
|
+
IsString(),
|
|
84
|
+
__decorateMetadata("design:type", String)
|
|
85
|
+
], ExternalMission.prototype, "nodeKey", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
ApiPropertyOptional({ description: "Enemy on tile" }),
|
|
88
|
+
IsOptional(),
|
|
89
|
+
IsString(),
|
|
90
|
+
__decorateMetadata("design:type", String)
|
|
91
|
+
], ExternalMission.prototype, "enemy", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
ApiProperty({ description: "Mission type of node" }),
|
|
94
|
+
IsString(),
|
|
95
|
+
__decorateMetadata("design:type", String)
|
|
96
|
+
], ExternalMission.prototype, "type", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
ApiProperty({ description: "Untranslated node mission type" }),
|
|
99
|
+
IsString(),
|
|
100
|
+
__decorateMetadata("design:type", String)
|
|
101
|
+
], ExternalMission.prototype, "typeKey", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
ApiProperty({ description: "Whether or not the tile requires archwing" }),
|
|
104
|
+
IsBoolean(),
|
|
105
|
+
__decorateMetadata("design:type", Boolean)
|
|
106
|
+
], ExternalMission.prototype, "archwing", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
ApiProperty({ description: "Whether or not the tile requires sharkwing" }),
|
|
109
|
+
IsBoolean(),
|
|
110
|
+
__decorateMetadata("design:type", Boolean)
|
|
111
|
+
], ExternalMission.prototype, "sharkwing", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
ApiProperty({ description: "Whether the mission is expired at the time of creation or not" }),
|
|
114
|
+
IsBoolean(),
|
|
115
|
+
__decorateMetadata("design:type", Boolean)
|
|
116
|
+
], ExternalMission.prototype, "expired", void 0);
|
|
117
|
+
/**
|
|
118
|
+
* External mission data retrieved from https://10o.io/kuvalog.json - Class version for OpenAPI
|
|
119
|
+
*/
|
|
120
|
+
var ExternalMissionClass = class {
|
|
121
|
+
id;
|
|
122
|
+
/**
|
|
123
|
+
* start time
|
|
124
|
+
*/
|
|
125
|
+
activation;
|
|
126
|
+
/**
|
|
127
|
+
* end timer
|
|
128
|
+
*/
|
|
129
|
+
expiry;
|
|
130
|
+
/**
|
|
131
|
+
* formatted node name with planet
|
|
132
|
+
*/
|
|
133
|
+
node;
|
|
134
|
+
/**
|
|
135
|
+
* Untranslated formatted node name with planet
|
|
136
|
+
*/
|
|
137
|
+
nodeKey;
|
|
138
|
+
/**
|
|
139
|
+
* Enemy on tile
|
|
140
|
+
*/
|
|
141
|
+
enemy;
|
|
142
|
+
/**
|
|
143
|
+
* Mission type of node
|
|
144
|
+
*/
|
|
145
|
+
type;
|
|
146
|
+
/**
|
|
147
|
+
* Untranslated node mission type
|
|
148
|
+
*/
|
|
149
|
+
typeKey;
|
|
150
|
+
/**
|
|
151
|
+
* whether or not the tile requires archwing
|
|
152
|
+
*/
|
|
153
|
+
archwing;
|
|
154
|
+
/**
|
|
155
|
+
* whether or not the tile requires sharkwing
|
|
156
|
+
*/
|
|
157
|
+
sharkwing;
|
|
158
|
+
/**
|
|
159
|
+
* Whether the mission is expired at the time of creation or not
|
|
160
|
+
*/
|
|
161
|
+
expired;
|
|
162
|
+
};
|
|
163
|
+
__decorate([
|
|
164
|
+
ApiProperty({ description: "Mission ID" }),
|
|
165
|
+
IsString(),
|
|
166
|
+
__decorateMetadata("design:type", String)
|
|
167
|
+
], ExternalMissionClass.prototype, "id", void 0);
|
|
168
|
+
__decorate([
|
|
169
|
+
ApiProperty({
|
|
170
|
+
description: "Start time",
|
|
171
|
+
type: Date
|
|
172
|
+
}),
|
|
173
|
+
IsDate(),
|
|
174
|
+
Type(() => Date),
|
|
175
|
+
__decorateMetadata("design:type", typeof (_ref3 = typeof Date !== "undefined" && Date) === "function" ? _ref3 : Object)
|
|
176
|
+
], ExternalMissionClass.prototype, "activation", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
ApiProperty({
|
|
179
|
+
description: "End time",
|
|
180
|
+
type: Date
|
|
181
|
+
}),
|
|
182
|
+
IsDate(),
|
|
183
|
+
Type(() => Date),
|
|
184
|
+
__decorateMetadata("design:type", typeof (_ref4 = typeof Date !== "undefined" && Date) === "function" ? _ref4 : Object)
|
|
185
|
+
], ExternalMissionClass.prototype, "expiry", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
ApiProperty({ description: "Formatted node name with planet" }),
|
|
188
|
+
IsString(),
|
|
189
|
+
__decorateMetadata("design:type", String)
|
|
190
|
+
], ExternalMissionClass.prototype, "node", void 0);
|
|
191
|
+
__decorate([
|
|
192
|
+
ApiProperty({ description: "Untranslated formatted node name with planet" }),
|
|
193
|
+
IsString(),
|
|
194
|
+
__decorateMetadata("design:type", String)
|
|
195
|
+
], ExternalMissionClass.prototype, "nodeKey", void 0);
|
|
196
|
+
__decorate([
|
|
197
|
+
ApiPropertyOptional({ description: "Enemy on tile" }),
|
|
198
|
+
IsOptional(),
|
|
199
|
+
IsString(),
|
|
200
|
+
__decorateMetadata("design:type", String)
|
|
201
|
+
], ExternalMissionClass.prototype, "enemy", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
ApiProperty({ description: "Mission type of node" }),
|
|
204
|
+
IsString(),
|
|
205
|
+
__decorateMetadata("design:type", String)
|
|
206
|
+
], ExternalMissionClass.prototype, "type", void 0);
|
|
207
|
+
__decorate([
|
|
208
|
+
ApiProperty({ description: "Untranslated node mission type" }),
|
|
209
|
+
IsString(),
|
|
210
|
+
__decorateMetadata("design:type", String)
|
|
211
|
+
], ExternalMissionClass.prototype, "typeKey", void 0);
|
|
212
|
+
__decorate([
|
|
213
|
+
ApiProperty({ description: "Whether or not the tile requires archwing" }),
|
|
214
|
+
IsBoolean(),
|
|
215
|
+
__decorateMetadata("design:type", Boolean)
|
|
216
|
+
], ExternalMissionClass.prototype, "archwing", void 0);
|
|
217
|
+
__decorate([
|
|
218
|
+
ApiProperty({ description: "Whether or not the tile requires sharkwing" }),
|
|
219
|
+
IsBoolean(),
|
|
220
|
+
__decorateMetadata("design:type", Boolean)
|
|
221
|
+
], ExternalMissionClass.prototype, "sharkwing", void 0);
|
|
222
|
+
__decorate([
|
|
223
|
+
ApiProperty({ description: "Whether the mission is expired at the time of creation or not" }),
|
|
224
|
+
IsBoolean(),
|
|
225
|
+
__decorateMetadata("design:type", Boolean)
|
|
226
|
+
], ExternalMissionClass.prototype, "expired", void 0);
|
|
227
|
+
//#endregion
|
|
228
|
+
export { ExternalMission, ExternalMissionClass };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as fetchProxy } from "../../FetchProxy-
|
|
1
|
+
import { t as fetchProxy } from "../../FetchProxy-Bgoi37sM.mjs";
|
|
2
2
|
export { fetchProxy };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as deProxy, r as wfCdn, t as cdn } from "../../ImgCdn-
|
|
1
|
+
import { n as deProxy, r as wfCdn, t as cdn } from "../../ImgCdn-By4Qj9kk.mjs";
|
|
2
2
|
export { cdn, deProxy, wfCdn };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SolnodeData, t as KuvaLogEntry } from "../../KuvaLogEntry-
|
|
1
|
+
import { n as SolnodeData, t as KuvaLogEntry } from "../../KuvaLogEntry-B0SaM7MX.mjs";
|
|
2
2
|
export { KuvaLogEntry, SolnodeData };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as resources, n as auras, r as nightmare, t as _default } from "../../RewardData-
|
|
1
|
+
import { i as resources, n as auras, r as nightmare, t as _default } from "../../RewardData-B5TstL-h.mjs";
|
|
2
2
|
export { auras, _default as default, nightmare, resources };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _default, t as RewardType } from "../../RewardTypes-
|
|
1
|
+
import { n as _default, t as RewardType } from "../../RewardTypes-DMW4dYrB.mjs";
|
|
2
2
|
export { RewardType, _default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as SolnodeData, t as KuvaLogEntry } from "../../KuvaLogEntry-
|
|
2
|
-
import { t as Dependency } from "../../Dependency-
|
|
3
|
-
import {
|
|
4
|
-
import { t as ExternalMission } from "../../ExternalMission-
|
|
5
|
-
import { t as fetchProxy } from "../../FetchProxy-
|
|
6
|
-
import { n as deProxy, r as wfCdn, t as cdn } from "../../ImgCdn-
|
|
7
|
-
import { i as resources, n as auras, r as nightmare } from "../../RewardData-
|
|
8
|
-
import { t as RewardType } from "../../RewardTypes-
|
|
9
|
-
export { Dependency, DuviriChoice, ExternalMission, KuvaLogEntry, RawChoice, RewardType, SolnodeData, auras, cdn, deProxy, fetchProxy, nightmare, resources, wfCdn };
|
|
1
|
+
import { n as SolnodeData, t as KuvaLogEntry } from "../../KuvaLogEntry-B0SaM7MX.mjs";
|
|
2
|
+
import { t as Dependency } from "../../Dependency-CtryMjKU.mjs";
|
|
3
|
+
import { mt as RawChoice, pt as DuviriChoice } from "../../index-BiofND5v.mjs";
|
|
4
|
+
import { n as ExternalMissionClass, t as ExternalMission } from "../../ExternalMission-Be-eX0Pc.mjs";
|
|
5
|
+
import { t as fetchProxy } from "../../FetchProxy-Bgoi37sM.mjs";
|
|
6
|
+
import { n as deProxy, r as wfCdn, t as cdn } from "../../ImgCdn-By4Qj9kk.mjs";
|
|
7
|
+
import { i as resources, n as auras, r as nightmare } from "../../RewardData-B5TstL-h.mjs";
|
|
8
|
+
import { t as RewardType } from "../../RewardTypes-DMW4dYrB.mjs";
|
|
9
|
+
export { Dependency, DuviriChoice, ExternalMission, ExternalMissionClass, KuvaLogEntry, RawChoice, RewardType, SolnodeData, auras, cdn, deProxy, fetchProxy, nightmare, resources, wfCdn };
|
|
@@ -2,5 +2,6 @@ import { cdn, deProxy, wfCdn } from "./ImgCdn.mjs";
|
|
|
2
2
|
import { auras, nightmare, resources } from "./RewardData.mjs";
|
|
3
3
|
import "./RewardTypes.mjs";
|
|
4
4
|
import { DuviriChoice } from "./DuviriChoice.mjs";
|
|
5
|
+
import { ExternalMission, ExternalMissionClass } from "./ExternalMission.mjs";
|
|
5
6
|
import { fetchProxy } from "./FetchProxy.mjs";
|
|
6
|
-
export { DuviriChoice, auras, cdn, deProxy, fetchProxy, nightmare, resources, wfCdn };
|
|
7
|
+
export { DuviriChoice, ExternalMission, ExternalMissionClass, auras, cdn, deProxy, fetchProxy, nightmare, resources, wfCdn };
|
package/dist/main.d.mts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { n as SolnodeData, t as KuvaLogEntry } from "./KuvaLogEntry-
|
|
2
|
-
import { t as Dependency } from "./Dependency-
|
|
3
|
-
import { $ as
|
|
4
|
-
import { t as ExternalMission } from "./ExternalMission-
|
|
5
|
-
import { t as fetchProxy } from "./FetchProxy-
|
|
6
|
-
import { n as deProxy, r as wfCdn, t as cdn } from "./ImgCdn-
|
|
7
|
-
import { i as resources, n as auras, r as nightmare } from "./RewardData-
|
|
8
|
-
import { t as RewardType } from "./RewardTypes-
|
|
9
|
-
import { n as Identifier, r as WorldStateObject, t as BaseContentObject } from "./WorldStateObject-
|
|
10
|
-
import { i as RawDay, n as DayEvent, r as RawCalender, t as Calendar } from "./Calendar-
|
|
11
|
-
import { n as CurrentCetusCycle, t as CetusCycle } from "./CetusCycle-
|
|
12
|
-
import { t as CambionCycle } from "./CambionCycle-
|
|
13
|
-
import { t as ConstructionProgress } from "./ConstructionProgress-
|
|
14
|
-
import { n as RawDarkSectorBattle, t as DarkSectorBattle } from "./DarkSectorBattle-
|
|
15
|
-
import { n as EarthCycleType, t as EarthCycle } from "./EarthCycle-
|
|
16
|
-
import { t as Kinepage } from "./Kinepage-
|
|
17
|
-
import { t as MidrathCycle } from "./MidrathCycle-
|
|
18
|
-
import { n as RawNews, t as News } from "./News-
|
|
19
|
-
import { n as RawNightwaveChallenge, t as NightwaveChallenge } from "./NightwaveChallenge-
|
|
20
|
-
import { n as RawNightwave, t as Nightwave } from "./Nightwave-
|
|
21
|
-
import { n as RawPersistentEnemy, t as PersistentEnemy } from "./PersistentEnemy-
|
|
22
|
-
import { n as SteelPathOfferings, t as Incursion } from "./SteelPathOffering-
|
|
23
|
-
import { t as VallisCycle } from "./VallisCycle-
|
|
24
|
-
import { n as ZarimanCycle, t as CurrentZarimanCycle } from "./ZarimanCycle-
|
|
1
|
+
import { n as SolnodeData, t as KuvaLogEntry } from "./KuvaLogEntry-B0SaM7MX.mjs";
|
|
2
|
+
import { t as Dependency } from "./Dependency-CtryMjKU.mjs";
|
|
3
|
+
import { $ as ArchimedeaMissionDifficultyRisk, A as Kuva, B as DuviriCycle, C as Sortie, D as Simaris, E as LibraryInfo, F as RawGlobalUpgrade, G as RawDailyDeal, H as DefenderInfo, I as FlashSale, J as ChallengeInstance, K as ConclaveChallenge, L as RawFlashSale, M as InvasionParticipant, N as RawInvasion, O as OutpostMission, P as GlobalUpgrade, Q as ArchimedeaMissionDifficulty, R as Fissure, S as RawSortie, T as SortieVariant, U as RawDarkSector, V as DarkSector, W as DailyDeal, X as Archimedea, Y as RawChallengeInstance, Z as ArchimedeaMission, _ as RawSyndicateMission, a as WorldEvent, at as Alert, b as RewardDrop, c as RawVoidTrader, ct as RawMission, d as RawVoidTraderItem, dt as getItemType, et as DeepArchimedea, f as VoidTraderItem, ft as getItemTypeFull, g as Tmp, h as QuestProgress, i as RawWorldEvent, it as RawArchimedeaMission, j as Invasion, k as SentientOutpost, l as VoidTrader, lt as RawReward, m as InitialTmp, mt as RawChoice, n as InterimStep, nt as PersonalModifier, o as RawWeeklyChallenge, ot as RawAlert, p as FaceoffBonus, pt as DuviriChoice, q as RawChallenge, r as ProgressStep, rt as RawArchimedea, s as WeeklyChallenge, st as Mission, t as InterimRewardMessage, tt as Difficulty, u as VoidTraderSchedule, ut as Reward, v as SyndicateMission, w as RawSortieVariant, x as SyndicateJob, y as RawSyndicateJob, z as RawFissure } from "./index-BiofND5v.mjs";
|
|
4
|
+
import { n as ExternalMissionClass, t as ExternalMission } from "./ExternalMission-Be-eX0Pc.mjs";
|
|
5
|
+
import { t as fetchProxy } from "./FetchProxy-Bgoi37sM.mjs";
|
|
6
|
+
import { n as deProxy, r as wfCdn, t as cdn } from "./ImgCdn-By4Qj9kk.mjs";
|
|
7
|
+
import { i as resources, n as auras, r as nightmare } from "./RewardData-B5TstL-h.mjs";
|
|
8
|
+
import { t as RewardType } from "./RewardTypes-DMW4dYrB.mjs";
|
|
9
|
+
import { n as Identifier, r as WorldStateObject, t as BaseContentObject } from "./WorldStateObject-BgeCocs9.mjs";
|
|
10
|
+
import { i as RawDay, n as DayEvent, r as RawCalender, t as Calendar } from "./Calendar-C99Wr_NC.mjs";
|
|
11
|
+
import { n as CurrentCetusCycle, t as CetusCycle } from "./CetusCycle-sbJ_VYPO.mjs";
|
|
12
|
+
import { t as CambionCycle } from "./CambionCycle-CEVo0BPO.mjs";
|
|
13
|
+
import { t as ConstructionProgress } from "./ConstructionProgress-CffeDtau.mjs";
|
|
14
|
+
import { n as RawDarkSectorBattle, t as DarkSectorBattle } from "./DarkSectorBattle-DwaJyGk3.mjs";
|
|
15
|
+
import { n as EarthCycleType, t as EarthCycle } from "./EarthCycle-BsMMsVT4.mjs";
|
|
16
|
+
import { t as Kinepage } from "./Kinepage-BDZm950n.mjs";
|
|
17
|
+
import { t as MidrathCycle } from "./MidrathCycle-UgLh7wgF.mjs";
|
|
18
|
+
import { n as RawNews, t as News } from "./News-CmoQ_nEf.mjs";
|
|
19
|
+
import { n as RawNightwaveChallenge, t as NightwaveChallenge } from "./NightwaveChallenge-C6J7ymli.mjs";
|
|
20
|
+
import { n as RawNightwave, t as Nightwave } from "./Nightwave-BBRJbyr8.mjs";
|
|
21
|
+
import { n as RawPersistentEnemy, t as PersistentEnemy } from "./PersistentEnemy-WkvIZ9Mx.mjs";
|
|
22
|
+
import { n as SteelPathOfferings, t as Incursion } from "./SteelPathOffering-K2Ji4d5c.mjs";
|
|
23
|
+
import { t as VallisCycle } from "./VallisCycle-BTYgGev7.mjs";
|
|
24
|
+
import { n as ZarimanCycle, t as CurrentZarimanCycle } from "./ZarimanCycle-D4YCSLmR.mjs";
|
|
25
25
|
import { InitialWorldState, WorldState, parseArray, parseAsyncArray } from "./lib/WorldState.mjs";
|
|
26
|
-
export { Alert, Archimedea, ArchimedeaMission, ArchimedeaMissionDifficulty, ArchimedeaMissionDifficultyRisk, BaseContentObject, Calendar, CambionCycle, CetusCycle, ChallengeInstance, ConclaveChallenge, ConstructionProgress, CurrentCetusCycle, CurrentZarimanCycle, DailyDeal, DarkSector, DarkSectorBattle, DayEvent, DeepArchimedea, DefenderInfo, Dependency, Difficulty, DuviriChoice, DuviriCycle, EarthCycle, EarthCycleType, ExternalMission, Fissure, FlashSale, GlobalUpgrade, Identifier, Incursion, InitialTmp, InitialWorldState, InterimRewardMessage, InterimStep, Invasion, InvasionParticipant, Kinepage, Kuva, KuvaLogEntry, LibraryInfo, MidrathCycle, Mission, News, Nightwave, NightwaveChallenge, OutpostMission, PersistentEnemy, ProgressStep, RawAlert, RawArchimedea, RawArchimedeaMission, RawCalender, RawChallenge, RawChallengeInstance, RawChoice, RawDailyDeal, RawDarkSector, RawDarkSectorBattle, RawDay, RawFissure, RawFlashSale, RawGlobalUpgrade, RawInvasion, RawMission, RawNews, RawNightwave, RawNightwaveChallenge, RawPersistentEnemy, RawReward, RawSortie, RawSortieVariant, RawSyndicateJob, RawSyndicateMission, RawVoidTrader, RawVoidTraderItem, RawWeeklyChallenge, RawWorldEvent, Reward, RewardDrop, RewardType, SentientOutpost, Simaris, SolnodeData, Sortie, SortieVariant, SteelPathOfferings, SyndicateJob, SyndicateMission, Tmp, VallisCycle, VoidTrader, VoidTraderItem, VoidTraderSchedule, WeeklyChallenge, WorldEvent, WorldState, WorldState as default, WorldStateObject, ZarimanCycle, auras, cdn, deProxy, fetchProxy, getItemType, getItemTypeFull, nightmare, parseArray, parseAsyncArray, resources, wfCdn };
|
|
26
|
+
export { Alert, Archimedea, ArchimedeaMission, ArchimedeaMissionDifficulty, ArchimedeaMissionDifficultyRisk, BaseContentObject, Calendar, CambionCycle, CetusCycle, ChallengeInstance, ConclaveChallenge, ConstructionProgress, CurrentCetusCycle, CurrentZarimanCycle, DailyDeal, DarkSector, DarkSectorBattle, DayEvent, DeepArchimedea, DefenderInfo, Dependency, Difficulty, DuviriChoice, DuviriCycle, EarthCycle, EarthCycleType, ExternalMission, ExternalMissionClass, FaceoffBonus, Fissure, FlashSale, GlobalUpgrade, Identifier, Incursion, InitialTmp, InitialWorldState, InterimRewardMessage, InterimStep, Invasion, InvasionParticipant, Kinepage, Kuva, KuvaLogEntry, LibraryInfo, MidrathCycle, Mission, News, Nightwave, NightwaveChallenge, OutpostMission, PersistentEnemy, PersonalModifier, ProgressStep, QuestProgress, RawAlert, RawArchimedea, RawArchimedeaMission, RawCalender, RawChallenge, RawChallengeInstance, RawChoice, RawDailyDeal, RawDarkSector, RawDarkSectorBattle, RawDay, RawFissure, RawFlashSale, RawGlobalUpgrade, RawInvasion, RawMission, RawNews, RawNightwave, RawNightwaveChallenge, RawPersistentEnemy, RawReward, RawSortie, RawSortieVariant, RawSyndicateJob, RawSyndicateMission, RawVoidTrader, RawVoidTraderItem, RawWeeklyChallenge, RawWorldEvent, Reward, RewardDrop, RewardType, SentientOutpost, Simaris, SolnodeData, Sortie, SortieVariant, SteelPathOfferings, SyndicateJob, SyndicateMission, Tmp, VallisCycle, VoidTrader, VoidTraderItem, VoidTraderSchedule, WeeklyChallenge, WorldEvent, WorldState, WorldState as default, WorldStateObject, ZarimanCycle, auras, cdn, deProxy, fetchProxy, getItemType, getItemTypeFull, nightmare, parseArray, parseAsyncArray, resources, wfCdn };
|
package/dist/main.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { Reward, getItemType, getItemTypeFull } from "./lib/models/Reward.mjs";
|
|
|
4
4
|
import { Mission } from "./lib/models/Mission.mjs";
|
|
5
5
|
import { WorldStateObject } from "./lib/models/WorldStateObject.mjs";
|
|
6
6
|
import { Alert } from "./lib/models/Alert.mjs";
|
|
7
|
-
import { Archimedea, ArchimedeaMission } from "./lib/models/Archimedea.mjs";
|
|
7
|
+
import { Archimedea, ArchimedeaMission, ArchimedeaMissionDifficulty, ArchimedeaMissionDifficultyRisk, PersonalModifier } from "./lib/models/Archimedea.mjs";
|
|
8
8
|
import { Calendar, DayEvent } from "./lib/models/Calendar.mjs";
|
|
9
9
|
import { CambionCycle } from "./lib/models/CambionCycle.mjs";
|
|
10
10
|
import { CetusCycle } from "./lib/models/CetusCycle.mjs";
|
|
@@ -14,6 +14,7 @@ import { ConstructionProgress } from "./lib/models/ConstructionProgress.mjs";
|
|
|
14
14
|
import { DailyDeal } from "./lib/models/DailyDeal.mjs";
|
|
15
15
|
import { DarkSectorBattle } from "./lib/models/DarkSectorBattle.mjs";
|
|
16
16
|
import { DarkSector } from "./lib/models/DarkSector.mjs";
|
|
17
|
+
import { DuviriChoice } from "./lib/supporting/DuviriChoice.mjs";
|
|
17
18
|
import { DuviriCycle } from "./lib/models/DuviriCycle.mjs";
|
|
18
19
|
import { EarthCycle } from "./lib/models/EarthCycle.mjs";
|
|
19
20
|
import { Fissure } from "./lib/models/Fissure.mjs";
|
|
@@ -21,6 +22,9 @@ import { FlashSale } from "./lib/models/FlashSale.mjs";
|
|
|
21
22
|
import { GlobalUpgrade } from "./lib/models/GlobalUpgrade.mjs";
|
|
22
23
|
import { Invasion } from "./lib/models/Invasion.mjs";
|
|
23
24
|
import { Kinepage } from "./lib/models/Kinepage.mjs";
|
|
25
|
+
import { ExternalMission, ExternalMissionClass } from "./lib/supporting/ExternalMission.mjs";
|
|
26
|
+
import { fetchProxy } from "./lib/supporting/FetchProxy.mjs";
|
|
27
|
+
import "./lib/supporting/index.mjs";
|
|
24
28
|
import { Kuva } from "./lib/models/Kuva.mjs";
|
|
25
29
|
import { MidrathCycle } from "./lib/models/MidrathCycle.mjs";
|
|
26
30
|
import { News } from "./lib/models/News.mjs";
|
|
@@ -32,12 +36,9 @@ import { Simaris } from "./lib/models/Simaris.mjs";
|
|
|
32
36
|
import { SortieVariant } from "./lib/models/SortieVariant.mjs";
|
|
33
37
|
import { Sortie } from "./lib/models/Sortie.mjs";
|
|
34
38
|
import { SteelPathOfferings } from "./lib/models/SteelPathOffering.mjs";
|
|
35
|
-
import { DuviriChoice } from "./lib/supporting/DuviriChoice.mjs";
|
|
36
|
-
import { fetchProxy } from "./lib/supporting/FetchProxy.mjs";
|
|
37
|
-
import "./lib/supporting/index.mjs";
|
|
38
39
|
import { SyndicateJob } from "./lib/models/SyndicateJob.mjs";
|
|
39
40
|
import { SyndicateMission } from "./lib/models/SyndicateMission.mjs";
|
|
40
|
-
import { Tmp } from "./lib/models/Tmp.mjs";
|
|
41
|
+
import { FaceoffBonus, QuestProgress, Tmp } from "./lib/models/Tmp.mjs";
|
|
41
42
|
import { VallisCycle } from "./lib/models/VallisCycle.mjs";
|
|
42
43
|
import { VoidTraderItem } from "./lib/models/VoidTraderItem.mjs";
|
|
43
44
|
import { VoidTraderSchedule } from "./lib/models/VoidTraderSchedule.mjs";
|
|
@@ -50,4 +51,4 @@ import { WorldState, parseArray, parseAsyncArray } from "./lib/WorldState.mjs";
|
|
|
50
51
|
//#region main.ts
|
|
51
52
|
var main_default = WorldState;
|
|
52
53
|
//#endregion
|
|
53
|
-
export { Alert, Archimedea, ArchimedeaMission, Calendar, CambionCycle, CetusCycle, ChallengeInstance, ConclaveChallenge, ConstructionProgress, DailyDeal, DarkSector, DarkSectorBattle, DayEvent, DuviriChoice, DuviriCycle, EarthCycle, Fissure, FlashSale, GlobalUpgrade, Invasion, Kinepage, Kuva, MidrathCycle, Mission, News, Nightwave, NightwaveChallenge, PersistentEnemy, Reward, SentientOutpost, Simaris, Sortie, SortieVariant, SteelPathOfferings, SyndicateJob, SyndicateMission, Tmp, VallisCycle, VoidTrader, VoidTraderItem, VoidTraderSchedule, WeeklyChallenge, WorldEvent, WorldState, WorldStateObject, ZarimanCycle, auras, cdn, deProxy, main_default as default, fetchProxy, getItemType, getItemTypeFull, nightmare, parseArray, parseAsyncArray, resources, wfCdn };
|
|
54
|
+
export { Alert, Archimedea, ArchimedeaMission, ArchimedeaMissionDifficulty, ArchimedeaMissionDifficultyRisk, Calendar, CambionCycle, CetusCycle, ChallengeInstance, ConclaveChallenge, ConstructionProgress, DailyDeal, DarkSector, DarkSectorBattle, DayEvent, DuviriChoice, DuviriCycle, EarthCycle, ExternalMission, ExternalMissionClass, FaceoffBonus, Fissure, FlashSale, GlobalUpgrade, Invasion, Kinepage, Kuva, MidrathCycle, Mission, News, Nightwave, NightwaveChallenge, PersistentEnemy, PersonalModifier, QuestProgress, Reward, SentientOutpost, Simaris, Sortie, SortieVariant, SteelPathOfferings, SyndicateJob, SyndicateMission, Tmp, VallisCycle, VoidTrader, VoidTraderItem, VoidTraderSchedule, WeeklyChallenge, WorldEvent, WorldState, WorldStateObject, ZarimanCycle, auras, cdn, deProxy, main_default as default, fetchProxy, getItemType, getItemTypeFull, nightmare, parseArray, parseAsyncArray, resources, wfCdn };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "warframe-worldstate-parser",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"description": "An Open parser for Warframe's Worldstate in Javascript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"warframe-worldstate",
|
|
@@ -32,6 +32,12 @@
|
|
|
32
32
|
"dist/",
|
|
33
33
|
"LICENSE"
|
|
34
34
|
],
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@nestjs/swagger": "^11.2.6",
|
|
37
|
+
"class-transformer": "^0.5.1",
|
|
38
|
+
"class-validator": "^0.14.4",
|
|
39
|
+
"reflect-metadata": "^0.2.2"
|
|
40
|
+
},
|
|
35
41
|
"peerDependencies": {
|
|
36
42
|
"warframe-worldstate-data": ">=3.1.19"
|
|
37
43
|
},
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
//#region lib/supporting/ExternalMission.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* External mission data retrieved from https://10o.io/kuvalog.json
|
|
4
|
-
*/
|
|
5
|
-
interface ExternalMission {
|
|
6
|
-
id: string;
|
|
7
|
-
/**
|
|
8
|
-
* start time
|
|
9
|
-
*/
|
|
10
|
-
activation: Date;
|
|
11
|
-
/**
|
|
12
|
-
* end timer
|
|
13
|
-
*/
|
|
14
|
-
expiry: Date;
|
|
15
|
-
/**
|
|
16
|
-
* formatted node name with planet
|
|
17
|
-
*/
|
|
18
|
-
node: string;
|
|
19
|
-
/**
|
|
20
|
-
* Untranslated formatted node name with planet
|
|
21
|
-
*/
|
|
22
|
-
nodeKey: string;
|
|
23
|
-
/**
|
|
24
|
-
* Enemy on tile
|
|
25
|
-
*/
|
|
26
|
-
enemy?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Mission type of node
|
|
29
|
-
*/
|
|
30
|
-
type: string;
|
|
31
|
-
/**
|
|
32
|
-
* Untranslated node mission type
|
|
33
|
-
*/
|
|
34
|
-
typeKey: string;
|
|
35
|
-
/**
|
|
36
|
-
* whether or not the tile requires archwing
|
|
37
|
-
*/
|
|
38
|
-
archwing: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* whether or not the tile requires
|
|
41
|
-
*/
|
|
42
|
-
sharkwing: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Whether the mission is expired at the time of creation or not
|
|
45
|
-
*/
|
|
46
|
-
expired: boolean;
|
|
47
|
-
}
|
|
48
|
-
//#endregion
|
|
49
|
-
export { ExternalMission as t };
|