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.
- package/README.md +6 -188
- package/lib/action_types/admin.d.ts +51 -0
- package/lib/action_types/admin.js +58 -0
- package/lib/action_types/apps.d.ts +10 -0
- package/lib/action_types/apps.js +17 -0
- package/lib/action_types/bots.d.ts +5 -0
- package/lib/action_types/bots.js +12 -0
- package/lib/action_types/channel_bookmarks.d.ts +6 -0
- package/lib/action_types/channel_bookmarks.js +13 -0
- package/lib/action_types/channel_categories.d.ts +9 -0
- package/lib/action_types/channel_categories.js +16 -0
- package/lib/action_types/channels.d.ts +68 -0
- package/lib/action_types/channels.js +75 -0
- package/lib/action_types/cloud.d.ts +26 -0
- package/lib/action_types/cloud.js +33 -0
- package/lib/action_types/drafts.d.ts +11 -0
- package/lib/action_types/drafts.js +18 -0
- package/lib/action_types/emojis.d.ts +8 -0
- package/lib/action_types/emojis.js +15 -0
- package/lib/action_types/errors.d.ts +7 -0
- package/lib/action_types/errors.js +14 -0
- package/lib/action_types/files.d.ts +12 -0
- package/lib/action_types/files.js +19 -0
- package/lib/action_types/general.d.ts +22 -0
- package/lib/action_types/general.js +29 -0
- package/lib/action_types/groups.d.ts +33 -0
- package/lib/action_types/groups.js +40 -0
- package/lib/action_types/hosted_customer.d.ts +6 -0
- package/lib/action_types/hosted_customer.js +13 -0
- package/lib/action_types/index.d.ts +34 -0
- package/lib/action_types/index.js +64 -0
- package/lib/action_types/integrations.d.ts +25 -0
- package/lib/action_types/integrations.js +32 -0
- package/lib/action_types/jobs.d.ts +6 -0
- package/lib/action_types/jobs.js +13 -0
- package/lib/action_types/limits.d.ts +4 -0
- package/lib/action_types/limits.js +11 -0
- package/lib/action_types/playbooks.d.ts +4 -0
- package/lib/action_types/playbooks.js +12 -0
- package/lib/action_types/plugins.d.ts +5 -0
- package/lib/action_types/plugins.js +12 -0
- package/lib/action_types/posts.d.ts +45 -0
- package/lib/action_types/posts.js +52 -0
- package/lib/action_types/preferences.d.ts +8 -0
- package/lib/action_types/preferences.js +15 -0
- package/lib/action_types/roles.d.ts +19 -0
- package/lib/action_types/roles.js +26 -0
- package/lib/action_types/schemes.d.ts +10 -0
- package/lib/action_types/schemes.js +17 -0
- package/lib/action_types/scheudled_posts.d.ts +7 -0
- package/lib/action_types/scheudled_posts.js +14 -0
- package/lib/action_types/search.d.ts +20 -0
- package/lib/action_types/search.js +27 -0
- package/lib/action_types/teams.d.ts +41 -0
- package/lib/action_types/teams.js +48 -0
- package/lib/action_types/threads.d.ts +11 -0
- package/lib/action_types/threads.js +18 -0
- package/lib/action_types/users.d.ts +64 -0
- package/lib/action_types/users.js +71 -0
- package/lib/actions/admin.d.ts +94 -0
- package/lib/actions/admin.js +796 -0
- package/lib/actions/apps.d.ts +4 -0
- package/lib/actions/apps.js +46 -0
- package/lib/actions/boards.d.ts +2 -0
- package/lib/actions/boards.js +22 -0
- package/lib/actions/bots.d.ts +8 -0
- package/lib/actions/bots.js +81 -0
- package/lib/actions/channel_bookmarks.d.ts +7 -0
- package/lib/actions/channel_bookmarks.js +114 -0
- package/lib/actions/channel_categories.d.ts +24 -0
- package/lib/actions/channel_categories.js +404 -0
- package/lib/actions/channels.d.ts +124 -0
- package/lib/actions/channels.js +1349 -0
- package/lib/actions/cloud.d.ts +7 -0
- package/lib/actions/cloud.js +60 -0
- package/lib/actions/emojis.d.ts +16 -0
- package/lib/actions/emojis.js +222 -0
- package/lib/actions/errors.d.ts +44 -0
- package/lib/actions/errors.js +91 -0
- package/lib/actions/files.d.ts +12 -0
- package/lib/actions/files.js +63 -0
- package/lib/actions/general.d.ts +30 -0
- package/lib/actions/general.js +122 -0
- package/lib/actions/groups.d.ts +41 -0
- package/lib/actions/groups.js +434 -0
- package/lib/actions/helpers.d.ts +45 -0
- package/lib/actions/helpers.js +132 -0
- package/lib/actions/index.d.ts +22 -0
- package/lib/actions/index.js +70 -0
- package/lib/actions/integrations.d.ts +41 -0
- package/lib/actions/integrations.js +488 -0
- package/lib/actions/jobs.d.ts +24 -0
- package/lib/actions/jobs.js +60 -0
- package/lib/actions/limits.d.ts +3 -0
- package/lib/actions/limits.js +40 -0
- package/lib/actions/posts.d.ts +146 -0
- package/lib/actions/posts.js +1204 -0
- package/lib/actions/preferences.d.ts +10 -0
- package/lib/actions/preferences.js +116 -0
- package/lib/actions/roles.d.ts +13 -0
- package/lib/actions/roles.js +110 -0
- package/lib/actions/scheduled_posts.d.ts +32 -0
- package/lib/actions/scheduled_posts.js +91 -0
- package/lib/actions/schemes.d.ts +9 -0
- package/lib/actions/schemes.js +92 -0
- package/lib/actions/search.d.ts +20 -0
- package/lib/actions/search.js +235 -0
- package/lib/actions/status_profile_polling.d.ts +20 -0
- package/lib/actions/status_profile_polling.js +181 -0
- package/lib/actions/teams.d.ts +63 -0
- package/lib/actions/teams.js +668 -0
- package/lib/actions/threads.d.ts +64 -0
- package/lib/actions/threads.js +388 -0
- package/lib/actions/timezone.d.ts +2 -0
- package/lib/actions/timezone.js +28 -0
- package/lib/actions/users.d.ts +127 -0
- package/lib/actions/users.js +1303 -0
- package/lib/actions/websocket.d.ts +2 -0
- package/lib/actions/websocket.js +33 -0
- package/lib/client/index.d.ts +3 -0
- package/lib/client/index.js +10 -0
- package/lib/constants/apps.d.ts +21 -0
- package/lib/constants/apps.js +38 -0
- package/lib/constants/channel_categories.d.ts +4 -0
- package/lib/constants/channel_categories.js +11 -0
- package/lib/constants/channels.d.ts +10 -0
- package/lib/constants/channels.js +15 -0
- package/lib/constants/emoji.d.ts +4 -0
- package/lib/constants/emoji.js +7 -0
- package/lib/constants/files.d.ts +2 -0
- package/lib/constants/files.js +17 -0
- package/lib/constants/general.d.ts +77 -0
- package/lib/constants/general.js +80 -0
- package/lib/constants/index.d.ts +15 -0
- package/lib/constants/index.js +36 -0
- package/lib/constants/permissions.d.ts +263 -0
- package/lib/constants/permissions.js +379 -0
- package/lib/constants/permissions_sysconsole.d.ts +77 -0
- package/lib/constants/permissions_sysconsole.js +143 -0
- package/lib/constants/plugins.d.ts +9 -0
- package/lib/constants/plugins.js +12 -0
- package/lib/constants/posts.d.ts +74 -0
- package/lib/constants/posts.js +71 -0
- package/lib/constants/preferences.d.ts +69 -0
- package/lib/constants/preferences.js +214 -0
- package/lib/constants/request_status.d.ts +3 -0
- package/lib/constants/request_status.js +12 -0
- package/lib/constants/roles.d.ts +6 -0
- package/lib/constants/roles.js +9 -0
- package/lib/constants/schemes.d.ts +4 -0
- package/lib/constants/schemes.js +9 -0
- package/lib/constants/stats.d.ts +26 -0
- package/lib/constants/stats.js +33 -0
- package/lib/constants/teams.d.ts +6 -0
- package/lib/constants/teams.js +9 -0
- package/lib/constants/telemetry.d.ts +21 -0
- package/lib/constants/telemetry.js +36 -0
- package/lib/constants/threads.d.ts +5 -0
- package/lib/constants/threads.js +8 -0
- package/lib/constants/users.d.ts +6 -0
- package/lib/constants/users.js +9 -0
- package/lib/constants/websocket.d.ts +53 -0
- package/lib/constants/websocket.js +57 -0
- package/lib/reducers/entities/admin.d.ts +31 -0
- package/lib/reducers/entities/admin.js +617 -0
- package/lib/reducers/entities/apps.d.ts +16 -0
- package/lib/reducers/entities/apps.js +104 -0
- package/lib/reducers/entities/bots.d.ts +5 -0
- package/lib/reducers/entities/bots.js +31 -0
- package/lib/reducers/entities/channel_bookmarks.d.ts +12 -0
- package/lib/reducers/entities/channel_bookmarks.js +55 -0
- package/lib/reducers/entities/channel_categories.d.ts +11 -0
- package/lib/reducers/entities/channel_categories.js +146 -0
- package/lib/reducers/entities/channels/message_counts.d.ts +5 -0
- package/lib/reducers/entities/channels/message_counts.js +71 -0
- package/lib/reducers/entities/channels.d.ts +26 -0
- package/lib/reducers/entities/channels.js +836 -0
- package/lib/reducers/entities/cloud.d.ts +67 -0
- package/lib/reducers/entities/cloud.js +167 -0
- package/lib/reducers/entities/emojis.d.ts +9 -0
- package/lib/reducers/entities/emojis.js +101 -0
- package/lib/reducers/entities/files.d.ts +12 -0
- package/lib/reducers/entities/files.js +190 -0
- package/lib/reducers/entities/general.d.ts +11 -0
- package/lib/reducers/entities/general.js +79 -0
- package/lib/reducers/entities/groups.d.ts +8 -0
- package/lib/reducers/entities/groups.js +229 -0
- package/lib/reducers/entities/hosted_customer.d.ts +19 -0
- package/lib/reducers/entities/hosted_customer.js +52 -0
- package/lib/reducers/entities/index.d.ts +243 -0
- package/lib/reducers/entities/index.js +62 -0
- package/lib/reducers/entities/integrations.d.ts +16 -0
- package/lib/reducers/entities/integrations.js +304 -0
- package/lib/reducers/entities/jobs.d.ts +7 -0
- package/lib/reducers/entities/jobs.js +43 -0
- package/lib/reducers/entities/limits.d.ts +4 -0
- package/lib/reducers/entities/limits.js +22 -0
- package/lib/reducers/entities/posts.d.ts +47 -0
- package/lib/reducers/entities/posts.js +1308 -0
- package/lib/reducers/entities/preferences.d.ts +8 -0
- package/lib/reducers/entities/preferences.js +89 -0
- package/lib/reducers/entities/roles.d.ts +6 -0
- package/lib/reducers/entities/roles.js +55 -0
- package/lib/reducers/entities/scheduled_posts.d.ts +16 -0
- package/lib/reducers/entities/scheduled_posts.js +212 -0
- package/lib/reducers/entities/schemes.d.ts +7 -0
- package/lib/reducers/entities/schemes.js +37 -0
- package/lib/reducers/entities/search.d.ts +12 -0
- package/lib/reducers/entities/search.js +259 -0
- package/lib/reducers/entities/teams.d.ts +17 -0
- package/lib/reducers/entities/teams.js +458 -0
- package/lib/reducers/entities/threads/counts.d.ts +11 -0
- package/lib/reducers/entities/threads/counts.js +213 -0
- package/lib/reducers/entities/threads/index.d.ts +6 -0
- package/lib/reducers/entities/threads/index.js +171 -0
- package/lib/reducers/entities/threads/threadsInTeam.d.ts +12 -0
- package/lib/reducers/entities/threads/threadsInTeam.js +251 -0
- package/lib/reducers/entities/threads/types.d.ts +5 -0
- package/lib/reducers/entities/threads/types.js +4 -0
- package/lib/reducers/entities/typing.d.ts +3 -0
- package/lib/reducers/entities/typing.js +41 -0
- package/lib/reducers/entities/usage.d.ts +47 -0
- package/lib/reducers/entities/usage.js +68 -0
- package/lib/reducers/entities/users.d.ts +25 -0
- package/lib/reducers/entities/users.js +596 -0
- package/lib/reducers/errors/index.d.ts +7 -0
- package/lib/reducers/errors/index.js +31 -0
- package/lib/reducers/index.d.ts +293 -0
- package/lib/reducers/index.js +17 -0
- package/lib/reducers/requests/admin.d.ts +6 -0
- package/lib/reducers/requests/admin.js +13 -0
- package/lib/reducers/requests/channels.d.ts +9 -0
- package/lib/reducers/requests/channels.js +25 -0
- package/lib/reducers/requests/files.d.ts +7 -0
- package/lib/reducers/requests/files.js +49 -0
- package/lib/reducers/requests/general.d.ts +6 -0
- package/lib/reducers/requests/general.js +16 -0
- package/lib/reducers/requests/helpers.d.ts +4 -0
- package/lib/reducers/requests/helpers.js +37 -0
- package/lib/reducers/requests/index.d.ts +42 -0
- package/lib/reducers/requests/index.js +28 -0
- package/lib/reducers/requests/posts.d.ts +8 -0
- package/lib/reducers/requests/posts.js +24 -0
- package/lib/reducers/requests/roles.d.ts +9 -0
- package/lib/reducers/requests/roles.js +25 -0
- package/lib/reducers/requests/search.d.ts +7 -0
- package/lib/reducers/requests/search.js +23 -0
- package/lib/reducers/requests/teams.d.ts +6 -0
- package/lib/reducers/requests/teams.js +13 -0
- package/lib/reducers/requests/users.d.ts +9 -0
- package/lib/reducers/requests/users.js +48 -0
- package/lib/reducers/websocket.d.ts +32 -0
- package/lib/reducers/websocket.js +48 -0
- package/lib/selectors/create_selector/index.d.ts +1106 -0
- package/lib/selectors/create_selector/index.js +165 -0
- package/lib/selectors/entities/admin.d.ts +21 -0
- package/lib/selectors/entities/admin.js +78 -0
- package/lib/selectors/entities/apps.d.ts +13 -0
- package/lib/selectors/entities/apps.js +58 -0
- package/lib/selectors/entities/bots.d.ts +5 -0
- package/lib/selectors/entities/bots.js +22 -0
- package/lib/selectors/entities/channel_bookmarks.d.ts +4 -0
- package/lib/selectors/entities/channel_bookmarks.js +18 -0
- package/lib/selectors/entities/channel_categories.d.ts +22 -0
- package/lib/selectors/entities/channel_categories.js +343 -0
- package/lib/selectors/entities/channels.d.ts +110 -0
- package/lib/selectors/entities/channels.js +890 -0
- package/lib/selectors/entities/cloud.d.ts +13 -0
- package/lib/selectors/entities/cloud.js +59 -0
- package/lib/selectors/entities/common.d.ts +15 -0
- package/lib/selectors/entities/common.js +46 -0
- package/lib/selectors/entities/emojis.d.ts +8 -0
- package/lib/selectors/entities/emojis.js +35 -0
- package/lib/selectors/entities/files.d.ts +11 -0
- package/lib/selectors/entities/files.js +49 -0
- package/lib/selectors/entities/general.d.ts +33 -0
- package/lib/selectors/entities/general.js +102 -0
- package/lib/selectors/entities/groups.d.ts +35 -0
- package/lib/selectors/entities/groups.js +212 -0
- package/lib/selectors/entities/hosted_customer.d.ts +4 -0
- package/lib/selectors/entities/hosted_customer.js +12 -0
- package/lib/selectors/entities/i18n.d.ts +2 -0
- package/lib/selectors/entities/i18n.js +14 -0
- package/lib/selectors/entities/integrations.d.ts +19 -0
- package/lib/selectors/entities/integrations.js +64 -0
- package/lib/selectors/entities/jobs.d.ts +6 -0
- package/lib/selectors/entities/jobs.js +19 -0
- package/lib/selectors/entities/limits.d.ts +3 -0
- package/lib/selectors/entities/limits.js +8 -0
- package/lib/selectors/entities/posts.d.ts +66 -0
- package/lib/selectors/entities/posts.js +496 -0
- package/lib/selectors/entities/preferences.d.ts +69 -0
- package/lib/selectors/entities/preferences.js +223 -0
- package/lib/selectors/entities/reactions.d.ts +3 -0
- package/lib/selectors/entities/reactions.js +23 -0
- package/lib/selectors/entities/roles.d.ts +22 -0
- package/lib/selectors/entities/roles.js +156 -0
- package/lib/selectors/entities/roles_helpers.d.ts +14 -0
- package/lib/selectors/entities/roles_helpers.js +38 -0
- package/lib/selectors/entities/scheduled_posts.d.ts +11 -0
- package/lib/selectors/entities/scheduled_posts.js +58 -0
- package/lib/selectors/entities/schemes.d.ts +14 -0
- package/lib/selectors/entities/schemes.js +59 -0
- package/lib/selectors/entities/search.d.ts +4 -0
- package/lib/selectors/entities/search.js +15 -0
- package/lib/selectors/entities/teams.d.ts +41 -0
- package/lib/selectors/entities/teams.js +230 -0
- package/lib/selectors/entities/threads.d.ts +19 -0
- package/lib/selectors/entities/threads.js +98 -0
- package/lib/selectors/entities/timezone.d.ts +26 -0
- package/lib/selectors/entities/timezone.js +39 -0
- package/lib/selectors/entities/typing.d.ts +5 -0
- package/lib/selectors/entities/typing.js +24 -0
- package/lib/selectors/entities/usage.d.ts +3 -0
- package/lib/selectors/entities/usage.js +8 -0
- package/lib/selectors/entities/users.d.ts +109 -0
- package/lib/selectors/entities/users.js +514 -0
- package/lib/selectors/entities/utils.d.ts +3 -0
- package/lib/selectors/entities/utils.js +25 -0
- package/lib/selectors/errors.d.ts +2 -0
- package/lib/selectors/errors.js +8 -0
- package/lib/store/configureStore.d.ts +13 -0
- package/lib/store/configureStore.js +55 -0
- package/lib/store/helpers.d.ts +2 -0
- package/lib/store/helpers.js +35 -0
- package/lib/store/index.d.ts +2 -0
- package/lib/store/index.js +6 -0
- package/lib/store/initial_state.d.ts +3 -0
- package/lib/store/initial_state.js +323 -0
- package/lib/store/reducer_registry.d.ts +11 -0
- package/lib/store/reducer_registry.js +28 -0
- package/lib/types/actions.d.ts +36 -0
- package/lib/types/actions.js +10 -0
- package/lib/utils/apps.d.ts +4 -0
- package/lib/utils/apps.js +181 -0
- package/lib/utils/array_utils.d.ts +3 -0
- package/lib/utils/array_utils.js +45 -0
- package/lib/utils/channel_utils.d.ts +36 -0
- package/lib/utils/channel_utils.js +354 -0
- package/lib/utils/data_loader.d.ts +71 -0
- package/lib/utils/data_loader.js +164 -0
- package/lib/utils/deep_freeze.d.ts +27 -0
- package/lib/utils/deep_freeze.js +58 -0
- package/lib/utils/delayed_action.d.ts +8 -0
- package/lib/utils/delayed_action.js +28 -0
- package/lib/utils/emoji_utils.d.ts +5 -0
- package/lib/utils/emoji_utils.js +45 -0
- package/lib/utils/event_emitter.d.ts +12 -0
- package/lib/utils/event_emitter.js +51 -0
- package/lib/utils/file_utils.d.ts +9 -0
- package/lib/utils/file_utils.js +79 -0
- package/lib/utils/group_utils.d.ts +3 -0
- package/lib/utils/group_utils.js +42 -0
- package/lib/utils/helpers.d.ts +6 -0
- package/lib/utils/helpers.js +103 -0
- package/lib/utils/i18n_utils.d.ts +10 -0
- package/lib/utils/i18n_utils.js +16 -0
- package/lib/utils/integration_utils.d.ts +9 -0
- package/lib/utils/integration_utils.js +73 -0
- package/lib/utils/key_mirror.d.ts +30 -0
- package/lib/utils/key_mirror.js +44 -0
- package/lib/utils/marketplace.d.ts +3 -0
- package/lib/utils/marketplace.js +15 -0
- package/lib/utils/notify_props.d.ts +1 -0
- package/lib/utils/notify_props.js +27 -0
- package/lib/utils/post_list.d.ts +46 -0
- package/lib/utils/post_list.js +406 -0
- package/lib/utils/post_utils.d.ts +37 -0
- package/lib/utils/post_utils.js +226 -0
- package/lib/utils/preference_utils.d.ts +3 -0
- package/lib/utils/preference_utils.js +19 -0
- package/lib/utils/team_utils.d.ts +5 -0
- package/lib/utils/team_utils.js +35 -0
- package/lib/utils/theme_utils.d.ts +11 -0
- package/lib/utils/theme_utils.js +128 -0
- package/lib/utils/timezone_utils.d.ts +6 -0
- package/lib/utils/timezone_utils.js +46 -0
- package/lib/utils/user_utils.d.ts +25 -0
- package/lib/utils/user_utils.js +218 -0
- package/package.json +48 -82
- package/.github/workflows/codeql-analysis.yml +0 -43
- package/CONTRIBUTING.md +0 -5
- package/LICENSE.txt +0 -203
- package/NOTICE.txt +0 -659
- package/SECURITY.md +0 -25
- package/action_types/admin.d.ts +0 -150
- package/action_types/admin.js +0 -156
- package/action_types/admin.js.map +0 -1
- package/action_types/bots.d.ts +0 -5
- package/action_types/bots.js +0 -11
- package/action_types/bots.js.map +0 -1
- package/action_types/channel_categories.d.ts +0 -9
- package/action_types/channel_categories.js +0 -15
- package/action_types/channel_categories.js.map +0 -1
- package/action_types/channels.d.ts +0 -70
- package/action_types/channels.js +0 -76
- package/action_types/channels.js.map +0 -1
- package/action_types/cloud.d.ts +0 -8
- package/action_types/cloud.js +0 -14
- package/action_types/cloud.js.map +0 -1
- package/action_types/emojis.d.ts +0 -8
- package/action_types/emojis.js +0 -14
- package/action_types/emojis.js.map +0 -1
- package/action_types/errors.d.ts +0 -7
- package/action_types/errors.js +0 -13
- package/action_types/errors.js.map +0 -1
- package/action_types/files.d.ts +0 -10
- package/action_types/files.js +0 -16
- package/action_types/files.js.map +0 -1
- package/action_types/general.d.ts +0 -31
- package/action_types/general.js +0 -37
- package/action_types/general.js.map +0 -1
- package/action_types/gifs.d.ts +0 -26
- package/action_types/gifs.js +0 -36
- package/action_types/gifs.js.map +0 -1
- package/action_types/groups.d.ts +0 -27
- package/action_types/groups.js +0 -33
- package/action_types/groups.js.map +0 -1
- package/action_types/index.d.ts +0 -23
- package/action_types/index.js +0 -51
- package/action_types/index.js.map +0 -1
- package/action_types/integrations.d.ts +0 -19
- package/action_types/integrations.js +0 -25
- package/action_types/integrations.js.map +0 -1
- package/action_types/jobs.d.ts +0 -18
- package/action_types/jobs.js +0 -24
- package/action_types/jobs.js.map +0 -1
- package/action_types/plugins.d.ts +0 -5
- package/action_types/plugins.js +0 -11
- package/action_types/plugins.js.map +0 -1
- package/action_types/posts.d.ts +0 -42
- package/action_types/posts.js +0 -48
- package/action_types/posts.js.map +0 -1
- package/action_types/preferences.d.ts +0 -6
- package/action_types/preferences.js +0 -12
- package/action_types/preferences.js.map +0 -1
- package/action_types/roles.d.ts +0 -19
- package/action_types/roles.js +0 -25
- package/action_types/roles.js.map +0 -1
- package/action_types/schemes.d.ts +0 -10
- package/action_types/schemes.js +0 -16
- package/action_types/schemes.js.map +0 -1
- package/action_types/search.d.ts +0 -18
- package/action_types/search.js +0 -24
- package/action_types/search.js.map +0 -1
- package/action_types/teams.d.ts +0 -46
- package/action_types/teams.js +0 -52
- package/action_types/teams.js.map +0 -1
- package/action_types/threads.d.ts +0 -9
- package/action_types/threads.js +0 -15
- package/action_types/threads.js.map +0 -1
- package/action_types/users.d.ts +0 -62
- package/action_types/users.js +0 -68
- package/action_types/users.js.map +0 -1
- package/actions/admin.d.ts +0 -62
- package/actions/admin.js +0 -758
- package/actions/admin.js.map +0 -1
- package/actions/bots.d.ts +0 -9
- package/actions/bots.js +0 -85
- package/actions/bots.js.map +0 -1
- package/actions/channel_categories.d.ts +0 -31
- package/actions/channel_categories.js +0 -482
- package/actions/channel_categories.js.map +0 -1
- package/actions/channels.d.ts +0 -93
- package/actions/channels.js +0 -1920
- package/actions/channels.js.map +0 -1
- package/actions/cloud.d.ts +0 -9
- package/actions/cloud.js +0 -60
- package/actions/cloud.js.map +0 -1
- package/actions/emojis.d.ts +0 -15
- package/actions/emojis.js +0 -310
- package/actions/emojis.js.map +0 -1
- package/actions/errors.d.ts +0 -17
- package/actions/errors.js +0 -89
- package/actions/errors.js.map +0 -1
- package/actions/files.d.ts +0 -4
- package/actions/files.js +0 -99
- package/actions/files.js.map +0 -1
- package/actions/general.d.ts +0 -36
- package/actions/general.js +0 -268
- package/actions/general.js.map +0 -1
- package/actions/gifs.d.ts +0 -128
- package/actions/gifs.js +0 -402
- package/actions/gifs.js.map +0 -1
- package/actions/groups.d.ts +0 -18
- package/actions/groups.js +0 -396
- package/actions/groups.js.map +0 -1
- package/actions/helpers.d.ts +0 -40
- package/actions/helpers.js +0 -152
- package/actions/helpers.js.map +0 -1
- package/actions/index.d.ts +0 -23
- package/actions/index.js +0 -51
- package/actions/index.js.map +0 -1
- package/actions/integrations.d.ts +0 -30
- package/actions/integrations.js +0 -450
- package/actions/integrations.js.map +0 -1
- package/actions/jobs.d.ts +0 -7
- package/actions/jobs.js +0 -77
- package/actions/jobs.js.map +0 -1
- package/actions/posts.d.ts +0 -235
- package/actions/posts.js +0 -1285
- package/actions/posts.js.map +0 -1
- package/actions/preferences.d.ts +0 -12
- package/actions/preferences.js +0 -202
- package/actions/preferences.js.map +0 -1
- package/actions/roles.d.ts +0 -10
- package/actions/roles.js +0 -144
- package/actions/roles.js.map +0 -1
- package/actions/schemes.d.ts +0 -9
- package/actions/schemes.js +0 -113
- package/actions/schemes.js.map +0 -1
- package/actions/search.d.ts +0 -19
- package/actions/search.js +0 -306
- package/actions/search.js.map +0 -1
- package/actions/teams.d.ts +0 -42
- package/actions/teams.js +0 -910
- package/actions/teams.js.map +0 -1
- package/actions/threads.d.ts +0 -55
- package/actions/threads.js +0 -228
- package/actions/threads.js.map +0 -1
- package/actions/timezone.d.ts +0 -2
- package/actions/timezone.js +0 -32
- package/actions/timezone.js.map +0 -1
- package/actions/users.d.ts +0 -132
- package/actions/users.js +0 -1981
- package/actions/users.js.map +0 -1
- package/actions/websocket.d.ts +0 -2
- package/actions/websocket.js +0 -58
- package/actions/websocket.js.map +0 -1
- package/client/client4.d.ts +0 -589
- package/client/client4.js +0 -2086
- package/client/client4.js.map +0 -1
- package/client/fetch_etag.d.ts +0 -3
- package/client/fetch_etag.js +0 -34
- package/client/fetch_etag.js.map +0 -1
- package/client/index.d.ts +0 -3
- package/client/index.js +0 -13
- package/client/index.js.map +0 -1
- package/client/rudder.d.ts +0 -7
- package/client/rudder.js +0 -55
- package/client/rudder.js.map +0 -1
- package/client/telemetry.d.ts +0 -4
- package/client/telemetry.js +0 -5
- package/client/telemetry.js.map +0 -1
- package/client/websocket_client.d.ts +0 -31
- package/client/websocket_client.js +0 -205
- package/client/websocket_client.js.map +0 -1
- package/constants/channel_categories.d.ts +0 -4
- package/constants/channel_categories.js +0 -12
- package/constants/channel_categories.js.map +0 -1
- package/constants/channels.d.ts +0 -10
- package/constants/channels.js +0 -16
- package/constants/channels.js.map +0 -1
- package/constants/emoji.d.ts +0 -4
- package/constants/emoji.js +0 -8
- package/constants/emoji.js.map +0 -1
- package/constants/files.d.ts +0 -3
- package/constants/files.js +0 -18
- package/constants/files.js.map +0 -1
- package/constants/general.d.ts +0 -74
- package/constants/general.js +0 -78
- package/constants/general.js.map +0 -1
- package/constants/groups.d.ts +0 -5
- package/constants/groups.js +0 -11
- package/constants/groups.js.map +0 -1
- package/constants/index.d.ts +0 -16
- package/constants/index.js +0 -37
- package/constants/index.js.map +0 -1
- package/constants/permissions.d.ts +0 -126
- package/constants/permissions.js +0 -236
- package/constants/permissions.js.map +0 -1
- package/constants/permissions_sysconsole.d.ts +0 -1
- package/constants/permissions_sysconsole.js +0 -26
- package/constants/permissions_sysconsole.js.map +0 -1
- package/constants/plugins.d.ts +0 -9
- package/constants/plugins.js +0 -13
- package/constants/plugins.js.map +0 -1
- package/constants/posts.d.ts +0 -67
- package/constants/posts.js +0 -69
- package/constants/posts.js.map +0 -1
- package/constants/preferences.d.ts +0 -48
- package/constants/preferences.js +0 -162
- package/constants/preferences.js.map +0 -1
- package/constants/request_status.d.ts +0 -4
- package/constants/request_status.js +0 -11
- package/constants/request_status.js.map +0 -1
- package/constants/roles.d.ts +0 -6
- package/constants/roles.js +0 -10
- package/constants/roles.js.map +0 -1
- package/constants/schemes.d.ts +0 -4
- package/constants/schemes.js +0 -10
- package/constants/schemes.js.map +0 -1
- package/constants/stats.d.ts +0 -26
- package/constants/stats.js +0 -32
- package/constants/stats.js.map +0 -1
- package/constants/teams.d.ts +0 -6
- package/constants/teams.js +0 -10
- package/constants/teams.js.map +0 -1
- package/constants/threads.d.ts +0 -4
- package/constants/threads.js +0 -8
- package/constants/threads.js.map +0 -1
- package/constants/users.d.ts +0 -6
- package/constants/users.js +0 -10
- package/constants/users.js.map +0 -1
- package/constants/websocket.d.ts +0 -53
- package/constants/websocket.js +0 -58
- package/constants/websocket.js.map +0 -1
- package/mattermost.client4.js +0 -17
- package/mattermost.client4.js.map +0 -1
- package/mattermost.websocket_client.js +0 -17
- package/mattermost.websocket_client.js.map +0 -1
- package/reducers/entities/admin.d.ts +0 -26
- package/reducers/entities/admin.js +0 -649
- package/reducers/entities/admin.js.map +0 -1
- package/reducers/entities/bots.d.ts +0 -6
- package/reducers/entities/bots.js +0 -45
- package/reducers/entities/bots.js.map +0 -1
- package/reducers/entities/channel_categories.d.ts +0 -11
- package/reducers/entities/channel_categories.js +0 -135
- package/reducers/entities/channel_categories.js.map +0 -1
- package/reducers/entities/channels.d.ts +0 -20
- package/reducers/entities/channels.js +0 -682
- package/reducers/entities/channels.js.map +0 -1
- package/reducers/entities/cloud.d.ts +0 -10
- package/reducers/entities/cloud.js +0 -80
- package/reducers/entities/cloud.js.map +0 -1
- package/reducers/entities/emojis.d.ts +0 -5
- package/reducers/entities/emojis.js +0 -125
- package/reducers/entities/emojis.js.map +0 -1
- package/reducers/entities/files.d.ts +0 -11
- package/reducers/entities/files.js +0 -119
- package/reducers/entities/files.js.map +0 -1
- package/reducers/entities/general.d.ts +0 -12
- package/reducers/entities/general.js +0 -135
- package/reducers/entities/general.js.map +0 -1
- package/reducers/entities/gifs.d.ts +0 -7
- package/reducers/entities/gifs.js +0 -135
- package/reducers/entities/gifs.js.map +0 -1
- package/reducers/entities/groups.d.ts +0 -9
- package/reducers/entities/groups.js +0 -204
- package/reducers/entities/groups.js.map +0 -1
- package/reducers/entities/index.d.ts +0 -155
- package/reducers/entities/index.js +0 -51
- package/reducers/entities/index.js.map +0 -1
- package/reducers/entities/integrations.d.ts +0 -11
- package/reducers/entities/integrations.js +0 -257
- package/reducers/entities/integrations.js.map +0 -1
- package/reducers/entities/jobs.d.ts +0 -4
- package/reducers/entities/jobs.js +0 -58
- package/reducers/entities/jobs.js.map +0 -1
- package/reducers/entities/posts.d.ts +0 -38
- package/reducers/entities/posts.js +0 -1090
- package/reducers/entities/posts.js.map +0 -1
- package/reducers/entities/preferences.d.ts +0 -4
- package/reducers/entities/preferences.js +0 -87
- package/reducers/entities/preferences.js.map +0 -1
- package/reducers/entities/roles.d.ts +0 -7
- package/reducers/entities/roles.js +0 -70
- package/reducers/entities/roles.js.map +0 -1
- package/reducers/entities/schemes.d.ts +0 -4
- package/reducers/entities/schemes.js +0 -48
- package/reducers/entities/schemes.js.map +0 -1
- package/reducers/entities/search.d.ts +0 -13
- package/reducers/entities/search.js +0 -267
- package/reducers/entities/search.js.map +0 -1
- package/reducers/entities/teams.d.ts +0 -16
- package/reducers/entities/teams.js +0 -473
- package/reducers/entities/teams.js.map +0 -1
- package/reducers/entities/threads.d.ts +0 -37
- package/reducers/entities/threads.js +0 -110
- package/reducers/entities/threads.js.map +0 -1
- package/reducers/entities/typing.d.ts +0 -3
- package/reducers/entities/typing.js +0 -36
- package/reducers/entities/typing.js.map +0 -1
- package/reducers/entities/users.d.ts +0 -21
- package/reducers/entities/users.js +0 -549
- package/reducers/entities/users.js.map +0 -1
- package/reducers/errors/index.d.ts +0 -7
- package/reducers/errors/index.js +0 -34
- package/reducers/errors/index.js.map +0 -1
- package/reducers/index.d.ts +0 -176
- package/reducers/index.js +0 -16
- package/reducers/index.js.map +0 -1
- package/reducers/requests/admin.d.ts +0 -4
- package/reducers/requests/admin.js +0 -210
- package/reducers/requests/admin.js.map +0 -1
- package/reducers/requests/channels.d.ts +0 -4
- package/reducers/requests/channels.js +0 -35
- package/reducers/requests/channels.js.map +0 -1
- package/reducers/requests/files.d.ts +0 -5
- package/reducers/requests/files.js +0 -38
- package/reducers/requests/files.js.map +0 -1
- package/reducers/requests/general.d.ts +0 -4
- package/reducers/requests/general.js +0 -18
- package/reducers/requests/general.js.map +0 -1
- package/reducers/requests/helpers.d.ts +0 -4
- package/reducers/requests/helpers.js +0 -29
- package/reducers/requests/helpers.js.map +0 -1
- package/reducers/requests/index.d.ts +0 -13
- package/reducers/requests/index.js +0 -29
- package/reducers/requests/index.js.map +0 -1
- package/reducers/requests/jobs.d.ts +0 -4
- package/reducers/requests/jobs.js +0 -30
- package/reducers/requests/jobs.js.map +0 -1
- package/reducers/requests/posts.d.ts +0 -4
- package/reducers/requests/posts.js +0 -28
- package/reducers/requests/posts.js.map +0 -1
- package/reducers/requests/roles.d.ts +0 -4
- package/reducers/requests/roles.js +0 -30
- package/reducers/requests/roles.js.map +0 -1
- package/reducers/requests/search.d.ts +0 -4
- package/reducers/requests/search.js +0 -26
- package/reducers/requests/search.js.map +0 -1
- package/reducers/requests/teams.d.ts +0 -4
- package/reducers/requests/teams.js +0 -25
- package/reducers/requests/teams.js.map +0 -1
- package/reducers/requests/users.d.ts +0 -4
- package/reducers/requests/users.js +0 -70
- package/reducers/requests/users.js.map +0 -1
- package/reducers/websocket.d.ts +0 -14
- package/reducers/websocket.js +0 -28
- package/reducers/websocket.js.map +0 -1
- package/rollup.config.js +0 -47
- package/selectors/entities/admin.d.ts +0 -10
- package/selectors/entities/admin.js +0 -42
- package/selectors/entities/admin.js.map +0 -1
- package/selectors/entities/bots.d.ts +0 -6
- package/selectors/entities/bots.js +0 -23
- package/selectors/entities/bots.js.map +0 -1
- package/selectors/entities/bots.test.d.ts +0 -1
- package/selectors/entities/bots.test.js +0 -69
- package/selectors/entities/bots.test.js.map +0 -1
- package/selectors/entities/channel_categories.d.ts +0 -25
- package/selectors/entities/channel_categories.js +0 -444
- package/selectors/entities/channel_categories.js.map +0 -1
- package/selectors/entities/channels.d.ts +0 -94
- package/selectors/entities/channels.js +0 -848
- package/selectors/entities/channels.js.map +0 -1
- package/selectors/entities/common.d.ts +0 -13
- package/selectors/entities/common.js +0 -43
- package/selectors/entities/common.js.map +0 -1
- package/selectors/entities/emojis.d.ts +0 -7
- package/selectors/entities/emojis.js +0 -32
- package/selectors/entities/emojis.js.map +0 -1
- package/selectors/entities/files.d.ts +0 -4
- package/selectors/entities/files.js +0 -29
- package/selectors/entities/files.js.map +0 -1
- package/selectors/entities/general.d.ts +0 -19
- package/selectors/entities/general.js +0 -82
- package/selectors/entities/general.js.map +0 -1
- package/selectors/entities/groups.d.ts +0 -28
- package/selectors/entities/groups.js +0 -163
- package/selectors/entities/groups.js.map +0 -1
- package/selectors/entities/i18n.d.ts +0 -2
- package/selectors/entities/i18n.js +0 -17
- package/selectors/entities/i18n.js.map +0 -1
- package/selectors/entities/integrations.d.ts +0 -14
- package/selectors/entities/integrations.js +0 -43
- package/selectors/entities/integrations.js.map +0 -1
- package/selectors/entities/jobs.d.ts +0 -6
- package/selectors/entities/jobs.js +0 -21
- package/selectors/entities/jobs.js.map +0 -1
- package/selectors/entities/posts.d.ts +0 -55
- package/selectors/entities/posts.js +0 -547
- package/selectors/entities/posts.js.map +0 -1
- package/selectors/entities/preferences.d.ts +0 -28
- package/selectors/entities/preferences.js +0 -191
- package/selectors/entities/preferences.js.map +0 -1
- package/selectors/entities/roles.d.ts +0 -22
- package/selectors/entities/roles.js +0 -264
- package/selectors/entities/roles.js.map +0 -1
- package/selectors/entities/roles_helpers.d.ts +0 -12
- package/selectors/entities/roles_helpers.js +0 -54
- package/selectors/entities/roles_helpers.js.map +0 -1
- package/selectors/entities/schemes.d.ts +0 -14
- package/selectors/entities/schemes.js +0 -62
- package/selectors/entities/schemes.js.map +0 -1
- package/selectors/entities/search.d.ts +0 -4
- package/selectors/entities/search.js +0 -16
- package/selectors/entities/search.js.map +0 -1
- package/selectors/entities/teams.d.ts +0 -32
- package/selectors/entities/teams.js +0 -206
- package/selectors/entities/teams.js.map +0 -1
- package/selectors/entities/threads.d.ts +0 -13
- package/selectors/entities/threads.js +0 -54
- package/selectors/entities/threads.js.map +0 -1
- package/selectors/entities/timezone.d.ts +0 -7
- package/selectors/entities/timezone.js +0 -24
- package/selectors/entities/timezone.js.map +0 -1
- package/selectors/entities/typing.d.ts +0 -6
- package/selectors/entities/typing.js +0 -27
- package/selectors/entities/typing.js.map +0 -1
- package/selectors/entities/users.d.ts +0 -78
- package/selectors/entities/users.js +0 -423
- package/selectors/entities/users.js.map +0 -1
- package/selectors/entities/utils.d.ts +0 -3
- package/selectors/entities/utils.js +0 -31
- package/selectors/entities/utils.js.map +0 -1
- package/selectors/errors.d.ts +0 -2
- package/selectors/errors.js +0 -10
- package/selectors/errors.js.map +0 -1
- package/src/action_types/admin.ts +0 -195
- package/src/action_types/bots.ts +0 -9
- package/src/action_types/channel_categories.ts +0 -15
- package/src/action_types/channels.ts +0 -94
- package/src/action_types/cloud.ts +0 -11
- package/src/action_types/emojis.ts +0 -11
- package/src/action_types/errors.ts +0 -10
- package/src/action_types/files.ts +0 -14
- package/src/action_types/general.ts +0 -45
- package/src/action_types/gifs.ts +0 -49
- package/src/action_types/groups.ts +0 -45
- package/src/action_types/index.ts +0 -50
- package/src/action_types/integrations.ts +0 -24
- package/src/action_types/jobs.ts +0 -25
- package/src/action_types/plugins.ts +0 -8
- package/src/action_types/posts.ts +0 -55
- package/src/action_types/preferences.ts +0 -9
- package/src/action_types/roles.ts +0 -27
- package/src/action_types/schemes.ts +0 -19
- package/src/action_types/search.ts +0 -23
- package/src/action_types/teams.ts +0 -59
- package/src/action_types/threads.ts +0 -12
- package/src/action_types/users.ts +0 -73
- package/src/actions/admin.test.js +0 -1271
- package/src/actions/admin.ts +0 -653
- package/src/actions/bots.test.js +0 -152
- package/src/actions/bots.ts +0 -84
- package/src/actions/channel_categories.test.js +0 -1349
- package/src/actions/channel_categories.ts +0 -469
- package/src/actions/channels.test.js +0 -2628
- package/src/actions/channels.ts +0 -1602
- package/src/actions/cloud.ts +0 -60
- package/src/actions/emojis.test.js +0 -411
- package/src/actions/emojis.ts +0 -250
- package/src/actions/errors.test.js +0 -63
- package/src/actions/errors.ts +0 -75
- package/src/actions/files.test.js +0 -123
- package/src/actions/files.ts +0 -87
- package/src/actions/general.test.js +0 -189
- package/src/actions/general.ts +0 -217
- package/src/actions/gifs.ts +0 -422
- package/src/actions/groups.test.js +0 -878
- package/src/actions/groups.ts +0 -305
- package/src/actions/helpers.test.js +0 -129
- package/src/actions/helpers.ts +0 -151
- package/src/actions/index.ts +0 -51
- package/src/actions/integrations.test.js +0 -775
- package/src/actions/integrations.ts +0 -383
- package/src/actions/jobs.test.js +0 -145
- package/src/actions/jobs.ts +0 -72
- package/src/actions/posts.test.js +0 -1816
- package/src/actions/posts.ts +0 -1223
- package/src/actions/preferences.test.js +0 -316
- package/src/actions/preferences.ts +0 -177
- package/src/actions/roles.test.js +0 -135
- package/src/actions/roles.ts +0 -109
- package/src/actions/schemes.test.js +0 -104
- package/src/actions/schemes.ts +0 -96
- package/src/actions/search.test.js +0 -137
- package/src/actions/search.ts +0 -255
- package/src/actions/teams.test.js +0 -790
- package/src/actions/teams.ts +0 -762
- package/src/actions/threads.test.js +0 -139
- package/src/actions/threads.ts +0 -178
- package/src/actions/timezone.ts +0 -28
- package/src/actions/users.test.js +0 -1474
- package/src/actions/users.ts +0 -1579
- package/src/actions/websocket.ts +0 -37
- package/src/client/client4.test.js +0 -97
- package/src/client/client4.ts +0 -3656
- package/src/client/fetch_etag.ts +0 -40
- package/src/client/index.ts +0 -13
- package/src/client/rudder.ts +0 -57
- package/src/client/telemetry.ts +0 -7
- package/src/client/websocket_client.ts +0 -255
- package/src/constants/channel_categories.ts +0 -11
- package/src/constants/channels.ts +0 -14
- package/src/constants/emoji.ts +0 -5
- package/src/constants/files.ts +0 -19
- package/src/constants/general.ts +0 -75
- package/src/constants/groups.ts +0 -9
- package/src/constants/index.ts +0 -20
- package/src/constants/permissions.ts +0 -239
- package/src/constants/permissions_sysconsole.ts +0 -22
- package/src/constants/plugins.ts +0 -10
- package/src/constants/posts.ts +0 -70
- package/src/constants/preferences.ts +0 -166
- package/src/constants/request_status.ts +0 -14
- package/src/constants/roles.ts +0 -8
- package/src/constants/schemes.ts +0 -6
- package/src/constants/stats.ts +0 -31
- package/src/constants/teams.ts +0 -7
- package/src/constants/threads.ts +0 -6
- package/src/constants/users.ts +0 -7
- package/src/constants/websocket.ts +0 -55
- package/src/reducers/entities/admin.test.js +0 -854
- package/src/reducers/entities/admin.ts +0 -636
- package/src/reducers/entities/bots.ts +0 -34
- package/src/reducers/entities/channel_categories.test.js +0 -80
- package/src/reducers/entities/channel_categories.ts +0 -151
- package/src/reducers/entities/channels.test.js +0 -948
- package/src/reducers/entities/channels.ts +0 -822
- package/src/reducers/entities/cloud.ts +0 -96
- package/src/reducers/entities/emojis.test.js +0 -259
- package/src/reducers/entities/emojis.ts +0 -112
- package/src/reducers/entities/files.test.js +0 -496
- package/src/reducers/entities/files.ts +0 -147
- package/src/reducers/entities/general.ts +0 -137
- package/src/reducers/entities/gifs.ts +0 -250
- package/src/reducers/entities/groups.ts +0 -203
- package/src/reducers/entities/index.ts +0 -50
- package/src/reducers/entities/integrations.ts +0 -237
- package/src/reducers/entities/jobs.ts +0 -49
- package/src/reducers/entities/posts.test.js +0 -4084
- package/src/reducers/entities/posts.ts +0 -1329
- package/src/reducers/entities/preferences.ts +0 -68
- package/src/reducers/entities/roles.ts +0 -65
- package/src/reducers/entities/schemes.ts +0 -47
- package/src/reducers/entities/search.test.js +0 -288
- package/src/reducers/entities/search.ts +0 -313
- package/src/reducers/entities/teams.test.js +0 -110
- package/src/reducers/entities/teams.ts +0 -483
- package/src/reducers/entities/threads.test.js +0 -106
- package/src/reducers/entities/threads.ts +0 -138
- package/src/reducers/entities/typing.test.js +0 -292
- package/src/reducers/entities/typing.ts +0 -60
- package/src/reducers/entities/users.test.js +0 -581
- package/src/reducers/entities/users.ts +0 -637
- package/src/reducers/errors/index.ts +0 -32
- package/src/reducers/index.ts +0 -13
- package/src/reducers/requests/admin.ts +0 -452
- package/src/reducers/requests/channels.ts +0 -67
- package/src/reducers/requests/files.ts +0 -69
- package/src/reducers/requests/general.ts +0 -27
- package/src/reducers/requests/helpers.ts +0 -42
- package/src/reducers/requests/index.ts +0 -28
- package/src/reducers/requests/jobs.ts +0 -56
- package/src/reducers/requests/posts.ts +0 -47
- package/src/reducers/requests/roles.ts +0 -56
- package/src/reducers/requests/search.ts +0 -42
- package/src/reducers/requests/teams.ts +0 -45
- package/src/reducers/requests/users.ts +0 -95
- package/src/reducers/websocket.test.js +0 -102
- package/src/reducers/websocket.ts +0 -35
- package/src/selectors/entities/admin.ts +0 -40
- package/src/selectors/entities/bots.test.ts +0 -71
- package/src/selectors/entities/bots.ts +0 -30
- package/src/selectors/entities/channel_categories.test.js +0 -1593
- package/src/selectors/entities/channel_categories.ts +0 -554
- package/src/selectors/entities/channels.test.js +0 -3731
- package/src/selectors/entities/channels.ts +0 -1327
- package/src/selectors/entities/common.ts +0 -52
- package/src/selectors/entities/emojis.test.js +0 -93
- package/src/selectors/entities/emojis.ts +0 -57
- package/src/selectors/entities/files.ts +0 -40
- package/src/selectors/entities/general.test.js +0 -401
- package/src/selectors/entities/general.ts +0 -106
- package/src/selectors/entities/groups.test.js +0 -203
- package/src/selectors/entities/groups.ts +0 -231
- package/src/selectors/entities/i18n.test.js +0 -70
- package/src/selectors/entities/i18n.ts +0 -18
- package/src/selectors/entities/integrations.test.js +0 -57
- package/src/selectors/entities/integrations.ts +0 -62
- package/src/selectors/entities/jobs.ts +0 -25
- package/src/selectors/entities/posts.test.js +0 -2481
- package/src/selectors/entities/posts.ts +0 -704
- package/src/selectors/entities/preferences.test.js +0 -823
- package/src/selectors/entities/preferences.ts +0 -265
- package/src/selectors/entities/roles.test.js +0 -228
- package/src/selectors/entities/roles.ts +0 -209
- package/src/selectors/entities/roles_helpers.ts +0 -56
- package/src/selectors/entities/schemes.test.js +0 -81
- package/src/selectors/entities/schemes.ts +0 -85
- package/src/selectors/entities/search.test.js +0 -68
- package/src/selectors/entities/search.ts +0 -27
- package/src/selectors/entities/teams.test.js +0 -566
- package/src/selectors/entities/teams.ts +0 -297
- package/src/selectors/entities/threads.test.js +0 -81
- package/src/selectors/entities/threads.ts +0 -87
- package/src/selectors/entities/timezone.ts +0 -26
- package/src/selectors/entities/typing.ts +0 -50
- package/src/selectors/entities/users.test.js +0 -814
- package/src/selectors/entities/users.ts +0 -642
- package/src/selectors/entities/utils.test.js +0 -76
- package/src/selectors/entities/utils.ts +0 -46
- package/src/selectors/errors.ts +0 -8
- package/src/store/configureStore.dev.ts +0 -100
- package/src/store/configureStore.prod.ts +0 -57
- package/src/store/helpers.ts +0 -47
- package/src/store/index.ts +0 -6
- package/src/store/initial_state.ts +0 -456
- package/src/store/middleware.ts +0 -39
- package/src/store/reducer_registry.test.js +0 -33
- package/src/store/reducer_registry.ts +0 -33
- package/src/types/actions.ts +0 -58
- package/src/types/admin.ts +0 -49
- package/src/types/audits.ts +0 -12
- package/src/types/autocomplete.ts +0 -20
- package/src/types/bots.ts +0 -20
- package/src/types/channel_categories.ts +0 -37
- package/src/types/channels.ts +0 -147
- package/src/types/client4.ts +0 -41
- package/src/types/cloud.ts +0 -115
- package/src/types/compliance.ts +0 -16
- package/src/types/config.ts +0 -839
- package/src/types/emojis.ts +0 -37
- package/src/types/errors.ts +0 -15
- package/src/types/files.ts +0 -31
- package/src/types/general.ts +0 -18
- package/src/types/groups.ts +0 -127
- package/src/types/index.ts +0 -60
- package/src/types/integration_actions.ts +0 -30
- package/src/types/integrations.ts +0 -163
- package/src/types/jobs.ts +0 -23
- package/src/types/message_attachments.ts +0 -30
- package/src/types/mfa.ts +0 -7
- package/src/types/module.d.ts +0 -9
- package/src/types/plugins.ts +0 -136
- package/src/types/posts.ts +0 -146
- package/src/types/preferences.ts +0 -42
- package/src/types/product_notices.ts +0 -37
- package/src/types/reactions.ts +0 -8
- package/src/types/requests.ts +0 -118
- package/src/types/roles.ts +0 -16
- package/src/types/saml.ts +0 -14
- package/src/types/schemes.ts +0 -26
- package/src/types/search.ts +0 -33
- package/src/types/sessions.ts +0 -19
- package/src/types/store.ts +0 -85
- package/src/types/teams.ts +0 -87
- package/src/types/terms_of_service.ts +0 -9
- package/src/types/threads.ts +0 -37
- package/src/types/typing.ts +0 -7
- package/src/types/users.ts +0 -133
- package/src/types/utilities.ts +0 -30
- package/src/types/websocket.ts +0 -22
- package/src/utils/array_utils.test.ts +0 -80
- package/src/utils/array_utils.ts +0 -51
- package/src/utils/channel_utils.test.js +0 -322
- package/src/utils/channel_utils.ts +0 -611
- package/src/utils/deep_freeze.ts +0 -67
- package/src/utils/delayed_action.ts +0 -33
- package/src/utils/emoji_utils.test.js +0 -82
- package/src/utils/emoji_utils.ts +0 -56
- package/src/utils/event_emitter.ts +0 -64
- package/src/utils/file_utils.test.js +0 -62
- package/src/utils/file_utils.ts +0 -101
- package/src/utils/gfycat_sdk.ts +0 -24
- package/src/utils/group_utils.test.ts +0 -92
- package/src/utils/group_utils.ts +0 -31
- package/src/utils/helpers.test.js +0 -114
- package/src/utils/helpers.ts +0 -127
- package/src/utils/i18n_utils.test.js +0 -25
- package/src/utils/i18n_utils.ts +0 -18
- package/src/utils/integration_utils.test.js +0 -77
- package/src/utils/integration_utils.ts +0 -87
- package/src/utils/key_mirror.ts +0 -44
- package/src/utils/notify_props.test.js +0 -31
- package/src/utils/notify_props.ts +0 -29
- package/src/utils/post_list.test.js +0 -1702
- package/src/utils/post_list.ts +0 -435
- package/src/utils/post_utils.test.js +0 -562
- package/src/utils/post_utils.ts +0 -230
- package/src/utils/preference_utils.ts +0 -28
- package/src/utils/sentry.test.js +0 -41
- package/src/utils/sentry.ts +0 -51
- package/src/utils/team_utils.ts +0 -23
- package/src/utils/theme_utils.test.js +0 -89
- package/src/utils/theme_utils.ts +0 -115
- package/src/utils/timezone_utils.ts +0 -34
- package/src/utils/user_utils.test.js +0 -323
- package/src/utils/user_utils.ts +0 -236
- package/store/configureStore.dev.d.ts +0 -13
- package/store/configureStore.dev.js +0 -85
- package/store/configureStore.dev.js.map +0 -1
- package/store/configureStore.prod.d.ts +0 -13
- package/store/configureStore.prod.js +0 -45
- package/store/configureStore.prod.js.map +0 -1
- package/store/helpers.d.ts +0 -6
- package/store/helpers.js +0 -48
- package/store/helpers.js.map +0 -1
- package/store/index.d.ts +0 -2
- package/store/index.js +0 -8
- package/store/index.js.map +0 -1
- package/store/initial_state.d.ts +0 -3
- package/store/initial_state.js +0 -456
- package/store/initial_state.js.map +0 -1
- package/store/middleware.d.ts +0 -2
- package/store/middleware.js +0 -36
- package/store/middleware.js.map +0 -1
- package/store/reducer_registry.d.ts +0 -14
- package/store/reducer_registry.js +0 -34
- package/store/reducer_registry.js.map +0 -1
- package/tsconfig.json +0 -85
- package/types/actions.d.ts +0 -43
- package/types/actions.js +0 -19
- package/types/actions.js.map +0 -1
- package/types/admin.d.ts +0 -42
- package/types/admin.js +0 -5
- package/types/admin.js.map +0 -1
- package/types/audits.d.ts +0 -9
- package/types/audits.js +0 -5
- package/types/audits.js.map +0 -1
- package/types/autocomplete.d.ts +0 -12
- package/types/autocomplete.js +0 -5
- package/types/autocomplete.js.map +0 -1
- package/types/bots.d.ts +0 -15
- package/types/bots.js +0 -5
- package/types/bots.js.map +0 -1
- package/types/channel_categories.d.ts +0 -29
- package/types/channel_categories.js +0 -13
- package/types/channel_categories.js.map +0 -1
- package/types/channels.d.ts +0 -129
- package/types/channels.js +0 -5
- package/types/channels.js.map +0 -1
- package/types/client4.d.ts +0 -36
- package/types/client4.js +0 -5
- package/types/client4.js.map +0 -1
- package/types/cloud.d.ts +0 -95
- package/types/cloud.js +0 -5
- package/types/cloud.js.map +0 -1
- package/types/compliance.d.ts +0 -13
- package/types/compliance.js +0 -5
- package/types/compliance.js.map +0 -1
- package/types/config.d.ts +0 -792
- package/types/config.js +0 -5
- package/types/config.js.map +0 -1
- package/types/emojis.d.ts +0 -23
- package/types/emojis.js +0 -5
- package/types/emojis.js.map +0 -1
- package/types/errors.d.ts +0 -12
- package/types/errors.js +0 -5
- package/types/errors.js.map +0 -1
- package/types/files.d.ts +0 -26
- package/types/files.js +0 -5
- package/types/files.js.map +0 -1
- package/types/general.d.ts +0 -13
- package/types/general.js +0 -5
- package/types/general.js.map +0 -1
- package/types/groups.d.ts +0 -104
- package/types/groups.js +0 -5
- package/types/groups.js.map +0 -1
- package/types/index.d.ts +0 -28
- package/types/index.js +0 -61
- package/types/index.js.map +0 -1
- package/types/integration_actions.d.ts +0 -24
- package/types/integration_actions.js +0 -5
- package/types/integration_actions.js.map +0 -1
- package/types/integrations.d.ts +0 -148
- package/types/integrations.js +0 -5
- package/types/integrations.js.map +0 -1
- package/types/jobs.d.ts +0 -21
- package/types/jobs.js +0 -3
- package/types/jobs.js.map +0 -1
- package/types/message_attachments.d.ts +0 -25
- package/types/message_attachments.js +0 -5
- package/types/message_attachments.js.map +0 -1
- package/types/mfa.d.ts +0 -4
- package/types/mfa.js +0 -5
- package/types/mfa.js.map +0 -1
- package/types/plugins.d.ts +0 -119
- package/types/plugins.js +0 -23
- package/types/plugins.js.map +0 -1
- package/types/posts.d.ts +0 -112
- package/types/posts.js +0 -5
- package/types/posts.js.map +0 -1
- package/types/preferences.d.ts +0 -37
- package/types/preferences.js +0 -5
- package/types/preferences.js.map +0 -1
- package/types/product_notices.d.ts +0 -26
- package/types/product_notices.js +0 -10
- package/types/product_notices.js.map +0 -1
- package/types/reactions.d.ts +0 -6
- package/types/reactions.js +0 -3
- package/types/reactions.js.map +0 -1
- package/types/requests.d.ts +0 -103
- package/types/requests.js +0 -5
- package/types/requests.js.map +0 -1
- package/types/roles.d.ts +0 -13
- package/types/roles.js +0 -3
- package/types/roles.js.map +0 -1
- package/types/saml.d.ts +0 -10
- package/types/saml.js +0 -5
- package/types/saml.js.map +0 -1
- package/types/schemes.d.ts +0 -24
- package/types/schemes.js +0 -3
- package/types/schemes.js.map +0 -1
- package/types/search.d.ts +0 -27
- package/types/search.js +0 -5
- package/types/search.js.map +0 -1
- package/types/sessions.d.ts +0 -15
- package/types/sessions.js +0 -5
- package/types/sessions.js.map +0 -1
- package/types/store.d.ts +0 -75
- package/types/store.js +0 -5
- package/types/store.js.map +0 -1
- package/types/teams.d.ts +0 -73
- package/types/teams.js +0 -5
- package/types/teams.js.map +0 -1
- package/types/terms_of_service.d.ts +0 -6
- package/types/terms_of_service.js +0 -5
- package/types/terms_of_service.js.map +0 -1
- package/types/threads.d.ts +0 -34
- package/types/threads.js +0 -3
- package/types/threads.js.map +0 -1
- package/types/typing.d.ts +0 -5
- package/types/typing.js +0 -3
- package/types/typing.js.map +0 -1
- package/types/users.d.ts +0 -118
- package/types/users.js +0 -5
- package/types/users.js.map +0 -1
- package/types/utilities.d.ts +0 -53
- package/types/utilities.js +0 -3
- package/types/utilities.js.map +0 -1
- package/types/websocket.d.ts +0 -17
- package/types/websocket.js +0 -5
- package/types/websocket.js.map +0 -1
- package/utils/array_utils.d.ts +0 -3
- package/utils/array_utils.js +0 -48
- package/utils/array_utils.js.map +0 -1
- package/utils/array_utils.test.d.ts +0 -1
- package/utils/array_utils.test.js +0 -68
- package/utils/array_utils.test.js.map +0 -1
- package/utils/channel_utils.d.ts +0 -48
- package/utils/channel_utils.js +0 -480
- package/utils/channel_utils.js.map +0 -1
- package/utils/deep_freeze.d.ts +0 -27
- package/utils/deep_freeze.js +0 -59
- package/utils/deep_freeze.js.map +0 -1
- package/utils/delayed_action.d.ts +0 -9
- package/utils/delayed_action.js +0 -29
- package/utils/delayed_action.js.map +0 -1
- package/utils/emoji_utils.d.ts +0 -5
- package/utils/emoji_utils.js +0 -51
- package/utils/emoji_utils.js.map +0 -1
- package/utils/event_emitter.d.ts +0 -12
- package/utils/event_emitter.js +0 -57
- package/utils/event_emitter.js.map +0 -1
- package/utils/file_utils.d.ts +0 -9
- package/utils/file_utils.js +0 -98
- package/utils/file_utils.js.map +0 -1
- package/utils/gfycat_sdk.d.ts +0 -1
- package/utils/gfycat_sdk.js +0 -26
- package/utils/gfycat_sdk.js.map +0 -1
- package/utils/group_utils.d.ts +0 -2
- package/utils/group_utils.js +0 -30
- package/utils/group_utils.js.map +0 -1
- package/utils/group_utils.test.d.ts +0 -1
- package/utils/group_utils.test.js +0 -83
- package/utils/group_utils.test.js.map +0 -1
- package/utils/helpers.d.ts +0 -9
- package/utils/helpers.js +0 -118
- package/utils/helpers.js.map +0 -1
- package/utils/i18n_utils.d.ts +0 -4
- package/utils/i18n_utils.js +0 -18
- package/utils/i18n_utils.js.map +0 -1
- package/utils/integration_utils.d.ts +0 -11
- package/utils/integration_utils.js +0 -87
- package/utils/integration_utils.js.map +0 -1
- package/utils/key_mirror.d.ts +0 -30
- package/utils/key_mirror.js +0 -45
- package/utils/key_mirror.js.map +0 -1
- package/utils/notify_props.d.ts +0 -1
- package/utils/notify_props.js +0 -29
- package/utils/notify_props.js.map +0 -1
- package/utils/post_list.d.ts +0 -76
- package/utils/post_list.js +0 -375
- package/utils/post_list.js.map +0 -1
- package/utils/post_utils.d.ts +0 -32
- package/utils/post_utils.js +0 -221
- package/utils/post_utils.js.map +0 -1
- package/utils/preference_utils.d.ts +0 -4
- package/utils/preference_utils.js +0 -27
- package/utils/preference_utils.js.map +0 -1
- package/utils/sentry.d.ts +0 -1
- package/utils/sentry.js +0 -49
- package/utils/sentry.js.map +0 -1
- package/utils/team_utils.d.ts +0 -4
- package/utils/team_utils.js +0 -22
- package/utils/team_utils.js.map +0 -1
- package/utils/theme_utils.d.ts +0 -11
- package/utils/theme_utils.js +0 -83
- package/utils/theme_utils.js.map +0 -1
- package/utils/timezone_utils.d.ts +0 -3
- package/utils/timezone_utils.js +0 -29
- package/utils/timezone_utils.js.map +0 -1
- package/utils/user_utils.d.ts +0 -25
- package/utils/user_utils.js +0 -218
- package/utils/user_utils.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,193 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# mattermost-redux
|
|
2
2
|
|
|
3
|
-
|
|
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
|
-
|
|
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
|
-
|
|
7
|
+
## Installation
|
|
8
8
|
|
|
9
|
-
|
|
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,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,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;
|