feat: recreate search modal (using mantine/spotlight)

This commit is contained in:
Sonny
2024-11-09 16:51:12 +01:00
committed by Sonny
parent a3651e8370
commit 81f4cd7f87
8 changed files with 182 additions and 48 deletions

View File

@@ -3,6 +3,7 @@ type SearchResultCommon = {
name: string;
matched_part?: string;
rank?: number;
description?: string;
};
export type SearchResultCollection = SearchResultCommon & {
@@ -11,7 +12,7 @@ export type SearchResultCollection = SearchResultCommon & {
export type SearchResultLink = SearchResultCommon & {
type: 'link';
collection_id: number;
collectionId: number;
url: string;
};