-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
c5c8d20
commit 56a324e
Showing
3 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
libraries/nestjs-libraries/src/dtos/posts/providers-settings/facebook.settings.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,10 @@ | ||
import { IsOptional, ValidateNested } from 'class-validator'; | ||
import { MediaDto } from '@gitroom/nestjs-libraries/dtos/media/media.dto'; | ||
import { Type } from 'class-transformer'; | ||
|
||
export class FacebookSettingsDto { | ||
@IsOptional() | ||
@ValidateNested() | ||
@Type(() => MediaDto) | ||
thumbnail?: MediaDto; | ||
} |
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