warframe-worldstate-parser 5.2.17 → 5.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/dist/Calendar-C-rbmV_t.d.mts +78 -0
  2. package/dist/CambionCycle-BzR_MfPH.d.mts +22 -0
  3. package/dist/CetusCycle-DaqfF4J1.d.mts +49 -0
  4. package/dist/ConstructionProgress-BRxmro3-.d.mts +18 -0
  5. package/dist/DarkSectorBattle-DHRl5tG1.d.mts +53 -0
  6. package/dist/Dependency-Cd-TxBJy.d.mts +41 -0
  7. package/dist/EarthCycle-C_oB5gDc.d.mts +60 -0
  8. package/dist/ExternalMission-CT__oi7Q.d.mts +49 -0
  9. package/dist/FetchProxy-DHSI4JPP.d.mts +10 -0
  10. package/dist/ImgCdn-DIhZrwap.d.mts +6 -0
  11. package/dist/Kinepage-CKBuvbv5.d.mts +22 -0
  12. package/dist/KuvaLogEntry-f4ZBn2Xf.d.mts +21 -0
  13. package/dist/MidrathCycle-CxveqDtx.d.mts +25 -0
  14. package/dist/News-CJ3lD7_g.d.mts +101 -0
  15. package/dist/Nightwave-BLHH02ht.d.mts +59 -0
  16. package/dist/NightwaveChallenge-j_m4hVQU.d.mts +51 -0
  17. package/dist/PersistentEnemy-BJ4twtUY.d.mts +79 -0
  18. package/dist/RewardData-BdtdUFnh.d.mts +11 -0
  19. package/dist/RewardTypes-BnGaD7VF.d.mts +34 -0
  20. package/dist/SteelPathOffering-DYjZ29sT.d.mts +37 -0
  21. package/dist/VallisCycle-as7DM4a-.d.mts +30 -0
  22. package/dist/WorldStateObject-C2KjQZjd.d.mts +48 -0
  23. package/dist/ZarimanCycle-DyYiVfyG.d.mts +45 -0
  24. package/dist/index-C4EJ_Mpd.d.mts +1671 -0
  25. package/dist/lib/WorldState.d.mts +16 -35
  26. package/dist/lib/WorldState.mjs +1 -3
  27. package/dist/lib/models/Alert.d.mts +1 -45
  28. package/dist/lib/models/Alert.mjs +1 -3
  29. package/dist/lib/models/Archimedea.d.mts +1 -86
  30. package/dist/lib/models/Archimedea.mjs +1 -3
  31. package/dist/lib/models/Calendar.d.mts +1 -77
  32. package/dist/lib/models/Calendar.mjs +1 -3
  33. package/dist/lib/models/CambionCycle.d.mts +1 -21
  34. package/dist/lib/models/CambionCycle.mjs +1 -3
  35. package/dist/lib/models/CetusCycle.d.mts +1 -48
  36. package/dist/lib/models/CetusCycle.mjs +1 -3
  37. package/dist/lib/models/ChallengeInstance.d.mts +1 -53
  38. package/dist/lib/models/ChallengeInstance.mjs +1 -3
  39. package/dist/lib/models/ConclaveChallenge.d.mts +1 -76
  40. package/dist/lib/models/ConclaveChallenge.mjs +1 -3
  41. package/dist/lib/models/ConstructionProgress.d.mts +1 -17
  42. package/dist/lib/models/ConstructionProgress.mjs +1 -3
  43. package/dist/lib/models/DailyDeal.d.mts +1 -66
  44. package/dist/lib/models/DailyDeal.mjs +1 -3
  45. package/dist/lib/models/DarkSector.d.mts +1 -142
  46. package/dist/lib/models/DarkSector.mjs +1 -3
  47. package/dist/lib/models/DarkSectorBattle.d.mts +1 -52
  48. package/dist/lib/models/DarkSectorBattle.mjs +1 -3
  49. package/dist/lib/models/DuviriCycle.d.mts +1 -23
  50. package/dist/lib/models/DuviriCycle.mjs +1 -3
  51. package/dist/lib/models/EarthCycle.d.mts +1 -59
  52. package/dist/lib/models/EarthCycle.mjs +1 -3
  53. package/dist/lib/models/Fissure.d.mts +1 -78
  54. package/dist/lib/models/Fissure.mjs +1 -3
  55. package/dist/lib/models/FlashSale.d.mts +1 -71
  56. package/dist/lib/models/FlashSale.mjs +1 -3
  57. package/dist/lib/models/GlobalUpgrade.d.mts +1 -55
  58. package/dist/lib/models/GlobalUpgrade.mjs +1 -3
  59. package/dist/lib/models/Invasion.d.mts +1 -113
  60. package/dist/lib/models/Invasion.mjs +1 -3
  61. package/dist/lib/models/Kinepage.d.mts +1 -21
  62. package/dist/lib/models/Kinepage.mjs +1 -2
  63. package/dist/lib/models/Kuva.d.mts +1 -20
  64. package/dist/lib/models/Kuva.mjs +1 -3
  65. package/dist/lib/models/MidrathCycle.d.mts +1 -24
  66. package/dist/lib/models/MidrathCycle.mjs +1 -3
  67. package/dist/lib/models/Mission.d.mts +1 -138
  68. package/dist/lib/models/Mission.mjs +1 -3
  69. package/dist/lib/models/News.d.mts +1 -100
  70. package/dist/lib/models/News.mjs +1 -3
  71. package/dist/lib/models/Nightwave.d.mts +1 -58
  72. package/dist/lib/models/Nightwave.mjs +1 -3
  73. package/dist/lib/models/NightwaveChallenge.d.mts +1 -50
  74. package/dist/lib/models/NightwaveChallenge.mjs +1 -3
  75. package/dist/lib/models/PersistentEnemy.d.mts +1 -78
  76. package/dist/lib/models/PersistentEnemy.mjs +1 -3
  77. package/dist/lib/models/Reward.d.mts +1 -67
  78. package/dist/lib/models/Reward.mjs +1 -3
  79. package/dist/lib/models/SentientOutpost.d.mts +1 -46
  80. package/dist/lib/models/SentientOutpost.mjs +1 -3
  81. package/dist/lib/models/Simaris.d.mts +1 -36
  82. package/dist/lib/models/Simaris.mjs +1 -3
  83. package/dist/lib/models/Sortie.d.mts +1 -60
  84. package/dist/lib/models/Sortie.mjs +1 -3
  85. package/dist/lib/models/SortieVariant.d.mts +1 -49
  86. package/dist/lib/models/SortieVariant.mjs +1 -3
  87. package/dist/lib/models/SteelPathOffering.d.mts +1 -36
  88. package/dist/lib/models/SteelPathOffering.mjs +1 -3
  89. package/dist/lib/models/SyndicateJob.d.mts +1 -92
  90. package/dist/lib/models/SyndicateJob.mjs +1 -3
  91. package/dist/lib/models/SyndicateMission.d.mts +1 -58
  92. package/dist/lib/models/SyndicateMission.mjs +1 -3
  93. package/dist/lib/models/Tmp.d.mts +1 -34
  94. package/dist/lib/models/Tmp.mjs +1 -3
  95. package/dist/lib/models/VallisCycle.d.mts +1 -29
  96. package/dist/lib/models/VallisCycle.mjs +1 -3
  97. package/dist/lib/models/VoidTrader.d.mts +1 -76
  98. package/dist/lib/models/VoidTrader.mjs +1 -3
  99. package/dist/lib/models/VoidTraderItem.d.mts +1 -43
  100. package/dist/lib/models/VoidTraderItem.mjs +1 -3
  101. package/dist/lib/models/VoidTraderSchedule.d.mts +1 -16
  102. package/dist/lib/models/VoidTraderSchedule.mjs +1 -3
  103. package/dist/lib/models/WeeklyChallenge.d.mts +1 -19
  104. package/dist/lib/models/WeeklyChallenge.mjs +1 -3
  105. package/dist/lib/models/WorldEvent.d.mts +1 -204
  106. package/dist/lib/models/WorldEvent.mjs +1 -3
  107. package/dist/lib/models/WorldStateObject.d.mts +1 -47
  108. package/dist/lib/models/WorldStateObject.mjs +1 -3
  109. package/dist/lib/models/ZarimanCycle.d.mts +1 -44
  110. package/dist/lib/models/ZarimanCycle.mjs +1 -3
  111. package/dist/lib/models/index.d.mts +17 -42
  112. package/dist/lib/models/index.mjs +1 -2
  113. package/dist/lib/supporting/Dependency.d.mts +1 -40
  114. package/dist/lib/supporting/Dependency.mjs +1 -1
  115. package/dist/lib/supporting/DuviriChoice.d.mts +1 -18
  116. package/dist/lib/supporting/DuviriChoice.mjs +1 -2
  117. package/dist/lib/supporting/ExternalMission.d.mts +1 -48
  118. package/dist/lib/supporting/ExternalMission.mjs +1 -1
  119. package/dist/lib/supporting/FetchProxy.d.mts +1 -9
  120. package/dist/lib/supporting/FetchProxy.mjs +1 -2
  121. package/dist/lib/supporting/ImgCdn.d.mts +1 -5
  122. package/dist/lib/supporting/ImgCdn.mjs +1 -2
  123. package/dist/lib/supporting/KuvaLogEntry.d.mts +1 -20
  124. package/dist/lib/supporting/KuvaLogEntry.mjs +1 -1
  125. package/dist/lib/supporting/RewardData.d.mts +1 -10
  126. package/dist/lib/supporting/RewardData.mjs +1 -2
  127. package/dist/lib/supporting/RewardTypes.d.mts +1 -33
  128. package/dist/lib/supporting/RewardTypes.mjs +1 -3
  129. package/dist/lib/supporting/index.d.mts +8 -8
  130. package/dist/lib/supporting/index.mjs +1 -2
  131. package/dist/main.d.mts +24 -52
  132. package/dist/main.mjs +1 -3
  133. package/package.json +1 -1
