@northern.tech/store 0.2.0 → 0.3.0
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/dist/actions.cjs +1812 -0
- package/dist/actions.cjs.map +1 -0
- package/dist/actions.js +18 -1806
- package/dist/actions.js.map +1 -1
- package/dist/api/general-api.cjs +336 -0
- package/dist/api/general-api.cjs.map +1 -0
- package/dist/api/general-api.js +15 -1064
- package/dist/api/general-api.js.map +1 -1
- package/dist/api/users-api.cjs +342 -0
- package/dist/api/users-api.cjs.map +1 -0
- package/dist/api/users-api.js +12 -1088
- package/dist/api/users-api.js.map +1 -1
- package/dist/appSlice/constants.cjs +207 -0
- package/dist/appSlice/constants.cjs.map +1 -0
- package/dist/appSlice/{constants.d.mts → constants.d.cts} +12 -1
- package/dist/appSlice/constants.d.ts +12 -1
- package/dist/appSlice/constants.js +22 -202
- package/dist/appSlice/constants.js.map +1 -1
- package/dist/appSlice/index.cjs +393 -0
- package/dist/appSlice/index.cjs.map +1 -0
- package/dist/appSlice/index.js +14 -1125
- package/dist/appSlice/index.js.map +1 -1
- package/dist/appSlice/selectors.cjs +58 -0
- package/dist/appSlice/selectors.cjs.map +1 -0
- package/dist/appSlice/selectors.js +11 -82
- package/dist/appSlice/selectors.js.map +1 -1
- package/dist/appSlice/thunks.cjs +4670 -0
- package/dist/appSlice/thunks.cjs.map +1 -0
- package/dist/appSlice/thunks.js +39 -5728
- package/dist/appSlice/thunks.js.map +1 -1
- package/dist/auth.cjs +320 -0
- package/dist/auth.cjs.map +1 -0
- package/dist/auth.js +15 -1042
- package/dist/auth.js.map +1 -1
- package/dist/{chunk-BOSBROA3.mjs → chunk-25AKG5HH.js} +6 -8
- package/dist/chunk-25AKG5HH.js.map +1 -0
- package/dist/{chunk-OGAMVFPS.mjs → chunk-4B3IMP4I.js} +18 -17
- package/dist/chunk-4B3IMP4I.js.map +1 -0
- package/dist/{chunk-OWHFMKTA.mjs → chunk-7PVGDMNM.js} +19 -16
- package/dist/{chunk-OWHFMKTA.mjs.map → chunk-7PVGDMNM.js.map} +1 -1
- package/dist/{chunk-MQIKQKSW.mjs → chunk-A6CT6GTI.js} +37 -33
- package/dist/{chunk-MQIKQKSW.mjs.map → chunk-A6CT6GTI.js.map} +1 -1
- package/dist/{chunk-4C6IY46N.mjs → chunk-AMGWP7A4.js} +7 -11
- package/dist/{chunk-4C6IY46N.mjs.map → chunk-AMGWP7A4.js.map} +1 -1
- package/dist/{chunk-G4FGNSV3.mjs → chunk-CK6YE6AN.js} +1 -1
- package/dist/{chunk-NCI6JV5R.mjs → chunk-CYV6632F.js} +6 -12
- package/dist/{chunk-NCI6JV5R.mjs.map → chunk-CYV6632F.js.map} +1 -1
- package/dist/{chunk-Y47SYXII.mjs → chunk-DGD6FVWF.js} +33 -42
- package/dist/{chunk-Y47SYXII.mjs.map → chunk-DGD6FVWF.js.map} +1 -1
- package/dist/{chunk-UPMSYTWW.mjs → chunk-DQ4ZLUIU.js} +307 -648
- package/dist/chunk-DQ4ZLUIU.js.map +1 -0
- package/dist/{chunk-EM2HUGUY.mjs → chunk-E5LEU5PF.js} +37 -28
- package/dist/{chunk-EM2HUGUY.mjs.map → chunk-E5LEU5PF.js.map} +1 -1
- package/dist/{chunk-M4U5R7A4.mjs → chunk-FGKMJS3B.js} +2 -6
- package/dist/{chunk-M4U5R7A4.mjs.map → chunk-FGKMJS3B.js.map} +1 -1
- package/dist/{chunk-RWYS5MKN.mjs → chunk-GZ5VQMDM.js} +17 -24
- package/dist/chunk-GZ5VQMDM.js.map +1 -0
- package/dist/{chunk-ZLRZO4EY.mjs → chunk-H6DUEJFF.js} +53 -101
- package/dist/chunk-H6DUEJFF.js.map +1 -0
- package/dist/chunk-JAROCU6M.js +25 -0
- package/dist/{chunk-L4HIW3KB.mjs.map → chunk-JAROCU6M.js.map} +1 -1
- package/dist/{chunk-QBKCUIWO.mjs → chunk-JIS4PA3R.js} +1 -1
- package/dist/{chunk-4U4X4KAC.mjs → chunk-KAQJH2YL.js} +11 -17
- package/dist/{chunk-4U4X4KAC.mjs.map → chunk-KAQJH2YL.js.map} +1 -1
- package/dist/{chunk-C2YZYTJ6.mjs → chunk-LIJIIRON.js} +2 -11
- package/dist/{chunk-C2YZYTJ6.mjs.map → chunk-LIJIIRON.js.map} +1 -1
- package/dist/{chunk-IU4OXOPA.mjs → chunk-MRCFLG45.js} +1 -1
- package/dist/chunk-NMAXZ3ZY.js +1 -0
- package/dist/{chunk-2HCZYULZ.mjs → chunk-Q6M5TTDQ.js} +3 -6
- package/dist/{chunk-2HCZYULZ.mjs.map → chunk-Q6M5TTDQ.js.map} +1 -1
- package/dist/{chunk-BWFTQHNM.mjs → chunk-RX55KAKX.js} +3 -4
- package/dist/{chunk-BWFTQHNM.mjs.map → chunk-RX55KAKX.js.map} +1 -1
- package/dist/{chunk-ZZ6VIQ3U.mjs → chunk-UEP36GCI.js} +10 -12
- package/dist/{chunk-ZZ6VIQ3U.mjs.map → chunk-UEP36GCI.js.map} +1 -1
- package/dist/{chunk-MJW4632R.mjs → chunk-UVQX743T.js} +18 -22
- package/dist/{chunk-MJW4632R.mjs.map → chunk-UVQX743T.js.map} +1 -1
- package/dist/chunk-V4DKKRWS.js +41 -0
- package/dist/{chunk-ENLZPHTQ.mjs.map → chunk-V4DKKRWS.js.map} +1 -1
- package/dist/{chunk-XJNI62IP.mjs → chunk-VOCOFE4I.js} +4 -11
- package/dist/{chunk-XJNI62IP.mjs.map → chunk-VOCOFE4I.js.map} +1 -1
- package/dist/{chunk-WS3YYLTJ.mjs → chunk-XTRPX7JZ.js} +14 -13
- package/dist/{chunk-WS3YYLTJ.mjs.map → chunk-XTRPX7JZ.js.map} +1 -1
- package/dist/{chunk-QG4PT5WK.mjs → chunk-XXHONFSQ.js} +9 -21
- package/dist/{chunk-QG4PT5WK.mjs.map → chunk-XXHONFSQ.js.map} +1 -1
- package/dist/{chunk-U6YTBIDT.mjs → chunk-YETZPQFR.js} +25 -52
- package/dist/chunk-YETZPQFR.js.map +1 -0
- package/dist/{chunk-EFHEROXZ.mjs → chunk-YGBFDXXA.js} +30 -18
- package/dist/{chunk-EFHEROXZ.mjs.map → chunk-YGBFDXXA.js.map} +1 -1
- package/dist/{chunk-H2PQQMRY.mjs → chunk-YO22XLHI.js} +1 -1
- package/dist/{chunk-2P4VECEE.mjs → chunk-YT73QWCN.js} +6 -11
- package/dist/{chunk-2P4VECEE.mjs.map → chunk-YT73QWCN.js.map} +1 -1
- package/dist/{chunk-X65NMDPS.mjs → chunk-YTQUNAZP.js} +40 -30
- package/dist/{chunk-X65NMDPS.mjs.map → chunk-YTQUNAZP.js.map} +1 -1
- package/dist/commonConstants.cjs +285 -0
- package/dist/{chunk-OGAMVFPS.mjs.map → commonConstants.cjs.map} +1 -1
- package/dist/{commonConstants.d.mts → commonConstants.d.cts} +3 -3
- package/dist/commonConstants.d.ts +3 -3
- package/dist/commonConstants.js +21 -286
- package/dist/commonConstants.js.map +1 -1
- package/dist/commonSelectors.cjs +1487 -0
- package/dist/commonSelectors.cjs.map +1 -0
- package/dist/commonSelectors.js +36 -1545
- package/dist/commonSelectors.js.map +1 -1
- package/dist/constants.cjs +1297 -0
- package/dist/constants.cjs.map +1 -0
- package/dist/{constants.d.mts → constants.d.cts} +10 -10
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +117 -1203
- package/dist/constants.js.map +1 -1
- package/dist/deploymentdevicehook.cjs +4686 -0
- package/dist/deploymentdevicehook.cjs.map +1 -0
- package/dist/deploymentdevicehook.d.cts +3 -0
- package/dist/deploymentdevicehook.d.ts +3 -0
- package/dist/deploymentdevicehook.js +60 -0
- package/dist/deploymentdevicehook.js.map +1 -0
- package/dist/deploymentsSlice/constants.cjs +562 -0
- package/dist/deploymentsSlice/constants.cjs.map +1 -0
- package/dist/deploymentsSlice/constants.js +24 -1016
- package/dist/deploymentsSlice/constants.js.map +1 -1
- package/dist/deploymentsSlice/index.cjs +648 -0
- package/dist/deploymentsSlice/index.cjs.map +1 -0
- package/dist/deploymentsSlice/index.js +14 -1111
- package/dist/deploymentsSlice/index.js.map +1 -1
- package/dist/deploymentsSlice/selectors.cjs +561 -0
- package/dist/deploymentsSlice/selectors.cjs.map +1 -0
- package/dist/deploymentsSlice/selectors.js +16 -1025
- package/dist/deploymentsSlice/selectors.js.map +1 -1
- package/dist/deploymentsSlice/thunks.cjs +4686 -0
- package/dist/deploymentsSlice/thunks.cjs.map +1 -0
- package/dist/deploymentsSlice/thunks.js +48 -5735
- package/dist/deploymentsSlice/thunks.js.map +1 -1
- package/dist/devicesSlice/constants.cjs +435 -0
- package/dist/devicesSlice/constants.cjs.map +1 -0
- package/dist/devicesSlice/constants.js +23 -1017
- package/dist/devicesSlice/constants.js.map +1 -1
- package/dist/devicesSlice/index.cjs +586 -0
- package/dist/devicesSlice/index.cjs.map +1 -0
- package/dist/devicesSlice/index.js +14 -1167
- package/dist/devicesSlice/index.js.map +1 -1
- package/dist/devicesSlice/selectors.cjs +531 -0
- package/dist/devicesSlice/selectors.cjs.map +1 -0
- package/dist/devicesSlice/selectors.js +30 -1126
- package/dist/devicesSlice/selectors.js.map +1 -1
- package/dist/devicesSlice/thunks.cjs +4758 -0
- package/dist/devicesSlice/thunks.cjs.map +1 -0
- package/dist/devicesSlice/thunks.js +84 -5771
- package/dist/devicesSlice/thunks.js.map +1 -1
- package/dist/monitorSlice/constants.cjs +165 -0
- package/dist/monitorSlice/constants.cjs.map +1 -0
- package/dist/monitorSlice/constants.js +10 -980
- package/dist/monitorSlice/constants.js.map +1 -1
- package/dist/monitorSlice/index.cjs +435 -0
- package/dist/monitorSlice/index.cjs.map +1 -0
- package/dist/monitorSlice/index.js +14 -1029
- package/dist/monitorSlice/index.js.map +1 -1
- package/dist/monitorSlice/selectors.cjs +31 -0
- package/dist/monitorSlice/selectors.cjs.map +1 -0
- package/dist/monitorSlice/selectors.js +5 -29
- package/dist/monitorSlice/selectors.js.map +1 -1
- package/dist/monitorSlice/thunks.cjs +2623 -0
- package/dist/monitorSlice/thunks.cjs.map +1 -0
- package/dist/monitorSlice/thunks.js +37 -2603
- package/dist/monitorSlice/thunks.js.map +1 -1
- package/dist/onboardingSlice/constants.cjs +71 -0
- package/dist/onboardingSlice/constants.cjs.map +1 -0
- package/dist/onboardingSlice/constants.js +6 -68
- package/dist/onboardingSlice/constants.js.map +1 -1
- package/dist/onboardingSlice/index.cjs +80 -0
- package/dist/onboardingSlice/index.cjs.map +1 -0
- package/dist/onboardingSlice/index.js +9 -88
- package/dist/onboardingSlice/index.js.map +1 -1
- package/dist/onboardingSlice/selectors.cjs +31 -0
- package/dist/onboardingSlice/selectors.cjs.map +1 -0
- package/dist/onboardingSlice/selectors.js +5 -29
- package/dist/onboardingSlice/selectors.js.map +1 -1
- package/dist/onboardingSlice/thunks.cjs +4774 -0
- package/dist/onboardingSlice/thunks.cjs.map +1 -0
- package/dist/onboardingSlice/thunks.js +42 -5731
- package/dist/onboardingSlice/thunks.js.map +1 -1
- package/dist/organizationSlice/constants.cjs +830 -0
- package/dist/organizationSlice/constants.cjs.map +1 -0
- package/dist/organizationSlice/constants.js +21 -1024
- package/dist/organizationSlice/constants.js.map +1 -1
- package/dist/organizationSlice/index.cjs +505 -0
- package/dist/organizationSlice/index.cjs.map +1 -0
- package/dist/organizationSlice/index.js +14 -1071
- package/dist/organizationSlice/index.js.map +1 -1
- package/dist/organizationSlice/selectors.cjs +300 -0
- package/dist/organizationSlice/selectors.cjs.map +1 -0
- package/dist/organizationSlice/selectors.js +23 -1026
- package/dist/organizationSlice/selectors.js.map +1 -1
- package/dist/organizationSlice/thunks.cjs +5006 -0
- package/dist/organizationSlice/thunks.cjs.map +1 -0
- package/dist/organizationSlice/thunks.js +67 -5754
- package/dist/organizationSlice/thunks.js.map +1 -1
- package/dist/releasesSlice/constants.cjs +40 -0
- package/dist/releasesSlice/constants.cjs.map +1 -0
- package/dist/releasesSlice/constants.js +8 -35
- package/dist/releasesSlice/constants.js.map +1 -1
- package/dist/releasesSlice/index.cjs +355 -0
- package/dist/releasesSlice/index.cjs.map +1 -0
- package/dist/releasesSlice/index.js +14 -1092
- package/dist/releasesSlice/index.js.map +1 -1
- package/dist/releasesSlice/selectors.cjs +290 -0
- package/dist/releasesSlice/selectors.cjs.map +1 -0
- package/dist/releasesSlice/selectors.js +18 -1022
- package/dist/releasesSlice/selectors.js.map +1 -1
- package/dist/releasesSlice/thunks.cjs +2896 -0
- package/dist/releasesSlice/thunks.cjs.map +1 -0
- package/dist/releasesSlice/thunks.js +48 -2904
- package/dist/releasesSlice/thunks.js.map +1 -1
- package/dist/selectors.cjs +1641 -0
- package/dist/selectors.cjs.map +1 -0
- package/dist/{selectors.d.mts → selectors.d.cts} +9 -9
- package/dist/selectors.js +117 -1627
- package/dist/selectors.js.map +1 -1
- package/dist/store.cjs +1932 -0
- package/dist/store.cjs.map +1 -0
- package/dist/store.js +24 -1933
- package/dist/store.js.map +1 -1
- package/dist/storehooks.cjs +5565 -0
- package/dist/storehooks.cjs.map +1 -0
- package/dist/storehooks.js +125 -5784
- package/dist/storehooks.js.map +1 -1
- package/dist/thunks.cjs +5675 -0
- package/dist/thunks.cjs.map +1 -0
- package/dist/{thunks.d.mts → thunks.d.cts} +8 -8
- package/dist/thunks.js +199 -5888
- package/dist/thunks.js.map +1 -1
- package/dist/usersSlice/constants.cjs +798 -0
- package/dist/usersSlice/constants.cjs.map +1 -0
- package/dist/usersSlice/constants.js +26 -1015
- package/dist/usersSlice/constants.js.map +1 -1
- package/dist/usersSlice/index.cjs +890 -0
- package/dist/usersSlice/index.cjs.map +1 -0
- package/dist/usersSlice/index.js +14 -1112
- package/dist/usersSlice/index.js.map +1 -1
- package/dist/usersSlice/selectors.cjs +826 -0
- package/dist/usersSlice/selectors.cjs.map +1 -0
- package/dist/usersSlice/selectors.js +23 -1047
- package/dist/usersSlice/selectors.js.map +1 -1
- package/dist/usersSlice/thunks.cjs +4732 -0
- package/dist/usersSlice/thunks.cjs.map +1 -0
- package/dist/usersSlice/thunks.js +71 -5758
- package/dist/usersSlice/thunks.js.map +1 -1
- package/dist/utils.cjs +739 -0
- package/dist/utils.cjs.map +1 -0
- package/dist/{utils.d.mts → utils.d.cts} +1 -3
- package/dist/utils.d.ts +1 -3
- package/dist/utils.js +26 -1206
- package/dist/utils.js.map +1 -1
- package/package.json +96 -7
- package/dist/actions.mjs +0 -21
- package/dist/api/general-api.mjs +0 -18
- package/dist/api/general-api.mjs.map +0 -1
- package/dist/api/users-api.mjs +0 -15
- package/dist/api/users-api.mjs.map +0 -1
- package/dist/appSlice/constants.mjs +0 -42
- package/dist/appSlice/constants.mjs.map +0 -1
- package/dist/appSlice/index.mjs +0 -21
- package/dist/appSlice/index.mjs.map +0 -1
- package/dist/appSlice/selectors.mjs +0 -20
- package/dist/appSlice/selectors.mjs.map +0 -1
- package/dist/appSlice/thunks.mjs +0 -45
- package/dist/appSlice/thunks.mjs.map +0 -1
- package/dist/auth.mjs +0 -23
- package/dist/auth.mjs.map +0 -1
- package/dist/chunk-BOSBROA3.mjs.map +0 -1
- package/dist/chunk-ENLZPHTQ.mjs +0 -35
- package/dist/chunk-L4HIW3KB.mjs +0 -36
- package/dist/chunk-RWYS5MKN.mjs.map +0 -1
- package/dist/chunk-U6YTBIDT.mjs.map +0 -1
- package/dist/chunk-UPMSYTWW.mjs.map +0 -1
- package/dist/chunk-V32GTKOS.mjs +0 -1
- package/dist/chunk-V32GTKOS.mjs.map +0 -1
- package/dist/chunk-XWBD7VOK.mjs +0 -93
- package/dist/chunk-XWBD7VOK.mjs.map +0 -1
- package/dist/chunk-ZLRZO4EY.mjs.map +0 -1
- package/dist/commonConstants.mjs +0 -40
- package/dist/commonConstants.mjs.map +0 -1
- package/dist/commonSelectors.mjs +0 -56
- package/dist/commonSelectors.mjs.map +0 -1
- package/dist/constants.mjs +0 -223
- package/dist/constants.mjs.map +0 -1
- package/dist/deploymentsSlice/constants.mjs +0 -42
- package/dist/deploymentsSlice/constants.mjs.map +0 -1
- package/dist/deploymentsSlice/index.mjs +0 -21
- package/dist/deploymentsSlice/index.mjs.map +0 -1
- package/dist/deploymentsSlice/selectors.mjs +0 -25
- package/dist/deploymentsSlice/selectors.mjs.map +0 -1
- package/dist/deploymentsSlice/thunks.mjs +0 -63
- package/dist/deploymentsSlice/thunks.mjs.map +0 -1
- package/dist/devicesSlice/constants.mjs +0 -40
- package/dist/devicesSlice/constants.mjs.map +0 -1
- package/dist/devicesSlice/index.mjs +0 -21
- package/dist/devicesSlice/index.mjs.map +0 -1
- package/dist/devicesSlice/selectors.mjs +0 -53
- package/dist/devicesSlice/selectors.mjs.map +0 -1
- package/dist/devicesSlice/thunks.mjs +0 -135
- package/dist/devicesSlice/thunks.mjs.map +0 -1
- package/dist/monitorSlice/constants.mjs +0 -14
- package/dist/monitorSlice/constants.mjs.map +0 -1
- package/dist/monitorSlice/index.mjs +0 -21
- package/dist/monitorSlice/index.mjs.map +0 -1
- package/dist/monitorSlice/selectors.mjs +0 -8
- package/dist/monitorSlice/selectors.mjs.map +0 -1
- package/dist/monitorSlice/thunks.mjs +0 -44
- package/dist/monitorSlice/thunks.mjs.map +0 -1
- package/dist/onboardingSlice/constants.mjs +0 -10
- package/dist/onboardingSlice/constants.mjs.map +0 -1
- package/dist/onboardingSlice/index.mjs +0 -16
- package/dist/onboardingSlice/index.mjs.map +0 -1
- package/dist/onboardingSlice/selectors.mjs +0 -8
- package/dist/onboardingSlice/selectors.mjs.map +0 -1
- package/dist/onboardingSlice/thunks.mjs +0 -51
- package/dist/onboardingSlice/thunks.mjs.map +0 -1
- package/dist/organizationSlice/constants.mjs +0 -36
- package/dist/organizationSlice/constants.mjs.map +0 -1
- package/dist/organizationSlice/index.mjs +0 -21
- package/dist/organizationSlice/index.mjs.map +0 -1
- package/dist/organizationSlice/selectors.mjs +0 -39
- package/dist/organizationSlice/selectors.mjs.map +0 -1
- package/dist/organizationSlice/thunks.mjs +0 -101
- package/dist/organizationSlice/thunks.mjs.map +0 -1
- package/dist/releasesSlice/constants.mjs +0 -14
- package/dist/releasesSlice/constants.mjs.map +0 -1
- package/dist/releasesSlice/index.mjs +0 -21
- package/dist/releasesSlice/index.mjs.map +0 -1
- package/dist/releasesSlice/selectors.mjs +0 -28
- package/dist/releasesSlice/selectors.mjs.map +0 -1
- package/dist/releasesSlice/thunks.mjs +0 -66
- package/dist/releasesSlice/thunks.mjs.map +0 -1
- package/dist/selectors.mjs +0 -209
- package/dist/selectors.mjs.map +0 -1
- package/dist/store.mjs +0 -32
- package/dist/store.mjs.map +0 -1
- package/dist/storehooks.mjs +0 -285
- package/dist/storehooks.mjs.map +0 -1
- package/dist/thunks.mjs +0 -363
- package/dist/thunks.mjs.map +0 -1
- package/dist/usersSlice/constants.mjs +0 -45
- package/dist/usersSlice/constants.mjs.map +0 -1
- package/dist/usersSlice/index.mjs +0 -21
- package/dist/usersSlice/index.mjs.map +0 -1
- package/dist/usersSlice/selectors.mjs +0 -38
- package/dist/usersSlice/selectors.mjs.map +0 -1
- package/dist/usersSlice/thunks.mjs +0 -109
- package/dist/usersSlice/thunks.mjs.map +0 -1
- package/dist/utils.mjs +0 -49
- package/dist/utils.mjs.map +0 -1
- /package/dist/{actions.d.mts → actions.d.cts} +0 -0
- /package/dist/api/{general-api.d.mts → general-api.d.cts} +0 -0
- /package/dist/api/{users-api.d.mts → users-api.d.cts} +0 -0
- /package/dist/appSlice/{index.d.mts → index.d.cts} +0 -0
- /package/dist/appSlice/{selectors.d.mts → selectors.d.cts} +0 -0
- /package/dist/appSlice/{thunks.d.mts → thunks.d.cts} +0 -0
- /package/dist/{auth.d.mts → auth.d.cts} +0 -0
- /package/dist/{chunk-G4FGNSV3.mjs.map → chunk-CK6YE6AN.js.map} +0 -0
- /package/dist/{chunk-QBKCUIWO.mjs.map → chunk-JIS4PA3R.js.map} +0 -0
- /package/dist/{chunk-IU4OXOPA.mjs.map → chunk-MRCFLG45.js.map} +0 -0
- /package/dist/{actions.mjs.map → chunk-NMAXZ3ZY.js.map} +0 -0
- /package/dist/{chunk-H2PQQMRY.mjs.map → chunk-YO22XLHI.js.map} +0 -0
- /package/dist/{commonSelectors.d.mts → commonSelectors.d.cts} +0 -0
- /package/dist/deploymentsSlice/{constants.d.mts → constants.d.cts} +0 -0
- /package/dist/deploymentsSlice/{index.d.mts → index.d.cts} +0 -0
- /package/dist/deploymentsSlice/{selectors.d.mts → selectors.d.cts} +0 -0
- /package/dist/deploymentsSlice/{thunks.d.mts → thunks.d.cts} +0 -0
- /package/dist/devicesSlice/{constants.d.mts → constants.d.cts} +0 -0
- /package/dist/devicesSlice/{index.d.mts → index.d.cts} +0 -0
- /package/dist/devicesSlice/{selectors.d.mts → selectors.d.cts} +0 -0
- /package/dist/devicesSlice/{thunks.d.mts → thunks.d.cts} +0 -0
- /package/dist/monitorSlice/{constants.d.mts → constants.d.cts} +0 -0
- /package/dist/monitorSlice/{index.d.mts → index.d.cts} +0 -0
- /package/dist/monitorSlice/{selectors.d.mts → selectors.d.cts} +0 -0
- /package/dist/monitorSlice/{thunks.d.mts → thunks.d.cts} +0 -0
- /package/dist/onboardingSlice/{constants.d.mts → constants.d.cts} +0 -0
- /package/dist/onboardingSlice/{index.d.mts → index.d.cts} +0 -0
- /package/dist/onboardingSlice/{selectors.d.mts → selectors.d.cts} +0 -0
- /package/dist/onboardingSlice/{thunks.d.mts → thunks.d.cts} +0 -0
- /package/dist/organizationSlice/{constants.d.mts → constants.d.cts} +0 -0
- /package/dist/organizationSlice/{index.d.mts → index.d.cts} +0 -0
- /package/dist/organizationSlice/{selectors.d.mts → selectors.d.cts} +0 -0
- /package/dist/organizationSlice/{thunks.d.mts → thunks.d.cts} +0 -0
- /package/dist/releasesSlice/{constants.d.mts → constants.d.cts} +0 -0
- /package/dist/releasesSlice/{index.d.mts → index.d.cts} +0 -0
- /package/dist/releasesSlice/{selectors.d.mts → selectors.d.cts} +0 -0
- /package/dist/releasesSlice/{thunks.d.mts → thunks.d.cts} +0 -0
- /package/dist/{store.d.mts → store.d.cts} +0 -0
- /package/dist/{storehooks.d.mts → storehooks.d.cts} +0 -0
- /package/dist/usersSlice/{constants.d.mts → constants.d.cts} +0 -0
- /package/dist/usersSlice/{index.d.mts → index.d.cts} +0 -0
- /package/dist/usersSlice/{selectors.d.mts → selectors.d.cts} +0 -0
- /package/dist/usersSlice/{thunks.d.mts → thunks.d.cts} +0 -0
|
@@ -1,204 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defProps = Object.defineProperties;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
-
var __spreadValues = (a, b) => {
|
|
12
|
-
for (var prop in b || (b = {}))
|
|
13
|
-
if (__hasOwnProp.call(b, prop))
|
|
14
|
-
__defNormalProp(a, prop, b[prop]);
|
|
15
|
-
if (__getOwnPropSymbols)
|
|
16
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
-
if (__propIsEnum.call(b, prop))
|
|
18
|
-
__defNormalProp(a, prop, b[prop]);
|
|
19
|
-
}
|
|
20
|
-
return a;
|
|
21
|
-
};
|
|
22
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
-
var __export = (target, all) => {
|
|
24
|
-
for (var name in all)
|
|
25
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
26
|
-
};
|
|
27
|
-
var __copyProps = (to, from, except, desc) => {
|
|
28
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
29
|
-
for (let key of __getOwnPropNames(from))
|
|
30
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
31
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
32
|
-
}
|
|
33
|
-
return to;
|
|
34
|
-
};
|
|
35
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
|
-
|
|
37
|
-
// src/appSlice/constants.ts
|
|
38
|
-
var constants_exports = {};
|
|
39
|
-
__export(constants_exports, {
|
|
40
|
-
ADDONS: () => ADDONS,
|
|
41
|
-
APPLICATION_JSON_CONTENT_TYPE: () => APPLICATION_JSON_CONTENT_TYPE,
|
|
42
|
-
APPLICATION_JWT_CONTENT_TYPE: () => APPLICATION_JWT_CONTENT_TYPE,
|
|
43
|
-
BEGINNING_OF_TIME: () => BEGINNING_OF_TIME,
|
|
44
|
-
BENEFITS: () => BENEFITS,
|
|
45
|
-
DARK_MODE: () => DARK_MODE,
|
|
46
|
-
LIGHT_MODE: () => LIGHT_MODE,
|
|
47
|
-
PLANS: () => PLANS,
|
|
48
|
-
apiRoot: () => apiRoot,
|
|
49
|
-
apiUrl: () => apiUrl,
|
|
50
|
-
canAccess: () => canAccess,
|
|
51
|
-
chartTypes: () => chartTypes,
|
|
52
|
-
defaultReportType: () => defaultReportType,
|
|
53
|
-
defaultReports: () => defaultReports,
|
|
54
|
-
emptyChartSelection: () => emptyChartSelection,
|
|
55
|
-
headerNames: () => headerNames,
|
|
56
|
-
locations: () => locations,
|
|
57
|
-
yes: () => yes
|
|
58
|
-
});
|
|
59
|
-
module.exports = __toCommonJS(constants_exports);
|
|
60
|
-
var import_icons_material = require("@mui/icons-material");
|
|
61
|
-
var startingDeviceCount = {
|
|
62
|
-
os: "for first 50 devices",
|
|
63
|
-
professional: "for first 250 devices"
|
|
64
|
-
};
|
|
65
|
-
var apiRoot = "/api/management";
|
|
66
|
-
var apiUrl = {
|
|
67
|
-
v1: `${apiRoot}/v1`,
|
|
68
|
-
v2: `${apiRoot}/v2`
|
|
69
|
-
};
|
|
70
|
-
var headerNames = {
|
|
71
|
-
link: "link",
|
|
72
|
-
location: "location",
|
|
73
|
-
total: "x-total-count"
|
|
74
|
-
};
|
|
75
|
-
var chartTypes = {
|
|
76
|
-
bar: { key: "bar", Icon: import_icons_material.BarChart },
|
|
77
|
-
pie: { key: "pie", Icon: import_icons_material.PieChartOutline }
|
|
78
|
-
};
|
|
79
|
-
var emptyChartSelection = { software: "", group: "", chartType: chartTypes.bar.key, attribute: "artifact_name" };
|
|
80
|
-
var defaultReportType = "distribution";
|
|
81
|
-
var defaultReports = [__spreadProps(__spreadValues({}, emptyChartSelection), { group: null, attribute: "artifact_name", type: defaultReportType })];
|
|
82
|
-
var BEGINNING_OF_TIME = "2016-01-01T00:00:00.000Z";
|
|
83
|
-
var locations = {};
|
|
84
|
-
var PLANS = {
|
|
85
|
-
os: {
|
|
86
|
-
id: "os",
|
|
87
|
-
name: "Basic",
|
|
88
|
-
offer: true,
|
|
89
|
-
price: "$32/month",
|
|
90
|
-
deviceCount: startingDeviceCount.os,
|
|
91
|
-
offerprice: "$23/month for first 50 devices",
|
|
92
|
-
price2: "for first 6 months;\n$29/month thereafter",
|
|
93
|
-
features: ["Basic OTA features"]
|
|
94
|
-
},
|
|
95
|
-
professional: {
|
|
96
|
-
id: "professional",
|
|
97
|
-
name: "Professional",
|
|
98
|
-
offer: true,
|
|
99
|
-
price: "$269/month",
|
|
100
|
-
deviceCount: startingDeviceCount.professional,
|
|
101
|
-
offerprice: "$200/month for first 50 devices",
|
|
102
|
-
price2: "for first 6 months;\n$249/month thereafter",
|
|
103
|
-
features: ["+ Advanced OTA features", "+ Standard support"]
|
|
104
|
-
},
|
|
105
|
-
enterprise: {
|
|
106
|
-
id: "enterprise",
|
|
107
|
-
name: "Enterprise",
|
|
108
|
-
price: "Custom pricing",
|
|
109
|
-
deviceCount: "unlimited devices",
|
|
110
|
-
features: ["+ Enterprise-grade OTA features", "+ Premium support"]
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
var ADDONS = {
|
|
114
|
-
configure: {
|
|
115
|
-
id: "configure",
|
|
116
|
-
title: "Configure",
|
|
117
|
-
description: "Expand your plan with device configuration features",
|
|
118
|
-
needs: ["hasDeviceConfig"],
|
|
119
|
-
os: {
|
|
120
|
-
price: "$11/month",
|
|
121
|
-
deviceCount: startingDeviceCount.os
|
|
122
|
-
},
|
|
123
|
-
professional: {
|
|
124
|
-
price: "$65/month",
|
|
125
|
-
deviceCount: startingDeviceCount.professional
|
|
126
|
-
},
|
|
127
|
-
eligible: ["os", "professional", "enterprise"]
|
|
128
|
-
},
|
|
129
|
-
troubleshoot: {
|
|
130
|
-
id: "troubleshoot",
|
|
131
|
-
title: "Troubleshoot",
|
|
132
|
-
description: "Expand your plan with device troubleshooting features",
|
|
133
|
-
needs: ["hasDeviceConnect"],
|
|
134
|
-
os: {
|
|
135
|
-
price: "$27/month",
|
|
136
|
-
deviceCount: startingDeviceCount.os
|
|
137
|
-
},
|
|
138
|
-
professional: {
|
|
139
|
-
price: "$72/month",
|
|
140
|
-
deviceCount: startingDeviceCount.professional
|
|
141
|
-
},
|
|
142
|
-
eligible: ["os", "professional", "enterprise"]
|
|
143
|
-
},
|
|
144
|
-
monitor: {
|
|
145
|
-
id: "monitor",
|
|
146
|
-
title: "Monitor",
|
|
147
|
-
description: "Expand your plan with device monitoring features",
|
|
148
|
-
needs: ["hasMonitor"],
|
|
149
|
-
os: {
|
|
150
|
-
price: "-",
|
|
151
|
-
deviceCount: "-"
|
|
152
|
-
},
|
|
153
|
-
professional: {
|
|
154
|
-
price: "$86/month",
|
|
155
|
-
deviceCount: startingDeviceCount.professional
|
|
156
|
-
},
|
|
157
|
-
eligible: ["professional", "enterprise"]
|
|
158
|
-
}
|
|
159
|
-
};
|
|
160
|
-
var BENEFITS = {
|
|
161
|
-
auditlog: { id: "auditlog", benefit: "trace change across your devices and access troubleshooting session replay", requiredPlan: PLANS.professional.id },
|
|
162
|
-
dashboard: { id: "dashboard", benefit: "actionable insights into the devices you are updating with Mender", requiredPlan: PLANS.enterprise.id },
|
|
163
|
-
deltaGeneration: {
|
|
164
|
-
id: "deltaGeneration",
|
|
165
|
-
benefit: "automatic delta artifacts generation to minimize data transfer and improve the update delivery",
|
|
166
|
-
requiredPlan: PLANS.enterprise.id
|
|
167
|
-
},
|
|
168
|
-
deviceConfiguration: { id: "deviceConfiguration", benefit: "device configuration features", requiredAddon: ADDONS.configure.id },
|
|
169
|
-
deviceMonitor: { id: "deviceMonitor", benefit: "device monitoring features", requiredAddon: ADDONS.monitor.id, requiredPlan: PLANS.professional.id },
|
|
170
|
-
deviceTroubleshoot: { id: "deviceTroubleshoot", benefit: "device troubleshooting features", requiredAddon: ADDONS.troubleshoot.id },
|
|
171
|
-
dynamicGroups: { id: "dynamicGroups", benefit: "create dynamic groups to ease device management", requiredPlan: PLANS.enterprise.id },
|
|
172
|
-
fullFiltering: { id: "fullFiltering", benefit: "filtering by multiple attributes to improve the device overview", requiredPlan: PLANS.professional.id },
|
|
173
|
-
gateway: { id: "gateway", benefit: "see devices connected to your gateway device for easy access", requiredPlans: PLANS.professional.id },
|
|
174
|
-
pausedDeployments: {
|
|
175
|
-
id: "pausedDeployments",
|
|
176
|
-
benefit: "granular control about update rollout to allow synchronization across your fleet",
|
|
177
|
-
requiredPlan: PLANS.enterprise.id
|
|
178
|
-
},
|
|
179
|
-
phasedDeployments: { id: "phasedDeployments", benefit: "choose to roll out deployments in multiple phases", requiredPlan: PLANS.enterprise.id },
|
|
180
|
-
rbac: { id: "rbac", benefit: "granular role based access control", requiredPlan: PLANS.enterprise.id },
|
|
181
|
-
retryDeployments: { id: "retryDeployments", benefit: "optional retries for failed rollout attempts", requiredPlan: PLANS.professional.id },
|
|
182
|
-
scheduledDeployments: {
|
|
183
|
-
id: "scheduledDeployments",
|
|
184
|
-
benefit: "scheduled deployments to steer the distribution of your updates.",
|
|
185
|
-
requiredPlan: PLANS.professional.id
|
|
186
|
-
},
|
|
187
|
-
webhookEvents: {
|
|
188
|
-
id: "webhookEvents",
|
|
189
|
-
benefit: "receive inventory events and select which type(s) of events the webhook will receive",
|
|
190
|
-
requiredPlan: PLANS.professional.id
|
|
191
|
-
},
|
|
192
|
-
default: { id: "default", benefit: "gain access to this feature", requiredPlan: PLANS.enterprise.id }
|
|
193
|
-
};
|
|
194
|
-
var yes = () => true;
|
|
195
|
-
var canAccess = yes;
|
|
196
|
-
var DARK_MODE = "dark";
|
|
197
|
-
var LIGHT_MODE = "light";
|
|
198
|
-
var APPLICATION_JSON_CONTENT_TYPE = "application/json";
|
|
199
|
-
var APPLICATION_JWT_CONTENT_TYPE = "application/jwt";
|
|
200
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
201
|
-
0 && (module.exports = {
|
|
1
|
+
import {
|
|
202
2
|
ADDONS,
|
|
203
3
|
APPLICATION_JSON_CONTENT_TYPE,
|
|
204
4
|
APPLICATION_JWT_CONTENT_TYPE,
|
|
@@ -217,5 +17,25 @@ var APPLICATION_JWT_CONTENT_TYPE = "application/jwt";
|
|
|
217
17
|
headerNames,
|
|
218
18
|
locations,
|
|
219
19
|
yes
|
|
220
|
-
}
|
|
20
|
+
} from "../chunk-25AKG5HH.js";
|
|
21
|
+
export {
|
|
22
|
+
ADDONS,
|
|
23
|
+
APPLICATION_JSON_CONTENT_TYPE,
|
|
24
|
+
APPLICATION_JWT_CONTENT_TYPE,
|
|
25
|
+
BEGINNING_OF_TIME,
|
|
26
|
+
BENEFITS,
|
|
27
|
+
DARK_MODE,
|
|
28
|
+
LIGHT_MODE,
|
|
29
|
+
PLANS,
|
|
30
|
+
apiRoot,
|
|
31
|
+
apiUrl,
|
|
32
|
+
canAccess,
|
|
33
|
+
chartTypes,
|
|
34
|
+
defaultReportType,
|
|
35
|
+
defaultReports,
|
|
36
|
+
emptyChartSelection,
|
|
37
|
+
headerNames,
|
|
38
|
+
locations,
|
|
39
|
+
yes
|
|
40
|
+
};
|
|
221
41
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/appSlice/index.ts
|
|
21
|
+
var appSlice_exports = {};
|
|
22
|
+
__export(appSlice_exports, {
|
|
23
|
+
actions: () => actions,
|
|
24
|
+
appSlice: () => appSlice,
|
|
25
|
+
default: () => appSlice_default,
|
|
26
|
+
initialState: () => initialState,
|
|
27
|
+
sliceName: () => sliceName
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(appSlice_exports);
|
|
30
|
+
|
|
31
|
+
// src/commonConstants.tsx
|
|
32
|
+
var import_js = require("@mdi/js");
|
|
33
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
|
+
var timeUnits = {
|
|
35
|
+
days: "days",
|
|
36
|
+
minutes: "minutes",
|
|
37
|
+
hours: "hours"
|
|
38
|
+
};
|
|
39
|
+
var DEVICE_FILTERING_OPTIONS = {
|
|
40
|
+
$eq: { key: "$eq", title: "equals", shortform: "=" },
|
|
41
|
+
$ne: { key: "$ne", title: "not equal", shortform: "!=" },
|
|
42
|
+
$gt: {
|
|
43
|
+
key: "$gt",
|
|
44
|
+
title: ">",
|
|
45
|
+
shortform: ">",
|
|
46
|
+
help: 'The "greater than" operator can work both on numbers and strings. In the latter case, the operator applies the lexicographical order to the value strings.'
|
|
47
|
+
},
|
|
48
|
+
$gte: {
|
|
49
|
+
title: ">=",
|
|
50
|
+
shortform: ">=",
|
|
51
|
+
help: 'The "greater than or equal" operator can work both on numbers and strings. In the latter case, the operator applies the lexicographical order to the value strings.'
|
|
52
|
+
},
|
|
53
|
+
$lt: {
|
|
54
|
+
key: "$lt",
|
|
55
|
+
title: "<",
|
|
56
|
+
shortform: "<",
|
|
57
|
+
help: 'The "lesser than" operator can work both on numbers and strings. In the latter case, the operator applies the lexicographical order to the value strings.'
|
|
58
|
+
},
|
|
59
|
+
$lte: {
|
|
60
|
+
title: "<=",
|
|
61
|
+
shortform: "<=",
|
|
62
|
+
help: 'The "lesser than or equal" operator can work both on numbers and strings. In the latter case, the operator applies the lexicographical order to the value strings.'
|
|
63
|
+
},
|
|
64
|
+
$ltne: {
|
|
65
|
+
key: "$ltne",
|
|
66
|
+
title: "$ltne",
|
|
67
|
+
shortform: "ltne",
|
|
68
|
+
help: 'The "lesser than or does not exist" operator can work both on numbers and strings. In the latter case, the operator applies the lexicographical order to the value strings.'
|
|
69
|
+
},
|
|
70
|
+
$in: {
|
|
71
|
+
key: "$in",
|
|
72
|
+
title: "in",
|
|
73
|
+
shortform: "in",
|
|
74
|
+
help: 'The "in" operator accepts a list of comma-separated values. It matches if the selected field is equal to one of the specified values.'
|
|
75
|
+
},
|
|
76
|
+
$nin: {
|
|
77
|
+
key: "$nin",
|
|
78
|
+
title: "not in",
|
|
79
|
+
shortform: "not in",
|
|
80
|
+
help: `The "not in" operator accepts a list of comma-separated values. It matches if the selected field's value is not equal to any of the specified options.`
|
|
81
|
+
},
|
|
82
|
+
$exists: {
|
|
83
|
+
key: "$exists",
|
|
84
|
+
title: "exists",
|
|
85
|
+
shortform: "exists",
|
|
86
|
+
value: true,
|
|
87
|
+
help: `The "exists" operator matches if the selected field's value has a value. No value needs to be provided for this operator.`
|
|
88
|
+
},
|
|
89
|
+
$nexists: {
|
|
90
|
+
key: "$nexists",
|
|
91
|
+
title: `doesn't exist`,
|
|
92
|
+
shortform: `doesn't exist`,
|
|
93
|
+
value: true,
|
|
94
|
+
help: `The "doesn't exist" operator matches if the selected field's value has no value. No value needs to be provided for this operator.`
|
|
95
|
+
},
|
|
96
|
+
$regex: {
|
|
97
|
+
key: "$regex",
|
|
98
|
+
title: `matches regular expression`,
|
|
99
|
+
shortform: `matches`,
|
|
100
|
+
help: `The "regular expression" operator matches the selected field's value with a Perl compatible regular expression (PCRE), automatically anchored by ^. If the regular expression is not valid, the filter will produce no results. If you need to specify options and flags, you can provide the full regex in the format of /regex/flags, for example.`
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
var DEVICE_ISSUE_OPTIONS = {
|
|
104
|
+
issues: {
|
|
105
|
+
isCategory: true,
|
|
106
|
+
key: "issues",
|
|
107
|
+
title: "Devices with issues",
|
|
108
|
+
filterRule: {}
|
|
109
|
+
},
|
|
110
|
+
offline: {
|
|
111
|
+
issueCategory: "issues",
|
|
112
|
+
key: "offline",
|
|
113
|
+
needsFullFiltering: true,
|
|
114
|
+
needsMonitor: false,
|
|
115
|
+
needsReporting: false,
|
|
116
|
+
filterRule: {
|
|
117
|
+
scope: "system",
|
|
118
|
+
key: "check_in_time",
|
|
119
|
+
operator: DEVICE_FILTERING_OPTIONS.$ltne.key,
|
|
120
|
+
value: ({ offlineThreshold }) => offlineThreshold
|
|
121
|
+
},
|
|
122
|
+
title: "Offline devices"
|
|
123
|
+
},
|
|
124
|
+
failedLastUpdate: {
|
|
125
|
+
issueCategory: "issues",
|
|
126
|
+
key: "failedLastUpdate",
|
|
127
|
+
needsFullFiltering: false,
|
|
128
|
+
needsMonitor: false,
|
|
129
|
+
needsReporting: true,
|
|
130
|
+
filterRule: { scope: "monitor", key: "failed_last_update", operator: DEVICE_FILTERING_OPTIONS.$eq.key, value: true },
|
|
131
|
+
title: "Deployment failed"
|
|
132
|
+
},
|
|
133
|
+
monitoring: {
|
|
134
|
+
issueCategory: "issues",
|
|
135
|
+
key: "monitoring",
|
|
136
|
+
needsFullFiltering: false,
|
|
137
|
+
needsMonitor: true,
|
|
138
|
+
needsReporting: false,
|
|
139
|
+
filterRule: { scope: "monitor", key: "alerts", operator: DEVICE_FILTERING_OPTIONS.$eq.key, value: true },
|
|
140
|
+
title: "Monitoring alert"
|
|
141
|
+
},
|
|
142
|
+
authRequests: {
|
|
143
|
+
key: "authRequests",
|
|
144
|
+
needsFullFiltering: false,
|
|
145
|
+
needsMonitor: false,
|
|
146
|
+
needsReporting: true,
|
|
147
|
+
filterRule: { scope: "monitor", key: "auth_requests", operator: DEVICE_FILTERING_OPTIONS.$gt.key, value: 1 },
|
|
148
|
+
title: "Devices with new authentication requests"
|
|
149
|
+
},
|
|
150
|
+
gatewayDevices: {
|
|
151
|
+
key: "gatewayDevices",
|
|
152
|
+
needsFullFiltering: false,
|
|
153
|
+
needsMonitor: false,
|
|
154
|
+
needsReporting: true,
|
|
155
|
+
filterRule: { scope: "inventory", key: "mender_is_gateway", operator: DEVICE_FILTERING_OPTIONS.$eq.key, value: "true" },
|
|
156
|
+
title: "Gateway devices"
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
var oneSecond = 1e3;
|
|
160
|
+
var TIMEOUTS = {
|
|
161
|
+
debounceDefault: 700,
|
|
162
|
+
debounceShort: 300,
|
|
163
|
+
halfASecond: 0.5 * oneSecond,
|
|
164
|
+
oneSecond,
|
|
165
|
+
twoSeconds: 2 * oneSecond,
|
|
166
|
+
threeSeconds: 3 * oneSecond,
|
|
167
|
+
fiveSeconds: 5 * oneSecond,
|
|
168
|
+
refreshDefault: 10 * oneSecond,
|
|
169
|
+
refreshLong: 60 * oneSecond
|
|
170
|
+
};
|
|
171
|
+
var SORTING_OPTIONS = {
|
|
172
|
+
asc: "asc",
|
|
173
|
+
desc: "desc"
|
|
174
|
+
};
|
|
175
|
+
var DEVICE_ONLINE_CUTOFF = { interval: 1, intervalName: timeUnits.days };
|
|
176
|
+
var ATTRIBUTE_SCOPES = {
|
|
177
|
+
inventory: "inventory",
|
|
178
|
+
identity: "identity",
|
|
179
|
+
monitor: "monitor",
|
|
180
|
+
system: "system",
|
|
181
|
+
tags: "tags"
|
|
182
|
+
};
|
|
183
|
+
var defaultIdAttribute = Object.freeze({ attribute: "id", scope: ATTRIBUTE_SCOPES.identity });
|
|
184
|
+
var credentialTypes = {
|
|
185
|
+
aws: "aws",
|
|
186
|
+
http: "http",
|
|
187
|
+
sas: "sas",
|
|
188
|
+
x509: "x509"
|
|
189
|
+
};
|
|
190
|
+
var EXTERNAL_PROVIDER = {
|
|
191
|
+
"iot-core": {
|
|
192
|
+
credentialsType: credentialTypes.aws,
|
|
193
|
+
icon: import_js.mdiAws,
|
|
194
|
+
title: "AWS IoT Core",
|
|
195
|
+
twinTitle: "Device Shadow",
|
|
196
|
+
provider: "iot-core",
|
|
197
|
+
enabled: true,
|
|
198
|
+
deviceTwin: true,
|
|
199
|
+
configHint: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: "For help finding your AWS IoT Core connection string, check the AWS IoT documentation." })
|
|
200
|
+
},
|
|
201
|
+
"iot-hub": {
|
|
202
|
+
credentialsType: credentialTypes.sas,
|
|
203
|
+
icon: import_js.mdiMicrosoftAzure,
|
|
204
|
+
title: "Azure IoT Hub",
|
|
205
|
+
twinTitle: "Device Twin",
|
|
206
|
+
provider: "iot-hub",
|
|
207
|
+
enabled: true,
|
|
208
|
+
deviceTwin: true,
|
|
209
|
+
configHint: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [
|
|
210
|
+
"For help finding your Azure IoT Hub connection string, look under 'Shared access policies' in the Microsoft Azure UI as described",
|
|
211
|
+
" ",
|
|
212
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
213
|
+
"a",
|
|
214
|
+
{
|
|
215
|
+
href: "https://devblogs.microsoft.com/iotdev/understand-different-connection-strings-in-azure-iot-hub/#iothubconn",
|
|
216
|
+
target: "_blank",
|
|
217
|
+
rel: "noopener noreferrer",
|
|
218
|
+
children: "here"
|
|
219
|
+
}
|
|
220
|
+
),
|
|
221
|
+
"."
|
|
222
|
+
] })
|
|
223
|
+
},
|
|
224
|
+
webhook: {
|
|
225
|
+
credentialsType: credentialTypes.http,
|
|
226
|
+
deviceTwin: false,
|
|
227
|
+
// disable the webhook provider here, since it is treated different than other integrations, with a custom configuration & management view, etc.
|
|
228
|
+
enabled: false,
|
|
229
|
+
provider: "webhook"
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
var emptyUiPermissions = Object.freeze({
|
|
233
|
+
auditlog: [],
|
|
234
|
+
deployments: [],
|
|
235
|
+
groups: Object.freeze({}),
|
|
236
|
+
releases: Object.freeze({}),
|
|
237
|
+
tenantManagement: [],
|
|
238
|
+
userManagement: []
|
|
239
|
+
});
|
|
240
|
+
var emptyRole = Object.freeze({
|
|
241
|
+
name: void 0,
|
|
242
|
+
description: "",
|
|
243
|
+
permissions: [],
|
|
244
|
+
uiPermissions: Object.freeze({ ...emptyUiPermissions })
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
// src/appSlice/index.ts
|
|
248
|
+
var import_toolkit = require("@reduxjs/toolkit");
|
|
249
|
+
var sliceName = "app";
|
|
250
|
+
var getYesterday = () => {
|
|
251
|
+
const today = /* @__PURE__ */ new Date();
|
|
252
|
+
today.setDate(today.getDate() - 1);
|
|
253
|
+
return today.toISOString();
|
|
254
|
+
};
|
|
255
|
+
var initialState = {
|
|
256
|
+
cancelSource: void 0,
|
|
257
|
+
demoArtifactLink: "https://dgsbl4vditpls.cloudfront.net/mender-demo-artifact.mender",
|
|
258
|
+
hostAddress: null,
|
|
259
|
+
snackbar: {
|
|
260
|
+
open: false,
|
|
261
|
+
message: "",
|
|
262
|
+
maxWidth: 900,
|
|
263
|
+
autoHideDuration: void 0,
|
|
264
|
+
action: void 0,
|
|
265
|
+
children: void 0,
|
|
266
|
+
onClick: void 0,
|
|
267
|
+
onClose: void 0
|
|
268
|
+
},
|
|
269
|
+
// return boolean rather than organization details
|
|
270
|
+
features: {
|
|
271
|
+
hasAuditlogs: false,
|
|
272
|
+
hasDeltaProgress: false,
|
|
273
|
+
hasMultitenancy: false,
|
|
274
|
+
hasDeviceConfig: false,
|
|
275
|
+
hasDeviceConnect: false,
|
|
276
|
+
hasFeedbackEnabled: false,
|
|
277
|
+
hasMonitor: false,
|
|
278
|
+
hasReporting: false,
|
|
279
|
+
isDemoMode: false,
|
|
280
|
+
isHosted: false,
|
|
281
|
+
isEnterprise: false
|
|
282
|
+
},
|
|
283
|
+
feedbackProbability: 0.3,
|
|
284
|
+
firstLoginAfterSignup: false,
|
|
285
|
+
hostedAnnouncement: "",
|
|
286
|
+
docsVersion: "",
|
|
287
|
+
recaptchaSiteKey: "",
|
|
288
|
+
searchState: {
|
|
289
|
+
deviceIds: [],
|
|
290
|
+
searchTerm: "",
|
|
291
|
+
searchTotal: 0,
|
|
292
|
+
sort: {
|
|
293
|
+
direction: SORTING_OPTIONS.desc
|
|
294
|
+
// key: null,
|
|
295
|
+
// scope: null
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
stripeAPIKey: "",
|
|
299
|
+
trackerCode: "",
|
|
300
|
+
uploadsById: {
|
|
301
|
+
// id: { uploading: false, uploadProgress: 0, cancelSource: undefined }
|
|
302
|
+
},
|
|
303
|
+
newThreshold: getYesterday(),
|
|
304
|
+
offlineThreshold: getYesterday(),
|
|
305
|
+
versionInformation: {
|
|
306
|
+
Integration: "",
|
|
307
|
+
"Mender-Client": "",
|
|
308
|
+
"Mender-Artifact": "",
|
|
309
|
+
"Meta-Mender": "",
|
|
310
|
+
Deployments: "",
|
|
311
|
+
Deviceauth: "",
|
|
312
|
+
Inventory: "",
|
|
313
|
+
GUI: "latest"
|
|
314
|
+
},
|
|
315
|
+
yesterday: void 0
|
|
316
|
+
};
|
|
317
|
+
var appSlice = (0, import_toolkit.createSlice)({
|
|
318
|
+
name: sliceName,
|
|
319
|
+
initialState,
|
|
320
|
+
reducers: {
|
|
321
|
+
setFeatures: (state, action) => {
|
|
322
|
+
state.features = {
|
|
323
|
+
...state.features,
|
|
324
|
+
...action.payload
|
|
325
|
+
};
|
|
326
|
+
},
|
|
327
|
+
setSnackbar: (state, { payload }) => {
|
|
328
|
+
let { message, autoHideDuration, action, children, onClick, onClose } = payload;
|
|
329
|
+
if (typeof payload === "string" || payload instanceof String) {
|
|
330
|
+
message = payload;
|
|
331
|
+
}
|
|
332
|
+
state.snackbar = {
|
|
333
|
+
open: message ? true : false,
|
|
334
|
+
message,
|
|
335
|
+
maxWidth: 900,
|
|
336
|
+
autoHideDuration,
|
|
337
|
+
action,
|
|
338
|
+
children,
|
|
339
|
+
onClick,
|
|
340
|
+
onClose
|
|
341
|
+
};
|
|
342
|
+
},
|
|
343
|
+
setFirstLoginAfterSignup: (state, action) => {
|
|
344
|
+
state.firstLoginAfterSignup = action.payload;
|
|
345
|
+
},
|
|
346
|
+
setAnnouncement: (state, action) => {
|
|
347
|
+
state.hostedAnnouncement = action.payload;
|
|
348
|
+
},
|
|
349
|
+
setSearchState: (state, action) => {
|
|
350
|
+
state.searchState = {
|
|
351
|
+
...state.searchState,
|
|
352
|
+
...action.payload
|
|
353
|
+
};
|
|
354
|
+
},
|
|
355
|
+
setOfflineThreshold: (state, action) => {
|
|
356
|
+
state.offlineThreshold = action.payload;
|
|
357
|
+
},
|
|
358
|
+
initUpload: (state, action) => {
|
|
359
|
+
const { id, upload } = action.payload;
|
|
360
|
+
state.uploadsById[id] = upload;
|
|
361
|
+
},
|
|
362
|
+
uploadProgress: (state, action) => {
|
|
363
|
+
const { id, progress } = action.payload;
|
|
364
|
+
state.uploadsById[id] = {
|
|
365
|
+
...state.uploadsById[id],
|
|
366
|
+
progress
|
|
367
|
+
};
|
|
368
|
+
},
|
|
369
|
+
cleanUpUpload: (state, action) => {
|
|
370
|
+
const { [action.payload]: current, ...remainder } = state.uploadsById;
|
|
371
|
+
state.uploadsById = remainder;
|
|
372
|
+
},
|
|
373
|
+
setVersionInformation: (state, action) => {
|
|
374
|
+
state.versionInformation = {
|
|
375
|
+
...state.versionInformation,
|
|
376
|
+
...action.payload
|
|
377
|
+
};
|
|
378
|
+
},
|
|
379
|
+
setEnvironmentData: (state, action) => {
|
|
380
|
+
return { ...state, ...action.payload };
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
});
|
|
384
|
+
var actions = appSlice.actions;
|
|
385
|
+
var appSlice_default = appSlice.reducer;
|
|
386
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
387
|
+
0 && (module.exports = {
|
|
388
|
+
actions,
|
|
389
|
+
appSlice,
|
|
390
|
+
initialState,
|
|
391
|
+
sliceName
|
|
392
|
+
});
|
|
393
|
+
//# sourceMappingURL=index.cjs.map
|