mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
39 lines (38 loc) • 1.09 kB
JavaScript
;
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
Object.defineProperty(exports, "__esModule", { value: true });
exports.AppFieldTypes = exports.AppExpandLevels = exports.AppCallResponseTypes = exports.AppBindingPresentations = exports.AppBindingLocations = void 0;
exports.AppBindingLocations = {
POST_MENU_ITEM: '/post_menu',
CHANNEL_HEADER_ICON: '/channel_header',
APP_BAR: '/app_bar',
COMMAND: '/command',
IN_POST: '/in_post',
MARKETPLACE: '/marketplace',
};
exports.AppBindingPresentations = {
MODAL: 'modal',
};
exports.AppCallResponseTypes = {
OK: 'ok',
ERROR: 'error',
FORM: 'form',
CALL: 'call',
NAVIGATE: 'navigate',
};
exports.AppExpandLevels = {
EXPAND_DEFAULT: '',
EXPAND_NONE: 'none',
EXPAND_ALL: 'all',
EXPAND_SUMMARY: 'summary',
};
exports.AppFieldTypes = {
TEXT: 'text',
STATIC_SELECT: 'static_select',
DYNAMIC_SELECT: 'dynamic_select',
BOOL: 'bool',
USER: 'user',
CHANNEL: 'channel',
MARKDOWN: 'markdown',
};