diff options
Diffstat (limited to 'src/tools/json-viewer/index.ts')
-rw-r--r-- | src/tools/json-viewer/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/json-viewer/index.ts b/src/tools/json-viewer/index.ts index 67a17dc..23f1b8a 100644 --- a/src/tools/json-viewer/index.ts +++ b/src/tools/json-viewer/index.ts @@ -1,11 +1,11 @@ import { Braces } from '@vicons/tabler'; -import type { ITool } from '../tool'; +import { defineTool } from '../tool'; -export const tool: ITool = { +export const tool = defineTool({ name: 'JSON viewer', path: '/json-viewer', description: 'Prettify JSON string to a human friendly readable format.', keywords: ['json', 'viewer', 'prettify', 'format'], component: () => import('./json-viewer.vue'), icon: Braces, -}; +}); |