in packages/codegen-ui-react/lib/react-component-render-helper.ts [452:463]
export function addBindingPropertiesImports(
component: StudioComponent | StudioComponentChild,
importCollection: ImportCollection,
) {
if ('bindingProperties' in component) {
Object.entries(component.bindingProperties).forEach(([, binding]) => {
if ('bindingProperties' in binding && 'model' in binding.bindingProperties) {
importCollection.addImport(ImportSource.LOCAL_MODELS, binding.bindingProperties.model);
}
});
}
}