warframe-worldstate-parser 5.2.18 → 5.3.0
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-CT__oi7Q.d.mts → ExternalMission-DaE_6ccj.d.mts} +1 -1
- 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-BK5W1mAn.d.mts} +57 -6
- package/dist/lib/WorldState.d.mts +16 -16
- package/dist/lib/WorldState.mjs +325 -0
- package/dist/lib/models/Alert.d.mts +1 -1
- package/dist/lib/models/Alert.mjs +29 -0
- package/dist/lib/models/Archimedea.d.mts +1 -1
- package/dist/lib/models/Archimedea.mjs +75 -0
- 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 +25 -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 +1 -1
- package/dist/lib/models/Tmp.mjs +43 -0
- 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 +17 -17
- 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 +1 -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 +8 -8
- package/dist/main.d.mts +24 -24
- package/package.json +7 -1
- /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,8 +1,13 @@
|
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
1
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
2
3
|
import { VoidTraderItem } from "./VoidTraderItem.mjs";
|
|
3
4
|
import { VoidTraderSchedule } from "./VoidTraderSchedule.mjs";
|
|
5
|
+
import { ApiProperty } from "@nestjs/swagger";
|
|
6
|
+
import { Type } from "class-transformer";
|
|
7
|
+
import { IsArray, IsBoolean, IsDate, IsString, ValidateNested } from "class-validator";
|
|
4
8
|
import { fromNow, insist, node, parseDate, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
5
9
|
//#region lib/models/VoidTrader.ts
|
|
10
|
+
var _ref;
|
|
6
11
|
/**
|
|
7
12
|
* Represents a void trader
|
|
8
13
|
* @augments {WorldStateObject}
|
|
@@ -72,5 +77,54 @@ var VoidTrader = class extends WorldStateObject {
|
|
|
72
77
|
return timeDeltaToString(fromNow(this.expiry));
|
|
73
78
|
}
|
|
74
79
|
};
|
|
80
|
+
__decorate([
|
|
81
|
+
ApiProperty({ description: "Void trader's name (e.g., Baro Ki'Teer)" }),
|
|
82
|
+
IsString(),
|
|
83
|
+
__decorateMetadata("design:type", String)
|
|
84
|
+
], VoidTrader.prototype, "character", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
ApiProperty({ description: "Location where the trader appears" }),
|
|
87
|
+
IsString(),
|
|
88
|
+
__decorateMetadata("design:type", String)
|
|
89
|
+
], VoidTrader.prototype, "location", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
ApiProperty({
|
|
92
|
+
description: "Trader's inventory items",
|
|
93
|
+
type: [VoidTraderItem]
|
|
94
|
+
}),
|
|
95
|
+
IsArray(),
|
|
96
|
+
ValidateNested({ each: true }),
|
|
97
|
+
Type(() => VoidTraderItem),
|
|
98
|
+
__decorateMetadata("design:type", Array)
|
|
99
|
+
], VoidTrader.prototype, "inventory", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
ApiProperty({ description: "Pseudo-ID for inventory changes" }),
|
|
102
|
+
IsString(),
|
|
103
|
+
__decorateMetadata("design:type", String)
|
|
104
|
+
], VoidTrader.prototype, "psId", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
ApiProperty({
|
|
107
|
+
description: "Initial start date",
|
|
108
|
+
type: Date
|
|
109
|
+
}),
|
|
110
|
+
IsDate(),
|
|
111
|
+
Type(() => Date),
|
|
112
|
+
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
113
|
+
], VoidTrader.prototype, "initialStart", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
ApiProperty({ description: "Whether the trader visit is completed" }),
|
|
116
|
+
IsBoolean(),
|
|
117
|
+
__decorateMetadata("design:type", Boolean)
|
|
118
|
+
], VoidTrader.prototype, "completed", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
ApiProperty({
|
|
121
|
+
description: "Trader schedule",
|
|
122
|
+
type: [VoidTraderSchedule]
|
|
123
|
+
}),
|
|
124
|
+
IsArray(),
|
|
125
|
+
ValidateNested({ each: true }),
|
|
126
|
+
Type(() => VoidTraderSchedule),
|
|
127
|
+
__decorateMetadata("design:type", Array)
|
|
128
|
+
], VoidTrader.prototype, "schedule", void 0);
|
|
75
129
|
//#endregion
|
|
76
130
|
export { VoidTrader };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as RawVoidTraderItem, f as VoidTraderItem } from "../../index-
|
|
1
|
+
import { d as RawVoidTraderItem, f as VoidTraderItem } from "../../index-BK5W1mAn.mjs";
|
|
2
2
|
export { RawVoidTraderItem, VoidTraderItem };
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
2
|
+
import { ApiProperty } from "@nestjs/swagger";
|
|
3
|
+
import { IsInt, IsString, Min } from "class-validator";
|
|
1
4
|
import { languageString } from "warframe-worldstate-data/utilities";
|
|
2
5
|
//#region lib/models/VoidTraderItem.ts
|
|
3
6
|
/**
|
|
@@ -32,5 +35,27 @@ var VoidTraderItem = class {
|
|
|
32
35
|
this.credits = Number.parseInt(String(RegularPrice), 10);
|
|
33
36
|
}
|
|
34
37
|
};
|
|
38
|
+
__decorate([
|
|
39
|
+
ApiProperty({ description: "Unique item identifier" }),
|
|
40
|
+
IsString(),
|
|
41
|
+
__decorateMetadata("design:type", String)
|
|
42
|
+
], VoidTraderItem.prototype, "uniqueName", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
ApiProperty({ description: "Localized item name" }),
|
|
45
|
+
IsString(),
|
|
46
|
+
__decorateMetadata("design:type", String)
|
|
47
|
+
], VoidTraderItem.prototype, "item", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
ApiProperty({ description: "Ducat cost" }),
|
|
50
|
+
IsInt(),
|
|
51
|
+
Min(0),
|
|
52
|
+
__decorateMetadata("design:type", Number)
|
|
53
|
+
], VoidTraderItem.prototype, "ducats", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
ApiProperty({ description: "Credit cost" }),
|
|
56
|
+
IsInt(),
|
|
57
|
+
Min(0),
|
|
58
|
+
__decorateMetadata("design:type", Number)
|
|
59
|
+
], VoidTraderItem.prototype, "credits", void 0);
|
|
35
60
|
//#endregion
|
|
36
61
|
export { VoidTraderItem };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { u as VoidTraderSchedule } from "../../index-
|
|
1
|
+
import { u as VoidTraderSchedule } from "../../index-BK5W1mAn.mjs";
|
|
2
2
|
export { VoidTraderSchedule };
|
|
@@ -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 { IsDate, IsString } from "class-validator";
|
|
1
5
|
import { languageString, parseDate } from "warframe-worldstate-data/utilities";
|
|
2
6
|
//#region lib/models/VoidTraderSchedule.ts
|
|
7
|
+
var _ref;
|
|
3
8
|
var VoidTraderSchedule = class {
|
|
4
9
|
expiry;
|
|
5
10
|
item;
|
|
@@ -8,5 +13,19 @@ var VoidTraderSchedule = class {
|
|
|
8
13
|
this.item = languageString(data.FeaturedItem, locale);
|
|
9
14
|
}
|
|
10
15
|
};
|
|
16
|
+
__decorate([
|
|
17
|
+
ApiProperty({
|
|
18
|
+
description: "Schedule expiry date",
|
|
19
|
+
type: Date
|
|
20
|
+
}),
|
|
21
|
+
IsDate(),
|
|
22
|
+
Type(() => Date),
|
|
23
|
+
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
24
|
+
], VoidTraderSchedule.prototype, "expiry", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiProperty({ description: "Featured item" }),
|
|
27
|
+
IsString(),
|
|
28
|
+
__decorateMetadata("design:type", String)
|
|
29
|
+
], VoidTraderSchedule.prototype, "item", void 0);
|
|
11
30
|
//#endregion
|
|
12
31
|
export { VoidTraderSchedule };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { o as RawWeeklyChallenge, s as WeeklyChallenge } from "../../index-
|
|
1
|
+
import { o as RawWeeklyChallenge, s as WeeklyChallenge } from "../../index-BK5W1mAn.mjs";
|
|
2
2
|
export { RawWeeklyChallenge, WeeklyChallenge };
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
1
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
2
3
|
import { ChallengeInstance } from "./ChallengeInstance.mjs";
|
|
4
|
+
import { ApiProperty } from "@nestjs/swagger";
|
|
5
|
+
import { Type } from "class-transformer";
|
|
6
|
+
import { IsArray, ValidateNested } from "class-validator";
|
|
3
7
|
//#region lib/models/WeeklyChallenge.ts
|
|
4
8
|
/**
|
|
5
9
|
* Represents a void trader
|
|
6
10
|
* @augments {WorldStateObject}
|
|
7
11
|
*/
|
|
8
12
|
var WeeklyChallenge = class extends WorldStateObject {
|
|
13
|
+
/**
|
|
14
|
+
* Array of weekly challenges
|
|
15
|
+
*/
|
|
9
16
|
challenges;
|
|
10
17
|
/**
|
|
11
18
|
* @param data The Void trader data
|
|
@@ -15,5 +22,15 @@ var WeeklyChallenge = class extends WorldStateObject {
|
|
|
15
22
|
this.challenges = data.Challenges.map((challengeData) => new ChallengeInstance(challengeData));
|
|
16
23
|
}
|
|
17
24
|
};
|
|
25
|
+
__decorate([
|
|
26
|
+
ApiProperty({
|
|
27
|
+
description: "Array of weekly challenges",
|
|
28
|
+
type: [ChallengeInstance]
|
|
29
|
+
}),
|
|
30
|
+
IsArray(),
|
|
31
|
+
ValidateNested({ each: true }),
|
|
32
|
+
Type(() => ChallengeInstance),
|
|
33
|
+
__decorateMetadata("design:type", Array)
|
|
34
|
+
], WeeklyChallenge.prototype, "challenges", void 0);
|
|
18
35
|
//#endregion
|
|
19
36
|
export { WeeklyChallenge };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as WorldEvent, i as RawWorldEvent, n as InterimStep, r as ProgressStep, t as InterimRewardMessage } from "../../index-
|
|
1
|
+
import { a as WorldEvent, i as RawWorldEvent, n as InterimStep, r as ProgressStep, t as InterimRewardMessage } from "../../index-BK5W1mAn.mjs";
|
|
2
2
|
export { InterimRewardMessage, InterimStep, ProgressStep, RawWorldEvent, WorldEvent };
|
|
@@ -1,14 +1,25 @@
|
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
1
2
|
import { Reward } from "./Reward.mjs";
|
|
2
3
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
4
|
import { SyndicateJob } from "./SyndicateJob.mjs";
|
|
5
|
+
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
6
|
+
import { Type } from "class-transformer";
|
|
7
|
+
import { IsArray, IsBoolean, IsDate, IsInt, IsNumber, IsObject, IsOptional, IsString, Min, ValidateNested } from "class-validator";
|
|
4
8
|
import { faction, fromNow, languageString, node, parseDate, syndicate } from "warframe-worldstate-data/utilities";
|
|
5
9
|
//#region lib/models/WorldEvent.ts
|
|
10
|
+
var _ref, _ref2;
|
|
6
11
|
/**
|
|
7
12
|
* Represents an in-game special event
|
|
8
13
|
* @augments {WorldStateObject}
|
|
9
14
|
*/
|
|
10
15
|
var WorldEvent = class WorldEvent extends WorldStateObject {
|
|
16
|
+
/**
|
|
17
|
+
* Jobs associated with this event
|
|
18
|
+
*/
|
|
11
19
|
jobs;
|
|
20
|
+
/**
|
|
21
|
+
* Previous jobs associated with this event
|
|
22
|
+
*/
|
|
12
23
|
previousJobs;
|
|
13
24
|
/**
|
|
14
25
|
* The event's main score goal
|
|
@@ -103,15 +114,33 @@ var WorldEvent = class WorldEvent extends WorldStateObject {
|
|
|
103
114
|
* Bonuses given for completion
|
|
104
115
|
*/
|
|
105
116
|
completionBonuses;
|
|
117
|
+
/**
|
|
118
|
+
* Score variable name
|
|
119
|
+
*/
|
|
106
120
|
scoreVar;
|
|
121
|
+
/**
|
|
122
|
+
* Alternative expiry date
|
|
123
|
+
*/
|
|
107
124
|
altExpiry;
|
|
125
|
+
/**
|
|
126
|
+
* Alternative activation date
|
|
127
|
+
*/
|
|
108
128
|
altActivation;
|
|
129
|
+
/**
|
|
130
|
+
* Next alternative cycle dates
|
|
131
|
+
*/
|
|
109
132
|
nextAlt;
|
|
133
|
+
/**
|
|
134
|
+
* Affiliated syndicate, if any
|
|
135
|
+
*/
|
|
110
136
|
affiliatedWith;
|
|
111
137
|
/**
|
|
112
138
|
* The event's tag
|
|
113
139
|
*/
|
|
114
140
|
tag;
|
|
141
|
+
/**
|
|
142
|
+
* Victim identifier, if any
|
|
143
|
+
*/
|
|
115
144
|
victim;
|
|
116
145
|
/**
|
|
117
146
|
* Asynchronously build a new WorldEvent
|
|
@@ -207,5 +236,239 @@ var WorldEvent = class WorldEvent extends WorldStateObject {
|
|
|
207
236
|
return fromNow(this.expiry) < 0;
|
|
208
237
|
}
|
|
209
238
|
};
|
|
239
|
+
__decorate([
|
|
240
|
+
ApiProperty({
|
|
241
|
+
description: "Jobs associated with this event",
|
|
242
|
+
type: [SyndicateJob]
|
|
243
|
+
}),
|
|
244
|
+
IsArray(),
|
|
245
|
+
ValidateNested({ each: true }),
|
|
246
|
+
Type(() => SyndicateJob),
|
|
247
|
+
__decorateMetadata("design:type", Array)
|
|
248
|
+
], WorldEvent.prototype, "jobs", void 0);
|
|
249
|
+
__decorate([
|
|
250
|
+
ApiProperty({
|
|
251
|
+
description: "Previous jobs associated with this event",
|
|
252
|
+
type: [SyndicateJob]
|
|
253
|
+
}),
|
|
254
|
+
IsArray(),
|
|
255
|
+
ValidateNested({ each: true }),
|
|
256
|
+
Type(() => SyndicateJob),
|
|
257
|
+
__decorateMetadata("design:type", Array)
|
|
258
|
+
], WorldEvent.prototype, "previousJobs", void 0);
|
|
259
|
+
__decorate([
|
|
260
|
+
ApiProperty({ description: "The event's main score goal" }),
|
|
261
|
+
IsInt(),
|
|
262
|
+
Min(0),
|
|
263
|
+
__decorateMetadata("design:type", Number)
|
|
264
|
+
], WorldEvent.prototype, "maximumScore", void 0);
|
|
265
|
+
__decorate([
|
|
266
|
+
ApiProperty({ description: "The current score on the event" }),
|
|
267
|
+
IsInt(),
|
|
268
|
+
Min(0),
|
|
269
|
+
__decorateMetadata("design:type", Number)
|
|
270
|
+
], WorldEvent.prototype, "currentScore", void 0);
|
|
271
|
+
__decorate([
|
|
272
|
+
ApiProperty({ description: "The first intermediate score goal" }),
|
|
273
|
+
IsInt(),
|
|
274
|
+
Min(0),
|
|
275
|
+
__decorateMetadata("design:type", Number)
|
|
276
|
+
], WorldEvent.prototype, "smallInterval", void 0);
|
|
277
|
+
__decorate([
|
|
278
|
+
ApiProperty({ description: "The second intermediate score goal" }),
|
|
279
|
+
IsInt(),
|
|
280
|
+
Min(0),
|
|
281
|
+
__decorateMetadata("design:type", Number)
|
|
282
|
+
], WorldEvent.prototype, "largeInterval", void 0);
|
|
283
|
+
__decorate([
|
|
284
|
+
ApiPropertyOptional({ description: "The faction that the players must fight in the event" }),
|
|
285
|
+
IsOptional(),
|
|
286
|
+
IsString(),
|
|
287
|
+
__decorateMetadata("design:type", Object)
|
|
288
|
+
], WorldEvent.prototype, "faction", void 0);
|
|
289
|
+
__decorate([
|
|
290
|
+
ApiProperty({ description: "The description of the event" }),
|
|
291
|
+
IsString(),
|
|
292
|
+
__decorateMetadata("design:type", String)
|
|
293
|
+
], WorldEvent.prototype, "description", void 0);
|
|
294
|
+
__decorate([
|
|
295
|
+
ApiPropertyOptional({ description: "Tooltip for the event" }),
|
|
296
|
+
IsOptional(),
|
|
297
|
+
IsString(),
|
|
298
|
+
__decorateMetadata("design:type", Object)
|
|
299
|
+
], WorldEvent.prototype, "tooltip", void 0);
|
|
300
|
+
__decorate([
|
|
301
|
+
ApiPropertyOptional({ description: "The node where the event takes place" }),
|
|
302
|
+
IsOptional(),
|
|
303
|
+
IsString(),
|
|
304
|
+
__decorateMetadata("design:type", Object)
|
|
305
|
+
], WorldEvent.prototype, "node", void 0);
|
|
306
|
+
__decorate([
|
|
307
|
+
ApiProperty({
|
|
308
|
+
description: "The other nodes where the event takes place",
|
|
309
|
+
type: [String]
|
|
310
|
+
}),
|
|
311
|
+
IsArray(),
|
|
312
|
+
IsString({ each: true }),
|
|
313
|
+
__decorateMetadata("design:type", Array)
|
|
314
|
+
], WorldEvent.prototype, "concurrentNodes", void 0);
|
|
315
|
+
__decorate([
|
|
316
|
+
ApiPropertyOptional({ description: "The victim node" }),
|
|
317
|
+
IsOptional(),
|
|
318
|
+
IsString(),
|
|
319
|
+
__decorateMetadata("design:type", Object)
|
|
320
|
+
], WorldEvent.prototype, "victimNode", void 0);
|
|
321
|
+
__decorate([
|
|
322
|
+
ApiPropertyOptional({ description: "The score description" }),
|
|
323
|
+
IsOptional(),
|
|
324
|
+
IsString(),
|
|
325
|
+
__decorateMetadata("design:type", Object)
|
|
326
|
+
], WorldEvent.prototype, "scoreLocTag", void 0);
|
|
327
|
+
__decorate([
|
|
328
|
+
ApiProperty({
|
|
329
|
+
description: "The event's rewards",
|
|
330
|
+
type: [Reward]
|
|
331
|
+
}),
|
|
332
|
+
IsArray(),
|
|
333
|
+
ValidateNested({ each: true }),
|
|
334
|
+
Type(() => Reward),
|
|
335
|
+
__decorateMetadata("design:type", Array)
|
|
336
|
+
], WorldEvent.prototype, "rewards", void 0);
|
|
337
|
+
__decorate([
|
|
338
|
+
ApiPropertyOptional({ description: "Health remaining for the target" }),
|
|
339
|
+
IsOptional(),
|
|
340
|
+
IsNumber(),
|
|
341
|
+
Min(0),
|
|
342
|
+
__decorateMetadata("design:type", Object)
|
|
343
|
+
], WorldEvent.prototype, "health", void 0);
|
|
344
|
+
__decorate([
|
|
345
|
+
ApiPropertyOptional({ description: "Previous job id" }),
|
|
346
|
+
IsOptional(),
|
|
347
|
+
IsString(),
|
|
348
|
+
__decorateMetadata("design:type", Object)
|
|
349
|
+
], WorldEvent.prototype, "previousId", void 0);
|
|
350
|
+
__decorate([
|
|
351
|
+
ApiProperty({
|
|
352
|
+
description: "Array of interim steps",
|
|
353
|
+
type: "array",
|
|
354
|
+
items: { type: "object" }
|
|
355
|
+
}),
|
|
356
|
+
IsArray(),
|
|
357
|
+
__decorateMetadata("design:type", Array)
|
|
358
|
+
], WorldEvent.prototype, "interimSteps", void 0);
|
|
359
|
+
__decorate([
|
|
360
|
+
ApiProperty({
|
|
361
|
+
description: "Progress steps, if any are present",
|
|
362
|
+
type: "array",
|
|
363
|
+
items: { type: "object" }
|
|
364
|
+
}),
|
|
365
|
+
IsArray(),
|
|
366
|
+
__decorateMetadata("design:type", Array)
|
|
367
|
+
], WorldEvent.prototype, "progressSteps", void 0);
|
|
368
|
+
__decorate([
|
|
369
|
+
ApiPropertyOptional({ description: "Total of all MultiProgress" }),
|
|
370
|
+
IsOptional(),
|
|
371
|
+
IsNumber(),
|
|
372
|
+
__decorateMetadata("design:type", Number)
|
|
373
|
+
], WorldEvent.prototype, "progressTotal", void 0);
|
|
374
|
+
__decorate([
|
|
375
|
+
ApiProperty({ description: "Whether to show the total score at the end of the mission" }),
|
|
376
|
+
IsBoolean(),
|
|
377
|
+
__decorateMetadata("design:type", Boolean)
|
|
378
|
+
], WorldEvent.prototype, "showTotalAtEndOfMission", void 0);
|
|
379
|
+
__decorate([
|
|
380
|
+
ApiProperty({ description: "Whether the event is personal" }),
|
|
381
|
+
IsBoolean(),
|
|
382
|
+
__decorateMetadata("design:type", Boolean)
|
|
383
|
+
], WorldEvent.prototype, "isPersonal", void 0);
|
|
384
|
+
__decorate([
|
|
385
|
+
ApiProperty({ description: "Whether the event is community" }),
|
|
386
|
+
IsBoolean(),
|
|
387
|
+
__decorateMetadata("design:type", Boolean)
|
|
388
|
+
], WorldEvent.prototype, "isCommunity", void 0);
|
|
389
|
+
__decorate([
|
|
390
|
+
ApiProperty({
|
|
391
|
+
description: "Affectors for this mission",
|
|
392
|
+
type: [String]
|
|
393
|
+
}),
|
|
394
|
+
IsArray(),
|
|
395
|
+
IsString({ each: true }),
|
|
396
|
+
__decorateMetadata("design:type", Array)
|
|
397
|
+
], WorldEvent.prototype, "regionDrops", void 0);
|
|
398
|
+
__decorate([
|
|
399
|
+
ApiProperty({
|
|
400
|
+
description: "Archwing Drops in effect while this event is active",
|
|
401
|
+
type: [String]
|
|
402
|
+
}),
|
|
403
|
+
IsArray(),
|
|
404
|
+
IsString({ each: true }),
|
|
405
|
+
__decorateMetadata("design:type", Array)
|
|
406
|
+
], WorldEvent.prototype, "archwingDrops", void 0);
|
|
407
|
+
__decorate([
|
|
408
|
+
ApiProperty({
|
|
409
|
+
description: "Metadata provided by DE",
|
|
410
|
+
type: "object"
|
|
411
|
+
}),
|
|
412
|
+
IsObject(),
|
|
413
|
+
__decorateMetadata("design:type", Object)
|
|
414
|
+
], WorldEvent.prototype, "metadata", void 0);
|
|
415
|
+
__decorate([
|
|
416
|
+
ApiProperty({
|
|
417
|
+
description: "Bonuses given for completion",
|
|
418
|
+
type: [Number]
|
|
419
|
+
}),
|
|
420
|
+
IsArray(),
|
|
421
|
+
IsNumber({}, { each: true }),
|
|
422
|
+
__decorateMetadata("design:type", Array)
|
|
423
|
+
], WorldEvent.prototype, "completionBonuses", void 0);
|
|
424
|
+
__decorate([
|
|
425
|
+
ApiProperty({ description: "Score variable name" }),
|
|
426
|
+
IsString(),
|
|
427
|
+
__decorateMetadata("design:type", String)
|
|
428
|
+
], WorldEvent.prototype, "scoreVar", void 0);
|
|
429
|
+
__decorate([
|
|
430
|
+
ApiProperty({
|
|
431
|
+
description: "Alternative expiry date",
|
|
432
|
+
type: Date
|
|
433
|
+
}),
|
|
434
|
+
IsDate(),
|
|
435
|
+
Type(() => Date),
|
|
436
|
+
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
437
|
+
], WorldEvent.prototype, "altExpiry", void 0);
|
|
438
|
+
__decorate([
|
|
439
|
+
ApiProperty({
|
|
440
|
+
description: "Alternative activation date",
|
|
441
|
+
type: Date
|
|
442
|
+
}),
|
|
443
|
+
IsDate(),
|
|
444
|
+
Type(() => Date),
|
|
445
|
+
__decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
|
|
446
|
+
], WorldEvent.prototype, "altActivation", void 0);
|
|
447
|
+
__decorate([
|
|
448
|
+
ApiProperty({
|
|
449
|
+
description: "Next alternative cycle dates",
|
|
450
|
+
type: "object"
|
|
451
|
+
}),
|
|
452
|
+
IsObject(),
|
|
453
|
+
ValidateNested(),
|
|
454
|
+
__decorateMetadata("design:type", Object)
|
|
455
|
+
], WorldEvent.prototype, "nextAlt", void 0);
|
|
456
|
+
__decorate([
|
|
457
|
+
ApiPropertyOptional({ description: "Affiliated syndicate, if any" }),
|
|
458
|
+
IsOptional(),
|
|
459
|
+
IsString(),
|
|
460
|
+
__decorateMetadata("design:type", String)
|
|
461
|
+
], WorldEvent.prototype, "affiliatedWith", void 0);
|
|
462
|
+
__decorate([
|
|
463
|
+
ApiProperty({ description: "The event's tag" }),
|
|
464
|
+
IsString(),
|
|
465
|
+
__decorateMetadata("design:type", String)
|
|
466
|
+
], WorldEvent.prototype, "tag", void 0);
|
|
467
|
+
__decorate([
|
|
468
|
+
ApiPropertyOptional({ description: "Victim identifier, if any" }),
|
|
469
|
+
IsOptional(),
|
|
470
|
+
IsString(),
|
|
471
|
+
__decorateMetadata("design:type", String)
|
|
472
|
+
], WorldEvent.prototype, "victim", void 0);
|
|
210
473
|
//#endregion
|
|
211
474
|
export { WorldEvent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Identifier, r as WorldStateObject, t as BaseContentObject } from "../../WorldStateObject-
|
|
1
|
+
import { n as Identifier, r as WorldStateObject, t as BaseContentObject } from "../../WorldStateObject-BgeCocs9.mjs";
|
|
2
2
|
export { BaseContentObject, Identifier, WorldStateObject };
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
|
|
2
|
+
import { ApiPropertyOptional } from "@nestjs/swagger";
|
|
3
|
+
import { IsDate, IsOptional, IsString } from "class-validator";
|
|
1
4
|
import { fromNow, insist, parseDate, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
2
5
|
//#region lib/models/WorldStateObject.ts
|
|
6
|
+
var _ref, _ref2;
|
|
3
7
|
/**
|
|
4
8
|
* Represents a generic object from WorldState
|
|
5
9
|
*/
|
|
@@ -48,5 +52,29 @@ var WorldStateObject = class {
|
|
|
48
52
|
return timeDeltaToString(fromNow(this.expiry));
|
|
49
53
|
}
|
|
50
54
|
};
|
|
55
|
+
__decorate([
|
|
56
|
+
ApiPropertyOptional({ description: "The unique identifier for this world state object" }),
|
|
57
|
+
IsOptional(),
|
|
58
|
+
IsString(),
|
|
59
|
+
__decorateMetadata("design:type", String)
|
|
60
|
+
], WorldStateObject.prototype, "id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
ApiPropertyOptional({
|
|
63
|
+
description: "The date and time when this object becomes active",
|
|
64
|
+
type: Date
|
|
65
|
+
}),
|
|
66
|
+
IsOptional(),
|
|
67
|
+
IsDate(),
|
|
68
|
+
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
69
|
+
], WorldStateObject.prototype, "activation", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
ApiPropertyOptional({
|
|
72
|
+
description: "The date and time when this object expires",
|
|
73
|
+
type: Date
|
|
74
|
+
}),
|
|
75
|
+
IsOptional(),
|
|
76
|
+
IsDate(),
|
|
77
|
+
__decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
|
|
78
|
+
], WorldStateObject.prototype, "expiry", void 0);
|
|
51
79
|
//#endregion
|
|
52
80
|
export { WorldStateObject };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ZarimanCycle, t as CurrentZarimanCycle } from "../../ZarimanCycle-
|
|
1
|
+
import { n as ZarimanCycle, t as CurrentZarimanCycle } from "../../ZarimanCycle-D4YCSLmR.mjs";
|
|
2
2
|
export { CurrentZarimanCycle, ZarimanCycle };
|
|
@@ -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 Difficulty, A as InvasionParticipant, B as DefenderInfo, C as SortieVariant, D as SentientOutpost, E as OutpostMission, F as RawFlashSale, G as RawChallenge, H as DailyDeal, I as Fissure, J as Archimedea, K as ChallengeInstance, L as RawFissure, M as GlobalUpgrade, N as RawGlobalUpgrade, O as Kuva, P as FlashSale, Q as DeepArchimedea, R as DuviriCycle, S as RawSortieVariant, T as Simaris, U as RawDailyDeal, V as RawDarkSector, W as ConclaveChallenge, X as ArchimedeaMissionDifficulty, Y as ArchimedeaMission, Z as ArchimedeaMissionDifficultyRisk, _ as RawSyndicateJob, a as WorldEvent, at as RawMission, b as RawSortie, c as RawVoidTrader, ct as getItemType, d as RawVoidTraderItem, et as RawArchimedea, f as VoidTraderItem, g as SyndicateMission, h as RawSyndicateMission, i as RawWorldEvent, it as Mission, j as RawInvasion, k as Invasion, l as VoidTrader, lt as getItemTypeFull, m as Tmp, n as InterimStep, nt as Alert, o as RawWeeklyChallenge, ot as RawReward, p as InitialTmp, q as RawChallengeInstance, r as ProgressStep, rt as RawAlert, s as WeeklyChallenge, st as Reward, t as InterimRewardMessage, tt as RawArchimedeaMission, u as VoidTraderSchedule, v as RewardDrop, w as LibraryInfo, x as Sortie, y as SyndicateJob, z as DarkSector } from "../../index-
|
|
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-
|
|
1
|
+
import { $ as Difficulty, A as InvasionParticipant, B as DefenderInfo, C as SortieVariant, D as SentientOutpost, E as OutpostMission, F as RawFlashSale, G as RawChallenge, H as DailyDeal, I as Fissure, J as Archimedea, K as ChallengeInstance, L as RawFissure, M as GlobalUpgrade, N as RawGlobalUpgrade, O as Kuva, P as FlashSale, Q as DeepArchimedea, R as DuviriCycle, S as RawSortieVariant, T as Simaris, U as RawDailyDeal, V as RawDarkSector, W as ConclaveChallenge, X as ArchimedeaMissionDifficulty, Y as ArchimedeaMission, Z as ArchimedeaMissionDifficultyRisk, _ as RawSyndicateJob, a as WorldEvent, at as RawMission, b as RawSortie, c as RawVoidTrader, ct as getItemType, d as RawVoidTraderItem, et as RawArchimedea, f as VoidTraderItem, g as SyndicateMission, h as RawSyndicateMission, i as RawWorldEvent, it as Mission, j as RawInvasion, k as Invasion, l as VoidTrader, lt as getItemTypeFull, m as Tmp, n as InterimStep, nt as Alert, o as RawWeeklyChallenge, ot as RawReward, p as InitialTmp, q as RawChallengeInstance, r as ProgressStep, rt as RawAlert, s as WeeklyChallenge, st as Reward, t as InterimRewardMessage, tt as RawArchimedeaMission, u as VoidTraderSchedule, v as RewardDrop, w as LibraryInfo, x as Sortie, y as SyndicateJob, z as DarkSector } from "../../index-BK5W1mAn.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
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,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 { dt as RawChoice, ut as DuviriChoice } from "../../index-
|
|
1
|
+
import { dt as RawChoice, ut as DuviriChoice } from "../../index-BK5W1mAn.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 };
|