File tree Expand file tree Collapse file tree 4 files changed +18
-18
lines changed
projects/stream-chat-angular/src Expand file tree Collapse file tree 4 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 1+ export interface DefaultChannelData {
2+ image ?: string ;
3+ }
4+
5+ export interface DefaultAttachmentData {
6+ /**
7+ * @deprecated Please use `image_url` instead
8+ */
9+ img_url ?: string ;
10+ /**
11+ * Will be `true` if an attachment was added using `attachmentService.addAttachment`
12+ *
13+ * This is a non-standard property, other SDKs will ignore this property
14+ */
15+ isCustomAttachment ?: boolean ;
16+ }
Original file line number Diff line number Diff line change @@ -470,20 +470,3 @@ export type GalleryAttachment = {
470470 type : 'gallery' ;
471471 images : Attachment [ ] ;
472472} ;
473-
474- export interface DefaultChannelData {
475- image ?: string ;
476- }
477-
478- export interface DefaultAttachmentData {
479- /**
480- * @deprecated Please use `image_url` instead
481- */
482- img_url ?: string ;
483- /**
484- * Will be `true` if an attachment was added using `attachmentService.addAttachment`
485- *
486- * This is a non-standard property, other SDKs will ignore this property
487- */
488- isCustomAttachment ?: boolean ;
489- }
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ export * from './lib/custom-templates.service';
5757export * from './lib/message-reactions.service' ;
5858export * from './lib/date-parser.service' ;
5959export * from './lib/types' ;
60+ export * from './lib/types-custom' ;
6061export * from './lib/message.service' ;
6162export * from './lib/message-actions.service' ;
6263export * from './lib/voice-recording/voice-recording.component' ;
Original file line number Diff line number Diff line change 11import 'stream-chat' ;
2- import { DefaultChannelData , DefaultAttachmentData } from './lib/types' ;
2+ import { DefaultChannelData , DefaultAttachmentData } from './lib/types-custom ' ;
33
44declare module 'stream-chat' {
55 interface CustomAttachmentData extends DefaultAttachmentData { }
You can’t perform that action at this time.
0 commit comments