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/server/services/startup.ts

26 lines
1.1 KiB

import { MongoInternals } from 'meteor/mongo';
import { api } from '../sdk/api';
import { Authorization } from './authorization/service';
import { BannerService } from './banner/service';
import { MeteorService } from './meteor/service';
import { NPSService } from './nps/service';
import { RoomService } from './room/service';
import { TeamService } from './team/service';
import { UiKitCoreApp } from './uikit-core-app/service';
import { MediaService } from './image/service';
import { AnalyticsService } from './analytics/service';
import { LDAPService } from './ldap/service';
const { db } = MongoInternals.defaultRemoteCollectionDriver().mongo;
api.registerService(new Authorization(db));
api.registerService(new BannerService(db));
api.registerService(new MeteorService());
api.registerService(new UiKitCoreApp());
api.registerService(new NPSService(db));
api.registerService(new RoomService(db));
api.registerService(new TeamService(db));
api.registerService(new MediaService());
api.registerService(new AnalyticsService(db));
api.registerService(new LDAPService());