introduce a performance backend

This commit is contained in:
Sven Czarnian
2022-10-22 20:25:55 +02:00
parent 31c9739d38
commit 822709f577
14 changed files with 5346 additions and 33 deletions

View File

@@ -0,0 +1,25 @@
import { IsNotEmpty } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
export class SemanticVersionDto {
@IsNotEmpty()
@ApiProperty({
description: 'The main version to describe downwards compatibility issues',
example: 1,
})
main: number;
@IsNotEmpty()
@ApiProperty({
description: 'The major version to describe upwards compatibility issues',
example: 1,
})
major: number;
@IsNotEmpty()
@ApiProperty({
description: 'The minor version to describe API stable changes',
example: 1,
})
minor: number;
}