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

18 lines
720 B

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 { MessageService } from './message/service';
import { NPSService } from './nps/service';
import { UiKitCoreApp } from './uikit-core-app/service';
const { db } = MongoInternals.defaultRemoteCollectionDriver().mongo;
api.registerService(new Authorization(db));
api.registerService(new BannerService(db));
api.registerService(new MeteorService());
api.registerService(new MessageService(db));
api.registerService(new UiKitCoreApp());
api.registerService(new NPSService(db));