Files
tauri-shadcn-vite-project/src/features/types.ts
shenjianZ 927eaa1e03 feat: 实现命令面板、颜色取色、JSON格式化和系统信息功能
- 重构项目架构,采用四层架构模式 (Command → Service → Platform → Utils)
  - 实现命令面板功能,支持快捷搜索和特征分类
  - 添加颜色取色功能,支持屏幕像素颜色获取
  - 添加JSON格式化功能,支持JSON格式化和压缩
  - 添加系统信息功能,显示操作系统和硬件信息
  - 移除旧的状态文档和无用配置文件
2026-02-10 18:46:11 +08:00

29 lines
557 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 功能分类
*/
export type FeatureCategory = 'tool' | 'system' | 'media' | 'dev';
/**
* 功能接口
*/
export interface Feature {
/** 功能唯一标识 */
id: string;
/** 功能名称 */
name: string;
/** 功能描述 */
description: string;
/** 图标名称lucide-react */
icon: string;
/** 功能分类 */
category: FeatureCategory;
/** 路由路径 */
route: string;
/** 快捷键(可选) */
shortcut?: string;
/** 搜索标签 */
tags: string[];
/** 是否已实现 */
implemented: boolean;
}