@wise-old-man/utils 3.1.3 → 3.1.5
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 +15 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,17 @@ export type MemberActivity = {
|
|
|
19
19
|
createdAt: Date;
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
+
type Prisma_Base_GroupSocialLinks = {
|
|
23
|
+
id: number;
|
|
24
|
+
groupId: number;
|
|
25
|
+
discord: string | null;
|
|
26
|
+
twitter: string | null;
|
|
27
|
+
youtube: string | null;
|
|
28
|
+
twitch: string | null;
|
|
29
|
+
updatedAt: Date;
|
|
30
|
+
createdAt: Date;
|
|
31
|
+
};
|
|
32
|
+
|
|
22
33
|
export type Membership = {
|
|
23
34
|
playerId: number;
|
|
24
35
|
groupId: number;
|
|
@@ -1147,6 +1158,7 @@ declare type Player = Omit<Prisma_Base_Player, 'exp' | 'latestSnapshotId'> & {
|
|
|
1147
1158
|
declare type NameChange = Omit<Prisma_Base_NameChange, 'reviewContext'> & {
|
|
1148
1159
|
reviewContext: SkipContext | DenyContext | null;
|
|
1149
1160
|
};
|
|
1161
|
+
declare type GroupSocialLinks = Omit<Prisma_Base_GroupSocialLinks, 'id' | 'groupId' | 'createdAt' | 'updatedAt'>;
|
|
1150
1162
|
|
|
1151
1163
|
interface AchievementTemplate {
|
|
1152
1164
|
name: string;
|
|
@@ -1296,6 +1308,7 @@ interface GroupListItem extends Omit<Group, 'verificationHash'> {
|
|
|
1296
1308
|
memberCount: number;
|
|
1297
1309
|
}
|
|
1298
1310
|
interface GroupDetails extends GroupListItem {
|
|
1311
|
+
socialLinks?: GroupSocialLinks;
|
|
1299
1312
|
memberships: MembershipWithPlayer[];
|
|
1300
1313
|
}
|
|
1301
1314
|
interface MembershipWithGroup extends Membership {
|
|
@@ -1378,9 +1391,11 @@ interface ParticipationWithPlayer extends CleanParticipation {
|
|
|
1378
1391
|
}
|
|
1379
1392
|
interface ParticipationWithPlayerAndProgress extends ParticipationWithPlayer {
|
|
1380
1393
|
progress: MeasuredDeltaProgress;
|
|
1394
|
+
levels?: MeasuredDeltaProgress;
|
|
1381
1395
|
}
|
|
1382
1396
|
interface ParticipationWithCompetitionAndStandings extends ParticipationWithCompetition {
|
|
1383
1397
|
progress: MeasuredDeltaProgress;
|
|
1398
|
+
levels?: MeasuredDeltaProgress;
|
|
1384
1399
|
rank: number;
|
|
1385
1400
|
}
|
|
1386
1401
|
interface Team {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise-old-man/utils",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.5",
|
|
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",
|