Checking API calls
All checks were successful
Music Collection CI Workflow / test (./backend) (push) Successful in 37s
Music Collection CI Workflow / test (./frontend) (push) Successful in 40s
Music Collection CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/music-collection-backend, ./backend) (push) Successful in 53s
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Successful in 1m52s
Music Collection CI Workflow / deploy (push) Successful in 23s
All checks were successful
Music Collection CI Workflow / test (./backend) (push) Successful in 37s
Music Collection CI Workflow / test (./frontend) (push) Successful in 40s
Music Collection CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/music-collection-backend, ./backend) (push) Successful in 53s
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Successful in 1m52s
Music Collection CI Workflow / deploy (push) Successful in 23s
This commit is contained in:
parent
a8f7631ff1
commit
092ddcd11b
@ -1,15 +1,5 @@
|
|||||||
import { IsNotEmpty, IsString } from 'class-validator';
|
|
||||||
|
|
||||||
export class CreateAlbumDto {
|
export class CreateAlbumDto {
|
||||||
@IsString()
|
|
||||||
@IsNotEmpty()
|
|
||||||
title: string;
|
title: string;
|
||||||
|
|
||||||
@IsString()
|
|
||||||
@IsNotEmpty()
|
|
||||||
artist: string;
|
artist: string;
|
||||||
|
|
||||||
@IsString()
|
|
||||||
@IsNotEmpty()
|
|
||||||
genre: string;
|
genre: string;
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,6 @@
|
|||||||
import { IsNotEmpty, IsNumber, IsString } from 'class-validator';
|
|
||||||
|
|
||||||
export class UpdateAlbumDto {
|
export class UpdateAlbumDto {
|
||||||
@IsNumber()
|
|
||||||
id: number;
|
id: number;
|
||||||
|
|
||||||
@IsString()
|
|
||||||
@IsNotEmpty()
|
|
||||||
title: string;
|
title: string;
|
||||||
|
|
||||||
@IsString()
|
|
||||||
@IsNotEmpty()
|
|
||||||
artist: string;
|
artist: string;
|
||||||
|
|
||||||
@IsString()
|
|
||||||
@IsNotEmpty()
|
|
||||||
|
|
||||||
@IsString()
|
|
||||||
@IsNotEmpty()
|
|
||||||
genre: string;
|
genre: string;
|
||||||
}
|
}
|
||||||
|
@ -1,16 +1,6 @@
|
|||||||
import { IsNotEmpty, IsNumber, IsString } from 'class-validator';
|
|
||||||
|
|
||||||
export class CreateSongDto {
|
export class CreateSongDto {
|
||||||
@IsString()
|
|
||||||
@IsNotEmpty()
|
|
||||||
title: string;
|
title: string;
|
||||||
|
|
||||||
@IsNumber()
|
|
||||||
duration: number;
|
duration: number;
|
||||||
|
|
||||||
@IsNumber()
|
|
||||||
trackNumber: number;
|
trackNumber: number;
|
||||||
|
|
||||||
@IsNumber()
|
|
||||||
albumId: number;
|
albumId: number;
|
||||||
}
|
}
|
||||||
|
@ -1,19 +1,7 @@
|
|||||||
import { IsNotEmpty, IsNumber, IsString } from 'class-validator';
|
|
||||||
|
|
||||||
export class UpdateSongDto {
|
export class UpdateSongDto {
|
||||||
@IsNumber()
|
|
||||||
id: number;
|
id: number;
|
||||||
|
|
||||||
@IsString()
|
|
||||||
@IsNotEmpty()
|
|
||||||
title: string;
|
title: string;
|
||||||
|
|
||||||
@IsNumber()
|
|
||||||
duration: number;
|
duration: number;
|
||||||
|
|
||||||
@IsNumber()
|
|
||||||
trackNumber: number;
|
trackNumber: number;
|
||||||
|
|
||||||
@IsNumber()
|
|
||||||
albumId: number;
|
albumId: number;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user