vue-parley 4.0.0
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/LICENSE +21 -0
- package/README.md +276 -0
- package/dist/chat.css +3223 -0
- package/dist/chunks/Call-CTIujxDi.cjs +818 -0
- package/dist/chunks/Call-CTIujxDi.cjs.map +1 -0
- package/dist/chunks/Call-Dwuyd-Ut.mjs +818 -0
- package/dist/chunks/Call-Dwuyd-Ut.mjs.map +1 -0
- package/dist/chunks/index-D50Yn7q4.cjs +7031 -0
- package/dist/chunks/index-D50Yn7q4.cjs.map +1 -0
- package/dist/chunks/index-JU_JZkSC.mjs +7010 -0
- package/dist/chunks/index-JU_JZkSC.mjs.map +1 -0
- package/dist/chunks/session-B3KIrj3_.mjs +711 -0
- package/dist/chunks/session-B3KIrj3_.mjs.map +1 -0
- package/dist/chunks/session-BOfkV8PJ.cjs +711 -0
- package/dist/chunks/session-BOfkV8PJ.cjs.map +1 -0
- package/dist/fakes.cjs +335 -0
- package/dist/fakes.cjs.map +1 -0
- package/dist/fakes.mjs +335 -0
- package/dist/fakes.mjs.map +1 -0
- package/dist/index.cjs +24 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +24 -0
- package/dist/index.mjs.map +1 -0
- package/dist/types/app/components/ChatPage.vue.d.ts +60 -0
- package/dist/types/app/components/ChatPage.vue.d.ts.map +1 -0
- package/dist/types/app/components/call/Call.vue.d.ts +8 -0
- package/dist/types/app/components/call/Call.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/ChatBubble.vue.d.ts +64 -0
- package/dist/types/app/components/chat/ChatBubble.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/ChatInput.vue.d.ts +60 -0
- package/dist/types/app/components/chat/ChatInput.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/ChatMessages.vue.d.ts +45 -0
- package/dist/types/app/components/chat/ChatMessages.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/ChatPageBar.vue.d.ts +50 -0
- package/dist/types/app/components/chat/ChatPageBar.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/ChatProfileOverview.vue.d.ts +11 -0
- package/dist/types/app/components/chat/ChatProfileOverview.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/ChatView.vue.d.ts +244 -0
- package/dist/types/app/components/chat/ChatView.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleDivider.vue.d.ts +7 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleDivider.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleImages.vue.d.ts +13 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleImages.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleMeta.vue.d.ts +11 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleMeta.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleOptions.vue.d.ts +16 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleOptions.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleRequest.vue.d.ts +8 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleRequest.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleSelectionMark.vue.d.ts +7 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleSelectionMark.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleStatus.vue.d.ts +7 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleStatus.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleVideo.vue.d.ts +25 -0
- package/dist/types/app/components/chat/chat-bubbles/BubbleVideo.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/FileDisplay.vue.d.ts +13 -0
- package/dist/types/app/components/chat/chat-bubbles/FileDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts +14 -0
- package/dist/types/app/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/ReplyPreview.vue.d.ts +10 -0
- package/dist/types/app/components/chat/chat-bubbles/ReplyPreview.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/UploadProgressOverlay.vue.d.ts +10 -0
- package/dist/types/app/components/chat/chat-bubbles/UploadProgressOverlay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts +12 -0
- package/dist/types/app/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-input/AttachementFileDisplay.vue.d.ts +12 -0
- package/dist/types/app/components/chat/chat-input/AttachementFileDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-input/InputActionBar.vue.d.ts +13 -0
- package/dist/types/app/components/chat/chat-input/InputActionBar.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-input/InputAttachement.vue.d.ts +18 -0
- package/dist/types/app/components/chat/chat-input/InputAttachement.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-input/PermissionPopup.vue.d.ts +8 -0
- package/dist/types/app/components/chat/chat-input/PermissionPopup.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-input/RecordButton.vue.d.ts +27 -0
- package/dist/types/app/components/chat/chat-input/RecordButton.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-input/RecordingStatus.vue.d.ts +12 -0
- package/dist/types/app/components/chat/chat-input/RecordingStatus.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/chat-input/VideoRecordDisplay.vue.d.ts +26 -0
- package/dist/types/app/components/chat/chat-input/VideoRecordDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/contact/ChatContactDisplay.vue.d.ts +8 -0
- package/dist/types/app/components/chat/contact/ChatContactDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/contact/ChatList.vue.d.ts +5 -0
- package/dist/types/app/components/chat/contact/ChatList.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/contact/ChatListSearch.vue.d.ts +16 -0
- package/dist/types/app/components/chat/contact/ChatListSearch.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/contact/ContactAvatar.vue.d.ts +10 -0
- package/dist/types/app/components/chat/contact/ContactAvatar.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/contact/ContactSkeleton.vue.d.ts +3 -0
- package/dist/types/app/components/chat/contact/ContactSkeleton.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/messages/FloatingDateHeader.vue.d.ts +9 -0
- package/dist/types/app/components/chat/messages/FloatingDateHeader.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/messages/MessagesSkeleton.vue.d.ts +8 -0
- package/dist/types/app/components/chat/messages/MessagesSkeleton.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/messages/ScrollToBottomButton.vue.d.ts +11 -0
- package/dist/types/app/components/chat/messages/ScrollToBottomButton.vue.d.ts.map +1 -0
- package/dist/types/app/components/chat/profile/FileDisplay.vue.d.ts +9 -0
- package/dist/types/app/components/chat/profile/FileDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/general/ConfirmModal.vue.d.ts +21 -0
- package/dist/types/app/components/general/ConfirmModal.vue.d.ts.map +1 -0
- package/dist/types/app/components/general/FileFormatDisplay.vue.d.ts +16 -0
- package/dist/types/app/components/general/FileFormatDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/general/IconButton.vue.d.ts +13 -0
- package/dist/types/app/components/general/IconButton.vue.d.ts.map +1 -0
- package/dist/types/app/components/general/LoadingStatus.vue.d.ts +16 -0
- package/dist/types/app/components/general/LoadingStatus.vue.d.ts.map +1 -0
- package/dist/types/app/components/general/MediaImage.vue.d.ts +30 -0
- package/dist/types/app/components/general/MediaImage.vue.d.ts.map +1 -0
- package/dist/types/app/components/general/NoDataDisplay.vue.d.ts +7 -0
- package/dist/types/app/components/general/NoDataDisplay.vue.d.ts.map +1 -0
- package/dist/types/app/components/general/ResponsiveDialog.vue.d.ts +28 -0
- package/dist/types/app/components/general/ResponsiveDialog.vue.d.ts.map +1 -0
- package/dist/types/app/components/general/SafeEmojiText.vue.d.ts +10 -0
- package/dist/types/app/components/general/SafeEmojiText.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BEmojiPicker.vue.d.ts +8 -0
- package/dist/types/app/components/global/BEmojiPicker.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BIcon.vue.d.ts +11 -0
- package/dist/types/app/components/global/BIcon.vue.d.ts.map +1 -0
- package/dist/types/app/components/global/BVirtualVerticalList.vue.d.ts +30 -0
- package/dist/types/app/components/global/BVirtualVerticalList.vue.d.ts.map +1 -0
- package/dist/types/app/composables/call/media.d.ts +204 -0
- package/dist/types/app/composables/call/media.d.ts.map +1 -0
- package/dist/types/app/composables/call/peer.d.ts +39 -0
- package/dist/types/app/composables/call/peer.d.ts.map +1 -0
- package/dist/types/app/composables/call/peers.d.ts +54 -0
- package/dist/types/app/composables/call/peers.d.ts.map +1 -0
- package/dist/types/app/composables/call/session.d.ts +284 -0
- package/dist/types/app/composables/call/session.d.ts.map +1 -0
- package/dist/types/app/composables/call/signaling.d.ts +36 -0
- package/dist/types/app/composables/call/signaling.d.ts.map +1 -0
- package/dist/types/app/composables/call/useCallUi.d.ts +27 -0
- package/dist/types/app/composables/call/useCallUi.d.ts.map +1 -0
- package/dist/types/app/composables/chat/useChatRecording.d.ts +75 -0
- package/dist/types/app/composables/chat/useChatRecording.d.ts.map +1 -0
- package/dist/types/app/composables/chat/useInputDraft.d.ts +14 -0
- package/dist/types/app/composables/chat/useInputDraft.d.ts.map +1 -0
- package/dist/types/app/composables/useAppPermissions.d.ts +25 -0
- package/dist/types/app/composables/useAppPermissions.d.ts.map +1 -0
- package/dist/types/app/composables/useAppToast.d.ts +13 -0
- package/dist/types/app/composables/useAppToast.d.ts.map +1 -0
- package/dist/types/app/composables/useAttachmentPicker.d.ts +18 -0
- package/dist/types/app/composables/useAttachmentPicker.d.ts.map +1 -0
- package/dist/types/app/composables/useCall.d.ts +91 -0
- package/dist/types/app/composables/useCall.d.ts.map +1 -0
- package/dist/types/app/composables/useChatMessageList.d.ts +18 -0
- package/dist/types/app/composables/useChatMessageList.d.ts.map +1 -0
- package/dist/types/app/composables/useDate.d.ts +7 -0
- package/dist/types/app/composables/useDate.d.ts.map +1 -0
- package/dist/types/app/composables/useDevice.d.ts +32 -0
- package/dist/types/app/composables/useDevice.d.ts.map +1 -0
- package/dist/types/app/composables/useFlippedVirtualScroll.d.ts +22 -0
- package/dist/types/app/composables/useFlippedVirtualScroll.d.ts.map +1 -0
- package/dist/types/app/composables/useHostI18n.d.ts +15 -0
- package/dist/types/app/composables/useHostI18n.d.ts.map +1 -0
- package/dist/types/app/composables/useLocalI18n.d.ts +5 -0
- package/dist/types/app/composables/useLocalI18n.d.ts.map +1 -0
- package/dist/types/app/composables/useLongPress.d.ts +6 -0
- package/dist/types/app/composables/useLongPress.d.ts.map +1 -0
- package/dist/types/app/composables/useRichTextEditor.d.ts +12 -0
- package/dist/types/app/composables/useRichTextEditor.d.ts.map +1 -0
- package/dist/types/app/directives/loading.d.ts +6 -0
- package/dist/types/app/directives/loading.d.ts.map +1 -0
- package/dist/types/app/index.d.ts +31 -0
- package/dist/types/app/index.d.ts.map +1 -0
- package/dist/types/app/plugin.d.ts +28 -0
- package/dist/types/app/plugin.d.ts.map +1 -0
- package/dist/types/app/provider/callProvider.d.ts +7 -0
- package/dist/types/app/provider/callProvider.d.ts.map +1 -0
- package/dist/types/app/stores/callStore.d.ts +1626 -0
- package/dist/types/app/stores/callStore.d.ts.map +1 -0
- package/dist/types/app/stores/chatStore.d.ts +126 -0
- package/dist/types/app/stores/chatStore.d.ts.map +1 -0
- package/dist/types/app/stores/mediaStore.d.ts +18 -0
- package/dist/types/app/stores/mediaStore.d.ts.map +1 -0
- package/dist/types/app/stores/messageStores.d.ts +2460 -0
- package/dist/types/app/stores/messageStores.d.ts.map +1 -0
- package/dist/types/app/stores/profileStore.d.ts +102 -0
- package/dist/types/app/stores/profileStore.d.ts.map +1 -0
- package/dist/types/app/types/components/chat-input.d.ts +4 -0
- package/dist/types/app/types/components/chat-input.d.ts.map +1 -0
- package/dist/types/app/types/components/menu-options.d.ts +7 -0
- package/dist/types/app/types/components/menu-options.d.ts.map +1 -0
- package/dist/types/app/types/components/modal.d.ts +17 -0
- package/dist/types/app/types/components/modal.d.ts.map +1 -0
- package/dist/types/app/types/index.d.ts +257 -0
- package/dist/types/app/types/index.d.ts.map +1 -0
- package/dist/types/app/utils/emojiParser.d.ts +5 -0
- package/dist/types/app/utils/emojiParser.d.ts.map +1 -0
- package/dist/types/app/utils/format.d.ts +4 -0
- package/dist/types/app/utils/format.d.ts.map +1 -0
- package/dist/types/fakes/backend.d.ts +25 -0
- package/dist/types/fakes/backend.d.ts.map +1 -0
- package/dist/types/fakes/call.d.ts +7 -0
- package/dist/types/fakes/call.d.ts.map +1 -0
- package/dist/types/fakes/data.d.ts +13 -0
- package/dist/types/fakes/data.d.ts.map +1 -0
- package/dist/types/fakes/index.d.ts +7 -0
- package/dist/types/fakes/index.d.ts.map +1 -0
- package/dist/types/fakes.d.ts +2 -0
- package/dist/types/i18n/locales/index.d.ts +3557 -0
- package/dist/types/i18n/locales/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +98 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messageStores.d.ts","sourceRoot":"","sources":["../../../../app/stores/messageStores.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,OAAO,EACP,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AASjB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqBV,MAAM;iBAAW,OAAO,CAAC,OAAO,CAAC;;;+BAxHnC,MAAM,QAAQ,MAAM;4BAmNjB,OAAO,EAAE;4BA4DT,OAAO;mCAvH1B,MAAM,MAClB,MAAM,WACD,OAAO,CAAC,OAAO,CAAC;sCAoBc,MAAM,YAAY,OAAO,EAAE;0BA2GjC,MAAM,QAAQ,MAAM;oCAmBrC,MAAM,SAChB,MAAM,aACF,MAAM;iCApHkB,MAAM;wCAWC,MAAM,WAAW,OAAO;uCAKjD,MAAM,aACX,MAAM,WACR,OAAO,CAAC,OAAO,CAAC;;;;;;;;;;8BA5FM,MAAM,aAAa,MAAM;oCAqB7C,MAAM,aACN,MAAM,WACR,MAAM,OAAO,CAAC,IAAI,CAAC;;;;;;;;;;iYA6O9B,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { ProfileHandlers } from '../types';
|
|
2
|
+
export declare const useProfileStore: import('pinia').StoreDefinition<"profile-store", Pick<{
|
|
3
|
+
setHandlers: (val: ProfileHandlers) => void;
|
|
4
|
+
fetchMedia: (conversationId: string, page?: number, size?: number) => Promise<void>;
|
|
5
|
+
fetchFiles: (conversationId: string, page?: number, size?: number) => Promise<void>;
|
|
6
|
+
clear: (conversationId: string) => void;
|
|
7
|
+
mediaMap: globalThis.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
8
|
+
filesMap: globalThis.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
9
|
+
mediaPage: globalThis.Ref<Record<string, number>, Record<string, number>>;
|
|
10
|
+
filesPage: globalThis.Ref<Record<string, number>, Record<string, number>>;
|
|
11
|
+
mediaHasNextPage: globalThis.Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
12
|
+
userId: globalThis.Ref<string, string>;
|
|
13
|
+
userName: globalThis.Ref<string, string>;
|
|
14
|
+
userAvatar: globalThis.Ref<{
|
|
15
|
+
readonly size: number;
|
|
16
|
+
readonly type: string;
|
|
17
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
18
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
19
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
20
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
21
|
+
text: () => Promise<string>;
|
|
22
|
+
} | undefined, Blob | {
|
|
23
|
+
readonly size: number;
|
|
24
|
+
readonly type: string;
|
|
25
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
26
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
27
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
28
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
29
|
+
text: () => Promise<string>;
|
|
30
|
+
} | undefined>;
|
|
31
|
+
filesHasNextPage: globalThis.Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
32
|
+
mediaLoading: globalThis.Ref<boolean, boolean>;
|
|
33
|
+
filesLoading: globalThis.Ref<boolean, boolean>;
|
|
34
|
+
pageSize: globalThis.Ref<number, number>;
|
|
35
|
+
}, "mediaMap" | "filesMap" | "mediaPage" | "filesPage" | "mediaHasNextPage" | "userId" | "userName" | "userAvatar" | "filesHasNextPage" | "mediaLoading" | "filesLoading" | "pageSize">, Pick<{
|
|
36
|
+
setHandlers: (val: ProfileHandlers) => void;
|
|
37
|
+
fetchMedia: (conversationId: string, page?: number, size?: number) => Promise<void>;
|
|
38
|
+
fetchFiles: (conversationId: string, page?: number, size?: number) => Promise<void>;
|
|
39
|
+
clear: (conversationId: string) => void;
|
|
40
|
+
mediaMap: globalThis.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
41
|
+
filesMap: globalThis.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
42
|
+
mediaPage: globalThis.Ref<Record<string, number>, Record<string, number>>;
|
|
43
|
+
filesPage: globalThis.Ref<Record<string, number>, Record<string, number>>;
|
|
44
|
+
mediaHasNextPage: globalThis.Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
45
|
+
userId: globalThis.Ref<string, string>;
|
|
46
|
+
userName: globalThis.Ref<string, string>;
|
|
47
|
+
userAvatar: globalThis.Ref<{
|
|
48
|
+
readonly size: number;
|
|
49
|
+
readonly type: string;
|
|
50
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
51
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
52
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
53
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
54
|
+
text: () => Promise<string>;
|
|
55
|
+
} | undefined, Blob | {
|
|
56
|
+
readonly size: number;
|
|
57
|
+
readonly type: string;
|
|
58
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
59
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
60
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
61
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
62
|
+
text: () => Promise<string>;
|
|
63
|
+
} | undefined>;
|
|
64
|
+
filesHasNextPage: globalThis.Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
65
|
+
mediaLoading: globalThis.Ref<boolean, boolean>;
|
|
66
|
+
filesLoading: globalThis.Ref<boolean, boolean>;
|
|
67
|
+
pageSize: globalThis.Ref<number, number>;
|
|
68
|
+
}, never>, Pick<{
|
|
69
|
+
setHandlers: (val: ProfileHandlers) => void;
|
|
70
|
+
fetchMedia: (conversationId: string, page?: number, size?: number) => Promise<void>;
|
|
71
|
+
fetchFiles: (conversationId: string, page?: number, size?: number) => Promise<void>;
|
|
72
|
+
clear: (conversationId: string) => void;
|
|
73
|
+
mediaMap: globalThis.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
74
|
+
filesMap: globalThis.Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
75
|
+
mediaPage: globalThis.Ref<Record<string, number>, Record<string, number>>;
|
|
76
|
+
filesPage: globalThis.Ref<Record<string, number>, Record<string, number>>;
|
|
77
|
+
mediaHasNextPage: globalThis.Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
78
|
+
userId: globalThis.Ref<string, string>;
|
|
79
|
+
userName: globalThis.Ref<string, string>;
|
|
80
|
+
userAvatar: globalThis.Ref<{
|
|
81
|
+
readonly size: number;
|
|
82
|
+
readonly type: string;
|
|
83
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
84
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
85
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
86
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
87
|
+
text: () => Promise<string>;
|
|
88
|
+
} | undefined, Blob | {
|
|
89
|
+
readonly size: number;
|
|
90
|
+
readonly type: string;
|
|
91
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
92
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
93
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
94
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
95
|
+
text: () => Promise<string>;
|
|
96
|
+
} | undefined>;
|
|
97
|
+
filesHasNextPage: globalThis.Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
98
|
+
mediaLoading: globalThis.Ref<boolean, boolean>;
|
|
99
|
+
filesLoading: globalThis.Ref<boolean, boolean>;
|
|
100
|
+
pageSize: globalThis.Ref<number, number>;
|
|
101
|
+
}, "setHandlers" | "fetchMedia" | "fetchFiles" | "clear">>;
|
|
102
|
+
//# sourceMappingURL=profileStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profileStore.d.ts","sourceRoot":"","sources":["../../../../app/stores/profileStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,eAAe,EAAE,MAAM,SAAS,CAAC;AAKlE,eAAO,MAAM,eAAe;uBAGA,eAAe;iCAkBvB,MAAM,SAChB,MAAM,SACN,MAAM;iCAsBI,MAAM,SAChB,MAAM,SACN,MAAM;4BAqBiB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAjEX,eAAe;iCAkBvB,MAAM,SAChB,MAAM,SACN,MAAM;iCAsBI,MAAM,SAChB,MAAM,SACN,MAAM;4BAqBiB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAjEX,eAAe;iCAkBvB,MAAM,SAChB,MAAM,SACN,MAAM;iCAsBI,MAAM,SAChB,MAAM,SACN,MAAM;4BAqBiB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DA2BrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-input.d.ts","sourceRoot":"","sources":["../../../../../app/types/components/chat-input.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-options.d.ts","sourceRoot":"","sources":["../../../../../app/types/components/menu-options.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type ModalState = "error" | "warning" | "success";
|
|
2
|
+
export interface Modal {
|
|
3
|
+
/**
|
|
4
|
+
* Opens the modal with the specified configuration.
|
|
5
|
+
* @param title - The main heading of the modal.
|
|
6
|
+
* @param description - The supporting text or body content.
|
|
7
|
+
* @param color - The visual state/theme ('error', 'warning', or 'success').
|
|
8
|
+
* @param action - Whether to display the primary action button (defaults to false).
|
|
9
|
+
* @param actionText - Custom label for the primary action button.
|
|
10
|
+
*/
|
|
11
|
+
openModal: (title: string, description: string, color: ModalState, action?: boolean, actionText?: string) => void;
|
|
12
|
+
/**
|
|
13
|
+
* Programmatically closes the modal and the underlying popup.
|
|
14
|
+
*/
|
|
15
|
+
closeModal: () => void;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../../app/types/components/modal.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzD,MAAM,WAAW,KAAK;IACpB;;;;;;;OAOG;IACH,SAAS,EAAE,CACT,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,UAAU,EACjB,MAAM,CAAC,EAAE,OAAO,EAChB,UAAU,CAAC,EAAE,MAAM,KAChB,IAAI,CAAC;IAEV;;OAEG;IACH,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB"}
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A WebRTC signalling payload: an SDP offer/answer, an ICE candidate, or a request for the
|
|
3
|
+
* initiator to renegotiate. The same shape simple-peer uses, so clients on the previous,
|
|
4
|
+
* simple-peer based build still interoperate.
|
|
5
|
+
*/
|
|
6
|
+
export interface SignalData {
|
|
7
|
+
type?: "transceiverRequest" | "renegotiate" | "candidate" | RTCSdpType;
|
|
8
|
+
sdp?: string;
|
|
9
|
+
candidate?: RTCIceCandidateInit;
|
|
10
|
+
renegotiate?: boolean;
|
|
11
|
+
transceiverRequest?: {
|
|
12
|
+
kind: string;
|
|
13
|
+
init?: RTCRtpTransceiverInit;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export type ThemeMode = "light" | "dark";
|
|
17
|
+
export interface CallMember extends Contact {
|
|
18
|
+
stream: MediaStream | null;
|
|
19
|
+
isScreenSharing: boolean;
|
|
20
|
+
isCameraOn: boolean;
|
|
21
|
+
isSpeaking: boolean;
|
|
22
|
+
isMuted: boolean;
|
|
23
|
+
}
|
|
24
|
+
export type status = "pending" | "approved" | "rejected" | "expired";
|
|
25
|
+
export type ServicePresence = "online" | "on-site";
|
|
26
|
+
export type UserRoleKey = "user" | "employee" | "business" | "support";
|
|
27
|
+
export type StateKeys = "" | "online" | "ended" | "active";
|
|
28
|
+
export type MessageType = "text" | "image" | "file" | "voice" | "video";
|
|
29
|
+
export interface Message {
|
|
30
|
+
id: string;
|
|
31
|
+
conversationId: string;
|
|
32
|
+
date: Date;
|
|
33
|
+
type: MessageType;
|
|
34
|
+
text?: string;
|
|
35
|
+
imageUrl?: string[];
|
|
36
|
+
fileUrl?: string;
|
|
37
|
+
fileName?: string;
|
|
38
|
+
voiceUrl?: string;
|
|
39
|
+
videoUrl?: string;
|
|
40
|
+
isEdited: boolean;
|
|
41
|
+
senderId: string;
|
|
42
|
+
isSent: boolean;
|
|
43
|
+
/** Set when the last send attempt failed, so the bubble can offer a retry. */
|
|
44
|
+
isFailed?: boolean;
|
|
45
|
+
isRead: boolean;
|
|
46
|
+
repliedTo?: Message;
|
|
47
|
+
request?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface Contact {
|
|
50
|
+
id: string;
|
|
51
|
+
name: string;
|
|
52
|
+
lastName: string;
|
|
53
|
+
isOnline: boolean;
|
|
54
|
+
/** Omit when unknown; the header then hides the "last seen" line. */
|
|
55
|
+
lastSeen?: Date;
|
|
56
|
+
imageUrl: string;
|
|
57
|
+
nationalCode?: string;
|
|
58
|
+
phoneNumber?: string;
|
|
59
|
+
isActive: boolean;
|
|
60
|
+
birthDate: Date;
|
|
61
|
+
lastMessage?: Message;
|
|
62
|
+
unreadCount?: number;
|
|
63
|
+
serviceType?: "video-call" | "voice-call" | "chat";
|
|
64
|
+
userType: UserRoleKey[];
|
|
65
|
+
}
|
|
66
|
+
export interface ChatFilter {
|
|
67
|
+
key: StateKeys;
|
|
68
|
+
label: string;
|
|
69
|
+
}
|
|
70
|
+
export interface ExtendedMessage extends Message {
|
|
71
|
+
prevMessage?: Message;
|
|
72
|
+
nextMessage?: Message;
|
|
73
|
+
isFirstInDate: boolean;
|
|
74
|
+
contact?: Contact;
|
|
75
|
+
}
|
|
76
|
+
export interface ChatProvider {
|
|
77
|
+
fetchContacts: () => Promise<Contact[]>;
|
|
78
|
+
}
|
|
79
|
+
export type CallKind = "voice-call" | "video-call";
|
|
80
|
+
export type CallMessage = {
|
|
81
|
+
type: "signal";
|
|
82
|
+
payload: {
|
|
83
|
+
signal: SignalData & {
|
|
84
|
+
sdp: string;
|
|
85
|
+
};
|
|
86
|
+
from: string;
|
|
87
|
+
to: string;
|
|
88
|
+
name: string;
|
|
89
|
+
};
|
|
90
|
+
} | {
|
|
91
|
+
type: "join";
|
|
92
|
+
payload: {
|
|
93
|
+
from: string;
|
|
94
|
+
name: string;
|
|
95
|
+
};
|
|
96
|
+
} | {
|
|
97
|
+
type: "track_type";
|
|
98
|
+
payload: {
|
|
99
|
+
from: string;
|
|
100
|
+
types: {
|
|
101
|
+
id: string;
|
|
102
|
+
type: TrackType;
|
|
103
|
+
}[];
|
|
104
|
+
};
|
|
105
|
+
} | {
|
|
106
|
+
type: "call";
|
|
107
|
+
payload: {
|
|
108
|
+
from: string;
|
|
109
|
+
name: string;
|
|
110
|
+
channel: string;
|
|
111
|
+
avatar?: string;
|
|
112
|
+
};
|
|
113
|
+
} | {
|
|
114
|
+
type: "hangup";
|
|
115
|
+
payload: {
|
|
116
|
+
from: string;
|
|
117
|
+
channel: string;
|
|
118
|
+
name?: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
export interface TurnConfig {
|
|
122
|
+
urls: string[];
|
|
123
|
+
username?: string;
|
|
124
|
+
credential?: string;
|
|
125
|
+
iceTransportPolicy?: "relay" | "all";
|
|
126
|
+
}
|
|
127
|
+
export interface CallPublishOptions {
|
|
128
|
+
retain?: boolean;
|
|
129
|
+
}
|
|
130
|
+
export type Credential = {
|
|
131
|
+
ttl: number;
|
|
132
|
+
user: string;
|
|
133
|
+
pass: string;
|
|
134
|
+
urls: string[];
|
|
135
|
+
};
|
|
136
|
+
export interface CallHandlers {
|
|
137
|
+
credential: Credential;
|
|
138
|
+
handleGenerateCred: () => Promise<void>;
|
|
139
|
+
publisher: (json: string) => Promise<void>;
|
|
140
|
+
subscriber: (callback: (message: CallMessageSchema) => Promise<void>) => Promise<number>;
|
|
141
|
+
unSubscriber: (id: number) => Promise<void>;
|
|
142
|
+
/**
|
|
143
|
+
* "relay" (the default) sends media only through the TURN servers in `credential`. "all" also
|
|
144
|
+
* allows direct connections, and works without TURN servers (e.g. on a LAN or in tests).
|
|
145
|
+
*/
|
|
146
|
+
iceTransportPolicy?: RTCIceTransportPolicy;
|
|
147
|
+
/** Logs signalling and peer events to the console. */
|
|
148
|
+
debug?: boolean;
|
|
149
|
+
}
|
|
150
|
+
export interface FetchContactsParams {
|
|
151
|
+
page: number;
|
|
152
|
+
pageSize: number;
|
|
153
|
+
state: StateKeys;
|
|
154
|
+
search?: string;
|
|
155
|
+
}
|
|
156
|
+
export interface ContactsPage {
|
|
157
|
+
data: Contact[];
|
|
158
|
+
hasNextPage: boolean;
|
|
159
|
+
}
|
|
160
|
+
export interface ChatHandlers {
|
|
161
|
+
fetchConversations(params: FetchContactsParams): Promise<ContactsPage>;
|
|
162
|
+
deleteConversation(id: string): Promise<void>;
|
|
163
|
+
/** Optional; the "end conversation" action is only offered when provided. */
|
|
164
|
+
endConversation?(id: string): Promise<void>;
|
|
165
|
+
}
|
|
166
|
+
export interface MediaDownloadOptions {
|
|
167
|
+
signal?: AbortSignal;
|
|
168
|
+
onProgress?: (percent: number) => void;
|
|
169
|
+
}
|
|
170
|
+
export interface MediaHandlers {
|
|
171
|
+
download(url: string, opts?: MediaDownloadOptions): Promise<Blob>;
|
|
172
|
+
getFileSize(url: string): Promise<number | null>;
|
|
173
|
+
}
|
|
174
|
+
export interface UploadProgressEvent {
|
|
175
|
+
uploaded: number;
|
|
176
|
+
total: number;
|
|
177
|
+
progress: number;
|
|
178
|
+
}
|
|
179
|
+
export interface SendMessageOptions {
|
|
180
|
+
onProgress?: (e: UploadProgressEvent) => void;
|
|
181
|
+
}
|
|
182
|
+
export interface FetchMessagesParams {
|
|
183
|
+
conversationId: string;
|
|
184
|
+
page: number;
|
|
185
|
+
pageSize: number;
|
|
186
|
+
}
|
|
187
|
+
export interface MessagesHandlers {
|
|
188
|
+
sendMessage(msg: Message, opts?: SendMessageOptions): Promise<Message>;
|
|
189
|
+
editMessage(id: string, text: string): Promise<Message>;
|
|
190
|
+
deleteMessages(ids: string[]): Promise<void>;
|
|
191
|
+
fetchMessages(params: FetchMessagesParams): Promise<Message[]>;
|
|
192
|
+
/** Persists that the viewer has read a conversation. Optional; without it read state stays local. */
|
|
193
|
+
markRead?(conversationId: string): Promise<void>;
|
|
194
|
+
}
|
|
195
|
+
export interface FetchProfileAttachmentsParams {
|
|
196
|
+
conversationId: string;
|
|
197
|
+
page: number;
|
|
198
|
+
pageSize: number;
|
|
199
|
+
}
|
|
200
|
+
export interface ProfileAttachmentsPage {
|
|
201
|
+
data: string[];
|
|
202
|
+
hasNextPage: boolean;
|
|
203
|
+
}
|
|
204
|
+
export interface ProfileHandlers {
|
|
205
|
+
fetchMedia(params: FetchProfileAttachmentsParams): Promise<ProfileAttachmentsPage>;
|
|
206
|
+
fetchFiles(params: FetchProfileAttachmentsParams): Promise<ProfileAttachmentsPage>;
|
|
207
|
+
}
|
|
208
|
+
export declare const CallMessageType: {
|
|
209
|
+
readonly Signal: "signal";
|
|
210
|
+
readonly Join: "join";
|
|
211
|
+
readonly TrackType: "track_type";
|
|
212
|
+
readonly Call: "call";
|
|
213
|
+
readonly Hangup: "hangup";
|
|
214
|
+
};
|
|
215
|
+
export type CallMessageType = (typeof CallMessageType)[keyof typeof CallMessageType];
|
|
216
|
+
export type TrackType = "webcam" | "screen" | "audio" | "webcam_audio";
|
|
217
|
+
export type CallMessageSchema = {
|
|
218
|
+
type: typeof CallMessageType.Signal;
|
|
219
|
+
payload: {
|
|
220
|
+
signal: SignalData & {
|
|
221
|
+
sdp: string;
|
|
222
|
+
};
|
|
223
|
+
from: string;
|
|
224
|
+
to: string;
|
|
225
|
+
name: string;
|
|
226
|
+
};
|
|
227
|
+
} | {
|
|
228
|
+
type: typeof CallMessageType.Join;
|
|
229
|
+
payload: {
|
|
230
|
+
from: string;
|
|
231
|
+
name: string;
|
|
232
|
+
};
|
|
233
|
+
} | {
|
|
234
|
+
type: typeof CallMessageType.TrackType;
|
|
235
|
+
payload: {
|
|
236
|
+
from: string;
|
|
237
|
+
types: {
|
|
238
|
+
id: string;
|
|
239
|
+
type: TrackType;
|
|
240
|
+
}[];
|
|
241
|
+
};
|
|
242
|
+
} | {
|
|
243
|
+
type: typeof CallMessageType.Call;
|
|
244
|
+
payload: {
|
|
245
|
+
from: string;
|
|
246
|
+
name: string;
|
|
247
|
+
channel: string;
|
|
248
|
+
avatar: string;
|
|
249
|
+
};
|
|
250
|
+
} | {
|
|
251
|
+
type: typeof CallMessageType.Hangup;
|
|
252
|
+
payload: {
|
|
253
|
+
from: string;
|
|
254
|
+
channel: string;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../app/types/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,oBAAoB,GAAG,aAAa,GAA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,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,GACD;IACE,IAAI,EAAE,OAAO,eAAe,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emojiParser.d.ts","sourceRoot":"","sources":["../../../../app/utils/emojiParser.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS;UAQ1B,MAAM,GAAG,OAAO;aAAW,MAAM;IAoB9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../app/utils/format.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,GAChC,OAAO,MAAM,GAAG,MAAM,EACtB,SAAQ,MAAa,KACpB,MAQF,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,WAMxC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,cAAc,MAAM,KAAG,MAYrD,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChatHandlers, MediaHandlers, MessagesHandlers, ProfileHandlers } from '../app/types';
|
|
2
|
+
import { FakeData } from './data';
|
|
3
|
+
export interface FakeBackendState {
|
|
4
|
+
failNextSend: boolean;
|
|
5
|
+
failNextDelete: boolean;
|
|
6
|
+
failNextEdit: boolean;
|
|
7
|
+
/** Every handler call, with its arguments as JSON. */
|
|
8
|
+
calls: {
|
|
9
|
+
fn: string;
|
|
10
|
+
args: unknown[];
|
|
11
|
+
}[];
|
|
12
|
+
}
|
|
13
|
+
export interface FakeBackend {
|
|
14
|
+
chat: ChatHandlers;
|
|
15
|
+
messages: MessagesHandlers;
|
|
16
|
+
media: MediaHandlers;
|
|
17
|
+
profile: ProfileHandlers;
|
|
18
|
+
state: FakeBackendState;
|
|
19
|
+
}
|
|
20
|
+
export interface FakeBackendOptions {
|
|
21
|
+
/** Simulated network latency in ms. */
|
|
22
|
+
latency?: number;
|
|
23
|
+
}
|
|
24
|
+
export declare function createFakeBackend(data: FakeData, { latency }?: FakeBackendOptions): FakeBackend;
|
|
25
|
+
//# sourceMappingURL=backend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../../../fakes/backend.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EAEb,gBAAgB,EAChB,eAAe,EAChB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;IACtB,sDAAsD;IACtD,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,OAAO,EAAE,CAAA;KAAE,EAAE,CAAC;CAC1C;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,YAAY,CAAC;IACnB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,KAAK,EAAE,aAAa,CAAC;IACrB,OAAO,EAAE,eAAe,CAAC;IACzB,KAAK,EAAE,gBAAgB,CAAC;CACzB;AAED,MAAM,WAAW,kBAAkB;IACjC,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAgBD,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,QAAQ,EACd,EAAE,OAAY,EAAE,GAAE,kBAAuB,GACxC,WAAW,CA8Jb"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CallHandlers, CallMessageSchema } from '../app/types';
|
|
2
|
+
export interface FakeCallHandlers extends CallHandlers {
|
|
3
|
+
/** Everything this tab published, oldest first. */
|
|
4
|
+
published: CallMessageSchema[];
|
|
5
|
+
}
|
|
6
|
+
export declare function createBroadcastCallHandlers(channelName?: string): FakeCallHandlers;
|
|
7
|
+
//# sourceMappingURL=call.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../fakes/call.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEpE,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,mDAAmD;IACnD,SAAS,EAAE,iBAAiB,EAAE,CAAC;CAChC;AAED,wBAAgB,2BAA2B,CACzC,WAAW,SAAuB,GACjC,gBAAgB,CA8BlB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Contact, Message } from '../app/types';
|
|
2
|
+
export interface FakeData {
|
|
3
|
+
contacts: Contact[];
|
|
4
|
+
messages: Map<string, Message[]>;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Three conversations the e2e specs rely on: c1 active, online, with calls; c2 chat-only;
|
|
8
|
+
* c3 ended.
|
|
9
|
+
*/
|
|
10
|
+
export declare function e2eData(userId: string): FakeData;
|
|
11
|
+
/** A realistic-looking Persian dataset for the demo: `count` conversations with history. */
|
|
12
|
+
export declare function demoData(userId: string, count?: number): FakeData;
|
|
13
|
+
//# sourceMappingURL=data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../fakes/data.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAErD,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;CAClC;AAsDD;;;GAGG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CA8BhD;AA8BD,4FAA4F;AAC5F,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,SAAK,GAAG,QAAQ,CAmD7D"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { createFakeBackend } from './backend';
|
|
2
|
+
export type { FakeBackend, FakeBackendOptions, FakeBackendState } from './backend';
|
|
3
|
+
export { createBroadcastCallHandlers } from './call';
|
|
4
|
+
export type { FakeCallHandlers } from './call';
|
|
5
|
+
export { demoData, e2eData } from './data';
|
|
6
|
+
export type { FakeData } from './data';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../fakes/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EAAE,WAAW,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AACnF,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AACrD,YAAY,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAC3C,YAAY,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC"}
|