forked from Quickchive/quickchive-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 해당 유저가 설정한 리마인더의 개수를 반환하는 api 구현 - Quickchive#180
현재 reminder가 비어있다면 카운트하도록 되어있음 알람 보낼 때 리마인더에 설정된 값을 지우는 작업이 필요함
- Loading branch information
Showing
3 changed files
with
44 additions
and
0 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
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,9 @@ | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
import { CoreOutput } from '../../common/dtos/output.dto'; | ||
|
||
export class LoadReminderCountOutput extends CoreOutput { | ||
@ApiProperty({ | ||
description: '설정된 리마인더 개수', | ||
}) | ||
count!: number; | ||
} |