mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-12-16 20:04:26 +00:00
* 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
18 lines
382 B
TypeScript
18 lines
382 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
declare module 'search-index:settings' {
|
|
export type GeneratedSearchIndexItem = {
|
|
id: string;
|
|
parentId?: string;
|
|
path?: string;
|
|
label: string;
|
|
keywords: string[];
|
|
icon?: string;
|
|
inlining?: string[];
|
|
};
|
|
|
|
export const searchIndexes: GeneratedSearchIndexItem[];
|
|
}
|