homebridge-config-ui-x 5.9.1-beta.0 → 5.9.1-beta.2

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 (359) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/dist/app.controller.d.ts +1 -1
  3. package/dist/app.controller.js +14 -12
  4. package/dist/app.controller.js.map +1 -1
  5. package/dist/app.gateway.js +7 -10
  6. package/dist/app.gateway.js.map +1 -1
  7. package/dist/app.module.js +40 -43
  8. package/dist/app.module.js.map +1 -1
  9. package/dist/app.service.js +4 -7
  10. package/dist/app.service.js.map +1 -1
  11. package/dist/bin/base-platform.d.ts +1 -1
  12. package/dist/bin/base-platform.js +11 -17
  13. package/dist/bin/base-platform.js.map +1 -1
  14. package/dist/bin/fork.js +7 -45
  15. package/dist/bin/fork.js.map +1 -1
  16. package/dist/bin/hb-service.js +224 -243
  17. package/dist/bin/hb-service.js.map +1 -1
  18. package/dist/bin/platforms/darwin.d.ts +1 -1
  19. package/dist/bin/platforms/darwin.js +61 -65
  20. package/dist/bin/platforms/darwin.js.map +1 -1
  21. package/dist/bin/platforms/freebsd.d.ts +1 -1
  22. package/dist/bin/platforms/freebsd.js +42 -47
  23. package/dist/bin/platforms/freebsd.js.map +1 -1
  24. package/dist/bin/platforms/linux.d.ts +1 -1
  25. package/dist/bin/platforms/linux.js +127 -132
  26. package/dist/bin/platforms/linux.js.map +1 -1
  27. package/dist/bin/platforms/win32.d.ts +1 -1
  28. package/dist/bin/platforms/win32.js +30 -36
  29. package/dist/bin/platforms/win32.js.map +1 -1
  30. package/dist/bin/standalone.js +15 -53
  31. package/dist/bin/standalone.js.map +1 -1
  32. package/dist/core/auth/auth.controller.d.ts +3 -3
  33. package/dist/core/auth/auth.controller.js +40 -39
  34. package/dist/core/auth/auth.controller.js.map +1 -1
  35. package/dist/core/auth/auth.dto.js +17 -18
  36. package/dist/core/auth/auth.dto.js.map +1 -1
  37. package/dist/core/auth/auth.module.js +28 -31
  38. package/dist/core/auth/auth.module.js.map +1 -1
  39. package/dist/core/auth/auth.service.d.ts +3 -3
  40. package/dist/core/auth/auth.service.js +65 -62
  41. package/dist/core/auth/auth.service.js.map +1 -1
  42. package/dist/core/auth/guards/admin.guard.js +4 -7
  43. package/dist/core/auth/guards/admin.guard.js.map +1 -1
  44. package/dist/core/auth/guards/custom.guard.js +6 -9
  45. package/dist/core/auth/guards/custom.guard.js.map +1 -1
  46. package/dist/core/auth/guards/ws-admin-guard.d.ts +1 -1
  47. package/dist/core/auth/guards/ws-admin-guard.js +13 -11
  48. package/dist/core/auth/guards/ws-admin-guard.js.map +1 -1
  49. package/dist/core/auth/guards/ws.guard.d.ts +1 -1
  50. package/dist/core/auth/guards/ws.guard.js +13 -11
  51. package/dist/core/auth/guards/ws.guard.js.map +1 -1
  52. package/dist/core/auth/jwt.strategy.d.ts +3 -2
  53. package/dist/core/auth/jwt.strategy.js +21 -16
  54. package/dist/core/auth/jwt.strategy.js.map +1 -1
  55. package/dist/core/config/config.interfaces.js +1 -2
  56. package/dist/core/config/config.module.js +8 -10
  57. package/dist/core/config/config.module.js.map +1 -1
  58. package/dist/core/config/config.service.d.ts +2 -2
  59. package/dist/core/config/config.service.js +88 -82
  60. package/dist/core/config/config.service.js.map +1 -1
  61. package/dist/core/config/config.startup.d.ts +1 -1
  62. package/dist/core/config/config.startup.js +23 -28
  63. package/dist/core/config/config.startup.js.map +1 -1
  64. package/dist/core/feature-flags/feature-flags.registry.js +1 -4
  65. package/dist/core/feature-flags/feature-flags.registry.js.map +1 -1
  66. package/dist/core/homebridge-ipc/homebridge-ipc.module.js +11 -14
  67. package/dist/core/homebridge-ipc/homebridge-ipc.module.js.map +1 -1
  68. package/dist/core/homebridge-ipc/homebridge-ipc.service.d.ts +2 -2
  69. package/dist/core/homebridge-ipc/homebridge-ipc.service.js +24 -19
  70. package/dist/core/homebridge-ipc/homebridge-ipc.service.js.map +1 -1
  71. package/dist/core/logger/logger.module.js +8 -10
  72. package/dist/core/logger/logger.module.js.map +1 -1
  73. package/dist/core/logger/logger.service.js +13 -23
  74. package/dist/core/logger/logger.service.js.map +1 -1
  75. package/dist/core/node-pty/node-pty.module.js +7 -10
  76. package/dist/core/node-pty/node-pty.module.js.map +1 -1
  77. package/dist/core/node-pty/node-pty.service.js +6 -11
  78. package/dist/core/node-pty/node-pty.service.js.map +1 -1
  79. package/dist/core/node-version.constants.js +4 -11
  80. package/dist/core/node-version.constants.js.map +1 -1
  81. package/dist/core/scheduler/scheduler.module.js +7 -10
  82. package/dist/core/scheduler/scheduler.module.js.map +1 -1
  83. package/dist/core/scheduler/scheduler.service.js +9 -14
  84. package/dist/core/scheduler/scheduler.service.js.map +1 -1
  85. package/dist/core/spa/spa-html.service.js +9 -15
  86. package/dist/core/spa/spa-html.service.js.map +1 -1
  87. package/dist/core/spa/spa.filter.d.ts +1 -1
  88. package/dist/core/spa/spa.filter.js +11 -16
  89. package/dist/core/spa/spa.filter.js.map +1 -1
  90. package/dist/core/ssl/ssl-cert-generator.service.d.ts +1 -1
  91. package/dist/core/ssl/ssl-cert-generator.service.js +34 -36
  92. package/dist/core/ssl/ssl-cert-generator.service.js.map +1 -1
  93. package/dist/env-setup.d.ts +1 -0
  94. package/dist/env-setup.js +7 -0
  95. package/dist/env-setup.js.map +1 -0
  96. package/dist/globalDefaults.d.ts +1 -0
  97. package/dist/globalDefaults.js +1 -0
  98. package/dist/index.d.ts +1 -1
  99. package/dist/index.js +16 -19
  100. package/dist/index.js.map +1 -1
  101. package/dist/main.d.ts +5 -3
  102. package/dist/main.js +44 -51
  103. package/dist/main.js.map +1 -1
  104. package/dist/modules/accessories/accessories.controller.d.ts +2 -2
  105. package/dist/modules/accessories/accessories.controller.js +27 -29
  106. package/dist/modules/accessories/accessories.controller.js.map +1 -1
  107. package/dist/modules/accessories/accessories.dto.js +11 -13
  108. package/dist/modules/accessories/accessories.dto.js.map +1 -1
  109. package/dist/modules/accessories/accessories.gateway.d.ts +1 -1
  110. package/dist/modules/accessories/accessories.gateway.js +18 -16
  111. package/dist/modules/accessories/accessories.gateway.js.map +1 -1
  112. package/dist/modules/accessories/accessories.module.js +17 -20
  113. package/dist/modules/accessories/accessories.module.js.map +1 -1
  114. package/dist/modules/accessories/accessories.service.d.ts +2 -2
  115. package/dist/modules/accessories/accessories.service.js +37 -35
  116. package/dist/modules/accessories/accessories.service.js.map +1 -1
  117. package/dist/modules/backup/backup.controller.d.ts +2 -2
  118. package/dist/modules/backup/backup.controller.js +68 -67
  119. package/dist/modules/backup/backup.controller.js.map +1 -1
  120. package/dist/modules/backup/backup.gateway.d.ts +2 -2
  121. package/dist/modules/backup/backup.gateway.js +25 -21
  122. package/dist/modules/backup/backup.gateway.js.map +1 -1
  123. package/dist/modules/backup/backup.module.js +22 -25
  124. package/dist/modules/backup/backup.module.js.map +1 -1
  125. package/dist/modules/backup/backup.service.d.ts +5 -5
  126. package/dist/modules/backup/backup.service.js +143 -133
  127. package/dist/modules/backup/backup.service.js.map +1 -1
  128. package/dist/modules/child-bridges/child-bridges.gateway.d.ts +2 -2
  129. package/dist/modules/child-bridges/child-bridges.gateway.js +23 -21
  130. package/dist/modules/child-bridges/child-bridges.gateway.js.map +1 -1
  131. package/dist/modules/child-bridges/child-bridges.interfaces.js +1 -2
  132. package/dist/modules/child-bridges/child-bridges.module.js +19 -22
  133. package/dist/modules/child-bridges/child-bridges.module.js.map +1 -1
  134. package/dist/modules/child-bridges/child-bridges.service.d.ts +3 -3
  135. package/dist/modules/child-bridges/child-bridges.service.js +15 -11
  136. package/dist/modules/child-bridges/child-bridges.service.js.map +1 -1
  137. package/dist/modules/config-editor/config-editor.controller.d.ts +6 -6
  138. package/dist/modules/config-editor/config-editor.controller.js +94 -95
  139. package/dist/modules/config-editor/config-editor.controller.js.map +1 -1
  140. package/dist/modules/config-editor/config-editor.module.js +21 -24
  141. package/dist/modules/config-editor/config-editor.module.js.map +1 -1
  142. package/dist/modules/config-editor/config-editor.service.d.ts +6 -6
  143. package/dist/modules/config-editor/config-editor.service.js +65 -57
  144. package/dist/modules/config-editor/config-editor.service.js.map +1 -1
  145. package/dist/modules/custom-plugins/custom-plugins.module.js +10 -13
  146. package/dist/modules/custom-plugins/custom-plugins.module.js.map +1 -1
  147. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.controller.d.ts +1 -1
  148. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.controller.js +21 -19
  149. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.controller.js.map +1 -1
  150. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.module.js +14 -17
  151. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.module.js.map +1 -1
  152. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.service.d.ts +1 -1
  153. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.service.js +18 -15
  154. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.service.js.map +1 -1
  155. package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.controller.d.ts +1 -1
  156. package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.controller.js +21 -19
  157. package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.controller.js.map +1 -1
  158. package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.module.js +14 -17
  159. package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.module.js.map +1 -1
  160. package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.service.d.ts +1 -1
  161. package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.service.js +18 -15
  162. package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.service.js.map +1 -1
  163. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.controller.d.ts +1 -1
  164. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.controller.js +18 -19
  165. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.controller.js.map +1 -1
  166. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.gateway.d.ts +1 -1
  167. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.gateway.js +15 -13
  168. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.gateway.js.map +1 -1
  169. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.module.js +18 -21
  170. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.module.js.map +1 -1
  171. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.d.ts +4 -4
  172. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js +47 -41
  173. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js.map +1 -1
  174. package/dist/modules/log/log.gateway.d.ts +2 -2
  175. package/dist/modules/log/log.gateway.js +15 -13
  176. package/dist/modules/log/log.gateway.js.map +1 -1
  177. package/dist/modules/log/log.interfaces.js +1 -2
  178. package/dist/modules/log/log.module.js +14 -17
  179. package/dist/modules/log/log.module.js.map +1 -1
  180. package/dist/modules/log/log.service.d.ts +3 -3
  181. package/dist/modules/log/log.service.js +47 -43
  182. package/dist/modules/log/log.service.js.map +1 -1
  183. package/dist/modules/platform-tools/docker/docker.controller.d.ts +1 -1
  184. package/dist/modules/platform-tools/docker/docker.controller.js +24 -25
  185. package/dist/modules/platform-tools/docker/docker.controller.js.map +1 -1
  186. package/dist/modules/platform-tools/docker/docker.module.js +14 -17
  187. package/dist/modules/platform-tools/docker/docker.module.js.map +1 -1
  188. package/dist/modules/platform-tools/docker/docker.service.d.ts +2 -2
  189. package/dist/modules/platform-tools/docker/docker.service.js +20 -16
  190. package/dist/modules/platform-tools/docker/docker.service.js.map +1 -1
  191. package/dist/modules/platform-tools/hb-service/hb-service.controller.d.ts +2 -2
  192. package/dist/modules/platform-tools/hb-service/hb-service.controller.js +35 -36
  193. package/dist/modules/platform-tools/hb-service/hb-service.controller.js.map +1 -1
  194. package/dist/modules/platform-tools/hb-service/hb-service.dto.js +20 -19
  195. package/dist/modules/platform-tools/hb-service/hb-service.dto.js.map +1 -1
  196. package/dist/modules/platform-tools/hb-service/hb-service.module.js +14 -17
  197. package/dist/modules/platform-tools/hb-service/hb-service.module.js.map +1 -1
  198. package/dist/modules/platform-tools/hb-service/hb-service.service.d.ts +3 -3
  199. package/dist/modules/platform-tools/hb-service/hb-service.service.js +37 -30
  200. package/dist/modules/platform-tools/hb-service/hb-service.service.js.map +1 -1
  201. package/dist/modules/platform-tools/linux/linux.controller.d.ts +1 -1
  202. package/dist/modules/platform-tools/linux/linux.controller.js +23 -21
  203. package/dist/modules/platform-tools/linux/linux.controller.js.map +1 -1
  204. package/dist/modules/platform-tools/linux/linux.module.js +14 -17
  205. package/dist/modules/platform-tools/linux/linux.module.js.map +1 -1
  206. package/dist/modules/platform-tools/linux/linux.service.d.ts +2 -2
  207. package/dist/modules/platform-tools/linux/linux.service.js +18 -14
  208. package/dist/modules/platform-tools/linux/linux.service.js.map +1 -1
  209. package/dist/modules/platform-tools/platform-tools.module.js +12 -15
  210. package/dist/modules/platform-tools/platform-tools.module.js.map +1 -1
  211. package/dist/modules/platform-tools/terminal/terminal.controller.d.ts +1 -1
  212. package/dist/modules/platform-tools/terminal/terminal.controller.js +15 -13
  213. package/dist/modules/platform-tools/terminal/terminal.controller.js.map +1 -1
  214. package/dist/modules/platform-tools/terminal/terminal.gateway.d.ts +2 -2
  215. package/dist/modules/platform-tools/terminal/terminal.gateway.js +17 -15
  216. package/dist/modules/platform-tools/terminal/terminal.gateway.js.map +1 -1
  217. package/dist/modules/platform-tools/terminal/terminal.interfaces.js +1 -2
  218. package/dist/modules/platform-tools/terminal/terminal.module.js +18 -21
  219. package/dist/modules/platform-tools/terminal/terminal.module.js.map +1 -1
  220. package/dist/modules/platform-tools/terminal/terminal.service.d.ts +4 -4
  221. package/dist/modules/platform-tools/terminal/terminal.service.js +33 -28
  222. package/dist/modules/platform-tools/terminal/terminal.service.js.map +1 -1
  223. package/dist/modules/plugins/plugins.controller.d.ts +6 -6
  224. package/dist/modules/plugins/plugins.controller.js +51 -52
  225. package/dist/modules/plugins/plugins.controller.js.map +1 -1
  226. package/dist/modules/plugins/plugins.dto.js +26 -24
  227. package/dist/modules/plugins/plugins.dto.js.map +1 -1
  228. package/dist/modules/plugins/plugins.gateway.d.ts +3 -3
  229. package/dist/modules/plugins/plugins.gateway.js +38 -34
  230. package/dist/modules/plugins/plugins.gateway.js.map +1 -1
  231. package/dist/modules/plugins/plugins.interfaces.js +1 -2
  232. package/dist/modules/plugins/plugins.module.js +23 -26
  233. package/dist/modules/plugins/plugins.module.js.map +1 -1
  234. package/dist/modules/plugins/plugins.service.d.ts +9 -7
  235. package/dist/modules/plugins/plugins.service.js +231 -202
  236. package/dist/modules/plugins/plugins.service.js.map +1 -1
  237. package/dist/modules/server/server.controller.d.ts +34 -4
  238. package/dist/modules/server/server.controller.js +294 -177
  239. package/dist/modules/server/server.controller.js.map +1 -1
  240. package/dist/modules/server/server.dto.js +13 -16
  241. package/dist/modules/server/server.dto.js.map +1 -1
  242. package/dist/modules/server/server.module.js +23 -26
  243. package/dist/modules/server/server.module.js.map +1 -1
  244. package/dist/modules/server/server.service.d.ts +36 -6
  245. package/dist/modules/server/server.service.js +406 -150
  246. package/dist/modules/server/server.service.js.map +1 -1
  247. package/dist/modules/setup-wizard/setup-wizard.controller.d.ts +2 -2
  248. package/dist/modules/setup-wizard/setup-wizard.controller.js +19 -20
  249. package/dist/modules/setup-wizard/setup-wizard.controller.js.map +1 -1
  250. package/dist/modules/setup-wizard/setup-wizard.gateway.d.ts +2 -2
  251. package/dist/modules/setup-wizard/setup-wizard.gateway.js +25 -21
  252. package/dist/modules/setup-wizard/setup-wizard.gateway.js.map +1 -1
  253. package/dist/modules/setup-wizard/setup-wizard.guard.d.ts +1 -1
  254. package/dist/modules/setup-wizard/setup-wizard.guard.js +11 -9
  255. package/dist/modules/setup-wizard/setup-wizard.guard.js.map +1 -1
  256. package/dist/modules/setup-wizard/setup-wizard.module.js +12 -15
  257. package/dist/modules/setup-wizard/setup-wizard.module.js.map +1 -1
  258. package/dist/modules/status/status.controller.d.ts +5 -5
  259. package/dist/modules/status/status.controller.js +40 -36
  260. package/dist/modules/status/status.controller.js.map +1 -1
  261. package/dist/modules/status/status.gateway.d.ts +9 -9
  262. package/dist/modules/status/status.gateway.js +51 -47
  263. package/dist/modules/status/status.gateway.js.map +1 -1
  264. package/dist/modules/status/status.interfaces.js +2 -5
  265. package/dist/modules/status/status.interfaces.js.map +1 -1
  266. package/dist/modules/status/status.module.js +26 -29
  267. package/dist/modules/status/status.module.js.map +1 -1
  268. package/dist/modules/status/status.service.d.ts +7 -7
  269. package/dist/modules/status/status.service.js +100 -88
  270. package/dist/modules/status/status.service.js.map +1 -1
  271. package/dist/modules/users/users.controller.d.ts +2 -2
  272. package/dist/modules/users/users.controller.js +59 -60
  273. package/dist/modules/users/users.controller.js.map +1 -1
  274. package/dist/modules/users/users.dto.js +51 -45
  275. package/dist/modules/users/users.dto.js.map +1 -1
  276. package/dist/modules/users/users.module.js +14 -17
  277. package/dist/modules/users/users.module.js.map +1 -1
  278. package/dist/self-check.js +25 -25
  279. package/dist/self-check.js.map +1 -1
  280. package/docs/ssl-upload-pr.md +103 -0
  281. package/package.json +6 -7
  282. package/public/{chunk-PPA66JI2.js → chunk-2FNQEOXF.js} +1 -1
  283. package/public/{chunk-HERKNFLL.js → chunk-2SCTALGY.js} +1 -1
  284. package/public/{chunk-BQTGMLQB.js → chunk-3IJXQMYZ.js} +1 -1
  285. package/public/chunk-425ZEUU6.js +1 -0
  286. package/public/{chunk-EHHNHG6Q.js → chunk-4T6CM7M3.js} +1 -1
  287. package/public/{chunk-IKY3F7MM.js → chunk-7SKTJO5M.js} +1 -1
  288. package/public/{chunk-E4ZKIFZH.js → chunk-7UDDRMZZ.js} +1 -1
  289. package/public/{chunk-Y2N6WV2O.js → chunk-ATMY4YI2.js} +1 -1
  290. package/public/{chunk-UKEKNQEJ.js → chunk-AZIRJR4B.js} +1 -1
  291. package/public/{chunk-2UQL2OTF.js → chunk-B2XE365J.js} +1 -1
  292. package/public/{chunk-JWHZQ7YI.js → chunk-BMKJTHFC.js} +1 -1
  293. package/public/{chunk-R2PMDKTD.js → chunk-CGYD722J.js} +1 -1
  294. package/public/{chunk-BI2TS6NN.js → chunk-CQREAKPC.js} +4 -4
  295. package/public/{chunk-WMGV3KS6.js → chunk-CYBDQV2B.js} +1 -1
  296. package/public/{chunk-TJEQFEML.js → chunk-D5RKKI2A.js} +1 -1
  297. package/public/{chunk-NUCXRR5D.js → chunk-EAGKQ5OJ.js} +1 -1
  298. package/public/{chunk-EYO3XCE2.js → chunk-FGNMMSZH.js} +1 -1
  299. package/public/{chunk-FGS4HIPD.js → chunk-FTKWC2Q2.js} +1 -1
  300. package/public/{chunk-QU4I4QSX.js → chunk-HFW5E2OW.js} +1 -1
  301. package/public/chunk-IIDLQ7XY.js +1 -0
  302. package/public/{chunk-4E4YMHG4.js → chunk-INX52LH2.js} +1 -1
  303. package/public/{chunk-VFIOPF3O.js → chunk-JD5JQTN5.js} +1 -1
  304. package/public/{chunk-RLWY3GD4.js → chunk-JFRCT5V7.js} +1 -1
  305. package/public/{chunk-JWCVCB6V.js → chunk-JJ7TVAIH.js} +4 -4
  306. package/public/{chunk-JWY7RFE6.js → chunk-JPCV77W6.js} +1 -1
  307. package/public/{chunk-ISV4M72Q.js → chunk-K7D2P3SM.js} +1 -1
  308. package/public/chunk-L66ATRVT.js +1 -0
  309. package/public/{chunk-IXIZVUXX.js → chunk-LARQLRNL.js} +1 -1
  310. package/public/{chunk-BVTPAZF3.js → chunk-LHCMU3MO.js} +1 -1
  311. package/public/{chunk-5T6O4JCR.js → chunk-LZQVKA4S.js} +1 -1
  312. package/public/{chunk-7F6JT34E.js → chunk-M7QUT5ZZ.js} +1 -1
  313. package/public/{chunk-2MFBHUTD.js → chunk-MDBZMB6Y.js} +1 -1
  314. package/public/{chunk-HVGUNGBB.js → chunk-MNVUSYOZ.js} +1 -1
  315. package/public/{chunk-ZC3JEQZ5.js → chunk-N2TWGDNX.js} +1 -1
  316. package/public/{chunk-XS5JK2LY.js → chunk-NKNWXFAK.js} +1 -1
  317. package/public/{chunk-SOA3BB36.js → chunk-OS2SEJZU.js} +1 -1
  318. package/public/{chunk-IEO2AG2N.js → chunk-PXSEH255.js} +1 -1
  319. package/public/{chunk-QJLKBB62.js → chunk-PZ2ZCCFR.js} +1 -1
  320. package/public/{chunk-CWTDHTPI.js → chunk-QCZ4VVDL.js} +1 -1
  321. package/public/{chunk-5W7EKO7F.js → chunk-QSVZNI3M.js} +1 -1
  322. package/public/{chunk-4H7ODI34.js → chunk-QUA46GZJ.js} +1 -1
  323. package/public/{chunk-D4LRW76J.js → chunk-QVLCTKQH.js} +1 -1
  324. package/public/{chunk-DL2QDFLD.js → chunk-RQ4B2IIV.js} +1 -1
  325. package/public/{chunk-OTOQR5Z2.js → chunk-RQAFAZAK.js} +1 -1
  326. package/public/{chunk-4AWJ2PWG.js → chunk-S4OE2ITZ.js} +1 -1
  327. package/public/{chunk-ZF6W5Z5R.js → chunk-SA5C7QVC.js} +1 -1
  328. package/public/{chunk-USXMCNIE.js → chunk-SSZBNSOM.js} +1 -1
  329. package/public/{chunk-E7S36RMO.js → chunk-TA6DOQC5.js} +1 -1
  330. package/public/{chunk-VB4UAZWJ.js → chunk-TC77PFBQ.js} +1 -1
  331. package/public/{chunk-5WTTTYNS.js → chunk-TKGKVKOW.js} +1 -1
  332. package/public/{chunk-FOSFENMV.js → chunk-TSFGO3MA.js} +1 -1
  333. package/public/{chunk-IBO6BDNZ.js → chunk-UEDMHOPK.js} +1 -1
  334. package/public/{chunk-LI4BZAUI.js → chunk-UOPWP4RR.js} +1 -1
  335. package/public/chunk-UTFHCUKB.js +1 -0
  336. package/public/{chunk-SXOLKD36.js → chunk-UTN2R7WG.js} +1 -1
  337. package/public/chunk-UV24H47X.js +1 -0
  338. package/public/{chunk-B5Z4M7ZJ.js → chunk-VSBBKD6B.js} +1 -1
  339. package/public/{chunk-AO7VT6PL.js → chunk-VYC5JLE6.js} +1 -1
  340. package/public/{chunk-AOALMLGY.js → chunk-W7UNXMCL.js} +1 -1
  341. package/public/{chunk-NIERW5KT.js → chunk-WVCOONJF.js} +1 -1
  342. package/public/{chunk-RON3LUMX.js → chunk-WWSLIQVD.js} +1 -1
  343. package/public/{chunk-4DVF333O.js → chunk-X3IVSHIL.js} +1 -1
  344. package/public/{chunk-5G7T74GR.js → chunk-XE5VJDQL.js} +1 -1
  345. package/public/chunk-XMNXI4QP.js +50 -0
  346. package/public/{chunk-W26VKO62.js → chunk-XX5GWADI.js} +1 -1
  347. package/public/{chunk-TGX55EFG.js → chunk-Y5XBENWZ.js} +1 -1
  348. package/public/{chunk-Z6VQEXUS.js → chunk-YNONXMOG.js} +1 -1
  349. package/public/{chunk-DIWD6B4C.js → chunk-ZEI3HZ6P.js} +1 -1
  350. package/public/index.html +2 -2
  351. package/public/{main-QP5R7HI3.js → main-UGYHSCMY.js} +1 -1
  352. package/public/{styles-CSF457UW.css → styles-WNHDEKE4.css} +1 -1
  353. package/scripts/extract-plugin-alias.js +8 -4
  354. package/public/chunk-2ADAW5AD.js +0 -1
  355. package/public/chunk-2Y63WBU6.js +0 -1
  356. package/public/chunk-I3QQTGGZ.js +0 -1
  357. package/public/chunk-LGE6SGDN.js +0 -1
  358. package/public/chunk-PZD3OMMY.js +0 -1
  359. package/public/chunk-QOSAHW73.js +0 -50
