mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(api): update existing artists in MusicLibrary
This commit is contained in:
parent
a0c28e2324
commit
a0ffe108e1
11 changed files with 176 additions and 1 deletions
10
src/music-library/dto/update-artist.dto.ts
Normal file
10
src/music-library/dto/update-artist.dto.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Artist } from "../artist.entity";
|
||||
import { Genre } from "../genre.entity";
|
||||
|
||||
export class UpdateArtistDto {
|
||||
artist: Artist;
|
||||
updatedFields: {
|
||||
name: string;
|
||||
genres: Genre[];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue