stream-chat-react 12.0.0-rc.1 → 12.0.0-rc.3

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 (104) hide show
  1. package/README.md +10 -0
  2. package/dist/components/Attachment/components/WaveProgressBar.d.ts +3 -1
  3. package/dist/components/Attachment/components/WaveProgressBar.js +44 -9
  4. package/dist/components/Channel/channelState.js +1 -0
  5. package/dist/components/DateSeparator/DateSeparator.js +1 -1
  6. package/dist/components/EventComponent/EventComponent.js +1 -1
  7. package/dist/components/InfiniteScrollPaginator/InfiniteScroll.js +9 -3
  8. package/dist/components/MediaRecorder/classes/MediaRecorderController.d.ts +6 -7
  9. package/dist/components/MediaRecorder/classes/MediaRecorderController.js +0 -5
  10. package/dist/components/MediaRecorder/hooks/index.d.ts +1 -1
  11. package/dist/components/MediaRecorder/hooks/useMediaRecorder.d.ts +1 -2
  12. package/dist/components/MediaRecorder/hooks/useMediaRecorder.js +1 -1
  13. package/dist/components/MediaRecorder/index.d.ts +1 -0
  14. package/dist/components/MediaRecorder/transcode/index.d.ts +6 -5
  15. package/dist/components/MediaRecorder/transcode/index.js +5 -15
  16. package/dist/components/Message/MessageSimple.js +1 -1
  17. package/dist/components/Message/MessageTimestamp.d.ts +0 -1
  18. package/dist/components/Message/MessageTimestamp.js +0 -1
  19. package/dist/components/Message/Timestamp.d.ts +0 -1
  20. package/dist/components/Message/Timestamp.js +2 -3
  21. package/dist/components/Message/renderText/remarkPlugins/keepLineBreaksPlugin.js +1 -1
  22. package/dist/components/Message/utils.js +2 -0
  23. package/dist/components/MessageInput/AttachmentPreviewList/AttachmentPreviewList.js +23 -27
  24. package/dist/components/MessageInput/AttachmentPreviewList/FileAttachmentPreview.d.ts +1 -0
  25. package/dist/components/MessageInput/AttachmentPreviewList/FileAttachmentPreview.js +1 -1
  26. package/dist/components/MessageInput/AttachmentPreviewList/ImageAttachmentPreview.js +2 -1
  27. package/dist/components/MessageInput/MessageInput.d.ts +4 -6
  28. package/dist/components/MessageInput/MessageInputFlat.js +4 -7
  29. package/dist/components/MessageInput/hooks/useAttachments.d.ts +1 -5
  30. package/dist/components/MessageInput/hooks/useAttachments.js +65 -52
  31. package/dist/components/MessageInput/hooks/useCreateMessageInputContext.js +2 -19
  32. package/dist/components/MessageInput/hooks/useMessageInputState.d.ts +2 -35
  33. package/dist/components/MessageInput/hooks/useMessageInputState.js +2 -107
  34. package/dist/components/MessageInput/hooks/usePasteHandler.js +1 -3
  35. package/dist/components/MessageInput/hooks/useSubmitHandler.js +19 -71
  36. package/dist/components/MessageInput/hooks/utils.d.ts +1 -2
  37. package/dist/components/MessageInput/icons.d.ts +0 -1
  38. package/dist/components/MessageInput/icons.js +0 -3
  39. package/dist/components/MessageInput/types.d.ts +3 -30
  40. package/dist/components/MessageList/MessageList.d.ts +3 -1
  41. package/dist/components/MessageList/MessageList.js +2 -1
  42. package/dist/components/MessageList/VirtualizedMessageList.d.ts +3 -1
  43. package/dist/components/MessageList/VirtualizedMessageList.js +3 -3
  44. package/dist/components/MessageList/VirtualizedMessageListComponents.js +3 -2
  45. package/dist/components/MessageList/hooks/MessageList/useEnrichedMessages.d.ts +2 -1
  46. package/dist/components/MessageList/hooks/MessageList/useEnrichedMessages.js +3 -3
  47. package/dist/components/MessageList/utils.d.ts +1 -1
  48. package/dist/components/MessageList/utils.js +16 -6
  49. package/dist/components/ReactFileUtilities/types.d.ts +0 -29
  50. package/dist/components/ReactFileUtilities/utils.d.ts +2 -0
  51. package/dist/components/ReactFileUtilities/utils.js +2 -0
  52. package/dist/context/ChannelActionContext.d.ts +2 -2
  53. package/dist/context/MessageInputContext.d.ts +1 -5
  54. package/dist/css/v2/emoji-replacement.css +1 -1
  55. package/dist/css/v2/index.css +2 -2
  56. package/dist/css/v2/index.layout.css +2 -2
  57. package/dist/i18n/Streami18n.d.ts +2 -0
  58. package/dist/i18n/de.json +3 -1
  59. package/dist/i18n/en.json +3 -1
  60. package/dist/i18n/es.json +3 -1
  61. package/dist/i18n/fr.json +3 -1
  62. package/dist/i18n/hi.json +3 -1
  63. package/dist/i18n/it.json +3 -1
  64. package/dist/i18n/ja.json +3 -1
  65. package/dist/i18n/ko.json +3 -1
  66. package/dist/i18n/nl.json +3 -1
  67. package/dist/i18n/pt.json +3 -1
  68. package/dist/i18n/ru.json +3 -1
  69. package/dist/i18n/tr.json +3 -1
  70. package/dist/i18n/utils.d.ts +3 -3
  71. package/dist/index.cjs.js +1987 -12143
  72. package/dist/index.cjs.js.map +4 -4
  73. package/dist/{components → plugins}/Emojis/EmojiPicker.js +1 -1
  74. package/dist/plugins/Emojis/icons.d.ts +2 -0
  75. package/dist/plugins/Emojis/icons.js +4 -0
  76. package/dist/{components → plugins}/Emojis/index.cjs.js +23 -22
  77. package/dist/plugins/Emojis/index.cjs.js.map +7 -0
  78. package/dist/plugins/Emojis/index.d.ts +2 -0
  79. package/dist/plugins/Emojis/index.js +2 -0
  80. package/dist/plugins/encoders/mp3.cjs.js +111 -0
  81. package/dist/plugins/encoders/mp3.cjs.js.map +7 -0
  82. package/dist/{components/MediaRecorder/transcode → plugins/encoders}/mp3.js +3 -3
  83. package/dist/scss/v2/Autocomplete/Autocomplete-layout.scss +1 -1
  84. package/dist/scss/v2/Autocomplete/Autocomplete-theme.scss +4 -2
  85. package/dist/scss/v2/Avatar/Avatar-layout.scss +31 -23
  86. package/dist/scss/v2/ChannelList/ChannelList-layout.scss +0 -5
  87. package/dist/scss/v2/ChannelSearch/ChannelSearch-layout.scss +1 -0
  88. package/dist/scss/v2/EditMessageForm/EditMessageForm-theme.scss +9 -9
  89. package/dist/scss/v2/Message/Message-layout.scss +37 -6
  90. package/dist/scss/v2/MessageReactions/MessageReactionsSelector-layout.scss +11 -0
  91. package/dist/scss/v2/MessageReactions/MessageReactionsSelector-theme.scss +5 -0
  92. package/dist/scss/v2/_emoji-replacement.scss +4 -2
  93. package/package.json +17 -7
  94. package/dist/components/Emojis/index.cjs.js.map +0 -7
  95. package/dist/components/Emojis/index.d.ts +0 -1
  96. package/dist/components/Emojis/index.js +0 -1
  97. package/dist/components/MessageInput/AttachmentPreviewList/UploadPreviewItem.d.ts +0 -11
  98. package/dist/components/MessageInput/AttachmentPreviewList/UploadPreviewItem.js +0 -51
  99. package/dist/components/MessageInput/hooks/useFileUploads.d.ts +0 -7
  100. package/dist/components/MessageInput/hooks/useFileUploads.js +0 -85
  101. package/dist/components/MessageInput/hooks/useImageUploads.d.ts +0 -8
  102. package/dist/components/MessageInput/hooks/useImageUploads.js +0 -94
  103. /package/dist/{components → plugins}/Emojis/EmojiPicker.d.ts +0 -0
  104. /package/dist/{components/MediaRecorder/transcode → plugins/encoders}/mp3.d.ts +0 -0
