Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

809 B
Raw Blame
import type { LucideIcon } from '@lucide/angular'
import { LucideLockOpen } from '@lucide/angular'
import { NOTIFICATION_APP } from '@sync-in-server/backend/src/applications/notifications/constants/notifications'
import { COMMENTS_ICON } from '../comments/comments.constants'
import { SPACES_ICON } from '../spaces/spaces.constants'
import { SYNC_ICON } from '../sync/sync.constants'

export const NOTIFICATION_ICON: Partial<Record<NOTIFICATION_APP, LucideIcon>> = {
  [NOTIFICATION_APP.COMMENTS]: COMMENTS_ICON,
  [NOTIFICATION_APP.SPACES]: SPACES_ICON.SPACES,
  [NOTIFICATION_APP.SPACE_ROOTS]: SPACES_ICON.SPACES,
  [NOTIFICATION_APP.SHARES]: SPACES_ICON.SHARES,
  [NOTIFICATION_APP.LINKS]: SPACES_ICON.LINKS,
  [NOTIFICATION_APP.SYNC]: SYNC_ICON.SYNC,
  [NOTIFICATION_APP.UNLOCK_REQUEST]: LucideLockOpen
}