Skip to content

Commit 9797397

Browse files
d.ts (type for ng smd & docs)
1 parent 8b0db47 commit 9797397

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

packages/devextreme-metadata/make-angular-metadata.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Ng.makeMetadata({
1313
removeMembers(/\/grids:ColumnBase.ai/),
1414
removeMembers(/\/calendar:dxCalendarOptions.todayButtonText/),
1515
removeMembers(/\/card_view:/),
16+
removeMembers(/\/chat:TextMessage.attachments/),
17+
removeMembers(/\/chat:dxChatOptions\.(fileUploaderOptions|onAttachmentDownload)/),
1618
removeMembers(/\/form:dxFormOptions\.(aiIntegration|onSmartPasting|onSmartPasted|smartPaste)/),
1719
removeMembers(/\/form:dxFormSimpleItem\.aiOptions/),
1820
removeMembers(/\/form:FormPredefinedButtonItem/),
@@ -23,7 +25,6 @@ Ng.makeMetadata({
2325
removeMembers(/\/scheduler:dxSchedulerOptions\.editing\.form/),
2426
removeMembers(/\/stepper:/),
2527
removeMembers(/\/speech_to_text:/),
26-
removeMembers(/\/chat:/),
2728
],
2829
variables: {
2930
collectionItems: [...commonSmdCollectionItems],

packages/devextreme/js/ui/chat.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,10 @@ export type MessageUpdatedEvent = EventInfo<dxChat> & {
161161
* @inherits EventInfo
162162
*/
163163
export type AttachmentDownloadEvent<TAttachment extends Attachment = Attachment> = EventInfo<dxChat> & {
164-
/** @docid _ui_chat_AttachmentDownloadEvent.attachment */
164+
/**
165+
* @docid _ui_chat_AttachmentDownloadEvent.attachment
166+
* @type Attachment
167+
*/
165168
readonly attachment?: TAttachment;
166169
};
167170

@@ -277,6 +280,7 @@ export type TextMessage<TAttachment extends Attachment = Attachment> = MessageBa
277280
/**
278281
* @docid
279282
* @public
283+
* @type Array<Attachment>
280284
*/
281285
attachments?: TAttachment[];
282286
/**

0 commit comments

Comments
 (0)