signal-desktop/ts/util/index.ts

51 lines
1.6 KiB
TypeScript
Raw Normal View History

2020-10-30 20:34:04 +00:00
// Copyright 2018-2020 Signal Messenger, LLC
// 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,
getPlaceholder as getSafetyNumberPlaceholder,
} 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 { migrateColor } from './migrateColor';
import { missingCaseError } from './missingCaseError';
import { parseRemoteClientExpiration } from './parseRemoteClientExpiration';
import { sleep } from './sleep';
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,
generateSecurityNumber,
getSafetyNumberPlaceholder,
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,
2019-01-14 21:49:58 +00:00
makeLookup,
2018-10-04 01:12:42 +00:00
migrateColor,
missingCaseError,
parseRemoteClientExpiration,
Registration,
sleep,
zkgroup,
2018-10-04 01:12:42 +00:00
};