-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 자신의 커뮤니티 받아오기 service layer 1차 #115
- 사용자 document에서 커뮤니티 정보를 받아옴 - 커뮤니티 id 별로 실제로 존재하는지 검증 - 사용자 document의 채널들이 각 커뮤니티에 속한 채널인지 확인 - 채널 별 유효한 채널인지 검증 - 최근 접근 시간과 마지막 message 전송 시간 비교 logic 구현
- Loading branch information
1 parent
24c948b
commit 0e21bbc
Showing
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface communityInUser { | ||
_id: string; | ||
channels?: Map<string, Date>; | ||
} |