mirror of
https://github.com/CorentinTh/it-tools
synced 2025-12-15 15:45:39 +00:00
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 };
|