🚨 Fix build errors (#247)

This commit is contained in:
Manuel 2023-11-19 20:11:47 +01:00 committed by GitHub
parent e04e5cae50
commit 89a92b0016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 17 additions and 17 deletions

View File

@ -6,7 +6,7 @@ import {
import { Injectable, Logger, OnModuleDestroy } from '@nestjs/common';
import { EventEmitter2 } from '@nestjs/event-emitter';
import { Cron } from '@nestjs/schedule';
import { flatMapTrackItems } from 'src/utils/trackConverter';
import { flatMapTrackItems } from '../../utils/trackConverter';
import { WebSocket } from 'ws';

View File

@ -6,7 +6,7 @@ import { CommandInteraction } from 'discord.js';
import { DiscordMessageService } from '../clients/discord/discord.message.service';
import { DiscordVoiceService } from '../clients/discord/discord.voice.service';
import { defaultMemberPermissions } from 'src/utils/environment';
import { defaultMemberPermissions } from '../utils/environment';
import { PlaybackService } from 'src/playback/playback.service';
@Injectable()

View File

@ -5,7 +5,7 @@ import { Injectable } from '@nestjs/common';
import { CommandInteraction } from 'discord.js';
import { DiscordMessageService } from '../clients/discord/discord.message.service';
import { defaultMemberPermissions } from 'src/utils/environment';
import { defaultMemberPermissions } from '../utils/environment';
@Injectable()
@Command({

View File

@ -6,7 +6,7 @@ import { CommandInteraction } from 'discord.js';
import { PlaybackService } from '../playback/playback.service';
import { DiscordMessageService } from '../clients/discord/discord.message.service';
import { defaultMemberPermissions } from 'src/utils/environment';
import { defaultMemberPermissions } from '../utils/environment';
@Command({
name: 'next',

View File

@ -6,7 +6,7 @@ import { CommandInteraction } from 'discord.js';
import { DiscordMessageService } from '../clients/discord/discord.message.service';
import { DiscordVoiceService } from '../clients/discord/discord.voice.service';
import { defaultMemberPermissions } from 'src/utils/environment';
import { defaultMemberPermissions } from '../utils/environment';
@Injectable()
@Command({

View File

@ -27,7 +27,7 @@ import { SearchItem } from '../../models/search/SearchItem';
import { PlaybackService } from '../../playback/playback.service';
import { formatMillisecondsAsHumanReadable } from '../../utils/timeUtils';
import { defaultMemberPermissions } from 'src/utils/environment';
import { defaultMemberPermissions } from '../../utils/environment';
import { PlayCommandParams, SearchType } from './play.params.ts';
@Injectable()

View File

@ -30,7 +30,7 @@ import {
import { Interval } from '@nestjs/schedule';
import { lightFormat } from 'date-fns';
import { defaultMemberPermissions } from 'src/utils/environment';
import { defaultMemberPermissions } from '../../utils/environment';
import { PlaylistInteractionCollector } from './playlist.interaction-collector';
import { PlaylistCommandParams } from './playlist.params';
import { PlaylistTempCommandData } from './playlist.types';

View File

@ -6,7 +6,7 @@ import { CommandInteraction } from 'discord.js';
import { PlaybackService } from '../playback/playback.service';
import { DiscordMessageService } from '../clients/discord/discord.message.service';
import { defaultMemberPermissions } from 'src/utils/environment';
import { defaultMemberPermissions } from '../utils/environment';
@Injectable()
@Command({

View File

@ -12,7 +12,7 @@ import { JellyfinSearchService } from 'src/clients/jellyfin/jellyfin.search.serv
import { SearchItem } from 'src/models/search/SearchItem';
import { PlaybackService } from 'src/playback/playback.service';
import { RandomCommandParams } from './random.params';
import { defaultMemberPermissions } from 'src/utils/environment';
import { defaultMemberPermissions } from '../../utils/environment';
@Command({
name: 'random',

View File

@ -7,7 +7,7 @@ import { CommandInteraction } from 'discord.js';
import { PlaybackService } from '../playback/playback.service';
import { DiscordMessageService } from '../clients/discord/discord.message.service';
import { DiscordVoiceService } from '../clients/discord/discord.voice.service';
import { defaultMemberPermissions } from 'src/utils/environment';
import { defaultMemberPermissions } from '../utils/environment';
@Command({
name: 'stop',

View File

@ -6,7 +6,7 @@ import { CommandInteraction, GuildMember } from 'discord.js';
import { DiscordMessageService } from '../clients/discord/discord.message.service';
import { DiscordVoiceService } from '../clients/discord/discord.voice.service';
import { defaultMemberPermissions } from 'src/utils/environment';
import { defaultMemberPermissions } from '../utils/environment';
@Injectable()
@Command({

View File

@ -8,9 +8,9 @@ import { CommandInteraction } from 'discord.js';
import { DiscordMessageService } from 'src/clients/discord/discord.message.service';
import { DiscordVoiceService } from 'src/clients/discord/discord.voice.service';
import { PlaybackService } from 'src/playback/playback.service';
import { sleepAsync } from 'src/utils/timeUtils';
import { sleepAsync } from '../../utils/timeUtils';
import { VolumeCommandParams } from './volume.params';
import { defaultMemberPermissions } from 'src/utils/environment';
import { defaultMemberPermissions } from '../../utils/environment';
@Injectable()
@Command({

View File

@ -4,7 +4,7 @@ import { Track } from '../music/Track';
import { JellyfinSearchService } from '../../clients/jellyfin/jellyfin.search.service';
import { SearchItem } from './SearchItem';
import { trimStringToFixedLength } from 'src/utils/stringUtils/stringUtils';
import { trimStringToFixedLength } from '../../utils/stringUtils/stringUtils';
export class AlbumSearchItem extends SearchItem {
override toString(): string {

View File

@ -4,8 +4,8 @@ import { Track } from '../music/Track';
import { JellyfinSearchService } from '../../clients/jellyfin/jellyfin.search.service';
import { SearchItem } from './SearchItem';
import { flatMapTrackItems } from 'src/utils/trackConverter';
import { trimStringToFixedLength } from 'src/utils/stringUtils/stringUtils';
import { flatMapTrackItems } from '../../utils/trackConverter';
import { trimStringToFixedLength } from '../../utils/stringUtils/stringUtils';
export class PlaylistSearchItem extends SearchItem {
override toString(): string {

View File

@ -6,7 +6,7 @@ import { z } from 'zod';
import { JellyfinSearchService } from '../../clients/jellyfin/jellyfin.search.service';
import { Track } from '../music/Track';
import { trimStringToFixedLength } from 'src/utils/stringUtils/stringUtils';
import { trimStringToFixedLength } from '../../utils/stringUtils/stringUtils';
export class SearchItem {
constructor(