summaryrefslogtreecommitdiff
path: root/packages/frontend/src/utility/virtual.d.ts
diff options
context:
space:
mode:
authoranatawa12 <anatawa12@icloud.com>2025-04-07 14:35:32 +0900
committerGitHub <noreply@github.com>2025-04-07 14:35:32 +0900
commit85a7b10fcde1d461b138c0e0ad5507df66959162 (patch)
treed07f85a954e34faa35e1ca80cdcfaf8538451491 /packages/frontend/src/utility/virtual.d.ts
parent🎨 (diff)
downloadmisskey-85a7b10fcde1d461b138c0e0ad5507df66959162.tar.gz
misskey-85a7b10fcde1d461b138c0e0ad5507df66959162.tar.bz2
misskey-85a7b10fcde1d461b138c0e0ad5507df66959162.zip
refactor serach index generator code (#15772)
* refactor: flatten search index * chore: use Function() to simplify parsing attribute * chore: remove comment handling * chore: simplify processing SearchLabel and SearchKeyword element * chore: use SearchLabel in mutedUsers * chore: small improvements * chore: remove a fallback path and simplify the entire code * fix: result path is not correct * chore: inline function
Diffstat (limited to 'packages/frontend/src/utility/virtual.d.ts')
-rw-r--r--packages/frontend/src/utility/virtual.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/utility/virtual.d.ts b/packages/frontend/src/utility/virtual.d.ts
index 59470a1f5e..63dc4372b7 100644
--- a/packages/frontend/src/utility/virtual.d.ts
+++ b/packages/frontend/src/utility/virtual.d.ts
@@ -6,12 +6,12 @@
declare module 'search-index:settings' {
export type GeneratedSearchIndexItem = {
id: string;
+ parentId?: string;
path?: string;
label: string;
keywords: string[];
icon?: string;
inlining?: string[];
- children?: GeneratedSearchIndexItem[];
};
export const searchIndexes: GeneratedSearchIndexItem[];