Skip to content

Commit

Permalink
Merge pull request #6109 from jellyfin/update-jf-sdk
Browse files Browse the repository at this point in the history
Update @jellyfin/sdk to 0.0.0-unstable.202409240640
  • Loading branch information
thornbill authored Sep 24, 2024
2 parents 3a2f881 + 29642e0 commit dd2cf55
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"@fontsource/noto-sans-sc": "5.1.0",
"@fontsource/noto-sans-tc": "5.1.0",
"@jellyfin/libass-wasm": "4.2.3",
"@jellyfin/sdk": "0.0.0-unstable.202409080303",
"@jellyfin/sdk": "0.0.0-unstable.202409240640",
"@mui/icons-material": "5.16.7",
"@mui/material": "5.16.7",
"@mui/x-date-pickers": "7.17.0",
Expand Down
6 changes: 3 additions & 3 deletions src/apps/dashboard/routes/users/access.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { BaseItemDto, DeviceInfo, UserDto } from '@jellyfin/sdk/lib/generated-client';
import type { BaseItemDto, DeviceInfoDto, UserDto } from '@jellyfin/sdk/lib/generated-client';
import React, { useCallback, useEffect, useState, useRef } from 'react';
import { useSearchParams } from 'react-router-dom';

Expand Down Expand Up @@ -96,7 +96,7 @@ const UserLibraryAccess = () => {
triggerChange(chkEnableAllChannels);
}, []);

const loadDevices = useCallback((user: UserDto, devices: DeviceInfo[]) => {
const loadDevices = useCallback((user: UserDto, devices: DeviceInfoDto[]) => {
const page = element.current;

if (!page) {
Expand Down Expand Up @@ -131,7 +131,7 @@ const UserLibraryAccess = () => {
}
}, []);

const loadUser = useCallback((user: UserDto, mediaFolders: BaseItemDto[], channels: BaseItemDto[], devices: DeviceInfo[]) => {
const loadUser = useCallback((user: UserDto, mediaFolders: BaseItemDto[], channels: BaseItemDto[], devices: DeviceInfoDto[]) => {
setUserName(user.Name || '');
libraryMenu.setTitle(user.Name);
loadChannels(user, channels);
Expand Down

0 comments on commit dd2cf55

Please sign in to comment.