From 032af3978541ca0137ca51744d898d562d9e6952 Mon Sep 17 00:00:00 2001 From: creations Date: Fri, 9 Aug 2024 09:39:24 -0400 Subject: [PATCH] move interfaces and types to src --- config/environment.ts | 2 +- {interfaces => src/interfaces}/environment.ts | 0 {interfaces => src/interfaces}/routes.ts | 0 {types => src/types}/routes.ts | 0 src/www/routes/index.ts | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename {interfaces => src/interfaces}/environment.ts (100%) rename {interfaces => src/interfaces}/routes.ts (100%) rename {types => src/types}/routes.ts (100%) diff --git a/config/environment.ts b/config/environment.ts index 8d76e0c..bf40093 100644 --- a/config/environment.ts +++ b/config/environment.ts @@ -1,7 +1,7 @@ import { dirname, join } from "path"; import { fileURLToPath } from "url"; -import type{ IEnvironment } from "../interfaces/environment"; +import type{ IEnvironment } from "../src/interfaces/environment"; const __dirname : string = join(dirname(fileURLToPath(import.meta.url)), ".."); diff --git a/interfaces/environment.ts b/src/interfaces/environment.ts similarity index 100% rename from interfaces/environment.ts rename to src/interfaces/environment.ts diff --git a/interfaces/routes.ts b/src/interfaces/routes.ts similarity index 100% rename from interfaces/routes.ts rename to src/interfaces/routes.ts diff --git a/types/routes.ts b/src/types/routes.ts similarity index 100% rename from types/routes.ts rename to src/types/routes.ts diff --git a/src/www/routes/index.ts b/src/www/routes/index.ts index 9eee2f6..69f83ab 100644 --- a/src/www/routes/index.ts +++ b/src/www/routes/index.ts @@ -1,5 +1,5 @@ import type { FastifyReply, FastifyRequest } from "fastify"; -import type { IRouteInfo } from "../../../interfaces/routes"; +import type { IRouteInfo } from "../../interfaces/routes"; const routeInfo: IRouteInfo = { enabled: true,