package/dist/i18n/fr.json CHANGED
@@ -13,6 +13,7 @@
13
13
  "Connection failure, reconnecting now...": "Échec de la connexion, reconnexion en cours...",
14
14
  "Delete": "Supprimer",
15
15
  "Delivered": "Publié",
16
+ "Download attachment {{ name }}": "Télécharger la pièce jointe {{ name }}",
16
17
  "Drag your files here": "Glissez vos fichiers ici",
17
18
  "Drag your files here to add to your post": "Glissez vos fichiers ici pour les ajouter à votre publication",
18
19
  "Edit Message": "Éditer un message",
@@ -97,6 +98,7 @@
97
98
  "aria/Channel list": "Liste des canaux",
98
99
  "aria/Channel search results": "Résultats de la recherche de canaux",
99
100
  "aria/Close thread": "Fermer le fil",
101
+ "aria/Download attachment": "Télécharger la pièce jointe",
100
102
  "aria/Emoji picker": "Sélecteur d'émojis",
101
103
  "aria/File input": "Entrée de fichier",
102
104
  "aria/File upload": "Téléchargement de fichier",
@@ -126,7 +128,7 @@
126
128
  "searchResultsCount_other": "{{ count }} résultats",
127
129
  "this content could not be displayed": "ce contenu n'a pu être affiché",
