aboutsummaryrefslogtreecommitdiff
path: root/src/tools/tools.types.ts
diff options
context:
space:
mode:
authorGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2023-05-28 23:13:24 +0200
committerGravatar Corentin THOMASSET <corentin.thomasset74@gmail.com> 2023-05-28 23:29:14 +0200
commit33c9b6643f58a6930043f460d5bfdca4bc1f7222 (patch)
treef313935e30f7b90ea16e564e7171e2e72319ce29 /src/tools/tools.types.ts
parent4d2b037dbe4e78aa90a4a6d9c7315dcf0a51fed9 (diff)
downloadit-tools-33c9b6643f58a6930043f460d5bfdca4bc1f7222.tar.gz
it-tools-33c9b6643f58a6930043f460d5bfdca4bc1f7222.tar.zst
it-tools-33c9b6643f58a6930043f460d5bfdca4bc1f7222.zip
chore(lint): switched to a better lint config
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 };