Skip to content

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

620 B
Raw Blame
import type { LucideIcon } from '@lucide/angular'
import { LucideSearch } from '@lucide/angular'
import { AppMenu } from '../../layout/layout.interfaces'
import { SPACES_MENU } from '../spaces/spaces.constants'

export const SEARCH_PATH = {
  BASE: 'search'
} as const

export const SEARCH_QUERY_PARAM = {
  QUERY: 'q',
  SCOPE: 'scope'
} as const

export const SEARCH_TITLE = 'Search'
export const SEARCH_ICON: LucideIcon = LucideSearch

export const SEARCH_MENU: AppMenu = {
  title: SEARCH_TITLE,
  link: SEARCH_PATH.BASE,
  matchLink: /^search(?:\?|$)/,
  icon: SEARCH_ICON,
  navigationMenu: SPACES_MENU
} as const