🚨 Fix build warnings
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
import axios from 'axios';
|
||||
|
||||
import Consola from 'consola';
|
||||
|
||||
import { NextApiRequest, NextApiResponse } from 'next';
|
||||
import { getConfig } from '../../../tools/config/getConfig';
|
||||
|
||||
import { AppIntegrationType } from '../../../types/app';
|
||||
import { getConfig } from '../../../tools/config/getConfig';
|
||||
|
||||
export default async (req: NextApiRequest, res: NextApiResponse) => {
|
||||
// Filter out if the reuqest is a POST or a GET
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { Jellyfin } from '@jellyfin/sdk';
|
||||
import { getSessionApi } from '@jellyfin/sdk/lib/utils/api/session-api';
|
||||
import { getSystemApi } from '@jellyfin/sdk/lib/utils/api/system-api';
|
||||
import { BaseItemKind } from '@jellyfin/sdk/lib/generated-client/models';
|
||||
|
||||
import Consola from 'consola';
|
||||
|
||||
@@ -8,16 +9,15 @@ import { getCookie } from 'cookies-next';
|
||||
|
||||
import { NextApiRequest, NextApiResponse } from 'next';
|
||||
|
||||
import { BaseItemKind, ProgramAudio } from '@jellyfin/sdk/lib/generated-client/models';
|
||||
import { ConfigAppType } from '../../../../types/app';
|
||||
import { getConfig } from '../../../../tools/config/getConfig';
|
||||
import { PlexClient } from '../../../../tools/server/sdk/plex/plexClient';
|
||||
import { GenericMediaServer } from '../../../../types/api/media-server/media-server';
|
||||
import { MediaServersResponseType } from '../../../../types/api/media-server/response';
|
||||
import {
|
||||
GenericCurrentlyPlaying,
|
||||
GenericSessionInfo,
|
||||
} from '../../../../types/api/media-server/session-info';
|
||||
import { ConfigAppType } from '../../../../types/app';
|
||||
import { PlexClient } from '../../../../tools/server/sdk/plex/plexClient';
|
||||
|
||||
const jellyfin = new Jellyfin({
|
||||
clientInfo: {
|
||||
|
||||
Reference in New Issue
Block a user