stream-chat-react-native-core 5.22.0-beta.6 → 5.22.0-beta.8

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.
Files changed (74) hide show
  1. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js +4 -4
  2. package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
  3. package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js +7 -5
  4. package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
  5. package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.test.js +8 -0
  6. package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.test.js.map +1 -0
  7. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +25 -17
  8. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  9. package/lib/commonjs/components/MessageInput/FileUploadPreview.js +30 -20
  10. package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
  11. package/lib/commonjs/components/MessageInput/MessageInput.js +1 -1
  12. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  13. package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js.map +1 -1
  14. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +7 -7
  15. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  16. package/lib/commonjs/i18n/fr.json +23 -23
  17. package/lib/commonjs/i18n/hi.json +23 -23
  18. package/lib/commonjs/i18n/it.json +23 -23
  19. package/lib/commonjs/i18n/nl.json +23 -23
  20. package/lib/commonjs/i18n/ru.json +23 -23
  21. package/lib/commonjs/i18n/tr.json +23 -23
  22. package/lib/commonjs/types/types.js.map +1 -1
  23. package/lib/commonjs/version.json +1 -1
  24. package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js +4 -4
  25. package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
  26. package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js +7 -5
  27. package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
  28. package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.test.js +8 -0
  29. package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.test.js.map +1 -0
  30. package/lib/module/components/Message/MessageSimple/utils/renderText.js +25 -17
  31. package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  32. package/lib/module/components/MessageInput/FileUploadPreview.js +30 -20
  33. package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
  34. package/lib/module/components/MessageInput/MessageInput.js +1 -1
  35. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  36. package/lib/module/components/MessageInput/UploadProgressIndicator.js.map +1 -1
  37. package/lib/module/contexts/messageInputContext/MessageInputContext.js +7 -7
  38. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  39. package/lib/module/i18n/fr.json +23 -23
  40. package/lib/module/i18n/hi.json +23 -23
  41. package/lib/module/i18n/it.json +23 -23
  42. package/lib/module/i18n/nl.json +23 -23
  43. package/lib/module/i18n/ru.json +23 -23
  44. package/lib/module/i18n/tr.json +23 -23
  45. package/lib/module/types/types.js.map +1 -1
  46. package/lib/module/version.json +1 -1
  47. package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts +1 -3
  48. package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.test.d.ts +1 -0
  49. package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts +5 -2
  50. package/lib/typescript/i18n/fr.json +23 -23
  51. package/lib/typescript/i18n/hi.json +23 -23
  52. package/lib/typescript/i18n/it.json +23 -23
  53. package/lib/typescript/i18n/nl.json +23 -23
  54. package/lib/typescript/i18n/ru.json +23 -23
  55. package/lib/typescript/i18n/tr.json +23 -23
  56. package/lib/typescript/types/types.d.ts +8 -11
  57. package/package.json +1 -1
  58. package/src/components/AttachmentPicker/components/AttachmentPickerItem.tsx +4 -4
  59. package/src/components/Message/MessageSimple/utils/generateMarkdownText.test.ts +23 -0
  60. package/src/components/Message/MessageSimple/utils/generateMarkdownText.ts +12 -13
  61. package/src/components/Message/MessageSimple/utils/renderText.tsx +12 -2
  62. package/src/components/MessageInput/FileUploadPreview.tsx +16 -1
  63. package/src/components/MessageInput/MessageInput.tsx +1 -1
  64. package/src/components/MessageInput/UploadProgressIndicator.tsx +2 -2
  65. package/src/components/MessageInput/__tests__/MessageInput.test.js +2 -2
  66. package/src/contexts/messageInputContext/MessageInputContext.tsx +2 -2
  67. package/src/i18n/fr.json +23 -23
  68. package/src/i18n/hi.json +23 -23
  69. package/src/i18n/it.json +23 -23
  70. package/src/i18n/nl.json +23 -23
  71. package/src/i18n/ru.json +23 -23
  72. package/src/i18n/tr.json +23 -23
  73. package/src/types/types.ts +8 -12
  74. package/src/version.json +1 -1
