it-tools/src/tools/tools.types.ts
2022-12-17 01:30:02 +01:00

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 };