@northern.tech/store 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/dist/actions.cjs +20 -17
  2. package/dist/actions.cjs.map +1 -1
  3. package/dist/actions.js +8 -8
  4. package/dist/api/general-api.js +2 -2
  5. package/dist/api/types/Tenant.ts +17 -12
  6. package/dist/api/users-api.js +2 -2
  7. package/dist/appSlice/constants.cjs +18 -10
  8. package/dist/appSlice/constants.cjs.map +1 -1
  9. package/dist/appSlice/constants.d.cts +41 -84
  10. package/dist/appSlice/constants.d.ts +41 -84
  11. package/dist/appSlice/constants.js +1 -1
  12. package/dist/appSlice/index.js +2 -2
  13. package/dist/appSlice/thunks.cjs +140 -96
  14. package/dist/appSlice/thunks.cjs.map +1 -1
  15. package/dist/appSlice/thunks.js +19 -19
  16. package/dist/auth.js +2 -2
  17. package/dist/{chunk-Q6M5TTDQ.js → chunk-2CYOM4BK.js} +1 -1
  18. package/dist/chunk-2CYOM4BK.js.map +1 -0
  19. package/dist/{chunk-APHL4JZP.js → chunk-2JHFUQ6B.js} +141 -102
  20. package/dist/chunk-2JHFUQ6B.js.map +1 -0
  21. package/dist/{chunk-YETZPQFR.js → chunk-4XJMRVFI.js} +12 -11
  22. package/dist/chunk-4XJMRVFI.js.map +1 -0
  23. package/dist/{chunk-RX55KAKX.js → chunk-7JKWI5FK.js} +2 -2
  24. package/dist/{chunk-A6CT6GTI.js → chunk-C5NEDBJI.js} +17 -11
  25. package/dist/chunk-C5NEDBJI.js.map +1 -0
  26. package/dist/{chunk-NNADGHSL.js → chunk-DAPAXWA5.js} +8 -8
  27. package/dist/{chunk-ANB5BM5J.js → chunk-DCK2DBOA.js} +27 -20
  28. package/dist/chunk-DCK2DBOA.js.map +1 -0
  29. package/dist/{chunk-E5LEU5PF.js → chunk-HPBE6KYY.js} +2 -2
  30. package/dist/{chunk-2RJIDREZ.js → chunk-LEMVXAYP.js} +25 -16
  31. package/dist/chunk-LEMVXAYP.js.map +1 -0
  32. package/dist/{chunk-NI4SZOCF.js → chunk-LGNOTPUG.js} +9 -9
  33. package/dist/{chunk-MDC7Y3EX.js → chunk-LTKOV26W.js} +22 -20
  34. package/dist/chunk-LTKOV26W.js.map +1 -0
  35. package/dist/{chunk-YTQUNAZP.js → chunk-QRGTG4YB.js} +2 -2
  36. package/dist/{chunk-XTRPX7JZ.js → chunk-TI2RL5P2.js} +2 -2
  37. package/dist/chunk-TI2RL5P2.js.map +1 -0
  38. package/dist/{chunk-YGBFDXXA.js → chunk-TUACATJA.js} +2 -2
  39. package/dist/{chunk-25AKG5HH.js → chunk-UWMYZNUB.js} +19 -11
  40. package/dist/chunk-UWMYZNUB.js.map +1 -0
  41. package/dist/{chunk-UEP36GCI.js → chunk-VMNMD6KF.js} +2 -2
  42. package/dist/{chunk-KAQJH2YL.js → chunk-WXL7PVI5.js} +12 -4
  43. package/dist/chunk-WXL7PVI5.js.map +1 -0
  44. package/dist/{chunk-VOCOFE4I.js → chunk-X7IEZBM4.js} +2 -2
  45. package/dist/{chunk-XXHONFSQ.js → chunk-YDS36ALB.js} +3 -3
  46. package/dist/{chunk-XXHONFSQ.js.map → chunk-YDS36ALB.js.map} +1 -1
  47. package/dist/commonSelectors.cjs +40 -18
  48. package/dist/commonSelectors.cjs.map +1 -1
  49. package/dist/commonSelectors.d.cts +54 -46
  50. package/dist/commonSelectors.d.ts +54 -46
  51. package/dist/commonSelectors.js +9 -9
  52. package/dist/constants.cjs +35 -19
  53. package/dist/constants.cjs.map +1 -1
  54. package/dist/constants.d.cts +3 -3
  55. package/dist/constants.d.ts +3 -3
  56. package/dist/constants.js +6 -2
  57. package/dist/deploymentdevicehook.cjs +146 -101
  58. package/dist/deploymentdevicehook.cjs.map +1 -1
  59. package/dist/deploymentdevicehook.d.cts +1 -1
  60. package/dist/deploymentdevicehook.d.ts +1 -1
  61. package/dist/deploymentdevicehook.js +24 -22
  62. package/dist/deploymentdevicehook.js.map +1 -1
  63. package/dist/deploymentsSlice/constants.cjs +8 -8
  64. package/dist/deploymentsSlice/constants.cjs.map +1 -1
  65. package/dist/deploymentsSlice/constants.js +2 -2
  66. package/dist/deploymentsSlice/index.cjs +8 -8
  67. package/dist/deploymentsSlice/index.cjs.map +1 -1
  68. package/dist/deploymentsSlice/index.js +3 -3
  69. package/dist/deploymentsSlice/selectors.cjs +8 -8
  70. package/dist/deploymentsSlice/selectors.cjs.map +1 -1
  71. package/dist/deploymentsSlice/selectors.js +3 -3
  72. package/dist/deploymentsSlice/thunks.cjs +140 -96
  73. package/dist/deploymentsSlice/thunks.cjs.map +1 -1
  74. package/dist/deploymentsSlice/thunks.js +19 -19
  75. package/dist/devicesSlice/constants.cjs +11 -8
  76. package/dist/devicesSlice/constants.cjs.map +1 -1
  77. package/dist/devicesSlice/constants.d.cts +2 -1
  78. package/dist/devicesSlice/constants.d.ts +2 -1
  79. package/dist/devicesSlice/constants.js +4 -2
  80. package/dist/devicesSlice/index.cjs +8 -8
  81. package/dist/devicesSlice/index.cjs.map +1 -1
  82. package/dist/devicesSlice/index.js +3 -3
  83. package/dist/devicesSlice/selectors.cjs +9 -9
  84. package/dist/devicesSlice/selectors.cjs.map +1 -1
  85. package/dist/devicesSlice/selectors.js +3 -3
  86. package/dist/devicesSlice/thunks.cjs +142 -96
  87. package/dist/devicesSlice/thunks.cjs.map +1 -1
  88. package/dist/devicesSlice/thunks.d.cts +12 -2
  89. package/dist/devicesSlice/thunks.d.ts +12 -2
  90. package/dist/devicesSlice/thunks.js +21 -19
  91. package/dist/flag-eu-5477R2P4.svg +130 -0
  92. package/dist/flag-us-HNQAF66I.svg +63 -0
  93. package/dist/monitorSlice/constants.cjs +8 -8
  94. package/dist/monitorSlice/constants.cjs.map +1 -1
  95. package/dist/monitorSlice/constants.js +2 -2
  96. package/dist/monitorSlice/index.cjs +8 -8
  97. package/dist/monitorSlice/index.cjs.map +1 -1
  98. package/dist/monitorSlice/index.js +3 -3
  99. package/dist/monitorSlice/thunks.cjs +59 -37
  100. package/dist/monitorSlice/thunks.cjs.map +1 -1
  101. package/dist/monitorSlice/thunks.js +17 -17
  102. package/dist/onboardingSlice/thunks.cjs +149 -102
  103. package/dist/onboardingSlice/thunks.cjs.map +1 -1
  104. package/dist/onboardingSlice/thunks.d.cts +1 -32
  105. package/dist/onboardingSlice/thunks.d.ts +1 -32
  106. package/dist/onboardingSlice/thunks.js +19 -19
  107. package/dist/organizationSlice/constants.cjs +22 -17
  108. package/dist/organizationSlice/constants.cjs.map +1 -1
  109. package/dist/organizationSlice/constants.d.cts +33 -1
  110. package/dist/organizationSlice/constants.d.ts +33 -1
  111. package/dist/organizationSlice/constants.js +4 -2
  112. package/dist/organizationSlice/index.cjs +18 -15
  113. package/dist/organizationSlice/index.cjs.map +1 -1
  114. package/dist/organizationSlice/index.d.cts +26 -1012
  115. package/dist/organizationSlice/index.d.ts +26 -1012
  116. package/dist/organizationSlice/index.js +3 -3
  117. package/dist/organizationSlice/selectors.cjs.map +1 -1
  118. package/dist/organizationSlice/selectors.d.cts +9 -1
  119. package/dist/organizationSlice/selectors.d.ts +9 -1
  120. package/dist/organizationSlice/selectors.js +3 -3
  121. package/dist/organizationSlice/thunks.cjs +1608 -1540
  122. package/dist/organizationSlice/thunks.cjs.map +1 -1
  123. package/dist/organizationSlice/thunks.d.cts +61 -36
  124. package/dist/organizationSlice/thunks.d.ts +61 -36
  125. package/dist/organizationSlice/thunks.js +19 -19
  126. package/dist/organizationSlice/types.cjs +19 -0
  127. package/dist/organizationSlice/types.cjs.map +1 -0
  128. package/dist/organizationSlice/types.d.cts +114 -0
  129. package/dist/organizationSlice/types.d.ts +114 -0
  130. package/dist/organizationSlice/types.js +1 -0
  131. package/dist/organizationSlice/types.js.map +1 -0
  132. package/dist/releasesSlice/index.js +2 -2
  133. package/dist/releasesSlice/selectors.cjs +11 -0
  134. package/dist/releasesSlice/selectors.cjs.map +1 -1
  135. package/dist/releasesSlice/selectors.js +4 -4
  136. package/dist/releasesSlice/thunks.cjs +73 -49
  137. package/dist/releasesSlice/thunks.cjs.map +1 -1
  138. package/dist/releasesSlice/thunks.d.cts +1 -4
  139. package/dist/releasesSlice/thunks.d.ts +1 -4
  140. package/dist/releasesSlice/thunks.js +17 -17
  141. package/dist/selectors.cjs +46 -18
  142. package/dist/selectors.cjs.map +1 -1
  143. package/dist/selectors.d.cts +9 -1
  144. package/dist/selectors.d.ts +9 -1
  145. package/dist/selectors.js +36 -30
  146. package/dist/store.cjs +36 -23
  147. package/dist/store.cjs.map +1 -1
  148. package/dist/store.d.cts +12 -231
  149. package/dist/store.d.ts +12 -231
  150. package/dist/store.js +13 -11
  151. package/dist/storehooks.cjs +222 -141
  152. package/dist/storehooks.cjs.map +1 -1
  153. package/dist/storehooks.js +36 -24
  154. package/dist/storehooks.js.map +1 -1
  155. package/dist/thunks.cjs +199 -126
  156. package/dist/thunks.cjs.map +1 -1
  157. package/dist/thunks.d.cts +5 -1
  158. package/dist/thunks.d.ts +5 -1
  159. package/dist/thunks.js +21 -19
  160. package/dist/usersSlice/constants.cjs +10 -10
  161. package/dist/usersSlice/constants.cjs.map +1 -1
  162. package/dist/usersSlice/constants.js +2 -2
  163. package/dist/usersSlice/index.cjs +10 -10
  164. package/dist/usersSlice/index.cjs.map +1 -1
  165. package/dist/usersSlice/index.js +3 -3
  166. package/dist/usersSlice/selectors.cjs +35 -13
  167. package/dist/usersSlice/selectors.cjs.map +1 -1
  168. package/dist/usersSlice/selectors.d.cts +44 -1
  169. package/dist/usersSlice/selectors.d.ts +44 -1
  170. package/dist/usersSlice/selectors.js +12 -6
  171. package/dist/usersSlice/thunks.cjs +138 -96
  172. package/dist/usersSlice/thunks.cjs.map +1 -1
  173. package/dist/usersSlice/thunks.d.cts +10 -9
  174. package/dist/usersSlice/thunks.d.ts +10 -9
  175. package/dist/usersSlice/thunks.js +19 -19
  176. package/dist/utils.cjs +17 -16
  177. package/dist/utils.cjs.map +1 -1
  178. package/dist/utils.js +3 -3
  179. package/package.json +7 -7
  180. package/dist/chunk-25AKG5HH.js.map +0 -1
  181. package/dist/chunk-2RJIDREZ.js.map +0 -1
  182. package/dist/chunk-A6CT6GTI.js.map +0 -1
  183. package/dist/chunk-ANB5BM5J.js.map +0 -1
  184. package/dist/chunk-APHL4JZP.js.map +0 -1
  185. package/dist/chunk-KAQJH2YL.js.map +0 -1
  186. package/dist/chunk-MDC7Y3EX.js.map +0 -1
  187. package/dist/chunk-Q6M5TTDQ.js.map +0 -1
  188. package/dist/chunk-XTRPX7JZ.js.map +0 -1
  189. package/dist/chunk-YETZPQFR.js.map +0 -1
  190. /package/dist/{chunk-RX55KAKX.js.map → chunk-7JKWI5FK.js.map} +0 -0
  191. /package/dist/{chunk-NNADGHSL.js.map → chunk-DAPAXWA5.js.map} +0 -0
  192. /package/dist/{chunk-E5LEU5PF.js.map → chunk-HPBE6KYY.js.map} +0 -0
  193. /package/dist/{chunk-NI4SZOCF.js.map → chunk-LGNOTPUG.js.map} +0 -0
  194. /package/dist/{chunk-YTQUNAZP.js.map → chunk-QRGTG4YB.js.map} +0 -0
  195. /package/dist/{chunk-YGBFDXXA.js.map → chunk-TUACATJA.js.map} +0 -0
  196. /package/dist/{chunk-UEP36GCI.js.map → chunk-VMNMD6KF.js.map} +0 -0
  197. /package/dist/{chunk-VOCOFE4I.js.map → chunk-X7IEZBM4.js.map} +0 -0
