Signal-Desktop/ts/util/index.ts

52 lines
1.7 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';
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 { 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 * as zkgroup from './zkgroup';
2018-10-04 01:12:42 +00:00
export {
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,
2018-10-04 01:12:42 +00:00
GoogleChrome,
hasExpired,
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,
Registration,
sleep,
toWebSafeBase64,
zkgroup,
2018-10-04 01:12:42 +00:00
};