mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: recreate search modal (using mantine/spotlight)
This commit is contained in:
3
inertia/types/search.d.ts
vendored
3
inertia/types/search.d.ts
vendored
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user