fix(revision): DTOs should correctly extend BaseDto

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2022-02-20 21:14:43 +01:00
parent 09ec447069
commit c16d5bb79e

View file

@ -7,9 +7,10 @@ import { ApiProperty } from '@nestjs/swagger';
import { Type } from 'class-transformer'; import { Type } from 'class-transformer';
import { IsDate, IsNumber, IsString } from 'class-validator'; import { IsDate, IsNumber, IsString } from 'class-validator';
import { BaseDto } from '../utils/base.dto.';
import { Revision } from './revision.entity'; import { Revision } from './revision.entity';
export class RevisionMetadataDto { export class RevisionMetadataDto extends BaseDto {
/** /**
* ID of this revision * ID of this revision
* @example 13 * @example 13