Skip to content

Commit 5d1ea5a

Browse files
chore(develop): sync types to dmgincs/nestjs-api
1 parent a61f307 commit 5d1ea5a

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
export class GiftBattlepassRequestDto {
3+
/** The member id of the receiver */
4+
5+
receiverId: number;
6+
}

src/mainsite/battlepass/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export * from './ExtendedMemberBattlepassResponse';
22
export * from './MemberBattlepassResponse';
33
export * from './BattlepassTierResponse';
4+
export * from './GiftBattlepassRequestDto';

src/types/Notification.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export enum NotificationApplications {
1919
STRIKES = 2048,
2020
AWARDS = 4096,
2121
REP_CAP_NOTIFICATION = 8192,
22+
BATTLEPASS_GIFT = 16384,
2223
}
2324

2425
export const NotificationApplicationsInfo: { [key in NotificationApplications]: { description: string; platforms: NotificationPlatforms } } = {
@@ -77,5 +78,9 @@ export const NotificationApplicationsInfo: { [key in NotificationApplications]:
7778
[NotificationApplications.REP_CAP_NOTIFICATION]: {
7879
description: 'Reputation Cap Notifications.',
7980
platforms: NotificationPlatforms.DISCORD | NotificationPlatforms.MOBILE | NotificationPlatforms.WEBAPP
81+
},
82+
[NotificationApplications.BATTLEPASS_GIFT]: {
83+
description: 'Battlepass Gift Notifications.',
84+
platforms: NotificationPlatforms.DISCORD | NotificationPlatforms.MOBILE | NotificationPlatforms.WEBAPP
8085
}
8186
};

0 commit comments

Comments
 (0)