mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Move itemdto to base models folder
This commit is contained in:
parent
efe5d0b84d
commit
d5a775502b
33 changed files with 32 additions and 32 deletions
|
@ -2,7 +2,7 @@ import React, { type FC } from 'react';
|
|||
import useList from './useList';
|
||||
import ListContent from './ListContent';
|
||||
import ListWrapper from './ListWrapper';
|
||||
import type { ItemDto } from 'types/itemDto';
|
||||
import type { ItemDto } from 'types/base/models/item-dto';
|
||||
import type { ListOptions } from 'types/listOptions';
|
||||
import '../../mediainfo/mediainfo.scss';
|
||||
import '../../guide/programs.scss';
|
||||
|
|
|
@ -10,7 +10,7 @@ import ListItemBody from './ListItemBody';
|
|||
import ListImageContainer from './ListImageContainer';
|
||||
import ListViewUserDataButtons from './ListViewUserDataButtons';
|
||||
|
||||
import type { ItemDto } from 'types/itemDto';
|
||||
import type { ItemDto } from 'types/base/models/item-dto';
|
||||
import type { ListOptions } from 'types/listOptions';
|
||||
|
||||
interface ListContentProps {
|
||||
|
|
|
@ -13,7 +13,7 @@ import {
|
|||
|
||||
import Media from 'components/common/Media';
|
||||
import PlayArrowIconButton from 'components/common/PlayArrowIconButton';
|
||||
import type { ItemDto } from 'types/itemDto';
|
||||
import type { ItemDto } from 'types/base/models/item-dto';
|
||||
import type { ListOptions } from 'types/listOptions';
|
||||
|
||||
interface ListImageContainerProps {
|
||||
|
|
|
@ -4,7 +4,7 @@ import Box from '@mui/material/Box';
|
|||
import useListTextlines from './useListTextlines';
|
||||
import PrimaryMediaInfo from '../../mediainfo/PrimaryMediaInfo';
|
||||
|
||||
import type { ItemDto } from 'types/itemDto';
|
||||
import type { ItemDto } from 'types/base/models/item-dto';
|
||||
import type { ListOptions } from 'types/listOptions';
|
||||
|
||||
interface ListItemBodyProps {
|
||||
|
|
|
@ -8,7 +8,7 @@ import InfoIconButton from '../../common/InfoIconButton';
|
|||
import RightIconButtons from '../../common/RightIconButtons';
|
||||
import MoreVertIconButton from '../../common/MoreVertIconButton';
|
||||
|
||||
import type { ItemDto } from 'types/itemDto';
|
||||
import type { ItemDto } from 'types/base/models/item-dto';
|
||||
import type { ListOptions } from 'types/listOptions';
|
||||
|
||||
interface ListViewUserDataButtonsProps {
|
||||
|
|
|
@ -5,7 +5,7 @@ import { getIndex } from './listHelper';
|
|||
import ListGroupHeaderWrapper from './ListGroupHeaderWrapper';
|
||||
import List from './List';
|
||||
|
||||
import type { ItemDto } from 'types/itemDto';
|
||||
import type { ItemDto } from 'types/base/models/item-dto';
|
||||
import type { ListOptions } from 'types/listOptions';
|
||||
import '../listview.scss';
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import { BaseItemKind, ImageType } from '@jellyfin/sdk/lib/generated-client';
|
|||
import { getImageApi } from '@jellyfin/sdk/lib/utils/api/image-api';
|
||||
import globalize from 'scripts/globalize';
|
||||
|
||||
import type { ItemDto } from 'types/itemDto';
|
||||
import type { ItemDto } from 'types/base/models/item-dto';
|
||||
import type { ListOptions } from 'types/listOptions';
|
||||
|
||||
const sortBySortName = (item: ItemDto): string => {
|
||||
|
|
|
@ -2,7 +2,7 @@ import classNames from 'classnames';
|
|||
import { getDataAttributes } from 'utils/items';
|
||||
import layoutManager from 'components/layoutManager';
|
||||
|
||||
import type { ItemDto } from 'types/itemDto';
|
||||
import type { ItemDto } from 'types/base/models/item-dto';
|
||||
import type { ListOptions } from 'types/listOptions';
|
||||
|
||||
interface UseListProps {
|
||||
|
|
|
@ -3,7 +3,7 @@ import React from 'react';
|
|||
import itemHelper from '../../itemHelper';
|
||||
import datetime from 'scripts/datetime';
|
||||
import ListTextWrapper from './ListTextWrapper';
|
||||
import type { ItemDto } from 'types/itemDto';
|
||||
import type { ItemDto } from 'types/base/models/item-dto';
|
||||
import type { ListOptions } from 'types/listOptions';
|
||||
|
||||
function getParentTitle(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue