- Added @elysiajs/swagger dependency to package.json for API documentation. - Removed the old bed router and replaced it with a new history router. - Created a new state router to manage WebSocket connections and state updates. - Implemented a comprehensive state management system with the StateManager service. - Introduced AlarmManagement and BedService services for handling alarms and sensor readings. - Established a new MQTT service for managing MQTT connections and subscriptions. - Created an AlarmStateStore to manage volatile alerts and their states. - Defined FrontendState types for structured state management and WebSocket messaging.
22 lines
499 B
JSON
22 lines
499 B
JSON
{
|
|
"name": "elysia",
|
|
"version": "1.0.50",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"dev": "bun run --watch app.ts",
|
|
"start": "bun run app.ts"
|
|
},
|
|
"dependencies": {
|
|
"@elysiajs/cors": "^1.3.3",
|
|
"@elysiajs/swagger": "^1.3.0",
|
|
"@prisma/client": "^6.10.1",
|
|
"elysia": "latest",
|
|
"envalid": "^8.0.0",
|
|
"winston": "^3.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"bun-types": "^1.2.17",
|
|
"prisma": "^6.10.1"
|
|
},
|
|
"module": "src/index.js"
|
|
}
|