package/dist/store.d.cts CHANGED
@@ -1,6 +1,10 @@
1
1
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
2
2
  import * as redux_thunk from 'redux-thunk';
3
3
  import * as redux from 'redux';
4
+ import { OrganizationState } from './organizationSlice/types.cjs';
5
+ import './appSlice/constants.cjs';
6
+ import '@mui/material/OverridableComponent';
7
+ import '@mui/material';
4
8
 
5
9
  declare const commonErrorFallback = "Please check your connection.";
6
10
  declare const commonErrorHandler: (err: any, errorContext: any, dispatch: any, fallback: any, mightBeAuthRelated?: boolean) => Promise<never>;
@@ -235,52 +239,7 @@ declare const sessionReducer: (state: any, action: any) => {
235
239
  showTips: null;
236
240
  showTipsDialog: boolean;
237
241
  };
238
- organization: {
239
- card: {
240
- last4: string;
241
- expiration: {
242
- month: number;
243
- year: number;
244
- };
245
- brand: string;
246
- };
247
- intentId: null;
248
- tenantList: {
249
- total: number;
250
- tenants: never[];
251
- selectedTenant: null;
252
- sort: {
253
- direction: string;
254
- key: string;
255
- };
256
- page: number;
257
- perPage: number;
258
- };
259
- organization: {};
260
- auditlog: {
261
- events: never[];
262
- selectionState: {
263
- detail: undefined;
264
- endDate: undefined;
265
- selectedIssue: undefined;
266
- sort: {
267
- direction: string;
268
- };
269
- startDate: undefined;
270
- total: number;
271
- type: undefined;
272
- user: undefined;
273
- page: number;
274
- perPage: number;
275
- };
276
- };
277
- externalDeviceIntegrations: never[];
278
- ssoConfigs: never[];
279
- webhooks: {
280
- events: never[];
281
- eventsTotal: number;
282
- };
283
- };
242
+ organization: OrganizationState;
284
243
  releases: {
285
244
  artifacts: never[];
286
245
  byId: {};
@@ -714,52 +673,7 @@ declare const getConfiguredStore: (options?: {}) => _reduxjs_toolkit.EnhancedSto
714
673
  showTips: null;
715
674
  showTipsDialog: boolean;
716
675
  };
