Skip to content

The open alternative to Salesforce, designed for AI.

455 B
Raw Blame
import { FRONT_COMPONENT_UI_IMPORTS } from 'twenty-shared/front-component-build';
import { FRONT_COMPONENT_CORE_API_CLIENT_IMPORT_SPECIFIER } from 'src/engine/metadata-modules/ai/ai-front-component/constants/front-component-core-api-client-import-specifier.constant';

export const FRONT_COMPONENT_ALLOWED_IMPORTS = [
  FRONT_COMPONENT_CORE_API_CLIENT_IMPORT_SPECIFIER,
  'react',
  'react-dom',
  'react/jsx-runtime',
  ...FRONT_COMPONENT_UI_IMPORTS,
];