@wise-old-man/utils 4.0.8 → 4.0.10
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/cjs/index.cjs +21 -1
- package/dist/es/index.js +20 -2
- package/dist/es/index.mjs +20 -2
- package/dist/index.d.ts +44 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -322,6 +322,20 @@ exports.CompetitionStatus = void 0;
|
|
|
322
322
|
})(exports.CompetitionStatus || (exports.CompetitionStatus = {}));
|
|
323
323
|
const COMPETITION_STATUSES = Object.values(exports.CompetitionStatus);
|
|
324
324
|
|
|
325
|
+
const CompetitionTimeEventStatus = {
|
|
326
|
+
WAITING: 'waiting',
|
|
327
|
+
EXECUTING: 'executing',
|
|
328
|
+
COMPLETED: 'completed',
|
|
329
|
+
FAILED: 'failed',
|
|
330
|
+
CANCELED: 'canceled'
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
const CompetitionTimeEventType = {
|
|
334
|
+
BEFORE_START: 'before_start',
|
|
335
|
+
BEFORE_END: 'before_end',
|
|
336
|
+
DURING: 'during'
|
|
337
|
+
};
|
|
338
|
+
|
|
325
339
|
const CompetitionType = {
|
|
326
340
|
CLASSIC: 'classic',
|
|
327
341
|
TEAM: 'team'
|
|
@@ -406,6 +420,7 @@ const Country = {
|
|
|
406
420
|
FR: 'FR',
|
|
407
421
|
GA: 'GA',
|
|
408
422
|
GB: 'GB',
|
|
423
|
+
GB_ENG: 'GB_ENG',
|
|
409
424
|
GB_NIR: 'GB_NIR',
|
|
410
425
|
GB_SCT: 'GB_SCT',
|
|
411
426
|
GB_WLS: 'GB_WLS',
|
|
@@ -944,6 +959,7 @@ const Boss = {
|
|
|
944
959
|
ARAXXOR: 'araxxor',
|
|
945
960
|
ARTIO: 'artio',
|
|
946
961
|
BARROWS_CHESTS: 'barrows_chests',
|
|
962
|
+
BOVINE_BULLY: 'bovine_bully',
|
|
947
963
|
BRYOPHYTA: 'bryophyta',
|
|
948
964
|
CALLISTO: 'callisto',
|
|
949
965
|
CALVARION: 'calvarion',
|
|
@@ -1489,7 +1505,8 @@ const CountryProps = {
|
|
|
1489
1505
|
[Country.FR]: { code: 'FR', name: 'France' },
|
|
1490
1506
|
[Country.GA]: { code: 'GA', name: 'Gabon' },
|
|
1491
1507
|
[Country.GB]: { code: 'GB', name: 'United Kingdom' },
|
|
1492
|
-
[Country.
|
|
1508
|
+
[Country.GB_ENG]: { code: 'GB_ENG', name: 'England' },
|
|
1509
|
+
[Country.GB_NIR]: { code: 'GB_NIR', name: 'Northern Ireland' },
|
|
1493
1510
|
[Country.GB_SCT]: { code: 'GB_SCT', name: 'Scotland' },
|
|
1494
1511
|
[Country.GB_WLS]: { code: 'GB_WLS', name: 'Wales' },
|
|
1495
1512
|
[Country.GD]: { code: 'GD', name: 'Grenada' },
|
|
@@ -2104,6 +2121,7 @@ const BossProps = mapValues({
|
|
|
2104
2121
|
[Boss.ARAXXOR]: { name: 'Araxxor' },
|
|
2105
2122
|
[Boss.ARTIO]: { name: 'Artio' },
|
|
2106
2123
|
[Boss.BARROWS_CHESTS]: { name: 'Barrows Chests' },
|
|
2124
|
+
[Boss.BOVINE_BULLY]: { name: 'Bovine Bully', isMembers: false },
|
|
2107
2125
|
[Boss.BRYOPHYTA]: { name: 'Bryophyta', isMembers: false },
|
|
2108
2126
|
[Boss.CALLISTO]: { name: 'Callisto' },
|
|
2109
2127
|
[Boss.CALVARION]: { name: "Calvar'ion" },
|
|
@@ -2319,6 +2337,8 @@ exports.COMPETITION_TYPES = COMPETITION_TYPES;
|
|
|
2319
2337
|
exports.COMPUTED_METRICS = COMPUTED_METRICS;
|
|
2320
2338
|
exports.COUNTRY_CODES = COUNTRY_CODES;
|
|
2321
2339
|
exports.CompetitionStatusProps = CompetitionStatusProps;
|
|
2340
|
+
exports.CompetitionTimeEventStatus = CompetitionTimeEventStatus;
|
|
2341
|
+
exports.CompetitionTimeEventType = CompetitionTimeEventType;
|
|
2322
2342
|
exports.CompetitionType = CompetitionType;
|
|
2323
2343
|
exports.CompetitionTypeProps = CompetitionTypeProps;
|
|
2324
2344
|
exports.ComputedMetric = ComputedMetric;
|
package/dist/es/index.js
CHANGED
|
@@ -320,6 +320,20 @@ var CompetitionStatus;
|
|
|
320
320
|
})(CompetitionStatus || (CompetitionStatus = {}));
|
|
321
321
|
const COMPETITION_STATUSES = Object.values(CompetitionStatus);
|
|
322
322
|
|
|
323
|
+
const CompetitionTimeEventStatus = {
|
|
324
|
+
WAITING: 'waiting',
|
|
325
|
+
EXECUTING: 'executing',
|
|
326
|
+
COMPLETED: 'completed',
|
|
327
|
+
FAILED: 'failed',
|
|
328
|
+
CANCELED: 'canceled'
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
const CompetitionTimeEventType = {
|
|
332
|
+
BEFORE_START: 'before_start',
|
|
333
|
+
BEFORE_END: 'before_end',
|
|
334
|
+
DURING: 'during'
|
|
335
|
+
};
|
|
336
|
+
|
|
323
337
|
const CompetitionType = {
|
|
324
338
|
CLASSIC: 'classic',
|
|
325
339
|
TEAM: 'team'
|
|
@@ -404,6 +418,7 @@ const Country = {
|
|
|
404
418
|
FR: 'FR',
|
|
405
419
|
GA: 'GA',
|
|
406
420
|
GB: 'GB',
|
|
421
|
+
GB_ENG: 'GB_ENG',
|
|
407
422
|
GB_NIR: 'GB_NIR',
|
|
408
423
|
GB_SCT: 'GB_SCT',
|
|
409
424
|
GB_WLS: 'GB_WLS',
|
|
@@ -942,6 +957,7 @@ const Boss = {
|
|
|
942
957
|
ARAXXOR: 'araxxor',
|
|
943
958
|
ARTIO: 'artio',
|
|
944
959
|
BARROWS_CHESTS: 'barrows_chests',
|
|
960
|
+
BOVINE_BULLY: 'bovine_bully',
|
|
945
961
|
BRYOPHYTA: 'bryophyta',
|
|
946
962
|
CALLISTO: 'callisto',
|
|
947
963
|
CALVARION: 'calvarion',
|
|
@@ -1487,7 +1503,8 @@ const CountryProps = {
|
|
|
1487
1503
|
[Country.FR]: { code: 'FR', name: 'France' },
|
|
1488
1504
|
[Country.GA]: { code: 'GA', name: 'Gabon' },
|
|
1489
1505
|
[Country.GB]: { code: 'GB', name: 'United Kingdom' },
|
|
1490
|
-
[Country.
|
|
1506
|
+
[Country.GB_ENG]: { code: 'GB_ENG', name: 'England' },
|
|
1507
|
+
[Country.GB_NIR]: { code: 'GB_NIR', name: 'Northern Ireland' },
|
|
1491
1508
|
[Country.GB_SCT]: { code: 'GB_SCT', name: 'Scotland' },
|
|
1492
1509
|
[Country.GB_WLS]: { code: 'GB_WLS', name: 'Wales' },
|
|
1493
1510
|
[Country.GD]: { code: 'GD', name: 'Grenada' },
|
|
@@ -2102,6 +2119,7 @@ const BossProps = mapValues({
|
|
|
2102
2119
|
[Boss.ARAXXOR]: { name: 'Araxxor' },
|
|
2103
2120
|
[Boss.ARTIO]: { name: 'Artio' },
|
|
2104
2121
|
[Boss.BARROWS_CHESTS]: { name: 'Barrows Chests' },
|
|
2122
|
+
[Boss.BOVINE_BULLY]: { name: 'Bovine Bully', isMembers: false },
|
|
2105
2123
|
[Boss.BRYOPHYTA]: { name: 'Bryophyta', isMembers: false },
|
|
2106
2124
|
[Boss.CALLISTO]: { name: 'Callisto' },
|
|
2107
2125
|
[Boss.CALVARION]: { name: "Calvar'ion" },
|
|
@@ -2304,4 +2322,4 @@ function roundNumber(num, cases) {
|
|
|
2304
2322
|
return Math.round(num * Math.pow(10, cases)) / Math.pow(10, cases);
|
|
2305
2323
|
}
|
|
2306
2324
|
|
|
2307
|
-
export { ACTIVITIES, Activity, ActivityProps, BOSSES, Boss, BossProps, CAPPED_MAX_TOTAL_XP, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, CompetitionCSVTableType, CompetitionStatus, CompetitionStatusProps, CompetitionType, CompetitionTypeProps, ComputedMetric, ComputedMetricProps, Country, CountryProps, EfficiencyAlgorithmType, F2P_BOSSES, GROUP_ROLES, GroupRole, GroupRoleProps, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, MemberActivityType, Metric, MetricMeasure, MetricProps, MetricType, NameChangeStatus, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVILEGED_GROUP_ROLES, Period, PeriodProps, PlayerAnnotationType, PlayerBuild, PlayerBuildProps, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_METRICS, REAL_SKILLS, SKILLS, SKILL_EXP_AT_99, Skill, SkillProps, WOMClient, findCountry, findCountryByCode, findCountryByName, formatNumber, getCombatLevel, getExpForLevel, getLevel, getMinimumValue, getParentEfficiencyMetric, isActivity, isBoss, isComputedMetric, isCountry, isGroupRole, isMetric, isPeriod, isPlayerBuild, isPlayerStatus, isPlayerType, isSkill, padNumber, parsePeriodExpression, roundNumber };
|
|
2325
|
+
export { ACTIVITIES, Activity, ActivityProps, BOSSES, Boss, BossProps, CAPPED_MAX_TOTAL_XP, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, CompetitionCSVTableType, CompetitionStatus, CompetitionStatusProps, CompetitionTimeEventStatus, CompetitionTimeEventType, CompetitionType, CompetitionTypeProps, ComputedMetric, ComputedMetricProps, Country, CountryProps, EfficiencyAlgorithmType, F2P_BOSSES, GROUP_ROLES, GroupRole, GroupRoleProps, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, MemberActivityType, Metric, MetricMeasure, MetricProps, MetricType, NameChangeStatus, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVILEGED_GROUP_ROLES, Period, PeriodProps, PlayerAnnotationType, PlayerBuild, PlayerBuildProps, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_METRICS, REAL_SKILLS, SKILLS, SKILL_EXP_AT_99, Skill, SkillProps, WOMClient, findCountry, findCountryByCode, findCountryByName, formatNumber, getCombatLevel, getExpForLevel, getLevel, getMinimumValue, getParentEfficiencyMetric, isActivity, isBoss, isComputedMetric, isCountry, isGroupRole, isMetric, isPeriod, isPlayerBuild, isPlayerStatus, isPlayerType, isSkill, padNumber, parsePeriodExpression, roundNumber };
|
package/dist/es/index.mjs
CHANGED
|
@@ -320,6 +320,20 @@ var CompetitionStatus;
|
|
|
320
320
|
})(CompetitionStatus || (CompetitionStatus = {}));
|
|
321
321
|
const COMPETITION_STATUSES = Object.values(CompetitionStatus);
|
|
322
322
|
|
|
323
|
+
const CompetitionTimeEventStatus = {
|
|
324
|
+
WAITING: 'waiting',
|
|
325
|
+
EXECUTING: 'executing',
|
|
326
|
+
COMPLETED: 'completed',
|
|
327
|
+
FAILED: 'failed',
|
|
328
|
+
CANCELED: 'canceled'
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
const CompetitionTimeEventType = {
|
|
332
|
+
BEFORE_START: 'before_start',
|
|
333
|
+
BEFORE_END: 'before_end',
|
|
334
|
+
DURING: 'during'
|
|
335
|
+
};
|
|
336
|
+
|
|
323
337
|
const CompetitionType = {
|
|
324
338
|
CLASSIC: 'classic',
|
|
325
339
|
TEAM: 'team'
|
|
@@ -404,6 +418,7 @@ const Country = {
|
|
|
404
418
|
FR: 'FR',
|
|
405
419
|
GA: 'GA',
|
|
406
420
|
GB: 'GB',
|
|
421
|
+
GB_ENG: 'GB_ENG',
|
|
407
422
|
GB_NIR: 'GB_NIR',
|
|
408
423
|
GB_SCT: 'GB_SCT',
|
|
409
424
|
GB_WLS: 'GB_WLS',
|
|
@@ -942,6 +957,7 @@ const Boss = {
|
|
|
942
957
|
ARAXXOR: 'araxxor',
|
|
943
958
|
ARTIO: 'artio',
|
|
944
959
|
BARROWS_CHESTS: 'barrows_chests',
|
|
960
|
+
BOVINE_BULLY: 'bovine_bully',
|
|
945
961
|
BRYOPHYTA: 'bryophyta',
|
|
946
962
|
CALLISTO: 'callisto',
|
|
947
963
|
CALVARION: 'calvarion',
|
|
@@ -1487,7 +1503,8 @@ const CountryProps = {
|
|
|
1487
1503
|
[Country.FR]: { code: 'FR', name: 'France' },
|
|
1488
1504
|
[Country.GA]: { code: 'GA', name: 'Gabon' },
|
|
1489
1505
|
[Country.GB]: { code: 'GB', name: 'United Kingdom' },
|
|
1490
|
-
[Country.
|
|
1506
|
+
[Country.GB_ENG]: { code: 'GB_ENG', name: 'England' },
|
|
1507
|
+
[Country.GB_NIR]: { code: 'GB_NIR', name: 'Northern Ireland' },
|
|
1491
1508
|
[Country.GB_SCT]: { code: 'GB_SCT', name: 'Scotland' },
|
|
1492
1509
|
[Country.GB_WLS]: { code: 'GB_WLS', name: 'Wales' },
|
|
1493
1510
|
[Country.GD]: { code: 'GD', name: 'Grenada' },
|
|
@@ -2102,6 +2119,7 @@ const BossProps = mapValues({
|
|
|
2102
2119
|
[Boss.ARAXXOR]: { name: 'Araxxor' },
|
|
2103
2120
|
[Boss.ARTIO]: { name: 'Artio' },
|
|
2104
2121
|
[Boss.BARROWS_CHESTS]: { name: 'Barrows Chests' },
|
|
2122
|
+
[Boss.BOVINE_BULLY]: { name: 'Bovine Bully', isMembers: false },
|
|
2105
2123
|
[Boss.BRYOPHYTA]: { name: 'Bryophyta', isMembers: false },
|
|
2106
2124
|
[Boss.CALLISTO]: { name: 'Callisto' },
|
|
2107
2125
|
[Boss.CALVARION]: { name: "Calvar'ion" },
|
|
@@ -2304,4 +2322,4 @@ function roundNumber(num, cases) {
|
|
|
2304
2322
|
return Math.round(num * Math.pow(10, cases)) / Math.pow(10, cases);
|
|
2305
2323
|
}
|
|
2306
2324
|
|
|
2307
|
-
export { ACTIVITIES, Activity, ActivityProps, BOSSES, Boss, BossProps, CAPPED_MAX_TOTAL_XP, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, CompetitionCSVTableType, CompetitionStatus, CompetitionStatusProps, CompetitionType, CompetitionTypeProps, ComputedMetric, ComputedMetricProps, Country, CountryProps, EfficiencyAlgorithmType, F2P_BOSSES, GROUP_ROLES, GroupRole, GroupRoleProps, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, MemberActivityType, Metric, MetricMeasure, MetricProps, MetricType, NameChangeStatus, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVILEGED_GROUP_ROLES, Period, PeriodProps, PlayerAnnotationType, PlayerBuild, PlayerBuildProps, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_METRICS, REAL_SKILLS, SKILLS, SKILL_EXP_AT_99, Skill, SkillProps, WOMClient, findCountry, findCountryByCode, findCountryByName, formatNumber, getCombatLevel, getExpForLevel, getLevel, getMinimumValue, getParentEfficiencyMetric, isActivity, isBoss, isComputedMetric, isCountry, isGroupRole, isMetric, isPeriod, isPlayerBuild, isPlayerStatus, isPlayerType, isSkill, padNumber, parsePeriodExpression, roundNumber };
|
|
2325
|
+
export { ACTIVITIES, Activity, ActivityProps, BOSSES, Boss, BossProps, CAPPED_MAX_TOTAL_XP, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, CompetitionCSVTableType, CompetitionStatus, CompetitionStatusProps, CompetitionTimeEventStatus, CompetitionTimeEventType, CompetitionType, CompetitionTypeProps, ComputedMetric, ComputedMetricProps, Country, CountryProps, EfficiencyAlgorithmType, F2P_BOSSES, GROUP_ROLES, GroupRole, GroupRoleProps, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, MemberActivityType, Metric, MetricMeasure, MetricProps, MetricType, NameChangeStatus, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVILEGED_GROUP_ROLES, Period, PeriodProps, PlayerAnnotationType, PlayerBuild, PlayerBuildProps, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_METRICS, REAL_SKILLS, SKILLS, SKILL_EXP_AT_99, Skill, SkillProps, WOMClient, findCountry, findCountryByCode, findCountryByName, formatNumber, getCombatLevel, getExpForLevel, getLevel, getMinimumValue, getParentEfficiencyMetric, isActivity, isBoss, isComputedMetric, isCountry, isGroupRole, isMetric, isPeriod, isPlayerBuild, isPlayerStatus, isPlayerType, isSkill, padNumber, parsePeriodExpression, roundNumber };
|
package/dist/index.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ declare const Boss: {
|
|
|
67
67
|
readonly ARAXXOR: "araxxor";
|
|
68
68
|
readonly ARTIO: "artio";
|
|
69
69
|
readonly BARROWS_CHESTS: "barrows_chests";
|
|
70
|
+
readonly BOVINE_BULLY: "bovine_bully";
|
|
70
71
|
readonly BRYOPHYTA: "bryophyta";
|
|
71
72
|
readonly CALLISTO: "callisto";
|
|
72
73
|
readonly CALVARION: "calvarion";
|
|
@@ -145,6 +146,7 @@ declare const Metric: {
|
|
|
145
146
|
readonly ARAXXOR: "araxxor";
|
|
146
147
|
readonly ARTIO: "artio";
|
|
147
148
|
readonly BARROWS_CHESTS: "barrows_chests";
|
|
149
|
+
readonly BOVINE_BULLY: "bovine_bully";
|
|
148
150
|
readonly BRYOPHYTA: "bryophyta";
|
|
149
151
|
readonly CALLISTO: "callisto";
|
|
150
152
|
readonly CALVARION: "calvarion";
|
|
@@ -356,6 +358,8 @@ interface Snapshot {
|
|
|
356
358
|
artioKills: number;
|
|
357
359
|
barrows_chestsRank: number;
|
|
358
360
|
barrows_chestsKills: number;
|
|
361
|
+
bovine_bullyRank: number;
|
|
362
|
+
bovine_bullyKills: number;
|
|
359
363
|
bryophytaRank: number;
|
|
360
364
|
bryophytaKills: number;
|
|
361
365
|
cerberusRank: number;
|
|
@@ -563,6 +567,37 @@ interface CompetitionTeam {
|
|
|
563
567
|
participants: string[];
|
|
564
568
|
}
|
|
565
569
|
|
|
570
|
+
declare const CompetitionTimeEventStatus: {
|
|
571
|
+
readonly WAITING: "waiting";
|
|
572
|
+
readonly EXECUTING: "executing";
|
|
573
|
+
readonly COMPLETED: "completed";
|
|
574
|
+
readonly FAILED: "failed";
|
|
575
|
+
readonly CANCELED: "canceled";
|
|
576
|
+
};
|
|
577
|
+
type CompetitionTimeEventStatus = (typeof CompetitionTimeEventStatus)[keyof typeof CompetitionTimeEventStatus];
|
|
578
|
+
|
|
579
|
+
declare const CompetitionTimeEventType: {
|
|
580
|
+
readonly BEFORE_START: "before_start";
|
|
581
|
+
readonly BEFORE_END: "before_end";
|
|
582
|
+
readonly DURING: "during";
|
|
583
|
+
};
|
|
584
|
+
type CompetitionTimeEventType = (typeof CompetitionTimeEventType)[keyof typeof CompetitionTimeEventType];
|
|
585
|
+
|
|
586
|
+
interface CompetitionTimeEvent {
|
|
587
|
+
id: number;
|
|
588
|
+
competitionId: number;
|
|
589
|
+
type: CompetitionTimeEventType;
|
|
590
|
+
offsetMinutes: number;
|
|
591
|
+
executeAt: Date;
|
|
592
|
+
status: CompetitionTimeEventStatus;
|
|
593
|
+
attempts: number;
|
|
594
|
+
executingAt: Date | null;
|
|
595
|
+
completedAt: Date | null;
|
|
596
|
+
failedAt: Date | null;
|
|
597
|
+
canceledAt: Date | null;
|
|
598
|
+
createdAt: Date;
|
|
599
|
+
}
|
|
600
|
+
|
|
566
601
|
declare const CompetitionType: {
|
|
567
602
|
readonly CLASSIC: "classic";
|
|
568
603
|
readonly TEAM: "team";
|
|
@@ -663,6 +698,7 @@ declare const Country: {
|
|
|
663
698
|
readonly FR: "FR";
|
|
664
699
|
readonly GA: "GA";
|
|
665
700
|
readonly GB: "GB";
|
|
701
|
+
readonly GB_ENG: "GB_ENG";
|
|
666
702
|
readonly GB_NIR: "GB_NIR";
|
|
667
703
|
readonly GB_SCT: "GB_SCT";
|
|
668
704
|
readonly GB_WLS: "GB_WLS";
|
|
@@ -3246,6 +3282,13 @@ declare const MetricProps: {
|
|
|
3246
3282
|
type: MetricType;
|
|
3247
3283
|
measure: MetricMeasure;
|
|
3248
3284
|
};
|
|
3285
|
+
readonly bovine_bully: {
|
|
3286
|
+
name: string;
|
|
3287
|
+
minimumValue: number;
|
|
3288
|
+
isMembers: boolean;
|
|
3289
|
+
type: MetricType;
|
|
3290
|
+
measure: MetricMeasure;
|
|
3291
|
+
};
|
|
3249
3292
|
readonly bryophyta: {
|
|
3250
3293
|
name: string;
|
|
3251
3294
|
minimumValue: number;
|
|
@@ -3899,4 +3942,4 @@ declare function isPlayerType(typeString: string): typeString is PlayerType;
|
|
|
3899
3942
|
|
|
3900
3943
|
declare function roundNumber(num: number, cases: number): number;
|
|
3901
3944
|
|
|
3902
|
-
export { ACTIVITIES, type Achievement, type AchievementDefinition, type AchievementMeasure, type AchievementProgressResponse, type AchievementResponse, Activity, ActivityProps, BOSSES, Boss, type BossMetaConfig, BossProps, CAPPED_MAX_TOTAL_XP, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, type CachedDelta, type Competition, CompetitionCSVTableType, type CompetitionDetailsResponse, type CompetitionMetric, type CompetitionResponse, CompetitionStatus, CompetitionStatusProps, type CompetitionTeam, CompetitionType, CompetitionTypeProps, ComputedMetric, ComputedMetricProps, Country, CountryProps, type CreateCompetitionPayload, type CreateGroupPayload, type EditCompetitionPayload, type EditGroupPayload, EfficiencyAlgorithmType, F2P_BOSSES, GROUP_ROLES, type GenericCountMessageResponse, type GenericMessageResponse, type Group, type GroupDetailsResponse, type GroupHiscoresEntryResponse, type GroupResponse, GroupRole, type GroupRoleOrder, GroupRoleProps, type GroupSocialLinks, type GroupStatisticsResponse, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, type MemberActivity, type MemberActivityResponse, MemberActivityType, type Membership, type MembershipResponse, Metric, type MetricDelta, MetricMeasure, MetricProps, MetricType, type NameChange, type NameChangeDenyContext, type NameChangeDetailsResponse, type NameChangeResponse, type NameChangeReviewContext, type NameChangeSkipContext, NameChangeStatus, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVILEGED_GROUP_ROLES, type ParticipantHistoryResponse, type Participation, type ParticipationResponse, type Patron, Period, PeriodProps, type Player, type PlayerAnnotation, PlayerAnnotationType, type PlayerArchive, type PlayerArchiveResponse, PlayerBuild, PlayerBuildProps, type PlayerCompetitionStandingResponse, type PlayerDeltasMapResponse, type PlayerDetailsResponse, type PlayerResponse, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_METRICS, REAL_SKILLS, type Record$1 as Record, type RecordResponse, SKILLS, SKILL_EXP_AT_99, Skill, type SkillMetaBonus, type SkillMetaConfig, type SkillMetaMethod, SkillProps, type Snapshot, type SnapshotResponse, type TimeRangeFilter, type TrendDatapoint, WOMClient, findCountry, findCountryByCode, findCountryByName, formatNumber, getCombatLevel, getExpForLevel, getLevel, getMinimumValue, getParentEfficiencyMetric, isActivity, isBoss, isComputedMetric, isCountry, isGroupRole, isMetric, isPeriod, isPlayerBuild, isPlayerStatus, isPlayerType, isSkill, padNumber, parsePeriodExpression, roundNumber };
|
|
3945
|
+
export { ACTIVITIES, type Achievement, type AchievementDefinition, type AchievementMeasure, type AchievementProgressResponse, type AchievementResponse, Activity, ActivityProps, BOSSES, Boss, type BossMetaConfig, BossProps, CAPPED_MAX_TOTAL_XP, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, type CachedDelta, type Competition, CompetitionCSVTableType, type CompetitionDetailsResponse, type CompetitionMetric, type CompetitionResponse, CompetitionStatus, CompetitionStatusProps, type CompetitionTeam, type CompetitionTimeEvent, CompetitionTimeEventStatus, CompetitionTimeEventType, CompetitionType, CompetitionTypeProps, ComputedMetric, ComputedMetricProps, Country, CountryProps, type CreateCompetitionPayload, type CreateGroupPayload, type EditCompetitionPayload, type EditGroupPayload, EfficiencyAlgorithmType, F2P_BOSSES, GROUP_ROLES, type GenericCountMessageResponse, type GenericMessageResponse, type Group, type GroupDetailsResponse, type GroupHiscoresEntryResponse, type GroupResponse, GroupRole, type GroupRoleOrder, GroupRoleProps, type GroupSocialLinks, type GroupStatisticsResponse, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, type MemberActivity, type MemberActivityResponse, MemberActivityType, type Membership, type MembershipResponse, Metric, type MetricDelta, MetricMeasure, MetricProps, MetricType, type NameChange, type NameChangeDenyContext, type NameChangeDetailsResponse, type NameChangeResponse, type NameChangeReviewContext, type NameChangeSkipContext, NameChangeStatus, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVILEGED_GROUP_ROLES, type ParticipantHistoryResponse, type Participation, type ParticipationResponse, type Patron, Period, PeriodProps, type Player, type PlayerAnnotation, PlayerAnnotationType, type PlayerArchive, type PlayerArchiveResponse, PlayerBuild, PlayerBuildProps, type PlayerCompetitionStandingResponse, type PlayerDeltasMapResponse, type PlayerDetailsResponse, type PlayerResponse, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_METRICS, REAL_SKILLS, type Record$1 as Record, type RecordResponse, SKILLS, SKILL_EXP_AT_99, Skill, type SkillMetaBonus, type SkillMetaConfig, type SkillMetaMethod, SkillProps, type Snapshot, type SnapshotResponse, type TimeRangeFilter, type TrendDatapoint, WOMClient, findCountry, findCountryByCode, findCountryByName, formatNumber, getCombatLevel, getExpForLevel, getLevel, getMinimumValue, getParentEfficiencyMetric, isActivity, isBoss, isComputedMetric, isCountry, isGroupRole, isMetric, isPeriod, isPlayerBuild, isPlayerStatus, isPlayerType, isSkill, padNumber, parsePeriodExpression, roundNumber };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise-old-man/utils",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.10",
|
|
4
4
|
"description": "A JavaScript/TypeScript client that interfaces and consumes the Wise Old Man API, an API that tracks and measures players' progress in Old School Runescape.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wiseoldman",
|