@northern.tech/store 0.3.4 → 0.4.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 +78 -827
- package/dist/actions.cjs.map +1 -1
- package/dist/actions.d.cts +229 -85
- package/dist/actions.d.ts +229 -85
- package/dist/actions.js +14 -14
- package/dist/api/general-api.cjs +274 -148
- package/dist/api/general-api.cjs.map +1 -1
- package/dist/api/general-api.d.cts +1 -1
- package/dist/api/general-api.d.ts +1 -1
- package/dist/api/general-api.js +7 -7
- package/dist/api/users-api.cjs +274 -148
- package/dist/api/users-api.cjs.map +1 -1
- package/dist/api/users-api.d.cts +7 -5
- package/dist/api/users-api.d.ts +7 -5
- package/dist/api/users-api.js +8 -8
- package/dist/appSlice/constants.cjs +23 -43
- package/dist/appSlice/constants.cjs.map +1 -1
- package/dist/appSlice/constants.d.cts +102 -112
- package/dist/appSlice/constants.d.ts +102 -112
- package/dist/appSlice/constants.js +1 -11
- package/dist/appSlice/index.cjs +24 -239
- package/dist/appSlice/index.cjs.map +1 -1
- package/dist/appSlice/index.d.cts +119 -1531
- package/dist/appSlice/index.d.ts +119 -1531
- package/dist/appSlice/index.js +6 -6
- package/dist/appSlice/mocks.cjs +186 -0
- package/dist/appSlice/mocks.cjs.map +1 -0
- package/dist/appSlice/mocks.d.cts +39 -0
- package/dist/appSlice/mocks.d.ts +39 -0
- package/dist/appSlice/mocks.js +27 -0
- package/dist/appSlice/mocks.js.map +1 -0
- package/dist/appSlice/selectors.cjs +31 -5
- package/dist/appSlice/selectors.cjs.map +1 -1
- package/dist/appSlice/selectors.d.cts +709 -23
- package/dist/appSlice/selectors.d.ts +709 -23
- package/dist/appSlice/selectors.js +21 -1
- package/dist/appSlice/thunks.cjs +1552 -1769
- package/dist/appSlice/thunks.cjs.map +1 -1
- package/dist/appSlice/thunks.d.cts +34 -14
- package/dist/appSlice/thunks.d.ts +34 -14
- package/dist/appSlice/thunks.js +31 -31
- package/dist/auth.cjs +276 -153
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.d.cts +13 -10
- package/dist/auth.d.ts +13 -10
- package/dist/auth.js +6 -8
- package/dist/{chunk-CK6YE6AN.js → chunk-2DYA3X77.js} +3 -1
- package/dist/{chunk-CK6YE6AN.js.map → chunk-2DYA3X77.js.map} +1 -1
- package/dist/{chunk-JO33IORF.js → chunk-4TUJPE6G.js} +19 -4
- package/dist/chunk-4TUJPE6G.js.map +1 -0
- package/dist/{chunk-AFICTIVU.js → chunk-6KGTHJKC.js} +22 -24
- package/dist/chunk-6KGTHJKC.js.map +1 -0
- package/dist/chunk-7C4SQBEE.js +715 -0
- package/dist/chunk-7C4SQBEE.js.map +1 -0
- package/dist/{chunk-X3GZILYD.js → chunk-ABJLRDCO.js} +10 -11
- package/dist/chunk-ABJLRDCO.js.map +1 -0
- package/dist/{chunk-PAIB5V27.js → chunk-CW5T6OGF.js} +56 -22
- package/dist/chunk-CW5T6OGF.js.map +1 -0
- package/dist/{chunk-MRCFLG45.js → chunk-FAJ3I2UQ.js} +2 -1
- package/dist/chunk-FAJ3I2UQ.js.map +1 -0
- package/dist/{chunk-FVCYB5OP.js → chunk-IQG5I7AM.js} +32 -40
- package/dist/chunk-IQG5I7AM.js.map +1 -0
- package/dist/chunk-JUGE7L3K.js +110 -0
- package/dist/chunk-JUGE7L3K.js.map +1 -0
- package/dist/{chunk-ZWOAFHAR.js → chunk-JXQUFKID.js} +2 -2
- package/dist/chunk-JXQUFKID.js.map +1 -0
- package/dist/{chunk-K4MMUDYT.js → chunk-KC7SKI3U.js} +9 -11
- package/dist/chunk-KC7SKI3U.js.map +1 -0
- package/dist/{chunk-L3SY3J5M.js → chunk-KJNNEDRV.js} +11 -7
- package/dist/chunk-KJNNEDRV.js.map +1 -0
- package/dist/chunk-MBKAZVE3.js +44 -0
- package/dist/chunk-MBKAZVE3.js.map +1 -0
- package/dist/{chunk-FRSA2YB5.js → chunk-MZNANSS2.js} +12 -7
- package/dist/chunk-MZNANSS2.js.map +1 -0
- package/dist/{chunk-EYCORLYU.js → chunk-N2KLYPS5.js} +128 -87
- package/dist/chunk-N2KLYPS5.js.map +1 -0
- package/dist/{chunk-Y575RZHR.js → chunk-OHF3YUXX.js} +25 -40
- package/dist/chunk-OHF3YUXX.js.map +1 -0
- package/dist/{chunk-NOQR3TE7.js → chunk-OOICURFL.js} +2 -2
- package/dist/chunk-OOICURFL.js.map +1 -0
- package/dist/{chunk-AVX7VVOK.js → chunk-PGFVHKP5.js} +5 -7
- package/dist/chunk-PGFVHKP5.js.map +1 -0
- package/dist/{chunk-NCSKCF2S.js → chunk-QHK7GGV4.js} +3 -3
- package/dist/chunk-QHK7GGV4.js.map +1 -0
- package/dist/{chunk-AUBJUUP3.js → chunk-RS37Y2PQ.js} +3 -3
- package/dist/chunk-RS37Y2PQ.js.map +1 -0
- package/dist/{chunk-7YZCUAXZ.js → chunk-UGSLGUS6.js} +8 -6
- package/dist/chunk-UGSLGUS6.js.map +1 -0
- package/dist/{chunk-ZZMFXRQK.js → chunk-URNS6A5T.js} +14 -14
- package/dist/{chunk-RX32WLVJ.js → chunk-VANBSJS5.js} +1 -1
- package/dist/chunk-VANBSJS5.js.map +1 -0
- package/dist/{chunk-DGQKXSRI.js → chunk-VUFRP6P3.js} +5 -6
- package/dist/chunk-VUFRP6P3.js.map +1 -0
- package/dist/{chunk-DCEKU6UV.js → chunk-X4GUACQO.js} +8 -5
- package/dist/chunk-X4GUACQO.js.map +1 -0
- package/dist/{chunk-GWJIY56H.js → chunk-XWYJACQC.js} +40 -15
- package/dist/chunk-XWYJACQC.js.map +1 -0
- package/dist/{chunk-GAI4VYRZ.js → chunk-ZJW3QIPM.js} +8 -9
- package/dist/chunk-ZJW3QIPM.js.map +1 -0
- package/dist/chunk-ZKAH3APE.js +1 -0
- package/dist/chunk-ZKAH3APE.js.map +1 -0
- package/dist/{chunk-EQLHIPPR.js → chunk-ZN5TB2NJ.js} +919 -842
- package/dist/chunk-ZN5TB2NJ.js.map +1 -0
- package/dist/{chunk-FQDSV3NK.js → chunk-ZRSYBSSY.js} +18 -12
- package/dist/chunk-ZRSYBSSY.js.map +1 -0
- package/dist/commonConstants.cjs +279 -173
- package/dist/commonConstants.cjs.map +1 -1
- package/dist/commonConstants.d.cts +46 -212
- package/dist/commonConstants.d.ts +46 -212
- package/dist/commonConstants.js +11 -19
- package/dist/commonSelectors.cjs +507 -768
- package/dist/commonSelectors.cjs.map +1 -1
- package/dist/commonSelectors.d.cts +4307 -280
- package/dist/commonSelectors.d.ts +4307 -280
- package/dist/commonSelectors.js +14 -14
- package/dist/constants.cjs +355 -655
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.cts +11 -9
- package/dist/constants.d.ts +11 -9
- package/dist/constants.js +37 -29
- package/dist/deploymentsSlice/constants.cjs +5 -360
- package/dist/deploymentsSlice/constants.cjs.map +1 -1
- package/dist/deploymentsSlice/constants.d.cts +59 -39
- package/dist/deploymentsSlice/constants.d.ts +59 -39
- package/dist/deploymentsSlice/constants.js +5 -11
- package/dist/deploymentsSlice/index.cjs +17 -365
- package/dist/deploymentsSlice/index.cjs.map +1 -1
- package/dist/deploymentsSlice/index.d.cts +142 -2359
- package/dist/deploymentsSlice/index.d.ts +142 -2359
- package/dist/deploymentsSlice/index.js +6 -6
- package/dist/deploymentsSlice/mocks.cjs +429 -0
- package/dist/deploymentsSlice/mocks.cjs.map +1 -0
- package/dist/deploymentsSlice/mocks.d.cts +189 -0
- package/dist/deploymentsSlice/mocks.d.ts +189 -0
- package/dist/deploymentsSlice/mocks.js +146 -0
- package/dist/deploymentsSlice/mocks.js.map +1 -0
- package/dist/deploymentsSlice/selectors.cjs +5 -353
- package/dist/deploymentsSlice/selectors.cjs.map +1 -1
- package/dist/deploymentsSlice/selectors.d.cts +167 -11
- package/dist/deploymentsSlice/selectors.d.ts +167 -11
- package/dist/deploymentsSlice/selectors.js +6 -6
- package/dist/deploymentsSlice/thunks.cjs +1518 -1735
- package/dist/deploymentsSlice/thunks.cjs.map +1 -1
- package/dist/deploymentsSlice/thunks.d.cts +134 -76
- package/dist/deploymentsSlice/thunks.d.ts +134 -76
- package/dist/deploymentsSlice/thunks.js +31 -31
- package/dist/devicesSlice/constants.cjs +5 -375
- package/dist/devicesSlice/constants.cjs.map +1 -1
- package/dist/devicesSlice/constants.d.cts +8 -16
- package/dist/devicesSlice/constants.d.ts +8 -16
- package/dist/devicesSlice/constants.js +7 -25
- package/dist/devicesSlice/index.cjs +17 -381
- package/dist/devicesSlice/index.cjs.map +1 -1
- package/dist/devicesSlice/index.d.cts +196 -2208
- package/dist/devicesSlice/index.d.ts +196 -2208
- package/dist/devicesSlice/index.js +6 -6
- package/dist/devicesSlice/mocks.cjs +336 -0
- package/dist/devicesSlice/mocks.cjs.map +1 -0
- package/dist/devicesSlice/mocks.d.cts +154 -0
- package/dist/devicesSlice/mocks.d.ts +154 -0
- package/dist/devicesSlice/mocks.js +136 -0
- package/dist/devicesSlice/mocks.js.map +1 -0
- package/dist/devicesSlice/selectors.cjs +280 -293
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.d.cts +1791 -82
- package/dist/devicesSlice/selectors.d.ts +1791 -82
- package/dist/devicesSlice/selectors.js +8 -6
- package/dist/devicesSlice/thunks.cjs +1699 -1926
- package/dist/devicesSlice/thunks.cjs.map +1 -1
- package/dist/devicesSlice/thunks.d.cts +374 -291
- package/dist/devicesSlice/thunks.d.ts +374 -291
- package/dist/devicesSlice/thunks.js +37 -47
- package/dist/liststatehook.cjs +289 -325
- package/dist/liststatehook.cjs.map +1 -1
- package/dist/liststatehook.d.cts +4 -16
- package/dist/liststatehook.d.ts +4 -16
- package/dist/liststatehook.js +9 -9
- package/dist/liststatehook.js.map +1 -1
- package/dist/locationutils.cjs +286 -322
- package/dist/locationutils.cjs.map +1 -1
- package/dist/locationutils.d.cts +8 -7
- package/dist/locationutils.d.ts +8 -7
- package/dist/locationutils.js +6 -6
- package/dist/monitorSlice/constants.cjs +0 -146
- package/dist/monitorSlice/constants.cjs.map +1 -1
- package/dist/monitorSlice/constants.d.cts +4 -5
- package/dist/monitorSlice/constants.d.ts +4 -5
- package/dist/monitorSlice/constants.js +1 -12
- package/dist/monitorSlice/index.cjs +5 -353
- package/dist/monitorSlice/index.cjs.map +1 -1
- package/dist/monitorSlice/index.d.cts +63 -260
- package/dist/monitorSlice/index.d.ts +63 -260
- package/dist/monitorSlice/index.js +6 -6
- package/dist/monitorSlice/mocks.cjs +130 -0
- package/dist/monitorSlice/mocks.cjs.map +1 -0
- package/dist/monitorSlice/mocks.d.cts +57 -0
- package/dist/monitorSlice/mocks.d.ts +57 -0
- package/dist/monitorSlice/mocks.js +65 -0
- package/dist/monitorSlice/mocks.js.map +1 -0
- package/dist/monitorSlice/thunks.cjs +623 -860
- package/dist/monitorSlice/thunks.cjs.map +1 -1
- package/dist/monitorSlice/thunks.d.cts +90 -21
- package/dist/monitorSlice/thunks.d.ts +90 -21
- package/dist/monitorSlice/thunks.js +27 -27
- package/dist/onboardingSlice/constants.cjs +1 -0
- package/dist/onboardingSlice/constants.cjs.map +1 -1
- package/dist/onboardingSlice/constants.d.cts +23 -20
- package/dist/onboardingSlice/constants.d.ts +23 -20
- package/dist/onboardingSlice/constants.js +1 -1
- package/dist/onboardingSlice/index.cjs.map +1 -1
- package/dist/onboardingSlice/index.d.cts +50 -225
- package/dist/onboardingSlice/index.d.ts +50 -225
- package/dist/onboardingSlice/index.js +1 -1
- package/dist/onboardingSlice/mocks.cjs +83 -0
- package/dist/onboardingSlice/mocks.cjs.map +1 -0
- package/dist/onboardingSlice/mocks.d.cts +19 -0
- package/dist/onboardingSlice/mocks.d.ts +19 -0
- package/dist/onboardingSlice/mocks.js +17 -0
- package/dist/onboardingSlice/mocks.js.map +1 -0
- package/dist/onboardingSlice/thunks.cjs +1771 -1991
- package/dist/onboardingSlice/thunks.cjs.map +1 -1
- package/dist/onboardingSlice/thunks.d.cts +62 -34
- package/dist/onboardingSlice/thunks.d.ts +62 -34
- package/dist/onboardingSlice/thunks.js +31 -31
- package/dist/organizationSlice/constants.cjs +8 -748
- package/dist/organizationSlice/constants.cjs.map +1 -1
- package/dist/organizationSlice/constants.d.cts +36 -116
- package/dist/organizationSlice/constants.d.ts +36 -116
- package/dist/organizationSlice/constants.js +7 -17
- package/dist/organizationSlice/index.cjs +14 -368
- package/dist/organizationSlice/index.cjs.map +1 -1
- package/dist/organizationSlice/index.d.cts +45 -74
- package/dist/organizationSlice/index.d.ts +45 -74
- package/dist/organizationSlice/index.js +6 -6
- package/dist/organizationSlice/mocks.cjs +234 -0
- package/dist/organizationSlice/mocks.cjs.map +1 -0
- package/dist/organizationSlice/mocks.d.cts +107 -0
- package/dist/organizationSlice/mocks.d.ts +107 -0
- package/dist/organizationSlice/mocks.js +101 -0
- package/dist/organizationSlice/mocks.js.map +1 -0
- package/dist/organizationSlice/selectors.cjs +301 -146
- package/dist/organizationSlice/selectors.cjs.map +1 -1
- package/dist/organizationSlice/selectors.d.cts +888 -52
- package/dist/organizationSlice/selectors.d.ts +888 -52
- package/dist/organizationSlice/selectors.js +14 -6
- package/dist/organizationSlice/thunks.cjs +2593 -2730
- package/dist/organizationSlice/thunks.cjs.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +318 -127
- package/dist/organizationSlice/thunks.d.ts +318 -127
- package/dist/organizationSlice/thunks.js +45 -31
- package/dist/organizationSlice/types.cjs.map +1 -1
- package/dist/organizationSlice/types.d.cts +95 -3
- package/dist/organizationSlice/types.d.ts +95 -3
- package/dist/releasesSlice/constants.cjs +3 -0
- package/dist/releasesSlice/constants.cjs.map +1 -1
- package/dist/releasesSlice/constants.d.cts +2 -1
- package/dist/releasesSlice/constants.d.ts +2 -1
- package/dist/releasesSlice/constants.js +3 -1
- package/dist/releasesSlice/index.cjs +5 -222
- package/dist/releasesSlice/index.cjs.map +1 -1
- package/dist/releasesSlice/index.d.cts +52 -473
- package/dist/releasesSlice/index.d.ts +52 -473
- package/dist/releasesSlice/index.js +6 -6
- package/dist/releasesSlice/mocks.cjs +177 -0
- package/dist/releasesSlice/mocks.cjs.map +1 -0
- package/dist/releasesSlice/mocks.d.cts +49 -0
- package/dist/releasesSlice/mocks.d.ts +49 -0
- package/dist/releasesSlice/mocks.js +61 -0
- package/dist/releasesSlice/mocks.js.map +1 -0
- package/dist/releasesSlice/selectors.cjs +288 -158
- package/dist/releasesSlice/selectors.cjs.map +1 -1
- package/dist/releasesSlice/selectors.d.cts +886 -24
- package/dist/releasesSlice/selectors.d.ts +886 -24
- package/dist/releasesSlice/selectors.js +9 -7
- package/dist/releasesSlice/thunks.cjs +787 -982
- package/dist/releasesSlice/thunks.cjs.map +1 -1
- package/dist/releasesSlice/thunks.d.cts +150 -130
- package/dist/releasesSlice/thunks.d.ts +150 -130
- package/dist/releasesSlice/thunks.js +34 -28
- package/dist/selectors.cjs +559 -770
- package/dist/selectors.cjs.map +1 -1
- package/dist/selectors.d.cts +37 -9
- package/dist/selectors.d.ts +37 -9
- package/dist/selectors.js +77 -41
- package/dist/sockethook.cjs +271 -281
- package/dist/sockethook.cjs.map +1 -1
- package/dist/sockethook.js +7 -9
- package/dist/sockethook.js.map +1 -1
- package/dist/store.cjs +119 -834
- package/dist/store.cjs.map +1 -1
- package/dist/store.d.cts +698 -1963
- package/dist/store.d.ts +698 -1963
- package/dist/store.js +18 -16
- package/dist/storehooks.cjs +1797 -1907
- package/dist/storehooks.cjs.map +1 -1
- package/dist/storehooks.js +43 -49
- package/dist/storehooks.js.map +1 -1
- package/dist/thunks.cjs +2132 -2229
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.d.cts +24 -6
- package/dist/thunks.d.ts +24 -6
- package/dist/thunks.js +55 -45
- package/dist/{deploymentdevicehook.cjs → useDeploymentDevice.cjs} +1757 -1976
- package/dist/useDeploymentDevice.cjs.map +1 -0
- package/dist/useDeploymentDevice.js +63 -0
- package/dist/useDeploymentDevice.js.map +1 -0
- package/dist/usersSlice/constants.cjs +5 -747
- package/dist/usersSlice/constants.cjs.map +1 -1
- package/dist/usersSlice/constants.d.cts +11 -769
- package/dist/usersSlice/constants.d.ts +11 -769
- package/dist/usersSlice/constants.js +7 -30
- package/dist/usersSlice/index.cjs +10 -721
- package/dist/usersSlice/index.cjs.map +1 -1
- package/dist/usersSlice/index.d.cts +136 -7900
- package/dist/usersSlice/index.d.ts +136 -7900
- package/dist/usersSlice/index.js +6 -6
- package/dist/usersSlice/mocks.cjs +200 -0
- package/dist/usersSlice/mocks.cjs.map +1 -0
- package/dist/usersSlice/mocks.d.cts +83 -0
- package/dist/usersSlice/mocks.d.ts +83 -0
- package/dist/usersSlice/mocks.js +47 -0
- package/dist/usersSlice/mocks.js.map +1 -0
- package/dist/usersSlice/selectors.cjs +319 -566
- package/dist/usersSlice/selectors.cjs.map +1 -1
- package/dist/usersSlice/selectors.d.cts +1651 -59
- package/dist/usersSlice/selectors.d.ts +1651 -59
- package/dist/usersSlice/selectors.js +13 -9
- package/dist/usersSlice/thunks.cjs +1655 -1872
- package/dist/usersSlice/thunks.cjs.map +1 -1
- package/dist/usersSlice/thunks.d.cts +362 -312
- package/dist/usersSlice/thunks.d.ts +362 -312
- package/dist/usersSlice/thunks.js +31 -31
- package/dist/utils.cjs +423 -285
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +44 -22
- package/dist/utils.d.ts +44 -22
- package/dist/utils.js +12 -6
- package/package.json +20 -11
- package/dist/BillingProfile-ChP2_Sqw.d.cts +0 -45
- package/dist/BillingProfile-ChP2_Sqw.d.ts +0 -45
- package/dist/api/types/AWSCredentials.ts +0 -16
- package/dist/api/types/Actor.ts +0 -35
- package/dist/api/types/Addon.ts +0 -17
- package/dist/api/types/AddonTenantadm.ts +0 -17
- package/dist/api/types/Address.ts +0 -6
- package/dist/api/types/AddressUpdate.ts +0 -12
- package/dist/api/types/Alert.ts +0 -34
- package/dist/api/types/AlertDetails.ts +0 -23
- package/dist/api/types/AlertSubject.ts +0 -23
- package/dist/api/types/ApiBurst.ts +0 -21
- package/dist/api/types/ApiBurstTenantadm.ts +0 -21
- package/dist/api/types/ApiLimits.ts +0 -16
- package/dist/api/types/ApiLimitsTenantadm.ts +0 -16
- package/dist/api/types/ApiQuota.ts +0 -17
- package/dist/api/types/ApiQuotaTenantadm.ts +0 -17
- package/dist/api/types/Artifact.ts +0 -48
- package/dist/api/types/ArtifactDeployments.ts +0 -48
- package/dist/api/types/ArtifactInfo.ts +0 -11
- package/dist/api/types/ArtifactInfoDeployments.ts +0 -11
- package/dist/api/types/ArtifactLink.ts +0 -11
- package/dist/api/types/ArtifactTypeInfo.ts +0 -13
- package/dist/api/types/ArtifactTypeInfoDeployments.ts +0 -13
- package/dist/api/types/ArtifactUpdate.ts +0 -10
- package/dist/api/types/ArtifactUploadLink.ts +0 -15
- package/dist/api/types/Attribute.ts +0 -36
- package/dist/api/types/AttributeInventory.ts +0 -32
- package/dist/api/types/AuditLog.ts +0 -26
- package/dist/api/types/AuthSet.ts +0 -37
- package/dist/api/types/AuthSetDeviceauth.ts +0 -37
- package/dist/api/types/AuthSetIot_manager.ts +0 -33
- package/dist/api/types/AutoAuthRequest.ts +0 -23
- package/dist/api/types/AzureSharedAccessSecret.ts +0 -11
- package/dist/api/types/BillingInfo.ts +0 -13
- package/dist/api/types/BillingProfile.ts +0 -37
- package/dist/api/types/BillingProfileUpdate.ts +0 -37
- package/dist/api/types/BinaryDeltaConfiguration.ts +0 -15
- package/dist/api/types/BinaryDeltaConfigurationDeployments.ts +0 -15
- package/dist/api/types/BinaryDeltaLimits.ts +0 -21
- package/dist/api/types/BinaryDeltaLimitsDeployments.ts +0 -15
- package/dist/api/types/BoundingBox.ts +0 -9
- package/dist/api/types/CancelRequest.ts +0 -10
- package/dist/api/types/CardData.ts +0 -49
- package/dist/api/types/CardSetupData.ts +0 -17
- package/dist/api/types/CheckoutData.ts +0 -13
- package/dist/api/types/Configuration.ts +0 -11
- package/dist/api/types/Count.ts +0 -13
- package/dist/api/types/Credentials.ts +0 -23
- package/dist/api/types/DBusSubsystem.ts +0 -27
- package/dist/api/types/DeltaConfiguration.ts +0 -14
- package/dist/api/types/DeltaConfigurationDeployments.ts +0 -14
- package/dist/api/types/Deployment.ts +0 -45
- package/dist/api/types/DeploymentAggregation.ts +0 -16
- package/dist/api/types/DeploymentAggregationItem.ts +0 -16
- package/dist/api/types/DeploymentAggregationTerm.ts +0 -22
- package/dist/api/types/DeploymentAggregationTerms.ts +0 -16
- package/dist/api/types/DeploymentAttributeProjection.ts +0 -10
- package/dist/api/types/DeploymentAuditlogs.ts +0 -11
- package/dist/api/types/DeploymentDeployments.ts +0 -98
- package/dist/api/types/DeploymentFilterTerm.ts +0 -35
- package/dist/api/types/DeploymentIdentifier.ts +0 -10
- package/dist/api/types/DeploymentPhase.ts +0 -23
- package/dist/api/types/DeploymentPhaseDeployments.ts +0 -23
- package/dist/api/types/DeploymentReporting.ts +0 -46
- package/dist/api/types/DeploymentSearchTerms.ts +0 -37
- package/dist/api/types/DeploymentSortTerm.ts +0 -23
- package/dist/api/types/DeploymentStatistics.ts +0 -15
- package/dist/api/types/DeploymentStatisticsDeployments.ts +0 -15
- package/dist/api/types/DeploymentStatusStatistics.ts +0 -54
- package/dist/api/types/DeploymentStatusStatisticsDeployments.ts +0 -54
- package/dist/api/types/Device.ts +0 -20
- package/dist/api/types/DeviceAggregation.ts +0 -16
- package/dist/api/types/DeviceAggregationItem.ts +0 -16
- package/dist/api/types/DeviceAggregationTerm.ts +0 -26
- package/dist/api/types/DeviceAggregationTerms.ts +0 -20
- package/dist/api/types/DeviceAttribute.ts +0 -22
- package/dist/api/types/DeviceAttributeProjection.ts +0 -14
- package/dist/api/types/DeviceAuditlogs.ts +0 -17
- package/dist/api/types/DeviceAuthEvent.ts +0 -23
- package/dist/api/types/DeviceConfiguration.ts +0 -16
- package/dist/api/types/DeviceDeployment.ts +0 -11
- package/dist/api/types/DeviceDeployments.ts +0 -29
- package/dist/api/types/DeviceDeviceauth.ts +0 -42
- package/dist/api/types/DeviceFilterAttribute.ts +0 -21
- package/dist/api/types/DeviceFilterTerm.ts +0 -39
- package/dist/api/types/DeviceInventory.ts +0 -19
- package/dist/api/types/DeviceInventoryInventory.ts +0 -19
- package/dist/api/types/DeviceReporting.ts +0 -22
- package/dist/api/types/DeviceSearchTerms.ts +0 -37
- package/dist/api/types/DeviceSortTerm.ts +0 -27
- package/dist/api/types/DeviceState.ts +0 -32
- package/dist/api/types/DeviceStateDeviceconnect.ts +0 -33
- package/dist/api/types/DeviceStateIot_manager.ts +0 -14
- package/dist/api/types/DeviceStatus.ts +0 -19
- package/dist/api/types/DeviceWithImage.ts +0 -80
- package/dist/api/types/DirectUploadMetadata.ts +0 -18
- package/dist/api/types/EmailVerificationCompletion.ts +0 -13
- package/dist/api/types/EmailVerificationRequest.ts +0 -13
- package/dist/api/types/Error.ts +0 -17
- package/dist/api/types/ErrorAuditlogs.ts +0 -13
- package/dist/api/types/ErrorDeployments.ts +0 -17
- package/dist/api/types/ErrorDeviceauth.ts +0 -13
- package/dist/api/types/ErrorDeviceconfig.ts +0 -17
- package/dist/api/types/ErrorDeviceconnect.ts +0 -17
- package/dist/api/types/ErrorDevicemonitor.ts +0 -17
- package/dist/api/types/ErrorExt.ts +0 -18
- package/dist/api/types/ErrorInventory.ts +0 -17
- package/dist/api/types/ErrorIot_manager.ts +0 -17
- package/dist/api/types/ErrorNotFound.ts +0 -17
- package/dist/api/types/ErrorReporting.ts +0 -18
- package/dist/api/types/ErrorTenantadm.ts +0 -13
- package/dist/api/types/ErrorUseradm.ts +0 -17
- package/dist/api/types/Event.ts +0 -48
- package/dist/api/types/ExternalIdentity.ts +0 -17
- package/dist/api/types/Features.ts +0 -17
- package/dist/api/types/FileUpload.ts +0 -23
- package/dist/api/types/Filter.ts +0 -19
- package/dist/api/types/FilterAttribute.ts +0 -21
- package/dist/api/types/FilterDefinition.ts +0 -18
- package/dist/api/types/FilterDeployments.ts +0 -19
- package/dist/api/types/FilterInventory.ts +0 -19
- package/dist/api/types/FilterPredicate.ts +0 -48
- package/dist/api/types/FilterPredicateDeployments.ts +0 -48
- package/dist/api/types/FilterPredicateInventory.ts +0 -78
- package/dist/api/types/GeoBoundingBox.ts +0 -8
- package/dist/api/types/GeoBoundingBoxFilter.ts +0 -5
- package/dist/api/types/GeoDistance.ts +0 -15
- package/dist/api/types/GeoDistanceFilter.ts +0 -8
- package/dist/api/types/GeoPoint.ts +0 -14
- package/dist/api/types/Group.ts +0 -10
- package/dist/api/types/HTTP.ts +0 -19
- package/dist/api/types/IdentityData.ts +0 -25
- package/dist/api/types/InputParameter.ts +0 -8
- package/dist/api/types/Integration.ts +0 -30
- package/dist/api/types/JobStatus.ts +0 -13
- package/dist/api/types/Limit.ts +0 -21
- package/dist/api/types/LimitDeployments.ts +0 -21
- package/dist/api/types/LimitDeviceauth.ts +0 -10
- package/dist/api/types/LimitUseradm.ts +0 -11
- package/dist/api/types/Limits.ts +0 -11
- package/dist/api/types/LineDescriptor.ts +0 -11
- package/dist/api/types/LogSubsystem.ts +0 -23
- package/dist/api/types/LoginOptions.ts +0 -18
- package/dist/api/types/ManagementAPIConfiguration.ts +0 -5
- package/dist/api/types/MenderTypes.ts +0 -213
- package/dist/api/types/MonitorConfiguration.ts +0 -22
- package/dist/api/types/NewConfigurationDeployment.ts +0 -15
- package/dist/api/types/NewConfigurationDeploymentResponse.ts +0 -10
- package/dist/api/types/NewDeployment.ts +0 -42
- package/dist/api/types/NewDeploymentForGroup.ts +0 -33
- package/dist/api/types/NewDeploymentPhase.ts +0 -37
- package/dist/api/types/NewDeploymentPhaseDeployments.ts +0 -20
- package/dist/api/types/NewDeploymentV2.ts +0 -34
- package/dist/api/types/NewTenant.ts +0 -49
- package/dist/api/types/Object.ts +0 -38
- package/dist/api/types/OwnUserUpdate.ts +0 -21
- package/dist/api/types/PasswordResetCompletion.ts +0 -17
- package/dist/api/types/PasswordResetRequest.ts +0 -13
- package/dist/api/types/Permission.ts +0 -21
- package/dist/api/types/PermissionObject.ts +0 -14
- package/dist/api/types/PermissionSet.ts +0 -22
- package/dist/api/types/PermissionSetWithScope.ts +0 -15
- package/dist/api/types/PersonalAccessToken.ts +0 -29
- package/dist/api/types/PersonalAccessTokenRequest.ts +0 -18
- package/dist/api/types/Plan.ts +0 -19
- package/dist/api/types/PlanBindingDetails.ts +0 -13
- package/dist/api/types/PlanChangeRequest.ts +0 -14
- package/dist/api/types/PlanLimits.ts +0 -12
- package/dist/api/types/PreAuthSet.ts +0 -16
- package/dist/api/types/Release.ts +0 -32
- package/dist/api/types/ReleaseDeployments.ts +0 -32
- package/dist/api/types/ReleaseUpdate.ts +0 -13
- package/dist/api/types/Releases.ts +0 -9
- package/dist/api/types/ReleasesDeleteError.ts +0 -21
- package/dist/api/types/ReleasesDeployments.ts +0 -9
- package/dist/api/types/Role.ts +0 -19
- package/dist/api/types/RolePermission.ts +0 -25
- package/dist/api/types/RolePermissionObject.ts +0 -17
- package/dist/api/types/RoleUseradm.ts +0 -19
- package/dist/api/types/SAMLMetadata.ts +0 -21
- package/dist/api/types/Scope.ts +0 -19
- package/dist/api/types/SelectAttribute.ts +0 -17
- package/dist/api/types/ServiceSubsystem.ts +0 -19
- package/dist/api/types/Settings.ts +0 -23
- package/dist/api/types/SortCriteria.ts +0 -30
- package/dist/api/types/SsoObject.ts +0 -21
- package/dist/api/types/Status.ts +0 -18
- package/dist/api/types/StatusDeviceauth.ts +0 -18
- package/dist/api/types/StatusTenantadm.ts +0 -17
- package/dist/api/types/StorageLimit.ts +0 -17
- package/dist/api/types/SubscriptionData.ts +0 -8
- package/dist/api/types/SupportRequest.ts +0 -17
- package/dist/api/types/Tag.ts +0 -27
- package/dist/api/types/Tags.ts +0 -10
- package/dist/api/types/TaskResult.ts +0 -13
- package/dist/api/types/TaskResultCLI.ts +0 -10
- package/dist/api/types/TaskResultHTTPRequest.ts +0 -8
- package/dist/api/types/TaskResultHTTPResponse.ts +0 -10
- package/dist/api/types/Tenant.ts +0 -26
- package/dist/api/types/TenantApiLimits.ts +0 -12
- package/dist/api/types/TenantApiLimitsTenantadm.ts +0 -12
- package/dist/api/types/TenantIdName.ts +0 -14
- package/dist/api/types/TenantIdsData.ts +0 -10
- package/dist/api/types/TenantInfo.ts +0 -14
- package/dist/api/types/TenantShortInfo.ts +0 -21
- package/dist/api/types/TenantTenantadm.ts +0 -54
- package/dist/api/types/TenantsIdName.ts +0 -6
- package/dist/api/types/Update.ts +0 -17
- package/dist/api/types/UpdateChildTenant.ts +0 -17
- package/dist/api/types/UpdateDeployments.ts +0 -18
- package/dist/api/types/UpdateFile.ts +0 -13
- package/dist/api/types/UpdateFileDeployments.ts +0 -13
- package/dist/api/types/UpdateTypes.ts +0 -8
- package/dist/api/types/UpgradeCompleteRequest.ts +0 -25
- package/dist/api/types/User.ts +0 -13
- package/dist/api/types/UserAuditlogs.ts +0 -13
- package/dist/api/types/UserNew.ts +0 -26
- package/dist/api/types/UserUpdate.ts +0 -25
- package/dist/api/types/UserUseradm.ts +0 -45
- package/dist/api/types/UserWithTenantInfo.ts +0 -12
- package/dist/api/types/XDeltaArgs.ts +0 -9
- package/dist/api/types/XDeltaArgsDeployments.ts +0 -9
- package/dist/api/types/XDeltaArgsLimits.ts +0 -10
- package/dist/api/types/XDeltaArgsLimitsDeployments.ts +0 -10
- package/dist/chunk-4RWZR3BN.js +0 -104
- package/dist/chunk-4RWZR3BN.js.map +0 -1
- package/dist/chunk-7YZCUAXZ.js.map +0 -1
- package/dist/chunk-AFICTIVU.js.map +0 -1
- package/dist/chunk-AUBJUUP3.js.map +0 -1
- package/dist/chunk-AVX7VVOK.js.map +0 -1
- package/dist/chunk-BSN2TOQC.js +0 -245
- package/dist/chunk-BSN2TOQC.js.map +0 -1
- package/dist/chunk-DCEKU6UV.js.map +0 -1
- package/dist/chunk-DGQKXSRI.js.map +0 -1
- package/dist/chunk-EQLHIPPR.js.map +0 -1
- package/dist/chunk-EYCORLYU.js.map +0 -1
- package/dist/chunk-FQDSV3NK.js.map +0 -1
- package/dist/chunk-FRSA2YB5.js.map +0 -1
- package/dist/chunk-FVCYB5OP.js.map +0 -1
- package/dist/chunk-GAI4VYRZ.js.map +0 -1
- package/dist/chunk-GWJIY56H.js.map +0 -1
- package/dist/chunk-JO33IORF.js.map +0 -1
- package/dist/chunk-K4MMUDYT.js.map +0 -1
- package/dist/chunk-L3SY3J5M.js.map +0 -1
- package/dist/chunk-LIJIIRON.js +0 -28
- package/dist/chunk-LIJIIRON.js.map +0 -1
- package/dist/chunk-MRCFLG45.js.map +0 -1
- package/dist/chunk-NCSKCF2S.js.map +0 -1
- package/dist/chunk-NOQR3TE7.js.map +0 -1
- package/dist/chunk-OEP2D6QL.js +0 -727
- package/dist/chunk-OEP2D6QL.js.map +0 -1
- package/dist/chunk-PAIB5V27.js.map +0 -1
- package/dist/chunk-RX32WLVJ.js.map +0 -1
- package/dist/chunk-X3GZILYD.js.map +0 -1
- package/dist/chunk-Y575RZHR.js.map +0 -1
- package/dist/chunk-ZWOAFHAR.js.map +0 -1
- package/dist/deploymentdevicehook.cjs.map +0 -1
- package/dist/deploymentdevicehook.js +0 -63
- package/dist/deploymentdevicehook.js.map +0 -1
- package/dist/types-DBj17FZO.d.cts +0 -135
- package/dist/types-DnfZa6xd.d.ts +0 -135
- /package/dist/{chunk-ZZMFXRQK.js.map → chunk-URNS6A5T.js.map} +0 -0
- /package/dist/{deploymentdevicehook.d.cts → useDeploymentDevice.d.cts} +0 -0
- /package/dist/{deploymentdevicehook.d.ts → useDeploymentDevice.d.ts} +0 -0
|
@@ -1,28 +1,237 @@
|
|
|
1
1
|
import * as reselect from 'reselect';
|
|
2
|
+
import * as _northern_tech_utils_constants from '@northern.tech/utils/constants';
|
|
3
|
+
import { ReadState } from '../usersSlice/constants.cjs';
|
|
4
|
+
import { User, UserSession, CustomColumn, GlobalSettings, UserSettings } from '../usersSlice/index.cjs';
|
|
5
|
+
import { ReleaseSliceType } from '../releasesSlice/index.cjs';
|
|
6
|
+
import { OrganizationState } from '../organizationSlice/types.cjs';
|
|
7
|
+
import { OnboardingApproach } from '../onboardingSlice/index.cjs';
|
|
8
|
+
import * as _northern_tech_types_Alert from '@northern.tech/types/Alert';
|
|
9
|
+
import { Deployment, DeploymentByStatus, DeploymentConfig, SelectionState } from '../deploymentsSlice/index.cjs';
|
|
10
|
+
import { SearchState, SentryConfig, SnackbarContent, Upload } from '../appSlice/index.cjs';
|
|
11
|
+
import { Device, DeviceGroup, DeviceListState, DeviceFilter, DeviceSliceType } from './index.cjs';
|
|
12
|
+
import { RootState } from '../store.cjs';
|
|
13
|
+
import 'redux';
|
|
14
|
+
import '@reduxjs/toolkit';
|
|
15
|
+
import 'immer';
|
|
16
|
+
import '@northern.tech/types/MenderTypes';
|
|
17
|
+
import '../commonConstants.cjs';
|
|
18
|
+
import 'react/jsx-runtime';
|
|
19
|
+
import '../appSlice/constants.cjs';
|
|
20
|
+
import '@mui/material/OverridableComponent';
|
|
21
|
+
import '@mui/material';
|
|
22
|
+
import '../organizationSlice/constants.cjs';
|
|
23
|
+
import './constants.cjs';
|
|
24
|
+
import 'redux-thunk';
|
|
2
25
|
|
|
3
|
-
declare const getAcceptedDevices: (state:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
declare const
|
|
13
|
-
|
|
26
|
+
declare const getAcceptedDevices: (state: RootState) => {
|
|
27
|
+
deviceIds: string[];
|
|
28
|
+
total: number;
|
|
29
|
+
};
|
|
30
|
+
declare const getDevicesByStatus: (state: RootState) => Record<string, {
|
|
31
|
+
deviceIds: string[];
|
|
32
|
+
total: number;
|
|
33
|
+
}>;
|
|
34
|
+
declare const getDevicesById: (state: RootState) => Record<string, Device>;
|
|
35
|
+
declare const getDeviceReports: (state: RootState) => {
|
|
36
|
+
items: {
|
|
37
|
+
count: number;
|
|
38
|
+
key: string;
|
|
39
|
+
}[];
|
|
40
|
+
otherCount: number;
|
|
41
|
+
total: number;
|
|
42
|
+
}[];
|
|
43
|
+
declare const getGroupsById: (state: RootState) => Record<string, DeviceGroup>;
|
|
44
|
+
declare const getSelectedGroup: (state: RootState) => string | undefined;
|
|
45
|
+
declare const getDeviceListState: (state: RootState) => DeviceListState;
|
|
46
|
+
declare const getListedDevices: (state: RootState) => string[];
|
|
47
|
+
declare const getFilteringAttributes: (state: RootState) => {
|
|
48
|
+
identityAttributes: string[];
|
|
49
|
+
inventoryAttributes: string[];
|
|
50
|
+
systemAttributes: string[];
|
|
51
|
+
tagAttributes: string[];
|
|
52
|
+
};
|
|
53
|
+
declare const getDeviceFilters: (state: RootState) => DeviceFilter[];
|
|
54
|
+
declare const getSortedFilteringAttributes: ((state: {
|
|
55
|
+
app: {
|
|
56
|
+
cancelSource: any;
|
|
57
|
+
commit: string;
|
|
58
|
+
demoArtifactLink: string;
|
|
59
|
+
docsVersion: string;
|
|
60
|
+
features: Record<string, boolean>;
|
|
61
|
+
feedbackProbability: number;
|
|
62
|
+
firstLoginAfterSignup: boolean;
|
|
63
|
+
hostAddress: string | null;
|
|
64
|
+
hostedAnnouncement: string;
|
|
65
|
+
newThreshold: string;
|
|
66
|
+
offlineThreshold: string;
|
|
67
|
+
recaptchaSiteKey: string;
|
|
68
|
+
searchState: SearchState;
|
|
69
|
+
sentry: SentryConfig;
|
|
70
|
+
snackbar: SnackbarContent;
|
|
71
|
+
stripeAPIKey: string;
|
|
72
|
+
trackerCode: string;
|
|
73
|
+
uploadsById: Record<string, Upload>;
|
|
74
|
+
versionInformation: {
|
|
75
|
+
[key: string]: string | {
|
|
76
|
+
releaseDate: string;
|
|
77
|
+
repos: Record<string, string>;
|
|
78
|
+
} | undefined;
|
|
79
|
+
backend?: string;
|
|
80
|
+
GUI?: string;
|
|
81
|
+
latestRelease?: {
|
|
82
|
+
releaseDate: string;
|
|
83
|
+
repos: Record<string, string>;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
yesterday?: string;
|
|
87
|
+
};
|
|
88
|
+
devices: DeviceSliceType;
|
|
89
|
+
deployments: {
|
|
90
|
+
byId: Record<string, Deployment>;
|
|
91
|
+
byStatus: DeploymentByStatus;
|
|
92
|
+
config: DeploymentConfig;
|
|
93
|
+
deploymentDeviceLimit: number;
|
|
94
|
+
selectedDeviceIds: string[];
|
|
95
|
+
selectionState: SelectionState;
|
|
96
|
+
};
|
|
97
|
+
monitor: {
|
|
98
|
+
alerts: {
|
|
99
|
+
alertList: {
|
|
100
|
+
page: number;
|
|
101
|
+
perPage: number;
|
|
102
|
+
total: number;
|
|
103
|
+
};
|
|
104
|
+
byDeviceId: {
|
|
105
|
+
alerts?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
106
|
+
fullName?: string;
|
|
107
|
+
}>;
|
|
108
|
+
latest?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
109
|
+
fullName?: string;
|
|
110
|
+
}>;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
issueCounts: {
|
|
114
|
+
byType: {
|
|
115
|
+
issues: {
|
|
116
|
+
filtered: number;
|
|
117
|
+
total: number;
|
|
118
|
+
};
|
|
119
|
+
offline: {
|
|
120
|
+
filtered: number;
|
|
121
|
+
total: number;
|
|
122
|
+
};
|
|
123
|
+
failedLastUpdate: {
|
|
124
|
+
filtered: number;
|
|
125
|
+
total: number;
|
|
126
|
+
};
|
|
127
|
+
monitoring: {
|
|
128
|
+
filtered: number;
|
|
129
|
+
total: number;
|
|
130
|
+
};
|
|
131
|
+
authRequests: {
|
|
132
|
+
filtered: number;
|
|
133
|
+
total: number;
|
|
134
|
+
};
|
|
135
|
+
gatewayDevices: {
|
|
136
|
+
filtered: number;
|
|
137
|
+
total: number;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
settings: {
|
|
142
|
+
global: {
|
|
143
|
+
channels: {
|
|
144
|
+
email: {
|
|
145
|
+
enabled: boolean;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
onboarding: {
|
|
152
|
+
address?: string;
|
|
153
|
+
approach: OnboardingApproach | null;
|
|
154
|
+
complete: boolean;
|
|
155
|
+
demoArtifactPort: number;
|
|
156
|
+
deviceConnection?: string;
|
|
157
|
+
deviceType: string[] | string | null;
|
|
158
|
+
progress: string | null;
|
|
159
|
+
showTips: boolean | null;
|
|
160
|
+
showTipsDialog: boolean;
|
|
161
|
+
};
|
|
162
|
+
organization: OrganizationState;
|
|
163
|
+
releases: ReleaseSliceType;
|
|
164
|
+
users: {
|
|
165
|
+
activationCode?: string;
|
|
166
|
+
byId: Record<string, User>;
|
|
167
|
+
currentSession?: UserSession | object;
|
|
168
|
+
currentUser: string | null;
|
|
169
|
+
customColumns: CustomColumn[];
|
|
170
|
+
globalSettings: GlobalSettings;
|
|
171
|
+
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
172
|
+
qrCode: string | null;
|
|
173
|
+
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
174
|
+
rolesInitialized: boolean;
|
|
175
|
+
settingsInitialized: boolean;
|
|
176
|
+
showConnectDeviceDialog: boolean;
|
|
177
|
+
showFeedbackDialog: boolean;
|
|
178
|
+
showStartupNotification: boolean;
|
|
179
|
+
tooltips: {
|
|
180
|
+
byId: Record<string, {
|
|
181
|
+
readState: ReadState;
|
|
182
|
+
}>;
|
|
183
|
+
};
|
|
184
|
+
userSettings: UserSettings;
|
|
185
|
+
userSettingsInitialized: boolean;
|
|
186
|
+
};
|
|
187
|
+
}) => {
|
|
188
|
+
identityAttributes: string[];
|
|
189
|
+
inventoryAttributes: string[];
|
|
190
|
+
systemAttributes: string[];
|
|
191
|
+
tagAttributes: string[];
|
|
192
|
+
}) & {
|
|
14
193
|
clearCache: () => void;
|
|
15
194
|
resultsCount: () => number;
|
|
16
195
|
resetResultsCount: () => void;
|
|
17
196
|
} & {
|
|
18
|
-
resultFunc: (resultFuncArgs_0:
|
|
19
|
-
|
|
197
|
+
resultFunc: (resultFuncArgs_0: {
|
|
198
|
+
identityAttributes: string[];
|
|
199
|
+
inventoryAttributes: string[];
|
|
200
|
+
systemAttributes: string[];
|
|
201
|
+
tagAttributes: string[];
|
|
202
|
+
}) => {
|
|
203
|
+
identityAttributes: string[];
|
|
204
|
+
inventoryAttributes: string[];
|
|
205
|
+
systemAttributes: string[];
|
|
206
|
+
tagAttributes: string[];
|
|
207
|
+
};
|
|
208
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
209
|
+
identityAttributes: string[];
|
|
210
|
+
inventoryAttributes: string[];
|
|
211
|
+
systemAttributes: string[];
|
|
212
|
+
tagAttributes: string[];
|
|
213
|
+
}) => {
|
|
214
|
+
identityAttributes: string[];
|
|
215
|
+
inventoryAttributes: string[];
|
|
216
|
+
systemAttributes: string[];
|
|
217
|
+
tagAttributes: string[];
|
|
218
|
+
}) & {
|
|
20
219
|
clearCache: () => void;
|
|
21
220
|
resultsCount: () => number;
|
|
22
221
|
resetResultsCount: () => void;
|
|
23
222
|
};
|
|
24
|
-
lastResult: () =>
|
|
25
|
-
|
|
223
|
+
lastResult: () => {
|
|
224
|
+
identityAttributes: string[];
|
|
225
|
+
inventoryAttributes: string[];
|
|
226
|
+
systemAttributes: string[];
|
|
227
|
+
tagAttributes: string[];
|
|
228
|
+
};
|
|
229
|
+
dependencies: [(state: RootState) => {
|
|
230
|
+
identityAttributes: string[];
|
|
231
|
+
inventoryAttributes: string[];
|
|
232
|
+
systemAttributes: string[];
|
|
233
|
+
tagAttributes: string[];
|
|
234
|
+
}];
|
|
26
235
|
recomputations: () => number;
|
|
27
236
|
resetRecomputations: () => void;
|
|
28
237
|
dependencyRecomputations: () => number;
|
|
@@ -31,20 +240,184 @@ declare const getSortedFilteringAttributes: ((state: any) => any) & {
|
|
|
31
240
|
memoize: typeof reselect.weakMapMemoize;
|
|
32
241
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
33
242
|
};
|
|
34
|
-
declare const getDeviceLimit: (state:
|
|
35
|
-
declare const getDeviceIdentityAttributes: ((state:
|
|
243
|
+
declare const getDeviceLimit: (state: RootState) => number;
|
|
244
|
+
declare const getDeviceIdentityAttributes: ((state: {
|
|
245
|
+
app: {
|
|
246
|
+
cancelSource: any;
|
|
247
|
+
commit: string;
|
|
248
|
+
demoArtifactLink: string;
|
|
249
|
+
docsVersion: string;
|
|
250
|
+
features: Record<string, boolean>;
|
|
251
|
+
feedbackProbability: number;
|
|
252
|
+
firstLoginAfterSignup: boolean;
|
|
253
|
+
hostAddress: string | null;
|
|
254
|
+
hostedAnnouncement: string;
|
|
255
|
+
newThreshold: string;
|
|
256
|
+
offlineThreshold: string;
|
|
257
|
+
recaptchaSiteKey: string;
|
|
258
|
+
searchState: SearchState;
|
|
259
|
+
sentry: SentryConfig;
|
|
260
|
+
snackbar: SnackbarContent;
|
|
261
|
+
stripeAPIKey: string;
|
|
262
|
+
trackerCode: string;
|
|
263
|
+
uploadsById: Record<string, Upload>;
|
|
264
|
+
versionInformation: {
|
|
265
|
+
[key: string]: string | {
|
|
266
|
+
releaseDate: string;
|
|
267
|
+
repos: Record<string, string>;
|
|
268
|
+
} | undefined;
|
|
269
|
+
backend?: string;
|
|
270
|
+
GUI?: string;
|
|
271
|
+
latestRelease?: {
|
|
272
|
+
releaseDate: string;
|
|
273
|
+
repos: Record<string, string>;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
yesterday?: string;
|
|
277
|
+
};
|
|
278
|
+
devices: DeviceSliceType;
|
|
279
|
+
deployments: {
|
|
280
|
+
byId: Record<string, Deployment>;
|
|
281
|
+
byStatus: DeploymentByStatus;
|
|
282
|
+
config: DeploymentConfig;
|
|
283
|
+
deploymentDeviceLimit: number;
|
|
284
|
+
selectedDeviceIds: string[];
|
|
285
|
+
selectionState: SelectionState;
|
|
286
|
+
};
|
|
287
|
+
monitor: {
|
|
288
|
+
alerts: {
|
|
289
|
+
alertList: {
|
|
290
|
+
page: number;
|
|
291
|
+
perPage: number;
|
|
292
|
+
total: number;
|
|
293
|
+
};
|
|
294
|
+
byDeviceId: {
|
|
295
|
+
alerts?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
296
|
+
fullName?: string;
|
|
297
|
+
}>;
|
|
298
|
+
latest?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
299
|
+
fullName?: string;
|
|
300
|
+
}>;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
issueCounts: {
|
|
304
|
+
byType: {
|
|
305
|
+
issues: {
|
|
306
|
+
filtered: number;
|
|
307
|
+
total: number;
|
|
308
|
+
};
|
|
309
|
+
offline: {
|
|
310
|
+
filtered: number;
|
|
311
|
+
total: number;
|
|
312
|
+
};
|
|
313
|
+
failedLastUpdate: {
|
|
314
|
+
filtered: number;
|
|
315
|
+
total: number;
|
|
316
|
+
};
|
|
317
|
+
monitoring: {
|
|
318
|
+
filtered: number;
|
|
319
|
+
total: number;
|
|
320
|
+
};
|
|
321
|
+
authRequests: {
|
|
322
|
+
filtered: number;
|
|
323
|
+
total: number;
|
|
324
|
+
};
|
|
325
|
+
gatewayDevices: {
|
|
326
|
+
filtered: number;
|
|
327
|
+
total: number;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
settings: {
|
|
332
|
+
global: {
|
|
333
|
+
channels: {
|
|
334
|
+
email: {
|
|
335
|
+
enabled: boolean;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
onboarding: {
|
|
342
|
+
address?: string;
|
|
343
|
+
approach: OnboardingApproach | null;
|
|
344
|
+
complete: boolean;
|
|
345
|
+
demoArtifactPort: number;
|
|
346
|
+
deviceConnection?: string;
|
|
347
|
+
deviceType: string[] | string | null;
|
|
348
|
+
progress: string | null;
|
|
349
|
+
showTips: boolean | null;
|
|
350
|
+
showTipsDialog: boolean;
|
|
351
|
+
};
|
|
352
|
+
organization: OrganizationState;
|
|
353
|
+
releases: ReleaseSliceType;
|
|
354
|
+
users: {
|
|
355
|
+
activationCode?: string;
|
|
356
|
+
byId: Record<string, User>;
|
|
357
|
+
currentSession?: UserSession | object;
|
|
358
|
+
currentUser: string | null;
|
|
359
|
+
customColumns: CustomColumn[];
|
|
360
|
+
globalSettings: GlobalSettings;
|
|
361
|
+
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
362
|
+
qrCode: string | null;
|
|
363
|
+
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
364
|
+
rolesInitialized: boolean;
|
|
365
|
+
settingsInitialized: boolean;
|
|
366
|
+
showConnectDeviceDialog: boolean;
|
|
367
|
+
showFeedbackDialog: boolean;
|
|
368
|
+
showStartupNotification: boolean;
|
|
369
|
+
tooltips: {
|
|
370
|
+
byId: Record<string, {
|
|
371
|
+
readState: ReadState;
|
|
372
|
+
}>;
|
|
373
|
+
};
|
|
374
|
+
userSettings: UserSettings;
|
|
375
|
+
userSettingsInitialized: boolean;
|
|
376
|
+
};
|
|
377
|
+
}) => {
|
|
378
|
+
value: string;
|
|
379
|
+
label: string;
|
|
380
|
+
scope: string;
|
|
381
|
+
}[]) & {
|
|
36
382
|
clearCache: () => void;
|
|
37
383
|
resultsCount: () => number;
|
|
38
384
|
resetResultsCount: () => void;
|
|
39
385
|
} & {
|
|
40
|
-
resultFunc: (resultFuncArgs_0:
|
|
41
|
-
|
|
386
|
+
resultFunc: (resultFuncArgs_0: {
|
|
387
|
+
identityAttributes: string[];
|
|
388
|
+
inventoryAttributes: string[];
|
|
389
|
+
systemAttributes: string[];
|
|
390
|
+
tagAttributes: string[];
|
|
391
|
+
}, resultFuncArgs_1: number) => {
|
|
392
|
+
value: string;
|
|
393
|
+
label: string;
|
|
394
|
+
scope: string;
|
|
395
|
+
}[];
|
|
396
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
397
|
+
identityAttributes: string[];
|
|
398
|
+
inventoryAttributes: string[];
|
|
399
|
+
systemAttributes: string[];
|
|
400
|
+
tagAttributes: string[];
|
|
401
|
+
}, resultFuncArgs_1: number) => {
|
|
402
|
+
value: string;
|
|
403
|
+
label: string;
|
|
404
|
+
scope: string;
|
|
405
|
+
}[]) & {
|
|
42
406
|
clearCache: () => void;
|
|
43
407
|
resultsCount: () => number;
|
|
44
408
|
resetResultsCount: () => void;
|
|
45
409
|
};
|
|
46
|
-
lastResult: () =>
|
|
47
|
-
|
|
410
|
+
lastResult: () => {
|
|
411
|
+
value: string;
|
|
412
|
+
label: string;
|
|
413
|
+
scope: string;
|
|
414
|
+
}[];
|
|
415
|
+
dependencies: [(state: RootState) => {
|
|
416
|
+
identityAttributes: string[];
|
|
417
|
+
inventoryAttributes: string[];
|
|
418
|
+
systemAttributes: string[];
|
|
419
|
+
tagAttributes: string[];
|
|
420
|
+
}, (state: RootState) => number];
|
|
48
421
|
recomputations: () => number;
|
|
49
422
|
resetRecomputations: () => void;
|
|
50
423
|
dependencyRecomputations: () => number;
|
|
@@ -53,19 +426,161 @@ declare const getDeviceIdentityAttributes: ((state: any) => any) & {
|
|
|
53
426
|
memoize: typeof reselect.weakMapMemoize;
|
|
54
427
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
55
428
|
};
|
|
56
|
-
declare const getDeviceCountsByStatus: ((state:
|
|
429
|
+
declare const getDeviceCountsByStatus: ((state: {
|
|
430
|
+
app: {
|
|
431
|
+
cancelSource: any;
|
|
432
|
+
commit: string;
|
|
433
|
+
demoArtifactLink: string;
|
|
434
|
+
docsVersion: string;
|
|
435
|
+
features: Record<string, boolean>;
|
|
436
|
+
feedbackProbability: number;
|
|
437
|
+
firstLoginAfterSignup: boolean;
|
|
438
|
+
hostAddress: string | null;
|
|
439
|
+
hostedAnnouncement: string;
|
|
440
|
+
newThreshold: string;
|
|
441
|
+
offlineThreshold: string;
|
|
442
|
+
recaptchaSiteKey: string;
|
|
443
|
+
searchState: SearchState;
|
|
444
|
+
sentry: SentryConfig;
|
|
445
|
+
snackbar: SnackbarContent;
|
|
446
|
+
stripeAPIKey: string;
|
|
447
|
+
trackerCode: string;
|
|
448
|
+
uploadsById: Record<string, Upload>;
|
|
449
|
+
versionInformation: {
|
|
450
|
+
[key: string]: string | {
|
|
451
|
+
releaseDate: string;
|
|
452
|
+
repos: Record<string, string>;
|
|
453
|
+
} | undefined;
|
|
454
|
+
backend?: string;
|
|
455
|
+
GUI?: string;
|
|
456
|
+
latestRelease?: {
|
|
457
|
+
releaseDate: string;
|
|
458
|
+
repos: Record<string, string>;
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
yesterday?: string;
|
|
462
|
+
};
|
|
463
|
+
devices: DeviceSliceType;
|
|
464
|
+
deployments: {
|
|
465
|
+
byId: Record<string, Deployment>;
|
|
466
|
+
byStatus: DeploymentByStatus;
|
|
467
|
+
config: DeploymentConfig;
|
|
468
|
+
deploymentDeviceLimit: number;
|
|
469
|
+
selectedDeviceIds: string[];
|
|
470
|
+
selectionState: SelectionState;
|
|
471
|
+
};
|
|
472
|
+
monitor: {
|
|
473
|
+
alerts: {
|
|
474
|
+
alertList: {
|
|
475
|
+
page: number;
|
|
476
|
+
perPage: number;
|
|
477
|
+
total: number;
|
|
478
|
+
};
|
|
479
|
+
byDeviceId: {
|
|
480
|
+
alerts?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
481
|
+
fullName?: string;
|
|
482
|
+
}>;
|
|
483
|
+
latest?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
484
|
+
fullName?: string;
|
|
485
|
+
}>;
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
issueCounts: {
|
|
489
|
+
byType: {
|
|
490
|
+
issues: {
|
|
491
|
+
filtered: number;
|
|
492
|
+
total: number;
|
|
493
|
+
};
|
|
494
|
+
offline: {
|
|
495
|
+
filtered: number;
|
|
496
|
+
total: number;
|
|
497
|
+
};
|
|
498
|
+
failedLastUpdate: {
|
|
499
|
+
filtered: number;
|
|
500
|
+
total: number;
|
|
501
|
+
};
|
|
502
|
+
monitoring: {
|
|
503
|
+
filtered: number;
|
|
504
|
+
total: number;
|
|
505
|
+
};
|
|
506
|
+
authRequests: {
|
|
507
|
+
filtered: number;
|
|
508
|
+
total: number;
|
|
509
|
+
};
|
|
510
|
+
gatewayDevices: {
|
|
511
|
+
filtered: number;
|
|
512
|
+
total: number;
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
settings: {
|
|
517
|
+
global: {
|
|
518
|
+
channels: {
|
|
519
|
+
email: {
|
|
520
|
+
enabled: boolean;
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
onboarding: {
|
|
527
|
+
address?: string;
|
|
528
|
+
approach: OnboardingApproach | null;
|
|
529
|
+
complete: boolean;
|
|
530
|
+
demoArtifactPort: number;
|
|
531
|
+
deviceConnection?: string;
|
|
532
|
+
deviceType: string[] | string | null;
|
|
533
|
+
progress: string | null;
|
|
534
|
+
showTips: boolean | null;
|
|
535
|
+
showTipsDialog: boolean;
|
|
536
|
+
};
|
|
537
|
+
organization: OrganizationState;
|
|
538
|
+
releases: ReleaseSliceType;
|
|
539
|
+
users: {
|
|
540
|
+
activationCode?: string;
|
|
541
|
+
byId: Record<string, User>;
|
|
542
|
+
currentSession?: UserSession | object;
|
|
543
|
+
currentUser: string | null;
|
|
544
|
+
customColumns: CustomColumn[];
|
|
545
|
+
globalSettings: GlobalSettings;
|
|
546
|
+
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
547
|
+
qrCode: string | null;
|
|
548
|
+
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
549
|
+
rolesInitialized: boolean;
|
|
550
|
+
settingsInitialized: boolean;
|
|
551
|
+
showConnectDeviceDialog: boolean;
|
|
552
|
+
showFeedbackDialog: boolean;
|
|
553
|
+
showStartupNotification: boolean;
|
|
554
|
+
tooltips: {
|
|
555
|
+
byId: Record<string, {
|
|
556
|
+
readState: ReadState;
|
|
557
|
+
}>;
|
|
558
|
+
};
|
|
559
|
+
userSettings: UserSettings;
|
|
560
|
+
userSettingsInitialized: boolean;
|
|
561
|
+
};
|
|
562
|
+
}) => {}) & {
|
|
57
563
|
clearCache: () => void;
|
|
58
564
|
resultsCount: () => number;
|
|
59
565
|
resetResultsCount: () => void;
|
|
60
566
|
} & {
|
|
61
|
-
resultFunc: (resultFuncArgs_0:
|
|
62
|
-
|
|
567
|
+
resultFunc: (resultFuncArgs_0: Record<string, {
|
|
568
|
+
deviceIds: string[];
|
|
569
|
+
total: number;
|
|
570
|
+
}>) => {};
|
|
571
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, {
|
|
572
|
+
deviceIds: string[];
|
|
573
|
+
total: number;
|
|
574
|
+
}>) => {}) & {
|
|
63
575
|
clearCache: () => void;
|
|
64
576
|
resultsCount: () => number;
|
|
65
577
|
resetResultsCount: () => void;
|
|
66
578
|
};
|
|
67
579
|
lastResult: () => {};
|
|
68
|
-
dependencies: [(state:
|
|
580
|
+
dependencies: [(state: RootState) => Record<string, {
|
|
581
|
+
deviceIds: string[];
|
|
582
|
+
total: number;
|
|
583
|
+
}>];
|
|
69
584
|
recomputations: () => number;
|
|
70
585
|
resetRecomputations: () => void;
|
|
71
586
|
dependencyRecomputations: () => number;
|
|
@@ -74,19 +589,19 @@ declare const getDeviceCountsByStatus: ((state: any) => {}) & {
|
|
|
74
589
|
memoize: typeof reselect.weakMapMemoize;
|
|
75
590
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
76
591
|
};
|
|
77
|
-
declare const getDeviceById: ((state: any, deviceId: any) =>
|
|
592
|
+
declare const getDeviceById: ((state: any, deviceId: any) => Device) & {
|
|
78
593
|
clearCache: () => void;
|
|
79
594
|
resultsCount: () => number;
|
|
80
595
|
resetResultsCount: () => void;
|
|
81
596
|
} & {
|
|
82
|
-
resultFunc: (resultFuncArgs_0:
|
|
83
|
-
memoizedResultFunc: ((resultFuncArgs_0:
|
|
597
|
+
resultFunc: (resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => Device;
|
|
598
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, Device>, resultFuncArgs_1: any) => Device) & {
|
|
84
599
|
clearCache: () => void;
|
|
85
600
|
resultsCount: () => number;
|
|
86
601
|
resetResultsCount: () => void;
|
|
87
602
|
};
|
|
88
|
-
lastResult: () =>
|
|
89
|
-
dependencies: [(state:
|
|
603
|
+
lastResult: () => Device;
|
|
604
|
+
dependencies: [(state: RootState) => Record<string, Device>, (_: any, deviceId: any) => any];
|
|
90
605
|
recomputations: () => number;
|
|
91
606
|
resetRecomputations: () => void;
|
|
92
607
|
dependencyRecomputations: () => number;
|
|
@@ -95,35 +610,177 @@ declare const getDeviceById: ((state: any, deviceId: any) => any) & {
|
|
|
95
610
|
memoize: typeof reselect.weakMapMemoize;
|
|
96
611
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
97
612
|
};
|
|
98
|
-
declare const getSelectedGroupInfo: ((state:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
613
|
+
declare const getSelectedGroupInfo: ((state: {
|
|
614
|
+
app: {
|
|
615
|
+
cancelSource: any;
|
|
616
|
+
commit: string;
|
|
617
|
+
demoArtifactLink: string;
|
|
618
|
+
docsVersion: string;
|
|
619
|
+
features: Record<string, boolean>;
|
|
620
|
+
feedbackProbability: number;
|
|
621
|
+
firstLoginAfterSignup: boolean;
|
|
622
|
+
hostAddress: string | null;
|
|
623
|
+
hostedAnnouncement: string;
|
|
624
|
+
newThreshold: string;
|
|
625
|
+
offlineThreshold: string;
|
|
626
|
+
recaptchaSiteKey: string;
|
|
627
|
+
searchState: SearchState;
|
|
628
|
+
sentry: SentryConfig;
|
|
629
|
+
snackbar: SnackbarContent;
|
|
630
|
+
stripeAPIKey: string;
|
|
631
|
+
trackerCode: string;
|
|
632
|
+
uploadsById: Record<string, Upload>;
|
|
633
|
+
versionInformation: {
|
|
634
|
+
[key: string]: string | {
|
|
635
|
+
releaseDate: string;
|
|
636
|
+
repos: Record<string, string>;
|
|
637
|
+
} | undefined;
|
|
638
|
+
backend?: string;
|
|
639
|
+
GUI?: string;
|
|
640
|
+
latestRelease?: {
|
|
641
|
+
releaseDate: string;
|
|
642
|
+
repos: Record<string, string>;
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
yesterday?: string;
|
|
646
|
+
};
|
|
647
|
+
devices: DeviceSliceType;
|
|
648
|
+
deployments: {
|
|
649
|
+
byId: Record<string, Deployment>;
|
|
650
|
+
byStatus: DeploymentByStatus;
|
|
651
|
+
config: DeploymentConfig;
|
|
652
|
+
deploymentDeviceLimit: number;
|
|
653
|
+
selectedDeviceIds: string[];
|
|
654
|
+
selectionState: SelectionState;
|
|
655
|
+
};
|
|
656
|
+
monitor: {
|
|
657
|
+
alerts: {
|
|
658
|
+
alertList: {
|
|
659
|
+
page: number;
|
|
660
|
+
perPage: number;
|
|
661
|
+
total: number;
|
|
662
|
+
};
|
|
663
|
+
byDeviceId: {
|
|
664
|
+
alerts?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
665
|
+
fullName?: string;
|
|
666
|
+
}>;
|
|
667
|
+
latest?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
668
|
+
fullName?: string;
|
|
669
|
+
}>;
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
issueCounts: {
|
|
673
|
+
byType: {
|
|
674
|
+
issues: {
|
|
675
|
+
filtered: number;
|
|
676
|
+
total: number;
|
|
677
|
+
};
|
|
678
|
+
offline: {
|
|
679
|
+
filtered: number;
|
|
680
|
+
total: number;
|
|
681
|
+
};
|
|
682
|
+
failedLastUpdate: {
|
|
683
|
+
filtered: number;
|
|
684
|
+
total: number;
|
|
685
|
+
};
|
|
686
|
+
monitoring: {
|
|
687
|
+
filtered: number;
|
|
688
|
+
total: number;
|
|
689
|
+
};
|
|
690
|
+
authRequests: {
|
|
691
|
+
filtered: number;
|
|
692
|
+
total: number;
|
|
693
|
+
};
|
|
694
|
+
gatewayDevices: {
|
|
695
|
+
filtered: number;
|
|
696
|
+
total: number;
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
settings: {
|
|
701
|
+
global: {
|
|
702
|
+
channels: {
|
|
703
|
+
email: {
|
|
704
|
+
enabled: boolean;
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
onboarding: {
|
|
711
|
+
address?: string;
|
|
712
|
+
approach: OnboardingApproach | null;
|
|
713
|
+
complete: boolean;
|
|
714
|
+
demoArtifactPort: number;
|
|
715
|
+
deviceConnection?: string;
|
|
716
|
+
deviceType: string[] | string | null;
|
|
717
|
+
progress: string | null;
|
|
718
|
+
showTips: boolean | null;
|
|
719
|
+
showTipsDialog: boolean;
|
|
720
|
+
};
|
|
721
|
+
organization: OrganizationState;
|
|
722
|
+
releases: ReleaseSliceType;
|
|
723
|
+
users: {
|
|
724
|
+
activationCode?: string;
|
|
725
|
+
byId: Record<string, User>;
|
|
726
|
+
currentSession?: UserSession | object;
|
|
727
|
+
currentUser: string | null;
|
|
728
|
+
customColumns: CustomColumn[];
|
|
729
|
+
globalSettings: GlobalSettings;
|
|
730
|
+
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
731
|
+
qrCode: string | null;
|
|
732
|
+
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
733
|
+
rolesInitialized: boolean;
|
|
734
|
+
settingsInitialized: boolean;
|
|
735
|
+
showConnectDeviceDialog: boolean;
|
|
736
|
+
showFeedbackDialog: boolean;
|
|
737
|
+
showStartupNotification: boolean;
|
|
738
|
+
tooltips: {
|
|
739
|
+
byId: Record<string, {
|
|
740
|
+
readState: ReadState;
|
|
741
|
+
}>;
|
|
742
|
+
};
|
|
743
|
+
userSettings: UserSettings;
|
|
744
|
+
userSettingsInitialized: boolean;
|
|
745
|
+
};
|
|
746
|
+
}) => {
|
|
747
|
+
groupCount: number;
|
|
748
|
+
selectedGroup: string | undefined;
|
|
749
|
+
groupFilters: DeviceFilter[];
|
|
102
750
|
}) & {
|
|
103
751
|
clearCache: () => void;
|
|
104
752
|
resultsCount: () => number;
|
|
105
753
|
resetResultsCount: () => void;
|
|
106
754
|
} & {
|
|
107
|
-
resultFunc: (resultFuncArgs_0:
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
755
|
+
resultFunc: (resultFuncArgs_0: {
|
|
756
|
+
deviceIds: string[];
|
|
757
|
+
total: number;
|
|
758
|
+
}, resultFuncArgs_1: Record<string, DeviceGroup>, resultFuncArgs_2: string | undefined) => {
|
|
759
|
+
groupCount: number;
|
|
760
|
+
selectedGroup: string | undefined;
|
|
761
|
+
groupFilters: DeviceFilter[];
|
|
762
|
+
};
|
|
763
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
764
|
+
deviceIds: string[];
|
|
765
|
+
total: number;
|
|
766
|
+
}, resultFuncArgs_1: Record<string, DeviceGroup>, resultFuncArgs_2: string | undefined) => {
|
|
767
|
+
groupCount: number;
|
|
768
|
+
selectedGroup: string | undefined;
|
|
769
|
+
groupFilters: DeviceFilter[];
|
|
116
770
|
}) & {
|
|
117
771
|
clearCache: () => void;
|
|
118
772
|
resultsCount: () => number;
|
|
119
773
|
resetResultsCount: () => void;
|
|
120
774
|
};
|
|
121
775
|
lastResult: () => {
|
|
122
|
-
groupCount:
|
|
123
|
-
selectedGroup:
|
|
124
|
-
groupFilters:
|
|
776
|
+
groupCount: number;
|
|
777
|
+
selectedGroup: string | undefined;
|
|
778
|
+
groupFilters: DeviceFilter[];
|
|
125
779
|
};
|
|
126
|
-
dependencies: [(state:
|
|
780
|
+
dependencies: [(state: RootState) => {
|
|
781
|
+
deviceIds: string[];
|
|
782
|
+
total: number;
|
|
783
|
+
}, (state: RootState) => Record<string, DeviceGroup>, (state: RootState) => string | undefined];
|
|
127
784
|
recomputations: () => number;
|
|
128
785
|
resetRecomputations: () => void;
|
|
129
786
|
dependencyRecomputations: () => number;
|
|
@@ -132,19 +789,323 @@ declare const getSelectedGroupInfo: ((state: any) => {
|
|
|
132
789
|
memoize: typeof reselect.weakMapMemoize;
|
|
133
790
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
134
791
|
};
|
|
135
|
-
declare const getLimitMaxed: ((state:
|
|
792
|
+
declare const getLimitMaxed: ((state: {
|
|
793
|
+
app: {
|
|
794
|
+
cancelSource: any;
|
|
795
|
+
commit: string;
|
|
796
|
+
demoArtifactLink: string;
|
|
797
|
+
docsVersion: string;
|
|
798
|
+
features: Record<string, boolean>;
|
|
799
|
+
feedbackProbability: number;
|
|
800
|
+
firstLoginAfterSignup: boolean;
|
|
801
|
+
hostAddress: string | null;
|
|
802
|
+
hostedAnnouncement: string;
|
|
803
|
+
newThreshold: string;
|
|
804
|
+
offlineThreshold: string;
|
|
805
|
+
recaptchaSiteKey: string;
|
|
806
|
+
searchState: SearchState;
|
|
807
|
+
sentry: SentryConfig;
|
|
808
|
+
snackbar: SnackbarContent;
|
|
809
|
+
stripeAPIKey: string;
|
|
810
|
+
trackerCode: string;
|
|
811
|
+
uploadsById: Record<string, Upload>;
|
|
812
|
+
versionInformation: {
|
|
813
|
+
[key: string]: string | {
|
|
814
|
+
releaseDate: string;
|
|
815
|
+
repos: Record<string, string>;
|
|
816
|
+
} | undefined;
|
|
817
|
+
backend?: string;
|
|
818
|
+
GUI?: string;
|
|
819
|
+
latestRelease?: {
|
|
820
|
+
releaseDate: string;
|
|
821
|
+
repos: Record<string, string>;
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
yesterday?: string;
|
|
825
|
+
};
|
|
826
|
+
devices: DeviceSliceType;
|
|
827
|
+
deployments: {
|
|
828
|
+
byId: Record<string, Deployment>;
|
|
829
|
+
byStatus: DeploymentByStatus;
|
|
830
|
+
config: DeploymentConfig;
|
|
831
|
+
deploymentDeviceLimit: number;
|
|
832
|
+
selectedDeviceIds: string[];
|
|
833
|
+
selectionState: SelectionState;
|
|
834
|
+
};
|
|
835
|
+
monitor: {
|
|
836
|
+
alerts: {
|
|
837
|
+
alertList: {
|
|
838
|
+
page: number;
|
|
839
|
+
perPage: number;
|
|
840
|
+
total: number;
|
|
841
|
+
};
|
|
842
|
+
byDeviceId: {
|
|
843
|
+
alerts?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
844
|
+
fullName?: string;
|
|
845
|
+
}>;
|
|
846
|
+
latest?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
847
|
+
fullName?: string;
|
|
848
|
+
}>;
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
issueCounts: {
|
|
852
|
+
byType: {
|
|
853
|
+
issues: {
|
|
854
|
+
filtered: number;
|
|
855
|
+
total: number;
|
|
856
|
+
};
|
|
857
|
+
offline: {
|
|
858
|
+
filtered: number;
|
|
859
|
+
total: number;
|
|
860
|
+
};
|
|
861
|
+
failedLastUpdate: {
|
|
862
|
+
filtered: number;
|
|
863
|
+
total: number;
|
|
864
|
+
};
|
|
865
|
+
monitoring: {
|
|
866
|
+
filtered: number;
|
|
867
|
+
total: number;
|
|
868
|
+
};
|
|
869
|
+
authRequests: {
|
|
870
|
+
filtered: number;
|
|
871
|
+
total: number;
|
|
872
|
+
};
|
|
873
|
+
gatewayDevices: {
|
|
874
|
+
filtered: number;
|
|
875
|
+
total: number;
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
settings: {
|
|
880
|
+
global: {
|
|
881
|
+
channels: {
|
|
882
|
+
email: {
|
|
883
|
+
enabled: boolean;
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
onboarding: {
|
|
890
|
+
address?: string;
|
|
891
|
+
approach: OnboardingApproach | null;
|
|
892
|
+
complete: boolean;
|
|
893
|
+
demoArtifactPort: number;
|
|
894
|
+
deviceConnection?: string;
|
|
895
|
+
deviceType: string[] | string | null;
|
|
896
|
+
progress: string | null;
|
|
897
|
+
showTips: boolean | null;
|
|
898
|
+
showTipsDialog: boolean;
|
|
899
|
+
};
|
|
900
|
+
organization: OrganizationState;
|
|
901
|
+
releases: ReleaseSliceType;
|
|
902
|
+
users: {
|
|
903
|
+
activationCode?: string;
|
|
904
|
+
byId: Record<string, User>;
|
|
905
|
+
currentSession?: UserSession | object;
|
|
906
|
+
currentUser: string | null;
|
|
907
|
+
customColumns: CustomColumn[];
|
|
908
|
+
globalSettings: GlobalSettings;
|
|
909
|
+
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
910
|
+
qrCode: string | null;
|
|
911
|
+
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
912
|
+
rolesInitialized: boolean;
|
|
913
|
+
settingsInitialized: boolean;
|
|
914
|
+
showConnectDeviceDialog: boolean;
|
|
915
|
+
showFeedbackDialog: boolean;
|
|
916
|
+
showStartupNotification: boolean;
|
|
917
|
+
tooltips: {
|
|
918
|
+
byId: Record<string, {
|
|
919
|
+
readState: ReadState;
|
|
920
|
+
}>;
|
|
921
|
+
};
|
|
922
|
+
userSettings: UserSettings;
|
|
923
|
+
userSettingsInitialized: boolean;
|
|
924
|
+
};
|
|
925
|
+
}) => boolean) & {
|
|
136
926
|
clearCache: () => void;
|
|
137
927
|
resultsCount: () => number;
|
|
138
928
|
resetResultsCount: () => void;
|
|
139
929
|
} & {
|
|
140
|
-
resultFunc: (resultFuncArgs_0:
|
|
141
|
-
|
|
930
|
+
resultFunc: (resultFuncArgs_0: {
|
|
931
|
+
deviceIds: string[];
|
|
932
|
+
total: number;
|
|
933
|
+
}, resultFuncArgs_1: number) => boolean;
|
|
934
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
935
|
+
deviceIds: string[];
|
|
936
|
+
total: number;
|
|
937
|
+
}, resultFuncArgs_1: number) => boolean) & {
|
|
142
938
|
clearCache: () => void;
|
|
143
939
|
resultsCount: () => number;
|
|
144
940
|
resetResultsCount: () => void;
|
|
145
941
|
};
|
|
146
942
|
lastResult: () => boolean;
|
|
147
|
-
dependencies: [(state:
|
|
943
|
+
dependencies: [(state: RootState) => {
|
|
944
|
+
deviceIds: string[];
|
|
945
|
+
total: number;
|
|
946
|
+
}, (state: RootState) => number];
|
|
947
|
+
recomputations: () => number;
|
|
948
|
+
resetRecomputations: () => void;
|
|
949
|
+
dependencyRecomputations: () => number;
|
|
950
|
+
resetDependencyRecomputations: () => void;
|
|
951
|
+
} & {
|
|
952
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
953
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
954
|
+
};
|
|
955
|
+
declare const getGroupsByIdWithoutUngrouped: ((state: {
|
|
956
|
+
app: {
|
|
957
|
+
cancelSource: any;
|
|
958
|
+
commit: string;
|
|
959
|
+
demoArtifactLink: string;
|
|
960
|
+
docsVersion: string;
|
|
961
|
+
features: Record<string, boolean>;
|
|
962
|
+
feedbackProbability: number;
|
|
963
|
+
firstLoginAfterSignup: boolean;
|
|
964
|
+
hostAddress: string | null;
|
|
965
|
+
hostedAnnouncement: string;
|
|
966
|
+
newThreshold: string;
|
|
967
|
+
offlineThreshold: string;
|
|
968
|
+
recaptchaSiteKey: string;
|
|
969
|
+
searchState: SearchState;
|
|
970
|
+
sentry: SentryConfig;
|
|
971
|
+
snackbar: SnackbarContent;
|
|
972
|
+
stripeAPIKey: string;
|
|
973
|
+
trackerCode: string;
|
|
974
|
+
uploadsById: Record<string, Upload>;
|
|
975
|
+
versionInformation: {
|
|
976
|
+
[key: string]: string | {
|
|
977
|
+
releaseDate: string;
|
|
978
|
+
repos: Record<string, string>;
|
|
979
|
+
} | undefined;
|
|
980
|
+
backend?: string;
|
|
981
|
+
GUI?: string;
|
|
982
|
+
latestRelease?: {
|
|
983
|
+
releaseDate: string;
|
|
984
|
+
repos: Record<string, string>;
|
|
985
|
+
};
|
|
986
|
+
};
|
|
987
|
+
yesterday?: string;
|
|
988
|
+
};
|
|
989
|
+
devices: DeviceSliceType;
|
|
990
|
+
deployments: {
|
|
991
|
+
byId: Record<string, Deployment>;
|
|
992
|
+
byStatus: DeploymentByStatus;
|
|
993
|
+
config: DeploymentConfig;
|
|
994
|
+
deploymentDeviceLimit: number;
|
|
995
|
+
selectedDeviceIds: string[];
|
|
996
|
+
selectionState: SelectionState;
|
|
997
|
+
};
|
|
998
|
+
monitor: {
|
|
999
|
+
alerts: {
|
|
1000
|
+
alertList: {
|
|
1001
|
+
page: number;
|
|
1002
|
+
perPage: number;
|
|
1003
|
+
total: number;
|
|
1004
|
+
};
|
|
1005
|
+
byDeviceId: {
|
|
1006
|
+
alerts?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
1007
|
+
fullName?: string;
|
|
1008
|
+
}>;
|
|
1009
|
+
latest?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
1010
|
+
fullName?: string;
|
|
1011
|
+
}>;
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
issueCounts: {
|
|
1015
|
+
byType: {
|
|
1016
|
+
issues: {
|
|
1017
|
+
filtered: number;
|
|
1018
|
+
total: number;
|
|
1019
|
+
};
|
|
1020
|
+
offline: {
|
|
1021
|
+
filtered: number;
|
|
1022
|
+
total: number;
|
|
1023
|
+
};
|
|
1024
|
+
failedLastUpdate: {
|
|
1025
|
+
filtered: number;
|
|
1026
|
+
total: number;
|
|
1027
|
+
};
|
|
1028
|
+
monitoring: {
|
|
1029
|
+
filtered: number;
|
|
1030
|
+
total: number;
|
|
1031
|
+
};
|
|
1032
|
+
authRequests: {
|
|
1033
|
+
filtered: number;
|
|
1034
|
+
total: number;
|
|
1035
|
+
};
|
|
1036
|
+
gatewayDevices: {
|
|
1037
|
+
filtered: number;
|
|
1038
|
+
total: number;
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
};
|
|
1042
|
+
settings: {
|
|
1043
|
+
global: {
|
|
1044
|
+
channels: {
|
|
1045
|
+
email: {
|
|
1046
|
+
enabled: boolean;
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
|
+
};
|
|
1052
|
+
onboarding: {
|
|
1053
|
+
address?: string;
|
|
1054
|
+
approach: OnboardingApproach | null;
|
|
1055
|
+
complete: boolean;
|
|
1056
|
+
demoArtifactPort: number;
|
|
1057
|
+
deviceConnection?: string;
|
|
1058
|
+
deviceType: string[] | string | null;
|
|
1059
|
+
progress: string | null;
|
|
1060
|
+
showTips: boolean | null;
|
|
1061
|
+
showTipsDialog: boolean;
|
|
1062
|
+
};
|
|
1063
|
+
organization: OrganizationState;
|
|
1064
|
+
releases: ReleaseSliceType;
|
|
1065
|
+
users: {
|
|
1066
|
+
activationCode?: string;
|
|
1067
|
+
byId: Record<string, User>;
|
|
1068
|
+
currentSession?: UserSession | object;
|
|
1069
|
+
currentUser: string | null;
|
|
1070
|
+
customColumns: CustomColumn[];
|
|
1071
|
+
globalSettings: GlobalSettings;
|
|
1072
|
+
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
1073
|
+
qrCode: string | null;
|
|
1074
|
+
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
1075
|
+
rolesInitialized: boolean;
|
|
1076
|
+
settingsInitialized: boolean;
|
|
1077
|
+
showConnectDeviceDialog: boolean;
|
|
1078
|
+
showFeedbackDialog: boolean;
|
|
1079
|
+
showStartupNotification: boolean;
|
|
1080
|
+
tooltips: {
|
|
1081
|
+
byId: Record<string, {
|
|
1082
|
+
readState: ReadState;
|
|
1083
|
+
}>;
|
|
1084
|
+
};
|
|
1085
|
+
userSettings: UserSettings;
|
|
1086
|
+
userSettingsInitialized: boolean;
|
|
1087
|
+
};
|
|
1088
|
+
}) => {
|
|
1089
|
+
[x: string]: DeviceGroup;
|
|
1090
|
+
}) & {
|
|
1091
|
+
clearCache: () => void;
|
|
1092
|
+
resultsCount: () => number;
|
|
1093
|
+
resetResultsCount: () => void;
|
|
1094
|
+
} & {
|
|
1095
|
+
resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>) => {
|
|
1096
|
+
[x: string]: DeviceGroup;
|
|
1097
|
+
};
|
|
1098
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>) => {
|
|
1099
|
+
[x: string]: DeviceGroup;
|
|
1100
|
+
}) & {
|
|
1101
|
+
clearCache: () => void;
|
|
1102
|
+
resultsCount: () => number;
|
|
1103
|
+
resetResultsCount: () => void;
|
|
1104
|
+
};
|
|
1105
|
+
lastResult: () => {
|
|
1106
|
+
[x: string]: DeviceGroup;
|
|
1107
|
+
};
|
|
1108
|
+
dependencies: [(state: RootState) => Record<string, DeviceGroup>];
|
|
148
1109
|
recomputations: () => number;
|
|
149
1110
|
resetRecomputations: () => void;
|
|
150
1111
|
dependencyRecomputations: () => number;
|
|
@@ -153,19 +1114,341 @@ declare const getLimitMaxed: ((state: any) => boolean) & {
|
|
|
153
1114
|
memoize: typeof reselect.weakMapMemoize;
|
|
154
1115
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
155
1116
|
};
|
|
156
|
-
declare const
|
|
1117
|
+
declare const getGroupData: ((state: {
|
|
1118
|
+
app: {
|
|
1119
|
+
cancelSource: any;
|
|
1120
|
+
commit: string;
|
|
1121
|
+
demoArtifactLink: string;
|
|
1122
|
+
docsVersion: string;
|
|
1123
|
+
features: Record<string, boolean>;
|
|
1124
|
+
feedbackProbability: number;
|
|
1125
|
+
firstLoginAfterSignup: boolean;
|
|
1126
|
+
hostAddress: string | null;
|
|
1127
|
+
hostedAnnouncement: string;
|
|
1128
|
+
newThreshold: string;
|
|
1129
|
+
offlineThreshold: string;
|
|
1130
|
+
recaptchaSiteKey: string;
|
|
1131
|
+
searchState: SearchState;
|
|
1132
|
+
sentry: SentryConfig;
|
|
1133
|
+
snackbar: SnackbarContent;
|
|
1134
|
+
stripeAPIKey: string;
|
|
1135
|
+
trackerCode: string;
|
|
1136
|
+
uploadsById: Record<string, Upload>;
|
|
1137
|
+
versionInformation: {
|
|
1138
|
+
[key: string]: string | {
|
|
1139
|
+
releaseDate: string;
|
|
1140
|
+
repos: Record<string, string>;
|
|
1141
|
+
} | undefined;
|
|
1142
|
+
backend?: string;
|
|
1143
|
+
GUI?: string;
|
|
1144
|
+
latestRelease?: {
|
|
1145
|
+
releaseDate: string;
|
|
1146
|
+
repos: Record<string, string>;
|
|
1147
|
+
};
|
|
1148
|
+
};
|
|
1149
|
+
yesterday?: string;
|
|
1150
|
+
};
|
|
1151
|
+
devices: DeviceSliceType;
|
|
1152
|
+
deployments: {
|
|
1153
|
+
byId: Record<string, Deployment>;
|
|
1154
|
+
byStatus: DeploymentByStatus;
|
|
1155
|
+
config: DeploymentConfig;
|
|
1156
|
+
deploymentDeviceLimit: number;
|
|
1157
|
+
selectedDeviceIds: string[];
|
|
1158
|
+
selectionState: SelectionState;
|
|
1159
|
+
};
|
|
1160
|
+
monitor: {
|
|
1161
|
+
alerts: {
|
|
1162
|
+
alertList: {
|
|
1163
|
+
page: number;
|
|
1164
|
+
perPage: number;
|
|
1165
|
+
total: number;
|
|
1166
|
+
};
|
|
1167
|
+
byDeviceId: {
|
|
1168
|
+
alerts?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
1169
|
+
fullName?: string;
|
|
1170
|
+
}>;
|
|
1171
|
+
latest?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
1172
|
+
fullName?: string;
|
|
1173
|
+
}>;
|
|
1174
|
+
};
|
|
1175
|
+
};
|
|
1176
|
+
issueCounts: {
|
|
1177
|
+
byType: {
|
|
1178
|
+
issues: {
|
|
1179
|
+
filtered: number;
|
|
1180
|
+
total: number;
|
|
1181
|
+
};
|
|
1182
|
+
offline: {
|
|
1183
|
+
filtered: number;
|
|
1184
|
+
total: number;
|
|
1185
|
+
};
|
|
1186
|
+
failedLastUpdate: {
|
|
1187
|
+
filtered: number;
|
|
1188
|
+
total: number;
|
|
1189
|
+
};
|
|
1190
|
+
monitoring: {
|
|
1191
|
+
filtered: number;
|
|
1192
|
+
total: number;
|
|
1193
|
+
};
|
|
1194
|
+
authRequests: {
|
|
1195
|
+
filtered: number;
|
|
1196
|
+
total: number;
|
|
1197
|
+
};
|
|
1198
|
+
gatewayDevices: {
|
|
1199
|
+
filtered: number;
|
|
1200
|
+
total: number;
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
settings: {
|
|
1205
|
+
global: {
|
|
1206
|
+
channels: {
|
|
1207
|
+
email: {
|
|
1208
|
+
enabled: boolean;
|
|
1209
|
+
};
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
onboarding: {
|
|
1215
|
+
address?: string;
|
|
1216
|
+
approach: OnboardingApproach | null;
|
|
1217
|
+
complete: boolean;
|
|
1218
|
+
demoArtifactPort: number;
|
|
1219
|
+
deviceConnection?: string;
|
|
1220
|
+
deviceType: string[] | string | null;
|
|
1221
|
+
progress: string | null;
|
|
1222
|
+
showTips: boolean | null;
|
|
1223
|
+
showTipsDialog: boolean;
|
|
1224
|
+
};
|
|
1225
|
+
organization: OrganizationState;
|
|
1226
|
+
releases: ReleaseSliceType;
|
|
1227
|
+
users: {
|
|
1228
|
+
activationCode?: string;
|
|
1229
|
+
byId: Record<string, User>;
|
|
1230
|
+
currentSession?: UserSession | object;
|
|
1231
|
+
currentUser: string | null;
|
|
1232
|
+
customColumns: CustomColumn[];
|
|
1233
|
+
globalSettings: GlobalSettings;
|
|
1234
|
+
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
1235
|
+
qrCode: string | null;
|
|
1236
|
+
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
1237
|
+
rolesInitialized: boolean;
|
|
1238
|
+
settingsInitialized: boolean;
|
|
1239
|
+
showConnectDeviceDialog: boolean;
|
|
1240
|
+
showFeedbackDialog: boolean;
|
|
1241
|
+
showStartupNotification: boolean;
|
|
1242
|
+
tooltips: {
|
|
1243
|
+
byId: Record<string, {
|
|
1244
|
+
readState: ReadState;
|
|
1245
|
+
}>;
|
|
1246
|
+
};
|
|
1247
|
+
userSettings: UserSettings;
|
|
1248
|
+
userSettingsInitialized: boolean;
|
|
1249
|
+
};
|
|
1250
|
+
}) => {
|
|
1251
|
+
createdGroup: string | undefined;
|
|
1252
|
+
hasDynamicGroups: boolean;
|
|
1253
|
+
groups: {
|
|
1254
|
+
[x: string]: DeviceGroup;
|
|
1255
|
+
};
|
|
1256
|
+
}) & {
|
|
157
1257
|
clearCache: () => void;
|
|
158
1258
|
resultsCount: () => number;
|
|
159
1259
|
resetResultsCount: () => void;
|
|
160
1260
|
} & {
|
|
161
|
-
resultFunc: (resultFuncArgs_0:
|
|
162
|
-
|
|
1261
|
+
resultFunc: (resultFuncArgs_0: {
|
|
1262
|
+
[x: string]: DeviceGroup;
|
|
1263
|
+
}) => {
|
|
1264
|
+
createdGroup: string | undefined;
|
|
1265
|
+
hasDynamicGroups: boolean;
|
|
1266
|
+
groups: {
|
|
1267
|
+
[x: string]: DeviceGroup;
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
1271
|
+
[x: string]: DeviceGroup;
|
|
1272
|
+
}) => {
|
|
1273
|
+
createdGroup: string | undefined;
|
|
1274
|
+
hasDynamicGroups: boolean;
|
|
1275
|
+
groups: {
|
|
1276
|
+
[x: string]: DeviceGroup;
|
|
1277
|
+
};
|
|
1278
|
+
}) & {
|
|
163
1279
|
clearCache: () => void;
|
|
164
1280
|
resultsCount: () => number;
|
|
165
1281
|
resetResultsCount: () => void;
|
|
166
1282
|
};
|
|
167
|
-
lastResult: () =>
|
|
168
|
-
|
|
1283
|
+
lastResult: () => {
|
|
1284
|
+
createdGroup: string | undefined;
|
|
1285
|
+
hasDynamicGroups: boolean;
|
|
1286
|
+
groups: {
|
|
1287
|
+
[x: string]: DeviceGroup;
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
1290
|
+
dependencies: [((state: {
|
|
1291
|
+
app: {
|
|
1292
|
+
cancelSource: any;
|
|
1293
|
+
commit: string;
|
|
1294
|
+
demoArtifactLink: string;
|
|
1295
|
+
docsVersion: string;
|
|
1296
|
+
features: Record<string, boolean>;
|
|
1297
|
+
feedbackProbability: number;
|
|
1298
|
+
firstLoginAfterSignup: boolean;
|
|
1299
|
+
hostAddress: string | null;
|
|
1300
|
+
hostedAnnouncement: string;
|
|
1301
|
+
newThreshold: string;
|
|
1302
|
+
offlineThreshold: string;
|
|
1303
|
+
recaptchaSiteKey: string;
|
|
1304
|
+
searchState: SearchState;
|
|
1305
|
+
sentry: SentryConfig;
|
|
1306
|
+
snackbar: SnackbarContent;
|
|
1307
|
+
stripeAPIKey: string;
|
|
1308
|
+
trackerCode: string;
|
|
1309
|
+
uploadsById: Record<string, Upload>;
|
|
1310
|
+
versionInformation: {
|
|
1311
|
+
[key: string]: string | {
|
|
1312
|
+
releaseDate: string;
|
|
1313
|
+
repos: Record<string, string>;
|
|
1314
|
+
} | undefined;
|
|
1315
|
+
backend?: string;
|
|
1316
|
+
GUI?: string;
|
|
1317
|
+
latestRelease?: {
|
|
1318
|
+
releaseDate: string;
|
|
1319
|
+
repos: Record<string, string>;
|
|
1320
|
+
};
|
|
1321
|
+
};
|
|
1322
|
+
yesterday?: string;
|
|
1323
|
+
};
|
|
1324
|
+
devices: DeviceSliceType;
|
|
1325
|
+
deployments: {
|
|
1326
|
+
byId: Record<string, Deployment>;
|
|
1327
|
+
byStatus: DeploymentByStatus;
|
|
1328
|
+
config: DeploymentConfig;
|
|
1329
|
+
deploymentDeviceLimit: number;
|
|
1330
|
+
selectedDeviceIds: string[];
|
|
1331
|
+
selectionState: SelectionState;
|
|
1332
|
+
};
|
|
1333
|
+
monitor: {
|
|
1334
|
+
alerts: {
|
|
1335
|
+
alertList: {
|
|
1336
|
+
page: number;
|
|
1337
|
+
perPage: number;
|
|
1338
|
+
total: number;
|
|
1339
|
+
};
|
|
1340
|
+
byDeviceId: {
|
|
1341
|
+
alerts?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
1342
|
+
fullName?: string;
|
|
1343
|
+
}>;
|
|
1344
|
+
latest?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
1345
|
+
fullName?: string;
|
|
1346
|
+
}>;
|
|
1347
|
+
};
|
|
1348
|
+
};
|
|
1349
|
+
issueCounts: {
|
|
1350
|
+
byType: {
|
|
1351
|
+
issues: {
|
|
1352
|
+
filtered: number;
|
|
1353
|
+
total: number;
|
|
1354
|
+
};
|
|
1355
|
+
offline: {
|
|
1356
|
+
filtered: number;
|
|
1357
|
+
total: number;
|
|
1358
|
+
};
|
|
1359
|
+
failedLastUpdate: {
|
|
1360
|
+
filtered: number;
|
|
1361
|
+
total: number;
|
|
1362
|
+
};
|
|
1363
|
+
monitoring: {
|
|
1364
|
+
filtered: number;
|
|
1365
|
+
total: number;
|
|
1366
|
+
};
|
|
1367
|
+
authRequests: {
|
|
1368
|
+
filtered: number;
|
|
1369
|
+
total: number;
|
|
1370
|
+
};
|
|
1371
|
+
gatewayDevices: {
|
|
1372
|
+
filtered: number;
|
|
1373
|
+
total: number;
|
|
1374
|
+
};
|
|
1375
|
+
};
|
|
1376
|
+
};
|
|
1377
|
+
settings: {
|
|
1378
|
+
global: {
|
|
1379
|
+
channels: {
|
|
1380
|
+
email: {
|
|
1381
|
+
enabled: boolean;
|
|
1382
|
+
};
|
|
1383
|
+
};
|
|
1384
|
+
};
|
|
1385
|
+
};
|
|
1386
|
+
};
|
|
1387
|
+
onboarding: {
|
|
1388
|
+
address?: string;
|
|
1389
|
+
approach: OnboardingApproach | null;
|
|
1390
|
+
complete: boolean;
|
|
1391
|
+
demoArtifactPort: number;
|
|
1392
|
+
deviceConnection?: string;
|
|
1393
|
+
deviceType: string[] | string | null;
|
|
1394
|
+
progress: string | null;
|
|
1395
|
+
showTips: boolean | null;
|
|
1396
|
+
showTipsDialog: boolean;
|
|
1397
|
+
};
|
|
1398
|
+
organization: OrganizationState;
|
|
1399
|
+
releases: ReleaseSliceType;
|
|
1400
|
+
users: {
|
|
1401
|
+
activationCode?: string;
|
|
1402
|
+
byId: Record<string, User>;
|
|
1403
|
+
currentSession?: UserSession | object;
|
|
1404
|
+
currentUser: string | null;
|
|
1405
|
+
customColumns: CustomColumn[];
|
|
1406
|
+
globalSettings: GlobalSettings;
|
|
1407
|
+
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
1408
|
+
qrCode: string | null;
|
|
1409
|
+
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
1410
|
+
rolesInitialized: boolean;
|
|
1411
|
+
settingsInitialized: boolean;
|
|
1412
|
+
showConnectDeviceDialog: boolean;
|
|
1413
|
+
showFeedbackDialog: boolean;
|
|
1414
|
+
showStartupNotification: boolean;
|
|
1415
|
+
tooltips: {
|
|
1416
|
+
byId: Record<string, {
|
|
1417
|
+
readState: ReadState;
|
|
1418
|
+
}>;
|
|
1419
|
+
};
|
|
1420
|
+
userSettings: UserSettings;
|
|
1421
|
+
userSettingsInitialized: boolean;
|
|
1422
|
+
};
|
|
1423
|
+
}) => {
|
|
1424
|
+
[x: string]: DeviceGroup;
|
|
1425
|
+
}) & {
|
|
1426
|
+
clearCache: () => void;
|
|
1427
|
+
resultsCount: () => number;
|
|
1428
|
+
resetResultsCount: () => void;
|
|
1429
|
+
} & {
|
|
1430
|
+
resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>) => {
|
|
1431
|
+
[x: string]: DeviceGroup;
|
|
1432
|
+
};
|
|
1433
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>) => {
|
|
1434
|
+
[x: string]: DeviceGroup;
|
|
1435
|
+
}) & {
|
|
1436
|
+
clearCache: () => void;
|
|
1437
|
+
resultsCount: () => number;
|
|
1438
|
+
resetResultsCount: () => void;
|
|
1439
|
+
};
|
|
1440
|
+
lastResult: () => {
|
|
1441
|
+
[x: string]: DeviceGroup;
|
|
1442
|
+
};
|
|
1443
|
+
dependencies: [(state: RootState) => Record<string, DeviceGroup>];
|
|
1444
|
+
recomputations: () => number;
|
|
1445
|
+
resetRecomputations: () => void;
|
|
1446
|
+
dependencyRecomputations: () => number;
|
|
1447
|
+
resetDependencyRecomputations: () => void;
|
|
1448
|
+
} & {
|
|
1449
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
1450
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
1451
|
+
}];
|
|
169
1452
|
recomputations: () => number;
|
|
170
1453
|
resetRecomputations: () => void;
|
|
171
1454
|
dependencyRecomputations: () => number;
|
|
@@ -174,26 +1457,162 @@ declare const getGroupsByIdWithoutUngrouped: ((state: any) => any) & {
|
|
|
174
1457
|
memoize: typeof reselect.weakMapMemoize;
|
|
175
1458
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
176
1459
|
};
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
1460
|
+
type SelectorGroup = DeviceGroup & {
|
|
1461
|
+
groupId: string;
|
|
1462
|
+
};
|
|
1463
|
+
declare const getGroups: ((state: {
|
|
1464
|
+
app: {
|
|
1465
|
+
cancelSource: any;
|
|
1466
|
+
commit: string;
|
|
1467
|
+
demoArtifactLink: string;
|
|
1468
|
+
docsVersion: string;
|
|
1469
|
+
features: Record<string, boolean>;
|
|
1470
|
+
feedbackProbability: number;
|
|
1471
|
+
firstLoginAfterSignup: boolean;
|
|
1472
|
+
hostAddress: string | null;
|
|
1473
|
+
hostedAnnouncement: string;
|
|
1474
|
+
newThreshold: string;
|
|
1475
|
+
offlineThreshold: string;
|
|
1476
|
+
recaptchaSiteKey: string;
|
|
1477
|
+
searchState: SearchState;
|
|
1478
|
+
sentry: SentryConfig;
|
|
1479
|
+
snackbar: SnackbarContent;
|
|
1480
|
+
stripeAPIKey: string;
|
|
1481
|
+
trackerCode: string;
|
|
1482
|
+
uploadsById: Record<string, Upload>;
|
|
1483
|
+
versionInformation: {
|
|
1484
|
+
[key: string]: string | {
|
|
1485
|
+
releaseDate: string;
|
|
1486
|
+
repos: Record<string, string>;
|
|
1487
|
+
} | undefined;
|
|
1488
|
+
backend?: string;
|
|
1489
|
+
GUI?: string;
|
|
1490
|
+
latestRelease?: {
|
|
1491
|
+
releaseDate: string;
|
|
1492
|
+
repos: Record<string, string>;
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
|
+
yesterday?: string;
|
|
1496
|
+
};
|
|
1497
|
+
devices: DeviceSliceType;
|
|
1498
|
+
deployments: {
|
|
1499
|
+
byId: Record<string, Deployment>;
|
|
1500
|
+
byStatus: DeploymentByStatus;
|
|
1501
|
+
config: DeploymentConfig;
|
|
1502
|
+
deploymentDeviceLimit: number;
|
|
1503
|
+
selectedDeviceIds: string[];
|
|
1504
|
+
selectionState: SelectionState;
|
|
1505
|
+
};
|
|
1506
|
+
monitor: {
|
|
1507
|
+
alerts: {
|
|
1508
|
+
alertList: {
|
|
1509
|
+
page: number;
|
|
1510
|
+
perPage: number;
|
|
1511
|
+
total: number;
|
|
1512
|
+
};
|
|
1513
|
+
byDeviceId: {
|
|
1514
|
+
alerts?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
1515
|
+
fullName?: string;
|
|
1516
|
+
}>;
|
|
1517
|
+
latest?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
1518
|
+
fullName?: string;
|
|
1519
|
+
}>;
|
|
1520
|
+
};
|
|
1521
|
+
};
|
|
1522
|
+
issueCounts: {
|
|
1523
|
+
byType: {
|
|
1524
|
+
issues: {
|
|
1525
|
+
filtered: number;
|
|
1526
|
+
total: number;
|
|
1527
|
+
};
|
|
1528
|
+
offline: {
|
|
1529
|
+
filtered: number;
|
|
1530
|
+
total: number;
|
|
1531
|
+
};
|
|
1532
|
+
failedLastUpdate: {
|
|
1533
|
+
filtered: number;
|
|
1534
|
+
total: number;
|
|
1535
|
+
};
|
|
1536
|
+
monitoring: {
|
|
1537
|
+
filtered: number;
|
|
1538
|
+
total: number;
|
|
1539
|
+
};
|
|
1540
|
+
authRequests: {
|
|
1541
|
+
filtered: number;
|
|
1542
|
+
total: number;
|
|
1543
|
+
};
|
|
1544
|
+
gatewayDevices: {
|
|
1545
|
+
filtered: number;
|
|
1546
|
+
total: number;
|
|
1547
|
+
};
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
settings: {
|
|
1551
|
+
global: {
|
|
1552
|
+
channels: {
|
|
1553
|
+
email: {
|
|
1554
|
+
enabled: boolean;
|
|
1555
|
+
};
|
|
1556
|
+
};
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
onboarding: {
|
|
1561
|
+
address?: string;
|
|
1562
|
+
approach: OnboardingApproach | null;
|
|
1563
|
+
complete: boolean;
|
|
1564
|
+
demoArtifactPort: number;
|
|
1565
|
+
deviceConnection?: string;
|
|
1566
|
+
deviceType: string[] | string | null;
|
|
1567
|
+
progress: string | null;
|
|
1568
|
+
showTips: boolean | null;
|
|
1569
|
+
showTipsDialog: boolean;
|
|
1570
|
+
};
|
|
1571
|
+
organization: OrganizationState;
|
|
1572
|
+
releases: ReleaseSliceType;
|
|
1573
|
+
users: {
|
|
1574
|
+
activationCode?: string;
|
|
1575
|
+
byId: Record<string, User>;
|
|
1576
|
+
currentSession?: UserSession | object;
|
|
1577
|
+
currentUser: string | null;
|
|
1578
|
+
customColumns: CustomColumn[];
|
|
1579
|
+
globalSettings: GlobalSettings;
|
|
1580
|
+
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
1581
|
+
qrCode: string | null;
|
|
1582
|
+
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
1583
|
+
rolesInitialized: boolean;
|
|
1584
|
+
settingsInitialized: boolean;
|
|
1585
|
+
showConnectDeviceDialog: boolean;
|
|
1586
|
+
showFeedbackDialog: boolean;
|
|
1587
|
+
showStartupNotification: boolean;
|
|
1588
|
+
tooltips: {
|
|
1589
|
+
byId: Record<string, {
|
|
1590
|
+
readState: ReadState;
|
|
1591
|
+
}>;
|
|
1592
|
+
};
|
|
1593
|
+
userSettings: UserSettings;
|
|
1594
|
+
userSettingsInitialized: boolean;
|
|
1595
|
+
};
|
|
1596
|
+
}) => {
|
|
1597
|
+
dynamic: SelectorGroup[];
|
|
1598
|
+
static: SelectorGroup[];
|
|
1599
|
+
ungrouped: SelectorGroup[];
|
|
181
1600
|
groupNames: string[];
|
|
182
1601
|
}) & {
|
|
183
1602
|
clearCache: () => void;
|
|
184
1603
|
resultsCount: () => number;
|
|
185
1604
|
resetResultsCount: () => void;
|
|
186
1605
|
} & {
|
|
187
|
-
resultFunc: (resultFuncArgs_0:
|
|
188
|
-
dynamic:
|
|
189
|
-
static:
|
|
190
|
-
ungrouped:
|
|
1606
|
+
resultFunc: (resultFuncArgs_0: Record<string, DeviceGroup>) => {
|
|
1607
|
+
dynamic: SelectorGroup[];
|
|
1608
|
+
static: SelectorGroup[];
|
|
1609
|
+
ungrouped: SelectorGroup[];
|
|
191
1610
|
groupNames: string[];
|
|
192
1611
|
};
|
|
193
|
-
memoizedResultFunc: ((resultFuncArgs_0:
|
|
194
|
-
dynamic:
|
|
195
|
-
static:
|
|
196
|
-
ungrouped:
|
|
1612
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, DeviceGroup>) => {
|
|
1613
|
+
dynamic: SelectorGroup[];
|
|
1614
|
+
static: SelectorGroup[];
|
|
1615
|
+
ungrouped: SelectorGroup[];
|
|
197
1616
|
groupNames: string[];
|
|
198
1617
|
}) & {
|
|
199
1618
|
clearCache: () => void;
|
|
@@ -201,12 +1620,12 @@ declare const getGroups: ((state: any) => {
|
|
|
201
1620
|
resetResultsCount: () => void;
|
|
202
1621
|
};
|
|
203
1622
|
lastResult: () => {
|
|
204
|
-
dynamic:
|
|
205
|
-
static:
|
|
206
|
-
ungrouped:
|
|
1623
|
+
dynamic: SelectorGroup[];
|
|
1624
|
+
static: SelectorGroup[];
|
|
1625
|
+
ungrouped: SelectorGroup[];
|
|
207
1626
|
groupNames: string[];
|
|
208
1627
|
};
|
|
209
|
-
dependencies: [(state:
|
|
1628
|
+
dependencies: [(state: RootState) => Record<string, DeviceGroup>];
|
|
210
1629
|
recomputations: () => number;
|
|
211
1630
|
resetRecomputations: () => void;
|
|
212
1631
|
dependencyRecomputations: () => number;
|
|
@@ -215,19 +1634,167 @@ declare const getGroups: ((state: any) => {
|
|
|
215
1634
|
memoize: typeof reselect.weakMapMemoize;
|
|
216
1635
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
217
1636
|
};
|
|
218
|
-
declare const getAttributesList: ((state:
|
|
1637
|
+
declare const getAttributesList: ((state: {
|
|
1638
|
+
app: {
|
|
1639
|
+
cancelSource: any;
|
|
1640
|
+
commit: string;
|
|
1641
|
+
demoArtifactLink: string;
|
|
1642
|
+
docsVersion: string;
|
|
1643
|
+
features: Record<string, boolean>;
|
|
1644
|
+
feedbackProbability: number;
|
|
1645
|
+
firstLoginAfterSignup: boolean;
|
|
1646
|
+
hostAddress: string | null;
|
|
1647
|
+
hostedAnnouncement: string;
|
|
1648
|
+
newThreshold: string;
|
|
1649
|
+
offlineThreshold: string;
|
|
1650
|
+
recaptchaSiteKey: string;
|
|
1651
|
+
searchState: SearchState;
|
|
1652
|
+
sentry: SentryConfig;
|
|
1653
|
+
snackbar: SnackbarContent;
|
|
1654
|
+
stripeAPIKey: string;
|
|
1655
|
+
trackerCode: string;
|
|
1656
|
+
uploadsById: Record<string, Upload>;
|
|
1657
|
+
versionInformation: {
|
|
1658
|
+
[key: string]: string | {
|
|
1659
|
+
releaseDate: string;
|
|
1660
|
+
repos: Record<string, string>;
|
|
1661
|
+
} | undefined;
|
|
1662
|
+
backend?: string;
|
|
1663
|
+
GUI?: string;
|
|
1664
|
+
latestRelease?: {
|
|
1665
|
+
releaseDate: string;
|
|
1666
|
+
repos: Record<string, string>;
|
|
1667
|
+
};
|
|
1668
|
+
};
|
|
1669
|
+
yesterday?: string;
|
|
1670
|
+
};
|
|
1671
|
+
devices: DeviceSliceType;
|
|
1672
|
+
deployments: {
|
|
1673
|
+
byId: Record<string, Deployment>;
|
|
1674
|
+
byStatus: DeploymentByStatus;
|
|
1675
|
+
config: DeploymentConfig;
|
|
1676
|
+
deploymentDeviceLimit: number;
|
|
1677
|
+
selectedDeviceIds: string[];
|
|
1678
|
+
selectionState: SelectionState;
|
|
1679
|
+
};
|
|
1680
|
+
monitor: {
|
|
1681
|
+
alerts: {
|
|
1682
|
+
alertList: {
|
|
1683
|
+
page: number;
|
|
1684
|
+
perPage: number;
|
|
1685
|
+
total: number;
|
|
1686
|
+
};
|
|
1687
|
+
byDeviceId: {
|
|
1688
|
+
alerts?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
1689
|
+
fullName?: string;
|
|
1690
|
+
}>;
|
|
1691
|
+
latest?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
1692
|
+
fullName?: string;
|
|
1693
|
+
}>;
|
|
1694
|
+
};
|
|
1695
|
+
};
|
|
1696
|
+
issueCounts: {
|
|
1697
|
+
byType: {
|
|
1698
|
+
issues: {
|
|
1699
|
+
filtered: number;
|
|
1700
|
+
total: number;
|
|
1701
|
+
};
|
|
1702
|
+
offline: {
|
|
1703
|
+
filtered: number;
|
|
1704
|
+
total: number;
|
|
1705
|
+
};
|
|
1706
|
+
failedLastUpdate: {
|
|
1707
|
+
filtered: number;
|
|
1708
|
+
total: number;
|
|
1709
|
+
};
|
|
1710
|
+
monitoring: {
|
|
1711
|
+
filtered: number;
|
|
1712
|
+
total: number;
|
|
1713
|
+
};
|
|
1714
|
+
authRequests: {
|
|
1715
|
+
filtered: number;
|
|
1716
|
+
total: number;
|
|
1717
|
+
};
|
|
1718
|
+
gatewayDevices: {
|
|
1719
|
+
filtered: number;
|
|
1720
|
+
total: number;
|
|
1721
|
+
};
|
|
1722
|
+
};
|
|
1723
|
+
};
|
|
1724
|
+
settings: {
|
|
1725
|
+
global: {
|
|
1726
|
+
channels: {
|
|
1727
|
+
email: {
|
|
1728
|
+
enabled: boolean;
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1733
|
+
};
|
|
1734
|
+
onboarding: {
|
|
1735
|
+
address?: string;
|
|
1736
|
+
approach: OnboardingApproach | null;
|
|
1737
|
+
complete: boolean;
|
|
1738
|
+
demoArtifactPort: number;
|
|
1739
|
+
deviceConnection?: string;
|
|
1740
|
+
deviceType: string[] | string | null;
|
|
1741
|
+
progress: string | null;
|
|
1742
|
+
showTips: boolean | null;
|
|
1743
|
+
showTipsDialog: boolean;
|
|
1744
|
+
};
|
|
1745
|
+
organization: OrganizationState;
|
|
1746
|
+
releases: ReleaseSliceType;
|
|
1747
|
+
users: {
|
|
1748
|
+
activationCode?: string;
|
|
1749
|
+
byId: Record<string, User>;
|
|
1750
|
+
currentSession?: UserSession | object;
|
|
1751
|
+
currentUser: string | null;
|
|
1752
|
+
customColumns: CustomColumn[];
|
|
1753
|
+
globalSettings: GlobalSettings;
|
|
1754
|
+
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
1755
|
+
qrCode: string | null;
|
|
1756
|
+
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
1757
|
+
rolesInitialized: boolean;
|
|
1758
|
+
settingsInitialized: boolean;
|
|
1759
|
+
showConnectDeviceDialog: boolean;
|
|
1760
|
+
showFeedbackDialog: boolean;
|
|
1761
|
+
showStartupNotification: boolean;
|
|
1762
|
+
tooltips: {
|
|
1763
|
+
byId: Record<string, {
|
|
1764
|
+
readState: ReadState;
|
|
1765
|
+
}>;
|
|
1766
|
+
};
|
|
1767
|
+
userSettings: UserSettings;
|
|
1768
|
+
userSettingsInitialized: boolean;
|
|
1769
|
+
};
|
|
1770
|
+
}) => string[]) & {
|
|
219
1771
|
clearCache: () => void;
|
|
220
1772
|
resultsCount: () => number;
|
|
221
1773
|
resetResultsCount: () => void;
|
|
222
1774
|
} & {
|
|
223
|
-
resultFunc: (resultFuncArgs_0:
|
|
224
|
-
|
|
1775
|
+
resultFunc: (resultFuncArgs_0: {
|
|
1776
|
+
identityAttributes: string[];
|
|
1777
|
+
inventoryAttributes: string[];
|
|
1778
|
+
systemAttributes: string[];
|
|
1779
|
+
tagAttributes: string[];
|
|
1780
|
+
}, resultFuncArgs_1: Record<string, string[]>) => string[];
|
|
1781
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
1782
|
+
identityAttributes: string[];
|
|
1783
|
+
inventoryAttributes: string[];
|
|
1784
|
+
systemAttributes: string[];
|
|
1785
|
+
tagAttributes: string[];
|
|
1786
|
+
}, resultFuncArgs_1: Record<string, string[]>) => string[]) & {
|
|
225
1787
|
clearCache: () => void;
|
|
226
1788
|
resultsCount: () => number;
|
|
227
1789
|
resetResultsCount: () => void;
|
|
228
1790
|
};
|
|
229
|
-
lastResult: () =>
|
|
230
|
-
dependencies: [(state:
|
|
1791
|
+
lastResult: () => string[];
|
|
1792
|
+
dependencies: [(state: RootState) => {
|
|
1793
|
+
identityAttributes: string[];
|
|
1794
|
+
inventoryAttributes: string[];
|
|
1795
|
+
systemAttributes: string[];
|
|
1796
|
+
tagAttributes: string[];
|
|
1797
|
+
}, (state: RootState) => Record<string, string[]>];
|
|
231
1798
|
recomputations: () => number;
|
|
232
1799
|
resetRecomputations: () => void;
|
|
233
1800
|
dependencyRecomputations: () => number;
|
|
@@ -236,19 +1803,161 @@ declare const getAttributesList: ((state: any) => any[]) & {
|
|
|
236
1803
|
memoize: typeof reselect.weakMapMemoize;
|
|
237
1804
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
238
1805
|
};
|
|
239
|
-
declare const getDeviceTypes: ((state:
|
|
1806
|
+
declare const getDeviceTypes: ((state: {
|
|
1807
|
+
app: {
|
|
1808
|
+
cancelSource: any;
|
|
1809
|
+
commit: string;
|
|
1810
|
+
demoArtifactLink: string;
|
|
1811
|
+
docsVersion: string;
|
|
1812
|
+
features: Record<string, boolean>;
|
|
1813
|
+
feedbackProbability: number;
|
|
1814
|
+
firstLoginAfterSignup: boolean;
|
|
1815
|
+
hostAddress: string | null;
|
|
1816
|
+
hostedAnnouncement: string;
|
|
1817
|
+
newThreshold: string;
|
|
1818
|
+
offlineThreshold: string;
|
|
1819
|
+
recaptchaSiteKey: string;
|
|
1820
|
+
searchState: SearchState;
|
|
1821
|
+
sentry: SentryConfig;
|
|
1822
|
+
snackbar: SnackbarContent;
|
|
1823
|
+
stripeAPIKey: string;
|
|
1824
|
+
trackerCode: string;
|
|
1825
|
+
uploadsById: Record<string, Upload>;
|
|
1826
|
+
versionInformation: {
|
|
1827
|
+
[key: string]: string | {
|
|
1828
|
+
releaseDate: string;
|
|
1829
|
+
repos: Record<string, string>;
|
|
1830
|
+
} | undefined;
|
|
1831
|
+
backend?: string;
|
|
1832
|
+
GUI?: string;
|
|
1833
|
+
latestRelease?: {
|
|
1834
|
+
releaseDate: string;
|
|
1835
|
+
repos: Record<string, string>;
|
|
1836
|
+
};
|
|
1837
|
+
};
|
|
1838
|
+
yesterday?: string;
|
|
1839
|
+
};
|
|
1840
|
+
devices: DeviceSliceType;
|
|
1841
|
+
deployments: {
|
|
1842
|
+
byId: Record<string, Deployment>;
|
|
1843
|
+
byStatus: DeploymentByStatus;
|
|
1844
|
+
config: DeploymentConfig;
|
|
1845
|
+
deploymentDeviceLimit: number;
|
|
1846
|
+
selectedDeviceIds: string[];
|
|
1847
|
+
selectionState: SelectionState;
|
|
1848
|
+
};
|
|
1849
|
+
monitor: {
|
|
1850
|
+
alerts: {
|
|
1851
|
+
alertList: {
|
|
1852
|
+
page: number;
|
|
1853
|
+
perPage: number;
|
|
1854
|
+
total: number;
|
|
1855
|
+
};
|
|
1856
|
+
byDeviceId: {
|
|
1857
|
+
alerts?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
1858
|
+
fullName?: string;
|
|
1859
|
+
}>;
|
|
1860
|
+
latest?: Record<string, _northern_tech_types_Alert.Alert & {
|
|
1861
|
+
fullName?: string;
|
|
1862
|
+
}>;
|
|
1863
|
+
};
|
|
1864
|
+
};
|
|
1865
|
+
issueCounts: {
|
|
1866
|
+
byType: {
|
|
1867
|
+
issues: {
|
|
1868
|
+
filtered: number;
|
|
1869
|
+
total: number;
|
|
1870
|
+
};
|
|
1871
|
+
offline: {
|
|
1872
|
+
filtered: number;
|
|
1873
|
+
total: number;
|
|
1874
|
+
};
|
|
1875
|
+
failedLastUpdate: {
|
|
1876
|
+
filtered: number;
|
|
1877
|
+
total: number;
|
|
1878
|
+
};
|
|
1879
|
+
monitoring: {
|
|
1880
|
+
filtered: number;
|
|
1881
|
+
total: number;
|
|
1882
|
+
};
|
|
1883
|
+
authRequests: {
|
|
1884
|
+
filtered: number;
|
|
1885
|
+
total: number;
|
|
1886
|
+
};
|
|
1887
|
+
gatewayDevices: {
|
|
1888
|
+
filtered: number;
|
|
1889
|
+
total: number;
|
|
1890
|
+
};
|
|
1891
|
+
};
|
|
1892
|
+
};
|
|
1893
|
+
settings: {
|
|
1894
|
+
global: {
|
|
1895
|
+
channels: {
|
|
1896
|
+
email: {
|
|
1897
|
+
enabled: boolean;
|
|
1898
|
+
};
|
|
1899
|
+
};
|
|
1900
|
+
};
|
|
1901
|
+
};
|
|
1902
|
+
};
|
|
1903
|
+
onboarding: {
|
|
1904
|
+
address?: string;
|
|
1905
|
+
approach: OnboardingApproach | null;
|
|
1906
|
+
complete: boolean;
|
|
1907
|
+
demoArtifactPort: number;
|
|
1908
|
+
deviceConnection?: string;
|
|
1909
|
+
deviceType: string[] | string | null;
|
|
1910
|
+
progress: string | null;
|
|
1911
|
+
showTips: boolean | null;
|
|
1912
|
+
showTipsDialog: boolean;
|
|
1913
|
+
};
|
|
1914
|
+
organization: OrganizationState;
|
|
1915
|
+
releases: ReleaseSliceType;
|
|
1916
|
+
users: {
|
|
1917
|
+
activationCode?: string;
|
|
1918
|
+
byId: Record<string, User>;
|
|
1919
|
+
currentSession?: UserSession | object;
|
|
1920
|
+
currentUser: string | null;
|
|
1921
|
+
customColumns: CustomColumn[];
|
|
1922
|
+
globalSettings: GlobalSettings;
|
|
1923
|
+
permissionSetsById: Record<string, _northern_tech_utils_constants.PermissionSet>;
|
|
1924
|
+
qrCode: string | null;
|
|
1925
|
+
rolesById: Record<string, _northern_tech_utils_constants.Role>;
|
|
1926
|
+
rolesInitialized: boolean;
|
|
1927
|
+
settingsInitialized: boolean;
|
|
1928
|
+
showConnectDeviceDialog: boolean;
|
|
1929
|
+
showFeedbackDialog: boolean;
|
|
1930
|
+
showStartupNotification: boolean;
|
|
1931
|
+
tooltips: {
|
|
1932
|
+
byId: Record<string, {
|
|
1933
|
+
readState: ReadState;
|
|
1934
|
+
}>;
|
|
1935
|
+
};
|
|
1936
|
+
userSettings: UserSettings;
|
|
1937
|
+
userSettingsInitialized: boolean;
|
|
1938
|
+
};
|
|
1939
|
+
}) => string[]) & {
|
|
240
1940
|
clearCache: () => void;
|
|
241
1941
|
resultsCount: () => number;
|
|
242
1942
|
resetResultsCount: () => void;
|
|
243
1943
|
} & {
|
|
244
|
-
resultFunc: (resultFuncArgs_0:
|
|
245
|
-
|
|
1944
|
+
resultFunc: (resultFuncArgs_0: {
|
|
1945
|
+
deviceIds: string[];
|
|
1946
|
+
total: number;
|
|
1947
|
+
}, resultFuncArgs_1: Record<string, Device>) => string[];
|
|
1948
|
+
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
1949
|
+
deviceIds: string[];
|
|
1950
|
+
total: number;
|
|
1951
|
+
}, resultFuncArgs_1: Record<string, Device>) => string[]) & {
|
|
246
1952
|
clearCache: () => void;
|
|
247
1953
|
resultsCount: () => number;
|
|
248
1954
|
resetResultsCount: () => void;
|
|
249
1955
|
};
|
|
250
1956
|
lastResult: () => string[];
|
|
251
|
-
dependencies: [(state:
|
|
1957
|
+
dependencies: [(state: RootState) => {
|
|
1958
|
+
deviceIds: string[];
|
|
1959
|
+
total: number;
|
|
1960
|
+
}, (state: RootState) => Record<string, Device>];
|
|
252
1961
|
recomputations: () => number;
|
|
253
1962
|
resetRecomputations: () => void;
|
|
254
1963
|
dependencyRecomputations: () => number;
|
|
@@ -258,4 +1967,4 @@ declare const getDeviceTypes: ((state: any) => string[]) & {
|
|
|
258
1967
|
argsMemoize: typeof reselect.weakMapMemoize;
|
|
259
1968
|
};
|
|
260
1969
|
|
|
261
|
-
export { getAcceptedDevices, getAttributesList, getDeviceById, getDeviceCountsByStatus, getDeviceFilters, getDeviceIdentityAttributes, getDeviceLimit, getDeviceListState, getDeviceReports, getDeviceTypes, getDevicesById, getDevicesByStatus, getFilteringAttributes, getGroups, getGroupsById, getGroupsByIdWithoutUngrouped, getLimitMaxed, getListedDevices, getSelectedGroup, getSelectedGroupInfo, getSortedFilteringAttributes };
|
|
1970
|
+
export { getAcceptedDevices, getAttributesList, getDeviceById, getDeviceCountsByStatus, getDeviceFilters, getDeviceIdentityAttributes, getDeviceLimit, getDeviceListState, getDeviceReports, getDeviceTypes, getDevicesById, getDevicesByStatus, getFilteringAttributes, getGroupData, getGroups, getGroupsById, getGroupsByIdWithoutUngrouped, getLimitMaxed, getListedDevices, getSelectedGroup, getSelectedGroupInfo, getSortedFilteringAttributes };
|