20 lines
		
	
	
		
			375 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			375 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import type { Component } from 'vue';
 | |
| 
 | |
| export type Tool = {
 | |
|   name: string;
 | |
|   path: string;
 | |
|   description: string;
 | |
|   keywords: string[];
 | |
|   component: () => Promise<Component>;
 | |
|   icon: Component;
 | |
|   redirectFrom?: string[];
 | |
|   isNew: boolean;
 | |
| };
 | |
| 
 | |
| export type ToolCategory = {
 | |
|   name: string;
 | |
|   components: Tool[];
 | |
| };
 | |
| 
 | |
| export type ToolWithCategory = Tool & { category: string };
 |