717
- organization: {
718
- card: {
719
- last4: string;
720
- expiration: {
721
- month: number;
722
- year: number;
723
- };
724
- brand: string;
725
- };
726
- intentId: null;
727
- tenantList: {
728
- total: number;
729
- tenants: never[];
730
- selectedTenant: null;
731
- sort: {
732
- direction: string;
733
- key: string;
734
- };
735
- page: number;
736
- perPage: number;
737
- };
738
- organization: {};
739
- auditlog: {
740
- events: never[];
741
- selectionState: {
742
- detail: undefined;
743
- endDate: undefined;
744
- selectedIssue: undefined;
745
- sort: {
746
- direction: string;
747
- };
748
- startDate: undefined;
749
- total: number;
750
- type: undefined;
751
- user: undefined;
752
- page: number;
753
- perPage: number;
754
- };
755
- };
756
- externalDeviceIntegrations: never[];
757
- ssoConfigs: never[];
758
- webhooks: {
759
- events: never[];
760
- eventsTotal: number;
761
- };
762
- };
676
+ organization: OrganizationState;
763
677
  releases: {
764
678
  artifacts: never[];
765
679
  byId: {};
@@ -1193,52 +1107,7 @@ declare const getConfiguredStore: (options?: {}) => _reduxjs_toolkit.EnhancedSto
1193
1107
  showTips: null;
1194
1108
  showTipsDialog: boolean;
1195
1109
  };