@@ -1,79 +1,2 @@
1
- import { BaseContentObject, WorldStateObject } from "./WorldStateObject.mjs";
2
- import { Locale } from "warframe-worldstate-data";
3
- import { ContentTimestamp } from "warframe-worldstate-data/utilities";
4
-
5
- //#region lib/models/PersistentEnemy.d.ts
6
- interface RawPersistentEnemy extends BaseContentObject {
7
- AgentType: string;
8
- LocTag: string;
9
- Rank: number;
10
- HealthPercent: string;
11
- FleeDamage: number;
12
- Region: number;
13
- LastDiscoveredTime: ContentTimestamp;
14
- LastDiscoveredLocation: string;
15
- Discovered: boolean;
16
- UseTicketing: boolean;
17
- }
18
- /**
19
- * Represents a persistent enemy
20
- * @augments {WorldStateObject}
21
- */
22
- declare class PersistentEnemy extends WorldStateObject {
23
- /**
24
- * The enemy's type
25
- */
26
- agentType: string;
27
- /**
28
- * The location tag
29
- */
30
- locationTag: string;
31
- /**
32
- * The enemy's rank
33
- */
34
- rank: number;
35
- /**
36
- * The enemy's remaining health percentage
37
- */
38
- healthPercent: number;
39
- /**
40
- * The percentual damage that the enemy takes when it's defeated
41
- */
42
- fleeDamage: number;
43
- /**
44
- * The region where the enemy is located
45
- */
46
- region: string | number;
47
- /**
48
- * The last time the enemy was discovered
49
- */
50
- lastDiscoveredTime: Date;
51
- /**
52
- * The node at which the enemy was last discovered
53
- */
54
- lastDiscoveredAt: string;
55
- /**
56
- * Whether or not the enemy is currently available
57
- */
58
- isDiscovered: boolean;
59
- /**
60
- * Whether or not the enemy is using ticketing
61
- */
62
- isUsingTicketing: boolean;
63
- /**
64
- * Fake ID incorporating discovery
65
- */
66
- pid: string;
67
- /**
68
- * @param data The persistent enemy data
69
- * @param deps The dependencies object
70
- * @param deps.locale Locale to use for translations
71
- */
72
- constructor(data: RawPersistentEnemy, {
73
- locale
74
- }?: {
75
- locale: Locale;
76
- });
77
- }
78
- //#endregion
1
+ import { n as RawPersistentEnemy, t as PersistentEnemy } from "../../PersistentEnemy-BJ4twtUY.mjs";
79
2
  export { PersistentEnemy, RawPersistentEnemy };