128
130
  "timestamp/DateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
129
- "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true; format: h:mmA) }}",
131
+ "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true) }}",
130
132
  "timestamp/SystemMessage": "{{ timestamp | timestampFormatter(format: dddd L) }}",
131
133
  "unban-command-args": "[@nomdutilisateur]",
132
134
  "unban-command-description": "Débannir un utilisateur",
package/dist/i18n/hi.json CHANGED
@@ -13,6 +13,7 @@
13
13
  "Connection failure, reconnecting now...": "कनेक्शन विफल रहा, अब पुनः कनेक्ट हो रहा है ...",
14
14
  "Delete": "डिलीट",
15
15
  "Delivered": "पहुंच गया",
16
+ "Download attachment {{ name }}": "अनुलग्नक {{ name }} डाउनलोड करें",
16
17
  "Drag your files here": "अपनी फ़ाइलें यहाँ खींचें",
17
18
  "Drag your files here to add to your post": "अपनी फ़ाइलें यहाँ खींचें और अपने पोस्ट में जोड़ने के लिए",
18
19
  "Edit Message": "मैसेज में बदलाव करे",
@@ -98,6 +99,7 @@
98
99
  "aria/Channel list": "चैनल सूची",
99
100
  "aria/Channel search results": "चैनल खोज परिणाम",
100
101
  "aria/Close thread": "थ्रेड बंद करें",
102
+ "aria/Download attachment": "अनुलग्नक डाउनलोड करें",
101
103
  "aria/Emoji picker": "इमोजी चुनने वाला",
102
104
  "aria/File input": "फ़ाइल इनपुट",
103
105
  "aria/File upload": "फ़ाइल अपलोड",
@@ -125,7 +127,7 @@
125
127
  "searchResultsCount_other": "{{ count }} परिणाम",
126
128
  "this content could not be displayed": "यह कॉन्टेंट लोड नहीं हो पाया",
127
129
  "timestamp/DateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
128
- "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true; format: h:mmA) }}",
130
+ "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true) }}",
129
131
  "timestamp/SystemMessage": "{{ timestamp | timestampFormatter(format: dddd L) }}",
130
132
  "unban-command-args": "[@उपयोगकर्तनाम]",
131
133
  "unban-command-description": "एक उपयोगकर्ता को प्रतिषेध से मुक्त करें",
package/dist/i18n/it.json CHANGED
@@ -13,6 +13,7 @@
13
13
  "Connection failure, reconnecting now...": "Connessione fallitta, riconnessione in corso...",
