RocketChat/Rocket.Chat

View on GitHub
apps/meteor/ee/app/canned-responses/server/index.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { License } from '@rocket.chat/license';

await License.onLicense('canned-responses', async () => {
    const { createSettings } = await import('./settings');
    await import('./permissions');
    await import('./hooks/onRemoveAgentDepartment');
    await import('./hooks/onSaveAgentDepartment');
    await import('./hooks/cannedResponses');
    await import('./methods/saveCannedResponse');
    await import('./methods/removeCannedResponse');

    await createSettings();
});