creations
1ccf80474c
Changed fastify handler to handle the actual registration of the rout file with the routeinfo. changed all ' to " instead moves types and interfaces to the respective folders and files
7 lines
No EOL
153 B
TypeScript
7 lines
No EOL
153 B
TypeScript
import type { TMethod } from "../types/routes";
|
|
|
|
export interface IRouteInfo {
|
|
enabled: boolean;
|
|
path: string;
|
|
method: TMethod | TMethod[];
|
|
} |