it-tools/src/tools/tool.ts

18 lines
321 B
TypeScript
Raw Normal View History

2022-03-31 00:33:29 +02:00
import type { Component } from 'vue';
export interface ITool {
name: string;
path: string;
description: string;
keywords: string[];
component: () => Promise<Component>;
2022-04-04 00:24:45 +02:00
icon: Component;
redirectFrom?: string[];
2022-04-04 00:24:45 +02:00
}
export interface ToolCategory {
name: string;
icon: Component;
components: ITool[];
2022-03-31 00:33:29 +02:00
}