mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
13 lines
484 B
TypeScript
13 lines
484 B
TypeScript
// Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
|
|
|
|
import registerRelayStylePagination from '#shared/server/apollo/cache/utils/registerRelayStylePagination.ts'
|
|
|
|
import type { InMemoryCacheConfig } from '@apollo/client/cache/inmemory/types'
|
|
|
|
export default function register(config: InMemoryCacheConfig): InMemoryCacheConfig {
|
|
return registerRelayStylePagination(config, 'ticketsByOverview', [
|
|
'overviewId',
|
|
'orderBy',
|
|
'orderDirection',
|
|
])
|
|
}
|