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/apps/meteor/server/settings/userDataDownload.ts

34 lines
878 B

import { settingsRegistry } from '../../app/settings/server';
export const createUserDataSettings = () =>
settingsRegistry.addGroup('UserDataDownload', async function () {
await this.add('UserData_EnableDownload', true, {
type: 'boolean',
public: true,
i18nLabel: 'UserData_EnableDownload',
});
await this.add('UserData_FileSystemPath', '', {
type: 'string',
public: true,
i18nLabel: 'UserData_FileSystemPath',
});
await this.add('UserData_FileSystemZipPath', '', {
type: 'string',
public: true,
i18nLabel: 'UserData_FileSystemZipPath',
});
await this.add('UserData_ProcessingFrequency', 2, {
type: 'int',
public: true,
i18nLabel: 'UserData_ProcessingFrequency',
});
await this.add('UserData_MessageLimitPerRequest', 1000, {
type: 'int',
public: true,
i18nLabel: 'UserData_MessageLimitPerRequest',
});
});