@fastybird/smart-panel-backend 1.1.0-alpha.40 → 1.1.0-alpha.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/modules/auth/auth.module.js +4 -0
  2. package/dist/modules/auth/auth.module.js.map +1 -1
  3. package/dist/modules/auth/guards/auth.guard.js +8 -13
  4. package/dist/modules/auth/guards/auth.guard.js.map +1 -1
  5. package/dist/modules/auth/services/token-metadata.service.d.ts +42 -0
  6. package/dist/modules/auth/services/token-metadata.service.js +202 -0
  7. package/dist/modules/auth/services/token-metadata.service.js.map +1 -0
  8. package/dist/modules/auth/services/token-usage.service.d.ts +22 -0
  9. package/dist/modules/auth/services/token-usage.service.js +93 -0
  10. package/dist/modules/auth/services/token-usage.service.js.map +1 -0
  11. package/dist/modules/auth/services/tokens.service.d.ts +8 -2
  12. package/dist/modules/auth/services/tokens.service.js +16 -10
  13. package/dist/modules/auth/services/tokens.service.js.map +1 -1
  14. package/dist/modules/devices/devices.module.js +7 -0
  15. package/dist/modules/devices/devices.module.js.map +1 -1
  16. package/dist/modules/devices/dto/property-command.dto.js +2 -8
  17. package/dist/modules/devices/dto/property-command.dto.js.map +1 -1
  18. package/dist/modules/devices/services/device-command-graph.service.d.ts +18 -0
  19. package/dist/modules/devices/services/device-command-graph.service.js +92 -0
  20. package/dist/modules/devices/services/device-command-graph.service.js.map +1 -0
  21. package/dist/modules/devices/services/devices.service.js +2 -17
  22. package/dist/modules/devices/services/devices.service.js.map +1 -1
  23. package/dist/modules/devices/services/property-command-dispatch.service.d.ts +5 -3
  24. package/dist/modules/devices/services/property-command-dispatch.service.js +15 -12
  25. package/dist/modules/devices/services/property-command-dispatch.service.js.map +1 -1
  26. package/dist/modules/devices/services/property-command.service.d.ts +7 -5
  27. package/dist/modules/devices/services/property-command.service.js +41 -20
  28. package/dist/modules/devices/services/property-command.service.js.map +1 -1
  29. package/dist/modules/devices/services/property-metadata.service.d.ts +9 -2
  30. package/dist/modules/devices/services/property-metadata.service.js +67 -17
  31. package/dist/modules/devices/services/property-metadata.service.js.map +1 -1
  32. package/dist/modules/devices/utils/device-graph-query.utils.d.ts +3 -0
  33. package/dist/modules/devices/utils/device-graph-query.utils.js +23 -0
  34. package/dist/modules/devices/utils/device-graph-query.utils.js.map +1 -0
  35. package/dist/modules/devices/validators/property-command-target-constraint.validator.d.ts +9 -0
  36. package/dist/modules/devices/validators/property-command-target-constraint.validator.js +58 -0
  37. package/dist/modules/devices/validators/property-command-target-constraint.validator.js.map +1 -0
  38. package/dist/modules/spaces/services/module-reset.service.d.ts +5 -1
  39. package/dist/modules/spaces/services/module-reset.service.js +10 -2
  40. package/dist/modules/spaces/services/module-reset.service.js.map +1 -1
  41. package/dist/modules/spaces/services/space-activity.service.d.ts +14 -0
  42. package/dist/modules/spaces/services/space-activity.service.js +56 -0
  43. package/dist/modules/spaces/services/space-activity.service.js.map +1 -0
  44. package/dist/modules/spaces/spaces.module.js +5 -0
  45. package/dist/modules/spaces/spaces.module.js.map +1 -1
  46. package/dist/modules/spaces/subscribers/space-activity.subscriber.d.ts +17 -0
  47. package/dist/modules/spaces/subscribers/space-activity.subscriber.js +89 -0
  48. package/dist/modules/spaces/subscribers/space-activity.subscriber.js.map +1 -0
  49. package/dist/modules/websocket/services/ws-auth.service.js +12 -28
  50. package/dist/modules/websocket/services/ws-auth.service.js.map +1 -1
  51. package/dist/plugins/devices-virtual/platforms/virtual-device.platform.d.ts +3 -8
  52. package/dist/plugins/devices-virtual/platforms/virtual-device.platform.js +6 -36
  53. package/dist/plugins/devices-virtual/platforms/virtual-device.platform.js.map +1 -1
  54. package/dist/plugins/spaces-home-control/listeners/space-activity.listener.d.ts +6 -7
  55. package/dist/plugins/spaces-home-control/listeners/space-activity.listener.js +19 -44
  56. package/dist/plugins/spaces-home-control/listeners/space-activity.listener.js.map +1 -1
  57. package/dist/plugins/spaces-home-control/listeners/space-climate-state.listener.d.ts +4 -4
  58. package/dist/plugins/spaces-home-control/listeners/space-climate-state.listener.js +9 -22
  59. package/dist/plugins/spaces-home-control/listeners/space-climate-state.listener.js.map +1 -1
  60. package/dist/plugins/spaces-home-control/listeners/space-lighting-state.listener.d.ts +4 -4
  61. package/dist/plugins/spaces-home-control/listeners/space-lighting-state.listener.js +9 -22
  62. package/dist/plugins/spaces-home-control/listeners/space-lighting-state.listener.js.map +1 -1
  63. package/dist/plugins/spaces-home-control/listeners/space-sensor-state.listener.d.ts +4 -4
  64. package/dist/plugins/spaces-home-control/listeners/space-sensor-state.listener.js +9 -22
  65. package/dist/plugins/spaces-home-control/listeners/space-sensor-state.listener.js.map +1 -1
  66. package/dist/plugins/spaces-home-control/services/space-climate-state.service.d.ts +3 -5
  67. package/dist/plugins/spaces-home-control/services/space-climate-state.service.js +9 -12
  68. package/dist/plugins/spaces-home-control/services/space-climate-state.service.js.map +1 -1
  69. package/dist/plugins/spaces-home-control/services/space-lighting-state.service.d.ts +3 -5
  70. package/dist/plugins/spaces-home-control/services/space-lighting-state.service.js +7 -10
  71. package/dist/plugins/spaces-home-control/services/space-lighting-state.service.js.map +1 -1
  72. package/dist/plugins/spaces-home-control/services/space-sensor-state.service.d.ts +3 -5
  73. package/dist/plugins/spaces-home-control/services/space-sensor-state.service.js +7 -10
  74. package/dist/plugins/spaces-home-control/services/space-sensor-state.service.js.map +1 -1
  75. package/dist/plugins/spaces-home-control/services/space-state-read.service.d.ts +47 -0
  76. package/dist/plugins/spaces-home-control/services/space-state-read.service.js +262 -0
  77. package/dist/plugins/spaces-home-control/services/space-state-read.service.js.map +1 -0
  78. package/dist/plugins/spaces-home-control/spaces-home-control.plugin.js +4 -0
  79. package/dist/plugins/spaces-home-control/spaces-home-control.plugin.js.map +1 -1
  80. package/dist/tsconfig.build.tsbuildinfo +1 -1
  81. package/package.json +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastybird/smart-panel-backend",
3
- "version": "1.1.0-alpha.40",
3
+ "version": "1.1.0-alpha.41",
4
4
  "description": "Powerful backend for administrating and integrating the FastyBird IoT Smart Panel",
5
5
  "keywords": [
6
6
  "fastybird",
@@ -112,7 +112,7 @@
112
112
  "ws": "^8.19.0",
113
113
  "yaml": "^2.8.2",
114
114
  "zod": "4.4.3",
115
- "@fastybird/smart-panel-extension-sdk": "1.1.0-alpha.40"
115
+ "@fastybird/smart-panel-extension-sdk": "1.1.0-alpha.41"
116
116
  },
117
117
  "devDependencies": {
118
118
  "@eslint/eslintrc": "^3.3.5",