The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rocket.Chat/app/api/server/index.js

36 lines
979 B

Convert rocketchat-api to main module structure (#12510) * First wave of removal of Meteor global * Second wave of removal of Meteor global * Third wave of removal of Meteor global * Fix tests * Remove global variable SHA256 * Remove global variable WebApp * Remove global variable EJSON * Remove global variable Email * Remove global variable HTTP * Remove global variable Random * Remove global variable ReactiveDict * Remove global variable ReactiveVar * Remove global variable Accounts * Remove globals variables Match and check * Remove global variable Mongo * Remove global variable moment * Remove global variable Tracker * Remove global variable Blaze * Remove global variables FlowRouter and BlazeLayout * Add FlowRouter to eslint global in tests file * Remove global variable DDPRateLimiter * Remove global variable Session * Remove global variable UAParser * Remove global variable Promise * Remove global variable Reload * Remove global variable CryptoJS * Remove global variable Template * Remove global variable TAPi18n * Remove global variable TAPi18next * Exposing t function from rocketchat:ui package * Convert chatpal search to main module structure * Fix ESLint * Convert meteor-accounts-saml to main module structure * Convert meteor-autocomplete to main module structure * Convert meteor-timesync package to modular structure * exposing modal global variable * Convert rocketchat-2fa to main module structure * Change exposing of fireGlobalEvent function from window to package * Moved handleError function from client to rocketchat:lib package * Convert rocketchat:action-linsk package to main module structure * make ChatRoom exportable by package * Convert rocketchat-analytics to main module structure * disable eslint no-undef in fireGlobalEvent * Export processwebhookMessage from integrations package * Convert rocketchat-api to main module structure
7 years ago
import './settings';
import './helpers/composeRoomWithLastMessage';
import './helpers/deprecationWarning';
import './helpers/getLoggedInUser';
import './helpers/getPaginationItems';
import './helpers/getUserFromParams';
import './helpers/getUserInfo';
import './helpers/insertUserObject';
import './helpers/isUserFromParams';
import './helpers/parseJsonQuery';
import './helpers/requestParams';
import './default/info';
import './v1/assets';
import './v1/channels';
import './v1/chat';
import './v1/commands';
import './v1/e2e';
import './v1/emoji-custom';
import './v1/groups';
import './v1/im';
import './v1/integrations';
import './v1/import';
Convert rocketchat-api to main module structure (#12510) * First wave of removal of Meteor global * Second wave of removal of Meteor global * Third wave of removal of Meteor global * Fix tests * Remove global variable SHA256 * Remove global variable WebApp * Remove global variable EJSON * Remove global variable Email * Remove global variable HTTP * Remove global variable Random * Remove global variable ReactiveDict * Remove global variable ReactiveVar * Remove global variable Accounts * Remove globals variables Match and check * Remove global variable Mongo * Remove global variable moment * Remove global variable Tracker * Remove global variable Blaze * Remove global variables FlowRouter and BlazeLayout * Add FlowRouter to eslint global in tests file * Remove global variable DDPRateLimiter * Remove global variable Session * Remove global variable UAParser * Remove global variable Promise * Remove global variable Reload * Remove global variable CryptoJS * Remove global variable Template * Remove global variable TAPi18n * Remove global variable TAPi18next * Exposing t function from rocketchat:ui package * Convert chatpal search to main module structure * Fix ESLint * Convert meteor-accounts-saml to main module structure * Convert meteor-autocomplete to main module structure * Convert meteor-timesync package to modular structure * exposing modal global variable * Convert rocketchat-2fa to main module structure * Change exposing of fireGlobalEvent function from window to package * Moved handleError function from client to rocketchat:lib package * Convert rocketchat:action-linsk package to main module structure * make ChatRoom exportable by package * Convert rocketchat-analytics to main module structure * disable eslint no-undef in fireGlobalEvent * Export processwebhookMessage from integrations package * Convert rocketchat-api to main module structure
7 years ago
import './v1/misc';
import './v1/permissions';
import './v1/push';
import './v1/roles';
import './v1/rooms';
import './v1/settings';
import './v1/stats';
import './v1/subscriptions';
import './v1/users';
import './v1/video-conference';
import './v1/autotranslate';
export { API, APIClass, defaultRateLimiterOptions } from './api';