it-tools/src/tools/tools.types.ts
2023-05-28 23:29:14 +02:00

21 lines
388 B
TypeScript

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