feat(ocmeserver): the server was just migrated so it can be upgraded to lstv2

This commit is contained in:
2025-03-17 16:13:58 -05:00
parent 491de26a0b
commit e258aaead9
8 changed files with 282 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// import {Router} from 'express'
// import { runQuery } from '../utils/sql/config/sqlConfig.js'
// import { getLanes } from '../utils/sql/querys/getLanes.js'
// const router = Router()
// router.get('/getLanes', async (req,res)=>{
// // get lanes
// const lanes = await runQuery(getLanes, 'Getting current ocme lanes linked')
// const laneDescriptions = lanes.map(item => item.alpla_laneDescription);
// res.status(200).json({success: true,message: `All current lanes from the ocme system.`, totalLanes: lanes.length,data: laneDescriptions})
// })
// export default router