mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 23:49:20 +01:00
Bundle everything with rolldown
This commit is contained in:
@@ -9,31 +9,31 @@ import type { ReadonlyDeep } from 'type-fest';
|
||||
// Note: nothing imported here can come back and require Client.ts, and that includes
|
||||
// their imports too. That circularity causes problems. Anything that would do that needs
|
||||
// to be passed in, like cleanupMessages below.
|
||||
import * as Bytes from '../Bytes.std.js';
|
||||
import { createLogger } from '../logging/log.std.js';
|
||||
import * as Errors from '../types/errors.std.js';
|
||||
import * as Bytes from '../Bytes.std.ts';
|
||||
import { createLogger } from '../logging/log.std.ts';
|
||||
import * as Errors from '../types/errors.std.ts';
|
||||
|
||||
import { createBatcher } from '../util/batcher.std.js';
|
||||
import { assertDev, softAssert } from '../util/assert.std.js';
|
||||
import { mapObjectWithSpec } from '../util/mapObjectWithSpec.std.js';
|
||||
import { cleanDataForIpc } from './cleanDataForIpc.std.js';
|
||||
import { runTaskWithTimeout } from '../textsecure/TaskWithTimeout.std.js';
|
||||
import { isValidUuid, isValidUuidV7 } from '../util/isValidUuid.std.js';
|
||||
import { formatJobForInsert } from '../jobs/formatJobForInsert.std.js';
|
||||
import { createBatcher } from '../util/batcher.std.ts';
|
||||
import { assertDev, softAssert } from '../util/assert.std.ts';
|
||||
import { mapObjectWithSpec } from '../util/mapObjectWithSpec.std.ts';
|
||||
import { cleanDataForIpc } from './cleanDataForIpc.std.ts';
|
||||
import { runTaskWithTimeout } from '../textsecure/TaskWithTimeout.std.ts';
|
||||
import { isValidUuid, isValidUuidV7 } from '../util/isValidUuid.std.ts';
|
||||
import { formatJobForInsert } from '../jobs/formatJobForInsert.std.ts';
|
||||
import {
|
||||
AccessType,
|
||||
ipcInvoke,
|
||||
doShutdown,
|
||||
removeDB,
|
||||
} from './channels.preload.js';
|
||||
import { getMessageIdForLogging } from '../util/idForLogging.preload.js';
|
||||
import { incrementMessageCounter } from '../util/incrementMessageCounter.preload.js';
|
||||
import { generateSnippetAroundMention } from '../util/search.std.js';
|
||||
import { drop } from '../util/drop.std.js';
|
||||
} from './channels.preload.ts';
|
||||
import { getMessageIdForLogging } from '../util/idForLogging.preload.ts';
|
||||
import { incrementMessageCounter } from '../util/incrementMessageCounter.preload.ts';
|
||||
import { generateSnippetAroundMention } from '../util/search.std.ts';
|
||||
import { drop } from '../util/drop.std.ts';
|
||||
|
||||
import type { ObjectMappingSpecType } from '../util/mapObjectWithSpec.std.js';
|
||||
import type { AciString, ServiceIdString } from '../types/ServiceId.std.js';
|
||||
import type { StoredJob } from '../jobs/types.std.js';
|
||||
import type { ObjectMappingSpecType } from '../util/mapObjectWithSpec.std.ts';
|
||||
import type { AciString, ServiceIdString } from '../types/ServiceId.std.ts';
|
||||
import type { StoredJob } from '../jobs/types.std.ts';
|
||||
import type {
|
||||
ClientInterfaceWrap,
|
||||
AdjacentMessagesByConversationOptionsType,
|
||||
@@ -65,14 +65,14 @@ import type {
|
||||
ClientOnlyReadableInterface,
|
||||
ClientOnlyWritableInterface,
|
||||
RemoveMessageOptions,
|
||||
} from './Interface.std.js';
|
||||
import { AttachmentDownloadSource } from './Interface.std.js';
|
||||
} from './Interface.std.ts';
|
||||
import { AttachmentDownloadSource } from './Interface.std.ts';
|
||||
import type { MessageAttributesType } from '../model-types.d.ts';
|
||||
import type { AttachmentDownloadJobType } from '../types/AttachmentDownload.std.js';
|
||||
import type { AttachmentDownloadJobType } from '../types/AttachmentDownload.std.ts';
|
||||
import {
|
||||
throttledUpdateBackupMediaDownloadProgress,
|
||||
updateBackupMediaDownloadProgress,
|
||||
} from '../util/updateBackupMediaDownloadProgress.preload.js';
|
||||
} from '../util/updateBackupMediaDownloadProgress.preload.ts';
|
||||
|
||||
const { groupBy, isTypedArray, last, map, omit } = lodash;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user