feat(frontend): migrated old > new silo adjustments

moved the apps around so we can use 1 url for cors bs
This commit is contained in:
2025-10-25 17:22:51 -05:00
parent d46ef922f3
commit 425f8f5f71
179 changed files with 7511 additions and 2724 deletions

View File

@@ -30,17 +30,14 @@ import { Route as AdminNotificationMGTRouteImport } from './routes/_admin/notifi
import { Route as AdminModulesRouteImport } from './routes/_admin/modules'
import { Route as userPasswordChangeRouteImport } from './routes/(user)/passwordChange'
import { Route as ocmeCyclecountIndexRouteImport } from './routes/(ocme)/cyclecount/index'
import { Route as logisticsSiloAdjustmentsIndexRouteImport } from './routes/(logistics)/siloAdjustments/index'
import { Route as logisticsOpenOrdersIndexRouteImport } from './routes/(logistics)/openOrders/index'
import { Route as logisticsMaterialHelperIndexRouteImport } from './routes/(logistics)/materialHelper/index'
import { Route as logisticsHelperCommandsIndexRouteImport } from './routes/(logistics)/helperCommands/index'
import { Route as logisticsDmIndexRouteImport } from './routes/(logistics)/dm/index'
import { Route as logisticsBarcodegenIndexRouteImport } from './routes/(logistics)/barcodegen/index'
import { Route as EomArticleAvRouteImport } from './routes/_eom/article/$av'
import { Route as logisticsSiloAdjustmentsHistRouteImport } from './routes/(logistics)/siloAdjustments/$hist'
import { Route as logisticsMaterialHelperSiloLinkIndexRouteImport } from './routes/(logistics)/materialHelper/siloLink/index'
import { Route as logisticsMaterialHelperConsumptionIndexRouteImport } from './routes/(logistics)/materialHelper/consumption/index'
import { Route as logisticsSiloAdjustmentsCommentCommentRouteImport } from './routes/(logistics)/siloAdjustments/comment/$comment'
const RegisterRoute = RegisterRouteImport.update({
id: '/register',
@@ -144,12 +141,6 @@ const ocmeCyclecountIndexRoute = ocmeCyclecountIndexRouteImport.update({
path: '/cyclecount/',
getParentRoute: () => rootRouteImport,
} as any)
const logisticsSiloAdjustmentsIndexRoute =
logisticsSiloAdjustmentsIndexRouteImport.update({
id: '/(logistics)/siloAdjustments/',
path: '/siloAdjustments/',
getParentRoute: () => rootRouteImport,
} as any)
const logisticsOpenOrdersIndexRoute =
logisticsOpenOrdersIndexRouteImport.update({
id: '/(logistics)/openOrders/',
@@ -184,12 +175,6 @@ const EomArticleAvRoute = EomArticleAvRouteImport.update({
path: '/article/$av',
getParentRoute: () => EomRoute,
} as any)
const logisticsSiloAdjustmentsHistRoute =
logisticsSiloAdjustmentsHistRouteImport.update({
id: '/(logistics)/siloAdjustments/$hist',
path: '/siloAdjustments/$hist',
getParentRoute: () => rootRouteImport,
} as any)
const logisticsMaterialHelperSiloLinkIndexRoute =
logisticsMaterialHelperSiloLinkIndexRouteImport.update({
id: '/(logistics)/materialHelper/siloLink/',
@@ -202,12 +187,6 @@ const logisticsMaterialHelperConsumptionIndexRoute =
path: '/materialHelper/consumption/',
getParentRoute: () => rootRouteImport,
} as any)
const logisticsSiloAdjustmentsCommentCommentRoute =
logisticsSiloAdjustmentsCommentCommentRouteImport.update({
id: '/(logistics)/siloAdjustments/comment/$comment',
path: '/siloAdjustments/comment/$comment',
getParentRoute: () => rootRouteImport,
} as any)
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
@@ -227,16 +206,13 @@ export interface FileRoutesByFullPath {
'/eom': typeof EomEomRoute
'/ocp': typeof OcpIndexRoute
'/rfid': typeof RfidIndexRoute
'/siloAdjustments/$hist': typeof logisticsSiloAdjustmentsHistRoute
'/article/$av': typeof EomArticleAvRoute
'/barcodegen': typeof logisticsBarcodegenIndexRoute
'/dm': typeof logisticsDmIndexRoute
'/helperCommands': typeof logisticsHelperCommandsIndexRoute
'/materialHelper': typeof logisticsMaterialHelperIndexRoute
'/openOrders': typeof logisticsOpenOrdersIndexRoute
'/siloAdjustments': typeof logisticsSiloAdjustmentsIndexRoute
'/cyclecount': typeof ocmeCyclecountIndexRoute
'/siloAdjustments/comment/$comment': typeof logisticsSiloAdjustmentsCommentCommentRoute
'/materialHelper/consumption': typeof logisticsMaterialHelperConsumptionIndexRoute
'/materialHelper/siloLink': typeof logisticsMaterialHelperSiloLinkIndexRoute
}
@@ -258,16 +234,13 @@ export interface FileRoutesByTo {
'/eom': typeof EomEomRoute
'/ocp': typeof OcpIndexRoute
'/rfid': typeof RfidIndexRoute
'/siloAdjustments/$hist': typeof logisticsSiloAdjustmentsHistRoute
'/article/$av': typeof EomArticleAvRoute
'/barcodegen': typeof logisticsBarcodegenIndexRoute
'/dm': typeof logisticsDmIndexRoute
'/helperCommands': typeof logisticsHelperCommandsIndexRoute
'/materialHelper': typeof logisticsMaterialHelperIndexRoute
'/openOrders': typeof logisticsOpenOrdersIndexRoute
'/siloAdjustments': typeof logisticsSiloAdjustmentsIndexRoute
'/cyclecount': typeof ocmeCyclecountIndexRoute
'/siloAdjustments/comment/$comment': typeof logisticsSiloAdjustmentsCommentCommentRoute
'/materialHelper/consumption': typeof logisticsMaterialHelperConsumptionIndexRoute
'/materialHelper/siloLink': typeof logisticsMaterialHelperSiloLinkIndexRoute
}
@@ -293,16 +266,13 @@ export interface FileRoutesById {
'/_eom/eom': typeof EomEomRoute
'/ocp/': typeof OcpIndexRoute
'/rfid/': typeof RfidIndexRoute
'/(logistics)/siloAdjustments/$hist': typeof logisticsSiloAdjustmentsHistRoute
'/_eom/article/$av': typeof EomArticleAvRoute
'/(logistics)/barcodegen/': typeof logisticsBarcodegenIndexRoute
'/(logistics)/dm/': typeof logisticsDmIndexRoute
'/(logistics)/helperCommands/': typeof logisticsHelperCommandsIndexRoute
'/(logistics)/materialHelper/': typeof logisticsMaterialHelperIndexRoute
'/(logistics)/openOrders/': typeof logisticsOpenOrdersIndexRoute
'/(logistics)/siloAdjustments/': typeof logisticsSiloAdjustmentsIndexRoute
'/(ocme)/cyclecount/': typeof ocmeCyclecountIndexRoute
'/(logistics)/siloAdjustments/comment/$comment': typeof logisticsSiloAdjustmentsCommentCommentRoute
'/(logistics)/materialHelper/consumption/': typeof logisticsMaterialHelperConsumptionIndexRoute
'/(logistics)/materialHelper/siloLink/': typeof logisticsMaterialHelperSiloLinkIndexRoute
}
@@ -326,16 +296,13 @@ export interface FileRouteTypes {
| '/eom'
| '/ocp'
| '/rfid'
| '/siloAdjustments/$hist'
| '/article/$av'
| '/barcodegen'
| '/dm'
| '/helperCommands'
| '/materialHelper'
| '/openOrders'
| '/siloAdjustments'
| '/cyclecount'
| '/siloAdjustments/comment/$comment'
| '/materialHelper/consumption'
| '/materialHelper/siloLink'
fileRoutesByTo: FileRoutesByTo
@@ -357,16 +324,13 @@ export interface FileRouteTypes {
| '/eom'
| '/ocp'
| '/rfid'
| '/siloAdjustments/$hist'
| '/article/$av'
| '/barcodegen'
| '/dm'
| '/helperCommands'
| '/materialHelper'
| '/openOrders'
| '/siloAdjustments'
| '/cyclecount'
| '/siloAdjustments/comment/$comment'
| '/materialHelper/consumption'
| '/materialHelper/siloLink'
id:
@@ -391,16 +355,13 @@ export interface FileRouteTypes {
| '/_eom/eom'
| '/ocp/'
| '/rfid/'
| '/(logistics)/siloAdjustments/$hist'
| '/_eom/article/$av'
| '/(logistics)/barcodegen/'
| '/(logistics)/dm/'
| '/(logistics)/helperCommands/'
| '/(logistics)/materialHelper/'
| '/(logistics)/openOrders/'
| '/(logistics)/siloAdjustments/'
| '/(ocme)/cyclecount/'
| '/(logistics)/siloAdjustments/comment/$comment'
| '/(logistics)/materialHelper/consumption/'
| '/(logistics)/materialHelper/siloLink/'
fileRoutesById: FileRoutesById
@@ -417,15 +378,12 @@ export interface RootRouteChildren {
userPasswordChangeRoute: typeof userPasswordChangeRoute
OcpIndexRoute: typeof OcpIndexRoute
RfidIndexRoute: typeof RfidIndexRoute
logisticsSiloAdjustmentsHistRoute: typeof logisticsSiloAdjustmentsHistRoute
logisticsBarcodegenIndexRoute: typeof logisticsBarcodegenIndexRoute
logisticsDmIndexRoute: typeof logisticsDmIndexRoute
logisticsHelperCommandsIndexRoute: typeof logisticsHelperCommandsIndexRoute
logisticsMaterialHelperIndexRoute: typeof logisticsMaterialHelperIndexRoute
logisticsOpenOrdersIndexRoute: typeof logisticsOpenOrdersIndexRoute
logisticsSiloAdjustmentsIndexRoute: typeof logisticsSiloAdjustmentsIndexRoute
ocmeCyclecountIndexRoute: typeof ocmeCyclecountIndexRoute
logisticsSiloAdjustmentsCommentCommentRoute: typeof logisticsSiloAdjustmentsCommentCommentRoute
logisticsMaterialHelperConsumptionIndexRoute: typeof logisticsMaterialHelperConsumptionIndexRoute
logisticsMaterialHelperSiloLinkIndexRoute: typeof logisticsMaterialHelperSiloLinkIndexRoute
}
@@ -579,13 +537,6 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof ocmeCyclecountIndexRouteImport
parentRoute: typeof rootRouteImport
}
'/(logistics)/siloAdjustments/': {
id: '/(logistics)/siloAdjustments/'
path: '/siloAdjustments'
fullPath: '/siloAdjustments'
preLoaderRoute: typeof logisticsSiloAdjustmentsIndexRouteImport
parentRoute: typeof rootRouteImport
}
'/(logistics)/openOrders/': {
id: '/(logistics)/openOrders/'
path: '/openOrders'
@@ -628,13 +579,6 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof EomArticleAvRouteImport
parentRoute: typeof EomRoute
}
'/(logistics)/siloAdjustments/$hist': {
id: '/(logistics)/siloAdjustments/$hist'
path: '/siloAdjustments/$hist'
fullPath: '/siloAdjustments/$hist'
preLoaderRoute: typeof logisticsSiloAdjustmentsHistRouteImport
parentRoute: typeof rootRouteImport
}
'/(logistics)/materialHelper/siloLink/': {
id: '/(logistics)/materialHelper/siloLink/'
path: '/materialHelper/siloLink'
@@ -649,13 +593,6 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof logisticsMaterialHelperConsumptionIndexRouteImport
parentRoute: typeof rootRouteImport
}
'/(logistics)/siloAdjustments/comment/$comment': {
id: '/(logistics)/siloAdjustments/comment/$comment'
path: '/siloAdjustments/comment/$comment'
fullPath: '/siloAdjustments/comment/$comment'
preLoaderRoute: typeof logisticsSiloAdjustmentsCommentCommentRouteImport
parentRoute: typeof rootRouteImport
}
}
}
@@ -715,16 +652,12 @@ const rootRouteChildren: RootRouteChildren = {
userPasswordChangeRoute: userPasswordChangeRoute,
OcpIndexRoute: OcpIndexRoute,
RfidIndexRoute: RfidIndexRoute,
logisticsSiloAdjustmentsHistRoute: logisticsSiloAdjustmentsHistRoute,
logisticsBarcodegenIndexRoute: logisticsBarcodegenIndexRoute,
logisticsDmIndexRoute: logisticsDmIndexRoute,
logisticsHelperCommandsIndexRoute: logisticsHelperCommandsIndexRoute,
logisticsMaterialHelperIndexRoute: logisticsMaterialHelperIndexRoute,
logisticsOpenOrdersIndexRoute: logisticsOpenOrdersIndexRoute,
logisticsSiloAdjustmentsIndexRoute: logisticsSiloAdjustmentsIndexRoute,
ocmeCyclecountIndexRoute: ocmeCyclecountIndexRoute,
logisticsSiloAdjustmentsCommentCommentRoute:
logisticsSiloAdjustmentsCommentCommentRoute,
logisticsMaterialHelperConsumptionIndexRoute:
logisticsMaterialHelperConsumptionIndexRoute,
logisticsMaterialHelperSiloLinkIndexRoute: