-
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.
Merge pull request #215 from yunuo46/BE/feat/location
[์กํ์ฐ] update location api ์์ฑ
- Loading branch information
Showing
7 changed files
with
142 additions
and
90 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
15 changes: 15 additions & 0 deletions
15
back/src/modules/message/dto/update-message-locations.dto.ts
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,15 @@ | ||
import { ValidateNested } from '@nestjs/class-validator'; | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
import { UpdateMessageLocationDto } from './update-message-location.dto'; | ||
import { Expose, Type } from 'class-transformer'; | ||
|
||
export class UpdateMessageLocationsDto { | ||
@Expose() | ||
@Type(() => UpdateMessageLocationDto) | ||
@ValidateNested({ each: true }) | ||
@ApiProperty({ | ||
type: [UpdateMessageLocationDto], | ||
description: '์ ๋ฐ์ดํธ ํ ๋ฉ์ธ์ง ์์น ๋ฆฌ์คํธ' | ||
}) | ||
readonly location_list: UpdateMessageLocationDto[]; | ||
} |
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