signal-desktop/ts/util/index.ts

72 lines
2.3 KiB
TypeScript
Raw Normal View History

2021-01-07 18:06:09 +00:00
// Copyright 2018-2021 Signal Messenger, LLC
2020-10-30 20:34:04 +00:00
// SPDX-License-Identifier: AGPL-3.0-only
import * as GoogleChrome from './GoogleChrome';
import * as Registration from './registration';
2018-04-14 02:14:58 +00:00
import { arrayBufferToObjectURL } from './arrayBufferToObjectURL';
import { combineNames } from './combineNames';
2019-09-26 19:56:31 +00:00
import { createBatcher } from './batcher';
import { createWaitBatcher } from './waitBatcher';
import { deleteForEveryone } from './deleteForEveryone';
import { downloadAttachment } from './downloadAttachment';
import { generateSecurityNumber } from './safetyNumber';
import { getStringForProfileChange } from './getStringForProfileChange';
2020-09-18 21:43:57 +00:00
import { getTextWithMentions } from './getTextWithMentions';
import { getUserAgent } from './getUserAgent';
import { hasExpired } from './hasExpired';
2021-03-04 21:44:57 +00:00
import { incrementMessageCounter } from './incrementMessageCounter';
2018-10-04 01:12:42 +00:00
import { isFileDangerous } from './isFileDangerous';
2019-01-14 21:49:58 +00:00
import { makeLookup } from './makeLookup';
import {
queueUpdateMessage,
saveNewMessageBatcher,
setBatchingStrategy,
} from './messageBatcher';
import { missingCaseError } from './missingCaseError';
import { parseRemoteClientExpiration } from './parseRemoteClientExpiration';
import { sleep } from './sleep';
import { longRunningTaskWrapper } from './longRunningTaskWrapper';
import { toWebSafeBase64, fromWebSafeBase64 } from './webSafeBase64';
2021-02-18 16:40:26 +00:00
import { mapToSupportLocale } from './mapToSupportLocale';
import {
sessionRecordToProtobuf,
sessionStructureToArrayBuffer,
} from './sessionTranslation';
import * as zkgroup from './zkgroup';
2021-03-13 01:22:36 +00:00
import { StartupQueue } from './StartupQueue';
import { postLinkExperience } from './postLinkExperience';
2018-10-04 01:12:42 +00:00
export {
2021-03-04 21:44:57 +00:00
GoogleChrome,
Registration,
2021-03-13 01:22:36 +00:00
StartupQueue,
2018-10-04 01:12:42 +00:00
arrayBufferToObjectURL,
combineNames,
2019-09-26 19:56:31 +00:00
createBatcher,
createWaitBatcher,
deleteForEveryone,
downloadAttachment,
fromWebSafeBase64,
generateSecurityNumber,
getStringForProfileChange,
2020-09-18 21:43:57 +00:00
getTextWithMentions,
getUserAgent,
hasExpired,
2021-03-04 21:44:57 +00:00
incrementMessageCounter,
2018-10-04 01:12:42 +00:00
isFileDangerous,
longRunningTaskWrapper,
2019-01-14 21:49:58 +00:00
makeLookup,
2021-02-18 16:40:26 +00:00
mapToSupportLocale,
2018-10-04 01:12:42 +00:00
missingCaseError,
parseRemoteClientExpiration,
postLinkExperience,
queueUpdateMessage,
2021-03-04 21:44:57 +00:00
saveNewMessageBatcher,
setBatchingStrategy,
sessionRecordToProtobuf,
sessionStructureToArrayBuffer,
sleep,
toWebSafeBase64,
zkgroup,
2018-10-04 01:12:42 +00:00
};