aboutsummaryrefslogtreecommitdiff
path: root/src/tools/tools.types.ts
blob: 5630a12e19bbcd7ae6d66da72a5e41a4e1c6e842 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 };