1196
- organization: {
1197
- card: {
1198
- last4: string;
1199
- expiration: {
1200
- month: number;
1201
- year: number;
1202
- };
1203
- brand: string;
1204
- };
1205
- intentId: null;
1206
- tenantList: {
1207
- total: number;
1208
- tenants: never[];
1209
- selectedTenant: null;
1210
- sort: {
1211
- direction: string;
1212
- key: string;
1213
- };
1214
- page: number;
1215
- perPage: number;
1216
- };
1217
- organization: {};
1218
- auditlog: {
1219
- events: never[];
1220
- selectionState: {
1221
- detail: undefined;
1222
- endDate: undefined;
1223
- selectedIssue: undefined;
1224
- sort: {
1225
- direction: string;
1226
- };
1227
- startDate: undefined;
1228
- total: number;
1229
- type: undefined;
1230
- user: undefined;
1231
- page: number;
1232
- perPage: number;
1233
- };
1234
- };
1235
- externalDeviceIntegrations: never[];
1236
- ssoConfigs: never[];
1237
- webhooks: {
1238
- events: never[];
1239
- eventsTotal: number;
1240
- };
1241
- };
1110
+ organization: OrganizationState;
1242
1111
  releases: {
1243
1112
  artifacts: never[];
1244
1113
  byId: {};
@@ -1673,52 +1542,7 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
1673
1542
  showTips: null;
1674
1543
  showTipsDialog: boolean;
1675
1544
  };
