113 lines
2.6 KiB
TypeScript
113 lines
2.6 KiB
TypeScript
export interface SearchIndexItem {
|
|
title: string
|
|
description?: string
|
|
keywords: string[]
|
|
}
|
|
|
|
export interface SearchIndexConfig {
|
|
moduleId: string
|
|
items: SearchIndexItem[]
|
|
}
|
|
|
|
export const searchIndex: SearchIndexConfig[] = [
|
|
{
|
|
moduleId: 'settings',
|
|
items: [
|
|
{
|
|
title: '浅色模式',
|
|
description: '切换到浅色主题',
|
|
keywords: ['浅色', '主题', 'theme', 'light']
|
|
},
|
|
{
|
|
title: '深色模式',
|
|
description: '切换到深色主题',
|
|
keywords: ['深色', '主题', 'theme', 'dark']
|
|
},
|
|
{
|
|
title: '跟随系统',
|
|
description: '跟随系统主题设置',
|
|
keywords: ['系统', '主题', 'theme', 'system']
|
|
},
|
|
{
|
|
title: '普通模式',
|
|
description: '标准背景效果',
|
|
keywords: ['效果', '普通', 'normal', 'effect']
|
|
},
|
|
{
|
|
title: 'Win 云母',
|
|
description: 'Windows 11 云母效果',
|
|
keywords: ['效果', '云母', 'mica', 'effect']
|
|
},
|
|
{
|
|
title: 'Win 亚克力',
|
|
description: 'Windows 11 亚克力效果',
|
|
keywords: ['效果', '亚克力', 'acrylic', 'effect']
|
|
},
|
|
{
|
|
title: '开机自启',
|
|
description: '启动 Windows 时自动运行应用',
|
|
keywords: ['开机', '自启', '自动', 'auto', 'start']
|
|
}
|
|
]
|
|
},
|
|
{
|
|
moduleId: 'proxy',
|
|
items: [
|
|
{
|
|
title: '代理设置',
|
|
description: '配置网络代理',
|
|
keywords: ['代理', 'proxy', '网络', 'network']
|
|
}
|
|
]
|
|
},
|
|
{
|
|
moduleId: 'clipboard',
|
|
items: [
|
|
{
|
|
title: '剪贴板历史',
|
|
description: '查看和管理剪贴板记录',
|
|
keywords: ['剪贴板', '复制', '粘贴', 'clipboard', 'copy', 'paste']
|
|
}
|
|
]
|
|
},
|
|
{
|
|
moduleId: 'screenshot',
|
|
items: [
|
|
{
|
|
title: '截图工具',
|
|
description: '捕获屏幕截图',
|
|
keywords: ['截图', '屏幕', 'screenshot', 'capture']
|
|
}
|
|
]
|
|
},
|
|
{
|
|
moduleId: 'monitor',
|
|
items: [
|
|
{
|
|
title: '硬件监控',
|
|
description: '查看系统硬件状态',
|
|
keywords: ['监控', '硬件', 'cpu', '内存', 'monitor', 'hardware']
|
|
}
|
|
]
|
|
},
|
|
{
|
|
moduleId: 'downloader',
|
|
items: [
|
|
{
|
|
title: '下载管理',
|
|
description: '管理下载任务',
|
|
keywords: ['下载', 'download', '文件', 'file']
|
|
}
|
|
]
|
|
},
|
|
{
|
|
moduleId: 'finder',
|
|
items: [
|
|
{
|
|
title: '文件搜索',
|
|
description: '搜索本地文件',
|
|
keywords: ['文件', '搜索', 'finder', 'search', 'file']
|
|
}
|
|
]
|
|
}
|
|
] |