Skip to content

Commit 3b64e47

Browse files
chore(develop): sync types to dmgincs/nestjs-api
1 parent ea180d7 commit 3b64e47

3 files changed

Lines changed: 26 additions & 1 deletion

File tree

src/constants/GameWarsSettings.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export const NOT_PRIMARY_GAME_HOSTING_POINTS_PER_HOUR = 1;
2+
export const PRIMARY_GAME_HOSTING_POINTS_PER_HOUR = 2;
3+
export const POINTS_PER_RECRUIT = 3;
4+
5+
export const COMMUNITY_COMPETITION_POINTS = {
6+
first: 100,
7+
second: 50,
8+
third: 25
9+
};
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
export class CompetitionMonthWinnersDto {
3+
4+
/** `The member id for the first place winner (to receive ${COMMUNITY_COMPETITION_POINTS.first} Game Wars points)` */
5+
first: number;
6+
7+
/** `The member id for the second place winner (to receive ${COMMUNITY_COMPETITION_POINTS.second} Game Wars points)` */
8+
second: number;
9+
10+
/** `The member id for the third place winner (to receive ${COMMUNITY_COMPETITION_POINTS.third} Game Wars points)` */
11+
third: number;
12+
}

src/types/admin/PermissionObjectNames.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// 019 = 25 (DEC) = SELF
88
// 2 = 2 (DEC) = CREATE
99

10-
// Last inserted permission enum value = 124
10+
// Last inserted permission enum value = 126
1111
// PLEASE UPDATE THIS IF YOU ADD A PERMISSION
1212

1313
export enum PermissionObjectNames {
@@ -51,6 +51,10 @@ export enum PermissionObjectNames {
5151
SELF__STRIKES = 37,
5252
SELF__BATTLEPASS = 117,
5353

54+
// GAME WARS
55+
GAME_WARS__COMMUNITY_COMPETITION = 125,
56+
GAME_WARS__HISTORY = 126,
57+
5458
// EMT
5559
EMT__EVENT = 38,
5660
EMT__EVENT__HISTORY = 39,

0 commit comments

Comments
 (0)