UNPKG

@simplito/privmx-webendpoint

Version:

PrivMX Web Endpoint library

37 lines (36 loc) 1.18 kB
export declare const MOCK_INBOX_CREATED_EVENT: { readonly type: "inboxCreated"; readonly data: {}; readonly channel: "inbox"; readonly connectionId: 1; }; export declare const MOCK_INBOX_ENTRY_DELETED_EVENT: (inboxID: string) => { readonly type: "inboxEntryDeleted"; readonly data: {}; readonly channel: `inbox/${string}/entries`; readonly connectionId: 1; }; export declare const MOCK_STORE_CREATED_EVENT: { readonly type: "storeUpdated"; readonly data: {}; readonly channel: "store"; readonly connectionId: 1; }; export declare const MOCK_STORE_FILE_DELETED_EVENT: (storeID: string) => { readonly type: "storeFileCreated"; readonly data: {}; readonly channel: `store/${string}/files`; readonly connectionId: 1; }; export declare const MOCK_THREAD_CREATED_EVENT: { readonly type: "threadUpdated"; readonly data: {}; readonly channel: "thread"; readonly connectionId: 1; }; export declare const MOCK_THREAD_MESSAGE_DELETED_EVENT: (threadID: string) => { readonly type: "threadNewMessage"; readonly data: {}; readonly channel: `thread/${string}/messages`; readonly connectionId: 1; };