1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update imports to use full path

This commit is contained in:
Telepathic Walrus 2024-01-06 19:13:24 +00:00 committed by Bill Thornton
parent f12e2b3e78
commit 051058b5af
16 changed files with 16 additions and 16 deletions

View file

@ -1,7 +1,7 @@
import type { BaseItemDto } from '@jellyfin/sdk/lib/generated-client/models/base-item-dto';
import { BaseItemKind } from '@jellyfin/sdk/lib/generated-client/models/base-item-kind';
import type { UserDto } from '@jellyfin/sdk/lib/generated-client/models/user-dto';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/models/collection-type';
import escapeHtml from 'escape-html';
import type { ApiClient } from 'jellyfin-apiclient';

View file

@ -1,6 +1,6 @@
import { appHost } from './apphost';
import globalize from '../scripts/globalize';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/models/collection-type';
export function getDisplayName(item, options = {}) {
if (!item) {

View file

@ -10,7 +10,7 @@ import viewManager from '../viewManager/viewManager';
import ServerConnections from '../ServerConnections';
import alert from '../alert';
import { ConnectionState } from '../../utils/jellyfin-apiclient/ConnectionState.ts';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/models/collection-type';
export const history = createHashHistory();

View file

@ -1,6 +1,6 @@
import type { BaseItemDto } from '@jellyfin/sdk/lib/generated-client';
import type { ApiClient } from 'jellyfin-apiclient';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/models/collection-type';
import classNames from 'classnames';
import React, { FunctionComponent, useEffect, useState } from 'react';

View file

@ -2,7 +2,7 @@ import type { BaseItemDto, BaseItemDtoQueryResult } from '@jellyfin/sdk/lib/gene
import type { ApiClient } from 'jellyfin-apiclient';
import classNames from 'classnames';
import React, { FunctionComponent, useCallback, useEffect, useState } from 'react';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/models/collection-type';
import globalize from '../../scripts/globalize';
import ServerConnections from '../ServerConnections';