Skip to content

AIIntegration: Update module export to match types (T1324402)#32976

Open
r-farkhutdinov wants to merge 1 commit intoDevExpress:26_1from
r-farkhutdinov:26_1_T1324402
Open

AIIntegration: Update module export to match types (T1324402)#32976
r-farkhutdinov wants to merge 1 commit intoDevExpress:26_1from
r-farkhutdinov:26_1_T1324402

Conversation

@r-farkhutdinov
Copy link
Contributor

No description provided.

@r-farkhutdinov r-farkhutdinov self-assigned this Mar 19, 2026
Copilot AI review requested due to automatic review settings March 19, 2026 14:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the dx.ai-integration bundle’s global export shape so it matches the TypeScript namespace layout (DevExpress.aiIntegration.AIIntegration), and aligns the jQuery demos with the new access path.

Changes:

  • Change dx.ai-integration bundle template to expose AIIntegration under DevExpress.aiIntegration.AIIntegration.
  • Update affected jQuery demos to instantiate DevExpress.aiIntegration.AIIntegration instead of DevExpress.aiIntegration.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/devextreme/build/bundle-templates/dx.ai-integration.js Adjusts global namespace/export wiring for the AIIntegration bundle.
apps/demos/Demos/TreeList/AIColumns/jQuery/index.js Updates demo to use DevExpress.aiIntegration.AIIntegration.
apps/demos/Demos/HtmlEditor/AITextEditing/jQuery/index.js Updates demo to use DevExpress.aiIntegration.AIIntegration.
apps/demos/Demos/Form/SmartPaste/jQuery/index.js Updates demo to use DevExpress.aiIntegration.AIIntegration.
apps/demos/Demos/DataGrid/AIColumns/jQuery/index.js Updates demo to use DevExpress.aiIntegration.AIIntegration.

You can also share your feedback on Copilot code review. Take the survey.

@r-farkhutdinov r-farkhutdinov marked this pull request as draft March 19, 2026 14:39
@r-farkhutdinov r-farkhutdinov marked this pull request as ready for review March 19, 2026 15:14
@r-farkhutdinov r-farkhutdinov requested review from a team as code owners March 19, 2026 15:14
Copilot AI review requested due to automatic review settings March 19, 2026 15:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns the DevExpress.aiIntegration runtime export shape with the expected typings by exposing AIIntegration under a namespace-like object, and updates tests/demos to use the new access path.

Changes:

  • Update the dx.ai-integration bundle template to export DevExpress.aiIntegration.AIIntegration.
  • Update e2e TestCafe tests to instantiate DevExpress.aiIntegration.AIIntegration.
  • Update jQuery demos to instantiate DevExpress.aiIntegration.AIIntegration.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/devextreme/build/bundle-templates/dx.ai-integration.js Changes global/module export shape to expose AIIntegration on DevExpress.aiIntegration.
e2e/testcafe-devextreme/tests/dataGrid/common/aiColumn/virtualScrolling.functional.ts Updates DataGrid e2e instantiation path to aiIntegration.AIIntegration.
e2e/testcafe-devextreme/tests/dataGrid/common/aiColumn/functional.ts Updates DataGrid e2e instantiation path to aiIntegration.AIIntegration across scenarios.
e2e/testcafe-devextreme/tests/dataGrid/common/aiColumn/adaptivity.functional.ts Updates DataGrid adaptivity e2e instantiation path to aiIntegration.AIIntegration.
e2e/testcafe-devextreme/tests/common/treeList/aiColumn/functional.ts Updates TreeList e2e instantiation path to aiIntegration.AIIntegration.
apps/demos/Demos/TreeList/AIColumns/jQuery/index.js Updates demo code to use DevExpress.aiIntegration.AIIntegration.
apps/demos/Demos/HtmlEditor/AITextEditing/jQuery/index.js Updates demo code to use DevExpress.aiIntegration.AIIntegration.
apps/demos/Demos/Form/SmartPaste/jQuery/index.js Updates demo code to use DevExpress.aiIntegration.AIIntegration.
apps/demos/Demos/DataGrid/AIColumns/jQuery/index.js Updates demo code to use DevExpress.aiIntegration.AIIntegration.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +5 to +6
DevExpress.aiIntegration = {};
module.exports = DevExpress.aiIntegration.AIIntegration = AIIntegration;
@@ -93,7 +93,7 @@ test('Get result from AI and display it in the AI column', async (t) => {
ai: {
prompt: 'first AI column',
// eslint-disable-next-line new-cap

module.exports = DevExpress.aiIntegration = AIIntegration;
DevExpress.aiIntegration = {};
module.exports = DevExpress.aiIntegration.AIIntegration = AIIntegration;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants