refactor(modules): moved modules to app to control everything based on there active setting

This commit is contained in:
2025-10-29 21:57:11 -05:00
parent 6493e0398a
commit 99b2d762d6
35 changed files with 5807 additions and 121 deletions

View File

@@ -1,30 +1,122 @@
[
{
"name": "plantToken",
"value": "test3",
"description": "The plant token for the plant IE: test3 or usday1",
"moduleName": "system",
"roles": ["systemAdmin"]
"name": "users",
"category": "admin",
"icon": "User",
"link": "/lst/app/admin/users",
"active": true,
"roles": ["systemAdmin", "admin"]
},
{
"name": "dbServer",
"value": "usmcd1vms036",
"description": "What is the db server",
"moduleName": "system",
"roles": ["systemAdmin"]
"name": "system",
"category": "admin",
"icon": "MonitorCog",
"link": "/lst/app/system",
"active": true,
"roles": ["systemAdmin", "admin"]
},
{
"name": "v1Server",
"value": "localhost",
"description": "What is the port the v1app is on",
"moduleName": "system",
"roles": ["systemAdmin"]
"name": "ocp",
"category": "production",
"icon": "Printer",
"link": "/lst/app/old/ocp",
"active": true,
"roles": ["viewer", "manager", "tester", "systemAdmin", "admin"]
},
{
"name": "v1Port",
"value": "3000",
"description": "What is the port the v1app is on",
"moduleName": "system",
"roles": ["systemAdmin"]
"name": "rfidReaders",
"category": "production",
"icon": "Tags",
"link": "/lst/app/old/rfid",
"active": false,
"roles": ["viewer", "manager", "tester", "systemAdmin", "admin"]
},
{
"name": "ocmeCycleCounts",
"category": "ocme",
"icon": "Package",
"link": "/lst/app/old/ocme/cyclecount",
"active": false,
"roles": ["manager", "tester", "systemAdmin", "admin"]
},
{
"name": "siloAdjustments",
"category": "logistics",
"icon": "Database",
"link": "/lst/app/old/siloAdjustments",
"active": true,
"roles": ["manager", "admin", "tester", "systemAdmin"]
},
{
"name": "demandManagement",
"category": "logistics",
"icon": "Truck",
"link": "/lst/app/old/dm",
"active": true,
"roles": ["manager", "admin", "tester", "systemAdmin"]
},
{
"name": "logistics",
"category": "logistics",
"icon": "",
"link": "/lst/app/old",
"active": false,
"roles": ["admin", "systemAdmin", "manager", "viewer", "tester"]
},
{
"name": "helperCommands",
"category": "logistics",
"icon": "Package",
"link": "/lst/app/old/helperCommands",
"active": true,
"roles": ["admin", "systemAdmin", "manager", "viewer", "tester"]
},
{
"name": "materialHelper",
"category": "logistics",
"active": true,
"icon": "Package",
"link": "/lst/app/old/materialHelper/consumption",
"roles": ["admin", "systemAdmin", "manager", "viewer", "tester"]
},
{
"name": "openOrders",
"category": "logistics",
"active": true,
"icon": "Truck",
"link": "/lst/app/old/openOrders",
"roles": ["admin", "systemAdmin", "manager", "viewer", "tester"]
},
{
"name": "production",
"category": "production",
"active": false,
"icon": "",
"link": "",
"roles": ["admin", "systemAdmin", "manager", "viewer", "tester"]
},
{
"name": "quality",
"category": "quality",
"active": false,
"icon": "",
"link": "",
"roles": ["admin", "systemAdmin", "manager", "viewer", "tester"]
},
{
"name": "eom",
"category": "logistics",
"active": true,
"icon": "",
"link": "/lst/app/old/eom",
"roles": ["admin", "systemAdmin", "manager", "tester"]
},
{
"name": "forklifts",
"category": "logistics",
"active": false,
"icon": "",
"link": "/lst/app/old/forklifts",
"roles": ["admin", "systemAdmin", "manager", "tester"]
}
]