harden media
This commit is contained in:
@@ -7,6 +7,7 @@ export const RACE_REPOSITORY_TOKEN = 'IRaceRepository';
|
||||
export const SPONSORSHIP_PRICING_REPOSITORY_TOKEN = 'ISponsorshipPricingRepository';
|
||||
export const SPONSORSHIP_REQUEST_REPOSITORY_TOKEN = 'ISponsorshipRequestRepository';
|
||||
export const LOGGER_TOKEN = 'Logger';
|
||||
export const MEDIA_RESOLVER_TOKEN = 'MediaResolverPort';
|
||||
|
||||
// Presenter tokens
|
||||
export const GET_ENTITY_SPONSORSHIP_PRICING_PRESENTER_TOKEN = 'GetEntitySponsorshipPricingPresenter';
|
||||
|
||||
@@ -10,8 +10,8 @@ export class SponsorDTO {
|
||||
@ApiProperty({ required: false })
|
||||
contactEmail?: string;
|
||||
|
||||
@ApiProperty({ required: false })
|
||||
logoUrl?: string;
|
||||
@ApiProperty({ nullable: true })
|
||||
logoUrl!: string | null;
|
||||
|
||||
@ApiProperty({ required: false })
|
||||
websiteUrl?: string;
|
||||
|
||||
@@ -26,10 +26,10 @@ export class SponsorProfileDTO {
|
||||
@IsString()
|
||||
description: string = '';
|
||||
|
||||
@ApiProperty({ required: false })
|
||||
@ApiProperty({ nullable: true })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
logoUrl?: string;
|
||||
logoUrl!: string | null;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
|
||||
Reference in New Issue
Block a user