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
|
@ -2,10 +2,10 @@
|
|||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { groupBy } from 'lodash';
|
||||
import type { ReadStatus } from '../messages/MessageReadStatus';
|
||||
import type { SeenStatus } from '../MessageSeenStatus';
|
||||
import type { ServiceIdString } from '../types/ServiceId';
|
||||
import { dropNull, shallowDropNull } from '../util/dropNull';
|
||||
import type { ReadStatus } from '../messages/MessageReadStatus.js';
|
||||
import type { SeenStatus } from '../MessageSeenStatus.js';
|
||||
import type { ServiceIdString } from '../types/ServiceId.js';
|
||||
import { dropNull, shallowDropNull } from '../util/dropNull.js';
|
||||
|
||||
/* eslint-disable camelcase */
|
||||
|
||||
|
@ -15,24 +15,24 @@ import type {
|
|||
MESSAGE_COLUMNS,
|
||||
ReadableDB,
|
||||
MessageAttachmentDBType,
|
||||
} from './Interface';
|
||||
} from './Interface.js';
|
||||
import {
|
||||
batchMultiVarQuery,
|
||||
convertOptionalIntegerToBoolean,
|
||||
jsonToObject,
|
||||
sql,
|
||||
sqlJoin,
|
||||
} from './util';
|
||||
import { type AttachmentType } from '../types/Attachment';
|
||||
} from './util.js';
|
||||
import { type AttachmentType } from '../types/Attachment.js';
|
||||
import {
|
||||
APPLICATION_OCTET_STREAM,
|
||||
IMAGE_JPEG,
|
||||
IMAGE_PNG,
|
||||
stringToMIMEType,
|
||||
} from '../types/MIME';
|
||||
import { strictAssert } from '../util/assert';
|
||||
import type { MessageAttributesType } from '../model-types';
|
||||
import { createLogger } from '../logging/log';
|
||||
} from '../types/MIME.js';
|
||||
import { strictAssert } from '../util/assert.js';
|
||||
import type { MessageAttributesType } from '../model-types.js';
|
||||
import { createLogger } from '../logging/log.js';
|
||||
|
||||
export const ROOT_MESSAGE_ATTACHMENT_EDIT_HISTORY_INDEX = -1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue