-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: getAllTagPerMonth update features
- Loading branch information
Showing
4 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,5 @@ export class UserInOutLogsType { | |
type: [InOutLogType], | ||
}) | ||
inOutLogs: InOutLogType[]; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
import { InOutLogType } from './subType/InOutLog.type'; | ||
|
||
export class UserMonthlyInOutLogsType { | ||
@ApiProperty({ | ||
description: '42 로그인 ID', | ||
example: 'joopark', | ||
}) | ||
login: string; | ||
|
||
@ApiProperty({ | ||
description: '인트라 이미지 URI', | ||
example: 'https://cdn.intra.42.fr/users/joopark.jpg', | ||
}) | ||
profileImage: string; | ||
|
||
@ApiProperty({ | ||
description: '입실 - 퇴실 정보 배열', | ||
type: [InOutLogType], | ||
}) | ||
inOutLogs: InOutLogType[]; | ||
|
||
@ApiProperty({ | ||
description: '월별 누적시간', | ||
example: 12345, | ||
}) | ||
totalAccumulationTime: number | null = null; | ||
|
||
@ApiProperty({ | ||
description: '월별 인정 누적시간', | ||
example: 12345, | ||
}) | ||
acceptedAccumulationTime: number | null = null; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export const TWELVE_HOURS_IN_SECONDS = 12 * 60 * 60; | ||
export const ONE_DAY_IN_SECONDS = 24 * 60 * 60; |