mattermost-redux 5.33.1 → 10.6.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.
Files changed (1290) hide show
  1. package/README.md +6 -188
  2. package/lib/action_types/admin.d.ts +51 -0
  3. package/lib/action_types/admin.js +58 -0
  4. package/lib/action_types/apps.d.ts +10 -0
  5. package/lib/action_types/apps.js +17 -0
  6. package/lib/action_types/bots.d.ts +5 -0
  7. package/lib/action_types/bots.js +12 -0
  8. package/lib/action_types/channel_bookmarks.d.ts +6 -0
  9. package/lib/action_types/channel_bookmarks.js +13 -0
  10. package/lib/action_types/channel_categories.d.ts +9 -0
  11. package/lib/action_types/channel_categories.js +16 -0
  12. package/lib/action_types/channels.d.ts +68 -0
  13. package/lib/action_types/channels.js +75 -0
  14. package/lib/action_types/cloud.d.ts +26 -0
  15. package/lib/action_types/cloud.js +33 -0
  16. package/lib/action_types/drafts.d.ts +11 -0
  17. package/lib/action_types/drafts.js +18 -0
  18. package/lib/action_types/emojis.d.ts +8 -0
  19. package/lib/action_types/emojis.js +15 -0
  20. package/lib/action_types/errors.d.ts +7 -0
  21. package/lib/action_types/errors.js +14 -0
  22. package/lib/action_types/files.d.ts +12 -0
  23. package/lib/action_types/files.js +19 -0
  24. package/lib/action_types/general.d.ts +22 -0
  25. package/lib/action_types/general.js +29 -0
  26. package/lib/action_types/groups.d.ts +33 -0
  27. package/lib/action_types/groups.js +40 -0
  28. package/lib/action_types/hosted_customer.d.ts +6 -0
  29. package/lib/action_types/hosted_customer.js +13 -0
  30. package/lib/action_types/index.d.ts +34 -0
  31. package/lib/action_types/index.js +64 -0
  32. package/lib/action_types/integrations.d.ts +25 -0
  33. package/lib/action_types/integrations.js +32 -0
  34. package/lib/action_types/jobs.d.ts +6 -0
  35. package/lib/action_types/jobs.js +13 -0
  36. package/lib/action_types/limits.d.ts +4 -0
  37. package/lib/action_types/limits.js +11 -0
  38. package/lib/action_types/playbooks.d.ts +4 -0
  39. package/lib/action_types/playbooks.js +12 -0
  40. package/lib/action_types/plugins.d.ts +5 -0
  41. package/lib/action_types/plugins.js +12 -0
  42. package/lib/action_types/posts.d.ts +45 -0
  43. package/lib/action_types/posts.js +52 -0
  44. package/lib/action_types/preferences.d.ts +8 -0
  45. package/lib/action_types/preferences.js +15 -0
  46. package/lib/action_types/roles.d.ts +19 -0
  47. package/lib/action_types/roles.js +26 -0
  48. package/lib/action_types/schemes.d.ts +10 -0
  49. package/lib/action_types/schemes.js +17 -0
  50. package/lib/action_types/scheudled_posts.d.ts +7 -0
  51. package/lib/action_types/scheudled_posts.js +14 -0
  52. package/lib/action_types/search.d.ts +20 -0
  53. package/lib/action_types/search.js +27 -0
  54. package/lib/action_types/teams.d.ts +41 -0
  55. package/lib/action_types/teams.js +48 -0
  56. package/lib/action_types/threads.d.ts +11 -0
  57. package/lib/action_types/threads.js +18 -0
  58. package/lib/action_types/users.d.ts +64 -0
  59. package/lib/action_types/users.js +71 -0
  60. package/lib/actions/admin.d.ts +94 -0
  61. package/lib/actions/admin.js +796 -0
  62. package/lib/actions/apps.d.ts +4 -0
  63. package/lib/actions/apps.js +46 -0
  64. package/lib/actions/boards.d.ts +2 -0
  65. package/lib/actions/boards.js +22 -0
  66. package/lib/actions/bots.d.ts +8 -0
  67. package/lib/actions/bots.js +81 -0
  68. package/lib/actions/channel_bookmarks.d.ts +7 -0
  69. package/lib/actions/channel_bookmarks.js +114 -0
  70. package/lib/actions/channel_categories.d.ts +24 -0
  71. package/lib/actions/channel_categories.js +404 -0
  72. package/lib/actions/channels.d.ts +124 -0
  73. package/lib/actions/channels.js +1349 -0
  74. package/lib/actions/cloud.d.ts +7 -0
  75. package/lib/actions/cloud.js +60 -0
  76. package/lib/actions/emojis.d.ts +16 -0
  77. package/lib/actions/emojis.js +222 -0
  78. package/lib/actions/errors.d.ts +44 -0
  79. package/lib/actions/errors.js +91 -0
  80. package/lib/actions/files.d.ts +12 -0
  81. package/lib/actions/files.js +63 -0
  82. package/lib/actions/general.d.ts +30 -0
  83. package/lib/actions/general.js +122 -0
  84. package/lib/actions/groups.d.ts +41 -0
  85. package/lib/actions/groups.js +434 -0
  86. package/lib/actions/helpers.d.ts +45 -0
  87. package/lib/actions/helpers.js +132 -0
  88. package/lib/actions/index.d.ts +22 -0
  89. package/lib/actions/index.js +70 -0
  90. package/lib/actions/integrations.d.ts +41 -0
  91. package/lib/actions/integrations.js +488 -0
  92. package/lib/actions/jobs.d.ts +24 -0
  93. package/lib/actions/jobs.js +60 -0
  94. package/lib/actions/limits.d.ts +3 -0
  95. package/lib/actions/limits.js +40 -0
  96. package/lib/actions/posts.d.ts +146 -0
  97. package/lib/actions/posts.js +1204 -0
  98. package/lib/actions/preferences.d.ts +10 -0
  99. package/lib/actions/preferences.js +116 -0
  100. package/lib/actions/roles.d.ts +13 -0
  101. package/lib/actions/roles.js +110 -0
  102. package/lib/actions/scheduled_posts.d.ts +32 -0
  103. package/lib/actions/scheduled_posts.js +91 -0
  104. package/lib/actions/schemes.d.ts +9 -0
  105. package/lib/actions/schemes.js +92 -0
  106. package/lib/actions/search.d.ts +20 -0
  107. package/lib/actions/search.js +235 -0
  108. package/lib/actions/status_profile_polling.d.ts +20 -0
  109. package/lib/actions/status_profile_polling.js +181 -0
  110. package/lib/actions/teams.d.ts +63 -0
  111. package/lib/actions/teams.js +668 -0
  112. package/lib/actions/threads.d.ts +64 -0
  113. package/lib/actions/threads.js +388 -0
  114. package/lib/actions/timezone.d.ts +2 -0
  115. package/lib/actions/timezone.js +28 -0
  116. package/lib/actions/users.d.ts +127 -0
  117. package/lib/actions/users.js +1303 -0
  118. package/lib/actions/websocket.d.ts +2 -0
  119. package/lib/actions/websocket.js +33 -0
  120. package/lib/client/index.d.ts +3 -0
  121. package/lib/client/index.js +10 -0
  122. package/lib/constants/apps.d.ts +21 -0
  123. package/lib/constants/apps.js +38 -0
  124. package/lib/constants/channel_categories.d.ts +4 -0
  125. package/lib/constants/channel_categories.js +11 -0
  126. package/lib/constants/channels.d.ts +10 -0
  127. package/lib/constants/channels.js +15 -0
  128. package/lib/constants/emoji.d.ts +4 -0
  129. package/lib/constants/emoji.js +7 -0
  130. package/lib/constants/files.d.ts +2 -0
  131. package/lib/constants/files.js +17 -0
  132. package/lib/constants/general.d.ts +77 -0
  133. package/lib/constants/general.js +80 -0
  134. package/lib/constants/index.d.ts +15 -0
  135. package/lib/constants/index.js +36 -0
  136. package/lib/constants/permissions.d.ts +263 -0
  137. package/lib/constants/permissions.js +379 -0
  138. package/lib/constants/permissions_sysconsole.d.ts +77 -0
  139. package/lib/constants/permissions_sysconsole.js +143 -0
  140. package/lib/constants/plugins.d.ts +9 -0
  141. package/lib/constants/plugins.js +12 -0
  142. package/lib/constants/posts.d.ts +74 -0
  143. package/lib/constants/posts.js +71 -0
  144. package/lib/constants/preferences.d.ts +69 -0
  145. package/lib/constants/preferences.js +214 -0
  146. package/lib/constants/request_status.d.ts +3 -0
  147. package/lib/constants/request_status.js +12 -0
  148. package/lib/constants/roles.d.ts +6 -0
  149. package/lib/constants/roles.js +9 -0
  150. package/lib/constants/schemes.d.ts +4 -0
  151. package/lib/constants/schemes.js +9 -0
  152. package/lib/constants/stats.d.ts +26 -0
  153. package/lib/constants/stats.js +33 -0
  154. package/lib/constants/teams.d.ts +6 -0
  155. package/lib/constants/teams.js +9 -0
  156. package/lib/constants/telemetry.d.ts +21 -0
  157. package/lib/constants/telemetry.js +36 -0
  158. package/lib/constants/threads.d.ts +5 -0
  159. package/lib/constants/threads.js +8 -0
  160. package/lib/constants/users.d.ts +6 -0
  161. package/lib/constants/users.js +9 -0
  162. package/lib/constants/websocket.d.ts +53 -0
  163. package/lib/constants/websocket.js +57 -0
  164. package/lib/reducers/entities/admin.d.ts +31 -0
  165. package/lib/reducers/entities/admin.js +617 -0
  166. package/lib/reducers/entities/apps.d.ts +16 -0
  167. package/lib/reducers/entities/apps.js +104 -0
  168. package/lib/reducers/entities/bots.d.ts +5 -0
  169. package/lib/reducers/entities/bots.js +31 -0
  170. package/lib/reducers/entities/channel_bookmarks.d.ts +12 -0
  171. package/lib/reducers/entities/channel_bookmarks.js +55 -0
  172. package/lib/reducers/entities/channel_categories.d.ts +11 -0
  173. package/lib/reducers/entities/channel_categories.js +146 -0
  174. package/lib/reducers/entities/channels/message_counts.d.ts +5 -0
  175. package/lib/reducers/entities/channels/message_counts.js +71 -0
  176. package/lib/reducers/entities/channels.d.ts +26 -0
  177. package/lib/reducers/entities/channels.js +836 -0
  178. package/lib/reducers/entities/cloud.d.ts +67 -0
  179. package/lib/reducers/entities/cloud.js +167 -0
  180. package/lib/reducers/entities/emojis.d.ts +9 -0
  181. package/lib/reducers/entities/emojis.js +101 -0
  182. package/lib/reducers/entities/files.d.ts +12 -0
  183. package/lib/reducers/entities/files.js +190 -0
  184. package/lib/reducers/entities/general.d.ts +11 -0
  185. package/lib/reducers/entities/general.js +79 -0
  186. package/lib/reducers/entities/groups.d.ts +8 -0
  187. package/lib/reducers/entities/groups.js +229 -0
  188. package/lib/reducers/entities/hosted_customer.d.ts +19 -0
  189. package/lib/reducers/entities/hosted_customer.js +52 -0
  190. package/lib/reducers/entities/index.d.ts +243 -0
  191. package/lib/reducers/entities/index.js +62 -0
  192. package/lib/reducers/entities/integrations.d.ts +16 -0
  193. package/lib/reducers/entities/integrations.js +304 -0
  194. package/lib/reducers/entities/jobs.d.ts +7 -0
  195. package/lib/reducers/entities/jobs.js +43 -0
  196. package/lib/reducers/entities/limits.d.ts +4 -0
  197. package/lib/reducers/entities/limits.js +22 -0
  198. package/lib/reducers/entities/posts.d.ts +47 -0
  199. package/lib/reducers/entities/posts.js +1308 -0
  200. package/lib/reducers/entities/preferences.d.ts +8 -0
  201. package/lib/reducers/entities/preferences.js +89 -0
  202. package/lib/reducers/entities/roles.d.ts +6 -0
  203. package/lib/reducers/entities/roles.js +55 -0
  204. package/lib/reducers/entities/scheduled_posts.d.ts +16 -0
  205. package/lib/reducers/entities/scheduled_posts.js +212 -0
  206. package/lib/reducers/entities/schemes.d.ts +7 -0
  207. package/lib/reducers/entities/schemes.js +37 -0
  208. package/lib/reducers/entities/search.d.ts +12 -0
  209. package/lib/reducers/entities/search.js +259 -0
  210. package/lib/reducers/entities/teams.d.ts +17 -0
  211. package/lib/reducers/entities/teams.js +458 -0
  212. package/lib/reducers/entities/threads/counts.d.ts +11 -0
  213. package/lib/reducers/entities/threads/counts.js +213 -0
  214. package/lib/reducers/entities/threads/index.d.ts +6 -0
  215. package/lib/reducers/entities/threads/index.js +171 -0
  216. package/lib/reducers/entities/threads/threadsInTeam.d.ts +12 -0
  217. package/lib/reducers/entities/threads/threadsInTeam.js +251 -0
  218. package/lib/reducers/entities/threads/types.d.ts +5 -0
  219. package/lib/reducers/entities/threads/types.js +4 -0
  220. package/lib/reducers/entities/typing.d.ts +3 -0
  221. package/lib/reducers/entities/typing.js +41 -0
  222. package/lib/reducers/entities/usage.d.ts +47 -0
  223. package/lib/reducers/entities/usage.js +68 -0
  224. package/lib/reducers/entities/users.d.ts +25 -0
  225. package/lib/reducers/entities/users.js +596 -0
  226. package/lib/reducers/errors/index.d.ts +7 -0
  227. package/lib/reducers/errors/index.js +31 -0
  228. package/lib/reducers/index.d.ts +293 -0
  229. package/lib/reducers/index.js +17 -0
  230. package/lib/reducers/requests/admin.d.ts +6 -0
  231. package/lib/reducers/requests/admin.js +13 -0
  232. package/lib/reducers/requests/channels.d.ts +9 -0
  233. package/lib/reducers/requests/channels.js +25 -0
  234. package/lib/reducers/requests/files.d.ts +7 -0
  235. package/lib/reducers/requests/files.js +49 -0
  236. package/lib/reducers/requests/general.d.ts +6 -0
  237. package/lib/reducers/requests/general.js +16 -0
  238. package/lib/reducers/requests/helpers.d.ts +4 -0
  239. package/lib/reducers/requests/helpers.js +37 -0
  240. package/lib/reducers/requests/index.d.ts +42 -0
  241. package/lib/reducers/requests/index.js +28 -0
  242. package/lib/reducers/requests/posts.d.ts +8 -0
  243. package/lib/reducers/requests/posts.js +24 -0
  244. package/lib/reducers/requests/roles.d.ts +9 -0
  245. package/lib/reducers/requests/roles.js +25 -0
  246. package/lib/reducers/requests/search.d.ts +7 -0
  247. package/lib/reducers/requests/search.js +23 -0
  248. package/lib/reducers/requests/teams.d.ts +6 -0
  249. package/lib/reducers/requests/teams.js +13 -0
  250. package/lib/reducers/requests/users.d.ts +9 -0
  251. package/lib/reducers/requests/users.js +48 -0
  252. package/lib/reducers/websocket.d.ts +32 -0
  253. package/lib/reducers/websocket.js +48 -0
  254. package/lib/selectors/create_selector/index.d.ts +1106 -0
  255. package/lib/selectors/create_selector/index.js +165 -0
  256. package/lib/selectors/entities/admin.d.ts +21 -0
  257. package/lib/selectors/entities/admin.js +78 -0
  258. package/lib/selectors/entities/apps.d.ts +13 -0
  259. package/lib/selectors/entities/apps.js +58 -0
  260. package/lib/selectors/entities/bots.d.ts +5 -0
  261. package/lib/selectors/entities/bots.js +22 -0
  262. package/lib/selectors/entities/channel_bookmarks.d.ts +4 -0
  263. package/lib/selectors/entities/channel_bookmarks.js +18 -0
  264. package/lib/selectors/entities/channel_categories.d.ts +22 -0
  265. package/lib/selectors/entities/channel_categories.js +343 -0
  266. package/lib/selectors/entities/channels.d.ts +110 -0
  267. package/lib/selectors/entities/channels.js +890 -0
  268. package/lib/selectors/entities/cloud.d.ts +13 -0
  269. package/lib/selectors/entities/cloud.js +59 -0
  270. package/lib/selectors/entities/common.d.ts +15 -0
  271. package/lib/selectors/entities/common.js +46 -0
  272. package/lib/selectors/entities/emojis.d.ts +8 -0
  273. package/lib/selectors/entities/emojis.js +35 -0
  274. package/lib/selectors/entities/files.d.ts +11 -0
  275. package/lib/selectors/entities/files.js +49 -0
  276. package/lib/selectors/entities/general.d.ts +33 -0
  277. package/lib/selectors/entities/general.js +102 -0
  278. package/lib/selectors/entities/groups.d.ts +35 -0
  279. package/lib/selectors/entities/groups.js +212 -0
  280. package/lib/selectors/entities/hosted_customer.d.ts +4 -0
  281. package/lib/selectors/entities/hosted_customer.js +12 -0
  282. package/lib/selectors/entities/i18n.d.ts +2 -0
  283. package/lib/selectors/entities/i18n.js +14 -0
  284. package/lib/selectors/entities/integrations.d.ts +19 -0
  285. package/lib/selectors/entities/integrations.js +64 -0
  286. package/lib/selectors/entities/jobs.d.ts +6 -0
  287. package/lib/selectors/entities/jobs.js +19 -0
  288. package/lib/selectors/entities/limits.d.ts +3 -0
  289. package/lib/selectors/entities/limits.js +8 -0
  290. package/lib/selectors/entities/posts.d.ts +66 -0
  291. package/lib/selectors/entities/posts.js +496 -0
  292. package/lib/selectors/entities/preferences.d.ts +69 -0
  293. package/lib/selectors/entities/preferences.js +223 -0
  294. package/lib/selectors/entities/reactions.d.ts +3 -0
  295. package/lib/selectors/entities/reactions.js +23 -0
  296. package/lib/selectors/entities/roles.d.ts +22 -0
  297. package/lib/selectors/entities/roles.js +156 -0
  298. package/lib/selectors/entities/roles_helpers.d.ts +14 -0
  299. package/lib/selectors/entities/roles_helpers.js +38 -0
  300. package/lib/selectors/entities/scheduled_posts.d.ts +11 -0
  301. package/lib/selectors/entities/scheduled_posts.js +58 -0
  302. package/lib/selectors/entities/schemes.d.ts +14 -0
  303. package/lib/selectors/entities/schemes.js +59 -0
  304. package/lib/selectors/entities/search.d.ts +4 -0
  305. package/lib/selectors/entities/search.js +15 -0
  306. package/lib/selectors/entities/teams.d.ts +41 -0
  307. package/lib/selectors/entities/teams.js +230 -0
  308. package/lib/selectors/entities/threads.d.ts +19 -0
  309. package/lib/selectors/entities/threads.js +98 -0
  310. package/lib/selectors/entities/timezone.d.ts +26 -0
  311. package/lib/selectors/entities/timezone.js +39 -0
  312. package/lib/selectors/entities/typing.d.ts +5 -0
  313. package/lib/selectors/entities/typing.js +24 -0
  314. package/lib/selectors/entities/usage.d.ts +3 -0
  315. package/lib/selectors/entities/usage.js +8 -0
  316. package/lib/selectors/entities/users.d.ts +109 -0
  317. package/lib/selectors/entities/users.js +514 -0
  318. package/lib/selectors/entities/utils.d.ts +3 -0
  319. package/lib/selectors/entities/utils.js +25 -0
  320. package/lib/selectors/errors.d.ts +2 -0
  321. package/lib/selectors/errors.js +8 -0
  322. package/lib/store/configureStore.d.ts +13 -0
  323. package/lib/store/configureStore.js +55 -0
  324. package/lib/store/helpers.d.ts +2 -0
  325. package/lib/store/helpers.js +35 -0
  326. package/lib/store/index.d.ts +2 -0
  327. package/lib/store/index.js +6 -0
  328. package/lib/store/initial_state.d.ts +3 -0
  329. package/lib/store/initial_state.js +323 -0
  330. package/lib/store/reducer_registry.d.ts +11 -0
  331. package/lib/store/reducer_registry.js +28 -0
  332. package/lib/types/actions.d.ts +36 -0
  333. package/lib/types/actions.js +10 -0
  334. package/lib/utils/apps.d.ts +4 -0
  335. package/lib/utils/apps.js +181 -0
  336. package/lib/utils/array_utils.d.ts +3 -0
  337. package/lib/utils/array_utils.js +45 -0
  338. package/lib/utils/channel_utils.d.ts +36 -0
  339. package/lib/utils/channel_utils.js +354 -0
  340. package/lib/utils/data_loader.d.ts +71 -0
  341. package/lib/utils/data_loader.js +164 -0
  342. package/lib/utils/deep_freeze.d.ts +27 -0
  343. package/lib/utils/deep_freeze.js +58 -0
  344. package/lib/utils/delayed_action.d.ts +8 -0
  345. package/lib/utils/delayed_action.js +28 -0
  346. package/lib/utils/emoji_utils.d.ts +5 -0
  347. package/lib/utils/emoji_utils.js +45 -0
  348. package/lib/utils/event_emitter.d.ts +12 -0
  349. package/lib/utils/event_emitter.js +51 -0
  350. package/lib/utils/file_utils.d.ts +9 -0
  351. package/lib/utils/file_utils.js +79 -0
  352. package/lib/utils/group_utils.d.ts +3 -0
  353. package/lib/utils/group_utils.js +42 -0
  354. package/lib/utils/helpers.d.ts +6 -0
  355. package/lib/utils/helpers.js +103 -0
  356. package/lib/utils/i18n_utils.d.ts +10 -0
  357. package/lib/utils/i18n_utils.js +16 -0
  358. package/lib/utils/integration_utils.d.ts +9 -0
  359. package/lib/utils/integration_utils.js +73 -0
  360. package/lib/utils/key_mirror.d.ts +30 -0
  361. package/lib/utils/key_mirror.js +44 -0
  362. package/lib/utils/marketplace.d.ts +3 -0
  363. package/lib/utils/marketplace.js +15 -0
  364. package/lib/utils/notify_props.d.ts +1 -0
  365. package/lib/utils/notify_props.js +27 -0
  366. package/lib/utils/post_list.d.ts +46 -0
  367. package/lib/utils/post_list.js +406 -0
  368. package/lib/utils/post_utils.d.ts +37 -0
  369. package/lib/utils/post_utils.js +226 -0
  370. package/lib/utils/preference_utils.d.ts +3 -0
  371. package/lib/utils/preference_utils.js +19 -0
  372. package/lib/utils/team_utils.d.ts +5 -0
  373. package/lib/utils/team_utils.js +35 -0
  374. package/lib/utils/theme_utils.d.ts +11 -0
  375. package/lib/utils/theme_utils.js +128 -0
  376. package/lib/utils/timezone_utils.d.ts +6 -0
  377. package/lib/utils/timezone_utils.js +46 -0
  378. package/lib/utils/user_utils.d.ts +25 -0
  379. package/lib/utils/user_utils.js +218 -0
  380. package/package.json +48 -82
  381. package/.github/workflows/codeql-analysis.yml +0 -43
  382. package/CONTRIBUTING.md +0 -5
  383. package/LICENSE.txt +0 -203
  384. package/NOTICE.txt +0 -659
  385. package/SECURITY.md +0 -25
  386. package/action_types/admin.d.ts +0 -150
  387. package/action_types/admin.js +0 -156
  388. package/action_types/admin.js.map +0 -1
  389. package/action_types/bots.d.ts +0 -5
  390. package/action_types/bots.js +0 -11
  391. package/action_types/bots.js.map +0 -1
  392. package/action_types/channel_categories.d.ts +0 -9
  393. package/action_types/channel_categories.js +0 -15
  394. package/action_types/channel_categories.js.map +0 -1
  395. package/action_types/channels.d.ts +0 -70
  396. package/action_types/channels.js +0 -76
  397. package/action_types/channels.js.map +0 -1
  398. package/action_types/cloud.d.ts +0 -8
  399. package/action_types/cloud.js +0 -14
  400. package/action_types/cloud.js.map +0 -1
  401. package/action_types/emojis.d.ts +0 -8
  402. package/action_types/emojis.js +0 -14
  403. package/action_types/emojis.js.map +0 -1
  404. package/action_types/errors.d.ts +0 -7
  405. package/action_types/errors.js +0 -13
  406. package/action_types/errors.js.map +0 -1
  407. package/action_types/files.d.ts +0 -10
  408. package/action_types/files.js +0 -16
  409. package/action_types/files.js.map +0 -1
  410. package/action_types/general.d.ts +0 -31
  411. package/action_types/general.js +0 -37
  412. package/action_types/general.js.map +0 -1
  413. package/action_types/gifs.d.ts +0 -26
  414. package/action_types/gifs.js +0 -36
  415. package/action_types/gifs.js.map +0 -1
  416. package/action_types/groups.d.ts +0 -27
  417. package/action_types/groups.js +0 -33
  418. package/action_types/groups.js.map +0 -1
  419. package/action_types/index.d.ts +0 -23
  420. package/action_types/index.js +0 -51
  421. package/action_types/index.js.map +0 -1
  422. package/action_types/integrations.d.ts +0 -19
  423. package/action_types/integrations.js +0 -25
  424. package/action_types/integrations.js.map +0 -1
  425. package/action_types/jobs.d.ts +0 -18
  426. package/action_types/jobs.js +0 -24
  427. package/action_types/jobs.js.map +0 -1
  428. package/action_types/plugins.d.ts +0 -5
  429. package/action_types/plugins.js +0 -11
  430. package/action_types/plugins.js.map +0 -1
  431. package/action_types/posts.d.ts +0 -42
  432. package/action_types/posts.js +0 -48
  433. package/action_types/posts.js.map +0 -1
  434. package/action_types/preferences.d.ts +0 -6
  435. package/action_types/preferences.js +0 -12
  436. package/action_types/preferences.js.map +0 -1
  437. package/action_types/roles.d.ts +0 -19
  438. package/action_types/roles.js +0 -25
  439. package/action_types/roles.js.map +0 -1
  440. package/action_types/schemes.d.ts +0 -10
  441. package/action_types/schemes.js +0 -16
  442. package/action_types/schemes.js.map +0 -1
  443. package/action_types/search.d.ts +0 -18
  444. package/action_types/search.js +0 -24
  445. package/action_types/search.js.map +0 -1
  446. package/action_types/teams.d.ts +0 -46
  447. package/action_types/teams.js +0 -52
  448. package/action_types/teams.js.map +0 -1
  449. package/action_types/threads.d.ts +0 -9
  450. package/action_types/threads.js +0 -15
  451. package/action_types/threads.js.map +0 -1
  452. package/action_types/users.d.ts +0 -62
  453. package/action_types/users.js +0 -68
  454. package/action_types/users.js.map +0 -1
  455. package/actions/admin.d.ts +0 -62
  456. package/actions/admin.js +0 -758
  457. package/actions/admin.js.map +0 -1
  458. package/actions/bots.d.ts +0 -9
  459. package/actions/bots.js +0 -85
  460. package/actions/bots.js.map +0 -1
  461. package/actions/channel_categories.d.ts +0 -31
  462. package/actions/channel_categories.js +0 -482
  463. package/actions/channel_categories.js.map +0 -1
  464. package/actions/channels.d.ts +0 -93
  465. package/actions/channels.js +0 -1920
  466. package/actions/channels.js.map +0 -1
  467. package/actions/cloud.d.ts +0 -9
  468. package/actions/cloud.js +0 -60
  469. package/actions/cloud.js.map +0 -1
  470. package/actions/emojis.d.ts +0 -15
  471. package/actions/emojis.js +0 -310
  472. package/actions/emojis.js.map +0 -1
  473. package/actions/errors.d.ts +0 -17
  474. package/actions/errors.js +0 -89
  475. package/actions/errors.js.map +0 -1
  476. package/actions/files.d.ts +0 -4
  477. package/actions/files.js +0 -99
  478. package/actions/files.js.map +0 -1
  479. package/actions/general.d.ts +0 -36
  480. package/actions/general.js +0 -268
  481. package/actions/general.js.map +0 -1
  482. package/actions/gifs.d.ts +0 -128
  483. package/actions/gifs.js +0 -402
  484. package/actions/gifs.js.map +0 -1
  485. package/actions/groups.d.ts +0 -18
  486. package/actions/groups.js +0 -396
  487. package/actions/groups.js.map +0 -1
  488. package/actions/helpers.d.ts +0 -40
  489. package/actions/helpers.js +0 -152
  490. package/actions/helpers.js.map +0 -1
  491. package/actions/index.d.ts +0 -23
  492. package/actions/index.js +0 -51
  493. package/actions/index.js.map +0 -1
  494. package/actions/integrations.d.ts +0 -30
  495. package/actions/integrations.js +0 -450
  496. package/actions/integrations.js.map +0 -1
  497. package/actions/jobs.d.ts +0 -7
  498. package/actions/jobs.js +0 -77
  499. package/actions/jobs.js.map +0 -1
  500. package/actions/posts.d.ts +0 -235
  501. package/actions/posts.js +0 -1285
  502. package/actions/posts.js.map +0 -1
  503. package/actions/preferences.d.ts +0 -12
  504. package/actions/preferences.js +0 -202
  505. package/actions/preferences.js.map +0 -1
  506. package/actions/roles.d.ts +0 -10
  507. package/actions/roles.js +0 -144
  508. package/actions/roles.js.map +0 -1
  509. package/actions/schemes.d.ts +0 -9
  510. package/actions/schemes.js +0 -113
  511. package/actions/schemes.js.map +0 -1
  512. package/actions/search.d.ts +0 -19
  513. package/actions/search.js +0 -306
  514. package/actions/search.js.map +0 -1
  515. package/actions/teams.d.ts +0 -42
  516. package/actions/teams.js +0 -910
  517. package/actions/teams.js.map +0 -1
  518. package/actions/threads.d.ts +0 -55
  519. package/actions/threads.js +0 -228
  520. package/actions/threads.js.map +0 -1
  521. package/actions/timezone.d.ts +0 -2
  522. package/actions/timezone.js +0 -32
  523. package/actions/timezone.js.map +0 -1
  524. package/actions/users.d.ts +0 -132
  525. package/actions/users.js +0 -1981
  526. package/actions/users.js.map +0 -1
  527. package/actions/websocket.d.ts +0 -2
  528. package/actions/websocket.js +0 -58
  529. package/actions/websocket.js.map +0 -1
  530. package/client/client4.d.ts +0 -589
  531. package/client/client4.js +0 -2086
  532. package/client/client4.js.map +0 -1
  533. package/client/fetch_etag.d.ts +0 -3
  534. package/client/fetch_etag.js +0 -34
  535. package/client/fetch_etag.js.map +0 -1
  536. package/client/index.d.ts +0 -3
  537. package/client/index.js +0 -13
  538. package/client/index.js.map +0 -1
  539. package/client/rudder.d.ts +0 -7
  540. package/client/rudder.js +0 -55
  541. package/client/rudder.js.map +0 -1
  542. package/client/telemetry.d.ts +0 -4
  543. package/client/telemetry.js +0 -5
  544. package/client/telemetry.js.map +0 -1
  545. package/client/websocket_client.d.ts +0 -31
  546. package/client/websocket_client.js +0 -205
  547. package/client/websocket_client.js.map +0 -1
  548. package/constants/channel_categories.d.ts +0 -4
  549. package/constants/channel_categories.js +0 -12
  550. package/constants/channel_categories.js.map +0 -1
  551. package/constants/channels.d.ts +0 -10
  552. package/constants/channels.js +0 -16
  553. package/constants/channels.js.map +0 -1
  554. package/constants/emoji.d.ts +0 -4
  555. package/constants/emoji.js +0 -8
  556. package/constants/emoji.js.map +0 -1
  557. package/constants/files.d.ts +0 -3
  558. package/constants/files.js +0 -18
  559. package/constants/files.js.map +0 -1
  560. package/constants/general.d.ts +0 -74
  561. package/constants/general.js +0 -78
  562. package/constants/general.js.map +0 -1
  563. package/constants/groups.d.ts +0 -5
  564. package/constants/groups.js +0 -11
  565. package/constants/groups.js.map +0 -1
  566. package/constants/index.d.ts +0 -16
  567. package/constants/index.js +0 -37
  568. package/constants/index.js.map +0 -1
  569. package/constants/permissions.d.ts +0 -126
  570. package/constants/permissions.js +0 -236
  571. package/constants/permissions.js.map +0 -1
  572. package/constants/permissions_sysconsole.d.ts +0 -1
  573. package/constants/permissions_sysconsole.js +0 -26
  574. package/constants/permissions_sysconsole.js.map +0 -1
  575. package/constants/plugins.d.ts +0 -9
  576. package/constants/plugins.js +0 -13
  577. package/constants/plugins.js.map +0 -1
  578. package/constants/posts.d.ts +0 -67
  579. package/constants/posts.js +0 -69
  580. package/constants/posts.js.map +0 -1
  581. package/constants/preferences.d.ts +0 -48
  582. package/constants/preferences.js +0 -162
  583. package/constants/preferences.js.map +0 -1
  584. package/constants/request_status.d.ts +0 -4
  585. package/constants/request_status.js +0 -11
  586. package/constants/request_status.js.map +0 -1
  587. package/constants/roles.d.ts +0 -6
  588. package/constants/roles.js +0 -10
  589. package/constants/roles.js.map +0 -1
  590. package/constants/schemes.d.ts +0 -4
  591. package/constants/schemes.js +0 -10
  592. package/constants/schemes.js.map +0 -1
  593. package/constants/stats.d.ts +0 -26
  594. package/constants/stats.js +0 -32
  595. package/constants/stats.js.map +0 -1
  596. package/constants/teams.d.ts +0 -6
  597. package/constants/teams.js +0 -10
  598. package/constants/teams.js.map +0 -1
  599. package/constants/threads.d.ts +0 -4
  600. package/constants/threads.js +0 -8
  601. package/constants/threads.js.map +0 -1
  602. package/constants/users.d.ts +0 -6
  603. package/constants/users.js +0 -10
  604. package/constants/users.js.map +0 -1
  605. package/constants/websocket.d.ts +0 -53
  606. package/constants/websocket.js +0 -58
  607. package/constants/websocket.js.map +0 -1
  608. package/mattermost.client4.js +0 -17
  609. package/mattermost.client4.js.map +0 -1
  610. package/mattermost.websocket_client.js +0 -17
  611. package/mattermost.websocket_client.js.map +0 -1
  612. package/reducers/entities/admin.d.ts +0 -26
  613. package/reducers/entities/admin.js +0 -649
  614. package/reducers/entities/admin.js.map +0 -1
  615. package/reducers/entities/bots.d.ts +0 -6
  616. package/reducers/entities/bots.js +0 -45
  617. package/reducers/entities/bots.js.map +0 -1
  618. package/reducers/entities/channel_categories.d.ts +0 -11
  619. package/reducers/entities/channel_categories.js +0 -135
  620. package/reducers/entities/channel_categories.js.map +0 -1
  621. package/reducers/entities/channels.d.ts +0 -20
  622. package/reducers/entities/channels.js +0 -682
  623. package/reducers/entities/channels.js.map +0 -1
  624. package/reducers/entities/cloud.d.ts +0 -10
  625. package/reducers/entities/cloud.js +0 -80
  626. package/reducers/entities/cloud.js.map +0 -1
  627. package/reducers/entities/emojis.d.ts +0 -5
  628. package/reducers/entities/emojis.js +0 -125
  629. package/reducers/entities/emojis.js.map +0 -1
  630. package/reducers/entities/files.d.ts +0 -11
  631. package/reducers/entities/files.js +0 -119
  632. package/reducers/entities/files.js.map +0 -1
  633. package/reducers/entities/general.d.ts +0 -12
  634. package/reducers/entities/general.js +0 -135
  635. package/reducers/entities/general.js.map +0 -1
  636. package/reducers/entities/gifs.d.ts +0 -7
  637. package/reducers/entities/gifs.js +0 -135
  638. package/reducers/entities/gifs.js.map +0 -1
  639. package/reducers/entities/groups.d.ts +0 -9
  640. package/reducers/entities/groups.js +0 -204
  641. package/reducers/entities/groups.js.map +0 -1
  642. package/reducers/entities/index.d.ts +0 -155
  643. package/reducers/entities/index.js +0 -51
  644. package/reducers/entities/index.js.map +0 -1
  645. package/reducers/entities/integrations.d.ts +0 -11
  646. package/reducers/entities/integrations.js +0 -257
  647. package/reducers/entities/integrations.js.map +0 -1
  648. package/reducers/entities/jobs.d.ts +0 -4
  649. package/reducers/entities/jobs.js +0 -58
  650. package/reducers/entities/jobs.js.map +0 -1
  651. package/reducers/entities/posts.d.ts +0 -38
  652. package/reducers/entities/posts.js +0 -1090
  653. package/reducers/entities/posts.js.map +0 -1
  654. package/reducers/entities/preferences.d.ts +0 -4
  655. package/reducers/entities/preferences.js +0 -87
  656. package/reducers/entities/preferences.js.map +0 -1
  657. package/reducers/entities/roles.d.ts +0 -7
  658. package/reducers/entities/roles.js +0 -70
  659. package/reducers/entities/roles.js.map +0 -1
  660. package/reducers/entities/schemes.d.ts +0 -4
  661. package/reducers/entities/schemes.js +0 -48
  662. package/reducers/entities/schemes.js.map +0 -1
  663. package/reducers/entities/search.d.ts +0 -13
  664. package/reducers/entities/search.js +0 -267
  665. package/reducers/entities/search.js.map +0 -1
  666. package/reducers/entities/teams.d.ts +0 -16
  667. package/reducers/entities/teams.js +0 -473
  668. package/reducers/entities/teams.js.map +0 -1
  669. package/reducers/entities/threads.d.ts +0 -37
  670. package/reducers/entities/threads.js +0 -110
  671. package/reducers/entities/threads.js.map +0 -1
  672. package/reducers/entities/typing.d.ts +0 -3
  673. package/reducers/entities/typing.js +0 -36
  674. package/reducers/entities/typing.js.map +0 -1
  675. package/reducers/entities/users.d.ts +0 -21
  676. package/reducers/entities/users.js +0 -549
  677. package/reducers/entities/users.js.map +0 -1
  678. package/reducers/errors/index.d.ts +0 -7
  679. package/reducers/errors/index.js +0 -34
  680. package/reducers/errors/index.js.map +0 -1
  681. package/reducers/index.d.ts +0 -176
  682. package/reducers/index.js +0 -16
  683. package/reducers/index.js.map +0 -1
  684. package/reducers/requests/admin.d.ts +0 -4
  685. package/reducers/requests/admin.js +0 -210
  686. package/reducers/requests/admin.js.map +0 -1
  687. package/reducers/requests/channels.d.ts +0 -4
  688. package/reducers/requests/channels.js +0 -35
  689. package/reducers/requests/channels.js.map +0 -1
  690. package/reducers/requests/files.d.ts +0 -5
  691. package/reducers/requests/files.js +0 -38
  692. package/reducers/requests/files.js.map +0 -1
  693. package/reducers/requests/general.d.ts +0 -4
  694. package/reducers/requests/general.js +0 -18
  695. package/reducers/requests/general.js.map +0 -1
  696. package/reducers/requests/helpers.d.ts +0 -4
  697. package/reducers/requests/helpers.js +0 -29
  698. package/reducers/requests/helpers.js.map +0 -1
  699. package/reducers/requests/index.d.ts +0 -13
  700. package/reducers/requests/index.js +0 -29
  701. package/reducers/requests/index.js.map +0 -1
  702. package/reducers/requests/jobs.d.ts +0 -4
  703. package/reducers/requests/jobs.js +0 -30
  704. package/reducers/requests/jobs.js.map +0 -1
  705. package/reducers/requests/posts.d.ts +0 -4
  706. package/reducers/requests/posts.js +0 -28
  707. package/reducers/requests/posts.js.map +0 -1
  708. package/reducers/requests/roles.d.ts +0 -4
  709. package/reducers/requests/roles.js +0 -30
  710. package/reducers/requests/roles.js.map +0 -1
  711. package/reducers/requests/search.d.ts +0 -4
  712. package/reducers/requests/search.js +0 -26
  713. package/reducers/requests/search.js.map +0 -1
  714. package/reducers/requests/teams.d.ts +0 -4
  715. package/reducers/requests/teams.js +0 -25
  716. package/reducers/requests/teams.js.map +0 -1
  717. package/reducers/requests/users.d.ts +0 -4
  718. package/reducers/requests/users.js +0 -70
  719. package/reducers/requests/users.js.map +0 -1
  720. package/reducers/websocket.d.ts +0 -14
  721. package/reducers/websocket.js +0 -28
  722. package/reducers/websocket.js.map +0 -1
  723. package/rollup.config.js +0 -47
  724. package/selectors/entities/admin.d.ts +0 -10
  725. package/selectors/entities/admin.js +0 -42
  726. package/selectors/entities/admin.js.map +0 -1
  727. package/selectors/entities/bots.d.ts +0 -6
  728. package/selectors/entities/bots.js +0 -23
  729. package/selectors/entities/bots.js.map +0 -1
  730. package/selectors/entities/bots.test.d.ts +0 -1
  731. package/selectors/entities/bots.test.js +0 -69
  732. package/selectors/entities/bots.test.js.map +0 -1
  733. package/selectors/entities/channel_categories.d.ts +0 -25
  734. package/selectors/entities/channel_categories.js +0 -444
  735. package/selectors/entities/channel_categories.js.map +0 -1
  736. package/selectors/entities/channels.d.ts +0 -94
  737. package/selectors/entities/channels.js +0 -848
  738. package/selectors/entities/channels.js.map +0 -1
  739. package/selectors/entities/common.d.ts +0 -13
  740. package/selectors/entities/common.js +0 -43
  741. package/selectors/entities/common.js.map +0 -1
  742. package/selectors/entities/emojis.d.ts +0 -7
  743. package/selectors/entities/emojis.js +0 -32
  744. package/selectors/entities/emojis.js.map +0 -1
  745. package/selectors/entities/files.d.ts +0 -4
  746. package/selectors/entities/files.js +0 -29
  747. package/selectors/entities/files.js.map +0 -1
  748. package/selectors/entities/general.d.ts +0 -19
  749. package/selectors/entities/general.js +0 -82
  750. package/selectors/entities/general.js.map +0 -1
  751. package/selectors/entities/groups.d.ts +0 -28
  752. package/selectors/entities/groups.js +0 -163
  753. package/selectors/entities/groups.js.map +0 -1
  754. package/selectors/entities/i18n.d.ts +0 -2
  755. package/selectors/entities/i18n.js +0 -17
  756. package/selectors/entities/i18n.js.map +0 -1
  757. package/selectors/entities/integrations.d.ts +0 -14
  758. package/selectors/entities/integrations.js +0 -43
  759. package/selectors/entities/integrations.js.map +0 -1
  760. package/selectors/entities/jobs.d.ts +0 -6
  761. package/selectors/entities/jobs.js +0 -21
  762. package/selectors/entities/jobs.js.map +0 -1
  763. package/selectors/entities/posts.d.ts +0 -55
  764. package/selectors/entities/posts.js +0 -547
  765. package/selectors/entities/posts.js.map +0 -1
  766. package/selectors/entities/preferences.d.ts +0 -28
  767. package/selectors/entities/preferences.js +0 -191
  768. package/selectors/entities/preferences.js.map +0 -1
  769. package/selectors/entities/roles.d.ts +0 -22
  770. package/selectors/entities/roles.js +0 -264
  771. package/selectors/entities/roles.js.map +0 -1
  772. package/selectors/entities/roles_helpers.d.ts +0 -12
  773. package/selectors/entities/roles_helpers.js +0 -54
  774. package/selectors/entities/roles_helpers.js.map +0 -1
  775. package/selectors/entities/schemes.d.ts +0 -14
  776. package/selectors/entities/schemes.js +0 -62
  777. package/selectors/entities/schemes.js.map +0 -1
  778. package/selectors/entities/search.d.ts +0 -4
  779. package/selectors/entities/search.js +0 -16
  780. package/selectors/entities/search.js.map +0 -1
  781. package/selectors/entities/teams.d.ts +0 -32
  782. package/selectors/entities/teams.js +0 -206
  783. package/selectors/entities/teams.js.map +0 -1
  784. package/selectors/entities/threads.d.ts +0 -13
  785. package/selectors/entities/threads.js +0 -54
  786. package/selectors/entities/threads.js.map +0 -1
  787. package/selectors/entities/timezone.d.ts +0 -7
  788. package/selectors/entities/timezone.js +0 -24
  789. package/selectors/entities/timezone.js.map +0 -1
  790. package/selectors/entities/typing.d.ts +0 -6
  791. package/selectors/entities/typing.js +0 -27
  792. package/selectors/entities/typing.js.map +0 -1
  793. package/selectors/entities/users.d.ts +0 -78
  794. package/selectors/entities/users.js +0 -423
  795. package/selectors/entities/users.js.map +0 -1
  796. package/selectors/entities/utils.d.ts +0 -3
  797. package/selectors/entities/utils.js +0 -31
  798. package/selectors/entities/utils.js.map +0 -1
  799. package/selectors/errors.d.ts +0 -2
  800. package/selectors/errors.js +0 -10
  801. package/selectors/errors.js.map +0 -1
  802. package/src/action_types/admin.ts +0 -195
  803. package/src/action_types/bots.ts +0 -9
  804. package/src/action_types/channel_categories.ts +0 -15
  805. package/src/action_types/channels.ts +0 -94
  806. package/src/action_types/cloud.ts +0 -11
  807. package/src/action_types/emojis.ts +0 -11
  808. package/src/action_types/errors.ts +0 -10
  809. package/src/action_types/files.ts +0 -14
  810. package/src/action_types/general.ts +0 -45
  811. package/src/action_types/gifs.ts +0 -49
  812. package/src/action_types/groups.ts +0 -45
  813. package/src/action_types/index.ts +0 -50
  814. package/src/action_types/integrations.ts +0 -24
  815. package/src/action_types/jobs.ts +0 -25
  816. package/src/action_types/plugins.ts +0 -8
  817. package/src/action_types/posts.ts +0 -55
  818. package/src/action_types/preferences.ts +0 -9
  819. package/src/action_types/roles.ts +0 -27
  820. package/src/action_types/schemes.ts +0 -19
  821. package/src/action_types/search.ts +0 -23
  822. package/src/action_types/teams.ts +0 -59
  823. package/src/action_types/threads.ts +0 -12
  824. package/src/action_types/users.ts +0 -73
  825. package/src/actions/admin.test.js +0 -1271
  826. package/src/actions/admin.ts +0 -653
  827. package/src/actions/bots.test.js +0 -152
  828. package/src/actions/bots.ts +0 -84
  829. package/src/actions/channel_categories.test.js +0 -1349
  830. package/src/actions/channel_categories.ts +0 -469
  831. package/src/actions/channels.test.js +0 -2628
  832. package/src/actions/channels.ts +0 -1602
  833. package/src/actions/cloud.ts +0 -60
  834. package/src/actions/emojis.test.js +0 -411
  835. package/src/actions/emojis.ts +0 -250
  836. package/src/actions/errors.test.js +0 -63
  837. package/src/actions/errors.ts +0 -75
  838. package/src/actions/files.test.js +0 -123
  839. package/src/actions/files.ts +0 -87
  840. package/src/actions/general.test.js +0 -189
  841. package/src/actions/general.ts +0 -217
  842. package/src/actions/gifs.ts +0 -422
  843. package/src/actions/groups.test.js +0 -878
  844. package/src/actions/groups.ts +0 -305
  845. package/src/actions/helpers.test.js +0 -129
  846. package/src/actions/helpers.ts +0 -151
  847. package/src/actions/index.ts +0 -51
  848. package/src/actions/integrations.test.js +0 -775
  849. package/src/actions/integrations.ts +0 -383
  850. package/src/actions/jobs.test.js +0 -145
  851. package/src/actions/jobs.ts +0 -72
  852. package/src/actions/posts.test.js +0 -1816
  853. package/src/actions/posts.ts +0 -1223
  854. package/src/actions/preferences.test.js +0 -316
  855. package/src/actions/preferences.ts +0 -177
  856. package/src/actions/roles.test.js +0 -135
  857. package/src/actions/roles.ts +0 -109
  858. package/src/actions/schemes.test.js +0 -104
  859. package/src/actions/schemes.ts +0 -96
  860. package/src/actions/search.test.js +0 -137
  861. package/src/actions/search.ts +0 -255
  862. package/src/actions/teams.test.js +0 -790
  863. package/src/actions/teams.ts +0 -762
  864. package/src/actions/threads.test.js +0 -139
  865. package/src/actions/threads.ts +0 -178
  866. package/src/actions/timezone.ts +0 -28
  867. package/src/actions/users.test.js +0 -1474
  868. package/src/actions/users.ts +0 -1579
  869. package/src/actions/websocket.ts +0 -37
  870. package/src/client/client4.test.js +0 -97
  871. package/src/client/client4.ts +0 -3656
  872. package/src/client/fetch_etag.ts +0 -40
  873. package/src/client/index.ts +0 -13
  874. package/src/client/rudder.ts +0 -57
  875. package/src/client/telemetry.ts +0 -7
  876. package/src/client/websocket_client.ts +0 -255
  877. package/src/constants/channel_categories.ts +0 -11
  878. package/src/constants/channels.ts +0 -14
  879. package/src/constants/emoji.ts +0 -5
  880. package/src/constants/files.ts +0 -19
  881. package/src/constants/general.ts +0 -75
  882. package/src/constants/groups.ts +0 -9
  883. package/src/constants/index.ts +0 -20
  884. package/src/constants/permissions.ts +0 -239
  885. package/src/constants/permissions_sysconsole.ts +0 -22
  886. package/src/constants/plugins.ts +0 -10
  887. package/src/constants/posts.ts +0 -70
  888. package/src/constants/preferences.ts +0 -166
  889. package/src/constants/request_status.ts +0 -14
  890. package/src/constants/roles.ts +0 -8
  891. package/src/constants/schemes.ts +0 -6
  892. package/src/constants/stats.ts +0 -31
  893. package/src/constants/teams.ts +0 -7
  894. package/src/constants/threads.ts +0 -6
  895. package/src/constants/users.ts +0 -7
  896. package/src/constants/websocket.ts +0 -55
  897. package/src/reducers/entities/admin.test.js +0 -854
  898. package/src/reducers/entities/admin.ts +0 -636
  899. package/src/reducers/entities/bots.ts +0 -34
  900. package/src/reducers/entities/channel_categories.test.js +0 -80
  901. package/src/reducers/entities/channel_categories.ts +0 -151
  902. package/src/reducers/entities/channels.test.js +0 -948
  903. package/src/reducers/entities/channels.ts +0 -822
  904. package/src/reducers/entities/cloud.ts +0 -96
  905. package/src/reducers/entities/emojis.test.js +0 -259
  906. package/src/reducers/entities/emojis.ts +0 -112
  907. package/src/reducers/entities/files.test.js +0 -496
  908. package/src/reducers/entities/files.ts +0 -147
  909. package/src/reducers/entities/general.ts +0 -137
  910. package/src/reducers/entities/gifs.ts +0 -250
  911. package/src/reducers/entities/groups.ts +0 -203
  912. package/src/reducers/entities/index.ts +0 -50
  913. package/src/reducers/entities/integrations.ts +0 -237
  914. package/src/reducers/entities/jobs.ts +0 -49
  915. package/src/reducers/entities/posts.test.js +0 -4084
  916. package/src/reducers/entities/posts.ts +0 -1329
  917. package/src/reducers/entities/preferences.ts +0 -68
  918. package/src/reducers/entities/roles.ts +0 -65
  919. package/src/reducers/entities/schemes.ts +0 -47
  920. package/src/reducers/entities/search.test.js +0 -288
  921. package/src/reducers/entities/search.ts +0 -313
  922. package/src/reducers/entities/teams.test.js +0 -110
  923. package/src/reducers/entities/teams.ts +0 -483
  924. package/src/reducers/entities/threads.test.js +0 -106
  925. package/src/reducers/entities/threads.ts +0 -138
  926. package/src/reducers/entities/typing.test.js +0 -292
  927. package/src/reducers/entities/typing.ts +0 -60
  928. package/src/reducers/entities/users.test.js +0 -581
  929. package/src/reducers/entities/users.ts +0 -637
  930. package/src/reducers/errors/index.ts +0 -32
  931. package/src/reducers/index.ts +0 -13
  932. package/src/reducers/requests/admin.ts +0 -452
  933. package/src/reducers/requests/channels.ts +0 -67
  934. package/src/reducers/requests/files.ts +0 -69
  935. package/src/reducers/requests/general.ts +0 -27
  936. package/src/reducers/requests/helpers.ts +0 -42
  937. package/src/reducers/requests/index.ts +0 -28
  938. package/src/reducers/requests/jobs.ts +0 -56
  939. package/src/reducers/requests/posts.ts +0 -47
  940. package/src/reducers/requests/roles.ts +0 -56
  941. package/src/reducers/requests/search.ts +0 -42
  942. package/src/reducers/requests/teams.ts +0 -45
  943. package/src/reducers/requests/users.ts +0 -95
  944. package/src/reducers/websocket.test.js +0 -102
  945. package/src/reducers/websocket.ts +0 -35
  946. package/src/selectors/entities/admin.ts +0 -40
  947. package/src/selectors/entities/bots.test.ts +0 -71
  948. package/src/selectors/entities/bots.ts +0 -30
  949. package/src/selectors/entities/channel_categories.test.js +0 -1593
  950. package/src/selectors/entities/channel_categories.ts +0 -554
  951. package/src/selectors/entities/channels.test.js +0 -3731
  952. package/src/selectors/entities/channels.ts +0 -1327
  953. package/src/selectors/entities/common.ts +0 -52
  954. package/src/selectors/entities/emojis.test.js +0 -93
  955. package/src/selectors/entities/emojis.ts +0 -57
  956. package/src/selectors/entities/files.ts +0 -40
  957. package/src/selectors/entities/general.test.js +0 -401
  958. package/src/selectors/entities/general.ts +0 -106
  959. package/src/selectors/entities/groups.test.js +0 -203
  960. package/src/selectors/entities/groups.ts +0 -231
  961. package/src/selectors/entities/i18n.test.js +0 -70
  962. package/src/selectors/entities/i18n.ts +0 -18
  963. package/src/selectors/entities/integrations.test.js +0 -57
  964. package/src/selectors/entities/integrations.ts +0 -62
  965. package/src/selectors/entities/jobs.ts +0 -25
  966. package/src/selectors/entities/posts.test.js +0 -2481
  967. package/src/selectors/entities/posts.ts +0 -704
  968. package/src/selectors/entities/preferences.test.js +0 -823
  969. package/src/selectors/entities/preferences.ts +0 -265
  970. package/src/selectors/entities/roles.test.js +0 -228
  971. package/src/selectors/entities/roles.ts +0 -209
  972. package/src/selectors/entities/roles_helpers.ts +0 -56
  973. package/src/selectors/entities/schemes.test.js +0 -81
  974. package/src/selectors/entities/schemes.ts +0 -85
  975. package/src/selectors/entities/search.test.js +0 -68
  976. package/src/selectors/entities/search.ts +0 -27
  977. package/src/selectors/entities/teams.test.js +0 -566
  978. package/src/selectors/entities/teams.ts +0 -297
  979. package/src/selectors/entities/threads.test.js +0 -81
  980. package/src/selectors/entities/threads.ts +0 -87
  981. package/src/selectors/entities/timezone.ts +0 -26
  982. package/src/selectors/entities/typing.ts +0 -50
  983. package/src/selectors/entities/users.test.js +0 -814
  984. package/src/selectors/entities/users.ts +0 -642
  985. package/src/selectors/entities/utils.test.js +0 -76
  986. package/src/selectors/entities/utils.ts +0 -46
  987. package/src/selectors/errors.ts +0 -8
  988. package/src/store/configureStore.dev.ts +0 -100
  989. package/src/store/configureStore.prod.ts +0 -57
  990. package/src/store/helpers.ts +0 -47
  991. package/src/store/index.ts +0 -6
  992. package/src/store/initial_state.ts +0 -456
  993. package/src/store/middleware.ts +0 -39
  994. package/src/store/reducer_registry.test.js +0 -33
  995. package/src/store/reducer_registry.ts +0 -33
  996. package/src/types/actions.ts +0 -58
  997. package/src/types/admin.ts +0 -49
  998. package/src/types/audits.ts +0 -12
  999. package/src/types/autocomplete.ts +0 -20
  1000. package/src/types/bots.ts +0 -20
  1001. package/src/types/channel_categories.ts +0 -37
  1002. package/src/types/channels.ts +0 -147
  1003. package/src/types/client4.ts +0 -41
  1004. package/src/types/cloud.ts +0 -115
  1005. package/src/types/compliance.ts +0 -16
  1006. package/src/types/config.ts +0 -839
  1007. package/src/types/emojis.ts +0 -37
  1008. package/src/types/errors.ts +0 -15
  1009. package/src/types/files.ts +0 -31
  1010. package/src/types/general.ts +0 -18
  1011. package/src/types/groups.ts +0 -127
  1012. package/src/types/index.ts +0 -60
  1013. package/src/types/integration_actions.ts +0 -30
  1014. package/src/types/integrations.ts +0 -163
  1015. package/src/types/jobs.ts +0 -23
  1016. package/src/types/message_attachments.ts +0 -30
  1017. package/src/types/mfa.ts +0 -7
  1018. package/src/types/module.d.ts +0 -9
  1019. package/src/types/plugins.ts +0 -136
  1020. package/src/types/posts.ts +0 -146
  1021. package/src/types/preferences.ts +0 -42
  1022. package/src/types/product_notices.ts +0 -37
  1023. package/src/types/reactions.ts +0 -8
  1024. package/src/types/requests.ts +0 -118
  1025. package/src/types/roles.ts +0 -16
  1026. package/src/types/saml.ts +0 -14
  1027. package/src/types/schemes.ts +0 -26
  1028. package/src/types/search.ts +0 -33
  1029. package/src/types/sessions.ts +0 -19
  1030. package/src/types/store.ts +0 -85
  1031. package/src/types/teams.ts +0 -87
  1032. package/src/types/terms_of_service.ts +0 -9
  1033. package/src/types/threads.ts +0 -37
  1034. package/src/types/typing.ts +0 -7
  1035. package/src/types/users.ts +0 -133
  1036. package/src/types/utilities.ts +0 -30
  1037. package/src/types/websocket.ts +0 -22
  1038. package/src/utils/array_utils.test.ts +0 -80
  1039. package/src/utils/array_utils.ts +0 -51
  1040. package/src/utils/channel_utils.test.js +0 -322
  1041. package/src/utils/channel_utils.ts +0 -611
  1042. package/src/utils/deep_freeze.ts +0 -67
  1043. package/src/utils/delayed_action.ts +0 -33
  1044. package/src/utils/emoji_utils.test.js +0 -82
  1045. package/src/utils/emoji_utils.ts +0 -56
  1046. package/src/utils/event_emitter.ts +0 -64
  1047. package/src/utils/file_utils.test.js +0 -62
  1048. package/src/utils/file_utils.ts +0 -101
  1049. package/src/utils/gfycat_sdk.ts +0 -24
  1050. package/src/utils/group_utils.test.ts +0 -92
  1051. package/src/utils/group_utils.ts +0 -31
  1052. package/src/utils/helpers.test.js +0 -114
  1053. package/src/utils/helpers.ts +0 -127
  1054. package/src/utils/i18n_utils.test.js +0 -25
  1055. package/src/utils/i18n_utils.ts +0 -18
  1056. package/src/utils/integration_utils.test.js +0 -77
  1057. package/src/utils/integration_utils.ts +0 -87
  1058. package/src/utils/key_mirror.ts +0 -44
  1059. package/src/utils/notify_props.test.js +0 -31
  1060. package/src/utils/notify_props.ts +0 -29
  1061. package/src/utils/post_list.test.js +0 -1702
  1062. package/src/utils/post_list.ts +0 -435
  1063. package/src/utils/post_utils.test.js +0 -562
  1064. package/src/utils/post_utils.ts +0 -230
  1065. package/src/utils/preference_utils.ts +0 -28
  1066. package/src/utils/sentry.test.js +0 -41
  1067. package/src/utils/sentry.ts +0 -51
  1068. package/src/utils/team_utils.ts +0 -23
  1069. package/src/utils/theme_utils.test.js +0 -89
  1070. package/src/utils/theme_utils.ts +0 -115
  1071. package/src/utils/timezone_utils.ts +0 -34
  1072. package/src/utils/user_utils.test.js +0 -323
  1073. package/src/utils/user_utils.ts +0 -236
  1074. package/store/configureStore.dev.d.ts +0 -13
  1075. package/store/configureStore.dev.js +0 -85
  1076. package/store/configureStore.dev.js.map +0 -1
  1077. package/store/configureStore.prod.d.ts +0 -13
  1078. package/store/configureStore.prod.js +0 -45
  1079. package/store/configureStore.prod.js.map +0 -1
  1080. package/store/helpers.d.ts +0 -6
  1081. package/store/helpers.js +0 -48
  1082. package/store/helpers.js.map +0 -1
  1083. package/store/index.d.ts +0 -2
  1084. package/store/index.js +0 -8
  1085. package/store/index.js.map +0 -1
  1086. package/store/initial_state.d.ts +0 -3
  1087. package/store/initial_state.js +0 -456
  1088. package/store/initial_state.js.map +0 -1
  1089. package/store/middleware.d.ts +0 -2
  1090. package/store/middleware.js +0 -36
  1091. package/store/middleware.js.map +0 -1
  1092. package/store/reducer_registry.d.ts +0 -14
  1093. package/store/reducer_registry.js +0 -34
  1094. package/store/reducer_registry.js.map +0 -1
  1095. package/tsconfig.json +0 -85
  1096. package/types/actions.d.ts +0 -43
  1097. package/types/actions.js +0 -19
  1098. package/types/actions.js.map +0 -1
  1099. package/types/admin.d.ts +0 -42
  1100. package/types/admin.js +0 -5
  1101. package/types/admin.js.map +0 -1
  1102. package/types/audits.d.ts +0 -9
  1103. package/types/audits.js +0 -5
  1104. package/types/audits.js.map +0 -1
  1105. package/types/autocomplete.d.ts +0 -12
  1106. package/types/autocomplete.js +0 -5
  1107. package/types/autocomplete.js.map +0 -1
  1108. package/types/bots.d.ts +0 -15
  1109. package/types/bots.js +0 -5
  1110. package/types/bots.js.map +0 -1
  1111. package/types/channel_categories.d.ts +0 -29
  1112. package/types/channel_categories.js +0 -13
  1113. package/types/channel_categories.js.map +0 -1
  1114. package/types/channels.d.ts +0 -129
  1115. package/types/channels.js +0 -5
  1116. package/types/channels.js.map +0 -1
  1117. package/types/client4.d.ts +0 -36
  1118. package/types/client4.js +0 -5
  1119. package/types/client4.js.map +0 -1
  1120. package/types/cloud.d.ts +0 -95
  1121. package/types/cloud.js +0 -5
  1122. package/types/cloud.js.map +0 -1
  1123. package/types/compliance.d.ts +0 -13
  1124. package/types/compliance.js +0 -5
  1125. package/types/compliance.js.map +0 -1
  1126. package/types/config.d.ts +0 -792
  1127. package/types/config.js +0 -5
  1128. package/types/config.js.map +0 -1
  1129. package/types/emojis.d.ts +0 -23
  1130. package/types/emojis.js +0 -5
  1131. package/types/emojis.js.map +0 -1
  1132. package/types/errors.d.ts +0 -12
  1133. package/types/errors.js +0 -5
  1134. package/types/errors.js.map +0 -1
  1135. package/types/files.d.ts +0 -26
  1136. package/types/files.js +0 -5
  1137. package/types/files.js.map +0 -1
  1138. package/types/general.d.ts +0 -13
  1139. package/types/general.js +0 -5
  1140. package/types/general.js.map +0 -1
  1141. package/types/groups.d.ts +0 -104
  1142. package/types/groups.js +0 -5
  1143. package/types/groups.js.map +0 -1
  1144. package/types/index.d.ts +0 -28
  1145. package/types/index.js +0 -61
  1146. package/types/index.js.map +0 -1
  1147. package/types/integration_actions.d.ts +0 -24
  1148. package/types/integration_actions.js +0 -5
  1149. package/types/integration_actions.js.map +0 -1
  1150. package/types/integrations.d.ts +0 -148
  1151. package/types/integrations.js +0 -5
  1152. package/types/integrations.js.map +0 -1
  1153. package/types/jobs.d.ts +0 -21
  1154. package/types/jobs.js +0 -3
  1155. package/types/jobs.js.map +0 -1
  1156. package/types/message_attachments.d.ts +0 -25
  1157. package/types/message_attachments.js +0 -5
  1158. package/types/message_attachments.js.map +0 -1
  1159. package/types/mfa.d.ts +0 -4
  1160. package/types/mfa.js +0 -5
  1161. package/types/mfa.js.map +0 -1
  1162. package/types/plugins.d.ts +0 -119
  1163. package/types/plugins.js +0 -23
  1164. package/types/plugins.js.map +0 -1
  1165. package/types/posts.d.ts +0 -112
  1166. package/types/posts.js +0 -5
  1167. package/types/posts.js.map +0 -1
  1168. package/types/preferences.d.ts +0 -37
  1169. package/types/preferences.js +0 -5
  1170. package/types/preferences.js.map +0 -1
  1171. package/types/product_notices.d.ts +0 -26
  1172. package/types/product_notices.js +0 -10
  1173. package/types/product_notices.js.map +0 -1
  1174. package/types/reactions.d.ts +0 -6
  1175. package/types/reactions.js +0 -3
  1176. package/types/reactions.js.map +0 -1
  1177. package/types/requests.d.ts +0 -103
  1178. package/types/requests.js +0 -5
  1179. package/types/requests.js.map +0 -1
  1180. package/types/roles.d.ts +0 -13
  1181. package/types/roles.js +0 -3
  1182. package/types/roles.js.map +0 -1
  1183. package/types/saml.d.ts +0 -10
  1184. package/types/saml.js +0 -5
  1185. package/types/saml.js.map +0 -1
  1186. package/types/schemes.d.ts +0 -24
  1187. package/types/schemes.js +0 -3
  1188. package/types/schemes.js.map +0 -1
  1189. package/types/search.d.ts +0 -27
  1190. package/types/search.js +0 -5
  1191. package/types/search.js.map +0 -1
  1192. package/types/sessions.d.ts +0 -15
  1193. package/types/sessions.js +0 -5
  1194. package/types/sessions.js.map +0 -1
  1195. package/types/store.d.ts +0 -75
  1196. package/types/store.js +0 -5
  1197. package/types/store.js.map +0 -1
  1198. package/types/teams.d.ts +0 -73
  1199. package/types/teams.js +0 -5
  1200. package/types/teams.js.map +0 -1
  1201. package/types/terms_of_service.d.ts +0 -6
  1202. package/types/terms_of_service.js +0 -5
  1203. package/types/terms_of_service.js.map +0 -1
  1204. package/types/threads.d.ts +0 -34
  1205. package/types/threads.js +0 -3
  1206. package/types/threads.js.map +0 -1
  1207. package/types/typing.d.ts +0 -5
  1208. package/types/typing.js +0 -3
  1209. package/types/typing.js.map +0 -1
  1210. package/types/users.d.ts +0 -118
  1211. package/types/users.js +0 -5
  1212. package/types/users.js.map +0 -1
  1213. package/types/utilities.d.ts +0 -53
  1214. package/types/utilities.js +0 -3
  1215. package/types/utilities.js.map +0 -1
  1216. package/types/websocket.d.ts +0 -17
  1217. package/types/websocket.js +0 -5
  1218. package/types/websocket.js.map +0 -1
  1219. package/utils/array_utils.d.ts +0 -3
  1220. package/utils/array_utils.js +0 -48
  1221. package/utils/array_utils.js.map +0 -1
  1222. package/utils/array_utils.test.d.ts +0 -1
  1223. package/utils/array_utils.test.js +0 -68
  1224. package/utils/array_utils.test.js.map +0 -1
  1225. package/utils/channel_utils.d.ts +0 -48
  1226. package/utils/channel_utils.js +0 -480
  1227. package/utils/channel_utils.js.map +0 -1
  1228. package/utils/deep_freeze.d.ts +0 -27
  1229. package/utils/deep_freeze.js +0 -59
  1230. package/utils/deep_freeze.js.map +0 -1
  1231. package/utils/delayed_action.d.ts +0 -9
  1232. package/utils/delayed_action.js +0 -29
  1233. package/utils/delayed_action.js.map +0 -1
  1234. package/utils/emoji_utils.d.ts +0 -5
  1235. package/utils/emoji_utils.js +0 -51
  1236. package/utils/emoji_utils.js.map +0 -1
  1237. package/utils/event_emitter.d.ts +0 -12
  1238. package/utils/event_emitter.js +0 -57
  1239. package/utils/event_emitter.js.map +0 -1
  1240. package/utils/file_utils.d.ts +0 -9
  1241. package/utils/file_utils.js +0 -98
  1242. package/utils/file_utils.js.map +0 -1
  1243. package/utils/gfycat_sdk.d.ts +0 -1
  1244. package/utils/gfycat_sdk.js +0 -26
  1245. package/utils/gfycat_sdk.js.map +0 -1
  1246. package/utils/group_utils.d.ts +0 -2
  1247. package/utils/group_utils.js +0 -30
  1248. package/utils/group_utils.js.map +0 -1
  1249. package/utils/group_utils.test.d.ts +0 -1
  1250. package/utils/group_utils.test.js +0 -83
  1251. package/utils/group_utils.test.js.map +0 -1
  1252. package/utils/helpers.d.ts +0 -9
  1253. package/utils/helpers.js +0 -118
  1254. package/utils/helpers.js.map +0 -1
  1255. package/utils/i18n_utils.d.ts +0 -4
  1256. package/utils/i18n_utils.js +0 -18
  1257. package/utils/i18n_utils.js.map +0 -1
  1258. package/utils/integration_utils.d.ts +0 -11
  1259. package/utils/integration_utils.js +0 -87
  1260. package/utils/integration_utils.js.map +0 -1
  1261. package/utils/key_mirror.d.ts +0 -30
  1262. package/utils/key_mirror.js +0 -45
  1263. package/utils/key_mirror.js.map +0 -1
  1264. package/utils/notify_props.d.ts +0 -1
  1265. package/utils/notify_props.js +0 -29
  1266. package/utils/notify_props.js.map +0 -1
  1267. package/utils/post_list.d.ts +0 -76
  1268. package/utils/post_list.js +0 -375
  1269. package/utils/post_list.js.map +0 -1
  1270. package/utils/post_utils.d.ts +0 -32
  1271. package/utils/post_utils.js +0 -221
  1272. package/utils/post_utils.js.map +0 -1
  1273. package/utils/preference_utils.d.ts +0 -4
  1274. package/utils/preference_utils.js +0 -27
  1275. package/utils/preference_utils.js.map +0 -1
  1276. package/utils/sentry.d.ts +0 -1
  1277. package/utils/sentry.js +0 -49
  1278. package/utils/sentry.js.map +0 -1
  1279. package/utils/team_utils.d.ts +0 -4
  1280. package/utils/team_utils.js +0 -22
  1281. package/utils/team_utils.js.map +0 -1
  1282. package/utils/theme_utils.d.ts +0 -11
  1283. package/utils/theme_utils.js +0 -83
  1284. package/utils/theme_utils.js.map +0 -1
  1285. package/utils/timezone_utils.d.ts +0 -3
  1286. package/utils/timezone_utils.js +0 -29
  1287. package/utils/timezone_utils.js.map +0 -1
  1288. package/utils/user_utils.d.ts +0 -25
  1289. package/utils/user_utils.js +0 -218
  1290. package/utils/user_utils.js.map +0 -1
