import { RocketChatAssets } from '../lib/media/assets'; import type { ICachedSettings } from '../settings/CachedSettings'; export async function configureAssets(settings: ICachedSettings): Promise { settings.watchByRegex(/^Assets_/, (key, value) => RocketChatAssets.processAsset(key, value)); }