Skip to content

Commit 385692b

Browse files
committed
fix after rebase
1 parent 6ac3506 commit 385692b

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

packages/devextreme/js/__internal/grids/grid_core/ai_assistant/ai_assistant_controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class AIAssistantController extends Controller {
3535
private processing = false;
3636

3737
private getCustomizedResponseTitle(
38-
status: MessageStatus.Success | MessageStatus.Failure,
38+
status: MessageStatus,
3939
commandNames: string[],
4040
): string {
4141
// TODO: remove type description, it should be got from d.ts

packages/devextreme/js/__internal/grids/grid_core/ai_assistant/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export type CustomizeResponseText = (
6262

6363
// TODO: move to d.ts
6464
export type CustomizeResponseTitle = (
65-
status: MessageStatus.Success | MessageStatus.Failure,
65+
status: MessageStatus,
6666
commandNames: string[],
6767
) => string;
6868

packages/devextreme/js/__internal/grids/grid_core/ai_chat/utils.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
import {
2-
describe, expect, it,
3-
} from '@jest/globals';
1+
import { describe, expect, it } from '@jest/globals';
42
import type { Message } from '@js/ui/chat';
3+
import { MessageStatus } from '@ts/grids/grid_core/ai_assistant/const';
54

6-
import { MessageStatus } from '../ai_assistant/const';
75
import {
86
ABORTED_ITEM_EMOJI, CLASSES, ERROR_ITEM_EMOJI, SUCCESS_ITEM_EMOJI,
97
} from './const';

packages/devextreme/js/__internal/grids/grid_core/ai_chat/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Message } from '@js/ui/chat';
2+
import { MessageStatus } from '@ts/grids/grid_core/ai_assistant/const';
3+
import type { CommandStatus } from '@ts/grids/grid_core/ai_assistant/types';
24

3-
import { MessageStatus } from '../ai_assistant/const';
4-
import type { CommandStatus } from '../ai_assistant/types';
55
import {
66
ABORTED_ITEM_EMOJI, CLASSES, ERROR_ITEM_EMOJI, SUCCESS_ITEM_EMOJI,
77
} from './const';

0 commit comments

Comments
 (0)