mirror of
https://github.com/apricote/Listory.git
synced 2026-02-07 10:17:02 +00:00
chore(deps): bump all (#294)
This commit is contained in:
parent
1979d924c9
commit
38cf2ff549
69 changed files with 4681 additions and 3804 deletions
|
|
@ -24,7 +24,7 @@ export class MusicLibraryService {
|
|||
private readonly albumRepository: AlbumRepository,
|
||||
private readonly artistRepository: ArtistRepository,
|
||||
private readonly genreRepository: GenreRepository,
|
||||
private readonly trackRepository: TrackRepository
|
||||
private readonly trackRepository: TrackRepository,
|
||||
) {}
|
||||
|
||||
async findArtist(query: FindArtistDto): Promise<Artist | undefined> {
|
||||
|
|
@ -77,7 +77,7 @@ export class MusicLibraryService {
|
|||
|
||||
async createArtists(data: CreateArtistDto[]): Promise<Artist[]> {
|
||||
return this.artistRepository.save(
|
||||
data.map((entry) => this.artistRepository.create(entry))
|
||||
data.map((entry) => this.artistRepository.create(entry)),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -129,7 +129,7 @@ export class MusicLibraryService {
|
|||
|
||||
async createAlbums(data: CreateAlbumDto[]): Promise<Album[]> {
|
||||
return this.albumRepository.save(
|
||||
data.map((entry) => this.albumRepository.create(entry))
|
||||
data.map((entry) => this.albumRepository.create(entry)),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -170,7 +170,7 @@ export class MusicLibraryService {
|
|||
|
||||
async createGenres(data: CreateGenreDto[]): Promise<Genre[]> {
|
||||
return this.genreRepository.save(
|
||||
data.map((entry) => this.genreRepository.create(entry))
|
||||
data.map((entry) => this.genreRepository.create(entry)),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -212,7 +212,7 @@ export class MusicLibraryService {
|
|||
|
||||
async createTracks(data: CreateTrackDto[]): Promise<Track[]> {
|
||||
return this.trackRepository.save(
|
||||
data.map((entry) => this.trackRepository.create(entry))
|
||||
data.map((entry) => this.trackRepository.create(entry)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue