Seven call sites (rerun-collections, multi-collections, library/browse) requested pageSize far above each endpoint's server-side MaxPageSize=100 clamp and took the single response page as the whole list, so rows past 100 silently vanished with no error or truncation indicator. Extract the loadAllRerunCollections pattern from SchedulesScreen (#634) into a shared, generic web/src/api/paging.ts::loadAllPages helper that pages against totalCount with an empty-page defensive break, and refactor SchedulesScreen plus the seven over-cap call sites in RerunCollectionsScreen, MultiCollectionsScreen, PlaylistsScreen, and FillerPresetsScreen to use it. Server caps are unchanged (api.search-allitems-paging precedent: client pages, server stays bounded). Document the convention in docs/spa-conventions.md §3b.
40 lines
1.1 KiB
TypeScript
40 lines
1.1 KiB
TypeScript
export * from './artwork';
|
|
export * from './auth';
|
|
export * from './autoTune';
|
|
export * from './blocks';
|
|
export * from './channels';
|
|
export * from './channelTemplates';
|
|
export * from './client';
|
|
export * from './collections';
|
|
export * from './dashboard';
|
|
export * from './decos';
|
|
export * from './decoTemplates';
|
|
export * from './ffmpegProfiles';
|
|
export * from './fillerPresets';
|
|
export * from './graphicsElements';
|
|
export * from './guide';
|
|
export * from './imageFolders';
|
|
export * from './languages';
|
|
export * from './libraries';
|
|
export * from './libraryBrowse';
|
|
export * from './logs';
|
|
export * from './maintenance';
|
|
export * from './mediaDetail';
|
|
export * from './mediaItems';
|
|
export * from './mediaSources';
|
|
export * from './multiCollections';
|
|
export * from './paging';
|
|
export * from './pickers';
|
|
export * from './playlists';
|
|
export * from './playoutHistory';
|
|
export * from './playouts';
|
|
export * from './rerunCollections';
|
|
export * from './schedules';
|
|
export * from './search';
|
|
export * from './settings';
|
|
export * from './templates';
|
|
export * from './trakt';
|
|
export * from './troubleshoot';
|
|
export * from './useChannelsQuery';
|
|
export * from './watermarks';
|