@jellyfin/sdk 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +17 -22
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +15 -18
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +40 -38
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +43 -104
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +105 -266
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +31 -29
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +68 -82
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +17 -17
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +43 -46
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +65 -62
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +28 -27
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +71 -68
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +29 -33
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +269 -628
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +76 -73
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +29 -40
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +29 -46
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +68 -71
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +501 -903
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +113 -162
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +155 -147
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +15 -19
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +43 -43
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +63 -156
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +378 -359
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +110 -113
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +558 -626
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +45 -42
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +87 -85
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +77 -95
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +15 -19
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +29 -46
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +79 -78
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +29 -41
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +207 -154
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +127 -145
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +124 -120
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +48 -46
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +43 -48
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +71 -69
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +15 -32
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +216 -228
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +87 -81
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +29 -45
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +136 -158
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +15 -20
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +280 -260
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +111 -102
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +11 -11
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +12 -12
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +15 -98
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +29 -33
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +57 -99
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +41 -64
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +186 -178
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +141 -151
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +29 -31
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +14 -16
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +147 -314
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +29 -43
- package/lib/generated-client/api.d.ts +1 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +3 -3
- package/lib/generated-client/common.js +30 -24
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +8 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +26 -26
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update.d.ts +23 -5
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +13 -6
- package/lib/generated-client/models/index.js +7 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +17 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +3 -3
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +8 -14
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +2 -2
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/system-info.d.ts +2 -2
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +1 -0
- package/lib/generated-client/models/transcode-reason.js +2 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +3 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/image-urls-api.js +16 -4
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +13 -12
- package/lib/node_modules/tslib/tslib.es6.js +0 -33
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { ProcessPriorityClass } from './process-priority-class';
|
|
12
|
-
import { TrickplayScanBehavior } from './trickplay-scan-behavior';
|
|
11
|
+
import type { ProcessPriorityClass } from './process-priority-class';
|
|
12
|
+
import type { TrickplayScanBehavior } from './trickplay-scan-behavior';
|
|
13
13
|
/**
|
|
14
14
|
* Class TrickplayOptions.
|
|
15
15
|
* @export
|
|
@@ -28,6 +28,12 @@ export interface TrickplayOptions {
|
|
|
28
28
|
* @memberof TrickplayOptions
|
|
29
29
|
*/
|
|
30
30
|
'EnableHwEncoding'?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Gets or sets a value indicating whether to only extract key frames. Significantly faster, but is not compatible with all decoders and/or video files.
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof TrickplayOptions
|
|
35
|
+
*/
|
|
36
|
+
'EnableKeyFrameOnlyExtraction'?: boolean;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {TrickplayScanBehavior}
|
|
@@ -56,6 +56,24 @@ export interface TunerHostInfo {
|
|
|
56
56
|
* @memberof TunerHostInfo
|
|
57
57
|
*/
|
|
58
58
|
'AllowHWTranscoding'?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof TunerHostInfo
|
|
63
|
+
*/
|
|
64
|
+
'AllowFmp4TranscodingContainer'?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {boolean}
|
|
68
|
+
* @memberof TunerHostInfo
|
|
69
|
+
*/
|
|
70
|
+
'AllowStreamSharing'?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof TunerHostInfo
|
|
75
|
+
*/
|
|
76
|
+
'FallbackMaxStreamingBitrate'?: number;
|
|
59
77
|
/**
|
|
60
78
|
*
|
|
61
79
|
* @type {boolean}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { ImageOption } from './image-option';
|
|
11
|
+
import type { ImageOption } from './image-option';
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { LibraryOptions } from './library-options';
|
|
11
|
+
import type { LibraryOptions } from './library-options';
|
|
12
12
|
/**
|
|
13
13
|
* Update library options dto.
|
|
14
14
|
* @export
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { MediaPathInfo } from './media-path-info';
|
|
11
|
+
import type { MediaPathInfo } from './media-path-info';
|
|
12
12
|
/**
|
|
13
13
|
* Update library options dto.
|
|
14
14
|
* @export
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { PlaylistUserPermissions } from './playlist-user-permissions';
|
|
11
|
+
import type { PlaylistUserPermissions } from './playlist-user-permissions';
|
|
12
12
|
/**
|
|
13
13
|
* Update existing playlist dto. Fields set to `null` will not be updated and keep their current values.
|
|
14
14
|
* @export
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { SubtitlePlaybackMode } from './subtitle-playback-mode';
|
|
11
|
+
import type { SubtitlePlaybackMode } from './subtitle-playback-mode';
|
|
12
12
|
/**
|
|
13
13
|
* Class UserConfiguration.
|
|
14
14
|
* @export
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { UserItemDataDto } from './user-item-data-dto';
|
|
11
|
+
import type { UserItemDataDto } from './user-item-data-dto';
|
|
12
12
|
/**
|
|
13
13
|
* Class UserDataChangeInfo.
|
|
14
14
|
* @export
|
|
@@ -20,11 +20,11 @@ export interface UserDataChangeInfo {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UserDataChangeInfo
|
|
22
22
|
*/
|
|
23
|
-
'UserId'?: string
|
|
23
|
+
'UserId'?: string;
|
|
24
24
|
/**
|
|
25
25
|
* Gets or sets the user data list.
|
|
26
26
|
* @type {Array<UserItemDataDto>}
|
|
27
27
|
* @memberof UserDataChangeInfo
|
|
28
28
|
*/
|
|
29
|
-
'UserDataList'?: Array<UserItemDataDto
|
|
29
|
+
'UserDataList'?: Array<UserItemDataDto>;
|
|
30
30
|
}
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { SessionMessageType } from './session-message-type';
|
|
12
|
-
import { UserDataChangeInfo } from './user-data-change-info';
|
|
11
|
+
import type { SessionMessageType } from './session-message-type';
|
|
12
|
+
import type { UserDataChangeInfo } from './user-data-change-info';
|
|
13
13
|
/**
|
|
14
14
|
* User data changed message.
|
|
15
15
|
* @export
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { SessionMessageType } from './session-message-type';
|
|
11
|
+
import type { SessionMessageType } from './session-message-type';
|
|
12
12
|
/**
|
|
13
13
|
* User deleted message.
|
|
14
14
|
* @export
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { UserConfiguration } from './user-configuration';
|
|
12
|
-
import { UserPolicy } from './user-policy';
|
|
11
|
+
import type { UserConfiguration } from './user-configuration';
|
|
12
|
+
import type { UserPolicy } from './user-policy';
|
|
13
13
|
/**
|
|
14
14
|
* Class UserDto.
|
|
15
15
|
* @export
|
|
@@ -73,11 +73,11 @@ export interface UserItemDataDto {
|
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof UserItemDataDto
|
|
75
75
|
*/
|
|
76
|
-
'Key'?: string
|
|
76
|
+
'Key'?: string;
|
|
77
77
|
/**
|
|
78
78
|
* Gets or sets the item identifier.
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof UserItemDataDto
|
|
81
81
|
*/
|
|
82
|
-
'ItemId'?: string
|
|
82
|
+
'ItemId'?: string;
|
|
83
83
|
}
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { AccessSchedule } from './access-schedule';
|
|
12
|
-
import { SyncPlayUserAccessType } from './sync-play-user-access-type';
|
|
13
|
-
import { UnratedItem } from './unrated-item';
|
|
11
|
+
import type { AccessSchedule } from './access-schedule';
|
|
12
|
+
import type { SyncPlayUserAccessType } from './sync-play-user-access-type';
|
|
13
|
+
import type { UnratedItem } from './unrated-item';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { SessionMessageType } from './session-message-type';
|
|
12
|
-
import { UserDto } from './user-dto';
|
|
11
|
+
import type { SessionMessageType } from './session-message-type';
|
|
12
|
+
import type { UserDto } from './user-dto';
|
|
13
13
|
/**
|
|
14
14
|
* User updated message.
|
|
15
15
|
* @export
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { CollectionTypeOptions } from './collection-type-options';
|
|
12
|
-
import { LibraryOptions } from './library-options';
|
|
11
|
+
import type { CollectionTypeOptions } from './collection-type-options';
|
|
12
|
+
import type { LibraryOptions } from './library-options';
|
|
13
13
|
/**
|
|
14
14
|
* Used to hold information about a user\'s list of configured virtual folders.
|
|
15
15
|
* @export
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import { InboundWebSocketMessage } from './inbound-web-socket-message';
|
|
12
|
-
import { OutboundWebSocketMessage } from './outbound-web-socket-message';
|
|
11
|
+
import type { InboundWebSocketMessage } from './inbound-web-socket-message';
|
|
12
|
+
import type { OutboundWebSocketMessage } from './outbound-web-socket-message';
|
|
13
13
|
/**
|
|
14
14
|
* @type WebSocketMessage
|
|
15
15
|
* Represents the possible websocket types
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parseUrl, copyUrl,
|
|
2
|
-
import { HTTP_PROTOCOL, HTTPS_PROTOCOL
|
|
1
|
+
import { parseUrl, hasProtocolAndPort, copyUrl, isDefaultPort } from './url/index.js';
|
|
2
|
+
import { HTTP_PROTOCOL, HTTPS_PROTOCOL } from './url/constants.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
@@ -31,10 +31,7 @@ function getScore(url) {
|
|
|
31
31
|
score -= 1; // Using the Jellyfin https port is not common
|
|
32
32
|
}
|
|
33
33
|
// Prefer default ports for http(s) protocols
|
|
34
|
-
if (
|
|
35
|
-
score += 3;
|
|
36
|
-
}
|
|
37
|
-
else if (url.protocol === HTTP_PROTOCOL && (!url.port || url.port === HTTP_PORT.toString())) {
|
|
34
|
+
if (isDefaultPort(url)) {
|
|
38
35
|
score += 3;
|
|
39
36
|
}
|
|
40
37
|
return score;
|
|
@@ -49,14 +46,21 @@ function getAddressCandidates(input) {
|
|
|
49
46
|
const candidates = [];
|
|
50
47
|
try {
|
|
51
48
|
const url = parseUrl(input);
|
|
49
|
+
// If the input specifies the protocol and port return it directly
|
|
50
|
+
if (hasProtocolAndPort(input, url)) {
|
|
51
|
+
return [url.toString()];
|
|
52
|
+
}
|
|
53
|
+
// Add the parsed url as a candidate
|
|
52
54
|
candidates.push(url);
|
|
55
|
+
// Always try https if http is specified
|
|
53
56
|
if (url.protocol === HTTP_PROTOCOL) {
|
|
54
57
|
const copy = copyUrl(url);
|
|
55
58
|
copy.protocol = HTTPS_PROTOCOL;
|
|
56
59
|
candidates.push(copy);
|
|
57
60
|
}
|
|
61
|
+
// Add candidates with JF default ports for candidates using the protocol default port
|
|
58
62
|
candidates
|
|
59
|
-
.filter(
|
|
63
|
+
.filter(isDefaultPort)
|
|
60
64
|
.forEach(val => {
|
|
61
65
|
if (val.protocol === HTTP_PROTOCOL) {
|
|
62
66
|
const copy = copyUrl(val);
|
|
@@ -72,9 +76,10 @@ function getAddressCandidates(input) {
|
|
|
72
76
|
candidates.push(copy);
|
|
73
77
|
}
|
|
74
78
|
});
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
79
|
+
// Sort by score
|
|
80
|
+
candidates.sort((a, b) => getScore(b) - getScore(a));
|
|
81
|
+
// Return the list of candidate urls as strings
|
|
82
|
+
return candidates.map(candidate => candidate.toString());
|
|
78
83
|
}
|
|
79
84
|
catch (err) {
|
|
80
85
|
console.warn(err);
|
|
@@ -40,7 +40,10 @@ class ImageUrlsApi extends ImageApi {
|
|
|
40
40
|
var _a, _b;
|
|
41
41
|
if (!(item === null || item === void 0 ? void 0 : item.Id))
|
|
42
42
|
return;
|
|
43
|
-
return this.getItemImageUrlById(item.Id, imageType,
|
|
43
|
+
return this.getItemImageUrlById(item.Id, imageType, {
|
|
44
|
+
...params,
|
|
45
|
+
tag: (_a = params.tag) !== null && _a !== void 0 ? _a : (_b = item.ImageTags) === null || _b === void 0 ? void 0 : _b[imageType]
|
|
46
|
+
});
|
|
44
47
|
}
|
|
45
48
|
/**
|
|
46
49
|
* Get an Item's backdrop image URLs.
|
|
@@ -55,7 +58,10 @@ class ImageUrlsApi extends ImageApi {
|
|
|
55
58
|
if (!id)
|
|
56
59
|
return urls;
|
|
57
60
|
(_a = item.BackdropImageTags) === null || _a === void 0 ? void 0 : _a.forEach(tag => {
|
|
58
|
-
const url = this.getItemImageUrlById(id, ImageType.Backdrop,
|
|
61
|
+
const url = this.getItemImageUrlById(id, ImageType.Backdrop, {
|
|
62
|
+
...params,
|
|
63
|
+
tag
|
|
64
|
+
});
|
|
59
65
|
urls.push(url);
|
|
60
66
|
});
|
|
61
67
|
if (urls.length > 0)
|
|
@@ -63,7 +69,10 @@ class ImageUrlsApi extends ImageApi {
|
|
|
63
69
|
const parentId = item.ParentBackdropItemId;
|
|
64
70
|
if (parentId) {
|
|
65
71
|
(_b = item.ParentBackdropImageTags) === null || _b === void 0 ? void 0 : _b.forEach(tag => {
|
|
66
|
-
const url = this.getItemImageUrlById(parentId, ImageType.Backdrop,
|
|
72
|
+
const url = this.getItemImageUrlById(parentId, ImageType.Backdrop, {
|
|
73
|
+
...params,
|
|
74
|
+
tag
|
|
75
|
+
});
|
|
67
76
|
urls.push(url);
|
|
68
77
|
});
|
|
69
78
|
}
|
|
@@ -95,7 +104,10 @@ class ImageUrlsApi extends ImageApi {
|
|
|
95
104
|
return this.axios.getUri({
|
|
96
105
|
baseURL: (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.basePath,
|
|
97
106
|
url: `/Users/${user.Id}/Images/Primary`,
|
|
98
|
-
params:
|
|
107
|
+
params: {
|
|
108
|
+
...params,
|
|
109
|
+
tag: user.PrimaryImageTag
|
|
110
|
+
}
|
|
99
111
|
});
|
|
100
112
|
}
|
|
101
113
|
}
|
package/lib/utils/api/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export * from './live-tv-api';
|
|
|
32
32
|
export * from './localization-api';
|
|
33
33
|
export * from './lyrics-api';
|
|
34
34
|
export * from './media-info-api';
|
|
35
|
+
export * from './media-segments-api';
|
|
35
36
|
export * from './movies-api';
|
|
36
37
|
export * from './music-genres-api';
|
|
37
38
|
export * from './package-api';
|
package/lib/utils/api/index.js
CHANGED
|
@@ -27,6 +27,7 @@ export { getLiveTvApi } from './live-tv-api.js';
|
|
|
27
27
|
export { getLocalizationApi } from './localization-api.js';
|
|
28
28
|
export { getLyricsApi } from './lyrics-api.js';
|
|
29
29
|
export { getMediaInfoApi } from './media-info-api.js';
|
|
30
|
+
export { getMediaSegmentsApi } from './media-segments-api.js';
|
|
30
31
|
export { getMoviesApi } from './movies-api.js';
|
|
31
32
|
export { getMusicGenresApi } from './music-genres-api.js';
|
|
32
33
|
export { getPackageApi } from './package-api.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
3
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
4
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
5
|
+
*/
|
|
6
|
+
import type { Api } from '../../api';
|
|
7
|
+
import { MediaSegmentsApi } from '../../generated-client/api/media-segments-api';
|
|
8
|
+
export declare function getMediaSegmentsApi(api: Api): MediaSegmentsApi;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MediaSegmentsApi } from '../../generated-client/api/media-segments-api.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
5
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
6
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
7
|
+
*/
|
|
8
|
+
function getMediaSegmentsApi(api) {
|
|
9
|
+
return new MediaSegmentsApi(api.configuration, undefined, api.axiosInstance);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { getMediaSegmentsApi };
|
package/lib/utils/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { JF_HTTPS_PORT, JF_HTTP_PORT, getAddressCandidates } from './address-candidates.js';
|
|
2
2
|
export { getAuthorizationHeader } from './authentication.js';
|
|
3
3
|
export { getBrowserDeviceProfile } from './browser-profiles.js';
|
|
4
|
-
export { copyUrl, getDefaultPort, parseUrl } from './url/index.js';
|
|
4
|
+
export { copyUrl, getDefaultPort, hasProtocolAndPort, isDefaultPort, parseUrl } from './url/index.js';
|
|
5
5
|
export { isVersionLess } from './versioning.js';
|
|
6
6
|
export { HTTPS_PORT, HTTPS_PROTOCOL, HTTP_PORT, HTTP_PROTOCOL } from './url/constants.js';
|
|
7
7
|
|
package/lib/utils/url/index.d.ts
CHANGED
|
@@ -18,8 +18,21 @@ export declare function copyUrl(original: URL): URL;
|
|
|
18
18
|
*/
|
|
19
19
|
export declare function getDefaultPort(protocol: string): number;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
23
|
-
* @
|
|
21
|
+
* Checks if the URL string specifies the protocol and port.
|
|
22
|
+
* @param urlString The URL string to test.
|
|
23
|
+
* @param url The parsed URL object.
|
|
24
|
+
* @returns True if the the URL string includes the protocol and port.
|
|
25
|
+
*/
|
|
26
|
+
export declare function hasProtocolAndPort(urlString: string, url: URL): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Checks if the URL is using the protocol's default port.
|
|
29
|
+
* @param url The URL object to check.
|
|
30
|
+
* @returns True if the URL port is the protocol default.
|
|
31
|
+
*/
|
|
32
|
+
export declare function isDefaultPort(url: URL): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Parses a string to a URL object.
|
|
35
|
+
* @param input A string representing a URL.
|
|
36
|
+
* @returns The URL object.
|
|
24
37
|
*/
|
|
25
38
|
export declare function parseUrl(input: string): URL;
|
package/lib/utils/url/index.js
CHANGED
|
@@ -27,9 +27,31 @@ function getDefaultPort(protocol) {
|
|
|
27
27
|
throw new Error('Unsupported protocol');
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @param
|
|
32
|
-
* @
|
|
30
|
+
* Checks if the URL string specifies the protocol and port.
|
|
31
|
+
* @param urlString The URL string to test.
|
|
32
|
+
* @param url The parsed URL object.
|
|
33
|
+
* @returns True if the the URL string includes the protocol and port.
|
|
34
|
+
*/
|
|
35
|
+
function hasProtocolAndPort(urlString, url) {
|
|
36
|
+
// The parsed URL object drops the default port
|
|
37
|
+
const port = url.port || getDefaultPort(url.protocol);
|
|
38
|
+
return urlString
|
|
39
|
+
.toLowerCase()
|
|
40
|
+
.startsWith(`${url.protocol}//${url.hostname.toLowerCase()}:${port}`);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Checks if the URL is using the protocol's default port.
|
|
44
|
+
* @param url The URL object to check.
|
|
45
|
+
* @returns True if the URL port is the protocol default.
|
|
46
|
+
*/
|
|
47
|
+
function isDefaultPort(url) {
|
|
48
|
+
return !url.port
|
|
49
|
+
|| (url.port === getDefaultPort(url.protocol).toString());
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Parses a string to a URL object.
|
|
53
|
+
* @param input A string representing a URL.
|
|
54
|
+
* @returns The URL object.
|
|
33
55
|
*/
|
|
34
56
|
function parseUrl(input) {
|
|
35
57
|
if (!(input === null || input === void 0 ? void 0 : input.trim())) {
|
|
@@ -38,4 +60,4 @@ function parseUrl(input) {
|
|
|
38
60
|
return new URL(normalizeUrl(input));
|
|
39
61
|
}
|
|
40
62
|
|
|
41
|
-
export { HTTPS_PORT, HTTPS_PROTOCOL, HTTP_PORT, HTTP_PROTOCOL, copyUrl, getDefaultPort, parseUrl };
|
|
63
|
+
export { HTTPS_PORT, HTTPS_PROTOCOL, HTTP_PORT, HTTP_PROTOCOL, copyUrl, getDefaultPort, hasProtocolAndPort, isDefaultPort, parseUrl };
|
package/lib/versions.d.ts
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
5
5
|
*/
|
|
6
6
|
/** The current API version of the generated client. */
|
|
7
|
-
export declare const API_VERSION = "10.
|
|
7
|
+
export declare const API_VERSION = "10.10.0";
|
|
8
8
|
/** The minimum supported server version. */
|
|
9
9
|
export declare const MINIMUM_VERSION = "10.9.0";
|
package/lib/versions.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
5
5
|
*/
|
|
6
6
|
/** The current API version of the generated client. */
|
|
7
|
-
const API_VERSION = '10.
|
|
7
|
+
const API_VERSION = '10.10.0';
|
|
8
8
|
/** The minimum supported server version. */
|
|
9
9
|
const MINIMUM_VERSION = '10.9.0';
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jellyfin/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "A TypeScript SDK for Jellyfin.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jellyfin"
|
|
@@ -22,24 +22,25 @@
|
|
|
22
22
|
"fix-schema": "node scripts/modify-schema.mjs openapi.json",
|
|
23
23
|
"lint": "eslint \".\"",
|
|
24
24
|
"prepublishOnly": "npm run clean:build:sdk",
|
|
25
|
-
"test": "vitest --exclude **/integration.test.ts"
|
|
25
|
+
"test": "vitest --exclude **/integration.test.ts",
|
|
26
|
+
"test:integration": "vitest integration"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
|
-
"@openapitools/openapi-generator-cli": "2.
|
|
29
|
-
"@rollup/plugin-typescript": "
|
|
30
|
-
"@tsconfig/recommended": "1.0.
|
|
29
|
+
"@openapitools/openapi-generator-cli": "2.14.1",
|
|
30
|
+
"@rollup/plugin-typescript": "12.1.1",
|
|
31
|
+
"@tsconfig/recommended": "1.0.7",
|
|
31
32
|
"@typescript-eslint/eslint-plugin": "7.3.1",
|
|
32
33
|
"@typescript-eslint/parser": "7.3.1",
|
|
33
|
-
"@vitest/coverage-v8": "1.
|
|
34
|
+
"@vitest/coverage-v8": "2.1.3",
|
|
34
35
|
"eslint": "8.57.0",
|
|
35
36
|
"eslint-plugin-import": "2.29.1",
|
|
36
37
|
"eslint-plugin-vitest": "0.3.26",
|
|
37
|
-
"glob": "
|
|
38
|
-
"rimraf": "5.0.
|
|
39
|
-
"rollup": "4.
|
|
40
|
-
"typedoc": "0.
|
|
41
|
-
"typescript": "5.
|
|
42
|
-
"vitest": "1.
|
|
38
|
+
"glob": "11.0.0",
|
|
39
|
+
"rimraf": "5.0.10",
|
|
40
|
+
"rollup": "4.24.0",
|
|
41
|
+
"typedoc": "0.26.10",
|
|
42
|
+
"typescript": "5.6.3",
|
|
43
|
+
"vitest": "2.1.3"
|
|
43
44
|
},
|
|
44
45
|
"peerDependencies": {
|
|
45
46
|
"axios": "^1.3.4"
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/******************************************************************************
|
|
2
|
-
Copyright (c) Microsoft Corporation.
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
-
purpose with or without fee is hereby granted.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */
|
|
15
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
19
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
20
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
21
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
22
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
23
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
24
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
29
|
-
var e = new Error(message);
|
|
30
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export { __awaiter };
|