1676
- organization: {
1677
- card: {
1678
- last4: string;
1679
- expiration: {
1680
- month: number;
1681
- year: number;
1682
- };
1683
- brand: string;
1684
- };
1685
- intentId: null;
1686
- tenantList: {
1687
- total: number;
1688
- tenants: never[];
1689
- selectedTenant: null;
1690
- sort: {
1691
- direction: string;
1692
- key: string;
1693
- };
1694
- page: number;
1695
- perPage: number;
1696
- };
1697
- organization: {};
1698
- auditlog: {
1699
- events: never[];
1700
- selectionState: {
1701
- detail: undefined;
1702
- endDate: undefined;
1703
- selectedIssue: undefined;
1704
- sort: {
1705
- direction: string;
1706
- };
1707
- startDate: undefined;
1708
- total: number;
1709
- type: undefined;
1710
- user: undefined;
1711
- page: number;
1712
- perPage: number;
1713
- };
1714
- };
1715
- externalDeviceIntegrations: never[];
1716
- ssoConfigs: never[];
1717
- webhooks: {
1718
- events: never[];
1719
- eventsTotal: number;
1720
- };
1721
- };
1545
+ organization: OrganizationState;
1722
1546
  releases: {
1723
1547
  artifacts: never[];
1724
1548
  byId: {};
@@ -2152,52 +1976,7 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
2152
1976
  showTips: null;
2153
1977
  showTipsDialog: boolean;
2154
1978
  };
