introduce a performance backend

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

No files matched your search

+25
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;
}