@@ -1,6 +1,5 @@
1
1
  import { WorldStateObject } from "./WorldStateObject.mjs";
2
2
  import { languageString, node, parseDate, region } from "warframe-worldstate-data/utilities";
3
-
4
3
  //#region lib/models/PersistentEnemy.ts
5
4
  /**
6
5
  * Represents a persistent enemy
@@ -71,6 +70,5 @@ var PersistentEnemy = class extends WorldStateObject {
71
70
  this.pid = `${this.id}${this.isDiscovered}`;
72
71
  }
73
72
  };
74
-
75
73
  //#endregion
76
- export { PersistentEnemy };
74
+ export { PersistentEnemy };
@@ -1,68 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import { RewardType } from "../supporting/RewardTypes.mjs";
3
- import "../supporting/index.mjs";
4
-
5
- //#region lib/models/Reward.d.ts
6
- /**
7
- * Returns the type of a given item
8
- */
9
- declare function getItemType(item: string, types?: RewardType[]): string;
10
- /**
11
- * Returns the full type of a given item
12
- */
13
- declare function getItemTypeFull(item: string, types?: RewardType[]): RewardType;
14
- interface RawReward {
15
- items: string[];
16
- countedItems?: {
17
- ItemType: string;
18
- ItemCount: number;
19
- }[];
20
- credits?: number;
21
- }
22
- /**
23
- * Represents a mission reward
24
- */
25
- declare class Reward {
26
- /**
27
- * The items being rewarded
28
- */
29
- items: string[];
30
- /**
31
- * The counted items being rewarded
32
- */
33
- countedItems: {
34
- type: string;
35
- key: string;
36
- count: number;
37
- }[];
38
- /**
39
- * The credits being rewarded
40
- */
41
- credits: number;
42
- /**
43
- * Thumbnail url
44
- */
45
- thumbnail: string;
46
- /**
47
- * Reward color
48
- */
49
- color: number;
50
- /**
51
- * @param data The mission data
52
- * @param deps The dependencies object
53
- * @param deps.locale Locale to use for translations
54
- */
55
- constructor(data: RawReward, {
56
- locale
57
- }?: Dependency);
58
- /**
59
- * The types of all items that are being rewarded
60
- */
61
- getTypes(): string[];
62
- /**
63
- * The types of all the items that are being rewarded
64
- */
65
- private getTypesFull;
66
- }
67
- //#endregion
1
+ import { ct as getItemType, lt as getItemTypeFull, ot as RawReward, st as Reward } from "../../index-C4EJ_Mpd.mjs";
68
2
  export { RawReward, Reward, getItemType, getItemTypeFull };
