@wfcd/profile-parser 1.5.0 → 2.0.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/package.json +33 -31
- package/src/{Ability.js → Ability.ts} +11 -4
- package/src/{ArchonCrystal.js → ArchonCrystal.ts} +12 -5
- package/src/{ChallengeProgress.js → ChallengeProgress.ts} +11 -4
- package/src/Enemy.ts +55 -0
- package/src/Intrinsics.ts +98 -0
- package/src/ItemConfig.ts +71 -0
- package/src/LoadOutInventory.ts +69 -0
- package/src/LoadOutItem.ts +194 -0
- package/src/LoadOutPreset.ts +122 -0
- package/src/Mission.ts +75 -0
- package/src/OperatorLoadOuts.ts +108 -0
- package/src/Polarity.ts +31 -0
- package/src/Profile.ts +308 -0
- package/src/ProfileParser.ts +66 -0
- package/src/Pvp.ts +43 -0
- package/src/Race.ts +36 -0
- package/src/Scan.ts +30 -0
- package/src/{Skin.js → Skin.ts} +14 -6
- package/src/Stats.ts +504 -0
- package/src/Syndicate.ts +39 -0
- package/src/Utils.ts +85 -0
- package/src/{Weapon.js → Weapon.ts} +23 -3
- package/src/XpInfo.ts +41 -0
- package/src/Enemy.js +0 -47
- package/src/Intrinsics.js +0 -77
- package/src/ItemConfig.js +0 -52
- package/src/LoadOutInventory.js +0 -53
- package/src/LoadOutItem.js +0 -155
- package/src/LoadOutPreset.js +0 -90
- package/src/Mission.js +0 -58
- package/src/OperatorLoadOuts.js +0 -77
- package/src/Polarity.js +0 -25
- package/src/Profile.js +0 -213
- package/src/ProfileParser.js +0 -50
- package/src/Pvp.js +0 -35
- package/src/Race.js +0 -33
- package/src/Scan.js +0 -22
- package/src/Stats.js +0 -340
- package/src/Syndicate.js +0 -34
- package/src/Utils.js +0 -66
- package/src/XpInfo.js +0 -35
- package/types/Ability.d.ts +0 -20
- package/types/ArchonCrystal.d.ts +0 -22
- package/types/ChallengeProgress.d.ts +0 -21
- package/types/Enemy.d.ts +0 -41
- package/types/Intrinsics.d.ts +0 -66
- package/types/ItemConfig.d.ts +0 -21
- package/types/LoadOutInventory.d.ts +0 -45
- package/types/LoadOutItem.d.ts +0 -92
- package/types/LoadOutPreset.d.ts +0 -45
- package/types/Mission.d.ts +0 -35
- package/types/OperatorLoadOuts.d.ts +0 -35
- package/types/Polarity.d.ts +0 -21
- package/types/Profile.d.ts +0 -154
- package/types/ProfileParser.d.ts +0 -41
- package/types/Pvp.d.ts +0 -31
- package/types/Race.d.ts +0 -28
- package/types/Scan.d.ts +0 -20
- package/types/Skin.d.ts +0 -19
- package/types/Stats.d.ts +0 -255
- package/types/Syndicate.d.ts +0 -26
- package/types/Utils.d.ts +0 -3
- package/types/Weapon.d.ts +0 -51
- package/types/XpInfo.d.ts +0 -28
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Player loudout
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export default class LoadOutInventory {
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param {Object} item The loadout data
|
|
9
|
-
* @param {string} [locale='en'] The locale to return loudout items in
|
|
10
|
-
* @param {boolean} [withItem=false] Whether or not to include items
|
|
11
|
-
*/
|
|
12
|
-
constructor(item: any, locale?: string, withItem?: boolean);
|
|
13
|
-
/**
|
|
14
|
-
* Skins applied to weapons
|
|
15
|
-
* @type {WeaponSkin}
|
|
16
|
-
*/
|
|
17
|
-
weaponSkins: WeaponSkin;
|
|
18
|
-
/**
|
|
19
|
-
* An array of the player's currently equiped Warframe (or powersuits)
|
|
20
|
-
* @type {LoadOutItem}
|
|
21
|
-
*/
|
|
22
|
-
suits: LoadOutItem;
|
|
23
|
-
/**
|
|
24
|
-
* An array of the player's currently equiped secondary weapon
|
|
25
|
-
* @type {LoadOutItem | undefined}
|
|
26
|
-
*/
|
|
27
|
-
secondary: LoadOutItem | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* An array of the player's currently equiped primary weapon
|
|
30
|
-
* @type {LoadOutItem | undefined}
|
|
31
|
-
*/
|
|
32
|
-
primary: LoadOutItem | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* An array of the player's currently equiped melee weapon
|
|
35
|
-
* @type {LoadOutItem | undefined}
|
|
36
|
-
*/
|
|
37
|
-
melee: LoadOutItem | undefined;
|
|
38
|
-
/**
|
|
39
|
-
* Items that have counted towards the players mastery rank
|
|
40
|
-
* @type {XpInfo}
|
|
41
|
-
*/
|
|
42
|
-
xpInfo: XpInfo;
|
|
43
|
-
}
|
|
44
|
-
import LoadOutItem from './LoadOutItem.js';
|
|
45
|
-
import XpInfo from './XpInfo.js';
|
package/types/LoadOutItem.d.ts
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* An an item in LoadOutInventory
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export default class LoadOutItem {
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param {Object} weapon The loadout item from LoadoutInventory
|
|
9
|
-
* @param {string} [locale='en'] The locale to return item in
|
|
10
|
-
*/
|
|
11
|
-
constructor(weapon: any, locale?: string);
|
|
12
|
-
/**
|
|
13
|
-
* Item ID
|
|
14
|
-
* @type {String}
|
|
15
|
-
*/
|
|
16
|
-
itemId: string;
|
|
17
|
-
/**
|
|
18
|
-
* Item unique name
|
|
19
|
-
* @type {String}
|
|
20
|
-
*/
|
|
21
|
-
uniqueName: string;
|
|
22
|
-
/**
|
|
23
|
-
* Item in-game name
|
|
24
|
-
* @type {String}
|
|
25
|
-
*/
|
|
26
|
-
name: string;
|
|
27
|
-
/**
|
|
28
|
-
* Complete item from @wfcd/items
|
|
29
|
-
* @type {module:"@wfcd/items".Item}
|
|
30
|
-
*/
|
|
31
|
-
item: any;
|
|
32
|
-
/**
|
|
33
|
-
* The name of the Lich, Sister, or Technocyte
|
|
34
|
-
* @type {String}
|
|
35
|
-
*/
|
|
36
|
-
nemesis: string;
|
|
37
|
-
/**
|
|
38
|
-
* Configuration for this weapon. Such as colors and skins applied by the player
|
|
39
|
-
* @type {Array<ItemConfig>}
|
|
40
|
-
*/
|
|
41
|
-
configs: Array<ItemConfig>;
|
|
42
|
-
upgradeType: any;
|
|
43
|
-
/**
|
|
44
|
-
* Information on the upgradeType that was applied
|
|
45
|
-
* TODO need model for for fingerprint
|
|
46
|
-
*/
|
|
47
|
-
upgradeFingerprint: any;
|
|
48
|
-
/**
|
|
49
|
-
* @type {number}
|
|
50
|
-
*/
|
|
51
|
-
features: number;
|
|
52
|
-
/**
|
|
53
|
-
* @type {number}
|
|
54
|
-
*/
|
|
55
|
-
upgradeVer: number;
|
|
56
|
-
/**
|
|
57
|
-
* XP earned with this weapon
|
|
58
|
-
* @type {number}
|
|
59
|
-
*/
|
|
60
|
-
xp: number;
|
|
61
|
-
/**
|
|
62
|
-
* How many mod slots are currently polarized.
|
|
63
|
-
* @type {number}
|
|
64
|
-
*/
|
|
65
|
-
polarized: number;
|
|
66
|
-
/**
|
|
67
|
-
* Which polarity types exist on the weapon
|
|
68
|
-
* @type {Array<Polarity> | undefined}
|
|
69
|
-
*/
|
|
70
|
-
polarity: Array<Polarity> | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* Focus lens applied
|
|
73
|
-
* @type {String}
|
|
74
|
-
*/
|
|
75
|
-
focuseLens: string;
|
|
76
|
-
/**
|
|
77
|
-
* @type {number}
|
|
78
|
-
*/
|
|
79
|
-
customizationSlotPurchases: number;
|
|
80
|
-
primaryColor: import("@wfcd/items").ColorMap;
|
|
81
|
-
sigilColor: import("@wfcd/items").ColorMap;
|
|
82
|
-
/**
|
|
83
|
-
* Whether prime details are enabled or not
|
|
84
|
-
* @type {boolean}
|
|
85
|
-
*/
|
|
86
|
-
enablePrime: boolean;
|
|
87
|
-
attachmentsColor: import("@wfcd/items").ColorMap;
|
|
88
|
-
syandanaColor: import("@wfcd/items").ColorMap;
|
|
89
|
-
infestationDate: any;
|
|
90
|
-
}
|
|
91
|
-
import ItemConfig from './ItemConfig.js';
|
|
92
|
-
import Polarity from './Polarity.js';
|
package/types/LoadOutPreset.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export default class LoadOutPreset {
|
|
2
|
-
constructor(preset: any);
|
|
3
|
-
/**
|
|
4
|
-
* Focus School
|
|
5
|
-
* @type {String}
|
|
6
|
-
*/
|
|
7
|
-
focusSchool: string;
|
|
8
|
-
/**
|
|
9
|
-
* Preset icon
|
|
10
|
-
*
|
|
11
|
-
* Note:
|
|
12
|
-
* Icon in-game seems to be an image of whatever Warframe is equipped on it
|
|
13
|
-
* @type {String}
|
|
14
|
-
*/
|
|
15
|
-
icon: string;
|
|
16
|
-
/**
|
|
17
|
-
* Whether this preset is a favorite
|
|
18
|
-
* @type {boolean}
|
|
19
|
-
*/
|
|
20
|
-
isFavorite: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Preset name
|
|
23
|
-
* @type {String}
|
|
24
|
-
*/
|
|
25
|
-
name: string;
|
|
26
|
-
/**
|
|
27
|
-
* Warframe equipped in preset
|
|
28
|
-
* @type {SlotPreset}
|
|
29
|
-
*/
|
|
30
|
-
warframe: SlotPreset;
|
|
31
|
-
primary: SlotPreset;
|
|
32
|
-
secondary: SlotPreset;
|
|
33
|
-
heavy: SlotPreset;
|
|
34
|
-
melee: SlotPreset;
|
|
35
|
-
exalted: SlotPreset;
|
|
36
|
-
exaltedB: SlotPreset;
|
|
37
|
-
}
|
|
38
|
-
declare class SlotPreset {
|
|
39
|
-
constructor(slot: any);
|
|
40
|
-
id: any;
|
|
41
|
-
modPreset: string;
|
|
42
|
-
appearancePreset: string;
|
|
43
|
-
isHidden: any;
|
|
44
|
-
}
|
|
45
|
-
export {};
|
package/types/Mission.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A mission completed by the player
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export default class Mission {
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param {Object} mission The mission data
|
|
9
|
-
* @param {string} locale The locale to return in
|
|
10
|
-
*/
|
|
11
|
-
constructor(mission: any, locale?: string);
|
|
12
|
-
/**
|
|
13
|
-
* Node name
|
|
14
|
-
* @type {String}
|
|
15
|
-
*/
|
|
16
|
-
node: string;
|
|
17
|
-
/**
|
|
18
|
-
* Node unique name
|
|
19
|
-
* @type {String}
|
|
20
|
-
*/
|
|
21
|
-
nodeKey: string;
|
|
22
|
-
/**
|
|
23
|
-
* Node mission type
|
|
24
|
-
* @type {String}
|
|
25
|
-
*/
|
|
26
|
-
missionType: string;
|
|
27
|
-
/**
|
|
28
|
-
* Node faction
|
|
29
|
-
* @type {String}
|
|
30
|
-
*/
|
|
31
|
-
faction: string;
|
|
32
|
-
highScore: any;
|
|
33
|
-
completes: any;
|
|
34
|
-
tier: any;
|
|
35
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Player's operator loadout
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export default class OperatorLoadOuts {
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param {Object} loadout The operator loadout
|
|
9
|
-
*/
|
|
10
|
-
constructor(loadout: any);
|
|
11
|
-
/**
|
|
12
|
-
* Skins that have been applied to the player's operator.
|
|
13
|
-
* @type {Array<Skin>}
|
|
14
|
-
*/
|
|
15
|
-
skins: Array<Skin>;
|
|
16
|
-
/**
|
|
17
|
-
* Operator amp ID
|
|
18
|
-
* @type {String | undefined}
|
|
19
|
-
*/
|
|
20
|
-
operatorAmp: string | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* Applied upgrade IDs
|
|
23
|
-
* @type {Array<String>}
|
|
24
|
-
*/
|
|
25
|
-
upgrades: Array<string>;
|
|
26
|
-
abilityOverride: any;
|
|
27
|
-
primaryColor: import("@wfcd/items").ColorMap;
|
|
28
|
-
sigilColor: import("@wfcd/items").ColorMap;
|
|
29
|
-
attachmentsColor: import("@wfcd/items").ColorMap;
|
|
30
|
-
syandanaColor: import("@wfcd/items").ColorMap;
|
|
31
|
-
eyeColor: import("@wfcd/items").ColorMap;
|
|
32
|
-
facial: import("@wfcd/items").ColorMap;
|
|
33
|
-
cloth: import("@wfcd/items").ColorMap;
|
|
34
|
-
}
|
|
35
|
-
import Skin from './Skin.js';
|
package/types/Polarity.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A polarity in a LoadOutItem
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export default class Polarity {
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param {Object} polarity The polarity to parse
|
|
9
|
-
*/
|
|
10
|
-
constructor(polarity: any);
|
|
11
|
-
/**
|
|
12
|
-
* Polarity name
|
|
13
|
-
* @type {String}
|
|
14
|
-
*/
|
|
15
|
-
polarity: string;
|
|
16
|
-
/**
|
|
17
|
-
* Polarized slot
|
|
18
|
-
* @type {number}
|
|
19
|
-
*/
|
|
20
|
-
slot: number;
|
|
21
|
-
}
|
package/types/Profile.d.ts
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A player's profile
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export default class Profile {
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param {Object} profile The profile data to parse
|
|
9
|
-
* @param {string} locale The locale to return in where possible
|
|
10
|
-
* @param {boolean} [withItem=false] Whether or not to include items
|
|
11
|
-
*/
|
|
12
|
-
constructor(profile: any, locale?: string, withItem?: boolean);
|
|
13
|
-
/**
|
|
14
|
-
* Player's account ID
|
|
15
|
-
* @type {String}
|
|
16
|
-
*/
|
|
17
|
-
accountId: string;
|
|
18
|
-
/**
|
|
19
|
-
* In-game name
|
|
20
|
-
* @type {String}
|
|
21
|
-
*/
|
|
22
|
-
displayName: string;
|
|
23
|
-
/**
|
|
24
|
-
* List of usernames across supported platforms
|
|
25
|
-
* @type {Array<String>}
|
|
26
|
-
*/
|
|
27
|
-
platformNames: Array<string>;
|
|
28
|
-
/**
|
|
29
|
-
* Mastery rank
|
|
30
|
-
* @type {String}
|
|
31
|
-
*/
|
|
32
|
-
masteryRank: string;
|
|
33
|
-
preset: LoadOutPreset;
|
|
34
|
-
/**
|
|
35
|
-
* Current loadout
|
|
36
|
-
* @type {LoadOutInventory}
|
|
37
|
-
*/
|
|
38
|
-
loadout: LoadOutInventory;
|
|
39
|
-
/**
|
|
40
|
-
* Railjack and drifter Intrinsics
|
|
41
|
-
* @type {Intrinsics}
|
|
42
|
-
*/
|
|
43
|
-
intrinsics: Intrinsics;
|
|
44
|
-
/**
|
|
45
|
-
* Nightwave challenges progress
|
|
46
|
-
* @type {Array<ChallengeProgress>}
|
|
47
|
-
*/
|
|
48
|
-
challengeProgress: Array<ChallengeProgress>;
|
|
49
|
-
guildId: any;
|
|
50
|
-
/**
|
|
51
|
-
* Guild name
|
|
52
|
-
* @type {String}
|
|
53
|
-
*/
|
|
54
|
-
guildName: string;
|
|
55
|
-
/**
|
|
56
|
-
* Guild tier
|
|
57
|
-
* @type {number}
|
|
58
|
-
*/
|
|
59
|
-
guildTier: number;
|
|
60
|
-
/**
|
|
61
|
-
* Guild XP
|
|
62
|
-
* @type {number}
|
|
63
|
-
*/
|
|
64
|
-
guildXp: number;
|
|
65
|
-
/**
|
|
66
|
-
* Guild class
|
|
67
|
-
* @type {String}
|
|
68
|
-
*/
|
|
69
|
-
guildClass: string;
|
|
70
|
-
/**
|
|
71
|
-
* Guild emblem.
|
|
72
|
-
* @type {String}
|
|
73
|
-
*/
|
|
74
|
-
guildEmblem: string;
|
|
75
|
-
allianceId: any;
|
|
76
|
-
/**
|
|
77
|
-
* Assassins currently asfter the player
|
|
78
|
-
* @type {Array<String>}
|
|
79
|
-
*/
|
|
80
|
-
deathMarks: Array<string>;
|
|
81
|
-
/**
|
|
82
|
-
* Whether or not the player is qualified as a target for Zanuka
|
|
83
|
-
* @type {boolean}
|
|
84
|
-
*/
|
|
85
|
-
harvestable: boolean;
|
|
86
|
-
/**
|
|
87
|
-
* Whether or not the player is qualified as a target for a syndicate death squad
|
|
88
|
-
* @type {boolean}
|
|
89
|
-
*/
|
|
90
|
-
deathSquadable: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* Date the account was created
|
|
93
|
-
* @type {Date}
|
|
94
|
-
*/
|
|
95
|
-
created: Date;
|
|
96
|
-
/**
|
|
97
|
-
* Whether the user has migrated to console or not
|
|
98
|
-
* @type {boolean}
|
|
99
|
-
*/
|
|
100
|
-
migratedToConsole: boolean;
|
|
101
|
-
/**
|
|
102
|
-
* List of completed missions and their completions
|
|
103
|
-
* @type {Mission}
|
|
104
|
-
*/
|
|
105
|
-
missions: Mission;
|
|
106
|
-
/**
|
|
107
|
-
* Player standing and title across all syndicates
|
|
108
|
-
* @type {Array<Syndicate>}
|
|
109
|
-
*/
|
|
110
|
-
syndicates: Array<Syndicate>;
|
|
111
|
-
/**
|
|
112
|
-
* Daily standing per Syndicate
|
|
113
|
-
*
|
|
114
|
-
* Faction syndicates all share daily standing
|
|
115
|
-
* @type {Map<String,number>}
|
|
116
|
-
*/
|
|
117
|
-
dailyStanding: Map<string, number>;
|
|
118
|
-
/**
|
|
119
|
-
* Daily focus
|
|
120
|
-
* @type {number}
|
|
121
|
-
*/
|
|
122
|
-
dailyFocus: number;
|
|
123
|
-
/**
|
|
124
|
-
* Player wishlist for in-game market items
|
|
125
|
-
*/
|
|
126
|
-
wishList: any;
|
|
127
|
-
/**
|
|
128
|
-
* Whether the player has unlocked their operator or not
|
|
129
|
-
* @type {boolean}
|
|
130
|
-
*/
|
|
131
|
-
unlockedOperator: boolean;
|
|
132
|
-
/**
|
|
133
|
-
* Whether the player has unlocked their alignment or not
|
|
134
|
-
* @type {boolean}
|
|
135
|
-
*/
|
|
136
|
-
unlockedAlignment: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* Operator loadout
|
|
139
|
-
* @type {OperatorLoadOuts | undefined}
|
|
140
|
-
*/
|
|
141
|
-
operatorLoadouts: OperatorLoadOuts | undefined;
|
|
142
|
-
/**
|
|
143
|
-
* Player's alignment
|
|
144
|
-
* @type {Map<String,number | undefined>}
|
|
145
|
-
*/
|
|
146
|
-
alignment: Map<string, number | undefined>;
|
|
147
|
-
}
|
|
148
|
-
import LoadOutPreset from './LoadOutPreset.js';
|
|
149
|
-
import LoadOutInventory from './LoadOutInventory.js';
|
|
150
|
-
import Intrinsics from './Intrinsics.js';
|
|
151
|
-
import ChallengeProgress from './ChallengeProgress.js';
|
|
152
|
-
import Mission from './Mission.js';
|
|
153
|
-
import Syndicate from './Syndicate.js';
|
|
154
|
-
import OperatorLoadOuts from './OperatorLoadOuts.js';
|
package/types/ProfileParser.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Parser entry point
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export default class ProfileParser {
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param {Object} data The data returned by getProfile endpoint
|
|
9
|
-
* @param {string} locale The locale to return where possible
|
|
10
|
-
* @param {boolean} [withItem=false] Whether or not to include items
|
|
11
|
-
*/
|
|
12
|
-
constructor(data: any, locale?: string, withItem?: boolean);
|
|
13
|
-
/**
|
|
14
|
-
* Player's profile
|
|
15
|
-
* @type {Profile}
|
|
16
|
-
*/
|
|
17
|
-
profile: Profile;
|
|
18
|
-
/**
|
|
19
|
-
* @type {number}
|
|
20
|
-
*/
|
|
21
|
-
techProjects: number;
|
|
22
|
-
/**
|
|
23
|
-
* @type {number}
|
|
24
|
-
*/
|
|
25
|
-
xpComponents: number;
|
|
26
|
-
/**
|
|
27
|
-
* @type {number}
|
|
28
|
-
*/
|
|
29
|
-
xpCacheExpiryDate: number;
|
|
30
|
-
/**
|
|
31
|
-
* @type {number}
|
|
32
|
-
*/
|
|
33
|
-
ceremonyResetDate: number;
|
|
34
|
-
/**
|
|
35
|
-
* Player stats
|
|
36
|
-
* @type {Stats}
|
|
37
|
-
*/
|
|
38
|
-
stats: Stats;
|
|
39
|
-
}
|
|
40
|
-
import Profile from './Profile.js';
|
|
41
|
-
import Stats from './Stats.js';
|
package/types/Pvp.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Player's conclave stats
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export default class Pvp {
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param {Object} pvp PVP data to parse
|
|
9
|
-
*/
|
|
10
|
-
constructor(pvp: any);
|
|
11
|
-
/**
|
|
12
|
-
* PVP match unique name
|
|
13
|
-
* @type {String}
|
|
14
|
-
*/
|
|
15
|
-
uniqueName: string;
|
|
16
|
-
/**
|
|
17
|
-
* Deaths for this match
|
|
18
|
-
* @type {number | undefined}
|
|
19
|
-
*/
|
|
20
|
-
suitDeaths: number | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* Warframe kills
|
|
23
|
-
* @type {number | undefined}
|
|
24
|
-
*/
|
|
25
|
-
suitKills: number | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Weapon killes
|
|
28
|
-
* @type {number | undefined}
|
|
29
|
-
*/
|
|
30
|
-
weaponKills: number | undefined;
|
|
31
|
-
}
|
package/types/Race.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents a k-drive race
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export default class Race {
|
|
6
|
-
/**
|
|
7
|
-
* Created an array of Race objects from DE's Races array
|
|
8
|
-
* @param {Object} races Array of races
|
|
9
|
-
* @returns {Race[]} An array of races formatted in a more consumable way.
|
|
10
|
-
*/
|
|
11
|
-
static fromRaceObject(races: any): Race[];
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @param {string} type Race name
|
|
15
|
-
* @param {number} highScore high score
|
|
16
|
-
*/
|
|
17
|
-
constructor(type: string, highScore: number);
|
|
18
|
-
/**
|
|
19
|
-
* Race name
|
|
20
|
-
* @type {String}
|
|
21
|
-
*/
|
|
22
|
-
uniqueName: string;
|
|
23
|
-
/**
|
|
24
|
-
* Race High score
|
|
25
|
-
* @type {number}
|
|
26
|
-
*/
|
|
27
|
-
highScore: number;
|
|
28
|
-
}
|
package/types/Scan.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents an enemy scanned to the codex
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export default class Scan {
|
|
6
|
-
/**
|
|
7
|
-
* @param {Object} scan The scanned Warframe object
|
|
8
|
-
*/
|
|
9
|
-
constructor(scan: any);
|
|
10
|
-
/**
|
|
11
|
-
* Enemy unique name
|
|
12
|
-
* @type {String}
|
|
13
|
-
*/
|
|
14
|
-
uniqueName: string;
|
|
15
|
-
/**
|
|
16
|
-
* Number of scans done
|
|
17
|
-
* @type {number}
|
|
18
|
-
*/
|
|
19
|
-
scans: number;
|
|
20
|
-
}
|
package/types/Skin.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A skin class
|
|
3
|
-
* @module
|
|
4
|
-
*/
|
|
5
|
-
export default class Skin {
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param {Object} skin The skin data to parse
|
|
9
|
-
* @param {string} [locale='en'] The locale to return skin item in
|
|
10
|
-
*/
|
|
11
|
-
constructor(skin: any, locale?: string);
|
|
12
|
-
/**
|
|
13
|
-
* Unique name
|
|
14
|
-
* @type {String}
|
|
15
|
-
*/
|
|
16
|
-
uniqueName: string;
|
|
17
|
-
item: any;
|
|
18
|
-
}
|
|
19
|
-
export function WeaponSkin(skin: any): Skin;
|