onlineNotifications.ts 416 B

1234567891011
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import registerIncomingMerge from '#shared/server/apollo/cache/utils/registerIncomingMerge.ts'
  3. import type { InMemoryCacheConfig } from '@apollo/client/cache/inmemory/types'
  4. export default function register(config: InMemoryCacheConfig) {
  5. return registerIncomingMerge(config, 'onlineNotifications', [
  6. 'onlineNotifications',
  7. ])
  8. }