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

Initial commit

This commit is contained in:
TelepathicWalrus 2023-12-06 17:57:35 +00:00 committed by Bill Thornton
parent 7671d08591
commit e5a55daf55
20 changed files with 46 additions and 56 deletions

View file

@ -1,5 +1,5 @@
import type { BaseItemDto } from '@jellyfin/sdk/lib/generated-client';
import { CollectionType } from './collectionType';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
export interface CardOptions {
itemsContainer?: HTMLElement | null;

View file

@ -1,16 +0,0 @@
// NOTE: This should be included in the OpenAPI spec ideally
// https://github.com/jellyfin/jellyfin/blob/47290a8c3665f3adb859bda19deb66f438f2e5d0/MediaBrowser.Model/Entities/CollectionType.cs
export enum CollectionType {
Movies = 'movies',
TvShows = 'tvshows',
Music = 'music',
MusicVideos = 'musicvideos',
Trailers = 'trailers',
HomeVideos = 'homevideos',
BoxSets = 'boxsets',
Books = 'books',
Photos = 'photos',
LiveTv = 'livetv',
Playlists = 'playlists',
Folders = 'folders'
}

View file

@ -1,6 +1,6 @@
import { BaseItemKind } from '@jellyfin/sdk/lib/generated-client';
import { LibraryTab } from './libraryTab';
import { CollectionType } from './collectionType';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
import { SectionType } from './sections';
export interface SectionsView {

View file

@ -1,6 +1,6 @@
import { BaseItemDto, SeriesTimerInfoDto } from '@jellyfin/sdk/lib/generated-client';
import { ItemSortBy } from '@jellyfin/sdk/lib/models/api/item-sort-by';
import { CollectionType } from './collectionType';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/';
export interface ListOptions {
items?: BaseItemDto[] | SeriesTimerInfoDto[] | null;