ticketsByOverviewQuery.ts 485 B

1234567891011121314
  1. // Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. import type { InMemoryCacheConfig } from '@apollo/client/cache/inmemory/types'
  3. import registerRelayStylePagination from '@shared/server/apollo/cache/utils/registerRelayStylePagination'
  4. export default function register(
  5. config: InMemoryCacheConfig,
  6. ): InMemoryCacheConfig {
  7. return registerRelayStylePagination(config, 'ticketsByOverview', [
  8. 'overviewId',
  9. 'orderBy',
  10. 'orderDirection',
  11. ])
  12. }