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
commit c02565eaa8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2096 changed files with 14955 additions and 14023 deletions

View file

@ -3,11 +3,14 @@
import { assert } from 'chai';
import { AttachmentDownloadSource, type WritableDB } from '../../sql/Interface';
import { objectToJSON, sql } from '../../sql/util';
import { createDB, updateToVersion, explain } from './helpers';
import { IMAGE_JPEG } from '../../types/MIME';
import type { _AttachmentDownloadJobTypeV1040 } from '../../sql/migrations/1040-undownloaded-backed-up-media';
import {
AttachmentDownloadSource,
type WritableDB,
} from '../../sql/Interface.js';
import { objectToJSON, sql } from '../../sql/util.js';
import { createDB, updateToVersion, explain } from './helpers.js';
import { IMAGE_JPEG } from '../../types/MIME.js';
import type { _AttachmentDownloadJobTypeV1040 } from '../../sql/migrations/1040-undownloaded-backed-up-media.js';
type UnflattenedAttachmentDownloadJobType = Omit<
_AttachmentDownloadJobTypeV1040,