@@ -1,6 +1,5 @@
1
1
  import RewardTypes_default from "../supporting/RewardTypes.mjs";
2
2
  import { insist, languageString } from "warframe-worldstate-data/utilities";
3
-
4
3
  //#region lib/models/Reward.ts
5
4
  /**
6
5
  * Returns the type of a given item
@@ -68,6 +67,5 @@ var Reward = class {
68
67
  return this.items.concat(this.countedItems.map((i) => i.key)).map((t) => getItemTypeFull(t));
69
68
  }
70
69
  };
71
-
72
70
  //#endregion
73
- export { Reward, getItemType, getItemTypeFull };
71
+ export { Reward, getItemType, getItemTypeFull };
@@ -1,47 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
-
4
- //#region lib/models/SentientOutpost.d.ts
5
- /**
6
- * Mission typeDef
7
- */
8
- interface OutpostMission {
9
- node: string;
10
- faction: string;
11
- type: string;
12
- }
13
- /**
14
- * Represents a set of sentient outposts that are present
15
- * Parsed source is combined data from DE's worldstate and semlar.com/anomaly.json
16
- */
17
- declare class SentientOutpost {
18
- private readonly node;
19
- id: string;
20
- /**
21
- * Start time
22
- */
23
- activation: Date;
24
- /**
25
- * End time
26
- */
27
- expiry: Date;
28
- /**
29
- * Current Mission
30
- */
31
- mission?: OutpostMission;
32
- /**
33
- * Whether or not the object was active during creation
34
- */
35
- active: boolean;
36
- /**
37
- * @param sfn Sentient outpost node number
38
- * @param deps Dependencies
39
- */
40
- constructor(sfn: string | number | undefined, {
41
- locale,
42
- sentientData,
43
- logger
44
- }: Dependency);
45
- }
46
- //#endregion
1
+ import { D as SentientOutpost, E as OutpostMission } from "../../index-C4EJ_Mpd.mjs";
47
2
  export { OutpostMission, SentientOutpost };
