2021-01-07 12:06:09 -06:00
|
|
|
// Copyright 2018-2021 Signal Messenger, LLC
|
2020-10-30 15:34:04 -05:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2018-04-13 17:54:53 -04:00
|
|
|
import * as GoogleChrome from './GoogleChrome';
|
2020-02-12 13:30:58 -08:00
|
|
|
import * as Registration from './registration';
|
2018-04-13 22:14:58 -04:00
|
|
|
import { arrayBufferToObjectURL } from './arrayBufferToObjectURL';
|
2020-01-13 14:28:28 -08:00
|
|
|
import { combineNames } from './combineNames';
|
2019-09-26 12:56:31 -07:00
|
|
|
import { createBatcher } from './batcher';
|
|
|
|
import { createWaitBatcher } from './waitBatcher';
|
2020-07-27 14:15:32 -04:00
|
|
|
import { deleteForEveryone } from './deleteForEveryone';
|
2020-07-06 20:39:55 -04:00
|
|
|
import { downloadAttachment } from './downloadAttachment';
|
2021-02-24 11:07:05 -08:00
|
|
|
import { generateSecurityNumber } from './safetyNumber';
|
2020-07-29 16:20:05 -07:00
|
|
|
import { getStringForProfileChange } from './getStringForProfileChange';
|
2020-09-18 17:43:57 -04:00
|
|
|
import { getTextWithMentions } from './getTextWithMentions';
|
2020-09-09 18:50:44 -04:00
|
|
|
import { getUserAgent } from './getUserAgent';
|
2020-02-12 13:30:58 -08:00
|
|
|
import { hasExpired } from './hasExpired';
|
2021-03-04 16:44:57 -05:00
|
|
|
import { incrementMessageCounter } from './incrementMessageCounter';
|
2018-10-03 18:12:42 -07:00
|
|
|
import { isFileDangerous } from './isFileDangerous';
|
2019-01-14 13:49:58 -08:00
|
|
|
import { makeLookup } from './makeLookup';
|
2021-03-10 22:21:21 -05:00
|
|
|
import {
|
|
|
|
queueUpdateMessage,
|
|
|
|
saveNewMessageBatcher,
|
|
|
|
setBatchingStrategy,
|
|
|
|
} from './messageBatcher';
|
2020-02-12 13:30:58 -08:00
|
|
|
import { missingCaseError } from './missingCaseError';
|
2020-09-09 18:50:44 -04:00
|
|
|
import { parseRemoteClientExpiration } from './parseRemoteClientExpiration';
|
2020-10-26 07:39:45 -07:00
|
|
|
import { sleep } from './sleep';
|
2021-01-29 14:16:48 -08:00
|
|
|
import { longRunningTaskWrapper } from './longRunningTaskWrapper';
|
|
|
|
import { toWebSafeBase64, fromWebSafeBase64 } from './webSafeBase64';
|
2021-02-18 08:40:26 -08:00
|
|
|
import { mapToSupportLocale } from './mapToSupportLocale';
|
2021-03-04 12:01:34 -08:00
|
|
|
import {
|
|
|
|
sessionRecordToProtobuf,
|
|
|
|
sessionStructureToArrayBuffer,
|
|
|
|
} from './sessionTranslation';
|
2020-04-15 16:12:28 -07:00
|
|
|
import * as zkgroup from './zkgroup';
|
2021-03-12 20:22:36 -05:00
|
|
|
import { StartupQueue } from './StartupQueue';
|
2021-04-20 16:16:49 -07:00
|
|
|
import { postLinkExperience } from './postLinkExperience';
|
2021-05-25 15:40:04 -07:00
|
|
|
import { sendToGroup, sendContentMessageToGroup } from './sendToGroup';
|
2021-05-28 12:11:19 -07:00
|
|
|
import { RetryPlaceholders } from './retryPlaceholders';
|
2021-06-01 13:45:43 -07:00
|
|
|
import * as expirationTimer from './expirationTimer';
|
2021-06-15 17:44:14 -07:00
|
|
|
import { MessageController } from './MessageController';
|
2018-04-13 17:54:53 -04:00
|
|
|
|
2018-10-03 18:12:42 -07:00
|
|
|
export {
|
2021-03-04 16:44:57 -05:00
|
|
|
GoogleChrome,
|
|
|
|
Registration,
|
2021-03-12 20:22:36 -05:00
|
|
|
StartupQueue,
|
2018-10-03 18:12:42 -07:00
|
|
|
arrayBufferToObjectURL,
|
2020-01-13 14:28:28 -08:00
|
|
|
combineNames,
|
2019-09-26 12:56:31 -07:00
|
|
|
createBatcher,
|
|
|
|
createWaitBatcher,
|
2020-07-27 14:15:32 -04:00
|
|
|
deleteForEveryone,
|
2020-07-06 20:39:55 -04:00
|
|
|
downloadAttachment,
|
2021-01-29 14:16:48 -08:00
|
|
|
fromWebSafeBase64,
|
2020-06-25 20:08:58 -04:00
|
|
|
generateSecurityNumber,
|
2020-07-29 16:20:05 -07:00
|
|
|
getStringForProfileChange,
|
2020-09-18 17:43:57 -04:00
|
|
|
getTextWithMentions,
|
2020-09-09 18:50:44 -04:00
|
|
|
getUserAgent,
|
2020-02-12 13:30:58 -08:00
|
|
|
hasExpired,
|
2021-03-04 16:44:57 -05:00
|
|
|
incrementMessageCounter,
|
2018-10-03 18:12:42 -07:00
|
|
|
isFileDangerous,
|
2021-01-29 14:16:48 -08:00
|
|
|
longRunningTaskWrapper,
|
2019-01-14 13:49:58 -08:00
|
|
|
makeLookup,
|
2021-02-18 08:40:26 -08:00
|
|
|
mapToSupportLocale,
|
2021-06-15 17:44:14 -07:00
|
|
|
MessageController,
|
2018-10-03 18:12:42 -07:00
|
|
|
missingCaseError,
|
2020-09-09 18:50:44 -04:00
|
|
|
parseRemoteClientExpiration,
|
2021-04-20 16:16:49 -07:00
|
|
|
postLinkExperience,
|
2021-03-10 22:21:21 -05:00
|
|
|
queueUpdateMessage,
|
2021-05-28 12:11:19 -07:00
|
|
|
RetryPlaceholders,
|
2021-03-04 16:44:57 -05:00
|
|
|
saveNewMessageBatcher,
|
2021-05-25 15:40:04 -07:00
|
|
|
sendContentMessageToGroup,
|
|
|
|
sendToGroup,
|
2021-03-10 22:21:21 -05:00
|
|
|
setBatchingStrategy,
|
2021-03-04 12:01:34 -08:00
|
|
|
sessionRecordToProtobuf,
|
|
|
|
sessionStructureToArrayBuffer,
|
2020-10-26 07:39:45 -07:00
|
|
|
sleep,
|
2021-01-29 14:16:48 -08:00
|
|
|
toWebSafeBase64,
|
2020-04-15 16:12:28 -07:00
|
|
|
zkgroup,
|
2021-06-01 13:45:43 -07:00
|
|
|
expirationTimer,
|
2018-10-03 18:12:42 -07:00
|
|
|
};
|