package/CHANGELOG.md CHANGED
@@ -6,14 +6,19 @@ All notable changes to `homebridge-config-ui-x` will be documented in this file.
6
6
 
7
7
  ### UI Changes
8
8
 
9
+ - fix german welcome translation typo
10
+ - add spinners for loading data widget values
11
+ - hide ssl settings when on hb raspbian image
9
12
  - added config option to configure a webroot for the ui
10
- - improve widget state around first data load
11
- - add self-signed certificate generation feature
13
+ - add a complete https management to settings (#2617) (@donavanbecker)
12
14
  - integration with updated homebridge version
13
15
 
14
16
  ### Other Changes
15
17
 
18
+ - add method to determine if running on raspbian image
19
+ - fix node deprecation `DEP0190` (shell option)
16
20
  - recommend update to node 24 when available
21
+ - convert repo to esm modules
17
22
 
18
23
  ### Homebridge Dependencies
19
24
 
@@ -1,4 +1,4 @@
1
- import { AppService } from './app.service';
1
+ import { AppService } from './app.service.js';
2
2
  export declare class AppController {
3
3
  private readonly appService;
4
4
  constructor(appService: AppService);
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -8,12 +7,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
7
  var __metadata = (this && this.__metadata) || function (k, v) {
9
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
9
  };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AppController = void 0;
13
- const common_1 = require("@nestjs/common");
14
- const swagger_1 = require("@nestjs/swagger");
15
- const app_service_1 = require("./app.service");
10
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
11
+ return function (target, key) { decorator(target, key, paramIndex); }
12
+ };
13
+ import { Controller, Get, Inject } from '@nestjs/common';
14
+ import { ApiExcludeEndpoint } from '@nestjs/swagger';
15
+ import { AppService } from './app.service.js';
16
16
  let AppController = class AppController {
17
+ appService;
17
18
  constructor(appService) {
18
19
  this.appService = appService;
19
20
  }
@@ -21,16 +22,17 @@ let AppController = class AppController {
21
22
  return this.appService.getHello();
22
23
  }
23
24
  };
24
- exports.AppController = AppController;
25
25
  __decorate([
26
- (0, swagger_1.ApiExcludeEndpoint)(),
27
- (0, common_1.Get)(),
26
+ ApiExcludeEndpoint(),
27
+ Get(),
28
28
  __metadata("design:type", Function),
29
29
  __metadata("design:paramtypes", []),
30
30
  __metadata("design:returntype", String)
31
31
  ], AppController.prototype, "getHello", null);
32
- exports.AppController = AppController = __decorate([
33
- (0, common_1.Controller)(),
34
- __metadata("design:paramtypes", [app_service_1.AppService])
32
+ AppController = __decorate([
33
+ Controller(),
34
+ __param(0, Inject(AppService)),
35
+ __metadata("design:paramtypes", [AppService])
35
36
  ], AppController);
37
+ export { AppController };
36
38
  //# sourceMappingURL=app.controller.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.controller.js","sourceRoot":"","sources":["../src/app.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAgD;AAChD,6CAAoD;AAEpD,+CAA0C;AAGnC,IAAM,aAAa,GAAnB,MAAM,aAAa;IACxB,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAAG,CAAC;IAIvD,QAAQ;QACN,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAA;IACnC,CAAC;CACF,CAAA;AARY,sCAAa;AAKxB;IAFC,IAAA,4BAAkB,GAAE;IACpB,IAAA,YAAG,GAAE;;;;6CAGL;wBAPU,aAAa;IADzB,IAAA,mBAAU,GAAE;qCAE8B,wBAAU;GADxC,aAAa,CAQzB"}
1
+ {"version":3,"file":"app.controller.js","sourceRoot":"","sources":["../src/app.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGtC,IAAM,aAAa,GAAnB,MAAM,aAAa;IACyB;IAAjD,YAAiD,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAAG,CAAC;IAI3E,QAAQ;QACN,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAA;IACnC,CAAC;CACF,CAAA;AAHC;IAFC,kBAAkB,EAAE;IACpB,GAAG,EAAE;;;;6CAGL;AAPU,aAAa;IADzB,UAAU,EAAE;IAEE,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;qCAA8B,UAAU;GAD5D,aAAa,CAQzB"}
@@ -1,21 +1,17 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
6
  };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.AppGateway = void 0;
10
- const common_1 = require("@nestjs/common");
11
- const websockets_1 = require("@nestjs/websockets");
12
- const ws_guard_1 = require("./core/auth/guards/ws.guard");
7
+ import { UseGuards } from '@nestjs/common';
8
+ import { WebSocketGateway } from '@nestjs/websockets';
9
+ import { WsGuard } from './core/auth/guards/ws.guard.js';
13
10
  let AppGateway = class AppGateway {
14
11
  };
15
- exports.AppGateway = AppGateway;
16
- exports.AppGateway = AppGateway = __decorate([
17
- (0, common_1.UseGuards)(ws_guard_1.WsGuard),
18
- (0, websockets_1.WebSocketGateway)({
12
+ AppGateway = __decorate([
13
+ UseGuards(WsGuard),
14
+ WebSocketGateway({
19
15
  namespace: 'app',
20
16
  allowEIO3: true,
21
17
  cors: {
@@ -24,4 +20,5 @@ exports.AppGateway = AppGateway = __decorate([
24
20
  },
25
21
  })
26
22
  ], AppGateway);
23
+ export { AppGateway };
27
24
  //# sourceMappingURL=app.gateway.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.gateway.js","sourceRoot":"","sources":["../src/app.gateway.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA0C;AAC1C,mDAAqD;AAErD,0DAAqD;AAW9C,IAAM,UAAU,GAAhB,MAAM,UAAU;CAAG,CAAA;AAAb,gCAAU;qBAAV,UAAU;IATtB,IAAA,kBAAS,EAAC,kBAAO,CAAC;IAClB,IAAA,6BAAgB,EAAC;QAChB,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,IAAI;QACf,IAAI,EAAE;YACJ,MAAM,EAAE,CAAC,uBAAuB,EAAE,uBAAuB,CAAC;YAC1D,WAAW,EAAE,IAAI;SAClB;KACF,CAAC;GACW,UAAU,CAAG"}
1
+ {"version":3,"file":"app.gateway.js","sourceRoot":"","sources":["../src/app.gateway.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAA;AAWjD,IAAM,UAAU,GAAhB,MAAM,UAAU;CAAG,CAAA;AAAb,UAAU;IATtB,SAAS,CAAC,OAAO,CAAC;IAClB,gBAAgB,CAAC;QAChB,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,IAAI;QACf,IAAI,EAAE;YACJ,MAAM,EAAE,CAAC,uBAAuB,EAAE,uBAAuB,CAAC;YAC1D,WAAW,EAAE,IAAI;SAClB;KACF,CAAC;GACW,UAAU,CAAG"}
@@ -1,60 +1,57 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
6
  };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.AppModule = void 0;
10
- const common_1 = require("@nestjs/common");
11
- const app_controller_1 = require("./app.controller");
12
- const app_gateway_1 = require("./app.gateway");
13
- const app_service_1 = require("./app.service");
14
- const auth_module_1 = require("./core/auth/auth.module");
15
- const config_module_1 = require("./core/config/config.module");
16
- const logger_module_1 = require("./core/logger/logger.module");
17
- const accessories_module_1 = require("./modules/accessories/accessories.module");
18
- const backup_module_1 = require("./modules/backup/backup.module");
19
- const child_bridges_module_1 = require("./modules/child-bridges/child-bridges.module");
20
- const config_editor_module_1 = require("./modules/config-editor/config-editor.module");
21
- const custom_plugins_module_1 = require("./modules/custom-plugins/custom-plugins.module");
22
- const log_module_1 = require("./modules/log/log.module");
23
- const platform_tools_module_1 = require("./modules/platform-tools/platform-tools.module");
24
- const plugins_module_1 = require("./modules/plugins/plugins.module");
25
- const server_module_1 = require("./modules/server/server.module");
26
- const setup_wizard_module_1 = require("./modules/setup-wizard/setup-wizard.module");
27
- const status_module_1 = require("./modules/status/status.module");
28
- const users_module_1 = require("./modules/users/users.module");
7
+ import { Module } from '@nestjs/common';
8
+ import { AppController } from './app.controller.js';
9
+ import { AppGateway } from './app.gateway.js';
10
+ import { AppService } from './app.service.js';
11
+ import { AuthModule } from './core/auth/auth.module.js';
12
+ import { ConfigModule } from './core/config/config.module.js';
13
+ import { LoggerModule } from './core/logger/logger.module.js';
14
+ import { AccessoriesModule } from './modules/accessories/accessories.module.js';
15
+ import { BackupModule } from './modules/backup/backup.module.js';
16
+ import { ChildBridgesModule } from './modules/child-bridges/child-bridges.module.js';
17
+ import { ConfigEditorModule } from './modules/config-editor/config-editor.module.js';
18
+ import { CustomPluginsModule } from './modules/custom-plugins/custom-plugins.module.js';
19
+ import { LogModule } from './modules/log/log.module.js';
20
+ import { PlatformToolsModule } from './modules/platform-tools/platform-tools.module.js';
21
+ import { PluginsModule } from './modules/plugins/plugins.module.js';
22
+ import { ServerModule } from './modules/server/server.module.js';
23
+ import { SetupWizardModule } from './modules/setup-wizard/setup-wizard.module.js';
24
+ import { StatusModule } from './modules/status/status.module.js';
25
+ import { UsersModule } from './modules/users/users.module.js';
29
26
  let AppModule = class AppModule {
30
27
  };
31
- exports.AppModule = AppModule;
32
- exports.AppModule = AppModule = __decorate([
33
- (0, common_1.Module)({
28
+ AppModule = __decorate([
29
+ Module({
34
30
  imports: [
35
- config_module_1.ConfigModule,
36
- logger_module_1.LoggerModule,
37
- auth_module_1.AuthModule,
38
- server_module_1.ServerModule,
39
- plugins_module_1.PluginsModule,
40
- custom_plugins_module_1.CustomPluginsModule,
41
- users_module_1.UsersModule,
42
- status_module_1.StatusModule,
43
- accessories_module_1.AccessoriesModule,
44
- config_editor_module_1.ConfigEditorModule,
45
- platform_tools_module_1.PlatformToolsModule,
46
- child_bridges_module_1.ChildBridgesModule,
47
- backup_module_1.BackupModule,
48
- log_module_1.LogModule,
49
- setup_wizard_module_1.SetupWizardModule,
31
+ ConfigModule,
32
+ LoggerModule,
33
+ AuthModule,
34
+ PluginsModule,
35
+ ServerModule,
36
+ CustomPluginsModule,
37
+ UsersModule,
38
+ StatusModule,
39
+ AccessoriesModule,
40
+ ConfigEditorModule,
41
+ PlatformToolsModule,
42
+ ChildBridgesModule,
43
+ BackupModule,
44
+ LogModule,
45
+ SetupWizardModule,
50
46
  ],
51
47
  controllers: [
52
- app_controller_1.AppController,
48
+ AppController,
53
49
  ],
54
50
  providers: [
55
- app_service_1.AppService,
56
- app_gateway_1.AppGateway,
51
+ AppService,
52
+ AppGateway,
57
53
  ],
58
54
  })
59
55
  ], AppModule);
56
+ export { AppModule };
60
57
  //# sourceMappingURL=app.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.module.js","sourceRoot":"","sources":["../src/app.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAuC;AAEvC,qDAAgD;AAChD,+CAA0C;AAC1C,+CAA0C;AAC1C,yDAAoD;AACpD,+DAA0D;AAC1D,+D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kBAAkB,EAAE,MAAM,iDAAiD,CAAA;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAA;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAA;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAA;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AA6BtD,IAAM,SAAS,GAAf,MAAM,SAAS;CAAG,CAAA;AAAZ,SAAS;IA3BrB,MAAM,CAAC;QACN,OAAO,EAAE;YACP,YAAY;YACZ,YAAY;YACZ,UAAU;YACV,aAAa;YACb,YAAY;YACZ,mBAAmB;YACnB,WAAW;YACX,YAAY;YACZ,iBAAiB;YACjB,kBAAkB;YAClB,mBAAmB;YACnB,kBAAkB;YAClB,YAAY;YACZ,SAAS;YACT,iBAAiB;SAClB;QACD,WAAW,EAAE;YACX,aAAa;SACd;QACD,SAAS,EAAE;YACT,UAAU;YACV,UAAU;SACX;KACF,CAAC;GAEW,SAAS,CAAG"}
@@ -1,20 +1,17 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
6
  };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.AppService = void 0;
10
- const common_1 = require("@nestjs/common");
7
+ import { Injectable } from '@nestjs/common';
11
8
  let AppService = class AppService {
12
9
  getHello() {
13
10
  return 'Hello World!';
14
11
  }
15
12
  };
16
- exports.AppService = AppService;
17
- exports.AppService = AppService = __decorate([
18
- (0, common_1.Injectable)()
13
+ AppService = __decorate([
14
+ Injectable()
19
15
  ], AppService);
16
+ export { AppService };
20
17
  //# sourceMappingURL=app.service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.service.js","sourceRoot":"","sources":["../src/app.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA2C;AAGpC,IAAM,UAAU,GAAhB,MAAM,UAAU;IACrB,QAAQ;QACN,OAAO,cAAc,CAAA;IACvB,CAAC;CACF,CAAA;AAJY,gCAAU;qBAAV,UAAU;IADtB,IAAA,mBAAU,GAAE;GACA,UAAU,CAItB"}
1
+ {"version":3,"file":"app.service.js","sourceRoot":"","sources":["../src/app.service.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAGpC,IAAM,UAAU,GAAhB,MAAM,UAAU;IACrB,QAAQ;QACN,OAAO,cAAc,CAAA;IACvB,CAAC;CACF,CAAA;AAJY,UAAU;IADtB,UAAU,EAAE;GACA,UAAU,CAItB"}
@@ -1,4 +1,4 @@
1
- import type { HomebridgeServiceHelper } from './hb-service';
1
+ import type { HomebridgeServiceHelper } from './hb-service.js';
2
2
  export declare class BasePlatform {
3
3
  hbService: HomebridgeServiceHelper;
4
4
  constructor(hbService: HomebridgeServiceHelper);
@@ -1,45 +1,40 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.BasePlatform = void 0;
7
- const node_process_1 = __importDefault(require("node:process"));
8
- class BasePlatform {
1
+ import process from 'node:process';
2
+ export class BasePlatform {
3
+ hbService;
9
4
  constructor(hbService) {
10
5
  this.hbService = hbService;
11
6
  }
12
7
  async install() {
13
8
  this.hbService.logger('This command has not been implemented on this platform.', 'fail');
14
- node_process_1.default.exit(0);
9
+ process.exit(0);
15
10
  }
16
11
  async uninstall() {
17
12
  this.hbService.logger('This command has not been implemented on this platform.', 'fail');
18
- node_process_1.default.exit(0);
13
+ process.exit(0);
19
14
  }
20
15
  async start() {
21
16
  this.hbService.logger('This command has not been implemented on this platform.', 'fail');
22
- node_process_1.default.exit(0);
17
+ process.exit(0);
23
18
  }
24
19
  async stop() {
25
20
  this.hbService.logger('This command has not been implemented on this platform.', 'fail');
26
- node_process_1.default.exit(0);
21
+ process.exit(0);
27
22
  }
28
23
  async restart() {
29
24
  this.hbService.logger('This command has not been implemented on this platform.', 'fail');
30
- node_process_1.default.exit(0);
25
+ process.exit(0);
31
26
  }
32
27
  async beforeStart() {
33
28
  this.hbService.logger('This command has not been implemented on this platform.', 'fail');
34
- node_process_1.default.exit(0);
29
+ process.exit(0);
35
30
  }
36
31
  async rebuild(all = false) {
37
32
  this.hbService.logger('This command has not been implemented on this platform.', 'fail');
38
- node_process_1.default.exit(0);
33
+ process.exit(0);
39
34
  }
40
35
  async viewLogs() {
41
36
  this.hbService.logger('This command has not been implemented on this platform.', 'fail');
42
- node_process_1.default.exit(0);
37
+ process.exit(0);
43
38
  }
44
39
  async getId() {
45
40
  return {
@@ -52,5 +47,4 @@ class BasePlatform {
52
47
  }
53
48
  async updateNodejs(job) { }
54
49
  }
55
- exports.BasePlatform = BasePlatform;
56
50
  //# sourceMappingURL=base-platform.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-platform.js","sourceRoot":"","sources":["../../src/bin/base-platform.ts"],"names":[],"mappings":";;;;;;AAEA,gEAAkC;AAElC,MAAa,YAAY;IACvB,YACS,SAAkC;QAAlC,cAAS,GAAT,SAAS,CAAyB;IACxC,CAAC;IAEG,KAAK,CAAC,OAAO;QAClB,IAA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AI,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC;IAEM,KAAK,CAAC,WAAW;QACtB,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,yDAAyD,EAAE,MAAM,CAAC,CAAA;QACxF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC;IAGM,KAAK,CAAC,OAAO,CAAC,GAAG,GAAG,KAAK;QAC9B,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,yDAAyD,EAAE,MAAM,CAAC,CAAA;QACxF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC;IAEM,KAAK,CAAC,QAAQ;QACnB,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,yDAAyD,EAAE,MAAM,CAAC,CAAA;QACxF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC;IAEM,KAAK,CAAC,KAAK;QAChB,OAAO;YACL,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,CAAC;SACP,CAAA;IACH,CAAC;IAGM,YAAY,CAAC,IAAY;QAC9B,OAAO,IAAI,CAAA;IACb,CAAC;IAGM,KAAK,CAAC,YAAY,CAAC,GAAyC,IAAkB,CAAC;CACvF"}
package/dist/bin/fork.js CHANGED
@@ -1,50 +1,12 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- var __importDefault = (this && this.__importDefault) || function (mod) {
36
- return (mod && mod.__esModule) ? mod : { "default": mod };
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- const node_process_1 = __importDefault(require("node:process"));
40
- node_process_1.default.title = 'homebridge-config-ui-x';
1
+ import process from 'node:process';
2
+ process.title = 'homebridge-config-ui-x';
41
3
  setInterval(() => {
42
- if (!node_process_1.default.connected) {
43
- node_process_1.default.exit(1);
4
+ if (!process.connected) {
5
+ process.exit(1);
44
6
  }
45
7
  }, 10000);
46
- node_process_1.default.on('disconnect', () => {
47
- node_process_1.default.exit();
8
+ process.on('disconnect', () => {
9
+ process.exit();
48
10
  });
49
- Promise.resolve().then(() => __importStar(require('../main')));
11
+ import('../main.js');
50
12
  //# sourceMappingURL=fork.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fork.js","sourceRoot":"","sources":["../../src/bin/fork.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAkC;AAElC,sBAAO,CAAC,KAAK,GAAG,wBAAwB,CAAA;AAExC,WAAW,CAAC,GAAG,EAAE;IACf,IAAI,CAAC,sBAAO,CAAC,SAAS,EAAE,CAAC;QACvB,sBAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC;AACH,CAAC,EAAE,KAAK,CAAC,CAAA;AAET,sBAAO,CAAC,EAAE,CAAC,YAAY,EAAE,GAAG,EAAE;IAC5B,sBAAO,CAAC,IAAI,EAAE,CAAA;AAChB,CAAC,CAAC,CAAA;AAEF,kDAAO,SAAS,IAAC"}
1
+ {"version":3,"file":"fork.js","sourceRoot":"","sources":["../../src/bin/fork.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,cAAc,CAAA;AAElC,OAAO,CAAC,KAAK,GAAG,wBAAwB,CAAA;AAExC,WAAW,CAAC,GAAG,EAAE;IACf,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC;QACvB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC;AACH,CAAC,EAAE,KAAK,CAAC,CAAA;AAET,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,GAAG,EAAE;IAC5B,OAAO,CAAC,IAAI,EAAE,CAAA;AAChB,CAAC,CAAC,CAAA;AAEF,MAAM,CAAC,YAAY,CAAC,CAAA"}