it-tools/src/tools/http-status-codes/index.ts
2023-04-14 09:04:49 +02:00

19 lines
605 B
TypeScript

import { HttpRound } from '@vicons/material';
import { defineTool } from '../tool';
import { codesByCategories } from './http-status-codes.constants';
export const tool = defineTool({
name: 'HTTP status codes',
path: '/http-status-codes',
description: 'The list of all HTTP status codes their name and their meaning.',
keywords: [
'http',
'status',
'codes',
...codesByCategories.flatMap(({ codes }) => codes.flatMap(({ code, name }) => [String(code), name])),
],
component: () => import('./http-status-codes.vue'),
icon: HttpRound,
createdAt: new Date('2023-04-13'),
});