mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-29 21:00:58 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -13,22 +13,7 @@ import type { ReadonlyDeep } from 'type-fest';
|
||||
import { z } from 'zod';
|
||||
|
||||
import type { Dictionary } from 'lodash';
|
||||
import {
|
||||
forEach,
|
||||
fromPairs,
|
||||
groupBy,
|
||||
isBoolean,
|
||||
isNil,
|
||||
isNumber,
|
||||
isString,
|
||||
last,
|
||||
map,
|
||||
mapValues,
|
||||
noop,
|
||||
omit,
|
||||
partition,
|
||||
pick,
|
||||
} from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
|
||||
import { parseBadgeCategory } from '../badges/BadgeCategory.js';
|
||||
import {
|
||||
@@ -277,6 +262,23 @@ import type {
|
||||
import { sqlLogger } from './sqlLogger.js';
|
||||
import { permissiveMessageAttachmentSchema } from './server/messageAttachments.js';
|
||||
|
||||
const {
|
||||
forEach,
|
||||
fromPairs,
|
||||
groupBy,
|
||||
isBoolean,
|
||||
isNil,
|
||||
isNumber,
|
||||
isString,
|
||||
last,
|
||||
map,
|
||||
mapValues,
|
||||
noop,
|
||||
omit,
|
||||
partition,
|
||||
pick,
|
||||
} = lodash;
|
||||
|
||||
type ConversationRow = Readonly<{
|
||||
json: string;
|
||||
profileLastFetchedAt: null | number;
|
||||
|
||||
Reference in New Issue
Block a user