@@ -1,5 +1,4 @@
1
1
  import { node, nodeEnemy, nodeMissionType } from "warframe-worldstate-data/utilities";
2
-
3
2
  //#region lib/models/SentientOutpost.ts
4
3
  const duration = 1800;
5
4
  const sat = () => {
@@ -60,6 +59,5 @@ var SentientOutpost = class {
60
59
  }
61
60
  }
62
61
  };
63
-
64
62
  //#endregion
65
- export { SentientOutpost };
63
+ export { SentientOutpost };
@@ -1,37 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
-
4
- //#region lib/models/Simaris.d.ts
5
- /**
6
- * Simaris library info
7
- */
8
- type LibraryInfo = {
9
- LastCompletedTargetType: string;
10
- };
11
- /**
12
- * Contains information about sanctuary targets
13
- */
14
- declare class Simaris {
15
- /**
16
- * The sanctuary target
17
- */
18
- target: string;
19
- /**
20
- * Whether or not the target is currently active
21
- */
22
- isTargetActive: boolean;
23
- /**
24
- * @param data The sanctuary data
25
- * @param deps The dependencies object
26
- * @param deps.locale Locale to use for translations
27
- */
28
- constructor(data?: LibraryInfo, {
29
- locale
30
- }?: Dependency);
31
- /**
32
- * A string representation of the current sanctuary status
33
- */
34
- get asString(): string;
35
- }
36
- //#endregion
1
+ import { T as Simaris, w as LibraryInfo } from "../../index-C4EJ_Mpd.mjs";
37
2
  export { LibraryInfo, Simaris };
@@ -1,5 +1,4 @@
1
1
  import { languageString } from "warframe-worldstate-data/utilities";
2
-
3
2
  //#region lib/models/Simaris.ts
4
3
  /**
5
4
  * Contains information about sanctuary targets
@@ -30,6 +29,5 @@ var Simaris = class {
30
29
  return `Simaris's ${this.isTargetActive ? "current" : "previous"} objective ${this.isTargetActive ? "is" : "was"} ${this.target}`;
31
30
  }
32
31
  };
33
-
34
32
  //#endregion
35
- export { Simaris };
33
+ export { Simaris };
@@ -1,61 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
- import { Mission, RawMission } from "./Mission.mjs";
4
- import { BaseContentObject, WorldStateObject } from "./WorldStateObject.mjs";
5
- import { RawSortieVariant, SortieVariant } from "./SortieVariant.mjs";
6
-
7
- //#region lib/models/Sortie.d.ts
8
- interface RawSortie extends BaseContentObject {
9
- Reward: string;
10
- Variants?: RawSortieVariant[];
11
- Missions?: RawMission[];
12
- Boss: string;
13
- }
14
- /**
15
- * Represents a daily sortie
16
- * @augments {WorldStateObject}
17
- */
18
- declare class Sortie extends WorldStateObject {
19
- /**
20
- * The sortie's reward pool
21
- */
22
- rewardPool: string;
23
- /**
24
- * The sortie's variants
25
- */
26
- variants: SortieVariant[];
27
- /**
28
- * Archon hunt missions if sortie is an archon hunt
29
- */
30
- missions: Mission[];
31
- /**
32
- * The sortie's boss
33
- */
34
- boss: string;
35
- /**
36
- * The sortie's faction
37
- */
38
- faction: string;
39
- /**
40
- * The sortie's faction
41
- */
42
- factionKey: string;
43
- /**
44
- * @param data The data for all daily sorties
45
- * @param deps The dependencies object
46
- * @param deps.locale Locale to use for translations
47
- */
48
- constructor(data: RawSortie, {
49
- locale
50
- }?: Dependency);
51
- /**
52
- * ETA string (at time of object creation)
53
- */
54
- get eta(): string;
55
- /**
56
- * Whether this is expired (at time of object creation)
57
- */
58
- get expired(): boolean;
59
- }
60
- //#endregion
1
+ import { b as RawSortie, x as Sortie } from "../../index-C4EJ_Mpd.mjs";
61
2
  export { RawSortie, Sortie };
