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.
- package/CHANGELOG.md +7 -2
- package/dist/app.controller.d.ts +1 -1
- package/dist/app.controller.js +14 -12
- package/dist/app.controller.js.map +1 -1
- package/dist/app.gateway.js +7 -10
- package/dist/app.gateway.js.map +1 -1
- package/dist/app.module.js +40 -43
- package/dist/app.module.js.map +1 -1
- package/dist/app.service.js +4 -7
- package/dist/app.service.js.map +1 -1
- package/dist/bin/base-platform.d.ts +1 -1
- package/dist/bin/base-platform.js +11 -17
- package/dist/bin/base-platform.js.map +1 -1
- package/dist/bin/fork.js +7 -45
- package/dist/bin/fork.js.map +1 -1
- package/dist/bin/hb-service.js +224 -243
- package/dist/bin/hb-service.js.map +1 -1
- package/dist/bin/platforms/darwin.d.ts +1 -1
- package/dist/bin/platforms/darwin.js +61 -65
- package/dist/bin/platforms/darwin.js.map +1 -1
- package/dist/bin/platforms/freebsd.d.ts +1 -1
- package/dist/bin/platforms/freebsd.js +42 -47
- package/dist/bin/platforms/freebsd.js.map +1 -1
- package/dist/bin/platforms/linux.d.ts +1 -1
- package/dist/bin/platforms/linux.js +127 -132
- package/dist/bin/platforms/linux.js.map +1 -1
- package/dist/bin/platforms/win32.d.ts +1 -1
- package/dist/bin/platforms/win32.js +30 -36
- package/dist/bin/platforms/win32.js.map +1 -1
- package/dist/bin/standalone.js +15 -53
- package/dist/bin/standalone.js.map +1 -1
- package/dist/core/auth/auth.controller.d.ts +3 -3
- package/dist/core/auth/auth.controller.js +40 -39
- package/dist/core/auth/auth.controller.js.map +1 -1
- package/dist/core/auth/auth.dto.js +17 -18
- package/dist/core/auth/auth.dto.js.map +1 -1
- package/dist/core/auth/auth.module.js +28 -31
- package/dist/core/auth/auth.module.js.map +1 -1
- package/dist/core/auth/auth.service.d.ts +3 -3
- package/dist/core/auth/auth.service.js +65 -62
- package/dist/core/auth/auth.service.js.map +1 -1
- package/dist/core/auth/guards/admin.guard.js +4 -7
- package/dist/core/auth/guards/admin.guard.js.map +1 -1
- package/dist/core/auth/guards/custom.guard.js +6 -9
- package/dist/core/auth/guards/custom.guard.js.map +1 -1
- package/dist/core/auth/guards/ws-admin-guard.d.ts +1 -1
- package/dist/core/auth/guards/ws-admin-guard.js +13 -11
- package/dist/core/auth/guards/ws-admin-guard.js.map +1 -1
- package/dist/core/auth/guards/ws.guard.d.ts +1 -1
- package/dist/core/auth/guards/ws.guard.js +13 -11
- package/dist/core/auth/guards/ws.guard.js.map +1 -1
- package/dist/core/auth/jwt.strategy.d.ts +3 -2
- package/dist/core/auth/jwt.strategy.js +21 -16
- package/dist/core/auth/jwt.strategy.js.map +1 -1
- package/dist/core/config/config.interfaces.js +1 -2
- package/dist/core/config/config.module.js +8 -10
- package/dist/core/config/config.module.js.map +1 -1
- package/dist/core/config/config.service.d.ts +2 -2
- package/dist/core/config/config.service.js +88 -82
- package/dist/core/config/config.service.js.map +1 -1
- package/dist/core/config/config.startup.d.ts +1 -1
- package/dist/core/config/config.startup.js +23 -28
- package/dist/core/config/config.startup.js.map +1 -1
- package/dist/core/feature-flags/feature-flags.registry.js +1 -4
- package/dist/core/feature-flags/feature-flags.registry.js.map +1 -1
- package/dist/core/homebridge-ipc/homebridge-ipc.module.js +11 -14
- package/dist/core/homebridge-ipc/homebridge-ipc.module.js.map +1 -1
- package/dist/core/homebridge-ipc/homebridge-ipc.service.d.ts +2 -2
- package/dist/core/homebridge-ipc/homebridge-ipc.service.js +24 -19
- package/dist/core/homebridge-ipc/homebridge-ipc.service.js.map +1 -1
- package/dist/core/logger/logger.module.js +8 -10
- package/dist/core/logger/logger.module.js.map +1 -1
- package/dist/core/logger/logger.service.js +13 -23
- package/dist/core/logger/logger.service.js.map +1 -1
- package/dist/core/node-pty/node-pty.module.js +7 -10
- package/dist/core/node-pty/node-pty.module.js.map +1 -1
- package/dist/core/node-pty/node-pty.service.js +6 -11
- package/dist/core/node-pty/node-pty.service.js.map +1 -1
- package/dist/core/node-version.constants.js +4 -11
- package/dist/core/node-version.constants.js.map +1 -1
- package/dist/core/scheduler/scheduler.module.js +7 -10
- package/dist/core/scheduler/scheduler.module.js.map +1 -1
- package/dist/core/scheduler/scheduler.service.js +9 -14
- package/dist/core/scheduler/scheduler.service.js.map +1 -1
- package/dist/core/spa/spa-html.service.js +9 -15
- package/dist/core/spa/spa-html.service.js.map +1 -1
- package/dist/core/spa/spa.filter.d.ts +1 -1
- package/dist/core/spa/spa.filter.js +11 -16
- package/dist/core/spa/spa.filter.js.map +1 -1
- package/dist/core/ssl/ssl-cert-generator.service.d.ts +1 -1
- package/dist/core/ssl/ssl-cert-generator.service.js +34 -36
- package/dist/core/ssl/ssl-cert-generator.service.js.map +1 -1
- package/dist/env-setup.d.ts +1 -0
- package/dist/env-setup.js +7 -0
- package/dist/env-setup.js.map +1 -0
- package/dist/globalDefaults.d.ts +1 -0
- package/dist/globalDefaults.js +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +16 -19
- package/dist/index.js.map +1 -1
- package/dist/main.d.ts +5 -3
- package/dist/main.js +44 -51
- package/dist/main.js.map +1 -1
- package/dist/modules/accessories/accessories.controller.d.ts +2 -2
- package/dist/modules/accessories/accessories.controller.js +27 -29
- package/dist/modules/accessories/accessories.controller.js.map +1 -1
- package/dist/modules/accessories/accessories.dto.js +11 -13
- package/dist/modules/accessories/accessories.dto.js.map +1 -1
- package/dist/modules/accessories/accessories.gateway.d.ts +1 -1
- package/dist/modules/accessories/accessories.gateway.js +18 -16
- package/dist/modules/accessories/accessories.gateway.js.map +1 -1
- package/dist/modules/accessories/accessories.module.js +17 -20
- package/dist/modules/accessories/accessories.module.js.map +1 -1
- package/dist/modules/accessories/accessories.service.d.ts +2 -2
- package/dist/modules/accessories/accessories.service.js +37 -35
- package/dist/modules/accessories/accessories.service.js.map +1 -1
- package/dist/modules/backup/backup.controller.d.ts +2 -2
- package/dist/modules/backup/backup.controller.js +68 -67
- package/dist/modules/backup/backup.controller.js.map +1 -1
- package/dist/modules/backup/backup.gateway.d.ts +2 -2
- package/dist/modules/backup/backup.gateway.js +25 -21
- package/dist/modules/backup/backup.gateway.js.map +1 -1
- package/dist/modules/backup/backup.module.js +22 -25
- package/dist/modules/backup/backup.module.js.map +1 -1
- package/dist/modules/backup/backup.service.d.ts +5 -5
- package/dist/modules/backup/backup.service.js +143 -133
- package/dist/modules/backup/backup.service.js.map +1 -1
- package/dist/modules/child-bridges/child-bridges.gateway.d.ts +2 -2
- package/dist/modules/child-bridges/child-bridges.gateway.js +23 -21
- package/dist/modules/child-bridges/child-bridges.gateway.js.map +1 -1
- package/dist/modules/child-bridges/child-bridges.interfaces.js +1 -2
- package/dist/modules/child-bridges/child-bridges.module.js +19 -22
- package/dist/modules/child-bridges/child-bridges.module.js.map +1 -1
- package/dist/modules/child-bridges/child-bridges.service.d.ts +3 -3
- package/dist/modules/child-bridges/child-bridges.service.js +15 -11
- package/dist/modules/child-bridges/child-bridges.service.js.map +1 -1
- package/dist/modules/config-editor/config-editor.controller.d.ts +6 -6
- package/dist/modules/config-editor/config-editor.controller.js +94 -95
- package/dist/modules/config-editor/config-editor.controller.js.map +1 -1
- package/dist/modules/config-editor/config-editor.module.js +21 -24
- package/dist/modules/config-editor/config-editor.module.js.map +1 -1
- package/dist/modules/config-editor/config-editor.service.d.ts +6 -6
- package/dist/modules/config-editor/config-editor.service.js +65 -57
- package/dist/modules/config-editor/config-editor.service.js.map +1 -1
- package/dist/modules/custom-plugins/custom-plugins.module.js +10 -13
- package/dist/modules/custom-plugins/custom-plugins.module.js.map +1 -1
- package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.controller.d.ts +1 -1
- package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.controller.js +21 -19
- package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.controller.js.map +1 -1
- package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.module.js +14 -17
- package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.module.js.map +1 -1
- package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.service.d.ts +1 -1
- package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.service.js +18 -15
- package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.service.js.map +1 -1
- package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.controller.d.ts +1 -1
- package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.controller.js +21 -19
- package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.controller.js.map +1 -1
- package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.module.js +14 -17
- package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.module.js.map +1 -1
- package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.service.d.ts +1 -1
- package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.service.js +18 -15
- package/dist/modules/custom-plugins/homebridge-hue/homebridge-hue.service.js.map +1 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.controller.d.ts +1 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.controller.js +18 -19
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.controller.js.map +1 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.gateway.d.ts +1 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.gateway.js +15 -13
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.gateway.js.map +1 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.module.js +18 -21
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.module.js.map +1 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.d.ts +4 -4
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js +47 -41
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js.map +1 -1
- package/dist/modules/log/log.gateway.d.ts +2 -2
- package/dist/modules/log/log.gateway.js +15 -13
- package/dist/modules/log/log.gateway.js.map +1 -1
- package/dist/modules/log/log.interfaces.js +1 -2
- package/dist/modules/log/log.module.js +14 -17
- package/dist/modules/log/log.module.js.map +1 -1
- package/dist/modules/log/log.service.d.ts +3 -3
- package/dist/modules/log/log.service.js +47 -43
- package/dist/modules/log/log.service.js.map +1 -1
- package/dist/modules/platform-tools/docker/docker.controller.d.ts +1 -1
- package/dist/modules/platform-tools/docker/docker.controller.js +24 -25
- package/dist/modules/platform-tools/docker/docker.controller.js.map +1 -1
- package/dist/modules/platform-tools/docker/docker.module.js +14 -17
- package/dist/modules/platform-tools/docker/docker.module.js.map +1 -1
- package/dist/modules/platform-tools/docker/docker.service.d.ts +2 -2
- package/dist/modules/platform-tools/docker/docker.service.js +20 -16
- package/dist/modules/platform-tools/docker/docker.service.js.map +1 -1
- package/dist/modules/platform-tools/hb-service/hb-service.controller.d.ts +2 -2
- package/dist/modules/platform-tools/hb-service/hb-service.controller.js +35 -36
- package/dist/modules/platform-tools/hb-service/hb-service.controller.js.map +1 -1
- package/dist/modules/platform-tools/hb-service/hb-service.dto.js +20 -19
- package/dist/modules/platform-tools/hb-service/hb-service.dto.js.map +1 -1
- package/dist/modules/platform-tools/hb-service/hb-service.module.js +14 -17
- package/dist/modules/platform-tools/hb-service/hb-service.module.js.map +1 -1
- package/dist/modules/platform-tools/hb-service/hb-service.service.d.ts +3 -3
- package/dist/modules/platform-tools/hb-service/hb-service.service.js +37 -30
- package/dist/modules/platform-tools/hb-service/hb-service.service.js.map +1 -1
- package/dist/modules/platform-tools/linux/linux.controller.d.ts +1 -1
- package/dist/modules/platform-tools/linux/linux.controller.js +23 -21
- package/dist/modules/platform-tools/linux/linux.controller.js.map +1 -1
- package/dist/modules/platform-tools/linux/linux.module.js +14 -17
- package/dist/modules/platform-tools/linux/linux.module.js.map +1 -1
- package/dist/modules/platform-tools/linux/linux.service.d.ts +2 -2
- package/dist/modules/platform-tools/linux/linux.service.js +18 -14
- package/dist/modules/platform-tools/linux/linux.service.js.map +1 -1
- package/dist/modules/platform-tools/platform-tools.module.js +12 -15
- package/dist/modules/platform-tools/platform-tools.module.js.map +1 -1
- package/dist/modules/platform-tools/terminal/terminal.controller.d.ts +1 -1
- package/dist/modules/platform-tools/terminal/terminal.controller.js +15 -13
- package/dist/modules/platform-tools/terminal/terminal.controller.js.map +1 -1
- package/dist/modules/platform-tools/terminal/terminal.gateway.d.ts +2 -2
- package/dist/modules/platform-tools/terminal/terminal.gateway.js +17 -15
- package/dist/modules/platform-tools/terminal/terminal.gateway.js.map +1 -1
- package/dist/modules/platform-tools/terminal/terminal.interfaces.js +1 -2
- package/dist/modules/platform-tools/terminal/terminal.module.js +18 -21
- package/dist/modules/platform-tools/terminal/terminal.module.js.map +1 -1
- package/dist/modules/platform-tools/terminal/terminal.service.d.ts +4 -4
- package/dist/modules/platform-tools/terminal/terminal.service.js +33 -28
- package/dist/modules/platform-tools/terminal/terminal.service.js.map +1 -1
- package/dist/modules/plugins/plugins.controller.d.ts +6 -6
- package/dist/modules/plugins/plugins.controller.js +51 -52
- package/dist/modules/plugins/plugins.controller.js.map +1 -1
- package/dist/modules/plugins/plugins.dto.js +26 -24
- package/dist/modules/plugins/plugins.dto.js.map +1 -1
- package/dist/modules/plugins/plugins.gateway.d.ts +3 -3
- package/dist/modules/plugins/plugins.gateway.js +38 -34
- package/dist/modules/plugins/plugins.gateway.js.map +1 -1
- package/dist/modules/plugins/plugins.interfaces.js +1 -2
- package/dist/modules/plugins/plugins.module.js +23 -26
- package/dist/modules/plugins/plugins.module.js.map +1 -1
- package/dist/modules/plugins/plugins.service.d.ts +9 -7
- package/dist/modules/plugins/plugins.service.js +231 -202
- package/dist/modules/plugins/plugins.service.js.map +1 -1
- package/dist/modules/server/server.controller.d.ts +34 -4
- package/dist/modules/server/server.controller.js +294 -177
- package/dist/modules/server/server.controller.js.map +1 -1
- package/dist/modules/server/server.dto.js +13 -16
- package/dist/modules/server/server.dto.js.map +1 -1
- package/dist/modules/server/server.module.js +23 -26
- package/dist/modules/server/server.module.js.map +1 -1
- package/dist/modules/server/server.service.d.ts +36 -6
- package/dist/modules/server/server.service.js +406 -150
- package/dist/modules/server/server.service.js.map +1 -1
- package/dist/modules/setup-wizard/setup-wizard.controller.d.ts +2 -2
- package/dist/modules/setup-wizard/setup-wizard.controller.js +19 -20
- package/dist/modules/setup-wizard/setup-wizard.controller.js.map +1 -1
- package/dist/modules/setup-wizard/setup-wizard.gateway.d.ts +2 -2
- package/dist/modules/setup-wizard/setup-wizard.gateway.js +25 -21
- package/dist/modules/setup-wizard/setup-wizard.gateway.js.map +1 -1
- package/dist/modules/setup-wizard/setup-wizard.guard.d.ts +1 -1
- package/dist/modules/setup-wizard/setup-wizard.guard.js +11 -9
- package/dist/modules/setup-wizard/setup-wizard.guard.js.map +1 -1
- package/dist/modules/setup-wizard/setup-wizard.module.js +12 -15
- package/dist/modules/setup-wizard/setup-wizard.module.js.map +1 -1
- package/dist/modules/status/status.controller.d.ts +5 -5
- package/dist/modules/status/status.controller.js +40 -36
- package/dist/modules/status/status.controller.js.map +1 -1
- package/dist/modules/status/status.gateway.d.ts +9 -9
- package/dist/modules/status/status.gateway.js +51 -47
- package/dist/modules/status/status.gateway.js.map +1 -1
- package/dist/modules/status/status.interfaces.js +2 -5
- package/dist/modules/status/status.interfaces.js.map +1 -1
- package/dist/modules/status/status.module.js +26 -29
- package/dist/modules/status/status.module.js.map +1 -1
- package/dist/modules/status/status.service.d.ts +7 -7
- package/dist/modules/status/status.service.js +100 -88
- package/dist/modules/status/status.service.js.map +1 -1
- package/dist/modules/users/users.controller.d.ts +2 -2
- package/dist/modules/users/users.controller.js +59 -60
- package/dist/modules/users/users.controller.js.map +1 -1
- package/dist/modules/users/users.dto.js +51 -45
- package/dist/modules/users/users.dto.js.map +1 -1
- package/dist/modules/users/users.module.js +14 -17
- package/dist/modules/users/users.module.js.map +1 -1
- package/dist/self-check.js +25 -25
- package/dist/self-check.js.map +1 -1
- package/docs/ssl-upload-pr.md +103 -0
- package/package.json +6 -7
- package/public/{chunk-PPA66JI2.js → chunk-2FNQEOXF.js} +1 -1
- package/public/{chunk-HERKNFLL.js → chunk-2SCTALGY.js} +1 -1
- package/public/{chunk-BQTGMLQB.js → chunk-3IJXQMYZ.js} +1 -1
- package/public/chunk-425ZEUU6.js +1 -0
- package/public/{chunk-EHHNHG6Q.js → chunk-4T6CM7M3.js} +1 -1
- package/public/{chunk-IKY3F7MM.js → chunk-7SKTJO5M.js} +1 -1
- package/public/{chunk-E4ZKIFZH.js → chunk-7UDDRMZZ.js} +1 -1
- package/public/{chunk-Y2N6WV2O.js → chunk-ATMY4YI2.js} +1 -1
- package/public/{chunk-UKEKNQEJ.js → chunk-AZIRJR4B.js} +1 -1
- package/public/{chunk-2UQL2OTF.js → chunk-B2XE365J.js} +1 -1
- package/public/{chunk-JWHZQ7YI.js → chunk-BMKJTHFC.js} +1 -1
- package/public/{chunk-R2PMDKTD.js → chunk-CGYD722J.js} +1 -1
- package/public/{chunk-BI2TS6NN.js → chunk-CQREAKPC.js} +4 -4
- package/public/{chunk-WMGV3KS6.js → chunk-CYBDQV2B.js} +1 -1
- package/public/{chunk-TJEQFEML.js → chunk-D5RKKI2A.js} +1 -1
- package/public/{chunk-NUCXRR5D.js → chunk-EAGKQ5OJ.js} +1 -1
- package/public/{chunk-EYO3XCE2.js → chunk-FGNMMSZH.js} +1 -1
- package/public/{chunk-FGS4HIPD.js → chunk-FTKWC2Q2.js} +1 -1
- package/public/{chunk-QU4I4QSX.js → chunk-HFW5E2OW.js} +1 -1
- package/public/chunk-IIDLQ7XY.js +1 -0
- package/public/{chunk-4E4YMHG4.js → chunk-INX52LH2.js} +1 -1
- package/public/{chunk-VFIOPF3O.js → chunk-JD5JQTN5.js} +1 -1
- package/public/{chunk-RLWY3GD4.js → chunk-JFRCT5V7.js} +1 -1
- package/public/{chunk-JWCVCB6V.js → chunk-JJ7TVAIH.js} +4 -4
- package/public/{chunk-JWY7RFE6.js → chunk-JPCV77W6.js} +1 -1
- package/public/{chunk-ISV4M72Q.js → chunk-K7D2P3SM.js} +1 -1
- package/public/chunk-L66ATRVT.js +1 -0
- package/public/{chunk-IXIZVUXX.js → chunk-LARQLRNL.js} +1 -1
- package/public/{chunk-BVTPAZF3.js → chunk-LHCMU3MO.js} +1 -1
- package/public/{chunk-5T6O4JCR.js → chunk-LZQVKA4S.js} +1 -1
- package/public/{chunk-7F6JT34E.js → chunk-M7QUT5ZZ.js} +1 -1
- package/public/{chunk-2MFBHUTD.js → chunk-MDBZMB6Y.js} +1 -1
- package/public/{chunk-HVGUNGBB.js → chunk-MNVUSYOZ.js} +1 -1
- package/public/{chunk-ZC3JEQZ5.js → chunk-N2TWGDNX.js} +1 -1
- package/public/{chunk-XS5JK2LY.js → chunk-NKNWXFAK.js} +1 -1
- package/public/{chunk-SOA3BB36.js → chunk-OS2SEJZU.js} +1 -1
- package/public/{chunk-IEO2AG2N.js → chunk-PXSEH255.js} +1 -1
- package/public/{chunk-QJLKBB62.js → chunk-PZ2ZCCFR.js} +1 -1
- package/public/{chunk-CWTDHTPI.js → chunk-QCZ4VVDL.js} +1 -1
- package/public/{chunk-5W7EKO7F.js → chunk-QSVZNI3M.js} +1 -1
- package/public/{chunk-4H7ODI34.js → chunk-QUA46GZJ.js} +1 -1
- package/public/{chunk-D4LRW76J.js → chunk-QVLCTKQH.js} +1 -1
- package/public/{chunk-DL2QDFLD.js → chunk-RQ4B2IIV.js} +1 -1
- package/public/{chunk-OTOQR5Z2.js → chunk-RQAFAZAK.js} +1 -1
- package/public/{chunk-4AWJ2PWG.js → chunk-S4OE2ITZ.js} +1 -1
- package/public/{chunk-ZF6W5Z5R.js → chunk-SA5C7QVC.js} +1 -1
- package/public/{chunk-USXMCNIE.js → chunk-SSZBNSOM.js} +1 -1
- package/public/{chunk-E7S36RMO.js → chunk-TA6DOQC5.js} +1 -1
- package/public/{chunk-VB4UAZWJ.js → chunk-TC77PFBQ.js} +1 -1
- package/public/{chunk-5WTTTYNS.js → chunk-TKGKVKOW.js} +1 -1
- package/public/{chunk-FOSFENMV.js → chunk-TSFGO3MA.js} +1 -1
- package/public/{chunk-IBO6BDNZ.js → chunk-UEDMHOPK.js} +1 -1
- package/public/{chunk-LI4BZAUI.js → chunk-UOPWP4RR.js} +1 -1
- package/public/chunk-UTFHCUKB.js +1 -0
- package/public/{chunk-SXOLKD36.js → chunk-UTN2R7WG.js} +1 -1
- package/public/chunk-UV24H47X.js +1 -0
- package/public/{chunk-B5Z4M7ZJ.js → chunk-VSBBKD6B.js} +1 -1
- package/public/{chunk-AO7VT6PL.js → chunk-VYC5JLE6.js} +1 -1
- package/public/{chunk-AOALMLGY.js → chunk-W7UNXMCL.js} +1 -1
- package/public/{chunk-NIERW5KT.js → chunk-WVCOONJF.js} +1 -1
- package/public/{chunk-RON3LUMX.js → chunk-WWSLIQVD.js} +1 -1
- package/public/{chunk-4DVF333O.js → chunk-X3IVSHIL.js} +1 -1
- package/public/{chunk-5G7T74GR.js → chunk-XE5VJDQL.js} +1 -1
- package/public/chunk-XMNXI4QP.js +50 -0
- package/public/{chunk-W26VKO62.js → chunk-XX5GWADI.js} +1 -1
- package/public/{chunk-TGX55EFG.js → chunk-Y5XBENWZ.js} +1 -1
- package/public/{chunk-Z6VQEXUS.js → chunk-YNONXMOG.js} +1 -1
- package/public/{chunk-DIWD6B4C.js → chunk-ZEI3HZ6P.js} +1 -1
- package/public/index.html +2 -2
- package/public/{main-QP5R7HI3.js → main-UGYHSCMY.js} +1 -1
- package/public/{styles-CSF457UW.css → styles-WNHDEKE4.css} +1 -1
- package/scripts/extract-plugin-alias.js +8 -4
- package/public/chunk-2ADAW5AD.js +0 -1
- package/public/chunk-2Y63WBU6.js +0 -1
- package/public/chunk-I3QQTGGZ.js +0 -1
- package/public/chunk-LGE6SGDN.js +0 -1
- package/public/chunk-PZD3OMMY.js +0 -1
- package/public/chunk-QOSAHW73.js +0 -50
|
@@ -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,16 +7,19 @@ 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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
11
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
12
|
+
};
|
|
13
|
+
import { Inject, UseGuards, UsePipes, ValidationPipe } from '@nestjs/common';
|
|
14
|
+
import { SubscribeMessage, WebSocketGateway, WsException } from '@nestjs/websockets';
|
|
15
|
+
import { red } from 'bash-color';
|
|
16
|
+
import { WsAdminGuard } from '../../core/auth/guards/ws-admin-guard.js';
|
|
17
|
+
import { Logger } from '../../core/logger/logger.service.js';
|
|
18
|
+
import { HomebridgeUpdateActionDto, PluginActionDto } from './plugins.dto.js';
|
|
19
|
+
import { PluginsService } from './plugins.service.js';
|
|
20
20
|
let PluginsGateway = class PluginsGateway {
|
|
21
|
+
pluginsService;
|
|
22
|
+
logger;
|
|
21
23
|
constructor(pluginsService, logger) {
|
|
22
24
|
this.pluginsService = pluginsService;
|
|
23
25
|
this.logger = logger;
|
|
@@ -28,8 +30,8 @@ let PluginsGateway = class PluginsGateway {
|
|
|
28
30
|
}
|
|
29
31
|
catch (e) {
|
|
30
32
|
this.logger.error(e);
|
|
31
|
-
client.emit('stdout', `\n\r${
|
|
32
|
-
return new
|
|
33
|
+
client.emit('stdout', `\n\r${red(e.toString())}\n\r`);
|
|
34
|
+
return new WsException(e);
|
|
33
35
|
}
|
|
34
36
|
}
|
|
35
37
|
async uninstallPlugin(client, pluginAction) {
|
|
@@ -38,8 +40,8 @@ let PluginsGateway = class PluginsGateway {
|
|
|
38
40
|
}
|
|
39
41
|
catch (e) {
|
|
40
42
|
this.logger.error(e);
|
|
41
|
-
client.emit('stdout', `\n\r${
|
|
42
|
-
return new
|
|
43
|
+
client.emit('stdout', `\n\r${red(e.toString())}\n\r`);
|
|
44
|
+
return new WsException(e);
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
async updatePlugin(client, pluginAction) {
|
|
@@ -48,8 +50,8 @@ let PluginsGateway = class PluginsGateway {
|
|
|
48
50
|
}
|
|
49
51
|
catch (e) {
|
|
50
52
|
this.logger.error(e);
|
|
51
|
-
client.emit('stdout', `\n\r${
|
|
52
|
-
return new
|
|
53
|
+
client.emit('stdout', `\n\r${red(e.toString())}\n\r`);
|
|
54
|
+
return new WsException(e);
|
|
53
55
|
}
|
|
54
56
|
}
|
|
55
57
|
async homebridgeUpdate(client, homebridgeUpdateAction) {
|
|
@@ -58,39 +60,38 @@ let PluginsGateway = class PluginsGateway {
|
|
|
58
60
|
}
|
|
59
61
|
catch (e) {
|
|
60
62
|
this.logger.error(e);
|
|
61
|
-
client.emit('stdout', `\n\r${
|
|
62
|
-
return new
|
|
63
|
+
client.emit('stdout', `\n\r${red(e.toString())}\n\r`);
|
|
64
|
+
return new WsException(e);
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
67
|
};
|
|
66
|
-
exports.PluginsGateway = PluginsGateway;
|
|
67
68
|
__decorate([
|
|
68
|
-
|
|
69
|
+
SubscribeMessage('install'),
|
|
69
70
|
__metadata("design:type", Function),
|
|
70
|
-
__metadata("design:paramtypes", [Function,
|
|
71
|
+
__metadata("design:paramtypes", [Function, PluginActionDto]),
|
|
71
72
|
__metadata("design:returntype", Promise)
|
|
72
73
|
], PluginsGateway.prototype, "installPlugin", null);
|
|
73
74
|
__decorate([
|
|
74
|
-
|
|
75
|
+
SubscribeMessage('uninstall'),
|
|
75
76
|
__metadata("design:type", Function),
|
|
76
|
-
__metadata("design:paramtypes", [Function,
|
|
77
|
+
__metadata("design:paramtypes", [Function, PluginActionDto]),
|
|
77
78
|
__metadata("design:returntype", Promise)
|
|
78
79
|
], PluginsGateway.prototype, "uninstallPlugin", null);
|
|
79
80
|
__decorate([
|
|
80
|
-
|
|
81
|
+
SubscribeMessage('update'),
|
|
81
82
|
__metadata("design:type", Function),
|
|
82
|
-
__metadata("design:paramtypes", [Function,
|
|
83
|
+
__metadata("design:paramtypes", [Function, PluginActionDto]),
|
|
83
84
|
__metadata("design:returntype", Promise)
|
|
84
85
|
], PluginsGateway.prototype, "updatePlugin", null);
|
|
85
86
|
__decorate([
|
|
86
|
-
|
|
87
|
+
SubscribeMessage('homebridge-update'),
|
|
87
88
|
__metadata("design:type", Function),
|
|
88
|
-
__metadata("design:paramtypes", [Function,
|
|
89
|
+
__metadata("design:paramtypes", [Function, HomebridgeUpdateActionDto]),
|
|
89
90
|
__metadata("design:returntype", Promise)
|
|
90
91
|
], PluginsGateway.prototype, "homebridgeUpdate", null);
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
PluginsGateway = __decorate([
|
|
93
|
+
UseGuards(WsAdminGuard),
|
|
94
|
+
WebSocketGateway({
|
|
94
95
|
namespace: '/plugins',
|
|
95
96
|
allowEIO3: true,
|
|
96
97
|
cors: {
|
|
@@ -98,14 +99,17 @@ exports.PluginsGateway = PluginsGateway = __decorate([
|
|
|
98
99
|
credentials: true,
|
|
99
100
|
},
|
|
100
101
|
}),
|
|
101
|
-
|
|
102
|
+
UsePipes(new ValidationPipe({
|
|
102
103
|
whitelist: true,
|
|
103
104
|
exceptionFactory: (err) => {
|
|
104
105
|
console.error(err);
|
|
105
|
-
return new
|
|
106
|
+
return new WsException(err);
|
|
106
107
|
},
|
|
107
108
|
})),
|
|
108
|
-
|
|
109
|
-
|
|
109
|
+
__param(0, Inject(PluginsService)),
|
|
110
|
+
__param(1, Inject(Logger)),
|
|
111
|
+
__metadata("design:paramtypes", [PluginsService,
|
|
112
|
+
Logger])
|
|
110
113
|
], PluginsGateway);
|
|
114
|
+
export { PluginsGateway };
|
|
111
115
|
//# sourceMappingURL=plugins.gateway.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.gateway.js","sourceRoot":"","sources":["../../../src/modules/plugins/plugins.gateway.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,
|
|
1
|
+
{"version":3,"file":"plugins.gateway.js","sourceRoot":"","sources":["../../../src/modules/plugins/plugins.gateway.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,50 +1,47 @@
|
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const plugins_gateway_1 = require("./plugins.gateway");
|
|
19
|
-
const plugins_service_1 = require("./plugins.service");
|
|
7
|
+
import { Agent } from 'node:https';
|
|
8
|
+
import { HttpModule } from '@nestjs/axios';
|
|
9
|
+
import { Module } from '@nestjs/common';
|
|
10
|
+
import { PassportModule } from '@nestjs/passport';
|
|
11
|
+
import { ConfigModule } from '../../core/config/config.module.js';
|
|
12
|
+
import { LoggerModule } from '../../core/logger/logger.module.js';
|
|
13
|
+
import { NodePtyModule } from '../../core/node-pty/node-pty.module.js';
|
|
14
|
+
import { PluginsController } from './plugins.controller.js';
|
|
15
|
+
import { PluginsGateway } from './plugins.gateway.js';
|
|
16
|
+
import { PluginsService } from './plugins.service.js';
|
|
20
17
|
let PluginsModule = class PluginsModule {
|
|
21
18
|
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
(0, common_1.Module)({
|
|
19
|
+
PluginsModule = __decorate([
|
|
20
|
+
Module({
|
|
25
21
|
imports: [
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
PassportModule.register({ defaultStrategy: 'jwt' }),
|
|
23
|
+
HttpModule.register({
|
|
28
24
|
headers: {
|
|
29
25
|
'User-Agent': 'homebridge-config-ui-x',
|
|
30
26
|
},
|
|
31
27
|
timeout: 10000,
|
|
32
|
-
httpsAgent: new
|
|
28
|
+
httpsAgent: new Agent({ keepAlive: true }),
|
|
33
29
|
}),
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
NodePtyModule,
|
|
31
|
+
ConfigModule,
|
|
32
|
+
LoggerModule,
|
|
37
33
|
],
|
|
38
34
|
providers: [
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
PluginsService,
|
|
36
|
+
PluginsGateway,
|
|
41
37
|
],
|
|
42
38
|
exports: [
|
|
43
|
-
|
|
39
|
+
PluginsService,
|
|
44
40
|
],
|
|
45
41
|
controllers: [
|
|
46
|
-
|
|
42
|
+
PluginsController,
|
|
47
43
|
],
|
|
48
44
|
})
|
|
49
45
|
], PluginsModule);
|
|
46
|
+
export { PluginsModule };
|
|
50
47
|
//# sourceMappingURL=plugins.module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.module.js","sourceRoot":"","sources":["../../../src/modules/plugins/plugins.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugins.module.js","sourceRoot":"","sources":["../../../src/modules/plugins/plugins.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAElC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAA;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAA;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAA;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AA2B9C,IAAM,aAAa,GAAnB,MAAM,aAAa;CAAG,CAAA;AAAhB,aAAa;IAzBzB,MAAM,CAAC;QACN,OAAO,EAAE;YACP,cAAc,CAAC,QAAQ,CAAC,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC;YACnD,UAAU,CAAC,QAAQ,CAAC;gBAClB,OAAO,EAAE;oBACP,YAAY,EAAE,wBAAwB;iBACvC;gBACD,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,IAAI,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;aAC3C,CAAC;YACF,aAAa;YACb,YAAY;YACZ,YAAY;SACb;QACD,SAAS,EAAE;YACT,cAAc;YACd,cAAc;SACf;QACD,OAAO,EAAE;YACP,cAAc;SACf;QACD,WAAW,EAAE;YACX,iBAAiB;SAClB;KACF,CAAC;GACW,aAAa,CAAG"}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import type { EventEmitter } from 'node:events';
|
|
2
|
-
import type { HomebridgePlugin, HomebridgePluginUiMetadata, HomebridgePluginVersions, PluginAlias } from './plugins.interfaces';
|
|
2
|
+
import type { HomebridgePlugin, HomebridgePluginUiMetadata, HomebridgePluginVersions, PluginAlias } from './plugins.interfaces.js';
|
|
3
3
|
import { HttpService } from '@nestjs/axios';
|
|
4
|
-
import { ConfigService } from '../../core/config/config.service';
|
|
5
|
-
import { Logger } from '../../core/logger/logger.service';
|
|
6
|
-
import { NodePtyService } from '../../core/node-pty/node-pty.service';
|
|
7
|
-
import { HomebridgeUpdateActionDto, PluginActionDto } from './plugins.dto';
|
|
4
|
+
import { ConfigService } from '../../core/config/config.service.js';
|
|
5
|
+
import { Logger } from '../../core/logger/logger.service.js';
|
|
6
|
+
import { NodePtyService } from '../../core/node-pty/node-pty.service.js';
|
|
7
|
+
import { HomebridgeUpdateActionDto, PluginActionDto } from './plugins.dto.js';
|
|
8
8
|
export declare class PluginsService {
|
|
9
9
|
private httpService;
|
|
10
10
|
private nodePtyService;
|
|
11
11
|
private logger;
|
|
12
12
|
private configService;
|
|
13
13
|
private static readonly PLUGIN_IDENTIFIER_PATTERN;
|
|
14
|
-
private
|
|
15
|
-
private
|
|
14
|
+
private _npm;
|
|
15
|
+
private _paths;
|
|
16
|
+
private get npm();
|
|
17
|
+
private get paths();
|
|
16
18
|
private installedPlugins;
|
|
17
19
|
private npmPackage;
|
|
18
20
|
private pluginListUrl;
|