package/README.md CHANGED
@@ -1,193 +1,11 @@
1
- # Mattermost Redux ![CircleCI branch](https://img.shields.io/circleci/project/github/mattermost/mattermost-redux/master.svg)
1
+ # mattermost-redux
2
2
 
3
- The project purpose is consolidating the storage, web utilities and logic of the webapp and React Native mobile clients into a single driver. We encourage you to use mattermost-redux to power your own Mattermost clients or integrations.
3
+ This package contains a large part of the [Redux](http://redux.js.org) code and some utilities used by [the Mattermost web app](https://github.com/mattermost/mattermost/tree/master/webapp/channels) for usage in Mattermost plugins and other related projects.
4
4
 
5
- [Redux](http://redux.js.org/docs/introduction/) is the backbone for this project and many of the design decisions and patterns stem from it.
5
+ This code doesn't strictly follow semantic versioning as it is mostly internal code to Mattermost, and it will feature breaking changes outside of major releases, but it can be considered stable for the most part.
6
6
 
7
- Mattermost is an open source Slack-alternative used by thousands of companies around the world in more than 16 languages. Learn more at https://mattermost.com.
7
+ ## Installation
8
8
 
9
- # Usage
10
-
11
- ### Basic Usage
12
-
13
- To hook up your application to the mattermost-redux store:
14
-
15
- ```
16
- import configureServiceStore from 'mattermost-redux/store';
17
-
18
- configureServiceStore(yourInitialState, yourAppReducers, yourOfflineOptions);
19
-
20
- const store = configureStore();
21
-
22
- // use store
23
- ```
24
-
25
- * `yourInitialState` - any initial state for any extra reducers you may have (set to `{}` if none)
26
- * `yourAppReducers` - any reducers from your app (set to `{}` if none)
27
- * `yourOfflineOptions` - any offline options, specified using [this redux-offline configuration object](https://github.com/jevakallio/redux-offline#configuration-object)
28
-
29
- ### Web Client Usage
30
-
31
- If you're only looking to use the v4 JavaScript web client for the Mattermost server:
32
-
33
- With async/await:
34
- ```
35
- import {Client4} from 'mattermost-redux/client';
36
-
37
- Client4.setUrl('https://your-mattermost-url.com');
38
-
39
- async function loginAndGetUser(username, password) {
40
- try {
41
- await Client4.login(username, password);
42
- } catch (error) {
43
- console.error(error);
44
- return null;
45
- }
46
-
47
- let user;
48
- try {
49
- user = await Client4.getMe();
50
- } catch (error) {
51
- console.error(error);
52
- return null;
53
- }
54
-
55
- return user;
56
- }
57
-
58
- ```
59
-
60
- With promises:
61
- ```
62
- import {Client4} from 'mattermost-redux/client';
63
-
64
- Client4.setUrl('https://your-mattermost-url.com');
65
-
66
- function loginAndGetUser(username, password, callback) {
67
- Client4
68
- .login(username, password)
69
- .then(Client4.getMe)
70
- .then(callback)
71
- .catch(console.error);
72
- }
73
- ```
74
-
75
- If you already have a [personal access token](https://docs.mattermost.com/guides/developer/personal-access-tokens.html) or session token, you can set the token manually instead of logging in:
76
-
77
- ```
78
- import {Client4} from 'mattermost-redux/client';
79
-
80
- Client4.setUrl('https://your-mattermost-url.com');
81
- Client4.setToken(yourToken);
9
+ ```sh
10
+ $ npm install mattermost-redux @mattermost/types @mattermost/client
82
11
  ```
83
-
84
- ### Browser Usage
85
-
86
- To build a browser-compatible client via `webpack`:
87
-
88
- ```
89
- $ git clone <this repo>
90
- $ cd mattermost-redux
91
- $ make bundle
92
- ```
93
-
94
- This will generate `lib/mattermost.client4.js`, and `lib/mattermost.websocket.js` which can be loaded in a browser. Also note that `babel-polyfill` is required.
95
-
96
- ```
97
- <script src="/path/to/babel/polyfill.js"></script>
98
- <script src="/path/to/mattermost.client4.js"></script>
99
- <script src="/path/to/mattermost.websocket.js"></script>
100
- <script type="text/javascript">
101
- const client = Mattermost.client4.default();
102
- const wsClient = Mattermost.websocket.default;
103
- var token;
104
- client.setUrl('https://your-mattermost-url.com');
105
- /* use an existing personal access token */
106
- client.setToken('yourToken');
107
- client.setIncludeCookies(false);
108
- /* login and obtain a token */
109
- client.login(username, password)
110
- .then(function(user){
111
- console.log(`Logged in as ${user.email}`);
112
- token = client.getToken();
113
- })
114
- .then(function(){
115
- wsClient.initialize(token, {}, {}, {connectionUrl: 'wss://your-mattermost-url.com/api/v4/websocket'});
116
- })
117
- .catch(function(err){
118
- console.error(err);
119
- });
120
- </script>
121
- ```
122
-
123
- ### node.js Usage
124
-
125
- Running the client from node.js requires making the `fetch` and `WebSocket` packages globally available, and the use of `babel-polyfill`:
126
-
127
- ```
128
- require('babel-polyfill');
129
- require('isomorphic-fetch');
130
- if (!global.WebSocket) {
131
- global.WebSocket = require('ws');
132
- }
133
- const Client4 = require('./client/client4.js').default;
134
- const client = new Client4;
135
- const wsClient = require('./client/websocket_client.js').default;
136
- var token;
137
-
138
- wsClient.setEventCallback(function(event){
139
- console.log(event);
140
- });
141
-
142
- client.setUrl('https://your-mattermost-url.com');
143
- client.login(username, password)
144
- .then(function(me){
145
- console.log(`logged in as ${me.email}`);
146
- token = client.getToken();
147
- })
148
- .then(function(){
149
- wsClient.initialize(token, {}, {}, {connectionUrl: 'wss://your-mattermost-url.com/api/v4/websocket'});
150
- })
151
- .catch(function(err){
152
- console.error(err);
153
- });
154
- ```
155
-
156
- # How to Contribute
157
-
158
- ### How to Build mattermost-redux
159
-
160
- You only need to build mattermost-redux if you are developing it.
161
-
162
- #### Webapp Development
163
- If your mattermost-webapp and mattermost-redux are in the same directory, you only
164
- need to run `npm run dev` or `npm run dev:watch`.
165
-
166
- If you have mattermost-webapp in other directory or you are developing your own
167
- application, you can define the environment variable `WEBAPP_DIR` to change the
168
- destination app
169
- (e. g. `WEBAPP_DIR=/tmp/mattermost-webapp`).
170
-
171
- #### React Native (Mobile) Development
172
- If your mattermost-mobile and mattermost-redux are in the same directory, you only
173
- need to run `npm run dev-mobile` or `npm run dev-mobile:watch`.
174
-
175
- If you have mattermost-mobile in other directory or you are developing your own
176
- application, you can define the environment variable `MOBILE_DIR` to change the
177
- destination app
178
- (e. g. `MOBILE_DIR=/tmp/mattermost-mobile`).
179
-
180
- #### Resetting apps to use package redux
181
- If you want to go back to using the package specified redux in your web or mobile
182
- app you can stop the server and run `rm -rf .npminstall` to force
183
- your project to reset to the specified package version on next server start.
184
-
185
- ### Contribute Code
186
-
187
- If you're contributing to help [migrate the webapp to Redux](https://docs.mattermost.com/developer/webapp-to-redux.html) go ahead and submit your PR. If you're just fixing a small bug or adding a small improvement then feel free to submit a PR for it. For everything else, please either work on an issue labeled `[Help Wanted]` or open an issue if there's something else that you'd like to work on.
188
-
189
- Feel free to drop by [the Redux channel](https://pre-release.mattermost.com/core/channels/redux) on our Mattermost instance.
190
-
191
- ### Running the Tests
192
-
193
- `make test` will run the unit tests against a mocked server.
@@ -0,0 +1,51 @@
1
+ declare const _default: {
2
+ CREATE_COMPLIANCE_REQUEST: "CREATE_COMPLIANCE_REQUEST";
3
+ CREATE_COMPLIANCE_SUCCESS: "CREATE_COMPLIANCE_SUCCESS";
4
+ CREATE_COMPLIANCE_FAILURE: "CREATE_COMPLIANCE_FAILURE";
5
+ LINK_LDAP_GROUP_FAILURE: "LINK_LDAP_GROUP_FAILURE";
6
+ UNLINK_LDAP_GROUP_FAILURE: "UNLINK_LDAP_GROUP_FAILURE";
7
+ PREV_TRIAL_LICENSE_SUCCESS: "PREV_TRIAL_LICENSE_SUCCESS";
8
+ ENABLE_PLUGIN_REQUEST: "ENABLE_PLUGIN_REQUEST";
9
+ ENABLE_PLUGIN_FAILURE: "ENABLE_PLUGIN_FAILURE";
10
+ DISABLE_PLUGIN_REQUEST: "DISABLE_PLUGIN_REQUEST";
11
+ RECEIVED_LOGS: "RECEIVED_LOGS";
12
+ RECEIVED_ALL_PLAIN_LOGS: "RECEIVED_ALL_PLAIN_LOGS";
13
+ RECEIVED_PLAIN_LOGS: "RECEIVED_PLAIN_LOGS";
14
+ RECEIVED_AUDITS: "RECEIVED_AUDITS";
15
+ RECEIVED_CONFIG: "RECEIVED_CONFIG";
16
+ RECEIVED_ENVIRONMENT_CONFIG: "RECEIVED_ENVIRONMENT_CONFIG";
17
+ RECEIVED_COMPLIANCE_REPORT: "RECEIVED_COMPLIANCE_REPORT";
18
+ RECEIVED_COMPLIANCE_REPORTS: "RECEIVED_COMPLIANCE_REPORTS";
19
+ RECEIVED_CLUSTER_STATUS: "RECEIVED_CLUSTER_STATUS";
20
+ RECEIVED_SAML_CERT_STATUS: "RECEIVED_SAML_CERT_STATUS";
21
+ RECEIVED_SYSTEM_ANALYTICS: "RECEIVED_SYSTEM_ANALYTICS";
22
+ RECEIVED_TEAM_ANALYTICS: "RECEIVED_TEAM_ANALYTICS";
23
+ RECEIVED_USER_ACCESS_TOKEN: "RECEIVED_USER_ACCESS_TOKEN";
24
+ RECEIVED_USER_ACCESS_TOKENS_FOR_USER: "RECEIVED_USER_ACCESS_TOKENS_FOR_USER";
25
+ RECEIVED_PLUGINS: "RECEIVED_PLUGINS";
26
+ RECEIVED_PLUGIN_STATUSES: "RECEIVED_PLUGIN_STATUSES";
27
+ RECEIVED_LDAP_GROUPS: "RECEIVED_LDAP_GROUPS";
28
+ LINKED_LDAP_GROUP: "LINKED_LDAP_GROUP";
29
+ UNLINKED_LDAP_GROUP: "UNLINKED_LDAP_GROUP";
30
+ REMOVED_PLUGIN: "REMOVED_PLUGIN";
31
+ ENABLED_PLUGIN: "ENABLED_PLUGIN";
32
+ DISABLED_PLUGIN: "DISABLED_PLUGIN";
33
+ RECEIVED_SAML_METADATA_RESPONSE: "RECEIVED_SAML_METADATA_RESPONSE";
34
+ RECEIVED_DATA_RETENTION_CUSTOM_POLICIES: "RECEIVED_DATA_RETENTION_CUSTOM_POLICIES";
35
+ RECEIVED_DATA_RETENTION_CUSTOM_POLICY: "RECEIVED_DATA_RETENTION_CUSTOM_POLICY";
36
+ DELETE_DATA_RETENTION_CUSTOM_POLICY_SUCCESS: "DELETE_DATA_RETENTION_CUSTOM_POLICY_SUCCESS";
37
+ DELETE_DATA_RETENTION_CUSTOM_POLICY_FAILURE: "DELETE_DATA_RETENTION_CUSTOM_POLICY_FAILURE";
38
+ RECEIVED_DATA_RETENTION_CUSTOM_POLICY_TEAMS: "RECEIVED_DATA_RETENTION_CUSTOM_POLICY_TEAMS";
39
+ RECEIVED_DATA_RETENTION_CUSTOM_POLICY_CHANNELS: "RECEIVED_DATA_RETENTION_CUSTOM_POLICY_CHANNELS";
40
+ RECEIVED_DATA_RETENTION_CUSTOM_POLICY_TEAMS_SEARCH: "RECEIVED_DATA_RETENTION_CUSTOM_POLICY_TEAMS_SEARCH";
41
+ RECEIVED_DATA_RETENTION_CUSTOM_POLICY_CHANNELS_SEARCH: "RECEIVED_DATA_RETENTION_CUSTOM_POLICY_CHANNELS_SEARCH";
42
+ CREATE_DATA_RETENTION_CUSTOM_POLICY_SUCCESS: "CREATE_DATA_RETENTION_CUSTOM_POLICY_SUCCESS";
43
+ UPDATE_DATA_RETENTION_CUSTOM_POLICY_SUCCESS: "UPDATE_DATA_RETENTION_CUSTOM_POLICY_SUCCESS";
44
+ ADD_DATA_RETENTION_CUSTOM_POLICY_TEAMS_SUCCESS: "ADD_DATA_RETENTION_CUSTOM_POLICY_TEAMS_SUCCESS";
45
+ ADD_DATA_RETENTION_CUSTOM_POLICY_CHANNELS_SUCCESS: "ADD_DATA_RETENTION_CUSTOM_POLICY_CHANNELS_SUCCESS";
46
+ REMOVE_DATA_RETENTION_CUSTOM_POLICY_TEAMS_SUCCESS: "REMOVE_DATA_RETENTION_CUSTOM_POLICY_TEAMS_SUCCESS";
47
+ REMOVE_DATA_RETENTION_CUSTOM_POLICY_TEAMS_FAILURE: "REMOVE_DATA_RETENTION_CUSTOM_POLICY_TEAMS_FAILURE";
48
+ REMOVE_DATA_RETENTION_CUSTOM_POLICY_CHANNELS_SUCCESS: "REMOVE_DATA_RETENTION_CUSTOM_POLICY_CHANNELS_SUCCESS";
49
+ REMOVE_DATA_RETENTION_CUSTOM_POLICY_CHANNELS_FAILURE: "REMOVE_DATA_RETENTION_CUSTOM_POLICY_CHANNELS_FAILURE";
50
+ };
51
+ export default _default;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
+ // See LICENSE.txt for license information.
4
+ var __importDefault = (this && this.__importDefault) || function (mod) {
5
+ return (mod && mod.__esModule) ? mod : { "default": mod };
6
+ };
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ const key_mirror_1 = __importDefault(require("mattermost-redux/utils/key_mirror"));
9
+ exports.default = (0, key_mirror_1.default)({
10
+ CREATE_COMPLIANCE_REQUEST: null,
11
+ CREATE_COMPLIANCE_SUCCESS: null,
12
+ CREATE_COMPLIANCE_FAILURE: null,
13
+ LINK_LDAP_GROUP_FAILURE: null,
14
+ UNLINK_LDAP_GROUP_FAILURE: null,
15
+ PREV_TRIAL_LICENSE_SUCCESS: null,
16
+ ENABLE_PLUGIN_REQUEST: null,
17
+ ENABLE_PLUGIN_FAILURE: null,
18
+ DISABLE_PLUGIN_REQUEST: null,
19
+ RECEIVED_LOGS: null,
20
+ RECEIVED_ALL_PLAIN_LOGS: null,
21
+ RECEIVED_PLAIN_LOGS: null,
22
+ RECEIVED_AUDITS: null,
23
+ RECEIVED_CONFIG: null,
24
+ RECEIVED_ENVIRONMENT_CONFIG: null,
25
+ RECEIVED_COMPLIANCE_REPORT: null,
26
+ RECEIVED_COMPLIANCE_REPORTS: null,
27
+ RECEIVED_CLUSTER_STATUS: null,
28
+ RECEIVED_SAML_CERT_STATUS: null,
29
+ RECEIVED_SYSTEM_ANALYTICS: null,
30
+ RECEIVED_TEAM_ANALYTICS: null,
31
+ RECEIVED_USER_ACCESS_TOKEN: null,
32
+ RECEIVED_USER_ACCESS_TOKENS_FOR_USER: null,
33
+ RECEIVED_PLUGINS: null,
34
+ RECEIVED_PLUGIN_STATUSES: null,
35
+ RECEIVED_LDAP_GROUPS: null,
36
+ LINKED_LDAP_GROUP: null,
37
+ UNLINKED_LDAP_GROUP: null,
38
+ REMOVED_PLUGIN: null,
39
+ ENABLED_PLUGIN: null,
40
+ DISABLED_PLUGIN: null,
41
+ RECEIVED_SAML_METADATA_RESPONSE: null,
42
+ RECEIVED_DATA_RETENTION_CUSTOM_POLICIES: null,
43
+ RECEIVED_DATA_RETENTION_CUSTOM_POLICY: null,
44
+ DELETE_DATA_RETENTION_CUSTOM_POLICY_SUCCESS: null,
45
+ DELETE_DATA_RETENTION_CUSTOM_POLICY_FAILURE: null,
46
+ RECEIVED_DATA_RETENTION_CUSTOM_POLICY_TEAMS: null,
47
+ RECEIVED_DATA_RETENTION_CUSTOM_POLICY_CHANNELS: null,
48
+ RECEIVED_DATA_RETENTION_CUSTOM_POLICY_TEAMS_SEARCH: null,
49
+ RECEIVED_DATA_RETENTION_CUSTOM_POLICY_CHANNELS_SEARCH: null,
50
+ CREATE_DATA_RETENTION_CUSTOM_POLICY_SUCCESS: null,
51
+ UPDATE_DATA_RETENTION_CUSTOM_POLICY_SUCCESS: null,
52
+ ADD_DATA_RETENTION_CUSTOM_POLICY_TEAMS_SUCCESS: null,
53
+ ADD_DATA_RETENTION_CUSTOM_POLICY_CHANNELS_SUCCESS: null,
54
+ REMOVE_DATA_RETENTION_CUSTOM_POLICY_TEAMS_SUCCESS: null,
55
+ REMOVE_DATA_RETENTION_CUSTOM_POLICY_TEAMS_FAILURE: null,
56
+ REMOVE_DATA_RETENTION_CUSTOM_POLICY_CHANNELS_SUCCESS: null,
57
+ REMOVE_DATA_RETENTION_CUSTOM_POLICY_CHANNELS_FAILURE: null,
58
+ });
@@ -0,0 +1,10 @@
1
+ declare const _default: {
2
+ RECEIVED_APP_BINDINGS: "RECEIVED_APP_BINDINGS";
3
+ FAILED_TO_FETCH_APP_BINDINGS: "FAILED_TO_FETCH_APP_BINDINGS";
4
+ RECEIVED_APP_RHS_BINDINGS: "RECEIVED_APP_RHS_BINDINGS";
5
+ RECEIVED_APP_COMMAND_FORM: "RECEIVED_APP_COMMAND_FORM";
6
+ RECEIVED_APP_RHS_COMMAND_FORM: "RECEIVED_APP_RHS_COMMAND_FORM";
7
+ APPS_PLUGIN_ENABLED: "APPS_PLUGIN_ENABLED";
8
+ APPS_PLUGIN_DISABLED: "APPS_PLUGIN_DISABLED";
9
+ };
10
+ export default _default;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
+ // See LICENSE.txt for license information.
4
+ var __importDefault = (this && this.__importDefault) || function (mod) {
5
+ return (mod && mod.__esModule) ? mod : { "default": mod };
6
+ };
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ const key_mirror_1 = __importDefault(require("mattermost-redux/utils/key_mirror"));
9
+ exports.default = (0, key_mirror_1.default)({
10
+ RECEIVED_APP_BINDINGS: null,
11
+ FAILED_TO_FETCH_APP_BINDINGS: null,
12
+ RECEIVED_APP_RHS_BINDINGS: null,
13
+ RECEIVED_APP_COMMAND_FORM: null,
14
+ RECEIVED_APP_RHS_COMMAND_FORM: null,
15
+ APPS_PLUGIN_ENABLED: null,
16
+ APPS_PLUGIN_DISABLED: null,
17
+ });
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ RECEIVED_BOT_ACCOUNTS: "RECEIVED_BOT_ACCOUNTS";
3
+ RECEIVED_BOT_ACCOUNT: "RECEIVED_BOT_ACCOUNT";
4
+ };
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
+ // See LICENSE.txt for license information.
4
+ var __importDefault = (this && this.__importDefault) || function (mod) {
5
+ return (mod && mod.__esModule) ? mod : { "default": mod };
6
+ };
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ const key_mirror_1 = __importDefault(require("mattermost-redux/utils/key_mirror"));
9
+ exports.default = (0, key_mirror_1.default)({
10
+ RECEIVED_BOT_ACCOUNTS: null,
11
+ RECEIVED_BOT_ACCOUNT: null,
12
+ });
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ RECEIVED_BOOKMARK: "RECEIVED_BOOKMARK";
3
+ RECEIVED_BOOKMARKS: "RECEIVED_BOOKMARKS";
4
+ BOOKMARK_DELETED: "BOOKMARK_DELETED";
5
+ };
6
+ export default _default;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
+ // See LICENSE.txt for license information.
4
+ var __importDefault = (this && this.__importDefault) || function (mod) {
5
+ return (mod && mod.__esModule) ? mod : { "default": mod };
6
+ };
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ const key_mirror_1 = __importDefault(require("mattermost-redux/utils/key_mirror"));
9
+ exports.default = (0, key_mirror_1.default)({
10
+ RECEIVED_BOOKMARK: null,
11
+ RECEIVED_BOOKMARKS: null,
12
+ BOOKMARK_DELETED: null,
13
+ });
@@ -0,0 +1,9 @@
1
+ declare const _default: {
2
+ RECEIVED_CATEGORY: "RECEIVED_CATEGORY";
3
+ RECEIVED_CATEGORIES: "RECEIVED_CATEGORIES";
4
+ RECEIVED_CATEGORY_ORDER: "RECEIVED_CATEGORY_ORDER";
5
+ CATEGORY_COLLAPSED: "CATEGORY_COLLAPSED";
6
+ CATEGORY_EXPANDED: "CATEGORY_EXPANDED";
7
+ CATEGORY_DELETED: "CATEGORY_DELETED";
8
+ };
9
+ export default _default;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
+ // See LICENSE.txt for license information.
4
+ var __importDefault = (this && this.__importDefault) || function (mod) {
5
+ return (mod && mod.__esModule) ? mod : { "default": mod };
6
+ };
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ const key_mirror_1 = __importDefault(require("mattermost-redux/utils/key_mirror"));
9
+ exports.default = (0, key_mirror_1.default)({
10
+ RECEIVED_CATEGORY: null,
11
+ RECEIVED_CATEGORIES: null,
12
+ RECEIVED_CATEGORY_ORDER: null,
13
+ CATEGORY_COLLAPSED: null,
14
+ CATEGORY_EXPANDED: null,
15
+ CATEGORY_DELETED: null,
16
+ });
@@ -0,0 +1,68 @@
1
+ declare const _default: {
2
+ CHANNEL_REQUEST: "CHANNEL_REQUEST";
3
+ CHANNEL_SUCCESS: "CHANNEL_SUCCESS";
4
+ CHANNEL_FAILURE: "CHANNEL_FAILURE";
5
+ CHANNELS_REQUEST: "CHANNELS_REQUEST";
6
+ CHANNELS_SUCCESS: "CHANNELS_SUCCESS";
7
+ CHANNELS_FAILURE: "CHANNELS_FAILURE";
8
+ CREATE_CHANNEL_REQUEST: "CREATE_CHANNEL_REQUEST";
9
+ CREATE_CHANNEL_SUCCESS: "CREATE_CHANNEL_SUCCESS";
10
+ CREATE_CHANNEL_FAILURE: "CREATE_CHANNEL_FAILURE";
11
+ DELETE_CHANNEL_SUCCESS: "DELETE_CHANNEL_SUCCESS";
12
+ UNARCHIVED_CHANNEL_SUCCESS: "UNARCHIVED_CHANNEL_SUCCESS";
13
+ GET_CHANNELS_REQUEST: "GET_CHANNELS_REQUEST";
14
+ GET_CHANNELS_SUCCESS: "GET_CHANNELS_SUCCESS";
15
+ GET_CHANNELS_FAILURE: "GET_CHANNELS_FAILURE";
16
+ GET_ALL_CHANNELS_REQUEST: "GET_ALL_CHANNELS_REQUEST";
17
+ GET_ALL_CHANNELS_SUCCESS: "GET_ALL_CHANNELS_SUCCESS";
18
+ GET_ALL_CHANNELS_FAILURE: "GET_ALL_CHANNELS_FAILURE";
19
+ GET_CHANNELS_TIMEZONE_REQUEST: "GET_CHANNELS_TIMEZONE_REQUEST";
20
+ GET_CHANNELS_TIMEZONE_SUCCESS: "GET_CHANNELS_TIMEZONE_SUCCESS";
21
+ GET_CHANNELS_TIMEZONE_FAILURE: "GET_CHANNELS_TIMEZONE_FAILURE";
22
+ CHANNEL_STATS_REQUEST: "CHANNEL_STATS_REQUEST";
23
+ CHANNEL_STATS_SUCCESS: "CHANNEL_STATS_SUCCESS";
24
+ CHANNEL_STATS_FAILURE: "CHANNEL_STATS_FAILURE";
25
+ ADD_CHANNEL_MEMBER_REQUEST: "ADD_CHANNEL_MEMBER_REQUEST";
26
+ ADD_CHANNEL_MEMBER_SUCCESS: "ADD_CHANNEL_MEMBER_SUCCESS";
27
+ REMOVE_CHANNEL_MEMBER_SUCCESS: "REMOVE_CHANNEL_MEMBER_SUCCESS";
28
+ SELECT_CHANNEL: "SELECT_CHANNEL";
29
+ LEAVE_CHANNEL: "LEAVE_CHANNEL";
30
+ REMOVE_MEMBER_FROM_CHANNEL: "REMOVE_MEMBER_FROM_CHANNEL";
31
+ RECEIVED_CHANNEL: "RECEIVED_CHANNEL";
32
+ RECEIVED_CHANNELS: "RECEIVED_CHANNELS";
33
+ RECEIVED_ALL_CHANNELS: "RECEIVED_ALL_CHANNELS";
34
+ RECEIVED_CHANNELS_LIST: "RECEIVED_CHANNELS_LIST";
35
+ RECEIVED_MY_CHANNEL_MEMBERS: "RECEIVED_MY_CHANNEL_MEMBERS";
36
+ RECEIVED_MY_CHANNEL_MEMBER: "RECEIVED_MY_CHANNEL_MEMBER";
37
+ RECEIVED_CHANNEL_MEMBERS: "RECEIVED_CHANNEL_MEMBERS";
38
+ RECEIVED_CHANNEL_MEMBER: "RECEIVED_CHANNEL_MEMBER";
39
+ RECEIVED_CHANNEL_STATS: "RECEIVED_CHANNEL_STATS";
40
+ RECEIVED_CHANNELS_MEMBER_COUNT: "RECEIVED_CHANNELS_MEMBER_COUNT";
41
+ RECEIVED_CHANNEL_PROPS: "RECEIVED_CHANNEL_PROPS";
42
+ RECEIVED_CHANNEL_DELETED: "RECEIVED_CHANNEL_DELETED";
43
+ RECEIVED_CHANNEL_UNARCHIVED: "RECEIVED_CHANNEL_UNARCHIVED";
44
+ RECEIVED_LAST_VIEWED_AT: "RECEIVED_LAST_VIEWED_AT";
45
+ CHANNEL_MEMBER_ADDED: "CHANNEL_MEMBER_ADDED";
46
+ CHANNEL_MEMBER_REMOVED: "CHANNEL_MEMBER_REMOVED";
47
+ SET_CHANNEL_MUTED: "SET_CHANNEL_MUTED";
48
+ INCREMENT_TOTAL_MSG_COUNT: "INCREMENT_TOTAL_MSG_COUNT";
49
+ INCREMENT_UNREAD_MSG_COUNT: "INCREMENT_UNREAD_MSG_COUNT";
50
+ DECREMENT_UNREAD_MSG_COUNT: "DECREMENT_UNREAD_MSG_COUNT";
51
+ INCREMENT_UNREAD_MENTION_COUNT: "INCREMENT_UNREAD_MENTION_COUNT";
52
+ DECREMENT_UNREAD_MENTION_COUNT: "DECREMENT_UNREAD_MENTION_COUNT";
53
+ UPDATED_CHANNEL_SCHEME: "UPDATED_CHANNEL_SCHEME";
54
+ UPDATED_CHANNEL_MEMBER_SCHEME_ROLES: "UPDATED_CHANNEL_MEMBER_SCHEME_ROLES";
55
+ RECEIVED_CHANNEL_MEMBERS_MINUS_GROUP_MEMBERS: "RECEIVED_CHANNEL_MEMBERS_MINUS_GROUP_MEMBERS";
56
+ RECEIVED_CHANNEL_MODERATIONS: "RECEIVED_CHANNEL_MODERATIONS";
57
+ RECEIVED_CHANNEL_MEMBER_COUNTS_BY_GROUP: "RECEIVED_CHANNEL_MEMBER_COUNTS_BY_GROUP";
58
+ RECEIVED_CHANNEL_MEMBER_COUNTS_FROM_GROUPS_LIST: "RECEIVED_CHANNEL_MEMBER_COUNTS_FROM_GROUPS_LIST";
59
+ RECEIVED_TOTAL_CHANNEL_COUNT: "RECEIVED_TOTAL_CHANNEL_COUNT";
60
+ POST_UNREAD_SUCCESS: "POST_UNREAD_SUCCESS";
61
+ ADD_MANUALLY_UNREAD: "ADD_MANUALLY_UNREAD";
62
+ REMOVE_MANUALLY_UNREAD: "REMOVE_MANUALLY_UNREAD";
63
+ INCREMENT_PINNED_POST_COUNT: "INCREMENT_PINNED_POST_COUNT";
64
+ DECREMENT_PINNED_POST_COUNT: "DECREMENT_PINNED_POST_COUNT";
65
+ INCREMENT_FILE_COUNT: "INCREMENT_FILE_COUNT";
66
+ GM_CONVERTED_TO_CHANNEL: "GM_CONVERTED_TO_CHANNEL";
67
+ };
68
+ export default _default;
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
+ // See LICENSE.txt for license information.
4
+ var __importDefault = (this && this.__importDefault) || function (mod) {
5
+ return (mod && mod.__esModule) ? mod : { "default": mod };
6
+ };
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ const key_mirror_1 = __importDefault(require("mattermost-redux/utils/key_mirror"));
9
+ exports.default = (0, key_mirror_1.default)({
10
+ CHANNEL_REQUEST: null,
11
+ CHANNEL_SUCCESS: null,
12
+ CHANNEL_FAILURE: null,
13
+ CHANNELS_REQUEST: null,
14
+ CHANNELS_SUCCESS: null,
15
+ CHANNELS_FAILURE: null,
16
+ CREATE_CHANNEL_REQUEST: null,
17
+ CREATE_CHANNEL_SUCCESS: null,
18
+ CREATE_CHANNEL_FAILURE: null,
19
+ DELETE_CHANNEL_SUCCESS: null,
20
+ UNARCHIVED_CHANNEL_SUCCESS: null,
21
+ GET_CHANNELS_REQUEST: null,
22
+ GET_CHANNELS_SUCCESS: null,
23
+ GET_CHANNELS_FAILURE: null,
24
+ GET_ALL_CHANNELS_REQUEST: null,
25
+ GET_ALL_CHANNELS_SUCCESS: null,
26
+ GET_ALL_CHANNELS_FAILURE: null,
27
+ GET_CHANNELS_TIMEZONE_REQUEST: null,
28
+ GET_CHANNELS_TIMEZONE_SUCCESS: null,
29
+ GET_CHANNELS_TIMEZONE_FAILURE: null,
30
+ CHANNEL_STATS_REQUEST: null,
31
+ CHANNEL_STATS_SUCCESS: null,
32
+ CHANNEL_STATS_FAILURE: null,
33
+ ADD_CHANNEL_MEMBER_REQUEST: null,
34
+ ADD_CHANNEL_MEMBER_SUCCESS: null,
35
+ REMOVE_CHANNEL_MEMBER_SUCCESS: null,
36
+ SELECT_CHANNEL: null,
37
+ LEAVE_CHANNEL: null,
38
+ REMOVE_MEMBER_FROM_CHANNEL: null,
39
+ RECEIVED_CHANNEL: null,
40
+ RECEIVED_CHANNELS: null,
41
+ RECEIVED_ALL_CHANNELS: null,
42
+ RECEIVED_CHANNELS_LIST: null,
43
+ RECEIVED_MY_CHANNEL_MEMBERS: null,
44
+ RECEIVED_MY_CHANNEL_MEMBER: null,
45
+ RECEIVED_CHANNEL_MEMBERS: null,
46
+ RECEIVED_CHANNEL_MEMBER: null,
47
+ RECEIVED_CHANNEL_STATS: null,
48
+ RECEIVED_CHANNELS_MEMBER_COUNT: null,
49
+ RECEIVED_CHANNEL_PROPS: null,
50
+ RECEIVED_CHANNEL_DELETED: null,
51
+ RECEIVED_CHANNEL_UNARCHIVED: null,
52
+ RECEIVED_LAST_VIEWED_AT: null,
53
+ CHANNEL_MEMBER_ADDED: null,
54
+ CHANNEL_MEMBER_REMOVED: null,
55
+ SET_CHANNEL_MUTED: null,
56
+ INCREMENT_TOTAL_MSG_COUNT: null,
57
+ INCREMENT_UNREAD_MSG_COUNT: null,
58
+ DECREMENT_UNREAD_MSG_COUNT: null,
59
+ INCREMENT_UNREAD_MENTION_COUNT: null,
60
+ DECREMENT_UNREAD_MENTION_COUNT: null,
61
+ UPDATED_CHANNEL_SCHEME: null,
62
+ UPDATED_CHANNEL_MEMBER_SCHEME_ROLES: null,
63
+ RECEIVED_CHANNEL_MEMBERS_MINUS_GROUP_MEMBERS: null,
64
+ RECEIVED_CHANNEL_MODERATIONS: null,
65
+ RECEIVED_CHANNEL_MEMBER_COUNTS_BY_GROUP: null,
66
+ RECEIVED_CHANNEL_MEMBER_COUNTS_FROM_GROUPS_LIST: null,
67
+ RECEIVED_TOTAL_CHANNEL_COUNT: null,
68
+ POST_UNREAD_SUCCESS: null,
69
+ ADD_MANUALLY_UNREAD: null,
70
+ REMOVE_MANUALLY_UNREAD: null,
71
+ INCREMENT_PINNED_POST_COUNT: null,
72
+ DECREMENT_PINNED_POST_COUNT: null,
73
+ INCREMENT_FILE_COUNT: null,
74
+ GM_CONVERTED_TO_CHANNEL: null,
75
+ });
@@ -0,0 +1,26 @@
1
+ declare const _default: {
2
+ RECEIVED_CLOUD_CUSTOMER: "RECEIVED_CLOUD_CUSTOMER";
3
+ RECEIVED_CLOUD_PRODUCTS: "RECEIVED_CLOUD_PRODUCTS";
4
+ RECEIVED_CLOUD_SUBSCRIPTION: "RECEIVED_CLOUD_SUBSCRIPTION";
5
+ RECEIVED_CLOUD_INVOICES: "RECEIVED_CLOUD_INVOICES";
6
+ RECEIVED_CLOUD_LIMITS: "RECEIVED_CLOUD_LIMITS";
7
+ RECEIVED_MESSAGES_USAGE: "RECEIVED_MESSAGES_USAGE";
8
+ RECEIVED_FILES_USAGE: "RECEIVED_FILES_USAGE";
9
+ RECEIVED_BOARDS_USAGE: "RECEIVED_BOARDS_USAGE";
10
+ RECEIVED_TEAMS_USAGE: "RECEIVED_TEAMS_USAGE";
11
+ RECEIVED_LICENSE_SELF_SERVE_STATS: "RECEIVED_LICENSE_SELF_SERVE_STATS";
12
+ CLOUD_CUSTOMER_FAILED: "CLOUD_CUSTOMER_FAILED";
13
+ CLOUD_INVOICES_FAILED: "CLOUD_INVOICES_FAILED";
14
+ CLOUD_LIMITS_FAILED: "CLOUD_LIMITS_FAILED";
15
+ CLOUD_PRODUCTS_FAILED: "CLOUD_PRODUCTS_FAILED";
16
+ CLOUD_SUBSCRIPTION_FAILED: "CLOUD_SUBSCRIPTION_FAILED";
17
+ LICENSE_SELF_SERVE_STATS_FAILED: "LICENSE_SELF_SERVE_STATS_FAILED";
18
+ CLOUD_CUSTOMER_REQUEST: "CLOUD_CUSTOMER_REQUEST";
19
+ CLOUD_INVOICES_REQUEST: "CLOUD_INVOICES_REQUEST";
20
+ CLOUD_LIMITS_REQUEST: "CLOUD_LIMITS_REQUEST";
21
+ CLOUD_PRODUCTS_REQUEST: "CLOUD_PRODUCTS_REQUEST";
22
+ CLOUD_SUBSCRIPTION_REQUEST: "CLOUD_SUBSCRIPTION_REQUEST";
23
+ LICENSE_SELF_SERVE_STATS_REQUEST: "LICENSE_SELF_SERVE_STATS_REQUEST";
24
+ RECEIVED_SELF_HOSTED_SIGNUP_PROGRESS: "RECEIVED_SELF_HOSTED_SIGNUP_PROGRESS";
25
+ };
26
+ export default _default;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
+ // See LICENSE.txt for license information.
4
+ var __importDefault = (this && this.__importDefault) || function (mod) {
5
+ return (mod && mod.__esModule) ? mod : { "default": mod };
6
+ };
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ const key_mirror_1 = __importDefault(require("mattermost-redux/utils/key_mirror"));
9
+ exports.default = (0, key_mirror_1.default)({
10
+ RECEIVED_CLOUD_CUSTOMER: null,
11
+ RECEIVED_CLOUD_PRODUCTS: null,
12
+ RECEIVED_CLOUD_SUBSCRIPTION: null,
13
+ RECEIVED_CLOUD_INVOICES: null,
14
+ RECEIVED_CLOUD_LIMITS: null,
15
+ RECEIVED_MESSAGES_USAGE: null,
16
+ RECEIVED_FILES_USAGE: null,
17
+ RECEIVED_BOARDS_USAGE: null,
18
+ RECEIVED_TEAMS_USAGE: null,
19
+ RECEIVED_LICENSE_SELF_SERVE_STATS: null,
20
+ CLOUD_CUSTOMER_FAILED: null,
21
+ CLOUD_INVOICES_FAILED: null,
22
+ CLOUD_LIMITS_FAILED: null,
23
+ CLOUD_PRODUCTS_FAILED: null,
24
+ CLOUD_SUBSCRIPTION_FAILED: null,
25
+ LICENSE_SELF_SERVE_STATS_FAILED: null,
26
+ CLOUD_CUSTOMER_REQUEST: null,
27
+ CLOUD_INVOICES_REQUEST: null,
28
+ CLOUD_LIMITS_REQUEST: null,
29
+ CLOUD_PRODUCTS_REQUEST: null,
30
+ CLOUD_SUBSCRIPTION_REQUEST: null,
31
+ LICENSE_SELF_SERVE_STATS_REQUEST: null,
32
+ RECEIVED_SELF_HOSTED_SIGNUP_PROGRESS: null,
33
+ });
@@ -0,0 +1,11 @@
1
+ declare const _default: {
2
+ GET_USER_DRAFTS: "GET_USER_DRAFTS";
3
+ CREATE_USER_DRAFT: "CREATE_USER_DRAFT";
4
+ DELETE_USER_DRAFT: "DELETE_USER_DRAFT";
5
+ UPDATE_USER_DRAFT: "UPDATE_USER_DRAFT";
6
+ UPSERT_USER_DRAFT: "UPSERT_USER_DRAFT";
7
+ GET_DRAFTS_FAILURE: "GET_DRAFTS_FAILURE";
8
+ UPSERT_DRAFT_FAILURE: "UPSERT_DRAFT_FAILURE";
9
+ DELETE_DRAFT_FAILURE: "DELETE_DRAFT_FAILURE";
10
+ };
11
+ export default _default;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
+ // See LICENSE.txt for license information.
4
+ var __importDefault = (this && this.__importDefault) || function (mod) {
5
+ return (mod && mod.__esModule) ? mod : { "default": mod };
6
+ };
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ const key_mirror_1 = __importDefault(require("mattermost-redux/utils/key_mirror"));
9
+ exports.default = (0, key_mirror_1.default)({
10
+ GET_USER_DRAFTS: null,
11
+ CREATE_USER_DRAFT: null,
12
+ DELETE_USER_DRAFT: null,
13
+ UPDATE_USER_DRAFT: null,
14
+ UPSERT_USER_DRAFT: null,
15
+ GET_DRAFTS_FAILURE: null,
16
+ UPSERT_DRAFT_FAILURE: null,
17
+ DELETE_DRAFT_FAILURE: null,
18
+ });
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ CLEAR_CUSTOM_EMOJIS: "CLEAR_CUSTOM_EMOJIS";
3
+ RECEIVED_CUSTOM_EMOJI: "RECEIVED_CUSTOM_EMOJI";
4
+ RECEIVED_CUSTOM_EMOJIS: "RECEIVED_CUSTOM_EMOJIS";
5
+ DELETED_CUSTOM_EMOJI: "DELETED_CUSTOM_EMOJI";
6
+ CUSTOM_EMOJI_DOES_NOT_EXIST: "CUSTOM_EMOJI_DOES_NOT_EXIST";
7
+ };
8
+ export default _default;