@@ -3,7 +3,6 @@ import { WorldStateObject } from "./WorldStateObject.mjs";
3
3
  import { SortieVariant } from "./SortieVariant.mjs";
4
4
  import wsData from "warframe-worldstate-data";
5
5
  import { fromNow, languageString, parseDate, sortieBoss, sortieFaction, timeDeltaToString } from "warframe-worldstate-data/utilities";
6
-
7
6
  //#region lib/models/Sortie.ts
8
7
  const { sortie: sortieData } = wsData;
9
8
  /**
@@ -68,6 +67,5 @@ var Sortie = class extends WorldStateObject {
68
67
  return fromNow(this.expiry) < 0;
69
68
  }
70
69
  };
71
-
72
70
  //#endregion
73
- export { Sortie };
71
+ export { Sortie };
@@ -1,50 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
-
4
- //#region lib/models/SortieVariant.d.ts
5
- interface RawSortieVariant {
6
- missionType: string;
7
- modifierType: string;
8
- node: string;
9
- }
10
- /**
11
- * Represents a sortie variant
12
- * @class
13
- */
14
- declare class SortieVariant {
15
- /**
16
- * The variant's mission type
17
- */
18
- missionType: string;
19
- /**
20
- * The variant's mission type unlocalized
21
- */
22
- missionTypeKey: string;
23
- /**
24
- * The mission modifier
25
- */
26
- modifier: string;
27
- /**
28
- * The variant's modifier description
29
- */
30
- modifierDescription: string;
31
- /**
32
- * The node where the variant takes place
33
- */
34
- node: string;
35
- /**
36
- * The node where the variant takes place unlocalized
37
- */
38
- nodeKey: string;
39
- /**
40
- * Make the SortieVariant
41
- * @param data Sortie variant data
42
- * @param deps Dependencies
43
- * @param deps.locale Locale to use for translations
44
- */
45
- constructor(data: RawSortieVariant, {
46
- locale
47
- }?: Dependency);
48
- }
49
- //#endregion
1
+ import { C as SortieVariant, S as RawSortieVariant } from "../../index-C4EJ_Mpd.mjs";
50
2
  export { RawSortieVariant, SortieVariant };
@@ -1,5 +1,4 @@
1
1
  import { insist, missionType, node, sortieModDesc, sortieModifier } from "warframe-worldstate-data/utilities";
2
-
3
2
  //#region lib/models/SortieVariant.ts
4
3
  /**
5
4
  * Represents a sortie variant
@@ -46,6 +45,5 @@ var SortieVariant = class {
46
45
  this.nodeKey = node(data.node, "en");
47
46
  }
48
47
  };
49
-
50
48
  //#endregion
51
- export { SortieVariant };
49
+ export { SortieVariant };
@@ -1,37 +1,2 @@
1
- import { Locale } from "warframe-worldstate-data";
2
- import { SteelPathOffering } from "warframe-worldstate-data/types";
3
-
4
- //#region lib/models/SteelPathOffering.d.ts
5
- /**
6
- * General data pertaining to incursions
7
- */
8
- interface Incursion {
9
- /**
10
- * Identifier for steel path incursion based on start of day.
11
- */
12
- id: string;
13
- /**
14
- * when the current incursions became active
15
- */
16
- activation: Date;
17
- /**
18
- * when the current incursions become inactive
19
- */
20
- expiry: Date;
21
- }
22
- declare class SteelPathOfferings {
23
- currentReward: SteelPathOffering;
24
- activation: Date;
25
- expiry: Date;
26
- remaining: string;
27
- rotation: SteelPathOffering[];
28
- evergreens: SteelPathOffering[];
29
- incursions: Incursion;
30
- constructor({
31
- locale
32
- }: {
33
- locale: Locale;
34
- });
35
- }
36
- //#endregion
1
+ import { n as SteelPathOfferings, t as Incursion } from "../../SteelPathOffering-DYjZ29sT.mjs";
37
2
  export { Incursion, SteelPathOfferings };
