feat(rfid): front end view of the readers and there status

This commit is contained in:
2025-07-10 21:29:01 -05:00
parent 6584b37cb0
commit f7b4de8130
15 changed files with 533 additions and 36 deletions

View File

@@ -17,6 +17,7 @@ import { Route as EomRouteImport } from './routes/_eom'
import { Route as AuthRouteImport } from './routes/_auth'
import { Route as AdminRouteImport } from './routes/_admin'
import { Route as IndexRouteImport } from './routes/index'
import { Route as RfidIndexRouteImport } from './routes/rfid/index'
import { Route as OcpIndexRouteImport } from './routes/ocp/index'
import { Route as EomEomRouteImport } from './routes/_eom/eom'
import { Route as AuthProfileRouteImport } from './routes/_auth/profile'
@@ -78,6 +79,11 @@ const IndexRoute = IndexRouteImport.update({
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
const RfidIndexRoute = RfidIndexRouteImport.update({
id: '/rfid/',
path: '/rfid/',
getParentRoute: () => rootRouteImport,
} as any)
const OcpIndexRoute = OcpIndexRouteImport.update({
id: '/ocp/',
path: '/ocp/',
@@ -220,6 +226,7 @@ export interface FileRoutesByFullPath {
'/profile': typeof AuthProfileRoute
'/eom': typeof EomEomRoute
'/ocp': typeof OcpIndexRoute
'/rfid': typeof RfidIndexRoute
'/siloAdjustments/$hist': typeof logisticsSiloAdjustmentsHistRoute
'/article/$av': typeof EomArticleAvRoute
'/barcodegen': typeof logisticsBarcodegenIndexRoute
@@ -250,6 +257,7 @@ export interface FileRoutesByTo {
'/profile': typeof AuthProfileRoute
'/eom': typeof EomEomRoute
'/ocp': typeof OcpIndexRoute
'/rfid': typeof RfidIndexRoute
'/siloAdjustments/$hist': typeof logisticsSiloAdjustmentsHistRoute
'/article/$av': typeof EomArticleAvRoute
'/barcodegen': typeof logisticsBarcodegenIndexRoute
@@ -284,6 +292,7 @@ export interface FileRoutesById {
'/_auth/profile': typeof AuthProfileRoute
'/_eom/eom': typeof EomEomRoute
'/ocp/': typeof OcpIndexRoute
'/rfid/': typeof RfidIndexRoute
'/(logistics)/siloAdjustments/$hist': typeof logisticsSiloAdjustmentsHistRoute
'/_eom/article/$av': typeof EomArticleAvRoute
'/(logistics)/barcodegen/': typeof logisticsBarcodegenIndexRoute
@@ -316,6 +325,7 @@ export interface FileRouteTypes {
| '/profile'
| '/eom'
| '/ocp'
| '/rfid'
| '/siloAdjustments/$hist'
| '/article/$av'
| '/barcodegen'
@@ -346,6 +356,7 @@ export interface FileRouteTypes {
| '/profile'
| '/eom'
| '/ocp'
| '/rfid'
| '/siloAdjustments/$hist'
| '/article/$av'
| '/barcodegen'
@@ -379,6 +390,7 @@ export interface FileRouteTypes {
| '/_auth/profile'
| '/_eom/eom'
| '/ocp/'
| '/rfid/'
| '/(logistics)/siloAdjustments/$hist'
| '/_eom/article/$av'
| '/(logistics)/barcodegen/'
@@ -404,6 +416,7 @@ export interface RootRouteChildren {
RegisterRoute: typeof RegisterRoute
userPasswordChangeRoute: typeof userPasswordChangeRoute
OcpIndexRoute: typeof OcpIndexRoute
RfidIndexRoute: typeof RfidIndexRoute
logisticsSiloAdjustmentsHistRoute: typeof logisticsSiloAdjustmentsHistRoute
logisticsBarcodegenIndexRoute: typeof logisticsBarcodegenIndexRoute
logisticsDmIndexRoute: typeof logisticsDmIndexRoute
@@ -475,6 +488,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
'/rfid/': {
id: '/rfid/'
path: '/rfid'
fullPath: '/rfid'
preLoaderRoute: typeof RfidIndexRouteImport
parentRoute: typeof rootRouteImport
}
'/ocp/': {
id: '/ocp/'
path: '/ocp'
@@ -694,6 +714,7 @@ const rootRouteChildren: RootRouteChildren = {
RegisterRoute: RegisterRoute,
userPasswordChangeRoute: userPasswordChangeRoute,
OcpIndexRoute: OcpIndexRoute,
RfidIndexRoute: RfidIndexRoute,
logisticsSiloAdjustmentsHistRoute: logisticsSiloAdjustmentsHistRoute,
logisticsBarcodegenIndexRoute: logisticsBarcodegenIndexRoute,
logisticsDmIndexRoute: logisticsDmIndexRoute,