Files
it-tools/src/tools/tools.types.ts
T
ShareVB 153e79a171 refactor: simplify tools integration
feat: script:create:tool command supports specifying tool categories: pnpm script:create:tool [tool-name] [category-name]
feat: A locales folder can be created independently under each tool to support independent configuration of the tool's own internationalization, making developers more focused and reducing file modification conflicts
perf: Optimize the script:create:tool command to create generated files, reduce the chance of public file modification conflicts, and allow developers to focus more on developing their own
perf: Improve the category field in defineTool for existing tools
2025-04-05 11:17:29 +02:00

24 lines
450 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
category: string
}
export interface ToolCategory {
name: string
components: Tool[]
}
export type ToolWithCategory = Tool & { category: string };