mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 14:01:42 +03:00
23 lines
431 B
TypeScript
23 lines
431 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
|
|
npmPackages?: string[]
|
|
footer?: string
|
|
}
|
|
|
|
export interface ToolCategory {
|
|
name: string
|
|
components: Tool[]
|
|
}
|
|
|
|
export type ToolWithCategory = Tool & { category: string };
|