Skip to content

Commit 35ac9ea

Browse files
author
Ruslan Farkhutdinov
committed
AIIntegration: Update module export to match types (T1324402)
1 parent 06ce33d commit 35ac9ea

5 files changed

Lines changed: 6 additions & 5 deletions

File tree

apps/demos/Demos/DataGrid/AIColumns/jQuery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $(() => {
4646
});
4747
}
4848

49-
const aiIntegration = new DevExpress.aiIntegration({
49+
const aiIntegration = new DevExpress.aiIntegration.AIIntegration({
5050
sendRequest({ prompt }) {
5151
const isValidRequest = JSON.stringify(prompt.user).length < 5000;
5252
if (!isValidRequest) {

apps/demos/Demos/Form/SmartPaste/jQuery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $(() => {
2121
return result;
2222
}
2323

24-
const aiIntegration = new DevExpress.aiIntegration({
24+
const aiIntegration = new DevExpress.aiIntegration.AIIntegration({
2525
sendRequest({ prompt }) {
2626
const controller = new AbortController();
2727
const signal = controller.signal;

apps/demos/Demos/HtmlEditor/AITextEditing/jQuery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $(() => {
2121
return result;
2222
}
2323

24-
const aiIntegration = new DevExpress.aiIntegration({
24+
const aiIntegration = new DevExpress.aiIntegration.AIIntegration({
2525
sendRequest({ prompt }) {
2626
const controller = new AbortController();
2727
const signal = controller.signal;

apps/demos/Demos/TreeList/AIColumns/jQuery/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $(() => {
4646
});
4747
}
4848

49-
const aiIntegration = new DevExpress.aiIntegration({
49+
const aiIntegration = new DevExpress.aiIntegration.AIIntegration({
5050
sendRequest({ prompt }) {
5151
const isValidRequest = JSON.stringify(prompt.user).length < 5000;
5252
if (!isValidRequest) {

packages/devextreme/build/bundle-templates/dx.ai-integration.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
/* eslint-disable import/no-commonjs */
33
import { AIIntegration } from '../common/ai-integration';
44

5-
module.exports = DevExpress.aiIntegration = AIIntegration;
5+
DevExpress.aiIntegration = {};
6+
module.exports = DevExpress.aiIntegration.AIIntegration = AIIntegration;

0 commit comments

Comments
 (0)