From 24bbf5df87c198ae726772dfd0b39cea303b08ae Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Tue, 26 Sep 2023 20:39:25 +0100 Subject: [PATCH] Port routes to TS Signed-off-by: Fred Boniface --- app.js | 1 - src/routes/{api1.routes.js => api1.routes.ts} | 0 src/routes/{api2.routes.js => api2.routes.ts} | 0 src/routes/{find.routes.js => find.routes.ts} | 0 src/routes/{issue.routes.js => issue.routes.ts} | 0 src/routes/{kube.routes.js => kube.routes.ts} | 0 src/routes/{ldb.routes.js => ldb.routes.ts} | 0 src/routes/{ldbs.routes.js => ldbs.routes.ts} | 0 src/routes/{list.routes.js => list.routes.ts} | 0 src/routes/{live2.routes.js => live2.routes.ts} | 0 src/routes/{misc.routes.js => misc.routes.ts} | 0 src/routes/{pis.routes.js => pis.routes.ts} | 0 src/routes/{pis2.routes.js => pis2.routes.ts} | 0 src/routes/{ref2.routes.js => ref2.routes.ts} | 0 src/routes/{registration.routes.js => registration.routes.ts} | 0 src/routes/{stats.routes.js => stats.routes.ts} | 0 src/routes/{timetable2.routes.js => timetable2.routes.ts} | 0 src/routes/{train.routes.js => train.routes.ts} | 0 src/routes/{user2.routes.js => user2.routes.ts} | 0 19 files changed, 1 deletion(-) rename src/routes/{api1.routes.js => api1.routes.ts} (100%) rename src/routes/{api2.routes.js => api2.routes.ts} (100%) rename src/routes/{find.routes.js => find.routes.ts} (100%) rename src/routes/{issue.routes.js => issue.routes.ts} (100%) rename src/routes/{kube.routes.js => kube.routes.ts} (100%) rename src/routes/{ldb.routes.js => ldb.routes.ts} (100%) rename src/routes/{ldbs.routes.js => ldbs.routes.ts} (100%) rename src/routes/{list.routes.js => list.routes.ts} (100%) rename src/routes/{live2.routes.js => live2.routes.ts} (100%) rename src/routes/{misc.routes.js => misc.routes.ts} (100%) rename src/routes/{pis.routes.js => pis.routes.ts} (100%) rename src/routes/{pis2.routes.js => pis2.routes.ts} (100%) rename src/routes/{ref2.routes.js => ref2.routes.ts} (100%) rename src/routes/{registration.routes.js => registration.routes.ts} (100%) rename src/routes/{stats.routes.js => stats.routes.ts} (100%) rename src/routes/{timetable2.routes.js => timetable2.routes.ts} (100%) rename src/routes/{train.routes.js => train.routes.ts} (100%) rename src/routes/{user2.routes.js => user2.routes.ts} (100%) diff --git a/app.js b/app.js index 951f355..a7820e2 100644 --- a/app.js +++ b/app.js @@ -19,7 +19,6 @@ const cors = require("cors"); const authenticate = require("./src/middlewares/auth.middlewares"); // Internal Requires -const log = require("./src/utils/logs.utils"); const version = require("./src/configs/version.configs"); const listRtr = require("./src/routes/list.routes"); const ldbRtr = require("./src/routes/ldb.routes"); diff --git a/src/routes/api1.routes.js b/src/routes/api1.routes.ts similarity index 100% rename from src/routes/api1.routes.js rename to src/routes/api1.routes.ts diff --git a/src/routes/api2.routes.js b/src/routes/api2.routes.ts similarity index 100% rename from src/routes/api2.routes.js rename to src/routes/api2.routes.ts diff --git a/src/routes/find.routes.js b/src/routes/find.routes.ts similarity index 100% rename from src/routes/find.routes.js rename to src/routes/find.routes.ts diff --git a/src/routes/issue.routes.js b/src/routes/issue.routes.ts similarity index 100% rename from src/routes/issue.routes.js rename to src/routes/issue.routes.ts diff --git a/src/routes/kube.routes.js b/src/routes/kube.routes.ts similarity index 100% rename from src/routes/kube.routes.js rename to src/routes/kube.routes.ts diff --git a/src/routes/ldb.routes.js b/src/routes/ldb.routes.ts similarity index 100% rename from src/routes/ldb.routes.js rename to src/routes/ldb.routes.ts diff --git a/src/routes/ldbs.routes.js b/src/routes/ldbs.routes.ts similarity index 100% rename from src/routes/ldbs.routes.js rename to src/routes/ldbs.routes.ts diff --git a/src/routes/list.routes.js b/src/routes/list.routes.ts similarity index 100% rename from src/routes/list.routes.js rename to src/routes/list.routes.ts diff --git a/src/routes/live2.routes.js b/src/routes/live2.routes.ts similarity index 100% rename from src/routes/live2.routes.js rename to src/routes/live2.routes.ts diff --git a/src/routes/misc.routes.js b/src/routes/misc.routes.ts similarity index 100% rename from src/routes/misc.routes.js rename to src/routes/misc.routes.ts diff --git a/src/routes/pis.routes.js b/src/routes/pis.routes.ts similarity index 100% rename from src/routes/pis.routes.js rename to src/routes/pis.routes.ts diff --git a/src/routes/pis2.routes.js b/src/routes/pis2.routes.ts similarity index 100% rename from src/routes/pis2.routes.js rename to src/routes/pis2.routes.ts diff --git a/src/routes/ref2.routes.js b/src/routes/ref2.routes.ts similarity index 100% rename from src/routes/ref2.routes.js rename to src/routes/ref2.routes.ts diff --git a/src/routes/registration.routes.js b/src/routes/registration.routes.ts similarity index 100% rename from src/routes/registration.routes.js rename to src/routes/registration.routes.ts diff --git a/src/routes/stats.routes.js b/src/routes/stats.routes.ts similarity index 100% rename from src/routes/stats.routes.js rename to src/routes/stats.routes.ts diff --git a/src/routes/timetable2.routes.js b/src/routes/timetable2.routes.ts similarity index 100% rename from src/routes/timetable2.routes.js rename to src/routes/timetable2.routes.ts diff --git a/src/routes/train.routes.js b/src/routes/train.routes.ts similarity index 100% rename from src/routes/train.routes.js rename to src/routes/train.routes.ts diff --git a/src/routes/user2.routes.js b/src/routes/user2.routes.ts similarity index 100% rename from src/routes/user2.routes.js rename to src/routes/user2.routes.ts