-
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.
- Loading branch information
1 parent
01cecb4
commit 259c926
Showing
9 changed files
with
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface SignInDto { | ||
identity: string | ||
password: string | ||
} |
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,5 @@ | ||
export interface ValidateUserDto { | ||
email: string | ||
phone: string | ||
fullName: string | ||
} |
Empty file.
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,11 @@ | ||
export interface MetadataDto { | ||
currentPage: number | ||
totalPages: number | ||
page: number | ||
takeAll: boolean | ||
pageSize: number | ||
totalCount: number | ||
payloadSize: number | ||
hasPrevious: boolean | ||
hasNext: boolean | ||
} |
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 SearchDto { | ||
searchBy: string | ||
searchValue: string | ||
} |
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 @@ | ||
export interface ReviewDto { | ||
id: string | ||
content: string | ||
rate: number | ||
event: string | ||
author: string | ||
createdAt: string | ||
updatedAt: string | ||
} |
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 UpdateReviewDto { | ||
content: string | ||
rate: number | ||
} |
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,5 @@ | ||
export interface UpdateUserPasswordDto { | ||
userId: string | ||
oldPassword: string | ||
newPassword: string | ||
} |
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,21 @@ | ||
import { EGender, EUserStatus } from '@constants/enum.constant' | ||
|
||
export interface UserDto { | ||
id?: string | ||
userName: string | ||
email: string | ||
phoneNumber: string | ||
dob: string | ||
fullName: string | ||
gender: EGender | ||
bio: string | ||
avatar: string | ||
status: EUserStatus | ||
numberOfFollowers: number | ||
numberOfFolloweds: number | ||
numberOfFavourites: number | ||
numberOfCreatedEvents: number | ||
roles: string | ||
createdAt: string | ||
updatedAt: string | ||
} |