14
14
  "Delete": "Cancella",
15
15
  "Delivered": "Consegnato",
16
+ "Download attachment {{ name }}": "Scarica l'allegato {{ name }}",
16
17
  "Drag your files here": "Trascina i tuoi file qui",
17
18
  "Drag your files here to add to your post": "Trascina i tuoi file qui per aggiungerli al tuo post",
18
19
  "Edit Message": "Modifica messaggio",
@@ -97,6 +98,7 @@
97
98
  "aria/Channel list": "Elenco dei canali",
98
99
  "aria/Channel search results": "Risultati della ricerca dei canali",
99
100
  "aria/Close thread": "Chiudi discussione",
101
+ "aria/Download attachment": "Scarica l'allegato",
100
102
  "aria/Emoji picker": "Selettore di emoji",
101
103
  "aria/File input": "Input di file",
102
104
  "aria/File upload": "Caricamento di file",
@@ -126,7 +128,7 @@
126
128
  "searchResultsCount_other": "{{ count }} risultati",
127
129
  "this content could not be displayed": "questo contenuto non puó essere mostrato",
128
130
  "timestamp/DateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
129
- "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true; format: h:mmA) }}",
131
+ "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true) }}",
130
132
  "timestamp/SystemMessage": "{{ timestamp | timestampFormatter(format: dddd L) }}",
131
133
  "unban-command-args": "[@nomeutente]",
132
134
  "unban-command-description": "Togliere il divieto a un utente",
package/dist/i18n/ja.json CHANGED
@@ -13,6 +13,7 @@
13
13
  "Connection failure, reconnecting now...": "接続が失敗しました。再接続中...",
14
14
  "Delete": "消去",
15
15
  "Delivered": "配信しました",
16
+ "Download attachment {{ name }}": "添付ファイル {{ name }} をダウンロード",
16
17
  "Drag your files here": "ここにファイルをドラッグ",
17
18
  "Drag your files here to add to your post": "投稿に追加するためにここにファイルをドラッグ",
18
19
  "Edit Message": "メッセージを編集",
@@ -97,6 +98,7 @@
97
98
  "aria/Channel list": "チャンネル一覧",
98
99
  "aria/Channel search results": "チャンネル検索結果",
99
100
  "aria/Close thread": "スレッドを閉じる",
101
+ "aria/Download attachment": "添付ファイルをダウンロード",
100
102
  "aria/Emoji picker": "絵文字ピッカー",
101
103
  "aria/File input": "ファイル入力",
102
104
  "aria/File upload": "ファイルアップロード",
@@ -124,7 +126,7 @@
124
126
  "searchResultsCount_other": "{{ count }}件の結果",
125
127
  "this content could not be displayed": "このコンテンツは表示できませんでした",
126
128
  "timestamp/DateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
127
- "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true; format: h:mmA) }}",
129
+ "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true) }}",
128
130
  "timestamp/SystemMessage": "{{ timestamp | timestampFormatter(format: dddd L) }}",
129
131
  "unban-command-args": "[@ユーザ名]",
130
132
  "unban-command-description": "ユーザーの禁止を解除する",
package/dist/i18n/ko.json CHANGED
@@ -13,6 +13,7 @@
13
13
  "Connection failure, reconnecting now...": "연결 실패, 지금 다시 연결 중...",
14
14
  "Delete": "삭제",
15
15
  "Delivered": "배달됨",
16
+ "Download attachment {{ name }}": "첨부 파일 {{ name }} 다운로드",
16
17
  "Drag your files here": "여기로 파일을 끌어다 놓으세요",
17
18
  "Drag your files here to add to your post": "게시물에 추가하려면 파일을 여기로 끌어다 놓으세요",
18
19
  "Edit Message": "메시지 수정",
@@ -97,6 +98,7 @@
97
98
  "aria/Channel list": "채널 목록",
98
99
  "aria/Channel search results": "채널 검색 결과",
99
100
  "aria/Close thread": "스레드 닫기",
101
+ "aria/Download attachment": "첨부 파일 다운로드",
100
102
  "aria/Emoji picker": "이모지 선택기",
