mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-27 14:09:31 -05:00
34 lines
684 B
TypeScript
34 lines
684 B
TypeScript
import { ImageFormat } from '@jellyfin/sdk/lib/generated-client/models'
|
|
|
|
export const QueryConfig = {
|
|
limits: {
|
|
recents: 20,
|
|
search: 50, // TODO: make this a paginated search so limits don't even matter
|
|
},
|
|
images: {
|
|
height: 300,
|
|
width: 300,
|
|
format: ImageFormat.Jpg,
|
|
},
|
|
banners: {
|
|
fillHeight: 300,
|
|
fillWidth: 1000,
|
|
format: ImageFormat.Jpg,
|
|
},
|
|
logos: {
|
|
fillHeight: 50,
|
|
fillWidth: 300,
|
|
format: ImageFormat.Png,
|
|
},
|
|
playerArtwork: {
|
|
height: 1000,
|
|
width: 1000,
|
|
format: ImageFormat.Jpg,
|
|
},
|
|
staleTime: {
|
|
oneDay: 1000 * 60 * 60 * 24, // 1 Day
|
|
oneWeek: 1000 * 60 * 60 * 24 * 7, // 7 Days
|
|
oneFortnight: 1000 * 60 * 60 * 24 * 7 * 14, // 14 Days
|
|
},
|
|
}
|