From ad751fd2c883ea2f94431982854e84103ab0905d Mon Sep 17 00:00:00 2001 From: Alex Kim Date: Sun, 5 Jan 2025 03:12:01 +1100 Subject: [PATCH] WIP --- providers/DownloadItem.tsx | 673 ------------------------------------- 1 file changed, 673 deletions(-) delete mode 100644 providers/DownloadItem.tsx diff --git a/providers/DownloadItem.tsx b/providers/DownloadItem.tsx deleted file mode 100644 index 9dccdae1..00000000 --- a/providers/DownloadItem.tsx +++ /dev/null @@ -1,673 +0,0 @@ -/** - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * Do not edit the class manually. - * - * Jellyfin API - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -import { ExtraType } from "@jellyfin/sdk/lib/generated-client"; - -/** - * This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client. - * @export - * @interface BaseItemDto - */ -export interface BaseItemDto { - /** - * Gets or sets the name. - * @type {string} - * @memberof BaseItemDto - */ - Name?: string | null; - /** - * Gets or sets the id. - * @type {string} - * @memberof BaseItemDto - */ - Id?: string; - /** - * Gets or sets the playlist item identifier. - * @type {string} - * @memberof BaseItemDto - */ - PlaylistItemId?: string | null; - - /** - * - * @type {ExtraType} - * @memberof BaseItemDto - */ - ExtraType?: ExtraType; - /** - * - * @type {string} - * @memberof BaseItemDto - */ - Container?: string | null; - /** - * Gets or sets the name of the sort. - * @type {string} - * @memberof BaseItemDto - */ - SortName?: string | null; - Path?: string | null; - /** - * Gets or sets the overview. - * @type {string} - * @memberof BaseItemDto - */ - Overview?: string | null; - /** - * Gets or sets the cumulative run time ticks. - * @type {number} - * @memberof BaseItemDto - */ - CumulativeRunTimeTicks?: number | null; - /** - * Gets or sets the run time ticks. - * @type {number} - * @memberof BaseItemDto - */ - RunTimeTicks?: number | null; - /** - * - * @type {PlayAccess} - * @memberof BaseItemDto - */ - PlayAccess?: PlayAccess; - /** - * Gets or sets the aspect ratio. - * @type {string} - * @memberof BaseItemDto - */ - AspectRatio?: string | null; - /** - * Gets or sets the production year. - * @type {number} - * @memberof BaseItemDto - */ - ProductionYear?: number | null; - /** - * Gets or sets a value indicating whether this instance is place holder. - * @type {boolean} - * @memberof BaseItemDto - */ - IsPlaceHolder?: boolean | null; - /** - * Gets or sets the number. - * @type {string} - * @memberof BaseItemDto - */ - Number?: string | null; - /** - * - * @type {string} - * @memberof BaseItemDto - */ - ChannelNumber?: string | null; - /** - * Gets or sets the index number. - * @type {number} - * @memberof BaseItemDto - */ - IndexNumber?: number | null; - /** - * Gets or sets the index number end. - * @type {number} - * @memberof BaseItemDto - */ - IndexNumberEnd?: number | null; - /** - * Gets or sets the parent index number. - * @type {number} - * @memberof BaseItemDto - */ - ParentIndexNumber?: number | null; - /** - * Gets or sets the trailer urls. - * @type {Array} - * @memberof BaseItemDto - */ - RemoteTrailers?: Array | null; - /** - * Gets or sets the provider ids. - * @type {{ [key: string]: string | null; }} - * @memberof BaseItemDto - */ - ProviderIds?: { - [key: string]: string | null; - } | null; - /** - * Gets or sets a value indicating whether this instance is HD. - * @type {boolean} - * @memberof BaseItemDto - */ - IsHD?: boolean | null; - /** - * Gets or sets a value indicating whether this instance is folder. - * @type {boolean} - * @memberof BaseItemDto - */ - IsFolder?: boolean | null; - /** - * Gets or sets the parent id. - * @type {string} - * @memberof BaseItemDto - */ - ParentId?: string | null; - /** - * - * @type {BaseItemKind} - * @memberof BaseItemDto - */ - Type?: BaseItemKind; - /** - * Gets or sets the people. - * @type {Array} - * @memberof BaseItemDto - */ - People?: Array | null; - /** - * Gets or sets the studios. - * @type {Array} - * @memberof BaseItemDto - */ - Studios?: Array | null; - /** - * - * @type {Array} - * @memberof BaseItemDto - */ - GenreItems?: Array | null; - /** - * Gets or sets whether the item has a logo, this will hold the Id of the Parent that has one. - * @type {string} - * @memberof BaseItemDto - */ - ParentLogoItemId?: string | null; - /** - * Gets or sets whether the item has any backdrops, this will hold the Id of the Parent that has one. - * @type {string} - * @memberof BaseItemDto - */ - ParentBackdropItemId?: string | null; - /** - * Gets or sets the parent backdrop image tags. - * @type {Array} - * @memberof BaseItemDto - */ - ParentBackdropImageTags?: Array | null; - /** - * Gets or sets the local trailer count. - * @type {number} - * @memberof BaseItemDto - */ - LocalTrailerCount?: number | null; - /** - * - * @type {UserItemDataDto} - * @memberof BaseItemDto - */ - UserData?: UserItemDataDto; - /** - * Gets or sets the recursive item count. - * @type {number} - * @memberof BaseItemDto - */ - RecursiveItemCount?: number | null; - /** - * Gets or sets the child count. - * @type {number} - * @memberof BaseItemDto - */ - ChildCount?: number | null; - /** - * Gets or sets the name of the series. - * @type {string} - * @memberof BaseItemDto - */ - SeriesName?: string | null; - /** - * Gets or sets the series id. - * @type {string} - * @memberof BaseItemDto - */ - SeriesId?: string | null; - /** - * Gets or sets the season identifier. - * @type {string} - * @memberof BaseItemDto - */ - SeasonId?: string | null; - /** - * Gets or sets the special feature count. - * @type {number} - * @memberof BaseItemDto - */ - SpecialFeatureCount?: number | null; - /** - * Gets or sets the display preferences id. - * @type {string} - * @memberof BaseItemDto - */ - DisplayPreferencesId?: string | null; - /** - * Gets or sets the status. - * @type {string} - * @memberof BaseItemDto - */ - Status?: string | null; - /** - * Gets or sets the air time. - * @type {string} - * @memberof BaseItemDto - */ - AirTime?: string | null; - /** - * Gets or sets the air days. - * @type {Array} - * @memberof BaseItemDto - */ - AirDays?: Array | null; - /** - * Gets or sets the tags. - * @type {Array} - * @memberof BaseItemDto - */ - Tags?: Array | null; - /** - * Gets or sets the primary image aspect ratio, after image enhancements. - * @type {number} - * @memberof BaseItemDto - */ - PrimaryImageAspectRatio?: number | null; - /** - * Gets or sets the artists. - * @type {Array} - * @memberof BaseItemDto - */ - Artists?: Array | null; - /** - * Gets or sets the artist items. - * @type {Array} - * @memberof BaseItemDto - */ - ArtistItems?: Array | null; - /** - * Gets or sets the album. - * @type {string} - * @memberof BaseItemDto - */ - Album?: string | null; - /** - * - * @type {CollectionType} - * @memberof BaseItemDto - */ - CollectionType?: CollectionType; - /** - * Gets or sets the display order. - * @type {string} - * @memberof BaseItemDto - */ - DisplayOrder?: string | null; - /** - * Gets or sets the album id. - * @type {string} - * @memberof BaseItemDto - */ - AlbumId?: string | null; - /** - * Gets or sets the album image tag. - * @type {string} - * @memberof BaseItemDto - */ - AlbumPrimaryImageTag?: string | null; - /** - * Gets or sets the series primary image tag. - * @type {string} - * @memberof BaseItemDto - */ - SeriesPrimaryImageTag?: string | null; - /** - * Gets or sets the album artist. - * @type {string} - * @memberof BaseItemDto - */ - AlbumArtist?: string | null; - /** - * Gets or sets the album artists. - * @type {Array} - * @memberof BaseItemDto - */ - AlbumArtists?: Array | null; - /** - * Gets or sets the name of the season. - * @type {string} - * @memberof BaseItemDto - */ - SeasonName?: string | null; - /** - * Gets or sets the media streams. - * @type {Array} - * @memberof BaseItemDto - */ - MediaStreams?: Array | null; - /** - * - * @type {VideoType} - * @memberof BaseItemDto - */ - VideoType?: VideoType; - /** - * Gets or sets the part count. - * @type {number} - * @memberof BaseItemDto - */ - PartCount?: number | null; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - MediaSourceCount?: number | null; - /** - * Gets or sets the image tags. - * @type {{ [key: string]: string; }} - * @memberof BaseItemDto - */ - ImageTags?: { - [key: string]: string; - } | null; - /** - * Gets or sets the backdrop image tags. - * @type {Array} - * @memberof BaseItemDto - */ - BackdropImageTags?: Array | null; - /** - * Gets or sets the screenshot image tags. - * @type {Array} - * @memberof BaseItemDto - */ - ScreenshotImageTags?: Array | null; - /** - * Gets or sets the parent logo image tag. - * @type {string} - * @memberof BaseItemDto - */ - ParentLogoImageTag?: string | null; - /** - * Gets or sets whether the item has fan art, this will hold the Id of the Parent that has one. - * @type {string} - * @memberof BaseItemDto - */ - ParentArtItemId?: string | null; - /** - * Gets or sets the parent art image tag. - * @type {string} - * @memberof BaseItemDto - */ - ParentArtImageTag?: string | null; - /** - * Gets or sets the series thumb image tag. - * @type {string} - * @memberof BaseItemDto - */ - SeriesThumbImageTag?: string | null; - /** - * - * @type {BaseItemDtoImageBlurHashes} - * @memberof BaseItemDto - */ - ImageBlurHashes?: BaseItemDtoImageBlurHashes | null; - /** - * Gets or sets the series studio. - * @type {string} - * @memberof BaseItemDto - */ - SeriesStudio?: string | null; - /** - * Gets or sets the parent thumb item id. - * @type {string} - * @memberof BaseItemDto - */ - ParentThumbItemId?: string | null; - /** - * Gets or sets the parent thumb image tag. - * @type {string} - * @memberof BaseItemDto - */ - ParentThumbImageTag?: string | null; - /** - * Gets or sets the parent primary image item identifier. - * @type {string} - * @memberof BaseItemDto - */ - ParentPrimaryImageItemId?: string | null; - /** - * Gets or sets the parent primary image tag. - * @type {string} - * @memberof BaseItemDto - */ - ParentPrimaryImageTag?: string | null; - /** - * Gets or sets the chapters. - * @type {Array} - * @memberof BaseItemDto - */ - Chapters?: Array | null; - /** - * Gets or sets the trickplay manifest. - * @type {{ [key: string]: { [key: string]: TrickplayInfo; }; }} - * @memberof BaseItemDto - */ - Trickplay?: { - [key: string]: { - [key: string]: TrickplayInfo; - }; - } | null; - /** - * - * @type {LocationType} - * @memberof BaseItemDto - */ - LocationType?: LocationType; - /** - * - * @type {IsoType} - * @memberof BaseItemDto - */ - IsoType?: IsoType; - /** - * - * @type {MediaType} - * @memberof BaseItemDto - */ - MediaType?: MediaType; - /** - * Gets or sets the end date. - * @type {string} - * @memberof BaseItemDto - */ - EndDate?: string | null; - /** - * Gets or sets the locked fields. - * @type {Array} - * @memberof BaseItemDto - */ - LockedFields?: Array | null; - /** - * Gets or sets the trailer count. - * @type {number} - * @memberof BaseItemDto - */ - TrailerCount?: number | null; - /** - * Gets or sets the movie count. - * @type {number} - * @memberof BaseItemDto - */ - MovieCount?: number | null; - /** - * Gets or sets the series count. - * @type {number} - * @memberof BaseItemDto - */ - SeriesCount?: number | null; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - ProgramCount?: number | null; - /** - * Gets or sets the episode count. - * @type {number} - * @memberof BaseItemDto - */ - EpisodeCount?: number | null; - /** - * Gets or sets the song count. - * @type {number} - * @memberof BaseItemDto - */ - SongCount?: number | null; - /** - * Gets or sets the album count. - * @type {number} - * @memberof BaseItemDto - */ - AlbumCount?: number | null; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - ArtistCount?: number | null; - /** - * Gets or sets the music video count. - * @type {number} - * @memberof BaseItemDto - */ - MusicVideoCount?: number | null; - /** - * Gets or sets a value indicating whether [enable internet providers]. - * @type {boolean} - * @memberof BaseItemDto - */ - LockData?: boolean | null; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - Width?: number | null; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - Height?: number | null; - /** - * - * @type {string} - * @memberof BaseItemDto - */ - CameraMake?: string | null; - /** - * - * @type {string} - * @memberof BaseItemDto - */ - CameraModel?: string | null; - /** - * - * @type {string} - * @memberof BaseItemDto - */ - Software?: string | null; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - ExposureTime?: number | null; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - FocalLength?: number | null; - /** - * - * @type {ImageOrientation} - * @memberof BaseItemDto - */ - ImageOrientation?: ImageOrientation; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - Aperture?: number | null; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - ShutterSpeed?: number | null; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - Latitude?: number | null; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - Longitude?: number | null; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - Altitude?: number | null; - /** - * - * @type {number} - * @memberof BaseItemDto - */ - IsoSpeedRating?: number | null; - /** - * Gets or sets the series timer identifier. - * @type {string} - * @memberof BaseItemDto - */ - SeriesTimerId?: string | null; - /** - * Gets or sets the program identifier. - * @type {string} - * @memberof BaseItemDto - */ - ProgramId?: string | null; - - /** - * Gets or sets the completion percentage. - * @type {number} - * @memberof BaseItemDto - */ - CompletionPercentage?: number | null; - /** - * Gets or sets a value indicating whether this instance is repeat. - * @type {boolean} - * @memberof BaseItemDto - */ - IsRepeat?: boolean | null; -}