101
103
  "aria/File input": "파일 입력",
102
104
  "aria/File upload": "파일 업로드",
@@ -124,7 +126,7 @@
124
126
  "searchResultsCount_other": "{{ count }}개 결과",
125
127
  "this content could not be displayed": "이 콘텐츠를 표시할 수 없습니다",
126
128
  "timestamp/DateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
127
- "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true; format: h:mmA) }}",
129
+ "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true) }}",
128
130
  "timestamp/SystemMessage": "{{ timestamp | timestampFormatter(format: dddd L) }}",
129
131
  "unban-command-args": "[@사용자이름]",
130
132
  "unban-command-description": "사용자 차단 해제",
package/dist/i18n/nl.json CHANGED
@@ -13,6 +13,7 @@
13
13
  "Connection failure, reconnecting now...": "Probleem met de verbinding, opnieuw verbinding maken...",
14
14
  "Delete": "Verwijder",
15
15
  "Delivered": "Afgeleverd",
16
+ "Download attachment {{ name }}": "Bijlage {{ name }} downloaden",
16
17
  "Drag your files here": "Sleep je bestanden hier naartoe",
17
18
  "Drag your files here to add to your post": "Sleep je bestanden hier naartoe om aan je bericht toe te voegen",
18
19
  "Edit Message": "Pas bericht aan",
@@ -97,6 +98,7 @@
97
98
  "aria/Channel list": "Kanaallijst",
98
99
  "aria/Channel search results": "Zoekresultaten voor kanalen",
99
100
  "aria/Close thread": "Draad sluiten",
101
+ "aria/Download attachment": "Bijlage downloaden",
100
102
  "aria/Emoji picker": "Emoji kiezer",
101
103
  "aria/File input": "Bestandsinvoer",
102
104
  "aria/File upload": "Bestand uploaden",
@@ -124,7 +126,7 @@
124
126
  "searchResultsCount_other": "{{ count }} resultaten",
125
127
  "this content could not be displayed": "Deze inhoud kan niet weergegeven worden",
126
128
  "timestamp/DateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
127
- "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true; format: h:mmA) }}",
129
+ "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true) }}",
128
130
  "timestamp/SystemMessage": "{{ timestamp | timestampFormatter(format: dddd L) }}",
129
131
  "unban-command-args": "[@gebruikersnaam]",
130
132
  "unban-command-description": "Een gebruiker debannen",
package/dist/i18n/pt.json CHANGED
@@ -13,6 +13,7 @@
13
13
  "Connection failure, reconnecting now...": "Falha de conexão, reconectando agora...",
14
14
  "Delete": "Excluir",
15
15
  "Delivered": "Entregue",
16
+ "Download attachment {{ name }}": "Baixar anexo {{ name }}",
16
17
  "Drag your files here": "Arraste seus arquivos aqui",
17
18
  "Drag your files here to add to your post": "Arraste seus arquivos aqui para adicionar ao seu post",
18
19
  "Edit Message": "Editar Mensagem",
@@ -97,6 +98,7 @@
97
98
  "aria/Channel list": "Lista de canais",
98
99
  "aria/Channel search results": "Resultados de pesquisa de canais",
99
100
  "aria/Close thread": "Fechar tópico",
101
+ "aria/Download attachment": "Baixar anexo",
100
102
  "aria/Emoji picker": "Seletor de emojis",
101
103
  "aria/File input": "Entrada de arquivo",
102
104
  "aria/File upload": "Carregar arquivo",
@@ -126,7 +128,7 @@
126
128
  "searchResultsCount_other": "{{ count }} resultados",
127
129
  "this content could not be displayed": "este conteúdo não pôde ser exibido",
128
130
  "timestamp/DateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
129
- "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true; format: h:mmA) }}",
131
+ "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true) }}",
130
132
  "timestamp/SystemMessage": "{{ timestamp | timestampFormatter(format: dddd L) }}",
131
133
  "unban-command-args": "[@nomedeusuário]",
132
134
  "unban-command-description": "Desbanir um usuário",