@@ -641,7 +641,7 @@ export const MessageInputProvider = <
641
641
  };
642
642
 
643
643
  const mapImageUploadToAttachment = (image: ImageUpload) => {
644
- const mime_type: string | boolean = lookup(image.file.filename as string);
644
+ const mime_type: string | boolean = lookup(image.file.name as string);
645
645
  return {
646
646
  fallback: image.file.name,
647
647
  image_url: image.url,
@@ -1006,7 +1006,7 @@ export const MessageInputProvider = <
1006
1006
  uri,
1007
1007
  width: file.width,
1008
1008
  }));
1009
- const filename = file.filename ?? uri.replace(/^(file:\/\/|content:\/\/)/, '');
1009
+ const filename = file.name ?? uri.replace(/^(file:\/\/|content:\/\/)/, '');
1010
1010
  const contentType = lookup(filename) || 'multipart/form-data';
1011
1011
  if (value.doImageUploadRequest) {
1012
1012
  response = await value.doImageUploadRequest(file, channel);
package/src/i18n/fr.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "1 Réponse",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
- "Allow access to your Gallery": "Autoriser l'accès à votre galerie",
5
- "Allow camera access in device settings": "Autoriser l'accès à la caméra dans les paramètres de l'appareil",
6
- "Also send to channel": "Envoyer également à la chaîne",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Block User": "",
9
9
  "Cancel": "",
@@ -11,11 +11,11 @@
11
11
  "Copy Message": "",
12
12
  "Delete": "",
13
13
  "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "L'appareil photo de l'appareil est utilisé pour prendre des photos ou des vidéos.",
14
+ "Device camera is used to take photos or videos.": "",
15
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
16
  "Edit Message": "",
17
17
  "Editing Message": "",
18
- "Emoji matching": "",
18
+ "Emoji matching": "Correspondance Emoji",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
@@ -26,50 +26,50 @@
26
26
  "Flag Message": "",
27
27
  "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
- "Instant Commands": "",
29
+ "Instant Commands": "Commandes Instantanées",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "",
32
32
  "Loading channels...": "",
33
33
  "Loading messages...": "",
34
34
  "Loading...": "",
35
35
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
- "Message Reactions": "Réactions aux messages",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
38
  "Message flagged": "",
39
39
  "Mute User": "",
40
- "Not supported": "",
40
+ "Not supported": "Non pris en charge",
41
41
  "Nothing yet...": "",
42
42
  "Ok": "",
43
43
  "Only visible to you": "",
44
- "Open Settings": "Ouvrir les paramètres",
45
- "Photo": "",
46
- "Photos and Videos": "Photos et vidéos",
44
+ "Open Settings": "",
45
+ "Photo": "Photo",
46
+ "Photos and Videos": "",
47
47
  "Pin to Conversation": "",
48
48
  "Pinned by": "",
49
- "Please enable access to your photos and videos so you can share them.": "Veuillez autoriser l'accès à vos photos et vidéos afin de pouvoir les partager.",
50
- "Please select a channel first": "Veuillez d'abord selectionnez un canal",
49
+ "Please enable access to your photos and videos so you can share them.": "",
50
+ "Please select a channel first": "",
51
51
  "Reconnecting...": "",
52
52
  "Reply": "",
53
53
  "Reply to Message": "",
54
54
  "Resend": "",
55
- "Search GIFs": "",
56
- "Select More Photos": "Sélectionner plus de photos",
57
- "Send a message": "",
55
+ "Search GIFs": "Rechercher des GIF",
56
+ "Select More Photos": "",
57
+ "Send a message": "Envoyer un message",
58
58
  "Sending links is not allowed in this conversation": "",
59
- "Slow mode ON": "",
59
+ "Slow mode ON": "Mode lent activé",
60
60
  "The message has been reported to a moderator.": "",
61
61
  "Thread Reply": "",
62
62
  "Unblock User": "",
63
- "Unknown User": "Utilisateur inconnu",
63
+ "Unknown User": "",
64
64
  "Unmute User": "",
65
65
  "Unpin from Conversation": "",
66
- "Unread Messages": "Messages non lus",
67
- "Video": "",
66
+ "Unread Messages": "",
67
+ "Video": "Vidéo",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} et {{ nonSelfUserLength }} autres sont en train d'écrire",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} sur {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} Réponses",
71
+ "{{ index }} of {{ photoLength }}": "",
72
+ "{{ replyCount }} Replies": "",
73
73
  "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "{{ user }} est en train d'écrire",
