import { type FrontComponentCommandManifest, type FrontComponentManifest, } from 'twenty-shared/application'; export type FrontComponentType = React.ComponentType; export type FrontComponentCommandConfig = Omit< FrontComponentCommandManifest, 'conditionalAvailabilityExpression' > & { conditionalAvailabilityExpression?: boolean | string; }; export type FrontComponentConfig = Omit< FrontComponentManifest, | 'sourceComponentPath' | 'builtComponentPath' | 'builtComponentChecksum' | 'componentName' | 'command' > & { component: FrontComponentType; command?: FrontComponentCommandConfig; };