@@ -1,5 +1,4 @@
1
1
  import { steelPath, timeDeltaToString } from "warframe-worldstate-data/utilities";
2
-
3
2
  //#region lib/models/SteelPathOffering.ts
4
3
  const monday = 1;
5
4
  /**
@@ -78,6 +77,5 @@ var SteelPathOfferings = class {
78
77
  };
79
78
  }
80
79
  };
81
-
82
80
  //#endregion
83
- export { SteelPathOfferings };
81
+ export { SteelPathOfferings };
@@ -1,93 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
- import { Identifier, WorldStateObject } from "./WorldStateObject.mjs";
4
-
5
- //#region lib/models/SyndicateJob.d.ts
6
- interface BountyReward {
7
- item: string;
8
- rarity: string;
9
- chance: number;
10
- }
11
- interface RawSyndicateJob {
12
- rewards: string;
13
- isVault?: boolean;
14
- JobCurrentVersion?: Identifier;
15
- jobType?: string;
16
- locationTag?: string;
17
- minEnemyLevel: number;
18
- maxEnemyLevel: number;
19
- xpAmounts: number[];
20
- masteryReq?: number;
21
- }
22
- interface RewardDrop extends BountyReward {
23
- count: number;
24
- }
25
- /**
26
- * Represents a syndicate daily mission
27
- * @augments {WorldStateObject}
28
- */
29
- declare class SyndicateJob extends WorldStateObject {
30
- /**
31
- * Reward pool unique name
32
- */
33
- uniqueName: string;
34
- /**
35
- * Array of strings describing rewards
36
- */
37
- rewardPool: string[];
38
- /**
39
- * A structured version of the reward pool
40
- */
41
- rewardPoolDrops: RewardDrop[];
42
- /**
43
- * The type of job this is
44
- */
45
- type?: string;
46
- /**
47
- * Array of enemy levels
48
- */
49
- enemyLevels: number[];
50
- /**
51
- * Array of standing gains per stage of job
52
- */
53
- standingStages: number[];
54
- /**
55
- * Minimum mastery required to participate
56
- */
57
- minMR: number;
58
- /**
59
- * Whether or not this is a Vault job.
60
- * No indication for difference of normal vs arcana vaults.
61
- */
62
- isVault?: boolean;
63
- /**
64
- * Corresponding chamber. Nullable
65
- */
66
- locationTag?: string;
67
- /**
68
- * What time phase this bounty is bound to
69
- */
70
- timeBound: string | undefined;
71
- /**
72
- * Generate a job with async data (reward pool)
73
- * @param data The syndicate mission data
74
- * @param expiry The syndicate job expiration
75
- * @param deps The dependencies object
76
- * @returns The created SyndicateJob object with rewardPool
77
- */
78
- static build(data: RawSyndicateJob, expiry: Date, deps: Dependency): Promise<SyndicateJob>;
79
- /**
80
- * Construct a job without async data (reward pool)
81
- * @param data The syndicate mission data
82
- * @param expiry The syndicate job expiration
83
- * @param deps The dependencies object
84
- * @param deps.locale Locale to use for translations
85
- *
86
- * This DOES NOT populate the reward pool
87
- */
88
- constructor(data: RawSyndicateJob, expiry: Date, {
89
- locale
90
- }?: Dependency);
91
- }
92
- //#endregion
1
+ import { _ as RawSyndicateJob, v as RewardDrop, y as SyndicateJob } from "../../index-C4EJ_Mpd.mjs";
93
2
  export { RawSyndicateJob, RewardDrop, SyndicateJob };
