warframe-worldstate-parser 5.3.6 → 5.3.7
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/{index-BiofND5v.d.mts → index-BBJQtZk1.d.mts} +3 -3
- package/dist/lib/WorldState.d.mts +1 -1
- package/dist/lib/WorldState.mjs +1 -141
- package/dist/lib/models/Alert.d.mts +1 -1
- package/dist/lib/models/Alert.mjs +0 -10
- package/dist/lib/models/Archimedea.d.mts +1 -1
- package/dist/lib/models/Archimedea.mjs +17 -102
- package/dist/lib/models/CambionCycle.mjs +2 -11
- package/dist/lib/models/CetusCycle.mjs +4 -24
- package/dist/lib/models/ChallengeInstance.d.mts +1 -1
- package/dist/lib/models/ChallengeInstance.mjs +1 -11
- package/dist/lib/models/ConclaveChallenge.d.mts +1 -1
- package/dist/lib/models/ConclaveChallenge.mjs +7 -32
- package/dist/lib/models/ConstructionProgress.mjs +3 -16
- package/dist/lib/models/DailyDeal.d.mts +1 -1
- package/dist/lib/models/DailyDeal.mjs +3 -21
- package/dist/lib/models/DarkSector.d.mts +1 -1
- package/dist/lib/models/DarkSector.mjs +12 -79
- package/dist/lib/models/DarkSectorBattle.mjs +5 -34
- package/dist/lib/models/DuviriCycle.d.mts +1 -1
- package/dist/lib/models/DuviriCycle.mjs +1 -10
- package/dist/lib/models/EarthCycle.mjs +3 -19
- package/dist/lib/models/Fissure.d.mts +1 -1
- package/dist/lib/models/Fissure.mjs +9 -47
- package/dist/lib/models/FlashSale.d.mts +1 -1
- package/dist/lib/models/FlashSale.mjs +5 -29
- package/dist/lib/models/GlobalUpgrade.d.mts +1 -1
- package/dist/lib/models/GlobalUpgrade.mjs +4 -21
- package/dist/lib/models/Invasion.d.mts +1 -1
- package/dist/lib/models/Invasion.mjs +10 -61
- package/dist/lib/models/Kinepage.mjs +2 -15
- package/dist/lib/models/Kuva.d.mts +1 -1
- package/dist/lib/models/Kuva.mjs +0 -9
- package/dist/lib/models/MidrathCycle.mjs +2 -11
- package/dist/lib/models/Mission.d.mts +1 -1
- package/dist/lib/models/Mission.mjs +13 -89
- package/dist/lib/models/News.mjs +9 -53
- package/dist/lib/models/Nightwave.mjs +2 -24
- package/dist/lib/models/NightwaveChallenge.mjs +5 -27
- package/dist/lib/models/PersistentEnemy.mjs +7 -43
- package/dist/lib/models/Reward.d.mts +1 -1
- package/dist/lib/models/Reward.mjs +3 -38
- package/dist/lib/models/SentientOutpost.d.mts +1 -1
- package/dist/lib/models/SentientOutpost.mjs +4 -28
- package/dist/lib/models/Simaris.d.mts +1 -1
- package/dist/lib/models/Simaris.mjs +2 -11
- package/dist/lib/models/Sortie.d.mts +1 -1
- package/dist/lib/models/Sortie.mjs +4 -29
- package/dist/lib/models/SortieVariant.d.mts +1 -1
- package/dist/lib/models/SortieVariant.mjs +6 -31
- package/dist/lib/models/SteelPathOffering.mjs +5 -48
- package/dist/lib/models/SyndicateJob.d.mts +1 -1
- package/dist/lib/models/SyndicateJob.mjs +3 -36
- package/dist/lib/models/SyndicateMission.d.mts +1 -1
- package/dist/lib/models/SyndicateMission.mjs +2 -19
- package/dist/lib/models/Tmp.d.mts +1 -1
- package/dist/lib/models/Tmp.mjs +0 -31
- package/dist/lib/models/VallisCycle.mjs +2 -11
- package/dist/lib/models/VoidTrader.d.mts +1 -1
- package/dist/lib/models/VoidTrader.mjs +4 -33
- package/dist/lib/models/VoidTraderItem.d.mts +1 -1
- package/dist/lib/models/VoidTraderItem.mjs +2 -13
- package/dist/lib/models/VoidTraderSchedule.d.mts +1 -1
- package/dist/lib/models/VoidTraderSchedule.mjs +1 -10
- package/dist/lib/models/WeeklyChallenge.d.mts +1 -1
- package/dist/lib/models/WeeklyChallenge.mjs +0 -5
- package/dist/lib/models/WorldEvent.d.mts +1 -1
- package/dist/lib/models/WorldEvent.mjs +9 -111
- package/dist/lib/models/WorldStateObject.mjs +0 -10
- package/dist/lib/models/ZarimanCycle.mjs +3 -16
- package/dist/lib/models/index.d.mts +1 -1
- package/dist/lib/supporting/DuviriChoice.d.mts +1 -1
- package/dist/lib/supporting/DuviriChoice.mjs +2 -15
- package/dist/lib/supporting/ExternalMission.mjs +16 -99
- package/dist/lib/supporting/index.d.mts +1 -1
- package/dist/main.d.mts +1 -1
- package/dist/main.mjs +1 -0
- package/package.json +1 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { dt as getItemType, ft as getItemTypeFull, lt as RawReward, ut as Reward } from "../../index-
|
|
1
|
+
import { dt as getItemType, ft as getItemTypeFull, lt as RawReward, ut as Reward } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { RawReward, Reward, getItemType, getItemTypeFull };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import RewardTypes_default from "../supporting/RewardTypes.mjs";
|
|
2
2
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
3
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
4
3
|
import { IsArray, IsInt, IsNumber, IsString, Min } from "class-validator";
|
|
5
4
|
import { insist, languageString } from "warframe-worldstate-data/utilities";
|
|
6
5
|
//#region lib/models/Reward.ts
|
|
@@ -71,51 +70,17 @@ var Reward = class {
|
|
|
71
70
|
}
|
|
72
71
|
};
|
|
73
72
|
__decorate([
|
|
74
|
-
ApiProperty({
|
|
75
|
-
description: "Localized item names being rewarded",
|
|
76
|
-
type: [String]
|
|
77
|
-
}),
|
|
78
73
|
IsArray(),
|
|
79
74
|
IsString({ each: true }),
|
|
80
75
|
__decorateMetadata("design:type", Array)
|
|
81
76
|
], Reward.prototype, "items", void 0);
|
|
77
|
+
__decorate([IsArray(), __decorateMetadata("design:type", Array)], Reward.prototype, "countedItems", void 0);
|
|
82
78
|
__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
79
|
IsInt(),
|
|
107
80
|
Min(0),
|
|
108
81
|
__decorateMetadata("design:type", Number)
|
|
109
82
|
], Reward.prototype, "credits", void 0);
|
|
110
|
-
__decorate([
|
|
111
|
-
|
|
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);
|
|
83
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Reward.prototype, "thumbnail", void 0);
|
|
84
|
+
__decorate([IsNumber(), __decorateMetadata("design:type", Number)], Reward.prototype, "color", void 0);
|
|
120
85
|
//#endregion
|
|
121
86
|
export { Reward, getItemType, getItemTypeFull };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { O as OutpostMission, k as SentientOutpost } from "../../index-
|
|
1
|
+
import { O as OutpostMission, k as SentientOutpost } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { OutpostMission, SentientOutpost };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
|
-
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
3
2
|
import { Type } from "class-transformer";
|
|
4
3
|
import { IsBoolean, IsDate, IsOptional, IsString } from "class-validator";
|
|
5
4
|
import { node, nodeEnemy, nodeMissionType } from "warframe-worldstate-data/utilities";
|
|
@@ -41,7 +40,7 @@ var SentientOutpost = class {
|
|
|
41
40
|
*/
|
|
42
41
|
mission;
|
|
43
42
|
/**
|
|
44
|
-
* Whether
|
|
43
|
+
* Whether the object was active during creation
|
|
45
44
|
*/
|
|
46
45
|
active;
|
|
47
46
|
/**
|
|
@@ -67,41 +66,18 @@ var SentientOutpost = class {
|
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
};
|
|
69
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], SentientOutpost.prototype, "id", void 0);
|
|
70
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
71
|
IsDate(),
|
|
81
72
|
Type(() => Date),
|
|
82
73
|
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
83
74
|
], SentientOutpost.prototype, "activation", void 0);
|
|
84
75
|
__decorate([
|
|
85
|
-
ApiProperty({
|
|
86
|
-
description: "End time",
|
|
87
|
-
type: Date
|
|
88
|
-
}),
|
|
89
76
|
IsDate(),
|
|
90
77
|
Type(() => Date),
|
|
91
78
|
__decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
|
|
92
79
|
], SentientOutpost.prototype, "expiry", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
|
|
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);
|
|
80
|
+
__decorate([IsOptional(), __decorateMetadata("design:type", Object)], SentientOutpost.prototype, "mission", void 0);
|
|
81
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], SentientOutpost.prototype, "active", void 0);
|
|
106
82
|
//#endregion
|
|
107
83
|
export { SentientOutpost };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as Simaris, E as LibraryInfo } from "../../index-
|
|
1
|
+
import { D as Simaris, E as LibraryInfo } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { LibraryInfo, Simaris };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
3
2
|
import { IsBoolean, IsString } from "class-validator";
|
|
4
3
|
import { languageString } from "warframe-worldstate-data/utilities";
|
|
5
4
|
//#region lib/models/Simaris.ts
|
|
@@ -32,15 +31,7 @@ var Simaris = class {
|
|
|
32
31
|
return `Simaris's ${this.isTargetActive ? "current" : "previous"} objective ${this.isTargetActive ? "is" : "was"} ${this.target}`;
|
|
33
32
|
}
|
|
34
33
|
};
|
|
35
|
-
__decorate([
|
|
36
|
-
|
|
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);
|
|
34
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Simaris.prototype, "target", void 0);
|
|
35
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], Simaris.prototype, "isTargetActive", void 0);
|
|
45
36
|
//#endregion
|
|
46
37
|
export { Simaris };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as Sortie, S as RawSortie } from "../../index-
|
|
1
|
+
import { C as Sortie, S as RawSortie } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { RawSortie, Sortie };
|
|
@@ -2,7 +2,6 @@ import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvew
|
|
|
2
2
|
import { Mission } from "./Mission.mjs";
|
|
3
3
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
4
4
|
import { SortieVariant } from "./SortieVariant.mjs";
|
|
5
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
6
5
|
import { Type } from "class-transformer";
|
|
7
6
|
import { IsArray, IsString, ValidateNested } from "class-validator";
|
|
8
7
|
import wsData from "warframe-worldstate-data";
|
|
@@ -71,45 +70,21 @@ var Sortie = class extends WorldStateObject {
|
|
|
71
70
|
return fromNow(this.expiry) < 0;
|
|
72
71
|
}
|
|
73
72
|
};
|
|
73
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Sortie.prototype, "rewardPool", void 0);
|
|
74
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
75
|
IsArray(),
|
|
85
76
|
ValidateNested({ each: true }),
|
|
86
77
|
Type(() => SortieVariant),
|
|
87
78
|
__decorateMetadata("design:type", Array)
|
|
88
79
|
], Sortie.prototype, "variants", void 0);
|
|
89
80
|
__decorate([
|
|
90
|
-
ApiProperty({
|
|
91
|
-
description: "Archon hunt missions",
|
|
92
|
-
type: [Mission]
|
|
93
|
-
}),
|
|
94
81
|
IsArray(),
|
|
95
82
|
ValidateNested({ each: true }),
|
|
96
83
|
Type(() => Mission),
|
|
97
84
|
__decorateMetadata("design:type", Array)
|
|
98
85
|
], Sortie.prototype, "missions", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
|
|
101
|
-
|
|
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);
|
|
86
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Sortie.prototype, "boss", void 0);
|
|
87
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Sortie.prototype, "faction", void 0);
|
|
88
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], Sortie.prototype, "factionKey", void 0);
|
|
114
89
|
//#endregion
|
|
115
90
|
export { Sortie };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { T as SortieVariant, w as RawSortieVariant } from "../../index-
|
|
1
|
+
import { T as SortieVariant, w as RawSortieVariant } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { RawSortieVariant, SortieVariant };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
3
2
|
import { IsString } from "class-validator";
|
|
4
3
|
import { insist, missionType, node, sortieModDesc, sortieModifier } from "warframe-worldstate-data/utilities";
|
|
5
4
|
//#region lib/models/SortieVariant.ts
|
|
@@ -48,35 +47,11 @@ var SortieVariant = class {
|
|
|
48
47
|
this.nodeKey = node(data.node, "en");
|
|
49
48
|
}
|
|
50
49
|
};
|
|
51
|
-
__decorate([
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
], SortieVariant.prototype, "
|
|
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);
|
|
50
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], SortieVariant.prototype, "missionType", void 0);
|
|
51
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], SortieVariant.prototype, "missionTypeKey", void 0);
|
|
52
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], SortieVariant.prototype, "modifier", void 0);
|
|
53
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], SortieVariant.prototype, "modifierDescription", void 0);
|
|
54
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], SortieVariant.prototype, "node", void 0);
|
|
55
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], SortieVariant.prototype, "nodeKey", void 0);
|
|
81
56
|
//#endregion
|
|
82
57
|
export { SortieVariant };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
3
2
|
import { Type } from "class-transformer";
|
|
4
3
|
import { IsArray, IsDate, IsObject, IsString } from "class-validator";
|
|
5
4
|
import { steelPath, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
@@ -103,62 +102,20 @@ var SteelPathOfferings = class {
|
|
|
103
102
|
};
|
|
104
103
|
}
|
|
105
104
|
};
|
|
105
|
+
__decorate([IsObject(), __decorateMetadata("design:type", Object)], SteelPathOfferings.prototype, "currentReward", void 0);
|
|
106
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
107
|
IsDate(),
|
|
120
108
|
Type(() => Date),
|
|
121
109
|
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
122
110
|
], SteelPathOfferings.prototype, "activation", void 0);
|
|
123
111
|
__decorate([
|
|
124
|
-
ApiProperty({
|
|
125
|
-
description: "When the current rotation ends",
|
|
126
|
-
type: Date
|
|
127
|
-
}),
|
|
128
112
|
IsDate(),
|
|
129
113
|
Type(() => Date),
|
|
130
114
|
__decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
|
|
131
115
|
], SteelPathOfferings.prototype, "expiry", void 0);
|
|
132
|
-
__decorate([
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
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);
|
|
116
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], SteelPathOfferings.prototype, "remaining", void 0);
|
|
117
|
+
__decorate([IsArray(), __decorateMetadata("design:type", Array)], SteelPathOfferings.prototype, "rotation", void 0);
|
|
118
|
+
__decorate([IsArray(), __decorateMetadata("design:type", Array)], SteelPathOfferings.prototype, "evergreens", void 0);
|
|
119
|
+
__decorate([IsObject(), __decorateMetadata("design:type", Object)], SteelPathOfferings.prototype, "incursions", void 0);
|
|
163
120
|
//#endregion
|
|
164
121
|
export { SteelPathOfferings };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { b as RewardDrop, x as SyndicateJob, y as RawSyndicateJob } from "../../index-
|
|
1
|
+
import { b as RewardDrop, x as SyndicateJob, y as RawSyndicateJob } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { RawSyndicateJob, RewardDrop, SyndicateJob };
|
|
@@ -2,7 +2,6 @@ import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvew
|
|
|
2
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
3
|
import { fetchProxy } from "../supporting/FetchProxy.mjs";
|
|
4
4
|
import "../supporting/index.mjs";
|
|
5
|
-
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
6
5
|
import { IsArray, IsInt, IsOptional, IsString, Min } from "class-validator";
|
|
7
6
|
import { languageString } from "warframe-worldstate-data/utilities";
|
|
8
7
|
//#region lib/models/SyndicateJob.ts
|
|
@@ -160,72 +159,40 @@ var SyndicateJob = class SyndicateJob extends WorldStateObject {
|
|
|
160
159
|
} else this.timeBound = "night";
|
|
161
160
|
}
|
|
162
161
|
};
|
|
162
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], SyndicateJob.prototype, "uniqueName", void 0);
|
|
163
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
164
|
IsArray(),
|
|
174
165
|
IsString({ each: true }),
|
|
175
166
|
__decorateMetadata("design:type", Array)
|
|
176
167
|
], SyndicateJob.prototype, "rewardPool", void 0);
|
|
168
|
+
__decorate([IsArray(), __decorateMetadata("design:type", Array)], SyndicateJob.prototype, "rewardPoolDrops", void 0);
|
|
177
169
|
__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
170
|
IsOptional(),
|
|
189
171
|
IsString(),
|
|
190
172
|
__decorateMetadata("design:type", String)
|
|
191
173
|
], SyndicateJob.prototype, "type", void 0);
|
|
192
174
|
__decorate([
|
|
193
|
-
ApiProperty({
|
|
194
|
-
description: "Array of enemy levels [min, max]",
|
|
195
|
-
type: [Number]
|
|
196
|
-
}),
|
|
197
175
|
IsArray(),
|
|
198
176
|
IsInt({ each: true }),
|
|
199
177
|
__decorateMetadata("design:type", Array)
|
|
200
178
|
], SyndicateJob.prototype, "enemyLevels", void 0);
|
|
201
179
|
__decorate([
|
|
202
|
-
ApiProperty({
|
|
203
|
-
description: "Array of standing gains per stage of job",
|
|
204
|
-
type: [Number]
|
|
205
|
-
}),
|
|
206
180
|
IsArray(),
|
|
207
181
|
IsInt({ each: true }),
|
|
208
182
|
__decorateMetadata("design:type", Array)
|
|
209
183
|
], SyndicateJob.prototype, "standingStages", void 0);
|
|
210
184
|
__decorate([
|
|
211
|
-
ApiProperty({ description: "Minimum mastery required to participate" }),
|
|
212
185
|
IsInt(),
|
|
213
186
|
Min(0),
|
|
214
187
|
__decorateMetadata("design:type", Number)
|
|
215
188
|
], SyndicateJob.prototype, "minMR", void 0);
|
|
189
|
+
__decorate([IsOptional(), __decorateMetadata("design:type", Boolean)], SyndicateJob.prototype, "isVault", void 0);
|
|
216
190
|
__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
191
|
IsOptional(),
|
|
224
192
|
IsString(),
|
|
225
193
|
__decorateMetadata("design:type", String)
|
|
226
194
|
], SyndicateJob.prototype, "locationTag", void 0);
|
|
227
195
|
__decorate([
|
|
228
|
-
ApiPropertyOptional({ description: "What time phase this bounty is bound to" }),
|
|
229
196
|
IsOptional(),
|
|
230
197
|
IsString(),
|
|
231
198
|
__decorateMetadata("design:type", Object)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as RawSyndicateMission, v as SyndicateMission } from "../../index-
|
|
1
|
+
import { _ as RawSyndicateMission, v as SyndicateMission } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { RawSyndicateMission, SyndicateMission };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
3
|
import { SyndicateJob } from "./SyndicateJob.mjs";
|
|
4
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
5
4
|
import { Type } from "class-transformer";
|
|
6
5
|
import { IsArray, IsString, ValidateNested } from "class-validator";
|
|
7
6
|
import { fromNow, node, syndicate, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
@@ -64,30 +63,14 @@ var SyndicateMission = class SyndicateMission extends WorldStateObject {
|
|
|
64
63
|
return timeDeltaToString(fromNow(this.expiry));
|
|
65
64
|
}
|
|
66
65
|
};
|
|
66
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], SyndicateMission.prototype, "syndicate", void 0);
|
|
67
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], SyndicateMission.prototype, "syndicateKey", void 0);
|
|
67
68
|
__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
69
|
IsArray(),
|
|
83
70
|
IsString({ each: true }),
|
|
84
71
|
__decorateMetadata("design:type", Array)
|
|
85
72
|
], SyndicateMission.prototype, "nodes", void 0);
|
|
86
73
|
__decorate([
|
|
87
|
-
ApiProperty({
|
|
88
|
-
description: "The jobs for this syndicate",
|
|
89
|
-
type: [SyndicateJob]
|
|
90
|
-
}),
|
|
91
74
|
IsArray(),
|
|
92
75
|
ValidateNested({ each: true }),
|
|
93
76
|
Type(() => SyndicateJob),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { g as Tmp, h as QuestProgress, m as InitialTmp, p as FaceoffBonus } from "../../index-
|
|
1
|
+
import { g as Tmp, h as QuestProgress, m as InitialTmp, p as FaceoffBonus } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { FaceoffBonus, InitialTmp, QuestProgress, Tmp };
|
package/dist/lib/models/Tmp.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
2
|
import { Kinepage } from "./Kinepage.mjs";
|
|
3
3
|
import { SentientOutpost } from "./SentientOutpost.mjs";
|
|
4
|
-
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
5
4
|
import { Type } from "class-transformer";
|
|
6
5
|
import { IsDate, IsInt, IsOptional, Min, ValidateNested } from "class-validator";
|
|
7
6
|
//#region lib/models/Tmp.ts
|
|
@@ -12,28 +11,16 @@ var FaceoffBonus = class {
|
|
|
12
11
|
next;
|
|
13
12
|
};
|
|
14
13
|
__decorate([
|
|
15
|
-
ApiProperty({
|
|
16
|
-
description: "Faceoff bonus activation time",
|
|
17
|
-
type: Date
|
|
18
|
-
}),
|
|
19
14
|
IsDate(),
|
|
20
15
|
Type(() => Date),
|
|
21
16
|
__decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
|
|
22
17
|
], FaceoffBonus.prototype, "activation", void 0);
|
|
23
18
|
__decorate([
|
|
24
|
-
ApiProperty({
|
|
25
|
-
description: "Faceoff bonus expiry time",
|
|
26
|
-
type: Date
|
|
27
|
-
}),
|
|
28
19
|
IsDate(),
|
|
29
20
|
Type(() => Date),
|
|
30
21
|
__decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
|
|
31
22
|
], FaceoffBonus.prototype, "expiry", void 0);
|
|
32
23
|
__decorate([
|
|
33
|
-
ApiProperty({
|
|
34
|
-
description: "Next faceoff bonus time",
|
|
35
|
-
type: Date
|
|
36
|
-
}),
|
|
37
24
|
IsDate(),
|
|
38
25
|
Type(() => Date),
|
|
39
26
|
__decorateMetadata("design:type", typeof (_ref3 = typeof Date !== "undefined" && Date) === "function" ? _ref3 : Object)
|
|
@@ -43,13 +30,11 @@ var QuestProgress = class {
|
|
|
43
30
|
goal;
|
|
44
31
|
};
|
|
45
32
|
__decorate([
|
|
46
|
-
ApiProperty({ description: "Current progress count" }),
|
|
47
33
|
IsInt(),
|
|
48
34
|
Min(0),
|
|
49
35
|
__decorateMetadata("design:type", Number)
|
|
50
36
|
], QuestProgress.prototype, "count", void 0);
|
|
51
37
|
__decorate([
|
|
52
|
-
ApiProperty({ description: "Goal target" }),
|
|
53
38
|
IsInt(),
|
|
54
39
|
Min(0),
|
|
55
40
|
__decorateMetadata("design:type", Number)
|
|
@@ -78,38 +63,22 @@ var Tmp = class {
|
|
|
78
63
|
}
|
|
79
64
|
};
|
|
80
65
|
__decorate([
|
|
81
|
-
ApiProperty({
|
|
82
|
-
description: "Sentient outpost information",
|
|
83
|
-
type: () => SentientOutpost
|
|
84
|
-
}),
|
|
85
66
|
ValidateNested(),
|
|
86
67
|
Type(() => SentientOutpost),
|
|
87
68
|
__decorateMetadata("design:type", typeof (_ref4 = typeof SentientOutpost !== "undefined" && SentientOutpost) === "function" ? _ref4 : Object)
|
|
88
69
|
], Tmp.prototype, "sentientOutposts", void 0);
|
|
89
70
|
__decorate([
|
|
90
|
-
ApiProperty({
|
|
91
|
-
description: "Kinepage message",
|
|
92
|
-
type: () => Kinepage
|
|
93
|
-
}),
|
|
94
71
|
ValidateNested(),
|
|
95
72
|
Type(() => Kinepage),
|
|
96
73
|
__decorateMetadata("design:type", typeof (_ref5 = typeof Kinepage !== "undefined" && Kinepage) === "function" ? _ref5 : Object)
|
|
97
74
|
], Tmp.prototype, "kinepage", void 0);
|
|
98
75
|
__decorate([
|
|
99
|
-
ApiPropertyOptional({
|
|
100
|
-
description: "Faceoff bonus information",
|
|
101
|
-
type: () => FaceoffBonus
|
|
102
|
-
}),
|
|
103
76
|
IsOptional(),
|
|
104
77
|
ValidateNested(),
|
|
105
78
|
Type(() => FaceoffBonus),
|
|
106
79
|
__decorateMetadata("design:type", typeof (_ref6 = typeof FaceoffBonus !== "undefined" && FaceoffBonus) === "function" ? _ref6 : Object)
|
|
107
80
|
], Tmp.prototype, "faceoffBonus", void 0);
|
|
108
81
|
__decorate([
|
|
109
|
-
ApiPropertyOptional({
|
|
110
|
-
description: "Quest to Conquer Cancer progress",
|
|
111
|
-
type: () => QuestProgress
|
|
112
|
-
}),
|
|
113
82
|
IsOptional(),
|
|
114
83
|
ValidateNested(),
|
|
115
84
|
Type(() => QuestProgress),
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
|
|
2
2
|
import { WorldStateObject } from "./WorldStateObject.mjs";
|
|
3
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
4
3
|
import { IsBoolean, IsString } from "class-validator";
|
|
5
4
|
import { fromNow, timeDeltaToString } from "warframe-worldstate-data/utilities";
|
|
6
5
|
//#region lib/models/VallisCycle.ts
|
|
@@ -71,15 +70,7 @@ var VallisCycle = class extends WorldStateObject {
|
|
|
71
70
|
return `${this.timeLeft.replace(/\s\d*s/gi, "")} to ${this.isWarm ? "Cold" : "Warm"}`;
|
|
72
71
|
}
|
|
73
72
|
};
|
|
74
|
-
__decorate([
|
|
75
|
-
|
|
76
|
-
IsBoolean(),
|
|
77
|
-
__decorateMetadata("design:type", Boolean)
|
|
78
|
-
], VallisCycle.prototype, "isWarm", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
ApiProperty({ description: "Current cycle state. One of 'warm', 'cold'" }),
|
|
81
|
-
IsString(),
|
|
82
|
-
__decorateMetadata("design:type", String)
|
|
83
|
-
], VallisCycle.prototype, "state", void 0);
|
|
73
|
+
__decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], VallisCycle.prototype, "isWarm", void 0);
|
|
74
|
+
__decorate([IsString(), __decorateMetadata("design:type", String)], VallisCycle.prototype, "state", void 0);
|
|
84
75
|
//#endregion
|
|
85
76
|
export { VallisCycle };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as RawVoidTrader, l as VoidTrader } from "../../index-
|
|
1
|
+
import { c as RawVoidTrader, l as VoidTrader } from "../../index-BBJQtZk1.mjs";
|
|
2
2
|
export { RawVoidTrader, VoidTrader };
|