Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

405 B
Raw Blame
import type { stringOrTranslation } from "@homarr/translation";

import type { SearchGroup } from "./group";
import type { SpotlightMode } from "../open";

export type SearchMode = {
  mode: SpotlightMode;
  character: string | undefined;
  label: stringOrTranslation;
  placeholder: stringOrTranslation;
} & (
  | {
      groups: SearchGroup[];
    }
  | {
      useGroups: () => SearchGroup[];
    }
);