-
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.
fix: update docs for video controller (#56)
- Loading branch information
Showing
17 changed files
with
406 additions
and
69 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,13 @@ | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
import { GetUserResponse } from '../../user/dto/get-user.dto'; | ||
|
||
export class SignInResponse { | ||
@ApiProperty({ | ||
description: 'User object', | ||
}) | ||
user: GetUserResponse; | ||
@ApiProperty({ | ||
description: 'JWT Access token', | ||
}) | ||
accessToken: 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,13 @@ | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
import { GetUserResponse } from '../../user/dto/get-user.dto'; | ||
|
||
export class SignupResponse { | ||
@ApiProperty({ | ||
description: 'User object', | ||
}) | ||
user: GetUserResponse; | ||
@ApiProperty({ | ||
description: 'JWT Access token', | ||
}) | ||
accessToken: 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
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
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,55 @@ | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
class GetUserWalletResponse { | ||
id: string; | ||
@ApiProperty({ | ||
description: 'User wallet address', | ||
}) | ||
address: string; | ||
createdAt: Date; | ||
updatedAt: Date; | ||
} | ||
|
||
export class GetUserResponse { | ||
@ApiProperty({ | ||
description: 'User id', | ||
}) | ||
id: string; | ||
@ApiProperty({ | ||
description: 'User email', | ||
}) | ||
email: string; | ||
@ApiProperty({ | ||
description: 'User name', | ||
}) | ||
name: string; | ||
@ApiProperty({ | ||
description: 'User name', | ||
}) | ||
username: string; | ||
@ApiProperty({ | ||
description: 'Created date', | ||
}) | ||
createdAt: Date; | ||
@ApiProperty({ | ||
description: 'Updated date', | ||
}) | ||
updatedAt: Date; | ||
@ApiProperty({ | ||
description: 'User avatar', | ||
}) | ||
avatar: string; | ||
@ApiProperty({ | ||
description: "User's short description", | ||
}) | ||
shortDescription: string; | ||
@ApiProperty({ | ||
description: "User's long description", | ||
}) | ||
longDescription: string; | ||
version: number; | ||
walletId: string; | ||
@ApiProperty({ | ||
description: 'User wallet', | ||
}) | ||
Wallet: GetUserWalletResponse; | ||
} |
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
Oops, something went wrong.
671b604
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
video-trading-server – ./
video-trading-server.vercel.app
video-trading-server-git-main-etherdata-blockchain.vercel.app
video-trading-server-etherdata-blockchain.vercel.app
api.vxvhk.com