aboutsummaryrefslogtreecommitdiff
path: root/src/tools/tools.types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/tools.types.ts')
-rw-r--r--src/tools/tools.types.ts30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/tools/tools.types.ts b/src/tools/tools.types.ts
index 48f6062..dcef854 100644
--- a/src/tools/tools.types.ts
+++ b/src/tools/tools.types.ts
@@ -1,20 +1,20 @@
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 interface 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 interface ToolCategory {
+ name: string
+ components: Tool[]
+}
export type ToolWithCategory = Tool & { category: string };