75
75
  "🏙 Attachment...": ""
package/src/i18n/hi.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "1 रिप्लाई",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
- "Allow access to your Gallery": "अपनी गैलरी तक पहुँचने की अनुमति दें",
5
- "Allow camera access in device settings": "डिवाइस सेटिंग्स में कैमरा एक्सेस की अनुमति दें",
6
- "Also send to channel": "चैनल को भी भेजें",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Block User": "",
9
9
  "Cancel": "",
@@ -11,11 +11,11 @@
11
11
  "Copy Message": "",
12
12
  "Delete": "",
13
13
  "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "डिवाइस कैमरे का उपयोग फ़ोटो या वीडियो लेने के लिए किया जाता है।",
14
+ "Device camera is used to take photos or videos.": "",
15
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
16
  "Edit Message": "",
17
17
  "Editing Message": "",
18
- "Emoji matching": "",
18
+ "Emoji matching": "इमोजी मिलान",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
@@ -26,50 +26,50 @@
26
26
  "Flag Message": "",
27
27
  "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
- "Instant Commands": "",
29
+ "Instant Commands": "त्वरित कमांड",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "",
32
32
  "Loading channels...": "",
33
33
  "Loading messages...": "",
34
34
  "Loading...": "",
35
35
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
- "Message Reactions": "संदेश प्रतिक्रियाएँ",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
38
  "Message flagged": "",
39
39
  "Mute User": "",
40
- "Not supported": "",
40
+ "Not supported": "समर्थित नहीं",
41
41
  "Nothing yet...": "",
42
42
  "Ok": "",
43
43
  "Only visible to you": "",
44
- "Open Settings": "सेटिंग्स खोलें",
45
- "Photo": "",
46
- "Photos and Videos": "तस्वीरें और वीडियों",
44
+ "Open Settings": "",
45
+ "Photo": "तस्वीर",
46
+ "Photos and Videos": "",
47
47
  "Pin to Conversation": "",
48
48
  "Pinned by": "",
49
- "Please enable access to your photos and videos so you can share them.": "कृपया अपनी फ़ोटो और वीडियो तक पहुंच सक्षम करें ताकि आप उन्हें साझा कर सकें।",
50
- "Please select a channel first": "कृपया पहले एक चैनल चुनें",
49
+ "Please enable access to your photos and videos so you can share them.": "",
50
+ "Please select a channel first": "",
51
51
  "Reconnecting...": "",
52
52
  "Reply": "",
53
53
  "Reply to Message": "",
54
54
  "Resend": "",
55
- "Search GIFs": "",
56
- "Select More Photos": "अधिक फ़ोटो चुनें",
57
- "Send a message": "",
55
+ "Search GIFs": "GIF खोजें",
56
+ "Select More Photos": "",
57
+ "Send a message": "एक संदेश भेजें",
58
58
  "Sending links is not allowed in this conversation": "",
59
- "Slow mode ON": "",
59
+ "Slow mode ON": "स्लो मोड चालू",
60
60
  "The message has been reported to a moderator.": "",
61
61
  "Thread Reply": "",
62
62
  "Unblock User": "",
63
- "Unknown User": "अज्ञात उपयोगकर्ता",
63
+ "Unknown User": "",
64
64
  "Unmute User": "",
