@wise-old-man/utils 2.1.7 → 2.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +18 -0
- package/dist/index.js +8 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -56,9 +56,11 @@ export type Prisma_Base_Delta = {
|
|
|
56
56
|
construction: number
|
|
57
57
|
abyssal_sire: number
|
|
58
58
|
alchemical_hydra: number
|
|
59
|
+
artio: number
|
|
59
60
|
barrows_chests: number
|
|
60
61
|
bryophyta: number
|
|
61
62
|
callisto: number
|
|
63
|
+
calvarion: number
|
|
62
64
|
cerberus: number
|
|
63
65
|
chambers_of_xeric: number
|
|
64
66
|
chambers_of_xeric_challenge_mode: number
|
|
@@ -89,6 +91,7 @@ export type Prisma_Base_Delta = {
|
|
|
89
91
|
sarachnis: number
|
|
90
92
|
scorpia: number
|
|
91
93
|
skotizo: number
|
|
94
|
+
spindel: number
|
|
92
95
|
tempoross: number
|
|
93
96
|
the_gauntlet: number
|
|
94
97
|
the_corrupted_gauntlet: number
|
|
@@ -291,6 +294,8 @@ export type Prisma_Base_Snapshot = {
|
|
|
291
294
|
abyssal_sireKills: number
|
|
292
295
|
alchemical_hydraRank: number
|
|
293
296
|
alchemical_hydraKills: number
|
|
297
|
+
artioRank: number
|
|
298
|
+
artioKills: number
|
|
294
299
|
barrows_chestsRank: number
|
|
295
300
|
barrows_chestsKills: number
|
|
296
301
|
bryophytaKills: number
|
|
@@ -300,6 +305,8 @@ export type Prisma_Base_Snapshot = {
|
|
|
300
305
|
cerberusRank: number
|
|
301
306
|
callistoRank: number
|
|
302
307
|
callistoKills: number
|
|
308
|
+
calvarionRank: number
|
|
309
|
+
calvarionKills: number
|
|
303
310
|
chambers_of_xericKills: number
|
|
304
311
|
chambers_of_xeric_challenge_modeRank: number
|
|
305
312
|
chambers_of_xeric_challenge_modeKills: number
|
|
@@ -353,6 +360,8 @@ export type Prisma_Base_Snapshot = {
|
|
|
353
360
|
scorpiaKills: number
|
|
354
361
|
skotizoRank: number
|
|
355
362
|
skotizoKills: number
|
|
363
|
+
spindelRank: number
|
|
364
|
+
spindelKills: number
|
|
356
365
|
the_gauntletRank: number
|
|
357
366
|
the_gauntletKills: number
|
|
358
367
|
the_corrupted_gauntletKills: number
|
|
@@ -492,9 +501,11 @@ declare type Activity = typeof Activity[keyof typeof Activity];
|
|
|
492
501
|
declare const Boss: {
|
|
493
502
|
readonly ABYSSAL_SIRE: "abyssal_sire";
|
|
494
503
|
readonly ALCHEMICAL_HYDRA: "alchemical_hydra";
|
|
504
|
+
readonly ARTIO: "artio";
|
|
495
505
|
readonly BARROWS_CHESTS: "barrows_chests";
|
|
496
506
|
readonly BRYOPHYTA: "bryophyta";
|
|
497
507
|
readonly CALLISTO: "callisto";
|
|
508
|
+
readonly CALVARION: "calvarion";
|
|
498
509
|
readonly CERBERUS: "cerberus";
|
|
499
510
|
readonly CHAMBERS_OF_XERIC: "chambers_of_xeric";
|
|
500
511
|
readonly CHAMBERS_OF_XERIC_CM: "chambers_of_xeric_challenge_mode";
|
|
@@ -525,6 +536,7 @@ declare const Boss: {
|
|
|
525
536
|
readonly SARACHNIS: "sarachnis";
|
|
526
537
|
readonly SCORPIA: "scorpia";
|
|
527
538
|
readonly SKOTIZO: "skotizo";
|
|
539
|
+
readonly SPINDEL: "spindel";
|
|
528
540
|
readonly TEMPOROSS: "tempoross";
|
|
529
541
|
readonly THE_GAUNTLET: "the_gauntlet";
|
|
530
542
|
readonly THE_CORRUPTED_GAUNTLET: "the_corrupted_gauntlet";
|
|
@@ -553,9 +565,11 @@ declare const Metric: {
|
|
|
553
565
|
readonly EHB: "ehb";
|
|
554
566
|
readonly ABYSSAL_SIRE: "abyssal_sire";
|
|
555
567
|
readonly ALCHEMICAL_HYDRA: "alchemical_hydra";
|
|
568
|
+
readonly ARTIO: "artio";
|
|
556
569
|
readonly BARROWS_CHESTS: "barrows_chests";
|
|
557
570
|
readonly BRYOPHYTA: "bryophyta";
|
|
558
571
|
readonly CALLISTO: "callisto";
|
|
572
|
+
readonly CALVARION: "calvarion";
|
|
559
573
|
readonly CERBERUS: "cerberus";
|
|
560
574
|
readonly CHAMBERS_OF_XERIC: "chambers_of_xeric";
|
|
561
575
|
readonly CHAMBERS_OF_XERIC_CM: "chambers_of_xeric_challenge_mode";
|
|
@@ -586,6 +600,7 @@ declare const Metric: {
|
|
|
586
600
|
readonly SARACHNIS: "sarachnis";
|
|
587
601
|
readonly SCORPIA: "scorpia";
|
|
588
602
|
readonly SKOTIZO: "skotizo";
|
|
603
|
+
readonly SPINDEL: "spindel";
|
|
589
604
|
readonly TEMPOROSS: "tempoross";
|
|
590
605
|
readonly THE_GAUNTLET: "the_gauntlet";
|
|
591
606
|
readonly THE_CORRUPTED_GAUNTLET: "the_corrupted_gauntlet";
|
|
@@ -1654,9 +1669,11 @@ declare const MetricProps: {
|
|
|
1654
1669
|
readonly guardians_of_the_rift: ActivityProperties;
|
|
1655
1670
|
readonly abyssal_sire: BossProperties;
|
|
1656
1671
|
readonly alchemical_hydra: BossProperties;
|
|
1672
|
+
readonly artio: BossProperties;
|
|
1657
1673
|
readonly barrows_chests: BossProperties;
|
|
1658
1674
|
readonly bryophyta: BossProperties;
|
|
1659
1675
|
readonly callisto: BossProperties;
|
|
1676
|
+
readonly calvarion: BossProperties;
|
|
1660
1677
|
readonly cerberus: BossProperties;
|
|
1661
1678
|
readonly chambers_of_xeric: BossProperties;
|
|
1662
1679
|
readonly chambers_of_xeric_challenge_mode: BossProperties;
|
|
@@ -1687,6 +1704,7 @@ declare const MetricProps: {
|
|
|
1687
1704
|
readonly sarachnis: BossProperties;
|
|
1688
1705
|
readonly scorpia: BossProperties;
|
|
1689
1706
|
readonly skotizo: BossProperties;
|
|
1707
|
+
readonly spindel: BossProperties;
|
|
1690
1708
|
readonly tempoross: BossProperties;
|
|
1691
1709
|
readonly the_gauntlet: BossProperties;
|
|
1692
1710
|
readonly the_corrupted_gauntlet: BossProperties;
|
package/dist/index.js
CHANGED
|
@@ -513,9 +513,11 @@ const Activity = {
|
|
|
513
513
|
const Boss = {
|
|
514
514
|
ABYSSAL_SIRE: 'abyssal_sire',
|
|
515
515
|
ALCHEMICAL_HYDRA: 'alchemical_hydra',
|
|
516
|
+
ARTIO: 'artio',
|
|
516
517
|
BARROWS_CHESTS: 'barrows_chests',
|
|
517
518
|
BRYOPHYTA: 'bryophyta',
|
|
518
519
|
CALLISTO: 'callisto',
|
|
520
|
+
CALVARION: 'calvarion',
|
|
519
521
|
CERBERUS: 'cerberus',
|
|
520
522
|
CHAMBERS_OF_XERIC: 'chambers_of_xeric',
|
|
521
523
|
CHAMBERS_OF_XERIC_CM: 'chambers_of_xeric_challenge_mode',
|
|
@@ -546,6 +548,7 @@ const Boss = {
|
|
|
546
548
|
SARACHNIS: 'sarachnis',
|
|
547
549
|
SCORPIA: 'scorpia',
|
|
548
550
|
SKOTIZO: 'skotizo',
|
|
551
|
+
SPINDEL: 'spindel',
|
|
549
552
|
TEMPOROSS: 'tempoross',
|
|
550
553
|
THE_GAUNTLET: 'the_gauntlet',
|
|
551
554
|
THE_CORRUPTED_GAUNTLET: 'the_corrupted_gauntlet',
|
|
@@ -1819,9 +1822,11 @@ const SkillProps = lodash.mapValues({
|
|
|
1819
1822
|
const BossProps = lodash.mapValues({
|
|
1820
1823
|
[Boss.ABYSSAL_SIRE]: { name: 'Abyssal Sire' },
|
|
1821
1824
|
[Boss.ALCHEMICAL_HYDRA]: { name: 'Alchemical Hydra' },
|
|
1825
|
+
[Boss.ARTIO]: { name: 'Artio' },
|
|
1822
1826
|
[Boss.BARROWS_CHESTS]: { name: 'Barrows Chests' },
|
|
1823
1827
|
[Boss.BRYOPHYTA]: { name: 'Bryophyta', minimumValue: 5, isMembers: false },
|
|
1824
1828
|
[Boss.CALLISTO]: { name: 'Callisto' },
|
|
1829
|
+
[Boss.CALVARION]: { name: "Calvar'ion" },
|
|
1825
1830
|
[Boss.CERBERUS]: { name: 'Cerberus' },
|
|
1826
1831
|
[Boss.CHAMBERS_OF_XERIC]: { name: 'Chambers Of Xeric' },
|
|
1827
1832
|
[Boss.CHAMBERS_OF_XERIC_CM]: { name: 'Chambers Of Xeric (CM)', minimumValue: 5 },
|
|
@@ -1850,8 +1855,9 @@ const BossProps = lodash.mapValues({
|
|
|
1850
1855
|
[Boss.OBOR]: { name: 'Obor', minimumValue: 5, isMembers: false },
|
|
1851
1856
|
[Boss.PHANTOM_MUSPAH]: { name: 'Phantom Muspah' },
|
|
1852
1857
|
[Boss.SARACHNIS]: { name: 'Sarachnis' },
|
|
1853
|
-
[Boss.SKOTIZO]: { name: 'Skotizo', minimumValue: 5 },
|
|
1854
1858
|
[Boss.SCORPIA]: { name: 'Scorpia' },
|
|
1859
|
+
[Boss.SKOTIZO]: { name: 'Skotizo', minimumValue: 5 },
|
|
1860
|
+
[Boss.SPINDEL]: { name: 'Spindel' },
|
|
1855
1861
|
[Boss.TEMPOROSS]: { name: 'Tempoross' },
|
|
1856
1862
|
[Boss.THE_GAUNTLET]: { name: 'The Gauntlet' },
|
|
1857
1863
|
[Boss.THE_CORRUPTED_GAUNTLET]: { name: 'The Corrupted Gauntlet', minimumValue: 5 },
|
|
@@ -1868,7 +1874,7 @@ const BossProps = lodash.mapValues({
|
|
|
1868
1874
|
[Boss.WINTERTODT]: { name: 'Wintertodt' },
|
|
1869
1875
|
[Boss.ZALCANO]: { name: 'Zalcano' },
|
|
1870
1876
|
[Boss.ZULRAH]: { name: 'Zulrah' }
|
|
1871
|
-
}, props => (Object.assign(Object.assign({}, props), { type: exports.MetricType.BOSS, measure: exports.MetricMeasure.KILLS, isMembers: 'isMembers' in props ? props.isMembers : true, minimumValue: 'minimumValue' in props ? props.minimumValue :
|
|
1877
|
+
}, props => (Object.assign(Object.assign({}, props), { type: exports.MetricType.BOSS, measure: exports.MetricMeasure.KILLS, isMembers: 'isMembers' in props ? props.isMembers : true, minimumValue: 'minimumValue' in props ? props.minimumValue : 20 })));
|
|
1872
1878
|
const ActivityProps = lodash.mapValues({
|
|
1873
1879
|
[Activity.LEAGUE_POINTS]: { name: 'League Points' },
|
|
1874
1880
|
[Activity.BOUNTY_HUNTER_HUNTER]: { name: 'Bounty Hunter (Hunter)' },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise-old-man/utils",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.9",
|
|
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",
|