2155
- organization: {
2156
- card: {
2157
- last4: string;
2158
- expiration: {
2159
- month: number;
2160
- year: number;
2161
- };
2162
- brand: string;
2163
- };
2164
- intentId: null;
2165
- tenantList: {
2166
- total: number;
2167
- tenants: never[];
2168
- selectedTenant: null;
2169
- sort: {
2170
- direction: string;
2171
- key: string;
2172
- };
2173
- page: number;
2174
- perPage: number;
2175
- };
2176
- organization: {};
2177
- auditlog: {
2178
- events: never[];
2179
- selectionState: {
2180
- detail: undefined;
2181
- endDate: undefined;
2182
- selectedIssue: undefined;
2183
- sort: {
2184
- direction: string;
2185
- };
2186
- startDate: undefined;
2187
- total: number;
2188
- type: undefined;
2189
- user: undefined;
2190
- page: number;
2191
- perPage: number;
2192
- };
2193
- };
2194
- externalDeviceIntegrations: never[];
2195
- ssoConfigs: never[];
2196
- webhooks: {
2197
- events: never[];
2198
- eventsTotal: number;
2199
- };
2200
- };
1979
+ organization: OrganizationState;
2201
1980
  releases: {
2202
1981
  artifacts: never[];
2203
1982
  byId: {};
@@ -2402,5 +2181,7 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
2402
2181
  }, undefined, redux.UnknownAction>;
2403
2182
  }>, redux.StoreEnhancer]>>;
2404
2183
  type AppDispatch = typeof store.dispatch;
2184
+ declare const useAppDispatch: () => AppDispatch;
2185
+ type RootState = ReturnType<typeof store.getState>;
2405
2186
 
2406
- export { type AppDispatch, commonErrorFallback, commonErrorHandler, getConfiguredStore, sessionReducer, store };
2187
+ export { type AppDispatch, type RootState, commonErrorFallback, commonErrorHandler, getConfiguredStore, sessionReducer, store, useAppDispatch };
package/dist/store.d.ts CHANGED
@@ -1,6 +1,10 @@
1
1
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
2
2
  import * as redux_thunk from 'redux-thunk';
3
3
  import * as redux from 'redux';
4
+ import { OrganizationState } from './organizationSlice/types.js';
5
+ import './appSlice/constants.js';
6
+ import '@mui/material/OverridableComponent';
7
+ import '@mui/material';
4
8
 
5
9
  declare const commonErrorFallback = "Please check your connection.";
6
10
  declare const commonErrorHandler: (err: any, errorContext: any, dispatch: any, fallback: any, mightBeAuthRelated?: boolean) => Promise<never>;
@@ -235,52 +239,7 @@ declare const sessionReducer: (state: any, action: any) => {
235
239
  showTips: null;
236
240
  showTipsDialog: boolean;
237
241
  };
238
- organization: {
239
- card: {
240
- last4: string;
241
- expiration: {
242
- month: number;
243
- year: number;
244
- };
245
- brand: string;
246
- };
247
- intentId: null;
248
- tenantList: {
249
- total: number;
250
- tenants: never[];
251
- selectedTenant: null;
252
- sort: {
253
- direction: string;
254
- key: string;
255
- };
256
- page: number;
257
- perPage: number;
258
- };
259
- organization: {};
260
- auditlog: {
261
- events: never[];
262
- selectionState: {
263
- detail: undefined;
264
- endDate: undefined;
265
- selectedIssue: undefined;
266
- sort: {
267
- direction: string;
268
- };
269
- startDate: undefined;
270
- total: number;
271
- type: undefined;
272
- user: undefined;
273
- page: number;
274
- perPage: number;
275
- };
276
- };
277
- externalDeviceIntegrations: never[];
278
- ssoConfigs: never[];
279
- webhooks: {
280
- events: never[];
281
- eventsTotal: number;
282
- };
283
- };
242
+ organization: OrganizationState;
284
243
  releases: {
285
244
  artifacts: never[];
286
245
  byId: {};
@@ -714,52 +673,7 @@ declare const getConfiguredStore: (options?: {}) => _reduxjs_toolkit.EnhancedSto
714
673
  showTips: null;
715
674
  showTipsDialog: boolean;
716
675
  };