65
65
  "Unpin from Conversation": "",
66
- "Unread Messages": "अपठित संदेश",
67
- "Video": "",
66
+ "Unread Messages": "",
67
+ "Video": "वीडियो",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} और {{ nonSelfUserLength }} अधिक टाइप कर रहे हैं",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} रिप्लाई",
71
+ "{{ index }} of {{ photoLength }}": "",
72
+ "{{ replyCount }} Replies": "",
73
73
  "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "{{ user }} टाइप कर रहा है",
75
75
  "🏙 Attachment...": ""
package/src/i18n/it.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "1 Risposta",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
- "Allow access to your Gallery": "Consenti l'accesso alla tua galleria",
5
- "Allow camera access in device settings": "Consenti l'accesso alla fotocamera nelle impostazioni del dispositivo",
6
- "Also send to channel": "Invia anche al canale",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Block User": "",
9
9
  "Cancel": "",
@@ -11,11 +11,11 @@
11
11
  "Copy Message": "",
12
12
  "Delete": "",
13
13
  "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "La fotocamera del dispositivo viene utilizzata per scattare foto o video.",
14
+ "Device camera is used to take photos or videos.": "",
15
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
16
  "Edit Message": "",
17
17
  "Editing Message": "",
18
- "Emoji matching": "",
18
+ "Emoji matching": "Abbinamento emoji",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
@@ -26,50 +26,50 @@
26
26
  "Flag Message": "",
27
27
  "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
- "Instant Commands": "",
29
+ "Instant Commands": "Comandi Istantanei",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "",
32
32
  "Loading channels...": "",
33
33
  "Loading messages...": "",
34
34
  "Loading...": "",
35
35
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
- "Message Reactions": "Reazioni ai Messaggi",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
38
  "Message flagged": "",
39
39
  "Mute User": "",
40
- "Not supported": "",
40
+ "Not supported": "non supportato",
41
41
  "Nothing yet...": "",
42
42
  "Ok": "",
43
43
  "Only visible to you": "",
44
- "Open Settings": "Apri Impostazioni",
45
- "Photo": "",
46
- "Photos and Videos": "Foto e Video",
44
+ "Open Settings": "",
45
+ "Photo": "Foto",
46
+ "Photos and Videos": "",
47
47
  "Pin to Conversation": "",
48
48
  "Pinned by": "",
49
- "Please enable access to your photos and videos so you can share them.": "Abilita l'accesso alle tue foto e ai tuoi video in modo da poterli condividere.",
50
- "Please select a channel first": "Seleziona un canale",
49
+ "Please enable access to your photos and videos so you can share them.": "",
50
+ "Please select a channel first": "",
51
51
  "Reconnecting...": "",
52
52
  "Reply": "",
53
53
  "Reply to Message": "",
54
54
  "Resend": "",
55
- "Search GIFs": "",
56
- "Select More Photos": "Seleziona Altre foto",
57
- "Send a message": "",
55
+ "Search GIFs": "Cerca GIF",
56
+ "Select More Photos": "",
57
+ "Send a message": "Mandare un messaggio",
58
58
  "Sending links is not allowed in this conversation": "",
59
- "Slow mode ON": "",
59
+ "Slow mode ON": "Slowmode attiva",
60
60
  "The message has been reported to a moderator.": "",
61
61
  "Thread Reply": "",
62
62
  "Unblock User": "",
63
- "Unknown User": "Utente sconosciuto",
63
+ "Unknown User": "",
64
64
  "Unmute User": "",
65
65
  "Unpin from Conversation": "",
66
- "Unread Messages": "Messaggi non letti",
67
- "Video": "",
66
+ "Unread Messages": "",
67
+ "Video": "Video",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} di {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} Risposte",
71
+ "{{ index }} of {{ photoLength }}": "",
72
+ "{{ replyCount }} Replies": "",
73
73
  "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "{{ user }} sta scrivendo",
