@yonus_amire01/chat 2.0.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat.css +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.mjs +6853 -77707
- package/dist/types/app/components/call/CallMemberDisplay.vue.d.ts +1 -1
- package/dist/types/app/components/call/CallMemberDisplay.vue.d.ts.map +1 -1
- package/dist/types/app/components/call/CallPageOverlay.vue.d.ts +1 -1
- package/dist/types/app/components/call/CallPageOverlay.vue.d.ts.map +1 -1
- package/dist/types/app/components/call/paint-board/BrushSizeSlider.vue.d.ts +1 -1
- package/dist/types/app/components/call/paint-board/BrushSizeSlider.vue.d.ts.map +1 -1
- package/dist/types/app/components/chat/ChatBubble.vue.d.ts +1 -1
- package/dist/types/app/components/chat/ChatBubble.vue.d.ts.map +1 -1
- package/dist/types/app/components/chat/ChatInput.vue.d.ts.map +1 -1
- package/dist/types/app/components/chat/ChatMessages.vue.d.ts +1 -1
- package/dist/types/app/components/chat/ChatMessages.vue.d.ts.map +1 -1
- package/dist/types/app/components/chat/ChatPageBar.vue.d.ts +1 -1
- package/dist/types/app/components/chat/ChatPageBar.vue.d.ts.map +1 -1
- package/dist/types/app/components/chat/ChatProfileOverview.vue.d.ts +1 -1
- package/dist/types/app/components/chat/ChatProfileOverview.vue.d.ts.map +1 -1
- package/dist/types/app/components/chat/chat-bubbles/BubbleOptions.vue.d.ts +1 -1
- package/dist/types/app/components/chat/chat-bubbles/BubbleOptions.vue.d.ts.map +1 -1
- package/dist/types/app/components/chat/chat-bubbles/FileDisplay.vue.d.ts.map +1 -1
- package/dist/types/app/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts.map +1 -1
- package/dist/types/app/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts.map +1 -1
- package/dist/types/app/components/chat/chat-input/PermissionPopup.vue.d.ts +2 -2
- package/dist/types/app/components/chat/contact/ChatContactDisplay.vue.d.ts +1 -1
- package/dist/types/app/components/chat/contact/ChatContactDisplay.vue.d.ts.map +1 -1
- package/dist/types/app/components/chat/contact/ContactAvatar.vue.d.ts +1 -1
- package/dist/types/app/components/chat/contact/ContactAvatar.vue.d.ts.map +1 -1
- package/dist/types/app/components/chat/profile/FileDisplay.vue.d.ts.map +1 -1
- package/dist/types/app/components/general/LoadingStatus.vue.d.ts +1 -1
- package/dist/types/app/components/general/LoadingStatus.vue.d.ts.map +1 -1
- package/dist/types/app/components/global/BIcon.vue.d.ts.map +1 -1
- package/dist/types/app/components/global/BInput.vue.d.ts +8 -8
- package/dist/types/app/components/global/BInput.vue.d.ts.map +1 -1
- package/dist/types/app/components/global/BModal.vue.d.ts +2 -2
- package/dist/types/app/components/global/BPopup.vue.d.ts.map +1 -1
- package/dist/types/app/components/global/BSelect.vue.d.ts +1 -1
- package/dist/types/app/components/global/BSelect.vue.d.ts.map +1 -1
- package/dist/types/app/components/global/BToast.vue.d.ts.map +1 -1
- package/dist/types/app/composables/useDate.d.ts +1 -18
- package/dist/types/app/composables/useDate.d.ts.map +1 -1
- package/dist/types/app/composables/useLocalI18n.d.ts +3 -0
- package/dist/types/app/composables/useLocalI18n.d.ts.map +1 -1
- package/dist/types/app/index.d.ts +6 -2
- package/dist/types/app/index.d.ts.map +1 -1
- package/dist/types/app/stores/callStore.d.ts +13 -49
- package/dist/types/app/stores/callStore.d.ts.map +1 -1
- package/dist/types/app/stores/chatStore.d.ts +25 -39
- package/dist/types/app/stores/chatStore.d.ts.map +1 -1
- package/dist/types/app/stores/mediaStore.d.ts +18 -0
- package/dist/types/app/stores/mediaStore.d.ts.map +1 -0
- package/dist/types/app/stores/messageStores.d.ts +127 -146
- package/dist/types/app/stores/messageStores.d.ts.map +1 -1
- package/dist/types/app/stores/profileStore.d.ts +45 -0
- package/dist/types/app/stores/profileStore.d.ts.map +1 -0
- package/dist/types/app/types/index.d.ts +149 -0
- package/dist/types/app/types/index.d.ts.map +1 -0
- package/dist/types/app/utils/format.d.ts +0 -48
- package/dist/types/app/utils/format.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/types/app/composables/useLocale.d.ts +0 -12
- package/dist/types/app/composables/useLocale.d.ts.map +0 -1
- package/dist/types/app/composables/useTheme.d.ts +0 -4
- package/dist/types/app/composables/useTheme.d.ts.map +0 -1
- package/dist/types/app/composables/useValidation.d.ts +0 -20
- package/dist/types/app/composables/useValidation.d.ts.map +0 -1
- package/dist/types/app/composables/useWindowSize.d.ts +0 -5
- package/dist/types/app/composables/useWindowSize.d.ts.map +0 -1
- package/dist/types/app/types/address.d.ts +0 -26
- package/dist/types/app/types/address.d.ts.map +0 -1
- package/dist/types/app/types/calendar.d.ts +0 -87
- package/dist/types/app/types/calendar.d.ts.map +0 -1
- package/dist/types/app/types/call.d.ts +0 -10
- package/dist/types/app/types/call.d.ts.map +0 -1
- package/dist/types/app/types/chat.d.ts +0 -52
- package/dist/types/app/types/chat.d.ts.map +0 -1
- package/dist/types/app/types/theme.d.ts +0 -11
- package/dist/types/app/types/theme.d.ts.map +0 -1
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
import { ExtendedMessage, Message } from '../types
|
|
2
|
-
export interface UploadProgressEvent {
|
|
3
|
-
uploaded: number;
|
|
4
|
-
total: number;
|
|
5
|
-
progress: number;
|
|
6
|
-
}
|
|
7
|
-
export interface SendMessageOptions {
|
|
8
|
-
onProgress?: (e: UploadProgressEvent) => void;
|
|
9
|
-
}
|
|
10
|
-
export interface FetchMessagesParams {
|
|
11
|
-
conversationId: string;
|
|
12
|
-
page: number;
|
|
13
|
-
pageSize: number;
|
|
14
|
-
}
|
|
15
|
-
export interface MessagesHandlers {
|
|
16
|
-
sendMessage(msg: Message, opts?: SendMessageOptions): Promise<Message>;
|
|
17
|
-
editMessage(id: string, text: string): Promise<Message>;
|
|
18
|
-
deleteMessages(ids: string[]): Promise<void>;
|
|
19
|
-
fetchMessages(params: FetchMessagesParams): Promise<Message[]>;
|
|
20
|
-
}
|
|
1
|
+
import { ExtendedMessage, Message, MessagesHandlers, UploadProgressEvent } from '../types';
|
|
21
2
|
export declare const useMessagesStore: import('pinia').StoreDefinition<"messages-store", Pick<{
|
|
22
3
|
isOptionMenuOpen: globalThis.Ref<boolean, boolean>;
|
|
23
4
|
isSelectMode: globalThis.Ref<boolean, boolean>;
|
|
@@ -26,7 +7,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
26
7
|
id: string;
|
|
27
8
|
conversationId: string;
|
|
28
9
|
date: Date;
|
|
29
|
-
type: import('../types
|
|
10
|
+
type: import('../types').MessageType;
|
|
30
11
|
text?: string;
|
|
31
12
|
imageUrl?: string[];
|
|
32
13
|
fileUrl?: string;
|
|
@@ -43,7 +24,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
43
24
|
id: string;
|
|
44
25
|
conversationId: string;
|
|
45
26
|
date: Date;
|
|
46
|
-
type: import('../types
|
|
27
|
+
type: import('../types').MessageType;
|
|
47
28
|
text?: string;
|
|
48
29
|
imageUrl?: string[];
|
|
49
30
|
fileUrl?: string;
|
|
@@ -72,7 +53,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
72
53
|
id: string;
|
|
73
54
|
conversationId: string;
|
|
74
55
|
date: Date;
|
|
75
|
-
type: import('../types
|
|
56
|
+
type: import('../types').MessageType;
|
|
76
57
|
text?: string;
|
|
77
58
|
imageUrl?: string[];
|
|
78
59
|
fileUrl?: string;
|
|
@@ -87,12 +68,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
87
68
|
};
|
|
88
69
|
unreadCount?: number;
|
|
89
70
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
90
|
-
userType: import('../types
|
|
71
|
+
userType: import('../types').UserRoleKey[];
|
|
91
72
|
};
|
|
92
73
|
id: string;
|
|
93
74
|
conversationId: string;
|
|
94
75
|
date: Date;
|
|
95
|
-
type: import('../types
|
|
76
|
+
type: import('../types').MessageType;
|
|
96
77
|
text?: string;
|
|
97
78
|
imageUrl?: string[];
|
|
98
79
|
fileUrl?: string;
|
|
@@ -106,7 +87,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
106
87
|
id: string;
|
|
107
88
|
conversationId: string;
|
|
108
89
|
date: Date;
|
|
109
|
-
type: import('../types
|
|
90
|
+
type: import('../types').MessageType;
|
|
110
91
|
text?: string;
|
|
111
92
|
imageUrl?: string[];
|
|
112
93
|
fileUrl?: string;
|
|
@@ -125,7 +106,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
125
106
|
id: string;
|
|
126
107
|
conversationId: string;
|
|
127
108
|
date: Date;
|
|
128
|
-
type: import('../types
|
|
109
|
+
type: import('../types').MessageType;
|
|
129
110
|
text?: string;
|
|
130
111
|
imageUrl?: string[];
|
|
131
112
|
fileUrl?: string;
|
|
@@ -142,7 +123,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
142
123
|
id: string;
|
|
143
124
|
conversationId: string;
|
|
144
125
|
date: Date;
|
|
145
|
-
type: import('../types
|
|
126
|
+
type: import('../types').MessageType;
|
|
146
127
|
text?: string;
|
|
147
128
|
imageUrl?: string[];
|
|
148
129
|
fileUrl?: string;
|
|
@@ -171,7 +152,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
171
152
|
id: string;
|
|
172
153
|
conversationId: string;
|
|
173
154
|
date: Date;
|
|
174
|
-
type: import('../types
|
|
155
|
+
type: import('../types').MessageType;
|
|
175
156
|
text?: string;
|
|
176
157
|
imageUrl?: string[];
|
|
177
158
|
fileUrl?: string;
|
|
@@ -186,12 +167,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
186
167
|
};
|
|
187
168
|
unreadCount?: number;
|
|
188
169
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
189
|
-
userType: import('../types
|
|
170
|
+
userType: import('../types').UserRoleKey[];
|
|
190
171
|
};
|
|
191
172
|
id: string;
|
|
192
173
|
conversationId: string;
|
|
193
174
|
date: Date;
|
|
194
|
-
type: import('../types
|
|
175
|
+
type: import('../types').MessageType;
|
|
195
176
|
text?: string;
|
|
196
177
|
imageUrl?: string[];
|
|
197
178
|
fileUrl?: string;
|
|
@@ -205,7 +186,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
205
186
|
id: string;
|
|
206
187
|
conversationId: string;
|
|
207
188
|
date: Date;
|
|
208
|
-
type: import('../types
|
|
189
|
+
type: import('../types').MessageType;
|
|
209
190
|
text?: string;
|
|
210
191
|
imageUrl?: string[];
|
|
211
192
|
fileUrl?: string;
|
|
@@ -225,7 +206,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
225
206
|
id: string;
|
|
226
207
|
conversationId: string;
|
|
227
208
|
date: Date;
|
|
228
|
-
type: import('../types
|
|
209
|
+
type: import('../types').MessageType;
|
|
229
210
|
text?: string;
|
|
230
211
|
imageUrl?: string[];
|
|
231
212
|
fileUrl?: string;
|
|
@@ -242,7 +223,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
242
223
|
id: string;
|
|
243
224
|
conversationId: string;
|
|
244
225
|
date: Date;
|
|
245
|
-
type: import('../types
|
|
226
|
+
type: import('../types').MessageType;
|
|
246
227
|
text?: string;
|
|
247
228
|
imageUrl?: string[];
|
|
248
229
|
fileUrl?: string;
|
|
@@ -271,7 +252,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
271
252
|
id: string;
|
|
272
253
|
conversationId: string;
|
|
273
254
|
date: Date;
|
|
274
|
-
type: import('../types
|
|
255
|
+
type: import('../types').MessageType;
|
|
275
256
|
text?: string;
|
|
276
257
|
imageUrl?: string[];
|
|
277
258
|
fileUrl?: string;
|
|
@@ -286,12 +267,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
286
267
|
};
|
|
287
268
|
unreadCount?: number;
|
|
288
269
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
289
|
-
userType: import('../types
|
|
270
|
+
userType: import('../types').UserRoleKey[];
|
|
290
271
|
};
|
|
291
272
|
id: string;
|
|
292
273
|
conversationId: string;
|
|
293
274
|
date: Date;
|
|
294
|
-
type: import('../types
|
|
275
|
+
type: import('../types').MessageType;
|
|
295
276
|
text?: string;
|
|
296
277
|
imageUrl?: string[];
|
|
297
278
|
fileUrl?: string;
|
|
@@ -305,7 +286,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
305
286
|
id: string;
|
|
306
287
|
conversationId: string;
|
|
307
288
|
date: Date;
|
|
308
|
-
type: import('../types
|
|
289
|
+
type: import('../types').MessageType;
|
|
309
290
|
text?: string;
|
|
310
291
|
imageUrl?: string[];
|
|
311
292
|
fileUrl?: string;
|
|
@@ -324,7 +305,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
324
305
|
id: string;
|
|
325
306
|
conversationId: string;
|
|
326
307
|
date: Date;
|
|
327
|
-
type: import('../types
|
|
308
|
+
type: import('../types').MessageType;
|
|
328
309
|
text?: string;
|
|
329
310
|
imageUrl?: string[];
|
|
330
311
|
fileUrl?: string;
|
|
@@ -341,7 +322,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
341
322
|
id: string;
|
|
342
323
|
conversationId: string;
|
|
343
324
|
date: Date;
|
|
344
|
-
type: import('../types
|
|
325
|
+
type: import('../types').MessageType;
|
|
345
326
|
text?: string;
|
|
346
327
|
imageUrl?: string[];
|
|
347
328
|
fileUrl?: string;
|
|
@@ -370,7 +351,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
370
351
|
id: string;
|
|
371
352
|
conversationId: string;
|
|
372
353
|
date: Date;
|
|
373
|
-
type: import('../types
|
|
354
|
+
type: import('../types').MessageType;
|
|
374
355
|
text?: string;
|
|
375
356
|
imageUrl?: string[];
|
|
376
357
|
fileUrl?: string;
|
|
@@ -385,12 +366,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
385
366
|
};
|
|
386
367
|
unreadCount?: number;
|
|
387
368
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
388
|
-
userType: import('../types
|
|
369
|
+
userType: import('../types').UserRoleKey[];
|
|
389
370
|
};
|
|
390
371
|
id: string;
|
|
391
372
|
conversationId: string;
|
|
392
373
|
date: Date;
|
|
393
|
-
type: import('../types
|
|
374
|
+
type: import('../types').MessageType;
|
|
394
375
|
text?: string;
|
|
395
376
|
imageUrl?: string[];
|
|
396
377
|
fileUrl?: string;
|
|
@@ -404,7 +385,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
404
385
|
id: string;
|
|
405
386
|
conversationId: string;
|
|
406
387
|
date: Date;
|
|
407
|
-
type: import('../types
|
|
388
|
+
type: import('../types').MessageType;
|
|
408
389
|
text?: string;
|
|
409
390
|
imageUrl?: string[];
|
|
410
391
|
fileUrl?: string;
|
|
@@ -424,7 +405,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
424
405
|
id: string;
|
|
425
406
|
conversationId: string;
|
|
426
407
|
date: Date;
|
|
427
|
-
type: import('../types
|
|
408
|
+
type: import('../types').MessageType;
|
|
428
409
|
text?: string;
|
|
429
410
|
imageUrl?: string[];
|
|
430
411
|
fileUrl?: string;
|
|
@@ -441,7 +422,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
441
422
|
id: string;
|
|
442
423
|
conversationId: string;
|
|
443
424
|
date: Date;
|
|
444
|
-
type: import('../types
|
|
425
|
+
type: import('../types').MessageType;
|
|
445
426
|
text?: string;
|
|
446
427
|
imageUrl?: string[];
|
|
447
428
|
fileUrl?: string;
|
|
@@ -470,7 +451,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
470
451
|
id: string;
|
|
471
452
|
conversationId: string;
|
|
472
453
|
date: Date;
|
|
473
|
-
type: import('../types
|
|
454
|
+
type: import('../types').MessageType;
|
|
474
455
|
text?: string;
|
|
475
456
|
imageUrl?: string[];
|
|
476
457
|
fileUrl?: string;
|
|
@@ -485,12 +466,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
485
466
|
};
|
|
486
467
|
unreadCount?: number;
|
|
487
468
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
488
|
-
userType: import('../types
|
|
469
|
+
userType: import('../types').UserRoleKey[];
|
|
489
470
|
};
|
|
490
471
|
id: string;
|
|
491
472
|
conversationId: string;
|
|
492
473
|
date: Date;
|
|
493
|
-
type: import('../types
|
|
474
|
+
type: import('../types').MessageType;
|
|
494
475
|
text?: string;
|
|
495
476
|
imageUrl?: string[];
|
|
496
477
|
fileUrl?: string;
|
|
@@ -504,7 +485,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
504
485
|
id: string;
|
|
505
486
|
conversationId: string;
|
|
506
487
|
date: Date;
|
|
507
|
-
type: import('../types
|
|
488
|
+
type: import('../types').MessageType;
|
|
508
489
|
text?: string;
|
|
509
490
|
imageUrl?: string[];
|
|
510
491
|
fileUrl?: string;
|
|
@@ -534,7 +515,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
534
515
|
id: string;
|
|
535
516
|
conversationId: string;
|
|
536
517
|
date: Date;
|
|
537
|
-
type: import('../types
|
|
518
|
+
type: import('../types').MessageType;
|
|
538
519
|
text?: string;
|
|
539
520
|
imageUrl?: string[];
|
|
540
521
|
fileUrl?: string;
|
|
@@ -551,7 +532,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
551
532
|
id: string;
|
|
552
533
|
conversationId: string;
|
|
553
534
|
date: Date;
|
|
554
|
-
type: import('../types
|
|
535
|
+
type: import('../types').MessageType;
|
|
555
536
|
text?: string;
|
|
556
537
|
imageUrl?: string[];
|
|
557
538
|
fileUrl?: string;
|
|
@@ -580,7 +561,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
580
561
|
id: string;
|
|
581
562
|
conversationId: string;
|
|
582
563
|
date: Date;
|
|
583
|
-
type: import('../types
|
|
564
|
+
type: import('../types').MessageType;
|
|
584
565
|
text?: string;
|
|
585
566
|
imageUrl?: string[];
|
|
586
567
|
fileUrl?: string;
|
|
@@ -595,12 +576,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
595
576
|
};
|
|
596
577
|
unreadCount?: number;
|
|
597
578
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
598
|
-
userType: import('../types
|
|
579
|
+
userType: import('../types').UserRoleKey[];
|
|
599
580
|
};
|
|
600
581
|
id: string;
|
|
601
582
|
conversationId: string;
|
|
602
583
|
date: Date;
|
|
603
|
-
type: import('../types
|
|
584
|
+
type: import('../types').MessageType;
|
|
604
585
|
text?: string;
|
|
605
586
|
imageUrl?: string[];
|
|
606
587
|
fileUrl?: string;
|
|
@@ -614,7 +595,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
614
595
|
id: string;
|
|
615
596
|
conversationId: string;
|
|
616
597
|
date: Date;
|
|
617
|
-
type: import('../types
|
|
598
|
+
type: import('../types').MessageType;
|
|
618
599
|
text?: string;
|
|
619
600
|
imageUrl?: string[];
|
|
620
601
|
fileUrl?: string;
|
|
@@ -633,7 +614,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
633
614
|
id: string;
|
|
634
615
|
conversationId: string;
|
|
635
616
|
date: Date;
|
|
636
|
-
type: import('../types
|
|
617
|
+
type: import('../types').MessageType;
|
|
637
618
|
text?: string;
|
|
638
619
|
imageUrl?: string[];
|
|
639
620
|
fileUrl?: string;
|
|
@@ -650,7 +631,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
650
631
|
id: string;
|
|
651
632
|
conversationId: string;
|
|
652
633
|
date: Date;
|
|
653
|
-
type: import('../types
|
|
634
|
+
type: import('../types').MessageType;
|
|
654
635
|
text?: string;
|
|
655
636
|
imageUrl?: string[];
|
|
656
637
|
fileUrl?: string;
|
|
@@ -679,7 +660,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
679
660
|
id: string;
|
|
680
661
|
conversationId: string;
|
|
681
662
|
date: Date;
|
|
682
|
-
type: import('../types
|
|
663
|
+
type: import('../types').MessageType;
|
|
683
664
|
text?: string;
|
|
684
665
|
imageUrl?: string[];
|
|
685
666
|
fileUrl?: string;
|
|
@@ -694,12 +675,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
694
675
|
};
|
|
695
676
|
unreadCount?: number;
|
|
696
677
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
697
|
-
userType: import('../types
|
|
678
|
+
userType: import('../types').UserRoleKey[];
|
|
698
679
|
};
|
|
699
680
|
id: string;
|
|
700
681
|
conversationId: string;
|
|
701
682
|
date: Date;
|
|
702
|
-
type: import('../types
|
|
683
|
+
type: import('../types').MessageType;
|
|
703
684
|
text?: string;
|
|
704
685
|
imageUrl?: string[];
|
|
705
686
|
fileUrl?: string;
|
|
@@ -713,7 +694,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
713
694
|
id: string;
|
|
714
695
|
conversationId: string;
|
|
715
696
|
date: Date;
|
|
716
|
-
type: import('../types
|
|
697
|
+
type: import('../types').MessageType;
|
|
717
698
|
text?: string;
|
|
718
699
|
imageUrl?: string[];
|
|
719
700
|
fileUrl?: string;
|
|
@@ -768,7 +749,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
768
749
|
id: string;
|
|
769
750
|
conversationId: string;
|
|
770
751
|
date: Date;
|
|
771
|
-
type: import('../types
|
|
752
|
+
type: import('../types').MessageType;
|
|
772
753
|
text?: string;
|
|
773
754
|
imageUrl?: string[];
|
|
774
755
|
fileUrl?: string;
|
|
@@ -785,7 +766,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
785
766
|
id: string;
|
|
786
767
|
conversationId: string;
|
|
787
768
|
date: Date;
|
|
788
|
-
type: import('../types
|
|
769
|
+
type: import('../types').MessageType;
|
|
789
770
|
text?: string;
|
|
790
771
|
imageUrl?: string[];
|
|
791
772
|
fileUrl?: string;
|
|
@@ -814,7 +795,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
814
795
|
id: string;
|
|
815
796
|
conversationId: string;
|
|
816
797
|
date: Date;
|
|
817
|
-
type: import('../types
|
|
798
|
+
type: import('../types').MessageType;
|
|
818
799
|
text?: string;
|
|
819
800
|
imageUrl?: string[];
|
|
820
801
|
fileUrl?: string;
|
|
@@ -829,12 +810,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
829
810
|
};
|
|
830
811
|
unreadCount?: number;
|
|
831
812
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
832
|
-
userType: import('../types
|
|
813
|
+
userType: import('../types').UserRoleKey[];
|
|
833
814
|
};
|
|
834
815
|
id: string;
|
|
835
816
|
conversationId: string;
|
|
836
817
|
date: Date;
|
|
837
|
-
type: import('../types
|
|
818
|
+
type: import('../types').MessageType;
|
|
838
819
|
text?: string;
|
|
839
820
|
imageUrl?: string[];
|
|
840
821
|
fileUrl?: string;
|
|
@@ -848,7 +829,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
848
829
|
id: string;
|
|
849
830
|
conversationId: string;
|
|
850
831
|
date: Date;
|
|
851
|
-
type: import('../types
|
|
832
|
+
type: import('../types').MessageType;
|
|
852
833
|
text?: string;
|
|
853
834
|
imageUrl?: string[];
|
|
854
835
|
fileUrl?: string;
|
|
@@ -867,7 +848,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
867
848
|
id: string;
|
|
868
849
|
conversationId: string;
|
|
869
850
|
date: Date;
|
|
870
|
-
type: import('../types
|
|
851
|
+
type: import('../types').MessageType;
|
|
871
852
|
text?: string;
|
|
872
853
|
imageUrl?: string[];
|
|
873
854
|
fileUrl?: string;
|
|
@@ -884,7 +865,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
884
865
|
id: string;
|
|
885
866
|
conversationId: string;
|
|
886
867
|
date: Date;
|
|
887
|
-
type: import('../types
|
|
868
|
+
type: import('../types').MessageType;
|
|
888
869
|
text?: string;
|
|
889
870
|
imageUrl?: string[];
|
|
890
871
|
fileUrl?: string;
|
|
@@ -913,7 +894,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
913
894
|
id: string;
|
|
914
895
|
conversationId: string;
|
|
915
896
|
date: Date;
|
|
916
|
-
type: import('../types
|
|
897
|
+
type: import('../types').MessageType;
|
|
917
898
|
text?: string;
|
|
918
899
|
imageUrl?: string[];
|
|
919
900
|
fileUrl?: string;
|
|
@@ -928,12 +909,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
928
909
|
};
|
|
929
910
|
unreadCount?: number;
|
|
930
911
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
931
|
-
userType: import('../types
|
|
912
|
+
userType: import('../types').UserRoleKey[];
|
|
932
913
|
};
|
|
933
914
|
id: string;
|
|
934
915
|
conversationId: string;
|
|
935
916
|
date: Date;
|
|
936
|
-
type: import('../types
|
|
917
|
+
type: import('../types').MessageType;
|
|
937
918
|
text?: string;
|
|
938
919
|
imageUrl?: string[];
|
|
939
920
|
fileUrl?: string;
|
|
@@ -947,7 +928,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
947
928
|
id: string;
|
|
948
929
|
conversationId: string;
|
|
949
930
|
date: Date;
|
|
950
|
-
type: import('../types
|
|
931
|
+
type: import('../types').MessageType;
|
|
951
932
|
text?: string;
|
|
952
933
|
imageUrl?: string[];
|
|
953
934
|
fileUrl?: string;
|
|
@@ -967,7 +948,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
967
948
|
id: string;
|
|
968
949
|
conversationId: string;
|
|
969
950
|
date: Date;
|
|
970
|
-
type: import('../types
|
|
951
|
+
type: import('../types').MessageType;
|
|
971
952
|
text?: string;
|
|
972
953
|
imageUrl?: string[];
|
|
973
954
|
fileUrl?: string;
|
|
@@ -984,7 +965,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
984
965
|
id: string;
|
|
985
966
|
conversationId: string;
|
|
986
967
|
date: Date;
|
|
987
|
-
type: import('../types
|
|
968
|
+
type: import('../types').MessageType;
|
|
988
969
|
text?: string;
|
|
989
970
|
imageUrl?: string[];
|
|
990
971
|
fileUrl?: string;
|
|
@@ -1013,7 +994,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1013
994
|
id: string;
|
|
1014
995
|
conversationId: string;
|
|
1015
996
|
date: Date;
|
|
1016
|
-
type: import('../types
|
|
997
|
+
type: import('../types').MessageType;
|
|
1017
998
|
text?: string;
|
|
1018
999
|
imageUrl?: string[];
|
|
1019
1000
|
fileUrl?: string;
|
|
@@ -1028,12 +1009,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1028
1009
|
};
|
|
1029
1010
|
unreadCount?: number;
|
|
1030
1011
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
1031
|
-
userType: import('../types
|
|
1012
|
+
userType: import('../types').UserRoleKey[];
|
|
1032
1013
|
};
|
|
1033
1014
|
id: string;
|
|
1034
1015
|
conversationId: string;
|
|
1035
1016
|
date: Date;
|
|
1036
|
-
type: import('../types
|
|
1017
|
+
type: import('../types').MessageType;
|
|
1037
1018
|
text?: string;
|
|
1038
1019
|
imageUrl?: string[];
|
|
1039
1020
|
fileUrl?: string;
|
|
@@ -1047,7 +1028,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1047
1028
|
id: string;
|
|
1048
1029
|
conversationId: string;
|
|
1049
1030
|
date: Date;
|
|
1050
|
-
type: import('../types
|
|
1031
|
+
type: import('../types').MessageType;
|
|
1051
1032
|
text?: string;
|
|
1052
1033
|
imageUrl?: string[];
|
|
1053
1034
|
fileUrl?: string;
|
|
@@ -1066,7 +1047,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1066
1047
|
id: string;
|
|
1067
1048
|
conversationId: string;
|
|
1068
1049
|
date: Date;
|
|
1069
|
-
type: import('../types
|
|
1050
|
+
type: import('../types').MessageType;
|
|
1070
1051
|
text?: string;
|
|
1071
1052
|
imageUrl?: string[];
|
|
1072
1053
|
fileUrl?: string;
|
|
@@ -1083,7 +1064,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1083
1064
|
id: string;
|
|
1084
1065
|
conversationId: string;
|
|
1085
1066
|
date: Date;
|
|
1086
|
-
type: import('../types
|
|
1067
|
+
type: import('../types').MessageType;
|
|
1087
1068
|
text?: string;
|
|
1088
1069
|
imageUrl?: string[];
|
|
1089
1070
|
fileUrl?: string;
|
|
@@ -1112,7 +1093,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1112
1093
|
id: string;
|
|
1113
1094
|
conversationId: string;
|
|
1114
1095
|
date: Date;
|
|
1115
|
-
type: import('../types
|
|
1096
|
+
type: import('../types').MessageType;
|
|
1116
1097
|
text?: string;
|
|
1117
1098
|
imageUrl?: string[];
|
|
1118
1099
|
fileUrl?: string;
|
|
@@ -1127,12 +1108,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1127
1108
|
};
|
|
1128
1109
|
unreadCount?: number;
|
|
1129
1110
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
1130
|
-
userType: import('../types
|
|
1111
|
+
userType: import('../types').UserRoleKey[];
|
|
1131
1112
|
};
|
|
1132
1113
|
id: string;
|
|
1133
1114
|
conversationId: string;
|
|
1134
1115
|
date: Date;
|
|
1135
|
-
type: import('../types
|
|
1116
|
+
type: import('../types').MessageType;
|
|
1136
1117
|
text?: string;
|
|
1137
1118
|
imageUrl?: string[];
|
|
1138
1119
|
fileUrl?: string;
|
|
@@ -1146,7 +1127,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1146
1127
|
id: string;
|
|
1147
1128
|
conversationId: string;
|
|
1148
1129
|
date: Date;
|
|
1149
|
-
type: import('../types
|
|
1130
|
+
type: import('../types').MessageType;
|
|
1150
1131
|
text?: string;
|
|
1151
1132
|
imageUrl?: string[];
|
|
1152
1133
|
fileUrl?: string;
|
|
@@ -1166,7 +1147,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1166
1147
|
id: string;
|
|
1167
1148
|
conversationId: string;
|
|
1168
1149
|
date: Date;
|
|
1169
|
-
type: import('../types
|
|
1150
|
+
type: import('../types').MessageType;
|
|
1170
1151
|
text?: string;
|
|
1171
1152
|
imageUrl?: string[];
|
|
1172
1153
|
fileUrl?: string;
|
|
@@ -1183,7 +1164,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1183
1164
|
id: string;
|
|
1184
1165
|
conversationId: string;
|
|
1185
1166
|
date: Date;
|
|
1186
|
-
type: import('../types
|
|
1167
|
+
type: import('../types').MessageType;
|
|
1187
1168
|
text?: string;
|
|
1188
1169
|
imageUrl?: string[];
|
|
1189
1170
|
fileUrl?: string;
|
|
@@ -1212,7 +1193,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1212
1193
|
id: string;
|
|
1213
1194
|
conversationId: string;
|
|
1214
1195
|
date: Date;
|
|
1215
|
-
type: import('../types
|
|
1196
|
+
type: import('../types').MessageType;
|
|
1216
1197
|
text?: string;
|
|
1217
1198
|
imageUrl?: string[];
|
|
1218
1199
|
fileUrl?: string;
|
|
@@ -1227,12 +1208,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1227
1208
|
};
|
|
1228
1209
|
unreadCount?: number;
|
|
1229
1210
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
1230
|
-
userType: import('../types
|
|
1211
|
+
userType: import('../types').UserRoleKey[];
|
|
1231
1212
|
};
|
|
1232
1213
|
id: string;
|
|
1233
1214
|
conversationId: string;
|
|
1234
1215
|
date: Date;
|
|
1235
|
-
type: import('../types
|
|
1216
|
+
type: import('../types').MessageType;
|
|
1236
1217
|
text?: string;
|
|
1237
1218
|
imageUrl?: string[];
|
|
1238
1219
|
fileUrl?: string;
|
|
@@ -1246,7 +1227,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1246
1227
|
id: string;
|
|
1247
1228
|
conversationId: string;
|
|
1248
1229
|
date: Date;
|
|
1249
|
-
type: import('../types
|
|
1230
|
+
type: import('../types').MessageType;
|
|
1250
1231
|
text?: string;
|
|
1251
1232
|
imageUrl?: string[];
|
|
1252
1233
|
fileUrl?: string;
|
|
@@ -1276,7 +1257,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1276
1257
|
id: string;
|
|
1277
1258
|
conversationId: string;
|
|
1278
1259
|
date: Date;
|
|
1279
|
-
type: import('../types
|
|
1260
|
+
type: import('../types').MessageType;
|
|
1280
1261
|
text?: string;
|
|
1281
1262
|
imageUrl?: string[];
|
|
1282
1263
|
fileUrl?: string;
|
|
@@ -1293,7 +1274,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1293
1274
|
id: string;
|
|
1294
1275
|
conversationId: string;
|
|
1295
1276
|
date: Date;
|
|
1296
|
-
type: import('../types
|
|
1277
|
+
type: import('../types').MessageType;
|
|
1297
1278
|
text?: string;
|
|
1298
1279
|
imageUrl?: string[];
|
|
1299
1280
|
fileUrl?: string;
|
|
@@ -1322,7 +1303,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1322
1303
|
id: string;
|
|
1323
1304
|
conversationId: string;
|
|
1324
1305
|
date: Date;
|
|
1325
|
-
type: import('../types
|
|
1306
|
+
type: import('../types').MessageType;
|
|
1326
1307
|
text?: string;
|
|
1327
1308
|
imageUrl?: string[];
|
|
1328
1309
|
fileUrl?: string;
|
|
@@ -1337,12 +1318,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1337
1318
|
};
|
|
1338
1319
|
unreadCount?: number;
|
|
1339
1320
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
1340
|
-
userType: import('../types
|
|
1321
|
+
userType: import('../types').UserRoleKey[];
|
|
1341
1322
|
};
|
|
1342
1323
|
id: string;
|
|
1343
1324
|
conversationId: string;
|
|
1344
1325
|
date: Date;
|
|
1345
|
-
type: import('../types
|
|
1326
|
+
type: import('../types').MessageType;
|
|
1346
1327
|
text?: string;
|
|
1347
1328
|
imageUrl?: string[];
|
|
1348
1329
|
fileUrl?: string;
|
|
@@ -1356,7 +1337,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1356
1337
|
id: string;
|
|
1357
1338
|
conversationId: string;
|
|
1358
1339
|
date: Date;
|
|
1359
|
-
type: import('../types
|
|
1340
|
+
type: import('../types').MessageType;
|
|
1360
1341
|
text?: string;
|
|
1361
1342
|
imageUrl?: string[];
|
|
1362
1343
|
fileUrl?: string;
|
|
@@ -1375,7 +1356,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1375
1356
|
id: string;
|
|
1376
1357
|
conversationId: string;
|
|
1377
1358
|
date: Date;
|
|
1378
|
-
type: import('../types
|
|
1359
|
+
type: import('../types').MessageType;
|
|
1379
1360
|
text?: string;
|
|
1380
1361
|
imageUrl?: string[];
|
|
1381
1362
|
fileUrl?: string;
|
|
@@ -1392,7 +1373,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1392
1373
|
id: string;
|
|
1393
1374
|
conversationId: string;
|
|
1394
1375
|
date: Date;
|
|
1395
|
-
type: import('../types
|
|
1376
|
+
type: import('../types').MessageType;
|
|
1396
1377
|
text?: string;
|
|
1397
1378
|
imageUrl?: string[];
|
|
1398
1379
|
fileUrl?: string;
|
|
@@ -1421,7 +1402,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1421
1402
|
id: string;
|
|
1422
1403
|
conversationId: string;
|
|
1423
1404
|
date: Date;
|
|
1424
|
-
type: import('../types
|
|
1405
|
+
type: import('../types').MessageType;
|
|
1425
1406
|
text?: string;
|
|
1426
1407
|
imageUrl?: string[];
|
|
1427
1408
|
fileUrl?: string;
|
|
@@ -1436,12 +1417,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1436
1417
|
};
|
|
1437
1418
|
unreadCount?: number;
|
|
1438
1419
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
1439
|
-
userType: import('../types
|
|
1420
|
+
userType: import('../types').UserRoleKey[];
|
|
1440
1421
|
};
|
|
1441
1422
|
id: string;
|
|
1442
1423
|
conversationId: string;
|
|
1443
1424
|
date: Date;
|
|
1444
|
-
type: import('../types
|
|
1425
|
+
type: import('../types').MessageType;
|
|
1445
1426
|
text?: string;
|
|
1446
1427
|
imageUrl?: string[];
|
|
1447
1428
|
fileUrl?: string;
|
|
@@ -1455,7 +1436,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1455
1436
|
id: string;
|
|
1456
1437
|
conversationId: string;
|
|
1457
1438
|
date: Date;
|
|
1458
|
-
type: import('../types
|
|
1439
|
+
type: import('../types').MessageType;
|
|
1459
1440
|
text?: string;
|
|
1460
1441
|
imageUrl?: string[];
|
|
1461
1442
|
fileUrl?: string;
|
|
@@ -1510,7 +1491,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1510
1491
|
id: string;
|
|
1511
1492
|
conversationId: string;
|
|
1512
1493
|
date: Date;
|
|
1513
|
-
type: import('../types
|
|
1494
|
+
type: import('../types').MessageType;
|
|
1514
1495
|
text?: string;
|
|
1515
1496
|
imageUrl?: string[];
|
|
1516
1497
|
fileUrl?: string;
|
|
@@ -1527,7 +1508,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1527
1508
|
id: string;
|
|
1528
1509
|
conversationId: string;
|
|
1529
1510
|
date: Date;
|
|
1530
|
-
type: import('../types
|
|
1511
|
+
type: import('../types').MessageType;
|
|
1531
1512
|
text?: string;
|
|
1532
1513
|
imageUrl?: string[];
|
|
1533
1514
|
fileUrl?: string;
|
|
@@ -1556,7 +1537,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1556
1537
|
id: string;
|
|
1557
1538
|
conversationId: string;
|
|
1558
1539
|
date: Date;
|
|
1559
|
-
type: import('../types
|
|
1540
|
+
type: import('../types').MessageType;
|
|
1560
1541
|
text?: string;
|
|
1561
1542
|
imageUrl?: string[];
|
|
1562
1543
|
fileUrl?: string;
|
|
@@ -1571,12 +1552,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1571
1552
|
};
|
|
1572
1553
|
unreadCount?: number;
|
|
1573
1554
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
1574
|
-
userType: import('../types
|
|
1555
|
+
userType: import('../types').UserRoleKey[];
|
|
1575
1556
|
};
|
|
1576
1557
|
id: string;
|
|
1577
1558
|
conversationId: string;
|
|
1578
1559
|
date: Date;
|
|
1579
|
-
type: import('../types
|
|
1560
|
+
type: import('../types').MessageType;
|
|
1580
1561
|
text?: string;
|
|
1581
1562
|
imageUrl?: string[];
|
|
1582
1563
|
fileUrl?: string;
|
|
@@ -1590,7 +1571,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1590
1571
|
id: string;
|
|
1591
1572
|
conversationId: string;
|
|
1592
1573
|
date: Date;
|
|
1593
|
-
type: import('../types
|
|
1574
|
+
type: import('../types').MessageType;
|
|
1594
1575
|
text?: string;
|
|
1595
1576
|
imageUrl?: string[];
|
|
1596
1577
|
fileUrl?: string;
|
|
@@ -1609,7 +1590,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1609
1590
|
id: string;
|
|
1610
1591
|
conversationId: string;
|
|
1611
1592
|
date: Date;
|
|
1612
|
-
type: import('../types
|
|
1593
|
+
type: import('../types').MessageType;
|
|
1613
1594
|
text?: string;
|
|
1614
1595
|
imageUrl?: string[];
|
|
1615
1596
|
fileUrl?: string;
|
|
@@ -1626,7 +1607,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1626
1607
|
id: string;
|
|
1627
1608
|
conversationId: string;
|
|
1628
1609
|
date: Date;
|
|
1629
|
-
type: import('../types
|
|
1610
|
+
type: import('../types').MessageType;
|
|
1630
1611
|
text?: string;
|
|
1631
1612
|
imageUrl?: string[];
|
|
1632
1613
|
fileUrl?: string;
|
|
@@ -1655,7 +1636,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1655
1636
|
id: string;
|
|
1656
1637
|
conversationId: string;
|
|
1657
1638
|
date: Date;
|
|
1658
|
-
type: import('../types
|
|
1639
|
+
type: import('../types').MessageType;
|
|
1659
1640
|
text?: string;
|
|
1660
1641
|
imageUrl?: string[];
|
|
1661
1642
|
fileUrl?: string;
|
|
@@ -1670,12 +1651,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1670
1651
|
};
|
|
1671
1652
|
unreadCount?: number;
|
|
1672
1653
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
1673
|
-
userType: import('../types
|
|
1654
|
+
userType: import('../types').UserRoleKey[];
|
|
1674
1655
|
};
|
|
1675
1656
|
id: string;
|
|
1676
1657
|
conversationId: string;
|
|
1677
1658
|
date: Date;
|
|
1678
|
-
type: import('../types
|
|
1659
|
+
type: import('../types').MessageType;
|
|
1679
1660
|
text?: string;
|
|
1680
1661
|
imageUrl?: string[];
|
|
1681
1662
|
fileUrl?: string;
|
|
@@ -1689,7 +1670,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1689
1670
|
id: string;
|
|
1690
1671
|
conversationId: string;
|
|
1691
1672
|
date: Date;
|
|
1692
|
-
type: import('../types
|
|
1673
|
+
type: import('../types').MessageType;
|
|
1693
1674
|
text?: string;
|
|
1694
1675
|
imageUrl?: string[];
|
|
1695
1676
|
fileUrl?: string;
|
|
@@ -1709,7 +1690,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1709
1690
|
id: string;
|
|
1710
1691
|
conversationId: string;
|
|
1711
1692
|
date: Date;
|
|
1712
|
-
type: import('../types
|
|
1693
|
+
type: import('../types').MessageType;
|
|
1713
1694
|
text?: string;
|
|
1714
1695
|
imageUrl?: string[];
|
|
1715
1696
|
fileUrl?: string;
|
|
@@ -1726,7 +1707,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1726
1707
|
id: string;
|
|
1727
1708
|
conversationId: string;
|
|
1728
1709
|
date: Date;
|
|
1729
|
-
type: import('../types
|
|
1710
|
+
type: import('../types').MessageType;
|
|
1730
1711
|
text?: string;
|
|
1731
1712
|
imageUrl?: string[];
|
|
1732
1713
|
fileUrl?: string;
|
|
@@ -1755,7 +1736,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1755
1736
|
id: string;
|
|
1756
1737
|
conversationId: string;
|
|
1757
1738
|
date: Date;
|
|
1758
|
-
type: import('../types
|
|
1739
|
+
type: import('../types').MessageType;
|
|
1759
1740
|
text?: string;
|
|
1760
1741
|
imageUrl?: string[];
|
|
1761
1742
|
fileUrl?: string;
|
|
@@ -1770,12 +1751,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1770
1751
|
};
|
|
1771
1752
|
unreadCount?: number;
|
|
1772
1753
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
1773
|
-
userType: import('../types
|
|
1754
|
+
userType: import('../types').UserRoleKey[];
|
|
1774
1755
|
};
|
|
1775
1756
|
id: string;
|
|
1776
1757
|
conversationId: string;
|
|
1777
1758
|
date: Date;
|
|
1778
|
-
type: import('../types
|
|
1759
|
+
type: import('../types').MessageType;
|
|
1779
1760
|
text?: string;
|
|
1780
1761
|
imageUrl?: string[];
|
|
1781
1762
|
fileUrl?: string;
|
|
@@ -1789,7 +1770,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1789
1770
|
id: string;
|
|
1790
1771
|
conversationId: string;
|
|
1791
1772
|
date: Date;
|
|
1792
|
-
type: import('../types
|
|
1773
|
+
type: import('../types').MessageType;
|
|
1793
1774
|
text?: string;
|
|
1794
1775
|
imageUrl?: string[];
|
|
1795
1776
|
fileUrl?: string;
|
|
@@ -1808,7 +1789,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1808
1789
|
id: string;
|
|
1809
1790
|
conversationId: string;
|
|
1810
1791
|
date: Date;
|
|
1811
|
-
type: import('../types
|
|
1792
|
+
type: import('../types').MessageType;
|
|
1812
1793
|
text?: string;
|
|
1813
1794
|
imageUrl?: string[];
|
|
1814
1795
|
fileUrl?: string;
|
|
@@ -1825,7 +1806,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1825
1806
|
id: string;
|
|
1826
1807
|
conversationId: string;
|
|
1827
1808
|
date: Date;
|
|
1828
|
-
type: import('../types
|
|
1809
|
+
type: import('../types').MessageType;
|
|
1829
1810
|
text?: string;
|
|
1830
1811
|
imageUrl?: string[];
|
|
1831
1812
|
fileUrl?: string;
|
|
@@ -1854,7 +1835,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1854
1835
|
id: string;
|
|
1855
1836
|
conversationId: string;
|
|
1856
1837
|
date: Date;
|
|
1857
|
-
type: import('../types
|
|
1838
|
+
type: import('../types').MessageType;
|
|
1858
1839
|
text?: string;
|
|
1859
1840
|
imageUrl?: string[];
|
|
1860
1841
|
fileUrl?: string;
|
|
@@ -1869,12 +1850,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1869
1850
|
};
|
|
1870
1851
|
unreadCount?: number;
|
|
1871
1852
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
1872
|
-
userType: import('../types
|
|
1853
|
+
userType: import('../types').UserRoleKey[];
|
|
1873
1854
|
};
|
|
1874
1855
|
id: string;
|
|
1875
1856
|
conversationId: string;
|
|
1876
1857
|
date: Date;
|
|
1877
|
-
type: import('../types
|
|
1858
|
+
type: import('../types').MessageType;
|
|
1878
1859
|
text?: string;
|
|
1879
1860
|
imageUrl?: string[];
|
|
1880
1861
|
fileUrl?: string;
|
|
@@ -1888,7 +1869,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1888
1869
|
id: string;
|
|
1889
1870
|
conversationId: string;
|
|
1890
1871
|
date: Date;
|
|
1891
|
-
type: import('../types
|
|
1872
|
+
type: import('../types').MessageType;
|
|
1892
1873
|
text?: string;
|
|
1893
1874
|
imageUrl?: string[];
|
|
1894
1875
|
fileUrl?: string;
|
|
@@ -1908,7 +1889,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1908
1889
|
id: string;
|
|
1909
1890
|
conversationId: string;
|
|
1910
1891
|
date: Date;
|
|
1911
|
-
type: import('../types
|
|
1892
|
+
type: import('../types').MessageType;
|
|
1912
1893
|
text?: string;
|
|
1913
1894
|
imageUrl?: string[];
|
|
1914
1895
|
fileUrl?: string;
|
|
@@ -1925,7 +1906,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1925
1906
|
id: string;
|
|
1926
1907
|
conversationId: string;
|
|
1927
1908
|
date: Date;
|
|
1928
|
-
type: import('../types
|
|
1909
|
+
type: import('../types').MessageType;
|
|
1929
1910
|
text?: string;
|
|
1930
1911
|
imageUrl?: string[];
|
|
1931
1912
|
fileUrl?: string;
|
|
@@ -1954,7 +1935,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1954
1935
|
id: string;
|
|
1955
1936
|
conversationId: string;
|
|
1956
1937
|
date: Date;
|
|
1957
|
-
type: import('../types
|
|
1938
|
+
type: import('../types').MessageType;
|
|
1958
1939
|
text?: string;
|
|
1959
1940
|
imageUrl?: string[];
|
|
1960
1941
|
fileUrl?: string;
|
|
@@ -1969,12 +1950,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1969
1950
|
};
|
|
1970
1951
|
unreadCount?: number;
|
|
1971
1952
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
1972
|
-
userType: import('../types
|
|
1953
|
+
userType: import('../types').UserRoleKey[];
|
|
1973
1954
|
};
|
|
1974
1955
|
id: string;
|
|
1975
1956
|
conversationId: string;
|
|
1976
1957
|
date: Date;
|
|
1977
|
-
type: import('../types
|
|
1958
|
+
type: import('../types').MessageType;
|
|
1978
1959
|
text?: string;
|
|
1979
1960
|
imageUrl?: string[];
|
|
1980
1961
|
fileUrl?: string;
|
|
@@ -1988,7 +1969,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
1988
1969
|
id: string;
|
|
1989
1970
|
conversationId: string;
|
|
1990
1971
|
date: Date;
|
|
1991
|
-
type: import('../types
|
|
1972
|
+
type: import('../types').MessageType;
|
|
1992
1973
|
text?: string;
|
|
1993
1974
|
imageUrl?: string[];
|
|
1994
1975
|
fileUrl?: string;
|
|
@@ -2018,7 +1999,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
2018
1999
|
id: string;
|
|
2019
2000
|
conversationId: string;
|
|
2020
2001
|
date: Date;
|
|
2021
|
-
type: import('../types
|
|
2002
|
+
type: import('../types').MessageType;
|
|
2022
2003
|
text?: string;
|
|
2023
2004
|
imageUrl?: string[];
|
|
2024
2005
|
fileUrl?: string;
|
|
@@ -2035,7 +2016,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
2035
2016
|
id: string;
|
|
2036
2017
|
conversationId: string;
|
|
2037
2018
|
date: Date;
|
|
2038
|
-
type: import('../types
|
|
2019
|
+
type: import('../types').MessageType;
|
|
2039
2020
|
text?: string;
|
|
2040
2021
|
imageUrl?: string[];
|
|
2041
2022
|
fileUrl?: string;
|
|
@@ -2064,7 +2045,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
2064
2045
|
id: string;
|
|
2065
2046
|
conversationId: string;
|
|
2066
2047
|
date: Date;
|
|
2067
|
-
type: import('../types
|
|
2048
|
+
type: import('../types').MessageType;
|
|
2068
2049
|
text?: string;
|
|
2069
2050
|
imageUrl?: string[];
|
|
2070
2051
|
fileUrl?: string;
|
|
@@ -2079,12 +2060,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
2079
2060
|
};
|
|
2080
2061
|
unreadCount?: number;
|
|
2081
2062
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
2082
|
-
userType: import('../types
|
|
2063
|
+
userType: import('../types').UserRoleKey[];
|
|
2083
2064
|
};
|
|
2084
2065
|
id: string;
|
|
2085
2066
|
conversationId: string;
|
|
2086
2067
|
date: Date;
|
|
2087
|
-
type: import('../types
|
|
2068
|
+
type: import('../types').MessageType;
|
|
2088
2069
|
text?: string;
|
|
2089
2070
|
imageUrl?: string[];
|
|
2090
2071
|
fileUrl?: string;
|
|
@@ -2098,7 +2079,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
2098
2079
|
id: string;
|
|
2099
2080
|
conversationId: string;
|
|
2100
2081
|
date: Date;
|
|
2101
|
-
type: import('../types
|
|
2082
|
+
type: import('../types').MessageType;
|
|
2102
2083
|
text?: string;
|
|
2103
2084
|
imageUrl?: string[];
|
|
2104
2085
|
fileUrl?: string;
|
|
@@ -2117,7 +2098,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
2117
2098
|
id: string;
|
|
2118
2099
|
conversationId: string;
|
|
2119
2100
|
date: Date;
|
|
2120
|
-
type: import('../types
|
|
2101
|
+
type: import('../types').MessageType;
|
|
2121
2102
|
text?: string;
|
|
2122
2103
|
imageUrl?: string[];
|
|
2123
2104
|
fileUrl?: string;
|
|
@@ -2134,7 +2115,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
2134
2115
|
id: string;
|
|
2135
2116
|
conversationId: string;
|
|
2136
2117
|
date: Date;
|
|
2137
|
-
type: import('../types
|
|
2118
|
+
type: import('../types').MessageType;
|
|
2138
2119
|
text?: string;
|
|
2139
2120
|
imageUrl?: string[];
|
|
2140
2121
|
fileUrl?: string;
|
|
@@ -2163,7 +2144,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
2163
2144
|
id: string;
|
|
2164
2145
|
conversationId: string;
|
|
2165
2146
|
date: Date;
|
|
2166
|
-
type: import('../types
|
|
2147
|
+
type: import('../types').MessageType;
|
|
2167
2148
|
text?: string;
|
|
2168
2149
|
imageUrl?: string[];
|
|
2169
2150
|
fileUrl?: string;
|
|
@@ -2178,12 +2159,12 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
2178
2159
|
};
|
|
2179
2160
|
unreadCount?: number;
|
|
2180
2161
|
serviceType?: "video-call" | "voice-call" | "chat";
|
|
2181
|
-
userType: import('../types
|
|
2162
|
+
userType: import('../types').UserRoleKey[];
|
|
2182
2163
|
};
|
|
2183
2164
|
id: string;
|
|
2184
2165
|
conversationId: string;
|
|
2185
2166
|
date: Date;
|
|
2186
|
-
type: import('../types
|
|
2167
|
+
type: import('../types').MessageType;
|
|
2187
2168
|
text?: string;
|
|
2188
2169
|
imageUrl?: string[];
|
|
2189
2170
|
fileUrl?: string;
|
|
@@ -2197,7 +2178,7 @@ export declare const useMessagesStore: import('pinia').StoreDefinition<"messages
|
|
|
2197
2178
|
id: string;
|
|
2198
2179
|
conversationId: string;
|
|
2199
2180
|
date: Date;
|
|
2200
|
-
type: import('../types
|
|
2181
|
+
type: import('../types').MessageType;
|
|
2201
2182
|
text?: string;
|
|
2202
2183
|
imageUrl?: string[];
|
|
2203
2184
|
fileUrl?: string;
|