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/client/cachedStores/PublicSettingsCachedStore.ts

18 lines
470 B

import type { ISetting } from '@rocket.chat/core-typings';
import { PublicCachedStore } from '../lib/cachedStores/CachedStore';
import { PublicSettings } from '../stores';
class PublicSettingsCachedStore extends PublicCachedStore<ISetting> {
constructor() {
super({
name: 'public-settings',
eventType: 'notify-all',
store: PublicSettings.use,
});
}
}
const instance = new PublicSettingsCachedStore();
export { instance as PublicSettingsCachedStore };