75
75
  "🏙 Attachment...": ""
package/src/i18n/nl.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "1 Antwoord",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
- "Allow access to your Gallery": "Geef toegang tot uw galerij",
5
- "Allow camera access in device settings": "Sta cameratoegang toe in de apparaatinstellingen",
6
- "Also send to channel": "Stuur ook naar kanaal",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Block User": "",
9
9
  "Cancel": "",
@@ -11,11 +11,11 @@
11
11
  "Copy Message": "",
12
12
  "Delete": "",
13
13
  "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "De camera van het apparaat wordt gebruikt om foto's of video's te maken.",
14
+ "Device camera is used to take photos or videos.": "",
15
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
16
  "Edit Message": "",
17
17
  "Editing Message": "",
18
- "Emoji matching": "",
18
+ "Emoji matching": "Emoji-overeenkomsten",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
@@ -26,50 +26,50 @@
26
26
  "Flag Message": "",
27
27
  "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
- "Instant Commands": "",
29
+ "Instant Commands": "Directe Opdrachten",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "",
32
32
  "Loading channels...": "",
33
33
  "Loading messages...": "",
34
34
  "Loading...": "",
35
35
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
- "Message Reactions": "Bericht Reacties",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
38
  "Message flagged": "",
39
39
  "Mute User": "",
40
- "Not supported": "",
40
+ "Not supported": "niet ondersteund",
41
41
  "Nothing yet...": "",
42
42
  "Ok": "",
43
43
  "Only visible to you": "",
44
- "Open Settings": "Open instellingen",
45
- "Photo": "",
46
- "Photos and Videos": "Foto's en video's",
44
+ "Open Settings": "",
45
+ "Photo": "Foto",
46
+ "Photos and Videos": "",
47
47
  "Pin to Conversation": "",
48
48
  "Pinned by": "",
49
- "Please enable access to your photos and videos so you can share them.": "Schakel toegang tot uw foto's en video's in zodat u ze kunt delen.",
50
- "Please select a channel first": "Selecteer eerst een kanaal",
49
+ "Please enable access to your photos and videos so you can share them.": "",
50
+ "Please select a channel first": "",
51
51
  "Reconnecting...": "",
52
52
  "Reply": "",
53
53
  "Reply to Message": "",
54
54
  "Resend": "",
55
- "Search GIFs": "",
56
- "Select More Photos": "Selecteer Meer foto's",
57
- "Send a message": "",
55
+ "Search GIFs": "Zoek GIF's",
56
+ "Select More Photos": "",
57
+ "Send a message": "Stuur een bericht",
58
58
  "Sending links is not allowed in this conversation": "",
59
- "Slow mode ON": "",
59
+ "Slow mode ON": "Langzame modus aan",
60
60
  "The message has been reported to a moderator.": "",
61
61
  "Thread Reply": "",
62
62
  "Unblock User": "",
63
- "Unknown User": "Onbekende gebruiker",
63
+ "Unknown User": "",
64
64
  "Unmute User": "",
65
65
  "Unpin from Conversation": "",
66
- "Unread Messages": "Ongelezen Berichten",
67
- "Video": "",
66
+ "Unread Messages": "",
67
+ "Video": "Video",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
71
+ "{{ index }} of {{ photoLength }}": "",
72
+ "{{ replyCount }} Replies": "",
73
73
  "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "{{ user }} is aan het typen",
75
75
  "🏙 Attachment...": ""
package/src/i18n/ru.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "1 Ответ",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
- "Allow access to your Gallery": "Разрешить доступ к вашей галерее",
5
- "Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
6
- "Also send to channel": "Также отправить на канал",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Block User": "",
9
9
  "Cancel": "",
@@ -11,11 +11,11 @@
11
11
  "Copy Message": "",
12
12
  "Delete": "",
13
13
  "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "Камера устройства используется для съемки фотографий или видео.",
14
+ "Device camera is used to take photos or videos.": "",
15
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
16
  "Edit Message": "",
