it-tools/src/tools/tools.types.ts
2023-04-05 23:30:44 +02:00

21 lines
395 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;
createdAt?: Date;
};
export type ToolCategory = {
name: string;
components: Tool[];
};
export type ToolWithCategory = Tool & { category: string };