stream-chat-react-native-core 8.2.0 → 8.3.0-beta.2
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/lib/commonjs/components/Channel/Channel.js +3 -1
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +2 -0
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js +9 -0
- package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js +8 -0
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +13 -0
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Reply/Reply.js +1 -1
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/contexts/index.js +11 -0
- package/lib/commonjs/contexts/index.js.map +1 -1
- package/lib/commonjs/contexts/liveLocationManagerContext/LiveLocationManagerContext.js +54 -0
- package/lib/commonjs/contexts/liveLocationManagerContext/LiveLocationManagerContext.js.map +1 -0
- package/lib/commonjs/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.js +50 -0
- package/lib/commonjs/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.js.map +1 -0
- package/lib/commonjs/contexts/liveLocationManagerContext/index.js +26 -0
- package/lib/commonjs/contexts/liveLocationManagerContext/index.js.map +1 -0
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +0 -3
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/i18n/en.json +11 -0
- package/lib/commonjs/i18n/es.json +8 -0
- package/lib/commonjs/i18n/fr.json +7 -0
- package/lib/commonjs/i18n/he.json +7 -0
- package/lib/commonjs/i18n/hi.json +12 -0
- package/lib/commonjs/i18n/it.json +7 -0
- package/lib/commonjs/i18n/ja.json +13 -0
- package/lib/commonjs/i18n/ko.json +13 -0
- package/lib/commonjs/i18n/nl.json +12 -0
- package/lib/commonjs/i18n/pt-br.json +7 -0
- package/lib/commonjs/i18n/ru.json +7 -0
- package/lib/commonjs/i18n/tr.json +12 -0
- package/lib/commonjs/store/SqliteClient.js +1 -1
- package/lib/commonjs/store/apis/deleteMessage.js +0 -3
- package/lib/commonjs/store/apis/deleteMessage.js.map +1 -1
- package/lib/commonjs/store/apis/getChannelActiveLocations.js +26 -0
- package/lib/commonjs/store/apis/getChannelActiveLocations.js.map +1 -0
- package/lib/commonjs/store/apis/getChannelMessages.js +12 -0
- package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
- package/lib/commonjs/store/apis/getChannels.js +7 -2
- package/lib/commonjs/store/apis/getChannels.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectActiveLocationsForChannels.js +22 -0
- package/lib/commonjs/store/apis/queries/selectActiveLocationsForChannels.js.map +1 -0
- package/lib/commonjs/store/apis/upsertChannels.js +16 -1
- package/lib/commonjs/store/apis/upsertChannels.js.map +1 -1
- package/lib/commonjs/store/apis/upsertLocation.js +31 -0
- package/lib/commonjs/store/apis/upsertLocation.js.map +1 -0
- package/lib/commonjs/store/apis/upsertMessages.js +8 -0
- package/lib/commonjs/store/apis/upsertMessages.js.map +1 -1
- package/lib/commonjs/store/mappers/mapMessageToStorable.js +3 -1
- package/lib/commonjs/store/mappers/mapMessageToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapSharedLocationToStorable.js +28 -0
- package/lib/commonjs/store/mappers/mapSharedLocationToStorable.js.map +1 -0
- package/lib/commonjs/store/mappers/mapStorableToMessage.js +3 -1
- package/lib/commonjs/store/mappers/mapStorableToMessage.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToSharedLocation.js +27 -0
- package/lib/commonjs/store/mappers/mapStorableToSharedLocation.js.map +1 -0
- package/lib/commonjs/store/schema.js +32 -0
- package/lib/commonjs/store/schema.js.map +1 -1
- package/lib/commonjs/utils/setupCommandUIMiddlewares.js +2 -1
- package/lib/commonjs/utils/setupCommandUIMiddlewares.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Channel/Channel.js +3 -1
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +2 -0
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js +9 -0
- package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/module/components/Message/Message.js +8 -0
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +13 -0
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Reply/Reply.js +1 -1
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/contexts/index.js +11 -0
- package/lib/module/contexts/index.js.map +1 -1
- package/lib/module/contexts/liveLocationManagerContext/LiveLocationManagerContext.js +54 -0
- package/lib/module/contexts/liveLocationManagerContext/LiveLocationManagerContext.js.map +1 -0
- package/lib/module/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.js +50 -0
- package/lib/module/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.js.map +1 -0
- package/lib/module/contexts/liveLocationManagerContext/index.js +26 -0
- package/lib/module/contexts/liveLocationManagerContext/index.js.map +1 -0
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +0 -3
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/i18n/en.json +11 -0
- package/lib/module/i18n/es.json +8 -0
- package/lib/module/i18n/fr.json +7 -0
- package/lib/module/i18n/he.json +7 -0
- package/lib/module/i18n/hi.json +12 -0
- package/lib/module/i18n/it.json +7 -0
- package/lib/module/i18n/ja.json +13 -0
- package/lib/module/i18n/ko.json +13 -0
- package/lib/module/i18n/nl.json +12 -0
- package/lib/module/i18n/pt-br.json +7 -0
- package/lib/module/i18n/ru.json +7 -0
- package/lib/module/i18n/tr.json +12 -0
- package/lib/module/store/SqliteClient.js +1 -1
- package/lib/module/store/apis/deleteMessage.js +0 -3
- package/lib/module/store/apis/deleteMessage.js.map +1 -1
- package/lib/module/store/apis/getChannelActiveLocations.js +26 -0
- package/lib/module/store/apis/getChannelActiveLocations.js.map +1 -0
- package/lib/module/store/apis/getChannelMessages.js +12 -0
- package/lib/module/store/apis/getChannelMessages.js.map +1 -1
- package/lib/module/store/apis/getChannels.js +7 -2
- package/lib/module/store/apis/getChannels.js.map +1 -1
- package/lib/module/store/apis/queries/selectActiveLocationsForChannels.js +22 -0
- package/lib/module/store/apis/queries/selectActiveLocationsForChannels.js.map +1 -0
- package/lib/module/store/apis/upsertChannels.js +16 -1
- package/lib/module/store/apis/upsertChannels.js.map +1 -1
- package/lib/module/store/apis/upsertLocation.js +31 -0
- package/lib/module/store/apis/upsertLocation.js.map +1 -0
- package/lib/module/store/apis/upsertMessages.js +8 -0
- package/lib/module/store/apis/upsertMessages.js.map +1 -1
- package/lib/module/store/mappers/mapMessageToStorable.js +3 -1
- package/lib/module/store/mappers/mapMessageToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapSharedLocationToStorable.js +28 -0
- package/lib/module/store/mappers/mapSharedLocationToStorable.js.map +1 -0
- package/lib/module/store/mappers/mapStorableToMessage.js +3 -1
- package/lib/module/store/mappers/mapStorableToMessage.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToSharedLocation.js +27 -0
- package/lib/module/store/mappers/mapStorableToSharedLocation.js.map +1 -0
- package/lib/module/store/schema.js +32 -0
- package/lib/module/store/schema.js.map +1 -1
- package/lib/module/utils/setupCommandUIMiddlewares.js +2 -1
- package/lib/module/utils/setupCommandUIMiddlewares.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Channel/Channel.d.ts +1 -1
- package/lib/typescript/components/Channel/Channel.d.ts.map +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -1
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
- package/lib/typescript/components/Message/Message.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts.map +1 -1
- package/lib/typescript/components/Reply/Reply.d.ts.map +1 -1
- package/lib/typescript/contexts/index.d.ts +1 -0
- package/lib/typescript/contexts/index.d.ts.map +1 -1
- package/lib/typescript/contexts/liveLocationManagerContext/LiveLocationManagerContext.d.ts +13 -0
- package/lib/typescript/contexts/liveLocationManagerContext/LiveLocationManagerContext.d.ts.map +1 -0
- package/lib/typescript/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.d.ts +24 -0
- package/lib/typescript/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.d.ts.map +1 -0
- package/lib/typescript/contexts/liveLocationManagerContext/index.d.ts +3 -0
- package/lib/typescript/contexts/liveLocationManagerContext/index.d.ts.map +1 -0
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -1
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +5 -1
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -1
- package/lib/typescript/i18n/en.json +11 -0
- package/lib/typescript/i18n/es.json +8 -0
- package/lib/typescript/i18n/fr.json +7 -0
- package/lib/typescript/i18n/he.json +7 -0
- package/lib/typescript/i18n/hi.json +12 -0
- package/lib/typescript/i18n/it.json +7 -0
- package/lib/typescript/i18n/ja.json +13 -0
- package/lib/typescript/i18n/ko.json +13 -0
- package/lib/typescript/i18n/nl.json +12 -0
- package/lib/typescript/i18n/pt-br.json +7 -0
- package/lib/typescript/i18n/ru.json +7 -0
- package/lib/typescript/i18n/tr.json +12 -0
- package/lib/typescript/store/OfflineDB.d.ts.map +1 -1
- package/lib/typescript/store/apis/deleteMessage.d.ts.map +1 -1
- package/lib/typescript/store/apis/getChannelActiveLocations.d.ts +5 -0
- package/lib/typescript/store/apis/getChannelActiveLocations.d.ts.map +1 -0
- package/lib/typescript/store/apis/getChannelMessages.d.ts.map +1 -1
- package/lib/typescript/store/apis/getChannels.d.ts.map +1 -1
- package/lib/typescript/store/apis/queries/selectActiveLocationsForChannels.d.ts +3 -0
- package/lib/typescript/store/apis/queries/selectActiveLocationsForChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertChannels.d.ts.map +1 -1
- package/lib/typescript/store/apis/upsertLocation.d.ts +7 -0
- package/lib/typescript/store/apis/upsertLocation.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertMessages.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapMessageToStorable.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapSharedLocationToStorable.d.ts +4 -0
- package/lib/typescript/store/mappers/mapSharedLocationToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToMessage.d.ts.map +1 -1
- package/lib/typescript/store/mappers/mapStorableToSharedLocation.d.ts +4 -0
- package/lib/typescript/store/mappers/mapStorableToSharedLocation.d.ts.map +1 -0
- package/lib/typescript/store/schema.d.ts +12 -0
- package/lib/typescript/store/schema.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts +11 -0
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/lib/typescript/utils/setupCommandUIMiddlewares.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Channel/Channel.tsx +4 -0
- package/src/components/Channel/hooks/useCreateMessagesContext.ts +2 -0
- package/src/components/ChannelPreview/hooks/useLatestMessagePreview.ts +7 -0
- package/src/components/Message/Message.tsx +13 -0
- package/src/components/Message/MessageSimple/MessageContent.tsx +22 -0
- package/src/components/Reply/Reply.tsx +17 -15
- package/src/contexts/index.ts +1 -0
- package/src/contexts/liveLocationManagerContext/LiveLocationManagerContext.tsx +61 -0
- package/src/contexts/liveLocationManagerContext/hooks/useHandleLiveLocationEvents.ts +61 -0
- package/src/contexts/liveLocationManagerContext/index.ts +2 -0
- package/src/contexts/messageInputContext/MessageInputContext.tsx +1 -4
- package/src/contexts/messagesContext/MessagesContext.tsx +7 -1
- package/src/i18n/en.json +11 -0
- package/src/i18n/es.json +8 -0
- package/src/i18n/fr.json +7 -0
- package/src/i18n/he.json +7 -0
- package/src/i18n/hi.json +12 -0
- package/src/i18n/it.json +7 -0
- package/src/i18n/ja.json +13 -0
- package/src/i18n/ko.json +13 -0
- package/src/i18n/nl.json +12 -0
- package/src/i18n/pt-br.json +7 -0
- package/src/i18n/ru.json +7 -0
- package/src/i18n/tr.json +12 -0
- package/src/store/SqliteClient.ts +1 -1
- package/src/store/apis/deleteMessage.ts +0 -6
- package/src/store/apis/getChannelActiveLocations.ts +25 -0
- package/src/store/apis/getChannelMessages.ts +13 -0
- package/src/store/apis/getChannels.ts +14 -10
- package/src/store/apis/queries/selectActiveLocationsForChannels.ts +18 -0
- package/src/store/apis/upsertChannels.ts +13 -1
- package/src/store/apis/upsertLocation.ts +30 -0
- package/src/store/apis/upsertMessages.ts +9 -0
- package/src/store/mappers/mapMessageToStorable.ts +2 -0
- package/src/store/mappers/mapSharedLocationToStorable.ts +33 -0
- package/src/store/mappers/mapStorableToMessage.ts +2 -0
- package/src/store/mappers/mapStorableToSharedLocation.ts +29 -0
- package/src/store/schema.ts +50 -0
- package/src/utils/__tests__/Streami18n.test.js +4 -3
- package/src/utils/setupCommandUIMiddlewares.ts +1 -0
- package/src/version.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"+{{count}}_many": "+{{count}}",
|
|
2
3
|
"+{{count}}_one": "+{{count}}",
|
|
3
4
|
"+{{count}}_other": "+{{count}}",
|
|
4
5
|
"1 Reply": "1 Cevap",
|
|
@@ -25,6 +26,8 @@
|
|
|
25
26
|
"Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
|
|
26
27
|
"Device gallery permissions is used to take photos or videos.": "Cihaz galerisi izinleri fotoğraf veya video çekmek için kullanılır.",
|
|
27
28
|
"Do you want to send a copy of this message to a moderator for further investigation?": "Detaylı inceleme için bu mesajın kopyasını moderatöre göndermek istiyor musunuz?",
|
|
29
|
+
"Due since {{ dueSince }}": "Son tarihi {{ dueSince }} itibarıyla geçmiştir.",
|
|
30
|
+
"Due {{ timeLeft }}": "Son tarihi {{ timeLeft }}'dir.",
|
|
28
31
|
"Edit Message": "Mesajı Düzenle",
|
|
29
32
|
"Edited": "Düzenlendi",
|
|
30
33
|
"Editing Message": "Mesaj Düzenleniyor",
|
|
@@ -51,6 +54,7 @@
|
|
|
51
54
|
"Loading messages...": "Mesajlar yükleniyor...",
|
|
52
55
|
"Loading threads...": "Akışlar yükleniyor...",
|
|
53
56
|
"Loading...": "Yükleniyor...",
|
|
57
|
+
"Location": "Konum",
|
|
54
58
|
"Mark as Unread": "Okunmamış olarak işaretle",
|
|
55
59
|
"Maximum number of files reached": "Maksimum dosya sayısına ulaşıldı",
|
|
56
60
|
"Maximum votes per person": "Kişi başına maksimum oy",
|
|
@@ -86,11 +90,13 @@
|
|
|
86
90
|
"Resend": "Yeniden gönder",
|
|
87
91
|
"SEND": "GÖNDER",
|
|
88
92
|
"Search": "Ara",
|
|
93
|
+
"See all {{count}} options_many": "Tüm {{count}} seçeneklerini gör",
|
|
89
94
|
"See all {{count}} options_one": "Tüm {{count}} seçeneği gör",
|
|
90
95
|
"See all {{count}} options_other": "Tüm {{count}} seçeneği gör",
|
|
91
96
|
"Select More Photos": "Daha Fazla Fotoğraf Seçin",
|
|
92
97
|
"Select one": "Birini seç",
|
|
93
98
|
"Select one or more": "Bir veya daha fazlasını seç",
|
|
99
|
+
"Select up to {{count}}_many": "Seçenekleri {{count}} kadar seç",
|
|
94
100
|
"Select up to {{count}}_one": "{{count}} kadar seç",
|
|
95
101
|
"Select up to {{count}}_other": "{{count}} kadar seç",
|
|
96
102
|
"Send Anyway": "Yine de Gönder",
|
|
@@ -115,12 +121,16 @@
|
|
|
115
121
|
"Update your comment": "Yorumunu güncelle",
|
|
116
122
|
"Video": "Video",
|
|
117
123
|
"View Results": "Sonuçları görüntüle",
|
|
124
|
+
"View {{count}} comments_many": "Tüm {{count}} yorumları görüntüle",
|
|
118
125
|
"View {{count}} comments_one": "{{count}} yorumu görüntüle",
|
|
119
126
|
"View {{count}} comments_other": "{{count}} yorumu görüntüle",
|
|
120
127
|
"Voice message": "Sesli mesaj",
|
|
121
128
|
"Vote ended": "Oylama sona erdi",
|
|
122
129
|
"You": "Sen",
|
|
123
130
|
"You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
|
|
131
|
+
"duration/Location end at": "{{ milliseconds | durationFormatter(withSuffix: false) }}",
|
|
132
|
+
"duration/Message reminder": "{{ milliseconds | durationFormatter(withSuffix: true) }}",
|
|
133
|
+
"duration/Remind Me": "{{ milliseconds | durationFormatter(withSuffix: true) }}",
|
|
124
134
|
"replied to": "yanıtladı",
|
|
125
135
|
"timestamp/ChannelPreviewStatus": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[Dün]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[Yarın]\",\"nextWeek\":\"dddd [saat] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
126
136
|
"timestamp/ImageGalleryHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
@@ -129,6 +139,7 @@
|
|
|
129
139
|
"timestamp/MessageSystem": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
130
140
|
"timestamp/MessageTimestamp": "{{ timestamp | timestampFormatter(format: LT) }}",
|
|
131
141
|
"timestamp/PollVote": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[Dün]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[Yarın]\",\"nextWeek\":\"dddd [saat] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
142
|
+
"timestamp/ReminderNotification": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
132
143
|
"timestamp/StickyHeader": "{{ timestamp | timestampFormatter(calendar: true) }}",
|
|
133
144
|
"timestamp/ThreadListItem": "{{ timestamp | timestampFormatter(calendar: true; calendarFormats: {\"lastDay\":\"[Dün]\",\"lastWeek\":\"dddd\",\"nextDay\":\"[Yarın]\",\"nextWeek\":\"dddd [saat] LT\",\"sameDay\":\"LT\",\"sameElse\":\"L\"}) }}",
|
|
134
145
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
@@ -136,6 +147,7 @@
|
|
|
136
147
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
137
148
|
"{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
|
|
138
149
|
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
150
|
+
"{{count}} votes_many": "{{count}} oy",
|
|
139
151
|
"{{count}} votes_one": "{{count}} oy",
|
|
140
152
|
"{{count}} votes_other": "{{count}} oy",
|
|
141
153
|
"🏙 Attachment...": "🏙 Ek..."
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfflineDB.d.ts","sourceRoot":"","sources":["../../../src/store/OfflineDB.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EACV,oBAAoB,EACpB,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC3B,MAAM,aAAa,CAAC;AAKr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C,eAAe,GAAI,YAAY,qBAAqB,iCACH;IAEjD,cAAc,GAAI,YAAY,oBAAoB,kEACF;IAEhD,YAAY;;eAzCkB,CAAC;YAAuC,CAAC;aAE1D,CAAC;mEAuC+B;IAE7C,cAAc,4EAAsB;IAEpC,iBAAiB;;uDAAyB;IAE1C,cAAc;;eAxDJ,CAAC;eAGwB,CAAC;uDAqDA;IAEpC,YAAY;;;eA9De,CAAA;uDA8DK;IAEhC,aAAa;;eApEJ,CAAC;uDAoEwB;IAElC,wBAAwB;;oBAvExB,CAAF;eAAmB,CAAC;mDAuEsC;IAExD,gBAAgB;;eAvDoC,CAAA;uDAuDZ;IAExC,iBAAiB;;eA1EjB,CAAD;kDA0EuC;IAEtC,iBAAiB;;eAzEd,CAAC;uDAyEsC;IAE1C,eAAe;iBA1ER,CAAC;uDA0E8B;IAEtC,cAAc;;;eA/DgB,CAAC;uDA+DK;IAEpC,cAAc;;;eAnEF,CAAC;uDAmEuB;IAEpC,aAAa;;2BAAqB;IAElC,OAAO,sBAAwB;IAE/B,eAAe,uEAAgC;IAE/C,YAAY,yBAAmC;CAChD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteMessage.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/deleteMessage.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,GAAU,iBAAwB;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"deleteMessage.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/deleteMessage.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,GAAU,iBAAwB;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,4CAmB5F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getChannelActiveLocations.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannelActiveLocations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAMrD,eAAO,MAAM,yBAAyB,GAAU,iBAE7C;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,KAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,CAAC,CAcnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getChannelMessages.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannelMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAYnD,eAAO,MAAM,kBAAkB,GAAU,gCAGtC;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB,+
|
|
1
|
+
{"version":3,"file":"getChannelMessages.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannelMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAYnD,eAAO,MAAM,kBAAkB,GAAU,gCAGtC;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB,+CAgFA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getChannels.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"getChannels.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/getChannels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAYtD;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,GAAU,gCAG/B;IACD,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB,KAAG,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,EAAE,CA2BjD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectActiveLocationsForChannels.d.ts","sourceRoot":"","sources":["../../../../../src/store/apis/queries/selectActiveLocationsForChannels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,eAAO,MAAM,gCAAgC,GAC3C,MAAM,MAAM,EAAE,KACb,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAYjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsertChannels.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/upsertChannels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAyB,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"upsertChannels.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/upsertChannels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAyB,MAAM,aAAa,CAAC;AAY7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,cAAc,GAAU,6CAIlC;IACD,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,+BAqEA,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SharedLocationResponse } from 'stream-chat';
|
|
2
|
+
import type { PreparedQueries } from '../types';
|
|
3
|
+
export declare const upsertLocation: ({ execute, location, }: {
|
|
4
|
+
location: SharedLocationResponse;
|
|
5
|
+
execute?: boolean;
|
|
6
|
+
}) => Promise<PreparedQueries[]>;
|
|
7
|
+
//# sourceMappingURL=upsertLocation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upsertLocation.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/upsertLocation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAK1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,cAAc,GAAU,wBAGlC;IACD,QAAQ,EAAE,sBAAsB,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,+BAgBA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsertMessages.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/upsertMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"upsertMessages.d.ts","sourceRoot":"","sources":["../../../../src/store/apis/upsertMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAWjE,eAAO,MAAM,cAAc,GAAU,wBAGlC;IACD,QAAQ,EAAE,CAAC,eAAe,GAAG,YAAY,CAAC,EAAE,CAAC;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,kDA4DA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapMessageToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapMessageToStorable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAIjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,oBAAoB,GAC/B,SAAS,eAAe,GAAG,YAAY,KACtC,QAAQ,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"mapMessageToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapMessageToStorable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAIjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,oBAAoB,GAC/B,SAAS,eAAe,GAAG,YAAY,KACtC,QAAQ,CAAC,UAAU,CA0CrB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SharedLocationResponse } from 'stream-chat';
|
|
2
|
+
import type { TableRow } from '../types';
|
|
3
|
+
export declare const mapSharedLocationToStorable: (location: SharedLocationResponse) => TableRow<"locations">;
|
|
4
|
+
//# sourceMappingURL=mapSharedLocationToStorable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapSharedLocationToStorable.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapSharedLocationToStorable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAI1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,2BAA2B,GACtC,UAAU,sBAAsB,KAC/B,QAAQ,CAAC,WAAW,CAwBtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapStorableToMessage.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAQnD,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE7D,eAAO,MAAM,oBAAoB,GAAI,oEAMlC;IACD,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAC3C,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC1B,YAAY,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,EAAE,CAAC;IACjD,WAAW,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;CACrC,KAAG,
|
|
1
|
+
{"version":3,"file":"mapStorableToMessage.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAQnD,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE7D,eAAO,MAAM,oBAAoB,GAAI,oEAMlC;IACD,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAC3C,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC1B,YAAY,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,EAAE,CAAC;IACjD,WAAW,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;CACrC,KAAG,eAkCH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapStorableToSharedLocation.d.ts","sourceRoot":"","sources":["../../../../src/store/mappers/mapStorableToSharedLocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,2BAA2B,GAAI,KAAK,QAAQ,CAAC,WAAW,CAAC,KAAG,sBAwBxE,CAAC"}
|
|
@@ -97,6 +97,7 @@ export type Schema = {
|
|
|
97
97
|
messageTextUpdatedAt: string;
|
|
98
98
|
poll_id: string;
|
|
99
99
|
reactionGroups: string;
|
|
100
|
+
shared_location: string;
|
|
100
101
|
type: MessageLabel;
|
|
101
102
|
updatedAt: string;
|
|
102
103
|
text?: string;
|
|
@@ -158,6 +159,17 @@ export type Schema = {
|
|
|
158
159
|
userId: string;
|
|
159
160
|
remindAt?: string;
|
|
160
161
|
};
|
|
162
|
+
locations: {
|
|
163
|
+
channelCid: string;
|
|
164
|
+
createdAt: string;
|
|
165
|
+
createdByDeviceId: string;
|
|
166
|
+
endAt?: string;
|
|
167
|
+
latitude: number;
|
|
168
|
+
longitude: number;
|
|
169
|
+
messageId: string;
|
|
170
|
+
updatedAt: string;
|
|
171
|
+
userId: string;
|
|
172
|
+
};
|
|
161
173
|
users: {
|
|
162
174
|
id: string;
|
|
163
175
|
banned?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/store/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE9C,KAAK,MAAM,GAAG;KACX,CAAC,IAAI,MAAM,MAAM,GAAG;QACnB,OAAO,EAAE;aACN,CAAC,IAAI,MAAM,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM;SAC/B,CAAC;QACF,WAAW,CAAC,EAAE,KAAK,CAAC;YAClB,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC;YAC9C,cAAc,EAAE,GAAG,MAAM,MAAM,EAAE,CAAC;YAClC,oBAAoB,EAAE,MAAM,CAAC;YAE7B,cAAc,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,CAAC;SACpF,CAAC,CAAC;QACH,OAAO,CAAC,EAAE,KAAK,CAAC;YACd,OAAO,EAAE,KAAK,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;YAChC,IAAI,EAAE,MAAM,CAAC;YACb,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|
@@ -151,6 +151,8 @@ export declare class Streami18n {
|
|
|
151
151
|
"Device camera is used to take photos or videos.": string;
|
|
152
152
|
"Device gallery permissions is used to take photos or videos.": string;
|
|
153
153
|
"Do you want to send a copy of this message to a moderator for further investigation?": string;
|
|
154
|
+
"Due since {{ dueSince }}": string;
|
|
155
|
+
"Due {{ timeLeft }}": string;
|
|
154
156
|
"Edit Message": string;
|
|
155
157
|
Edited: string;
|
|
156
158
|
"Editing Message": string;
|
|
@@ -177,6 +179,7 @@ export declare class Streami18n {
|
|
|
177
179
|
"Loading messages...": string;
|
|
178
180
|
"Loading threads...": string;
|
|
179
181
|
"Loading...": string;
|
|
182
|
+
Location: string;
|
|
180
183
|
"Mark as Unread": string;
|
|
181
184
|
"Maximum number of files reached": string;
|
|
182
185
|
"Maximum votes per person": string;
|
|
@@ -212,11 +215,13 @@ export declare class Streami18n {
|
|
|
212
215
|
Resend: string;
|
|
213
216
|
SEND: string;
|
|
214
217
|
Search: string;
|
|
218
|
+
"See all {{count}} options_many": string;
|
|
215
219
|
"See all {{count}} options_one": string;
|
|
216
220
|
"See all {{count}} options_other": string;
|
|
217
221
|
"Select More Photos": string;
|
|
218
222
|
"Select one": string;
|
|
219
223
|
"Select one or more": string;
|
|
224
|
+
"Select up to {{count}}_many": string;
|
|
220
225
|
"Select up to {{count}}_one": string;
|
|
221
226
|
"Select up to {{count}}_other": string;
|
|
222
227
|
"Send Anyway": string;
|
|
@@ -241,12 +246,16 @@ export declare class Streami18n {
|
|
|
241
246
|
"Update your comment": string;
|
|
242
247
|
Video: string;
|
|
243
248
|
"View Results": string;
|
|
249
|
+
"View {{count}} comments_many": string;
|
|
244
250
|
"View {{count}} comments_one": string;
|
|
245
251
|
"View {{count}} comments_other": string;
|
|
246
252
|
"Voice message": string;
|
|
247
253
|
"Vote ended": string;
|
|
248
254
|
You: string;
|
|
249
255
|
"You can't send messages in this channel": string;
|
|
256
|
+
"duration/Location end at": string;
|
|
257
|
+
"duration/Message reminder": string;
|
|
258
|
+
"duration/Remind Me": string;
|
|
250
259
|
"replied to": string;
|
|
251
260
|
"timestamp/ChannelPreviewStatus": string;
|
|
252
261
|
"timestamp/ImageGalleryHeader": string;
|
|
@@ -255,6 +264,7 @@ export declare class Streami18n {
|
|
|
255
264
|
"timestamp/MessageSystem": string;
|
|
256
265
|
"timestamp/MessageTimestamp": string;
|
|
257
266
|
"timestamp/PollVote": string;
|
|
267
|
+
"timestamp/ReminderNotification": string;
|
|
258
268
|
"timestamp/StickyHeader": string;
|
|
259
269
|
"timestamp/ThreadListItem": string;
|
|
260
270
|
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": string;
|
|
@@ -262,6 +272,7 @@ export declare class Streami18n {
|
|
|
262
272
|
"{{ replyCount }} Replies": string;
|
|
263
273
|
"{{ replyCount }} Thread Replies": string;
|
|
264
274
|
"{{ user }} is typing": string;
|
|
275
|
+
"{{count}} votes_many": string;
|
|
265
276
|
"{{count}} votes_one": string;
|
|
266
277
|
"{{count}} votes_other": string;
|
|
267
278
|
"\uD83C\uDFD9 Attachment...": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Streami18n.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/Streami18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEvD,OAAO,KAAK,cAAc,MAAM,iBAAiB,CAAC;AAIlD,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAahD,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO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AAO,GAAE,iBAAsB,EAAE,aAAa,GAAE,OAAO,CAAC,aAAa,CAAM;IA0GvF;;OAEG;YACW,IAAI;IA8BlB,YAAY,GAAI,UAAU,MAAM,aAM9B;IAEF,uBAAuB,aAWrB;IAEF,qEAAqE;IACrE,cAAc,+BAA2B;IAEzC,2CAA2C;IAC3C,qBAAqB,iBAAwC;IAE7D,uEAAuE;IACvE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA2B;IAE1C;;OAEG;IACG,cAAc;;;;IAmBpB;;OAEG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,OAAO,CAAC,OAAO,cAAc,CAAC,EAC3C,iBAAiB,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC;IA+BtC,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC;IASvD;;;OAGG;IACG,WAAW,CAAC,QAAQ,EAAE,MAAM;IAsBlC,2BAA2B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW5D,8BAA8B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW/D,iBAAiB,CAAC,SAAS,EAAE,SAAS;CAQvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setupCommandUIMiddlewares.d.ts","sourceRoot":"","sources":["../../../src/utils/setupCommandUIMiddlewares.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,eAAe,EAEhB,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,yBAAyB,GAAI,iBAAiB,eAAe,
|
|
1
|
+
{"version":3,"file":"setupCommandUIMiddlewares.d.ts","sourceRoot":"","sources":["../../../src/utils/setupCommandUIMiddlewares.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,eAAe,EAEhB,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,yBAAyB,GAAI,iBAAiB,eAAe,SAqBzE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react-native-core",
|
|
3
3
|
"description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "8.
|
|
4
|
+
"version": "8.3.0-beta.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -352,6 +352,7 @@ export type ChannelPropsWithContext = Pick<ChannelContextValue, 'channel'> &
|
|
|
352
352
|
| 'MessageFooter'
|
|
353
353
|
| 'MessageHeader'
|
|
354
354
|
| 'MessageList'
|
|
355
|
+
| 'MessageLocation'
|
|
355
356
|
| 'MessageMenu'
|
|
356
357
|
| 'MessagePinnedHeader'
|
|
357
358
|
| 'MessageReplies'
|
|
@@ -634,6 +635,7 @@ const ChannelWithContext = (props: PropsWithChildren<ChannelPropsWithContext>) =
|
|
|
634
635
|
'ai_text',
|
|
635
636
|
'text',
|
|
636
637
|
'attachments',
|
|
638
|
+
'location',
|
|
637
639
|
],
|
|
638
640
|
MessageDeleted = MessageDeletedDefault,
|
|
639
641
|
MessageEditedTimestamp = MessageEditedTimestampDefault,
|
|
@@ -642,6 +644,7 @@ const ChannelWithContext = (props: PropsWithChildren<ChannelPropsWithContext>) =
|
|
|
642
644
|
MessageHeader,
|
|
643
645
|
messageId,
|
|
644
646
|
MessageList = MessageListDefault,
|
|
647
|
+
MessageLocation,
|
|
645
648
|
MessageMenu = MessageMenuDefault,
|
|
646
649
|
MessagePinnedHeader = MessagePinnedHeaderDefault,
|
|
647
650
|
MessageReactionPicker = MessageReactionPickerDefault,
|
|
@@ -1866,6 +1869,7 @@ const ChannelWithContext = (props: PropsWithChildren<ChannelPropsWithContext>) =
|
|
|
1866
1869
|
MessageFooter,
|
|
1867
1870
|
MessageHeader,
|
|
1868
1871
|
MessageList,
|
|
1872
|
+
MessageLocation,
|
|
1869
1873
|
MessageMenu,
|
|
1870
1874
|
MessagePinnedHeader,
|
|
1871
1875
|
MessageReactionPicker,
|
|
@@ -66,6 +66,7 @@ export const useCreateMessagesContext = ({
|
|
|
66
66
|
MessageFooter,
|
|
67
67
|
MessageHeader,
|
|
68
68
|
MessageList,
|
|
69
|
+
MessageLocation,
|
|
69
70
|
MessageMenu,
|
|
70
71
|
MessagePinnedHeader,
|
|
71
72
|
MessageReactionPicker,
|
|
@@ -181,6 +182,7 @@ export const useCreateMessagesContext = ({
|
|
|
181
182
|
MessageFooter,
|
|
182
183
|
MessageHeader,
|
|
183
184
|
MessageList,
|
|
185
|
+
MessageLocation,
|
|
184
186
|
MessageMenu,
|
|
185
187
|
MessagePinnedHeader,
|
|
186
188
|
MessageReactionPicker,
|
|
@@ -120,6 +120,13 @@ const getLatestMessageDisplayText = (
|
|
|
120
120
|
];
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
+
// Location messages
|
|
124
|
+
if (message.shared_location) {
|
|
125
|
+
return [
|
|
126
|
+
{ bold: false, text: '📍' },
|
|
127
|
+
{ bold: false, text: t('Location') },
|
|
128
|
+
];
|
|
129
|
+
}
|
|
123
130
|
|
|
124
131
|
if (message.text) {
|
|
125
132
|
// rough guess optimization to limit string preview to max 100 characters
|
|
@@ -444,6 +444,8 @@ const MessageWithContext = (props: MessagePropsWithContext) => {
|
|
|
444
444
|
return !!message.poll_id;
|
|
445
445
|
case 'ai_text':
|
|
446
446
|
return isAIGenerated;
|
|
447
|
+
case 'location':
|
|
448
|
+
return !!message.shared_location;
|
|
447
449
|
case 'text':
|
|
448
450
|
default:
|
|
449
451
|
return !!message.text;
|
|
@@ -917,6 +919,17 @@ const areEqual = (prevProps: MessagePropsWithContext, nextProps: MessagePropsWit
|
|
|
917
919
|
return false;
|
|
918
920
|
}
|
|
919
921
|
|
|
922
|
+
const prevSharedLocation = prevMessage.shared_location;
|
|
923
|
+
const nextSharedLocation = nextMessage.shared_location;
|
|
924
|
+
const sharedLocationEqual =
|
|
925
|
+
prevSharedLocation?.latitude === nextSharedLocation?.latitude &&
|
|
926
|
+
prevSharedLocation?.longitude === nextSharedLocation?.longitude &&
|
|
927
|
+
prevSharedLocation?.end_at === nextSharedLocation?.end_at;
|
|
928
|
+
|
|
929
|
+
if (!sharedLocationEqual) {
|
|
930
|
+
return false;
|
|
931
|
+
}
|
|
932
|
+
|
|
920
933
|
return true;
|
|
921
934
|
};
|
|
922
935
|
|
|
@@ -92,6 +92,7 @@ export type MessageContentPropsWithContext = Pick<
|
|
|
92
92
|
| 'Gallery'
|
|
93
93
|
| 'isAttachmentEqual'
|
|
94
94
|
| 'MessageError'
|
|
95
|
+
| 'MessageLocation'
|
|
95
96
|
| 'myMessageTheme'
|
|
96
97
|
| 'Reply'
|
|
97
98
|
| 'StreamingMessageView'
|
|
@@ -136,6 +137,7 @@ const MessageContentWithContext = (props: MessageContentPropsWithContext) => {
|
|
|
136
137
|
messageContentOrder,
|
|
137
138
|
messageGroupedSingleOrBottom = false,
|
|
138
139
|
MessageError,
|
|
140
|
+
MessageLocation,
|
|
139
141
|
noBorder,
|
|
140
142
|
onLongPress,
|
|
141
143
|
onPress,
|
|
@@ -339,6 +341,13 @@ const MessageContentWithContext = (props: MessageContentPropsWithContext) => {
|
|
|
339
341
|
/>
|
|
340
342
|
) : null;
|
|
341
343
|
}
|
|
344
|
+
case 'location':
|
|
345
|
+
return MessageLocation ? (
|
|
346
|
+
<MessageLocation
|
|
347
|
+
key={`message_location_${messageContentOrderIndex}`}
|
|
348
|
+
message={message}
|
|
349
|
+
/>
|
|
350
|
+
) : null;
|
|
342
351
|
case 'ai_text':
|
|
343
352
|
return isAIGenerated ? (
|
|
344
353
|
<StreamingMessageView
|
|
@@ -491,6 +500,17 @@ const areEqual = (
|
|
|
491
500
|
return false;
|
|
492
501
|
}
|
|
493
502
|
|
|
503
|
+
const prevSharedLocation = prevMessage.shared_location;
|
|
504
|
+
const nextSharedLocation = nextMessage.shared_location;
|
|
505
|
+
const sharedLocationEqual =
|
|
506
|
+
prevSharedLocation?.latitude === nextSharedLocation?.latitude &&
|
|
507
|
+
prevSharedLocation?.longitude === nextSharedLocation?.longitude &&
|
|
508
|
+
prevSharedLocation?.end_at === nextSharedLocation?.end_at;
|
|
509
|
+
|
|
510
|
+
if (!sharedLocationEqual) {
|
|
511
|
+
return false;
|
|
512
|
+
}
|
|
513
|
+
|
|
494
514
|
return true;
|
|
495
515
|
};
|
|
496
516
|
|
|
@@ -533,6 +553,7 @@ export const MessageContent = (props: MessageContentProps) => {
|
|
|
533
553
|
Gallery,
|
|
534
554
|
isAttachmentEqual,
|
|
535
555
|
MessageError,
|
|
556
|
+
MessageLocation,
|
|
536
557
|
myMessageTheme,
|
|
537
558
|
Reply,
|
|
538
559
|
StreamingMessageView,
|
|
@@ -558,6 +579,7 @@ export const MessageContent = (props: MessageContentProps) => {
|
|
|
558
579
|
message,
|
|
559
580
|
messageContentOrder,
|
|
560
581
|
MessageError,
|
|
582
|
+
MessageLocation,
|
|
561
583
|
myMessageTheme,
|
|
562
584
|
onLongPress,
|
|
563
585
|
onPress,
|
|
@@ -282,21 +282,23 @@ const ReplyWithContext = (props: ReplyPropsWithContext) => {
|
|
|
282
282
|
text:
|
|
283
283
|
quotedMessage.type === 'deleted'
|
|
284
284
|
? `_${t('Message deleted')}_`
|
|
285
|
-
:
|
|
286
|
-
?
|
|
287
|
-
:
|
|
288
|
-
?
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
: messageType === FileTypes.
|
|
294
|
-
? t('
|
|
295
|
-
: messageType === FileTypes.
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
285
|
+
: quotedMessage.shared_location
|
|
286
|
+
? '📍' + t('Location')
|
|
287
|
+
: pollName
|
|
288
|
+
? `📊 ${pollName}`
|
|
289
|
+
: quotedMessage.text
|
|
290
|
+
? quotedMessage.text.length > 170
|
|
291
|
+
? `${quotedMessage.text.slice(0, 170)}...`
|
|
292
|
+
: quotedMessage.text
|
|
293
|
+
: messageType === FileTypes.Image
|
|
294
|
+
? t('Photo')
|
|
295
|
+
: messageType === FileTypes.Video
|
|
296
|
+
? t('Video')
|
|
297
|
+
: messageType === FileTypes.File ||
|
|
298
|
+
messageType === FileTypes.Audio ||
|
|
299
|
+
messageType === FileTypes.VoiceRecording
|
|
300
|
+
? trimmedLastAttachmentTitle || ''
|
|
301
|
+
: '',
|
|
300
302
|
}}
|
|
301
303
|
onlyEmojis={onlyEmojis}
|
|
302
304
|
styles={{
|
package/src/contexts/index.ts
CHANGED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import React, { createContext, useContext, useEffect, useMemo } from 'react';
|
|
2
|
+
|
|
3
|
+
import { Platform } from 'react-native';
|
|
4
|
+
|
|
5
|
+
import { LiveLocationManager, WatchLocation } from 'stream-chat';
|
|
6
|
+
|
|
7
|
+
import { useChatContext } from '../chatContext/ChatContext';
|
|
8
|
+
|
|
9
|
+
interface LiveLocationManagerContextValue {
|
|
10
|
+
liveLocationManager: LiveLocationManager | null;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const LiveLocationManagerContext = createContext<LiveLocationManagerContextValue>({
|
|
14
|
+
liveLocationManager: null,
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
export const useLiveLocationManagerContext = () => {
|
|
18
|
+
return useContext(LiveLocationManagerContext);
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export type LiveLocationManagerProviderProps = {
|
|
22
|
+
watchLocation: WatchLocation;
|
|
23
|
+
getDeviceId?: () => string;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export const LiveLocationManagerProvider = (
|
|
27
|
+
props: React.PropsWithChildren<LiveLocationManagerProviderProps>,
|
|
28
|
+
) => {
|
|
29
|
+
const { client } = useChatContext();
|
|
30
|
+
const { watchLocation, getDeviceId, children } = props;
|
|
31
|
+
|
|
32
|
+
const liveLocationManager = useMemo(() => {
|
|
33
|
+
if (!client) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
// Create a new instance of LiveLocationManager with the client and utility functions
|
|
37
|
+
return new LiveLocationManager({
|
|
38
|
+
client,
|
|
39
|
+
getDeviceId: getDeviceId ?? (() => `react-native-${Platform.OS}-${client.userID}`),
|
|
40
|
+
watchLocation,
|
|
41
|
+
});
|
|
42
|
+
}, [client, getDeviceId, watchLocation]);
|
|
43
|
+
|
|
44
|
+
useEffect(() => {
|
|
45
|
+
if (!liveLocationManager) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
// Initialize the live location manager
|
|
49
|
+
liveLocationManager.init();
|
|
50
|
+
|
|
51
|
+
return () => {
|
|
52
|
+
liveLocationManager.unregisterSubscriptions();
|
|
53
|
+
};
|
|
54
|
+
}, [liveLocationManager]);
|
|
55
|
+
|
|
56
|
+
return (
|
|
57
|
+
<LiveLocationManagerContext.Provider value={{ liveLocationManager }}>
|
|
58
|
+
{children}
|
|
59
|
+
</LiveLocationManagerContext.Provider>
|
|
60
|
+
);
|
|
61
|
+
};
|