@wfcd/profile-parser 2.0.12 → 2.0.13
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/Ability-DcXcbtcE.d.mts +19 -0
- package/dist/Ability.d.mts +1 -18
- package/dist/Ability.mjs +1 -2
- package/dist/ArchonCrystal.mjs +1 -3
- package/dist/ChallengeProgress-BrxgSqf4.d.mts +20 -0
- package/dist/ChallengeProgress.d.mts +1 -19
- package/dist/ChallengeProgress.mjs +1 -2
- package/dist/Enemy-Das_tHF5.d.mts +44 -0
- package/dist/Enemy.d.mts +1 -43
- package/dist/Enemy.mjs +1 -2
- package/dist/Intrinsics-BhwKpPoY.d.mts +67 -0
- package/dist/Intrinsics.d.mts +1 -66
- package/dist/Intrinsics.mjs +1 -2
- package/dist/ItemConfig-C81QdCpU.d.mts +51 -0
- package/dist/ItemConfig.d.mts +1 -50
- package/dist/ItemConfig.mjs +1 -3
- package/dist/LoadOutInventory-BrtoOtNr.d.mts +53 -0
- package/dist/LoadOutInventory.d.mts +1 -52
- package/dist/LoadOutInventory.mjs +1 -3
- package/dist/LoadOutItem-Cd_qovNn.d.mts +120 -0
- package/dist/LoadOutItem.d.mts +1 -119
- package/dist/LoadOutItem.mjs +1 -3
- package/dist/LoadOutPreset-CUV29lLL.d.mts +83 -0
- package/dist/LoadOutPreset.d.mts +1 -82
- package/dist/LoadOutPreset.mjs +1 -3
- package/dist/Mission-C7zlZ4eq.d.mts +53 -0
- package/dist/Mission.d.mts +1 -52
- package/dist/Mission.mjs +1 -3
- package/dist/OperatorLoadOuts-DvlpRvD1.d.mts +81 -0
- package/dist/OperatorLoadOuts.d.mts +1 -80
- package/dist/OperatorLoadOuts.mjs +1 -3
- package/dist/Polarity-BWadoIXU.d.mts +26 -0
- package/dist/Polarity.d.mts +1 -25
- package/dist/Polarity.mjs +1 -3
- package/dist/Profile.d.mts +8 -8
- package/dist/Profile.mjs +1 -3
- package/dist/ProfileParser.d.mts +1 -1
- package/dist/ProfileParser.mjs +1 -3
- package/dist/Pvp-D0lygyP6.d.mts +36 -0
- package/dist/Pvp.d.mts +1 -35
- package/dist/Pvp.mjs +1 -2
- package/dist/Race-PxkzCRsy.d.mts +32 -0
- package/dist/Race.d.mts +1 -31
- package/dist/Race.mjs +1 -2
- package/dist/Scan-Cj6jCTNg.d.mts +27 -0
- package/dist/Scan.d.mts +1 -26
- package/dist/Scan.mjs +1 -2
- package/dist/Skin-CpQ4dzEs.d.mts +28 -0
- package/dist/Skin.d.mts +1 -27
- package/dist/Skin.mjs +1 -3
- package/dist/Stats.d.mts +7 -7
- package/dist/Stats.mjs +1 -3
- package/dist/Syndicate-BwHRq-Iw.d.mts +33 -0
- package/dist/Syndicate.d.mts +1 -32
- package/dist/Syndicate.mjs +1 -3
- package/dist/Utils-xGSP1zu-.d.mts +36 -0
- package/dist/Utils.d.mts +1 -35
- package/dist/Utils.mjs +1 -3
- package/dist/Weapon-DUlgoPHD.d.mts +32 -0
- package/dist/Weapon.d.mts +1 -31
- package/dist/Weapon.mjs +1 -2
- package/dist/XpInfo-C1pzVAdK.d.mts +34 -0
- package/dist/XpInfo.d.mts +1 -33
- package/dist/XpInfo.mjs +1 -3
- package/package.json +6 -6
|
@@ -1,81 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ProfileRawColors } from "./Utils.mjs";
|
|
3
|
-
import { ColorMap } from "@wfcd/items";
|
|
4
|
-
import { Locale } from "warframe-worldstate-data";
|
|
5
|
-
|
|
6
|
-
//#region src/OperatorLoadOuts.d.ts
|
|
7
|
-
interface RawOperatorLoadOuts {
|
|
8
|
-
Skins: string[];
|
|
9
|
-
OperatorAmp?: {
|
|
10
|
-
$oid: string;
|
|
11
|
-
};
|
|
12
|
-
Upgrades: string[];
|
|
13
|
-
AbilityOverride: {
|
|
14
|
-
Ability: string;
|
|
15
|
-
Index: number;
|
|
16
|
-
};
|
|
17
|
-
pricol?: ProfileRawColors;
|
|
18
|
-
sigcol?: ProfileRawColors;
|
|
19
|
-
attcol?: ProfileRawColors;
|
|
20
|
-
syancol?: ProfileRawColors;
|
|
21
|
-
eyecol?: ProfileRawColors;
|
|
22
|
-
facial?: ProfileRawColors;
|
|
23
|
-
cloth?: ProfileRawColors;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Player's operator loadout
|
|
27
|
-
* @module
|
|
28
|
-
*/
|
|
29
|
-
declare class OperatorLoadOuts {
|
|
30
|
-
/**
|
|
31
|
-
* Skins that have been applied to the player's operator.
|
|
32
|
-
*/
|
|
33
|
-
skins: Skin[];
|
|
34
|
-
/**
|
|
35
|
-
* Operator amp ID
|
|
36
|
-
*/
|
|
37
|
-
operatorAmp?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Applied upgrade IDs
|
|
40
|
-
*/
|
|
41
|
-
upgrades: string[];
|
|
42
|
-
abilityOverride: {
|
|
43
|
-
Ability: string;
|
|
44
|
-
Index: number;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Operator primary colors
|
|
48
|
-
*/
|
|
49
|
-
primaryColor?: ColorMap;
|
|
50
|
-
/**
|
|
51
|
-
* Operator sigil colors
|
|
52
|
-
*/
|
|
53
|
-
sigilColor?: ColorMap;
|
|
54
|
-
/**
|
|
55
|
-
* Operator attachment colors
|
|
56
|
-
*/
|
|
57
|
-
attachmentsColor?: ColorMap;
|
|
58
|
-
/**
|
|
59
|
-
* Operator syandana colors
|
|
60
|
-
*/
|
|
61
|
-
syandanaColor?: ColorMap;
|
|
62
|
-
/**
|
|
63
|
-
* Operator eye colors
|
|
64
|
-
*/
|
|
65
|
-
eyeColor?: ColorMap;
|
|
66
|
-
/**
|
|
67
|
-
* Operator facial colors
|
|
68
|
-
*/
|
|
69
|
-
facial?: ColorMap;
|
|
70
|
-
/**
|
|
71
|
-
* Operator cloth colors
|
|
72
|
-
*/
|
|
73
|
-
cloth?: ColorMap;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @param {Object} loadout The operator loadout
|
|
77
|
-
*/
|
|
78
|
-
constructor(loadout: RawOperatorLoadOuts, locale?: Locale);
|
|
79
|
-
}
|
|
80
|
-
//#endregion
|
|
1
|
+
import { n as RawOperatorLoadOuts, t as OperatorLoadOuts } from "./OperatorLoadOuts-DvlpRvD1.mjs";
|
|
81
2
|
export { RawOperatorLoadOuts, OperatorLoadOuts as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { mapToHex } from "./Utils.mjs";
|
|
2
2
|
import Skin from "./Skin.mjs";
|
|
3
3
|
import { colors } from "@wfcd/items/utilities";
|
|
4
|
-
|
|
5
4
|
//#region src/OperatorLoadOuts.ts
|
|
6
5
|
/**
|
|
7
6
|
* Player's operator loadout
|
|
@@ -71,6 +70,5 @@ var OperatorLoadOuts = class {
|
|
|
71
70
|
if (loadout.cloth) this.cloth = colors.mapColors(mapToHex(loadout.cloth));
|
|
72
71
|
}
|
|
73
72
|
};
|
|
74
|
-
|
|
75
73
|
//#endregion
|
|
76
|
-
export { OperatorLoadOuts as default };
|
|
74
|
+
export { OperatorLoadOuts as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region src/Polarity.d.ts
|
|
2
|
+
interface RawPolarity {
|
|
3
|
+
Value: string;
|
|
4
|
+
Slot: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* A polarity in a LoadOutItem
|
|
8
|
+
* @module
|
|
9
|
+
*/
|
|
10
|
+
declare class Polarity {
|
|
11
|
+
/**
|
|
12
|
+
* Polarity name
|
|
13
|
+
*/
|
|
14
|
+
polarity: string;
|
|
15
|
+
/**
|
|
16
|
+
* Polarized slot
|
|
17
|
+
*/
|
|
18
|
+
slot: number;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @param {Object} raw The polarity to parse
|
|
22
|
+
*/
|
|
23
|
+
constructor(raw: RawPolarity);
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { RawPolarity as n, Polarity as t };
|
package/dist/Polarity.d.mts
CHANGED
|
@@ -1,26 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
interface RawPolarity {
|
|
3
|
-
Value: string;
|
|
4
|
-
Slot: number;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* A polarity in a LoadOutItem
|
|
8
|
-
* @module
|
|
9
|
-
*/
|
|
10
|
-
declare class Polarity {
|
|
11
|
-
/**
|
|
12
|
-
* Polarity name
|
|
13
|
-
*/
|
|
14
|
-
polarity: string;
|
|
15
|
-
/**
|
|
16
|
-
* Polarized slot
|
|
17
|
-
*/
|
|
18
|
-
slot: number;
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @param {Object} raw The polarity to parse
|
|
22
|
-
*/
|
|
23
|
-
constructor(raw: RawPolarity);
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
1
|
+
import { n as RawPolarity, t as Polarity } from "./Polarity-BWadoIXU.mjs";
|
|
26
2
|
export { RawPolarity, Polarity as default };
|
package/dist/Polarity.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { translatePolarity } from "warframe-worldstate-data/utilities";
|
|
2
|
-
|
|
3
2
|
//#region src/Polarity.ts
|
|
4
3
|
/**
|
|
5
4
|
* A polarity in a LoadOutItem
|
|
@@ -23,6 +22,5 @@ var Polarity = class {
|
|
|
23
22
|
this.slot = raw.Slot;
|
|
24
23
|
}
|
|
25
24
|
};
|
|
26
|
-
|
|
27
25
|
//#endregion
|
|
28
|
-
export { Polarity as default };
|
|
26
|
+
export { Polarity as default };
|
package/dist/Profile.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { RawDate, RawId } from "./Utils
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import Syndicate,
|
|
1
|
+
import { n as RawChallengeProgress, t as ChallengeProgress } from "./ChallengeProgress-BrxgSqf4.mjs";
|
|
2
|
+
import { n as RawIntrinsics, t as Intrinsics } from "./Intrinsics-BhwKpPoY.mjs";
|
|
3
|
+
import { n as RawDate, r as RawId } from "./Utils-xGSP1zu-.mjs";
|
|
4
|
+
import { n as RawLoadOut, t as LoadOutInventory } from "./LoadOutInventory-BrtoOtNr.mjs";
|
|
5
|
+
import { n as RawLoadOutPreset, t as LoadOutPreset } from "./LoadOutPreset-CUV29lLL.mjs";
|
|
6
|
+
import { n as RawMission, t as Mission } from "./Mission-C7zlZ4eq.mjs";
|
|
7
|
+
import { n as RawOperatorLoadOuts, t as OperatorLoadOuts } from "./OperatorLoadOuts-DvlpRvD1.mjs";
|
|
8
|
+
import { n as Syndicate, t as RawAffiliation } from "./Syndicate-BwHRq-Iw.mjs";
|
|
9
9
|
import { Locale } from "warframe-worldstate-data";
|
|
10
10
|
|
|
11
11
|
//#region src/Profile.d.ts
|
package/dist/Profile.mjs
CHANGED
|
@@ -6,7 +6,6 @@ import Mission from "./Mission.mjs";
|
|
|
6
6
|
import OperatorLoadOuts from "./OperatorLoadOuts.mjs";
|
|
7
7
|
import Syndicate from "./Syndicate.mjs";
|
|
8
8
|
import { parseDate } from "warframe-worldstate-data/utilities";
|
|
9
|
-
|
|
10
9
|
//#region src/Profile.ts
|
|
11
10
|
/**
|
|
12
11
|
* A player's profile
|
|
@@ -188,6 +187,5 @@ var Profile = class {
|
|
|
188
187
|
};
|
|
189
188
|
}
|
|
190
189
|
};
|
|
191
|
-
|
|
192
190
|
//#endregion
|
|
193
|
-
export { Profile as default };
|
|
191
|
+
export { Profile as default };
|
package/dist/ProfileParser.d.mts
CHANGED
package/dist/ProfileParser.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import Profile from "./Profile.mjs";
|
|
2
2
|
import Stats from "./Stats.mjs";
|
|
3
3
|
import { parseDate } from "warframe-worldstate-data/utilities";
|
|
4
|
-
|
|
5
4
|
//#region src/ProfileParser.ts
|
|
6
5
|
/**
|
|
7
6
|
* Parser entry point
|
|
@@ -47,6 +46,5 @@ var ProfileParser = class {
|
|
|
47
46
|
this.stats = new Stats(data.Stats);
|
|
48
47
|
}
|
|
49
48
|
};
|
|
50
|
-
|
|
51
49
|
//#endregion
|
|
52
|
-
export { ProfileParser as default };
|
|
50
|
+
export { ProfileParser as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/Pvp.d.ts
|
|
2
|
+
interface RawPvp {
|
|
3
|
+
type: string;
|
|
4
|
+
suitDeaths?: number;
|
|
5
|
+
suitKills?: number;
|
|
6
|
+
weaponKills?: number;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Player's conclave stats
|
|
10
|
+
* @module
|
|
11
|
+
*/
|
|
12
|
+
declare class Pvp {
|
|
13
|
+
/**
|
|
14
|
+
* PVP match unique name
|
|
15
|
+
*/
|
|
16
|
+
uniqueName: string;
|
|
17
|
+
/**
|
|
18
|
+
* Deaths for this match
|
|
19
|
+
*/
|
|
20
|
+
warframeDeaths?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Warframe kills
|
|
23
|
+
*/
|
|
24
|
+
warframeKills?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Weapon killes
|
|
27
|
+
*/
|
|
28
|
+
weaponKills?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param {Object} pvp PVP data to parse
|
|
32
|
+
*/
|
|
33
|
+
constructor(pvp: RawPvp);
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { RawPvp as n, Pvp as t };
|
package/dist/Pvp.d.mts
CHANGED
|
@@ -1,36 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
interface RawPvp {
|
|
3
|
-
type: string;
|
|
4
|
-
suitDeaths?: number;
|
|
5
|
-
suitKills?: number;
|
|
6
|
-
weaponKills?: number;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Player's conclave stats
|
|
10
|
-
* @module
|
|
11
|
-
*/
|
|
12
|
-
declare class Pvp {
|
|
13
|
-
/**
|
|
14
|
-
* PVP match unique name
|
|
15
|
-
*/
|
|
16
|
-
uniqueName: string;
|
|
17
|
-
/**
|
|
18
|
-
* Deaths for this match
|
|
19
|
-
*/
|
|
20
|
-
warframeDeaths?: number;
|
|
21
|
-
/**
|
|
22
|
-
* Warframe kills
|
|
23
|
-
*/
|
|
24
|
-
warframeKills?: number;
|
|
25
|
-
/**
|
|
26
|
-
* Weapon killes
|
|
27
|
-
*/
|
|
28
|
-
weaponKills?: number;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @param {Object} pvp PVP data to parse
|
|
32
|
-
*/
|
|
33
|
-
constructor(pvp: RawPvp);
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
1
|
+
import { n as RawPvp, t as Pvp } from "./Pvp-D0lygyP6.mjs";
|
|
36
2
|
export { RawPvp, Pvp as default };
|
package/dist/Pvp.mjs
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//#region src/Race.d.ts
|
|
2
|
+
type RawRace = Record<string, {
|
|
3
|
+
highScore: number;
|
|
4
|
+
}>;
|
|
5
|
+
/**
|
|
6
|
+
* Represents a k-drive race
|
|
7
|
+
* @module
|
|
8
|
+
*/
|
|
9
|
+
declare class Race {
|
|
10
|
+
/**
|
|
11
|
+
* Race name
|
|
12
|
+
*/
|
|
13
|
+
uniqueName: string;
|
|
14
|
+
/**
|
|
15
|
+
* Race High score
|
|
16
|
+
*/
|
|
17
|
+
highScore: number;
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @param type Race name
|
|
21
|
+
* @param highScore high score
|
|
22
|
+
*/
|
|
23
|
+
constructor(type: string, highScore: number);
|
|
24
|
+
/**
|
|
25
|
+
* Created an array of Race objects from DE's Races array
|
|
26
|
+
* @param races Array of races
|
|
27
|
+
* @returns {Race[]} An array of races formatted in a more consumable way.
|
|
28
|
+
*/
|
|
29
|
+
static fromRaceObject(races: RawRace): Race[];
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { RawRace as n, Race as t };
|
package/dist/Race.d.mts
CHANGED
|
@@ -1,32 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
type RawRace = Record<string, {
|
|
3
|
-
highScore: number;
|
|
4
|
-
}>;
|
|
5
|
-
/**
|
|
6
|
-
* Represents a k-drive race
|
|
7
|
-
* @module
|
|
8
|
-
*/
|
|
9
|
-
declare class Race {
|
|
10
|
-
/**
|
|
11
|
-
* Race name
|
|
12
|
-
*/
|
|
13
|
-
uniqueName: string;
|
|
14
|
-
/**
|
|
15
|
-
* Race High score
|
|
16
|
-
*/
|
|
17
|
-
highScore: number;
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @param type Race name
|
|
21
|
-
* @param highScore high score
|
|
22
|
-
*/
|
|
23
|
-
constructor(type: string, highScore: number);
|
|
24
|
-
/**
|
|
25
|
-
* Created an array of Race objects from DE's Races array
|
|
26
|
-
* @param races Array of races
|
|
27
|
-
* @returns {Race[]} An array of races formatted in a more consumable way.
|
|
28
|
-
*/
|
|
29
|
-
static fromRaceObject(races: RawRace): Race[];
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
1
|
+
import { n as RawRace, t as Race } from "./Race-PxkzCRsy.mjs";
|
|
32
2
|
export { RawRace, Race as default };
|
package/dist/Race.mjs
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//#region src/Scan.d.ts
|
|
2
|
+
interface RawScan {
|
|
3
|
+
type: string;
|
|
4
|
+
scans: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Represents an enemy scanned to the codex
|
|
8
|
+
* @module
|
|
9
|
+
*/
|
|
10
|
+
declare class Scan {
|
|
11
|
+
/**
|
|
12
|
+
* Enemy unique name
|
|
13
|
+
* @type {String}
|
|
14
|
+
*/
|
|
15
|
+
uniqueName: string;
|
|
16
|
+
/**
|
|
17
|
+
* Number of scans done
|
|
18
|
+
* @type {number}
|
|
19
|
+
*/
|
|
20
|
+
scans: number;
|
|
21
|
+
/**
|
|
22
|
+
* @param {Object} scan The scanned Warframe object
|
|
23
|
+
*/
|
|
24
|
+
constructor(scan: RawScan);
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { Scan as n, RawScan as t };
|
package/dist/Scan.d.mts
CHANGED
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
interface RawScan {
|
|
3
|
-
type: string;
|
|
4
|
-
scans: number;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Represents an enemy scanned to the codex
|
|
8
|
-
* @module
|
|
9
|
-
*/
|
|
10
|
-
declare class Scan {
|
|
11
|
-
/**
|
|
12
|
-
* Enemy unique name
|
|
13
|
-
* @type {String}
|
|
14
|
-
*/
|
|
15
|
-
uniqueName: string;
|
|
16
|
-
/**
|
|
17
|
-
* Number of scans done
|
|
18
|
-
* @type {number}
|
|
19
|
-
*/
|
|
20
|
-
scans: number;
|
|
21
|
-
/**
|
|
22
|
-
* @param {Object} scan The scanned Warframe object
|
|
23
|
-
*/
|
|
24
|
-
constructor(scan: RawScan);
|
|
25
|
-
}
|
|
26
|
-
//#endregion
|
|
1
|
+
import { n as Scan, t as RawScan } from "./Scan-Cj6jCTNg.mjs";
|
|
27
2
|
export { RawScan, Scan as default };
|
package/dist/Scan.mjs
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Item } from "@wfcd/items";
|
|
2
|
+
|
|
3
|
+
//#region src/Skin.d.ts
|
|
4
|
+
interface RawSkin {
|
|
5
|
+
ItemType: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* A skin class
|
|
9
|
+
* @module
|
|
10
|
+
*/
|
|
11
|
+
declare class Skin {
|
|
12
|
+
uniqueName: string;
|
|
13
|
+
item?: Item;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @param skin The skin data to parse
|
|
17
|
+
* @param locale The locale to return skin item in
|
|
18
|
+
*/
|
|
19
|
+
constructor(skin: RawSkin, locale?: string);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Move to Skin, this is just here to not break anything for early users
|
|
23
|
+
* @param {Object} skin Skin object
|
|
24
|
+
* @returns {Skin} Skin object with possible item
|
|
25
|
+
*/
|
|
26
|
+
declare const WeaponSkin: (skin: RawSkin) => Skin;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { Skin as n, WeaponSkin as r, RawSkin as t };
|
package/dist/Skin.d.mts
CHANGED
|
@@ -1,28 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/Skin.d.ts
|
|
4
|
-
interface RawSkin {
|
|
5
|
-
ItemType: string;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* A skin class
|
|
9
|
-
* @module
|
|
10
|
-
*/
|
|
11
|
-
declare class Skin {
|
|
12
|
-
uniqueName: string;
|
|
13
|
-
item?: Item;
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @param skin The skin data to parse
|
|
17
|
-
* @param locale The locale to return skin item in
|
|
18
|
-
*/
|
|
19
|
-
constructor(skin: RawSkin, locale?: string);
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated Move to Skin, this is just here to not break anything for early users
|
|
23
|
-
* @param {Object} skin Skin object
|
|
24
|
-
* @returns {Skin} Skin object with possible item
|
|
25
|
-
*/
|
|
26
|
-
declare const WeaponSkin: (skin: RawSkin) => Skin;
|
|
27
|
-
//#endregion
|
|
1
|
+
import { n as Skin, r as WeaponSkin, t as RawSkin } from "./Skin-CpQ4dzEs.mjs";
|
|
28
2
|
export { RawSkin, WeaponSkin, Skin as default };
|
package/dist/Skin.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { find } from "./Utils.mjs";
|
|
2
|
-
|
|
3
2
|
//#region src/Skin.ts
|
|
4
3
|
/**
|
|
5
4
|
* A skin class
|
|
@@ -31,6 +30,5 @@ var Skin = class {
|
|
|
31
30
|
* @returns {Skin} Skin object with possible item
|
|
32
31
|
*/
|
|
33
32
|
const WeaponSkin = (skin) => new Skin(skin);
|
|
34
|
-
|
|
35
33
|
//#endregion
|
|
36
|
-
export { WeaponSkin, Skin as default };
|
|
34
|
+
export { WeaponSkin, Skin as default };
|
package/dist/Stats.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import Scan,
|
|
7
|
-
import Weapon,
|
|
1
|
+
import { n as RawAbility, t as Ability } from "./Ability-DcXcbtcE.mjs";
|
|
2
|
+
import { n as RawEnemy, t as Enemy } from "./Enemy-Das_tHF5.mjs";
|
|
3
|
+
import { n as RawMission, t as Mission } from "./Mission-C7zlZ4eq.mjs";
|
|
4
|
+
import { n as RawPvp, t as Pvp } from "./Pvp-D0lygyP6.mjs";
|
|
5
|
+
import { n as RawRace, t as Race } from "./Race-PxkzCRsy.mjs";
|
|
6
|
+
import { n as Scan, t as RawScan } from "./Scan-Cj6jCTNg.mjs";
|
|
7
|
+
import { n as Weapon, t as RawWeapon } from "./Weapon-DUlgoPHD.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/Stats.d.ts
|
|
10
10
|
interface RawStats {
|
package/dist/Stats.mjs
CHANGED
|
@@ -5,7 +5,6 @@ import Pvp from "./Pvp.mjs";
|
|
|
5
5
|
import Race from "./Race.mjs";
|
|
6
6
|
import Scan from "./Scan.mjs";
|
|
7
7
|
import Weapon from "./Weapon.mjs";
|
|
8
|
-
|
|
9
8
|
//#region src/Stats.ts
|
|
10
9
|
/**
|
|
11
10
|
* A player's overall career stats
|
|
@@ -300,6 +299,5 @@ var Stats = class {
|
|
|
300
299
|
if (stats.InfestedEventScore) this.infestedEventScore = stats.InfestedEventScore;
|
|
301
300
|
}
|
|
302
301
|
};
|
|
303
|
-
|
|
304
302
|
//#endregion
|
|
305
|
-
export { Stats as default };
|
|
303
|
+
export { Stats as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Locale } from "warframe-worldstate-data";
|
|
2
|
+
|
|
3
|
+
//#region src/Syndicate.d.ts
|
|
4
|
+
interface RawAffiliation {
|
|
5
|
+
Tag: string;
|
|
6
|
+
Standing: number;
|
|
7
|
+
Title: number;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Represents a syndicate
|
|
11
|
+
* @module
|
|
12
|
+
*/
|
|
13
|
+
declare class Syndicate {
|
|
14
|
+
/**
|
|
15
|
+
* Name of the syndicate
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
/**
|
|
19
|
+
* Current standing the player has with the syndicate
|
|
20
|
+
*/
|
|
21
|
+
standing: number;
|
|
22
|
+
/**
|
|
23
|
+
* The player's current syndicate title
|
|
24
|
+
*/
|
|
25
|
+
title: number;
|
|
26
|
+
/**
|
|
27
|
+
* @param affiliation The syndicate data
|
|
28
|
+
* @param locale locale code
|
|
29
|
+
*/
|
|
30
|
+
constructor(affiliation: RawAffiliation, locale?: Locale);
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
export { Syndicate as n, RawAffiliation as t };
|
package/dist/Syndicate.d.mts
CHANGED
|
@@ -1,33 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/Syndicate.d.ts
|
|
4
|
-
interface RawAffiliation {
|
|
5
|
-
Tag: string;
|
|
6
|
-
Standing: number;
|
|
7
|
-
Title: number;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Represents a syndicate
|
|
11
|
-
* @module
|
|
12
|
-
*/
|
|
13
|
-
declare class Syndicate {
|
|
14
|
-
/**
|
|
15
|
-
* Name of the syndicate
|
|
16
|
-
*/
|
|
17
|
-
name: string;
|
|
18
|
-
/**
|
|
19
|
-
* Current standing the player has with the syndicate
|
|
20
|
-
*/
|
|
21
|
-
standing: number;
|
|
22
|
-
/**
|
|
23
|
-
* The player's current syndicate title
|
|
24
|
-
*/
|
|
25
|
-
title: number;
|
|
26
|
-
/**
|
|
27
|
-
* @param affiliation The syndicate data
|
|
28
|
-
* @param locale locale code
|
|
29
|
-
*/
|
|
30
|
-
constructor(affiliation: RawAffiliation, locale?: Locale);
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
1
|
+
import { n as Syndicate, t as RawAffiliation } from "./Syndicate-BwHRq-Iw.mjs";
|
|
33
2
|
export { RawAffiliation, Syndicate as default };
|
package/dist/Syndicate.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { syndicate } from "warframe-worldstate-data/utilities";
|
|
2
|
-
|
|
3
2
|
//#region src/Syndicate.ts
|
|
4
3
|
/**
|
|
5
4
|
* Represents a syndicate
|
|
@@ -28,6 +27,5 @@ var Syndicate = class {
|
|
|
28
27
|
this.title = affiliation.Title;
|
|
29
28
|
}
|
|
30
29
|
};
|
|
31
|
-
|
|
32
30
|
//#endregion
|
|
33
|
-
export { Syndicate as default };
|
|
31
|
+
export { Syndicate as default };
|