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,2 +1,2 @@
|
|
|
1
|
-
import { n as RawPersistentEnemy, t as PersistentEnemy } from "../../PersistentEnemy-
|
|
1
|
+
import { n as RawPersistentEnemy, t as PersistentEnemy } from "../../PersistentEnemy-WkvIZ9Mx.mjs";
|
|
2
2
|
export { PersistentEnemy, RawPersistentEnemy };
|
|
@@ -1,6 +1,11 @@
|
|
|
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 { Type } from "class-transformer";
|
|
5
|
+
import { IsBoolean, IsDate, IsInt, IsNumber, IsString, Min } from "class-validator";
|
|
2
6
|
import { languageString, node, parseDate, region } from "warframe-worldstate-data/utilities";
|
|
3
7
|
//#region lib/models/PersistentEnemy.ts
|
|
8
|
+
var _ref;
|
|
4
9
|
/**
|
|
5
10
|
* Represents a persistent enemy
|
|
6
11
|
* @augments {WorldStateObject}
|
|
@@ -70,5 +75,62 @@ var PersistentEnemy = class extends WorldStateObject {
|
|
|
70
75
|
this.pid = `${this.id}${this.isDiscovered}`;
|
|
71
76
|
}
|
|
72
77
|
};
|
|
78
|
+
__decorate([
|
|
79
|
+
ApiProperty({ description: "The enemy's type" }),
|
|
80
|
+
IsString(),
|
|
81
|
+
__decorateMetadata("design:type", String)
|
|
82
|
+
], PersistentEnemy.prototype, "agentType", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
ApiProperty({ description: "The location tag" }),
|
|
85
|
+
IsString(),
|
|
86
|
+
__decorateMetadata("design:type", String)
|
|
87
|
+
], PersistentEnemy.prototype, "locationTag", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
ApiProperty({ description: "The enemy's rank" }),
|
|
90
|
+
IsInt(),
|
|
91
|
+
Min(0),
|
|
92
|
+
__decorateMetadata("design:type", Number)
|
|
93
|
+
], PersistentEnemy.prototype, "rank", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
ApiProperty({ description: "The enemy's remaining health percentage" }),
|
|
96
|
+
IsNumber(),
|
|
97
|
+
Min(0),
|
|
98
|
+
__decorateMetadata("design:type", Number)
|
|
99
|
+
], PersistentEnemy.prototype, "healthPercent", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
ApiProperty({ description: "The percentual damage that the enemy takes when it's defeated" }),
|
|
102
|
+
IsNumber(),
|
|
103
|
+
__decorateMetadata("design:type", Number)
|
|
104
|
+
], PersistentEnemy.prototype, "fleeDamage", void 0);
|
|
105
|
+
__decorate([ApiProperty({ description: "The region where the enemy is located" }), __decorateMetadata("design:type", Object)], PersistentEnemy.prototype, "region", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
ApiProperty({
|
|
108
|
+
description: "The last time the enemy was discovered",
|
|
109
|
+
type: Date
|
|
110
|
+
}),
|
|
111
|
+
IsDate(),
|
|
112
|
+
Type(() => Date),
|
|
113
|
+
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
114
|
+
], PersistentEnemy.prototype, "lastDiscoveredTime", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
ApiProperty({ description: "The node at which the enemy was last discovered" }),
|
|
117
|
+
IsString(),
|
|
118
|
+
__decorateMetadata("design:type", String)
|
|
119
|
+
], PersistentEnemy.prototype, "lastDiscoveredAt", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
ApiProperty({ description: "Whether or not the enemy is currently available" }),
|
|
122
|
+
IsBoolean(),
|
|
123
|
+
__decorateMetadata("design:type", Boolean)
|
|
124
|
+
], PersistentEnemy.prototype, "isDiscovered", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
ApiProperty({ description: "Whether or not the enemy is using ticketing" }),
|
|
127
|
+
IsBoolean(),
|
|
128
|
+
__decorateMetadata("design:type", Boolean)
|
|
129
|
+
], PersistentEnemy.prototype, "isUsingTicketing", void 0);
|
|
130
|
+
__decorate([
|
|
131
|
+
ApiProperty({ description: "Fake ID incorporating discovery" }),
|
|
132
|
+
IsString(),
|
|
133
|
+
__decorateMetadata("design:type", String)
|
|
134
|
+
], PersistentEnemy.prototype, "pid", void 0);
|
|
73
135
|
//#endregion
|
|
74
136
|
export { PersistentEnemy };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dt as getItemType, ft as getItemTypeFull, lt as RawReward, ut as Reward } from "../../index-BiofND5v.mjs";
|
|
2
2
|
export { RawReward, Reward, getItemType, getItemTypeFull };
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import RewardTypes_default from "../supporting/RewardTypes.mjs";
|
|
2
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
3
|
+
import { ApiProperty } from "@nestjs/swagger";
|
|
4
|
+
import { IsArray, IsInt, IsNumber, IsString, Min } from "class-validator";
|
|
2
5
|
import { insist, languageString } from "warframe-worldstate-data/utilities";
|
|
3
6
|
//#region lib/models/Reward.ts
|
|
4
7
|
/**
|
|
@@ -67,5 +70,52 @@ var Reward = class {
|
|
|
67
70
|
return this.items.concat(this.countedItems.map((i) => i.key)).map((t) => getItemTypeFull(t));
|
|
68
71
|
}
|
|
69
72
|
};
|
|
73
|
+
__decorate([
|
|
74
|
+
ApiProperty({
|
|
75
|
+
description: "Localized item names being rewarded",
|
|
76
|
+
type: [String]
|
|
77
|
+
}),
|
|
78
|
+
IsArray(),
|
|
79
|
+
IsString({ each: true }),
|
|
80
|
+
__decorateMetadata("design:type", Array)
|
|
81
|
+
], Reward.prototype, "items", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
ApiProperty({
|
|
84
|
+
description: "Counted items being rewarded with quantities",
|
|
85
|
+
type: "array",
|
|
86
|
+
items: { properties: {
|
|
87
|
+
type: {
|
|
88
|
+
type: "string",
|
|
89
|
+
description: "Localized item type"
|
|
90
|
+
},
|
|
91
|
+
key: {
|
|
92
|
+
type: "string",
|
|
93
|
+
description: "Unlocalized item key"
|
|
94
|
+
},
|
|
95
|
+
count: {
|
|
96
|
+
type: "number",
|
|
97
|
+
description: "Item count"
|
|
98
|
+
}
|
|
99
|
+
} }
|
|
100
|
+
}),
|
|
101
|
+
IsArray(),
|
|
102
|
+
__decorateMetadata("design:type", Array)
|
|
103
|
+
], Reward.prototype, "countedItems", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
ApiProperty({ description: "Credits rewarded" }),
|
|
106
|
+
IsInt(),
|
|
107
|
+
Min(0),
|
|
108
|
+
__decorateMetadata("design:type", Number)
|
|
109
|
+
], Reward.prototype, "credits", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
ApiProperty({ description: "Thumbnail URL for the primary reward" }),
|
|
112
|
+
IsString(),
|
|
113
|
+
__decorateMetadata("design:type", String)
|
|
114
|
+
], Reward.prototype, "thumbnail", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
ApiProperty({ description: "Color code for the reward type" }),
|
|
117
|
+
IsNumber(),
|
|
118
|
+
__decorateMetadata("design:type", Number)
|
|
119
|
+
], Reward.prototype, "color", void 0);
|
|
70
120
|
//#endregion
|
|
71
121
|
export { Reward, getItemType, getItemTypeFull };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { O as OutpostMission, k as SentientOutpost } from "../../index-BiofND5v.mjs";
|
|
2
2
|
export { OutpostMission, SentientOutpost };
|
|
@@ -1,5 +1,10 @@
|
|
|
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";
|
|
1
5
|
import { node, nodeEnemy, nodeMissionType } from "warframe-worldstate-data/utilities";
|
|
2
6
|
//#region lib/models/SentientOutpost.ts
|
|
7
|
+
var _ref, _ref2;
|
|
3
8
|
const duration = 1800;
|
|
4
9
|
const sat = () => {
|
|
5
10
|
const now = Math.floor(Date.now() / 1e3);
|
|
@@ -19,6 +24,9 @@ const sat = () => {
|
|
|
19
24
|
*/
|
|
20
25
|
var SentientOutpost = class {
|
|
21
26
|
node;
|
|
27
|
+
/**
|
|
28
|
+
* Unique identifier
|
|
29
|
+
*/
|
|
22
30
|
id;
|
|
23
31
|
/**
|
|
24
32
|
* Start time
|
|
@@ -59,5 +67,41 @@ var SentientOutpost = class {
|
|
|
59
67
|
}
|
|
60
68
|
}
|
|
61
69
|
};
|
|
70
|
+
__decorate([
|
|
71
|
+
ApiProperty({ description: "Unique identifier" }),
|
|
72
|
+
IsString(),
|
|
73
|
+
__decorateMetadata("design:type", String)
|
|
74
|
+
], SentientOutpost.prototype, "id", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
ApiProperty({
|
|
77
|
+
description: "Start time",
|
|
78
|
+
type: Date
|
|
79
|
+
}),
|
|
80
|
+
IsDate(),
|
|
81
|
+
Type(() => Date),
|
|
82
|
+
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
83
|
+
], SentientOutpost.prototype, "activation", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
ApiProperty({
|
|
86
|
+
description: "End time",
|
|
87
|
+
type: Date
|
|
88
|
+
}),
|
|
89
|
+
IsDate(),
|
|
90
|
+
Type(() => Date),
|
|
91
|
+
__decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
|
|
92
|
+
], SentientOutpost.prototype, "expiry", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
ApiPropertyOptional({
|
|
95
|
+
description: "Current Mission",
|
|
96
|
+
type: "object"
|
|
97
|
+
}),
|
|
98
|
+
IsOptional(),
|
|
99
|
+
__decorateMetadata("design:type", Object)
|
|
100
|
+
], SentientOutpost.prototype, "mission", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
ApiProperty({ description: "Whether or not the object was active during creation" }),
|
|
103
|
+
IsBoolean(),
|
|
104
|
+
__decorateMetadata("design:type", Boolean)
|
|
105
|
+
], SentientOutpost.prototype, "active", void 0);
|
|
62
106
|
//#endregion
|
|
63
107
|
export { SentientOutpost };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as Simaris, E as LibraryInfo } from "../../index-BiofND5v.mjs";
|
|
2
2
|
export { LibraryInfo, Simaris };
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
2
|
+
import { ApiProperty } from "@nestjs/swagger";
|
|
3
|
+
import { IsBoolean, IsString } from "class-validator";
|
|
1
4
|
import { languageString } from "warframe-worldstate-data/utilities";
|
|
2
5
|
//#region lib/models/Simaris.ts
|
|
3
6
|
/**
|
|
@@ -29,5 +32,15 @@ var Simaris = class {
|
|
|
29
32
|
return `Simaris's ${this.isTargetActive ? "current" : "previous"} objective ${this.isTargetActive ? "is" : "was"} ${this.target}`;
|
|
30
33
|
}
|
|
31
34
|
};
|
|
35
|
+
__decorate([
|
|
36
|
+
ApiProperty({ description: "The sanctuary target" }),
|
|
37
|
+
IsString(),
|
|
38
|
+
__decorateMetadata("design:type", String)
|
|
39
|
+
], Simaris.prototype, "target", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
ApiProperty({ description: "Whether or not the target is currently active" }),
|
|
42
|
+
IsBoolean(),
|
|
43
|
+
__decorateMetadata("design:type", Boolean)
|
|
44
|
+
], Simaris.prototype, "isTargetActive", void 0);
|
|
32
45
|
//#endregion
|
|
33
46
|
export { Simaris };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as Sortie, S as RawSortie } from "../../index-BiofND5v.mjs";
|
|
2
2
|
export { RawSortie, Sortie };
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
1
2
|
import { Mission } from "./Mission.mjs";
|
|
2
3
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
4
|
import { SortieVariant } from "./SortieVariant.mjs";
|
|
5
|
+
import { ApiProperty } from "@nestjs/swagger";
|
|
6
|
+
import { Type } from "class-transformer";
|
|
7
|
+
import { IsArray, IsString, ValidateNested } from "class-validator";
|
|
4
8
|
import wsData from "warframe-worldstate-data";
|
|
5
9
|
import { fromNow, languageString, parseDate, sortieBoss, sortieFaction, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
6
10
|
//#region lib/models/Sortie.ts
|
|
@@ -67,5 +71,45 @@ var Sortie = class extends WorldStateObject {
|
|
|
67
71
|
return fromNow(this.expiry) < 0;
|
|
68
72
|
}
|
|
69
73
|
};
|
|
74
|
+
__decorate([
|
|
75
|
+
ApiProperty({ description: "Sortie reward pool name" }),
|
|
76
|
+
IsString(),
|
|
77
|
+
__decorateMetadata("design:type", String)
|
|
78
|
+
], Sortie.prototype, "rewardPool", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
ApiProperty({
|
|
81
|
+
description: "Sortie mission variants",
|
|
82
|
+
type: [SortieVariant]
|
|
83
|
+
}),
|
|
84
|
+
IsArray(),
|
|
85
|
+
ValidateNested({ each: true }),
|
|
86
|
+
Type(() => SortieVariant),
|
|
87
|
+
__decorateMetadata("design:type", Array)
|
|
88
|
+
], Sortie.prototype, "variants", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
ApiProperty({
|
|
91
|
+
description: "Archon hunt missions",
|
|
92
|
+
type: [Mission]
|
|
93
|
+
}),
|
|
94
|
+
IsArray(),
|
|
95
|
+
ValidateNested({ each: true }),
|
|
96
|
+
Type(() => Mission),
|
|
97
|
+
__decorateMetadata("design:type", Array)
|
|
98
|
+
], Sortie.prototype, "missions", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
ApiProperty({ description: "Sortie boss name" }),
|
|
101
|
+
IsString(),
|
|
102
|
+
__decorateMetadata("design:type", String)
|
|
103
|
+
], Sortie.prototype, "boss", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
ApiProperty({ description: "Localized faction name" }),
|
|
106
|
+
IsString(),
|
|
107
|
+
__decorateMetadata("design:type", String)
|
|
108
|
+
], Sortie.prototype, "faction", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
ApiProperty({ description: "Unlocalized faction key" }),
|
|
111
|
+
IsString(),
|
|
112
|
+
__decorateMetadata("design:type", String)
|
|
113
|
+
], Sortie.prototype, "factionKey", void 0);
|
|
70
114
|
//#endregion
|
|
71
115
|
export { Sortie };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as SortieVariant, w as RawSortieVariant } from "../../index-BiofND5v.mjs";
|
|
2
2
|
export { RawSortieVariant, SortieVariant };
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
2
|
+
import { ApiProperty } from "@nestjs/swagger";
|
|
3
|
+
import { IsString } from "class-validator";
|
|
1
4
|
import { insist, missionType, node, sortieModDesc, sortieModifier } from "warframe-worldstate-data/utilities";
|
|
2
5
|
//#region lib/models/SortieVariant.ts
|
|
3
6
|
/**
|
|
@@ -45,5 +48,35 @@ var SortieVariant = class {
|
|
|
45
48
|
this.nodeKey = node(data.node, "en");
|
|
46
49
|
}
|
|
47
50
|
};
|
|
51
|
+
__decorate([
|
|
52
|
+
ApiProperty({ description: "Localized mission type" }),
|
|
53
|
+
IsString(),
|
|
54
|
+
__decorateMetadata("design:type", String)
|
|
55
|
+
], SortieVariant.prototype, "missionType", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
ApiProperty({ description: "Unlocalized mission type key" }),
|
|
58
|
+
IsString(),
|
|
59
|
+
__decorateMetadata("design:type", String)
|
|
60
|
+
], SortieVariant.prototype, "missionTypeKey", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
ApiProperty({ description: "Sortie modifier" }),
|
|
63
|
+
IsString(),
|
|
64
|
+
__decorateMetadata("design:type", String)
|
|
65
|
+
], SortieVariant.prototype, "modifier", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
ApiProperty({ description: "Modifier description" }),
|
|
68
|
+
IsString(),
|
|
69
|
+
__decorateMetadata("design:type", String)
|
|
70
|
+
], SortieVariant.prototype, "modifierDescription", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
ApiProperty({ description: "Localized node name" }),
|
|
73
|
+
IsString(),
|
|
74
|
+
__decorateMetadata("design:type", String)
|
|
75
|
+
], SortieVariant.prototype, "node", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
ApiProperty({ description: "Unlocalized node key" }),
|
|
78
|
+
IsString(),
|
|
79
|
+
__decorateMetadata("design:type", String)
|
|
80
|
+
], SortieVariant.prototype, "nodeKey", void 0);
|
|
48
81
|
//#endregion
|
|
49
82
|
export { SortieVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SteelPathOfferings, t as Incursion } from "../../SteelPathOffering-
|
|
1
|
+
import { n as SteelPathOfferings, t as Incursion } from "../../SteelPathOffering-K2Ji4d5c.mjs";
|
|
2
2
|
export { Incursion, SteelPathOfferings };
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
2
|
+
import { ApiProperty } from "@nestjs/swagger";
|
|
3
|
+
import { Type } from "class-transformer";
|
|
4
|
+
import { IsArray, IsDate, IsObject, IsString } from "class-validator";
|
|
1
5
|
import { steelPath, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
2
6
|
//#region lib/models/SteelPathOffering.ts
|
|
7
|
+
var _ref, _ref2;
|
|
3
8
|
const monday = 1;
|
|
4
9
|
/**
|
|
5
10
|
* Gets the first day of the week
|
|
@@ -54,12 +59,33 @@ function getEndOfDay() {
|
|
|
54
59
|
*/
|
|
55
60
|
const start = /* @__PURE__ */ new Date("2020-11-16T00:00:00.000Z");
|
|
56
61
|
var SteelPathOfferings = class {
|
|
62
|
+
/**
|
|
63
|
+
* Current week's steel path reward
|
|
64
|
+
*/
|
|
57
65
|
currentReward;
|
|
66
|
+
/**
|
|
67
|
+
* When the current rotation started
|
|
68
|
+
*/
|
|
58
69
|
activation;
|
|
70
|
+
/**
|
|
71
|
+
* When the current rotation ends
|
|
72
|
+
*/
|
|
59
73
|
expiry;
|
|
74
|
+
/**
|
|
75
|
+
* Time remaining string
|
|
76
|
+
*/
|
|
60
77
|
remaining;
|
|
78
|
+
/**
|
|
79
|
+
* Full rotation of steel path rewards
|
|
80
|
+
*/
|
|
61
81
|
rotation;
|
|
82
|
+
/**
|
|
83
|
+
* Evergreen steel path rewards
|
|
84
|
+
*/
|
|
62
85
|
evergreens;
|
|
86
|
+
/**
|
|
87
|
+
* Steel path incursion information
|
|
88
|
+
*/
|
|
63
89
|
incursions;
|
|
64
90
|
constructor({ locale }) {
|
|
65
91
|
const sSinceStart = (Date.now() - start.getTime()) / 1e3;
|
|
@@ -77,5 +103,62 @@ var SteelPathOfferings = class {
|
|
|
77
103
|
};
|
|
78
104
|
}
|
|
79
105
|
};
|
|
106
|
+
__decorate([
|
|
107
|
+
ApiProperty({
|
|
108
|
+
description: "Current week's steel path reward",
|
|
109
|
+
type: "object"
|
|
110
|
+
}),
|
|
111
|
+
IsObject(),
|
|
112
|
+
__decorateMetadata("design:type", Object)
|
|
113
|
+
], SteelPathOfferings.prototype, "currentReward", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
ApiProperty({
|
|
116
|
+
description: "When the current rotation started",
|
|
117
|
+
type: Date
|
|
118
|
+
}),
|
|
119
|
+
IsDate(),
|
|
120
|
+
Type(() => Date),
|
|
121
|
+
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
122
|
+
], SteelPathOfferings.prototype, "activation", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
ApiProperty({
|
|
125
|
+
description: "When the current rotation ends",
|
|
126
|
+
type: Date
|
|
127
|
+
}),
|
|
128
|
+
IsDate(),
|
|
129
|
+
Type(() => Date),
|
|
130
|
+
__decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
|
|
131
|
+
], SteelPathOfferings.prototype, "expiry", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
ApiProperty({ description: "Time remaining string" }),
|
|
134
|
+
IsString(),
|
|
135
|
+
__decorateMetadata("design:type", String)
|
|
136
|
+
], SteelPathOfferings.prototype, "remaining", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
ApiProperty({
|
|
139
|
+
description: "Full rotation of steel path rewards",
|
|
140
|
+
type: "array",
|
|
141
|
+
items: { type: "object" }
|
|
142
|
+
}),
|
|
143
|
+
IsArray(),
|
|
144
|
+
__decorateMetadata("design:type", Array)
|
|
145
|
+
], SteelPathOfferings.prototype, "rotation", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
ApiProperty({
|
|
148
|
+
description: "Evergreen steel path rewards",
|
|
149
|
+
type: "array",
|
|
150
|
+
items: { type: "object" }
|
|
151
|
+
}),
|
|
152
|
+
IsArray(),
|
|
153
|
+
__decorateMetadata("design:type", Array)
|
|
154
|
+
], SteelPathOfferings.prototype, "evergreens", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
ApiProperty({
|
|
157
|
+
description: "Steel path incursion information",
|
|
158
|
+
type: "object"
|
|
159
|
+
}),
|
|
160
|
+
IsObject(),
|
|
161
|
+
__decorateMetadata("design:type", Object)
|
|
162
|
+
], SteelPathOfferings.prototype, "incursions", void 0);
|
|
80
163
|
//#endregion
|
|
81
164
|
export { SteelPathOfferings };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as RewardDrop, x as SyndicateJob, y as RawSyndicateJob } from "../../index-BiofND5v.mjs";
|
|
2
2
|
export { RawSyndicateJob, RewardDrop, SyndicateJob };
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
1
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
2
3
|
import { fetchProxy } from "../supporting/FetchProxy.mjs";
|
|
3
4
|
import "../supporting/index.mjs";
|
|
5
|
+
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
6
|
+
import { IsArray, IsInt, IsOptional, IsString, Min } from "class-validator";
|
|
4
7
|
import { languageString } from "warframe-worldstate-data/utilities";
|
|
5
8
|
//#region lib/models/SyndicateJob.ts
|
|
6
9
|
const apiBase = process.env.API_BASE_URL || "https://api.warframestat.us";
|
|
@@ -157,5 +160,75 @@ var SyndicateJob = class SyndicateJob extends WorldStateObject {
|
|
|
157
160
|
} else this.timeBound = "night";
|
|
158
161
|
}
|
|
159
162
|
};
|
|
163
|
+
__decorate([
|
|
164
|
+
ApiProperty({ description: "Reward pool unique name" }),
|
|
165
|
+
IsString(),
|
|
166
|
+
__decorateMetadata("design:type", String)
|
|
167
|
+
], SyndicateJob.prototype, "uniqueName", void 0);
|
|
168
|
+
__decorate([
|
|
169
|
+
ApiProperty({
|
|
170
|
+
description: "Array of strings describing rewards",
|
|
171
|
+
type: [String]
|
|
172
|
+
}),
|
|
173
|
+
IsArray(),
|
|
174
|
+
IsString({ each: true }),
|
|
175
|
+
__decorateMetadata("design:type", Array)
|
|
176
|
+
], SyndicateJob.prototype, "rewardPool", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
ApiProperty({
|
|
179
|
+
description: "A structured version of the reward pool",
|
|
180
|
+
type: "array",
|
|
181
|
+
items: { type: "object" }
|
|
182
|
+
}),
|
|
183
|
+
IsArray(),
|
|
184
|
+
__decorateMetadata("design:type", Array)
|
|
185
|
+
], SyndicateJob.prototype, "rewardPoolDrops", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
ApiPropertyOptional({ description: "The type of job this is" }),
|
|
188
|
+
IsOptional(),
|
|
189
|
+
IsString(),
|
|
190
|
+
__decorateMetadata("design:type", String)
|
|
191
|
+
], SyndicateJob.prototype, "type", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
ApiProperty({
|
|
194
|
+
description: "Array of enemy levels [min, max]",
|
|
195
|
+
type: [Number]
|
|
196
|
+
}),
|
|
197
|
+
IsArray(),
|
|
198
|
+
IsInt({ each: true }),
|
|
199
|
+
__decorateMetadata("design:type", Array)
|
|
200
|
+
], SyndicateJob.prototype, "enemyLevels", void 0);
|
|
201
|
+
__decorate([
|
|
202
|
+
ApiProperty({
|
|
203
|
+
description: "Array of standing gains per stage of job",
|
|
204
|
+
type: [Number]
|
|
205
|
+
}),
|
|
206
|
+
IsArray(),
|
|
207
|
+
IsInt({ each: true }),
|
|
208
|
+
__decorateMetadata("design:type", Array)
|
|
209
|
+
], SyndicateJob.prototype, "standingStages", void 0);
|
|
210
|
+
__decorate([
|
|
211
|
+
ApiProperty({ description: "Minimum mastery required to participate" }),
|
|
212
|
+
IsInt(),
|
|
213
|
+
Min(0),
|
|
214
|
+
__decorateMetadata("design:type", Number)
|
|
215
|
+
], SyndicateJob.prototype, "minMR", void 0);
|
|
216
|
+
__decorate([
|
|
217
|
+
ApiPropertyOptional({ description: "Whether or not this is a Vault job" }),
|
|
218
|
+
IsOptional(),
|
|
219
|
+
__decorateMetadata("design:type", Boolean)
|
|
220
|
+
], SyndicateJob.prototype, "isVault", void 0);
|
|
221
|
+
__decorate([
|
|
222
|
+
ApiPropertyOptional({ description: "Corresponding chamber" }),
|
|
223
|
+
IsOptional(),
|
|
224
|
+
IsString(),
|
|
225
|
+
__decorateMetadata("design:type", String)
|
|
226
|
+
], SyndicateJob.prototype, "locationTag", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
ApiPropertyOptional({ description: "What time phase this bounty is bound to" }),
|
|
229
|
+
IsOptional(),
|
|
230
|
+
IsString(),
|
|
231
|
+
__decorateMetadata("design:type", Object)
|
|
232
|
+
], SyndicateJob.prototype, "timeBound", void 0);
|
|
160
233
|
//#endregion
|
|
161
234
|
export { SyndicateJob };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as RawSyndicateMission, v as SyndicateMission } from "../../index-BiofND5v.mjs";
|
|
2
2
|
export { RawSyndicateMission, SyndicateMission };
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
1
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
2
3
|
import { SyndicateJob } from "./SyndicateJob.mjs";
|
|
4
|
+
import { ApiProperty } from "@nestjs/swagger";
|
|
5
|
+
import { Type } from "class-transformer";
|
|
6
|
+
import { IsArray, IsString, ValidateNested } from "class-validator";
|
|
3
7
|
import { fromNow, node, syndicate, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
4
8
|
//#region lib/models/SyndicateMission.ts
|
|
5
9
|
/**
|
|
@@ -60,5 +64,34 @@ var SyndicateMission = class SyndicateMission extends WorldStateObject {
|
|
|
60
64
|
return timeDeltaToString(fromNow(this.expiry));
|
|
61
65
|
}
|
|
62
66
|
};
|
|
67
|
+
__decorate([
|
|
68
|
+
ApiProperty({ description: "The syndicate that is offering the mission" }),
|
|
69
|
+
IsString(),
|
|
70
|
+
__decorateMetadata("design:type", String)
|
|
71
|
+
], SyndicateMission.prototype, "syndicate", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
ApiProperty({ description: "The syndicate key (English)" }),
|
|
74
|
+
IsString(),
|
|
75
|
+
__decorateMetadata("design:type", String)
|
|
76
|
+
], SyndicateMission.prototype, "syndicateKey", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
ApiProperty({
|
|
79
|
+
description: "The nodes on which the missions are taking place",
|
|
80
|
+
type: [String]
|
|
81
|
+
}),
|
|
82
|
+
IsArray(),
|
|
83
|
+
IsString({ each: true }),
|
|
84
|
+
__decorateMetadata("design:type", Array)
|
|
85
|
+
], SyndicateMission.prototype, "nodes", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
ApiProperty({
|
|
88
|
+
description: "The jobs for this syndicate",
|
|
89
|
+
type: [SyndicateJob]
|
|
90
|
+
}),
|
|
91
|
+
IsArray(),
|
|
92
|
+
ValidateNested({ each: true }),
|
|
93
|
+
Type(() => SyndicateJob),
|
|
94
|
+
__decorateMetadata("design:type", Array)
|
|
95
|
+
], SyndicateMission.prototype, "jobs", void 0);
|
|
63
96
|
//#endregion
|
|
64
97
|
export { SyndicateMission };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { InitialTmp, Tmp };
|
|
1
|
+
import { g as Tmp, h as QuestProgress, m as InitialTmp, p as FaceoffBonus } from "../../index-BiofND5v.mjs";
|
|
2
|
+
export { FaceoffBonus, InitialTmp, QuestProgress, Tmp };
|