|
|
|
@ -21,8 +21,19 @@ export function useGalleryViewData(
|
|
|
|
|
|
|
|
|
|
const viewData = ref<GalleryType | undefined>() |
|
|
|
|
|
|
|
|
|
const { cachedRows, syncCount, clearCache, deleteRow, loadData, navigateToSiblingRow, totalRows, fetchChunk, chunkStates } = |
|
|
|
|
useInfiniteData({ |
|
|
|
|
const { |
|
|
|
|
cachedRows, |
|
|
|
|
syncCount, |
|
|
|
|
clearCache, |
|
|
|
|
deleteRow, |
|
|
|
|
loadData, |
|
|
|
|
navigateToSiblingRow, |
|
|
|
|
totalRows, |
|
|
|
|
fetchChunk, |
|
|
|
|
chunkStates, |
|
|
|
|
isFirstRow, |
|
|
|
|
isLastRow, |
|
|
|
|
} = useInfiniteData({ |
|
|
|
|
meta, |
|
|
|
|
viewMeta, |
|
|
|
|
callbacks: {}, |
|
|
|
@ -46,5 +57,7 @@ export function useGalleryViewData(
|
|
|
|
|
chunkStates, |
|
|
|
|
syncCount, |
|
|
|
|
fetchChunk, |
|
|
|
|
isFirstRow, |
|
|
|
|
isLastRow, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|