17
17
  "Editing Message": "",
18
- "Emoji matching": "",
18
+ "Emoji matching": "Соответствие эмодзи",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
@@ -26,50 +26,50 @@
26
26
  "Flag Message": "",
27
27
  "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
- "Instant Commands": "",
29
+ "Instant Commands": "Мгновенные Команды",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "",
32
32
  "Loading channels...": "",
33
33
  "Loading messages...": "",
34
34
  "Loading...": "",
35
35
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
- "Message Reactions": "Сообщения Реакции",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
38
  "Message flagged": "",
39
39
  "Mute User": "",
40
- "Not supported": "",
40
+ "Not supported": "не поддерживается",
41
41
  "Nothing yet...": "",
42
42
  "Ok": "",
43
43
  "Only visible to you": "",
44
- "Open Settings": "Открыть настройки",
45
- "Photo": "",
46
- "Photos and Videos": "Фото и видео",
44
+ "Open Settings": "",
45
+ "Photo": "Фото",
46
+ "Photos and Videos": "",
47
47
  "Pin to Conversation": "",
48
48
  "Pinned by": "",
49
- "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
50
- "Please select a channel first": "Пожалуйста, сначала выберите канал",
49
+ "Please enable access to your photos and videos so you can share them.": "",
50
+ "Please select a channel first": "",
51
51
  "Reconnecting...": "",
52
52
  "Reply": "",
53
53
  "Reply to Message": "",
54
54
  "Resend": "",
55
- "Search GIFs": "",
56
- "Select More Photos": "Выбрать больше фотографий",
57
- "Send a message": "",
55
+ "Search GIFs": "Поиск GIF",
56
+ "Select More Photos": "",
57
+ "Send a message": "Отправить сообщение",
58
58
  "Sending links is not allowed in this conversation": "",
59
- "Slow mode ON": "",
59
+ "Slow mode ON": "Медленный режим включен",
60
60
  "The message has been reported to a moderator.": "",
61
61
  "Thread Reply": "",
62
62
  "Unblock User": "",
63
- "Unknown User": "Неизвестный пользователь",
63
+ "Unknown User": "",
64
64
  "Unmute User": "",
65
65
  "Unpin from Conversation": "",
66
- "Unread Messages": "Непрочитанные Сообщения",
67
- "Video": "",
66
+ "Unread Messages": "",
67
+ "Video": "видео",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
71
+ "{{ index }} of {{ photoLength }}": "",
72
+ "{{ replyCount }} Replies": "",
73
73
  "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "{{ user }} пишет",
75
75
  "🏙 Attachment...": ""
package/src/i18n/tr.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "1 Reply": "1 Cevap",
2
+ "1 Reply": "",
3
3
  "1 Thread Reply": "",
4
- "Allow access to your Gallery": "Galerinize erişime izin verin",
5
- "Allow camera access in device settings": "Cihaz ayarlarında kamera erişimine izin ver",
6
- "Also send to channel": "Kanala da gönder",
4
+ "Allow access to your Gallery": "",
5
+ "Allow camera access in device settings": "",
6
+ "Also send to channel": "",
7
7
  "Are you sure you want to permanently delete this message?": "",
8
8
  "Block User": "",
9
9
  "Cancel": "",
@@ -11,11 +11,11 @@
11
11
  "Copy Message": "",
12
12
  "Delete": "",
13
13
  "Delete Message": "",
14
- "Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
14
+ "Device camera is used to take photos or videos.": "",
15
15
  "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
16
  "Edit Message": "",
17
17
  "Editing Message": "",
18
- "Emoji matching": "",
18
+ "Emoji matching": "Emoji eşleştirme",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
@@ -26,50 +26,50 @@
26
26
  "Flag Message": "",
27
27
  "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
- "Instant Commands": "",
29
+ "Instant Commands": "Anlık Komutlar",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "",
32
32
  "Loading channels...": "",
