Enforce node:
schema for builtins, import extensions
This commit is contained in:
parent
cc6b8795b8
commit
c02565eaa8
2096 changed files with 14955 additions and 14023 deletions
|
@ -9,27 +9,27 @@ 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';
|
||||
import { createLogger } from '../logging/log';
|
||||
import * as Errors from '../types/errors';
|
||||
import * as Bytes from '../Bytes.js';
|
||||
import { createLogger } from '../logging/log.js';
|
||||
import * as Errors from '../types/errors.js';
|
||||
|
||||
import { deleteExternalFiles } from '../types/Conversation';
|
||||
import { createBatcher } from '../util/batcher';
|
||||
import { assertDev, softAssert } from '../util/assert';
|
||||
import { mapObjectWithSpec } from '../util/mapObjectWithSpec';
|
||||
import { cleanDataForIpc } from './cleanDataForIpc';
|
||||
import createTaskWithTimeout from '../textsecure/TaskWithTimeout';
|
||||
import { isValidUuid, isValidUuidV7 } from '../util/isValidUuid';
|
||||
import { formatJobForInsert } from '../jobs/formatJobForInsert';
|
||||
import { AccessType, ipcInvoke, doShutdown, removeDB } from './channels';
|
||||
import { getMessageIdForLogging } from '../util/idForLogging';
|
||||
import { incrementMessageCounter } from '../util/incrementMessageCounter';
|
||||
import { generateSnippetAroundMention } from '../util/search';
|
||||
import { drop } from '../util/drop';
|
||||
import { deleteExternalFiles } from '../types/Conversation.js';
|
||||
import { createBatcher } from '../util/batcher.js';
|
||||
import { assertDev, softAssert } from '../util/assert.js';
|
||||
import { mapObjectWithSpec } from '../util/mapObjectWithSpec.js';
|
||||
import { cleanDataForIpc } from './cleanDataForIpc.js';
|
||||
import createTaskWithTimeout from '../textsecure/TaskWithTimeout.js';
|
||||
import { isValidUuid, isValidUuidV7 } from '../util/isValidUuid.js';
|
||||
import { formatJobForInsert } from '../jobs/formatJobForInsert.js';
|
||||
import { AccessType, ipcInvoke, doShutdown, removeDB } from './channels.js';
|
||||
import { getMessageIdForLogging } from '../util/idForLogging.js';
|
||||
import { incrementMessageCounter } from '../util/incrementMessageCounter.js';
|
||||
import { generateSnippetAroundMention } from '../util/search.js';
|
||||
import { drop } from '../util/drop.js';
|
||||
|
||||
import type { ObjectMappingSpecType } from '../util/mapObjectWithSpec';
|
||||
import type { AciString, ServiceIdString } from '../types/ServiceId';
|
||||
import type { StoredJob } from '../jobs/types';
|
||||
import type { ObjectMappingSpecType } from '../util/mapObjectWithSpec.js';
|
||||
import type { AciString, ServiceIdString } from '../types/ServiceId.js';
|
||||
import type { StoredJob } from '../jobs/types.js';
|
||||
import type {
|
||||
ClientInterfaceWrap,
|
||||
AdjacentMessagesByConversationOptionsType,
|
||||
|
@ -60,14 +60,14 @@ import type {
|
|||
StoredKyberPreKeyType,
|
||||
ClientOnlyReadableInterface,
|
||||
ClientOnlyWritableInterface,
|
||||
} from './Interface';
|
||||
import { AttachmentDownloadSource } from './Interface';
|
||||
import type { MessageAttributesType } from '../model-types';
|
||||
import type { AttachmentDownloadJobType } from '../types/AttachmentDownload';
|
||||
} from './Interface.js';
|
||||
import { AttachmentDownloadSource } from './Interface.js';
|
||||
import type { MessageAttributesType } from '../model-types.js';
|
||||
import type { AttachmentDownloadJobType } from '../types/AttachmentDownload.js';
|
||||
import {
|
||||
throttledUpdateBackupMediaDownloadProgress,
|
||||
updateBackupMediaDownloadProgress,
|
||||
} from '../util/updateBackupMediaDownloadProgress';
|
||||
} from '../util/updateBackupMediaDownloadProgress.js';
|
||||
|
||||
const log = createLogger('Client');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue