chore: remove unused buffer prop

This commit is contained in:
patak 2023-01-09 15:42:13 +01:00
parent 9721bbf12b
commit 0651c50a43

View file

@ -10,7 +10,6 @@ const {
keyProp = 'id', keyProp = 'id',
virtualScroller = false, virtualScroller = false,
eventType = 'update', eventType = 'update',
buffer = 10,
preprocess, preprocess,
} = defineProps<{ } = defineProps<{
paginator: Paginator<T[], O> paginator: Paginator<T[], O>
@ -18,10 +17,6 @@ const {
virtualScroller?: boolean virtualScroller?: boolean
stream?: Promise<WsEvents> stream?: Promise<WsEvents>
eventType?: 'notification' | 'update' eventType?: 'notification' | 'update'
// When preprocess is used, buffer is the number of items that will be hidden
// until the next pagination to avoid border effect between pages when reordering
// and grouping items
buffer?: number
preprocess?: (items: T[]) => U[] preprocess?: (items: T[]) => U[]
}>() }>()