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/ee/app/settings/server/settings.internalService.ts

17 lines
636 B

import { ServiceClass } from '../../../../server/sdk/types/ServiceClass';
import { api } from '../../../../server/sdk/api';
import { IEnterpriseSettings } from '../../../../server/sdk/types/IEnterpriseSettings';
import { changeSettingValue } from './settings';
import { ISetting } from '../../../../definition/ISetting';
class EnterpriseSettings extends ServiceClass implements IEnterpriseSettings {
protected name = 'ee-settings';
protected internal = true;
changeSettingValue(record: ISetting): undefined | { value: ISetting['value'] } {
return changeSettingValue(record);
}
}
api.registerService(new EnterpriseSettings());