package/dist/i18n/ru.json CHANGED
@@ -13,6 +13,7 @@
13
13
  "Connection failure, reconnecting now...": "Ошибка соединения, переподключение...",
14
14
  "Delete": "Удалить",
15
15
  "Delivered": "Отправлено",
16
+ "Download attachment {{ name }}": "Скачать вложение {{ name }}",
16
17
  "Drag your files here": "Перетащите ваши файлы сюда",
17
18
  "Drag your files here to add to your post": "Перетащите ваши файлы сюда, чтобы добавить их в ваш пост",
18
19
  "Edit Message": "Редактировать сообщение",
@@ -97,6 +98,7 @@
97
98
  "aria/Channel list": "Список каналов",
98
99
  "aria/Channel search results": "Результаты поиска по каналам",
99
100
  "aria/Close thread": "Закрыть тему",
101
+ "aria/Download attachment": "Скачать вложение",
100
102
  "aria/Emoji picker": "Выбор эмодзи",
101
103
  "aria/File input": "Ввод файла",
102
104
  "aria/File upload": "Загрузка файла",
@@ -128,7 +130,7 @@
128
130
  "searchResultsCount_other": "{{ count }} результатов",
129
131
  "this content could not be displayed": "Этот контент не может быть отображен в данный момент",
130
132
  "timestamp/DateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
131
- "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true; format: h:mmA) }}",
133
+ "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true) }}",
132
134
  "timestamp/SystemMessage": "{{ timestamp | timestampFormatter(format: dddd L) }}",
133
135
  "unban-command-args": "[@имяпользователя]",
134
136
  "unban-command-description": "Разблокировать пользователя",
package/dist/i18n/tr.json CHANGED
@@ -13,6 +13,7 @@
13
13
  "Connection failure, reconnecting now...": "Bağlantı hatası, tekrar bağlanılıyor...",
14
14
  "Delete": "Sil",
15
15
  "Delivered": "İletildi",
16
+ "Download attachment {{ name }}": "Ek {{ name }}'i indir",
16
17
  "Drag your files here": "Dosyalarınızı buraya sürükleyin",
17
18
  "Drag your files here to add to your post": "Gönderinize eklemek için dosyalarınızı buraya sürükleyin",
18
19
  "Edit Message": "Mesajı Düzenle",
@@ -97,6 +98,7 @@
97
98
  "aria/Channel list": "Kanaallijst",
98
99
  "aria/Channel search results": "Zoekresultaten voor kanalen",
99
100
  "aria/Close thread": "Draad sluiten",
101
+ "aria/Download attachment": "Ek indir",
100
102
  "aria/Emoji picker": "Emoji kiezer",
101
103
  "aria/File input": "Bestandsinvoer",
102
104
  "aria/File upload": "Bestand uploaden",
@@ -124,7 +126,7 @@
124
126
  "searchResultsCount_other": "{{ count }} sonuç",
125
127
  "this content could not be displayed": "bu içerik gösterilemiyor",
126
128
  "timestamp/DateSeparator": "{{ timestamp | timestampFormatter(calendar: true) }}",
127
- "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true; format: h:mmA) }}",
129
+ "timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(calendar: true) }}",
128
130
  "timestamp/SystemMessage": "{{ timestamp | timestampFormatter(format: dddd L) }}",
129
131
  "unban-command-args": "[@kullanıcıadı]",
130
132
  "unban-command-description": "Bir kullanıcının yasağını kaldır",
@@ -2,9 +2,9 @@ import { MessageContextValue, TDateTimeParser } from '../context';
2
2
  import type { TFunction } from 'i18next';
3
3
  import type { Streami18n } from './Streami18n';
4
4
  export type TimestampFormatterOptions = {
5
- calendar?: boolean | null;
6
- calendarFormats?: Record<string, string> | null;
7
- format?: string | null;
5
+ calendar?: boolean;
6
+ calendarFormats?: Record<string, string>;
7
+ format?: string;
8
8
  };
9
9
  type DateFormatterOptions = TimestampFormatterOptions & {
10
10
  formatDate?: MessageContextValue['formatDate'];