feat(home): add spotlight search functionality

This commit is contained in:
shafin-r
2026-02-14 03:24:22 +06:00
parent 7f82e640e0
commit 96eb2c13b0
4 changed files with 282 additions and 61 deletions

16
src/types/search.ts Normal file
View File

@ -0,0 +1,16 @@
export type SearchItem =
| {
type: "sheet";
id: string;
title: string;
description?: string;
status?: string;
group: string;
}
| {
type: "route";
title: string;
description?: string;
route: string;
group: string;
};