717
- organization: {
718
- card: {
719
- last4: string;
720
- expiration: {
721
- month: number;
722
- year: number;
723
- };
724
- brand: string;
725
- };
726
- intentId: null;
727
- tenantList: {
728
- total: number;
729
- tenants: never[];
730
- selectedTenant: null;
731
- sort: {
732
- direction: string;
733
- key: string;
734
- };
735
- page: number;
736
- perPage: number;
737
- };
738
- organization: {};
739
- auditlog: {
740
- events: never[];
741
- selectionState: {
742
- detail: undefined;
743
- endDate: undefined;
744
- selectedIssue: undefined;
745
- sort: {
746
- direction: string;
747
- };
748
- startDate: undefined;
749
- total: number;
750
- type: undefined;
751
- user: undefined;
752
- page: number;
753
- perPage: number;
754
- };
755
- };
756
- externalDeviceIntegrations: never[];
757
- ssoConfigs: never[];
758
- webhooks: {
759
- events: never[];
760
- eventsTotal: number;
761
- };
762
- };
676
+ organization: OrganizationState;
763
677
  releases: {
764
678
  artifacts: never[];
765
679
  byId: {};
@@ -1193,52 +1107,7 @@ declare const getConfiguredStore: (options?: {}) => _reduxjs_toolkit.EnhancedSto
1193
1107
  showTips: null;
1194
1108
  showTipsDialog: boolean;
1195
1109
  };
1196
- organization: {
1197
- card: {
1198
- last4: string;
1199
- expiration: {
1200
- month: number;
1201
- year: number;
1202
- };
1203
- brand: string;
1204
- };
1205
- intentId: null;
1206
- tenantList: {
1207
- total: number;
1208
- tenants: never[];
1209
- selectedTenant: null;
1210
- sort: {
1211
- direction: string;
1212
- key: string;
1213
- };
1214
- page: number;
1215
- perPage: number;
1216
- };
1217
- organization: {};
1218
- auditlog: {
1219
- events: never[];
1220
- selectionState: {
1221
- detail: undefined;
1222
- endDate: undefined;
1223
- selectedIssue: undefined;
1224
- sort: {
1225
- direction: string;
1226
- };
1227
- startDate: undefined;
1228
- total: number;
1229
- type: undefined;
1230
- user: undefined;
1231
- page: number;
1232
- perPage: number;
1233
- };
1234
- };
1235
- externalDeviceIntegrations: never[];
1236
- ssoConfigs: never[];
1237
- webhooks: {
1238
- events: never[];
1239
- eventsTotal: number;
1240
- };
1241
- };
1110
+ organization: OrganizationState;
1242
1111
  releases: {
1243
1112
  artifacts: never[];
1244
1113
  byId: {};
@@ -1673,52 +1542,7 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
1673
1542
  showTips: null;
1674
1543
  showTipsDialog: boolean;
1675
1544
  };
1676
- organization: {
1677
- card: {
1678
- last4: string;
1679
- expiration: {
1680
- month: number;
1681
- year: number;
1682
- };
1683
- brand: string;
1684
- };
1685
- intentId: null;
1686
- tenantList: {
1687
- total: number;
1688
- tenants: never[];
1689
- selectedTenant: null;
1690
- sort: {
1691
- direction: string;
1692
- key: string;
1693
- };
1694
- page: number;
1695
- perPage: number;
1696
- };
1697
- organization: {};
1698
- auditlog: {
1699
- events: never[];
1700
- selectionState: {
1701
- detail: undefined;
1702
- endDate: undefined;
1703
- selectedIssue: undefined;
1704
- sort: {
1705
- direction: string;
1706
- };
1707
- startDate: undefined;
1708
- total: number;
1709
- type: undefined;
1710
- user: undefined;
1711
- page: number;
1712
- perPage: number;
1713
- };
1714
- };
1715
- externalDeviceIntegrations: never[];
1716
- ssoConfigs: never[];
1717
- webhooks: {
1718
- events: never[];
1719
- eventsTotal: number;
1720
- };
1721
- };
1545
+ organization: OrganizationState;
1722
1546
  releases: {
1723
1547
  artifacts: never[];
1724
1548
  byId: {};
@@ -2152,52 +1976,7 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
2152
1976
  showTips: null;
2153
1977
  showTipsDialog: boolean;
2154
1978
  };
