Enforce node: schema for builtins, import extensions

This commit is contained in:
Fedor Indutny
2025-09-16 17:39:03 -07:00
committed by GitHub
parent cc6b8795b8
commit c02565eaa8
2096 changed files with 14955 additions and 14023 deletions

View File

@@ -3,15 +3,15 @@
import { omit } from 'lodash';
import { assert } from 'chai';
import type { ReadableDB, WritableDB } from '../../sql/Interface';
import { jsonToObject, objectToJSON, sql, sqlJoin } from '../../sql/util';
import { createDB, updateToVersion, explain } from './helpers';
import type { ReadableDB, WritableDB } from '../../sql/Interface.js';
import { jsonToObject, objectToJSON, sql, sqlJoin } from '../../sql/util.js';
import { createDB, updateToVersion, explain } from './helpers.js';
import type {
_AttachmentDownloadJobTypeV1030,
_AttachmentDownloadJobTypeV1040,
} from '../../sql/migrations/1040-undownloaded-backed-up-media';
import type { AttachmentType } from '../../types/Attachment';
import { IMAGE_JPEG } from '../../types/MIME';
} from '../../sql/migrations/1040-undownloaded-backed-up-media.js';
import type { AttachmentType } from '../../types/Attachment.js';
import { IMAGE_JPEG } from '../../types/MIME.js';
function getAttachmentDownloadJobs(
db: ReadableDB