33
33
  "Loading messages...": "",
34
34
  "Loading...": "",
35
35
  "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
- "Message Reactions": "Mesaj Tepkileri",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
38
  "Message flagged": "",
39
39
  "Mute User": "",
40
- "Not supported": "",
40
+ "Not supported": "Desteklenmiyor",
41
41
  "Nothing yet...": "",
42
42
  "Ok": "",
43
43
  "Only visible to you": "",
44
- "Open Settings": "Ayarları aç",
45
- "Photo": "",
46
- "Photos and Videos": "Fotoğraflar ve Videolar",
44
+ "Open Settings": "",
45
+ "Photo": "Fotoğraf",
46
+ "Photos and Videos": "",
47
47
  "Pin to Conversation": "",
48
48
  "Pinned by": "",
49
- "Please enable access to your photos and videos so you can share them.": "Paylaşım yapabilmek için lutfen fotoğraflarınıza ve videolarınıza erişimi etkinleştirin.",
50
- "Please select a channel first": "Lütfen önce bir kanal seçiniz",
49
+ "Please enable access to your photos and videos so you can share them.": "",
50
+ "Please select a channel first": "",
51
51
  "Reconnecting...": "",
52
52
  "Reply": "",
53
53
  "Reply to Message": "",
54
54
  "Resend": "",
55
- "Search GIFs": "",
56
- "Select More Photos": "Daha Fazla Fotoğraf Seçin",
57
- "Send a message": "",
55
+ "Search GIFs": "GIF Ara",
56
+ "Select More Photos": "",
57
+ "Send a message": "Mesaj gönder",
58
58
  "Sending links is not allowed in this conversation": "",
59
- "Slow mode ON": "",
59
+ "Slow mode ON": "Yavaş Mod Açık",
60
60
  "The message has been reported to a moderator.": "",
61
61
  "Thread Reply": "",
62
62
  "Unblock User": "",
63
- "Unknown User": "Bilinmeyen kullanıcı",
63
+ "Unknown User": "",
64
64
  "Unmute User": "",
65
65
  "Unpin from Conversation": "",
66
- "Unread Messages": "Okunmamış Mesajlar",
67
- "Video": "",
66
+ "Unread Messages": "",
67
+ "Video": "Video",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
71
- "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
72
- "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
71
+ "{{ index }} of {{ photoLength }}": "",
72
+ "{{ replyCount }} Replies": "",
73
73
  "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "{{ user }} yazıyor",
75
75
  "🏙 Attachment...": ""
@@ -1,33 +1,29 @@
1
1
  import type { ExtendableGenerics, LiteralStringForUnion } from 'stream-chat';
2
2
 
3
3
  export type Asset = {
4
- duration: number | null;
5
- filename: string;
4
+ duration: number;
6
5
  height: number;
6
+ name: string;
7
7
  source: 'camera' | 'picker';
8
8
  type: string;
9
9
  uri: string;
10
10
  width: number;
11
- fileSize?: number;
12
11
  id?: string;
13
- size?: number | string;
12
+ size?: number;
14
13
  };
15
14
 
16
- export type FileAssetType = {
15
+ export type File = {
17
16
  name: string;
17
+ duration?: number;
18
+ id?: string;
18
19
  mimeType?: string;
19
- size?: number | string;
20
+ size?: number;
20
21
  // The uri should be of type `string`. But is `string|undefined` because the same type is used for the response from Stream's Attachment. This shall be fixed.
21
22
  uri?: string;
22
23
  };
23
24
 
24
- export type File = FileAssetType & {
25
- duration?: string | null;
26
- id?: string;
27
- };
28
-
29
25
  export type DefaultAttachmentType = UnknownType & {
30
- file_size?: number | string;
26
+ file_size?: number;
31
27
  mime_type?: string;
32
28
  originalFile?: File;
33
29
  };
package/src/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "5.22.0-beta.6"
2
+ "version": "5.22.0-beta.8"
3
3
  }