2155
- organization: {
2156
- card: {
2157
- last4: string;
2158
- expiration: {
2159
- month: number;
2160
- year: number;
2161
- };
2162
- brand: string;
2163
- };
2164
- intentId: null;
2165
- tenantList: {
2166
- total: number;
2167
- tenants: never[];
2168
- selectedTenant: null;
2169
- sort: {
2170
- direction: string;
2171
- key: string;
2172
- };
2173
- page: number;
2174
- perPage: number;
2175
- };
2176
- organization: {};
2177
- auditlog: {
2178
- events: never[];
2179
- selectionState: {
2180
- detail: undefined;
2181
- endDate: undefined;
2182
- selectedIssue: undefined;
2183
- sort: {
2184
- direction: string;
2185
- };
2186
- startDate: undefined;
2187
- total: number;
2188
- type: undefined;
2189
- user: undefined;
2190
- page: number;
2191
- perPage: number;
2192
- };
2193
- };
2194
- externalDeviceIntegrations: never[];
2195
- ssoConfigs: never[];
2196
- webhooks: {
2197
- events: never[];
2198
- eventsTotal: number;
2199
- };
2200
- };
1979
+ organization: OrganizationState;
2201
1980
  releases: {
2202
1981
  artifacts: never[];
2203
1982
  byId: {};
@@ -2402,5 +2181,7 @@ declare const store: _reduxjs_toolkit.EnhancedStore<{
2402
2181
  }, undefined, redux.UnknownAction>;
2403
2182
  }>, redux.StoreEnhancer]>>;
2404
2183
  type AppDispatch = typeof store.dispatch;
2184
+ declare const useAppDispatch: () => AppDispatch;
2185
+ type RootState = ReturnType<typeof store.getState>;
2405
2186
 
2406
- export { type AppDispatch, commonErrorFallback, commonErrorHandler, getConfiguredStore, sessionReducer, store };
2187
+ export { type AppDispatch, type RootState, commonErrorFallback, commonErrorHandler, getConfiguredStore, sessionReducer, store, useAppDispatch };
package/dist/store.js CHANGED
@@ -3,28 +3,30 @@ import {
3
3
  commonErrorHandler,
4
4
  getConfiguredStore,
5
5
  sessionReducer,
6
- store
7
- } from "./chunk-2RJIDREZ.js";
8
- import "./chunk-NNADGHSL.js";
9
- import "./chunk-YGBFDXXA.js";
6
+ store,
7
+ useAppDispatch
8
+ } from "./chunk-LEMVXAYP.js";
9
+ import "./chunk-DAPAXWA5.js";
10
+ import "./chunk-TUACATJA.js";
11
+ import "./chunk-TI2RL5P2.js";
10
12
  import "./chunk-CYV6632F.js";
11
- import "./chunk-E5LEU5PF.js";
13
+ import "./chunk-HPBE6KYY.js";
12
14
  import "./chunk-FGKMJS3B.js";
13
- import "./chunk-XTRPX7JZ.js";
14
- import "./chunk-YTQUNAZP.js";
15
- import "./chunk-UEP36GCI.js";
15
+ import "./chunk-QRGTG4YB.js";
16
+ import "./chunk-VMNMD6KF.js";
16
17
  import "./chunk-7PVGDMNM.js";
17
18
  import "./chunk-AMGWP7A4.js";
18
- import "./chunk-A6CT6GTI.js";
19
+ import "./chunk-C5NEDBJI.js";
19
20
  import "./chunk-CK6YE6AN.js";
20
21
  import "./chunk-MRCFLG45.js";
21
- import "./chunk-25AKG5HH.js";
22
+ import "./chunk-UWMYZNUB.js";
22
23
  import "./chunk-4B3IMP4I.js";
23
24
  export {
24
25
  commonErrorFallback,
25
26
  commonErrorHandler,
26
27
  getConfiguredStore,
27
28
  sessionReducer,
28
- store
29
+ store,
30
+ useAppDispatch
29
31
  };
30
32
  //# sourceMappingURL=store.js.map