@@ -2,7 +2,6 @@ import { WorldStateObject } from "./WorldStateObject.mjs";
2
2
  import { fetchProxy } from "../supporting/FetchProxy.mjs";
3
3
  import "../supporting/index.mjs";
4
4
  import { languageString } from "warframe-worldstate-data/utilities";
5
-
6
5
  //#region lib/models/SyndicateJob.ts
7
6
  const apiBase = process.env.API_BASE_URL || "https://api.warframestat.us";
8
7
  const bountyRewardRegex = /(?:Tier([ABCDE])|Narmer)Table([ABC])Rewards/i;
@@ -158,6 +157,5 @@ var SyndicateJob = class SyndicateJob extends WorldStateObject {
158
157
  } else this.timeBound = "night";
159
158
  }
160
159
  };
161
-
162
160
  //#endregion
163
- export { SyndicateJob };
161
+ export { SyndicateJob };
@@ -1,59 +1,2 @@
1
- import { Dependency } from "../supporting/Dependency.mjs";
2
- import "../supporting/index.mjs";
3
- import { BaseContentObject, WorldStateObject } from "./WorldStateObject.mjs";
4
- import { RawSyndicateJob, SyndicateJob } from "./SyndicateJob.mjs";
5
-
6
- //#region lib/models/SyndicateMission.d.ts
7
- interface RawSyndicateMission extends BaseContentObject {
8
- Tag: string;
9
- Nodes: string[];
10
- Jobs: RawSyndicateJob[];
11
- }
12
- /**
13
- * Represents a syndicate daily mission
14
- * @augments {WorldStateObject}
15
- */
16
- declare class SyndicateMission extends WorldStateObject {
17
- /**
18
- * The syndicate that is offering the mission
19
- * @type {string}
20
- */
21
- syndicate: string;
22
- /**
23
- * The syndicate that is offering the mission
24
- * @type {string}
25
- */
26
- syndicateKey: string;
27
- /**
28
- * The nodes on which the missions are taking place
29
- * @type {Array.<string>}
30
- */
31
- nodes: string[];
32
- /**
33
- * The jobs for this syndicate. Will normally be []
34
- * @type {Array.<SyndicateJob>}
35
- */
36
- jobs: SyndicateJob[];
37
- /**
38
- * Build a new SyndicateMission with async operations & data
39
- * @param data The syndicate mission data
40
- * @param deps The dependencies object
41
- * @param deps.locale Locale to use for translations
42
- * @returns SyndicateMission object w/ async resolution of jobs
43
- */
44
- static build(data: RawSyndicateMission, deps?: Dependency): Promise<SyndicateMission>;
45
- /**
46
- * @param data The syndicate mission data
47
- * @param deps The dependencies object
48
- * @param deps.locale Locale to use for translations
49
- */
50
- constructor(data: RawSyndicateMission, {
51
- locale
52
- }?: Dependency);
53
- /**
54
- * Time delta string from now to the expiry
55
- */
56
- get eta(): string;
57
- }
58
- //#endregion
1
+ import { g as SyndicateMission, h as RawSyndicateMission } from "../../index-C4EJ_Mpd.mjs";
59
2
  export { RawSyndicateMission, SyndicateMission };
@@ -1,7 +1,6 @@
1
1
  import { WorldStateObject } from "./WorldStateObject.mjs";
2
2
  import { SyndicateJob } from "./SyndicateJob.mjs";
3
3
  import { fromNow, node, syndicate, timeDeltaToString } from "warframe-worldstate-data/utilities";
4
-
5
4
  //#region lib/models/SyndicateMission.ts
6
5
  /**
7
6
  * Represents a syndicate daily mission
@@ -61,6 +60,5 @@ var SyndicateMission = class SyndicateMission extends WorldStateObject {
61
60
  return timeDeltaToString(fromNow(this.expiry));
62
61
  }
63
62
  };
64
-
65
63
  //#endregion
66
- export { SyndicateMission };
64
+ export { SyndicateMission };