Prepare for adding file suffixes

This commit is contained in:
Fedor Indutny
2025-10-16 11:29:11 -07:00
parent 3330dd72ce
commit 3387cf6a77
2095 changed files with 15148 additions and 14629 deletions

View File

@@ -4,7 +4,7 @@
import { assert } from 'chai';
import lodash from 'lodash';
import { cleanDataForIpc } from '../../sql/cleanDataForIpc.js';
import { cleanDataForIpc } from '../../sql/cleanDataForIpc.std.js';
const { noop } = lodash;

View File

@@ -3,8 +3,8 @@
import { assert } from 'chai';
import { _cleanMessageData } from '../../sql/Client.js';
import { IMAGE_GIF } from '../../types/MIME.js';
import { _cleanMessageData } from '../../sql/Client.preload.js';
import { IMAGE_GIF } from '../../types/MIME.std.js';
describe('_cleanMessageData', () => {
it('throws if message is missing received_at', () => {

View File

@@ -4,10 +4,10 @@
import lodash from 'lodash';
import SQL from '@signalapp/sqlcipher';
import type { ReadableDB, WritableDB } from '../../sql/Interface.js';
import type { QueryTemplate } from '../../sql/util.js';
import { SCHEMA_VERSIONS } from '../../sql/migrations/index.js';
import { consoleLogger } from '../../util/consoleLogger.js';
import type { ReadableDB, WritableDB } from '../../sql/Interface.std.js';
import type { QueryTemplate } from '../../sql/util.std.js';
import { SCHEMA_VERSIONS } from '../../sql/migrations/index.node.js';
import { consoleLogger } from '../../util/consoleLogger.std.js';
const { noop } = lodash;

View File

@@ -3,12 +3,12 @@
import { assert } from 'chai';
import type { WritableDB } from '../../sql/Interface.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import {
incrementMessagesMigrationAttempts,
setupTests,
} from '../../sql/Server.js';
import { createDB, insertData, getTableData } from './helpers.js';
} from '../../sql/Server.node.js';
import { createDB, insertData, getTableData } from './helpers.node.js';
describe('SQL/incrementMessagesMigrationAttempts', () => {
let db: WritableDB;

View File

@@ -3,9 +3,12 @@
import { assert } from 'chai';
import type { WritableDB } from '../../sql/Interface.js';
import { migrateConversationMessages, setupTests } from '../../sql/Server.js';
import { createDB, insertData, getTableData } from './helpers.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import {
migrateConversationMessages,
setupTests,
} from '../../sql/Server.node.js';
import { createDB, insertData, getTableData } from './helpers.node.js';
describe('SQL/migrateConversationMessages', () => {
let db: WritableDB;

View File

@@ -4,11 +4,11 @@
import { assert } from 'chai';
import { v4 as generateGuid } from 'uuid';
import { jsonToObject, sql } from '../../sql/util.js';
import { createDB, updateToVersion } from './helpers.js';
import type { WritableDB, MessageType } from '../../sql/Interface.js';
import { ReadStatus } from '../../messages/MessageReadStatus.js';
import { SeenStatus } from '../../MessageSeenStatus.js';
import { jsonToObject, sql } from '../../sql/util.std.js';
import { createDB, updateToVersion } from './helpers.node.js';
import type { WritableDB, MessageType } from '../../sql/Interface.std.js';
import { ReadStatus } from '../../messages/MessageReadStatus.std.js';
import { SeenStatus } from '../../MessageSeenStatus.std.js';
describe('SQL/updateToSchemaVersion1000', () => {
let db: WritableDB;

View File

@@ -4,14 +4,14 @@
import { assert } from 'chai';
import { v4 as generateGuid } from 'uuid';
import { normalizeAci } from '../../util/normalizeAci.js';
import type { WritableDB } from '../../sql/Interface.js';
import { normalizeAci } from '../../util/normalizeAci.std.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import {
createDB,
insertData,
getTableData,
updateToVersion,
} from './helpers.js';
} from './helpers.node.js';
describe('SQL/updateToSchemaVersion1020', () => {
let db: WritableDB;

View File

@@ -3,10 +3,10 @@
import { assert } from 'chai';
import { v4 as generateGuid } from 'uuid';
import { sql } from '../../sql/util.js';
import { createDB, updateToVersion } from './helpers.js';
import type { WritableDB, MessageType } from '../../sql/Interface.js';
import { MessageRequestResponseEvent } from '../../types/MessageRequestResponseEvent.js';
import { sql } from '../../sql/util.std.js';
import { createDB, updateToVersion } from './helpers.node.js';
import type { WritableDB, MessageType } from '../../sql/Interface.std.js';
import { MessageRequestResponseEvent } from '../../types/MessageRequestResponseEvent.std.js';
describe('SQL/updateToSchemaVersion1030', () => {
let db: WritableDB;

View File

@@ -3,15 +3,20 @@
import lodash from 'lodash';
import { assert } from 'chai';
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 { ReadableDB, WritableDB } from '../../sql/Interface.std.js';
import {
jsonToObject,
objectToJSON,
sql,
sqlJoin,
} from '../../sql/util.std.js';
import { createDB, updateToVersion, explain } from './helpers.node.js';
import type {
_AttachmentDownloadJobTypeV1030,
_AttachmentDownloadJobTypeV1040,
} from '../../sql/migrations/1040-undownloaded-backed-up-media.js';
import type { AttachmentType } from '../../types/Attachment.js';
import { IMAGE_JPEG } from '../../types/MIME.js';
} from '../../sql/migrations/1040-undownloaded-backed-up-media.std.js';
import type { AttachmentType } from '../../types/Attachment.std.js';
import { IMAGE_JPEG } from '../../types/MIME.std.js';
const { omit } = lodash;

View File

@@ -8,19 +8,24 @@ import {
dequeueOldestSyncTasks,
removeSyncTaskById,
saveSyncTasks,
} from '../../sql/Server.js';
} from '../../sql/Server.node.js';
import type {
WritableDB,
ReadableDB,
MessageType,
} from '../../sql/Interface.js';
import { sql, jsonToObject } from '../../sql/util.js';
import { insertData, updateToVersion, createDB, explain } from './helpers.js';
import { MAX_SYNC_TASK_ATTEMPTS } from '../../util/syncTasks.types.js';
import { WEEK } from '../../util/durations/index.js';
} from '../../sql/Interface.std.js';
import { sql, jsonToObject } from '../../sql/util.std.js';
import {
insertData,
updateToVersion,
createDB,
explain,
} from './helpers.node.js';
import { MAX_SYNC_TASK_ATTEMPTS } from '../../util/syncTasks.types.std.js';
import { WEEK } from '../../util/durations/index.std.js';
import type { MessageAttributesType } from '../../model-types.js';
import type { SyncTaskType } from '../../util/syncTasks.js';
import type { MessageAttributesType } from '../../model-types.d.ts';
import type { SyncTaskType } from '../../util/syncTasks.preload.js';
/* eslint-disable camelcase */

View File

@@ -8,12 +8,17 @@ import type {
WritableDB,
ReadableDB,
MessageType,
} from '../../sql/Interface.js';
import { sql, jsonToObject } from '../../sql/util.js';
import { createDB, insertData, updateToVersion, explain } from './helpers.js';
} from '../../sql/Interface.std.js';
import { sql, jsonToObject } from '../../sql/util.std.js';
import {
createDB,
insertData,
updateToVersion,
explain,
} from './helpers.node.js';
import type { MessageAttributesType } from '../../model-types.js';
import { DurationInSeconds } from '../../util/durations/duration-in-seconds.js';
import type { MessageAttributesType } from '../../model-types.d.ts';
import { DurationInSeconds } from '../../util/durations/duration-in-seconds.std.js';
/* eslint-disable camelcase */

View File

@@ -2,9 +2,9 @@
// SPDX-License-Identifier: AGPL-3.0-only
import { assert } from 'chai';
import type { WritableDB } from '../../sql/Interface.js';
import { sql } from '../../sql/util.js';
import { createDB, updateToVersion, explain } from './helpers.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import { sql } from '../../sql/util.std.js';
import { createDB, updateToVersion, explain } from './helpers.node.js';
describe('SQL/updateToSchemaVersion1090', () => {
let db: WritableDB;

View File

@@ -3,17 +3,17 @@
import { assert } from 'chai';
import lodash from 'lodash';
import type { WritableDB } from '../../sql/Interface.js';
import { markAllCallHistoryRead } from '../../sql/Server.js';
import { SeenStatus } from '../../MessageSeenStatus.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import { markAllCallHistoryRead } from '../../sql/Server.node.js';
import { SeenStatus } from '../../MessageSeenStatus.std.js';
import {
CallMode,
CallDirection,
CallType,
DirectCallStatus,
} from '../../types/CallDisposition.js';
import { strictAssert } from '../../util/assert.js';
import { createDB, insertData, updateToVersion } from './helpers.js';
} from '../../types/CallDisposition.std.js';
import { strictAssert } from '../../util/assert.std.js';
import { createDB, insertData, updateToVersion } from './helpers.node.js';
const { findLast } = lodash;

View File

@@ -2,9 +2,9 @@
// SPDX-License-Identifier: AGPL-3.0-only
import { assert } from 'chai';
import type { WritableDB } from '../../sql/Interface.js';
import { sql } from '../../sql/util.js';
import { createDB, updateToVersion, explain } from './helpers.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import { sql } from '../../sql/util.std.js';
import { createDB, updateToVersion, explain } from './helpers.node.js';
describe('SQL/updateToSchemaVersion1120', () => {
let db: WritableDB;

View File

@@ -2,9 +2,9 @@
// SPDX-License-Identifier: AGPL-3.0-only
import { assert } from 'chai';
import type { WritableDB } from '../../sql/Interface.js';
import { sql } from '../../sql/util.js';
import { createDB, updateToVersion, explain } from './helpers.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import { sql } from '../../sql/util.std.js';
import { createDB, updateToVersion, explain } from './helpers.node.js';
describe('SQL/updateToSchemaVersion1130', () => {
let db: WritableDB;

View File

@@ -3,11 +3,11 @@
import { assert } from 'chai';
import lodash from 'lodash';
import type { WritableDB } from '../../sql/Interface.js';
import { createDB, updateToVersion, explain } from './helpers.js';
import { jsonToObject, objectToJSON, sql } from '../../sql/util.js';
import { IMAGE_BMP } from '../../types/MIME.js';
import type { _AttachmentDownloadJobTypeV1040 } from '../../sql/migrations/1040-undownloaded-backed-up-media.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import { createDB, updateToVersion, explain } from './helpers.node.js';
import { jsonToObject, objectToJSON, sql } from '../../sql/util.std.js';
import { IMAGE_BMP } from '../../types/MIME.std.js';
import type { _AttachmentDownloadJobTypeV1040 } from '../../sql/migrations/1040-undownloaded-backed-up-media.std.js';
const { omit } = lodash;

View File

@@ -6,11 +6,11 @@ import { assert } from 'chai';
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';
} from '../../sql/Interface.std.js';
import { objectToJSON, sql } from '../../sql/util.std.js';
import { createDB, updateToVersion, explain } from './helpers.node.js';
import { IMAGE_JPEG } from '../../types/MIME.std.js';
import type { _AttachmentDownloadJobTypeV1040 } from '../../sql/migrations/1040-undownloaded-backed-up-media.std.js';
type UnflattenedAttachmentDownloadJobType = Omit<
_AttachmentDownloadJobTypeV1040,

View File

@@ -3,18 +3,18 @@
import { assert } from 'chai';
import { type WritableDB } from '../../sql/Interface.js';
import { type WritableDB } from '../../sql/Interface.std.js';
import {
sessionRecordToProtobuf,
sessionStructureToBytes,
} from '../../util/sessionTranslation.js';
} from '../../util/sessionTranslation.node.js';
import {
createDB,
updateToVersion,
insertData,
getTableData,
} from './helpers.js';
import { SESSION_V1_RECORD } from '../util/sessionTranslation_test.js';
} from './helpers.node.js';
import { SESSION_V1_RECORD } from '../util/sessionTranslation_test.node.js';
const MAPS = [
{

View File

@@ -3,15 +3,15 @@
import { assert } from 'chai';
import { type WritableDB } from '../../sql/Interface.js';
import { Migrations as Proto } from '../../protobuf/index.js';
import { generateAci } from '../../types/ServiceId.js';
import { type WritableDB } from '../../sql/Interface.std.js';
import { Migrations as Proto } from '../../protobuf/index.std.js';
import { generateAci } from '../../types/ServiceId.std.js';
import {
createDB,
updateToVersion,
insertData,
getTableData,
} from './helpers.js';
} from './helpers.node.js';
describe('SQL/updateToSchemaVersion1280', () => {
let db: WritableDB;

View File

@@ -3,13 +3,13 @@
import { assert } from 'chai';
import { type WritableDB } from '../../sql/Interface.js';
import { type WritableDB } from '../../sql/Interface.std.js';
import {
createDB,
updateToVersion,
insertData,
getTableData,
} from './helpers.js';
} from './helpers.node.js';
const DEFAULTS = {
id: 'id',

View File

@@ -3,13 +3,13 @@
import { assert } from 'chai';
import { type WritableDB } from '../../sql/Interface.js';
import { type WritableDB } from '../../sql/Interface.std.js';
import {
createDB,
updateToVersion,
insertData,
getTableData,
} from './helpers.js';
} from './helpers.node.js';
describe('SQL/updateToSchemaVersion1310', () => {
let db: WritableDB;

View File

@@ -8,12 +8,12 @@ import {
dequeueOldestSyncTasks,
saveSyncTasks,
incrementAllSyncTaskAttempts,
} from '../../sql/Server.js';
import { sql } from '../../sql/util.js';
import type { WritableDB } from '../../sql/Interface.js';
import { updateToVersion, createDB, explain } from './helpers.js';
} from '../../sql/Server.node.js';
import { sql } from '../../sql/util.std.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import { updateToVersion, createDB, explain } from './helpers.node.js';
import type { SyncTaskType } from '../../util/syncTasks.js';
import type { SyncTaskType } from '../../util/syncTasks.preload.js';
describe('SQL/updateToSchemaVersion1330', () => {
let db: WritableDB;

View File

@@ -1,9 +1,9 @@
// Copyright 2025 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { sql } from '../../sql/util.js';
import type { WritableDB } from '../../sql/Interface.js';
import { updateToVersion, createDB } from './helpers.js';
import { sql } from '../../sql/util.std.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import { updateToVersion, createDB } from './helpers.node.js';
describe('SQL/updateToSchemaVersion1350', () => {
let db: WritableDB;

View File

@@ -3,9 +3,9 @@
import { assert } from 'chai';
import { sql } from '../../sql/util.js';
import { createDB, explain, updateToVersion } from './helpers.js';
import type { WritableDB } from '../../sql/Interface.js';
import { sql } from '../../sql/util.std.js';
import { createDB, explain, updateToVersion } from './helpers.node.js';
import type { WritableDB } from '../../sql/Interface.std.js';
describe('SQL/updateToSchemaVersion1360', () => {
let db: WritableDB;

View File

@@ -4,16 +4,16 @@
import { assert } from 'chai';
import { v1 as getGuid } from 'uuid';
import { sql } from '../../sql/util.js';
import { sql } from '../../sql/util.std.js';
import {
updateToVersion,
createDB,
explain,
insertData,
getTableData,
} from './helpers.js';
} from './helpers.node.js';
import type { WritableDB } from '../../sql/Interface.js';
import type { WritableDB } from '../../sql/Interface.std.js';
describe('SQL/updateToSchemaVersion1380', () => {
let db: WritableDB;

View File

@@ -3,14 +3,14 @@
import { assert } from 'chai';
import { type WritableDB } from '../../sql/Interface.js';
import { type WritableDB } from '../../sql/Interface.std.js';
import {
createDB,
updateToVersion,
insertData,
getTableData,
} from './helpers.js';
import { createOrUpdate, getById } from '../../sql/util.js';
} from './helpers.node.js';
import { createOrUpdate, getById } from '../../sql/util.std.js';
describe('SQL/updateToSchemaVersion1410', () => {
let db: WritableDB;

View File

@@ -6,11 +6,11 @@ import { assert } from 'chai';
import {
AttachmentDownloadSource,
type WritableDB,
} from '../../sql/Interface.js';
import { objectToJSON, sql } from '../../sql/util.js';
import { createDB, updateToVersion } from './helpers.js';
import type { AttachmentDownloadJobType } from '../../types/AttachmentDownload.js';
import { createAttachmentDownloadJob } from '../../test-helpers/attachmentDownloads.js';
} from '../../sql/Interface.std.js';
import { objectToJSON, sql } from '../../sql/util.std.js';
import { createDB, updateToVersion } from './helpers.node.js';
import type { AttachmentDownloadJobType } from '../../types/AttachmentDownload.std.js';
import { createAttachmentDownloadJob } from '../../test-helpers/attachmentDownloads.std.js';
function createJobAndEnsureMessage(
db: WritableDB,

View File

@@ -5,20 +5,20 @@ import { assert } from 'chai';
import { v4 as generateGuid } from 'uuid';
import lodash from 'lodash';
import { createDB, insertData, updateToVersion } from './helpers.js';
import { createDB, insertData, updateToVersion } from './helpers.node.js';
import type {
AciString,
PniString,
ServiceIdString,
} from '../../types/ServiceId.js';
import { normalizePni } from '../../types/ServiceId.js';
import { normalizeAci } from '../../util/normalizeAci.js';
} from '../../types/ServiceId.std.js';
import { normalizePni } from '../../types/ServiceId.std.js';
import { normalizeAci } from '../../util/normalizeAci.std.js';
import type {
WritableDB,
KyberPreKeyType,
PreKeyType,
SignedPreKeyType,
} from '../../sql/Interface.js';
} from '../../sql/Interface.std.js';
const { range } = lodash;

View File

@@ -4,13 +4,13 @@
import { assert } from 'chai';
import { v4 as generateGuid } from 'uuid';
import type { WritableDB } from '../../sql/Interface.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import {
createDB,
updateToVersion,
insertData,
getTableData,
} from './helpers.js';
} from './helpers.node.js';
const CONVO_ID = generateGuid();
const GROUP_ID = generateGuid();

View File

@@ -4,7 +4,7 @@
import { assert } from 'chai';
import { v4 as generateGuid } from 'uuid';
import { jsonToObject, sql } from '../../sql/util.js';
import { jsonToObject, sql } from '../../sql/util.std.js';
import {
CallMode,
CallDirection,
@@ -12,17 +12,17 @@ import {
DirectCallStatus,
GroupCallStatus,
callHistoryDetailsSchema,
} from '../../types/CallDisposition.js';
import type { CallHistoryDetails } from '../../types/CallDisposition.js';
} from '../../types/CallDisposition.std.js';
import type { CallHistoryDetails } from '../../types/CallDisposition.std.js';
import type {
CallHistoryDetailsFromDiskType,
MessageWithCallHistoryDetails,
} from '../../sql/migrations/89-call-history.js';
import { getCallIdFromEra } from '../../util/callDisposition.js';
import { isValidUuid } from '../../util/isValidUuid.js';
import { createDB, updateToVersion } from './helpers.js';
import type { WritableDB, MessageType } from '../../sql/Interface.js';
import { parsePartial } from '../../util/schemas.js';
} from '../../sql/migrations/89-call-history.node.js';
import { getCallIdFromEra } from '../../util/callDisposition.preload.js';
import { isValidUuid } from '../../util/isValidUuid.std.js';
import { createDB, updateToVersion } from './helpers.node.js';
import type { WritableDB, MessageType } from '../../sql/Interface.std.js';
import { parsePartial } from '../../util/schemas.std.js';
describe('SQL/updateToSchemaVersion89', () => {
let db: WritableDB;

View File

@@ -3,15 +3,15 @@
import { assert } from 'chai';
import type { WritableDB } from '../../sql/Interface.js';
import { sql } from '../../sql/util.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import { sql } from '../../sql/util.std.js';
import {
createDB,
updateToVersion,
insertData,
getTableData,
explain,
} from './helpers.js';
} from './helpers.node.js';
describe('SQL/updateToSchemaVersion90', () => {
let db: WritableDB;

View File

@@ -10,11 +10,11 @@ import {
getTableData,
insertData,
updateToVersion,
} from './helpers.js';
import type { ServiceIdString } from '../../types/ServiceId.js';
import { normalizePni } from '../../types/ServiceId.js';
import { normalizeAci } from '../../util/normalizeAci.js';
import type { WritableDB, PreKeyType } from '../../sql/Interface.js';
} from './helpers.node.js';
import type { ServiceIdString } from '../../types/ServiceId.std.js';
import { normalizePni } from '../../types/ServiceId.std.js';
import { normalizeAci } from '../../util/normalizeAci.std.js';
import type { WritableDB, PreKeyType } from '../../sql/Interface.std.js';
const { range } = lodash;

View File

@@ -5,15 +5,15 @@ import { assert } from 'chai';
import { v4 as generateGuid } from 'uuid';
import lodash from 'lodash';
import { createDB, insertData, updateToVersion } from './helpers.js';
import type { ServiceIdString } from '../../types/ServiceId.js';
import { normalizePni } from '../../types/ServiceId.js';
import { normalizeAci } from '../../util/normalizeAci.js';
import { createDB, insertData, updateToVersion } from './helpers.node.js';
import type { ServiceIdString } from '../../types/ServiceId.std.js';
import { normalizePni } from '../../types/ServiceId.std.js';
import { normalizeAci } from '../../util/normalizeAci.std.js';
import type {
WritableDB,
KyberPreKeyType,
SignedPreKeyType,
} from '../../sql/Interface.js';
} from '../../sql/Interface.std.js';
const { range } = lodash;

View File

@@ -4,13 +4,13 @@
import { assert } from 'chai';
import { v4 as generateGuid } from 'uuid';
import type { WritableDB } from '../../sql/Interface.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import {
createDB,
updateToVersion,
insertData,
getTableData,
} from './helpers.js';
} from './helpers.node.js';
const CONVO_ID = generateGuid();
const OUR_ACI = generateGuid();

View File

@@ -3,13 +3,13 @@
import { assert } from 'chai';
import type { WritableDB } from '../../sql/Interface.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import {
createDB,
updateToVersion,
insertData,
getTableData,
} from './helpers.js';
} from './helpers.node.js';
describe('SQL/updateToSchemaVersion990', () => {
let db: WritableDB;

View File

@@ -8,15 +8,15 @@ import {
_storyIdPredicate,
getJobsInQueue,
insertJob,
} from '../../sql/Server.js';
import type { WritableDB } from '../../sql/Interface.js';
import { ReadStatus } from '../../messages/MessageReadStatus.js';
import { SeenStatus } from '../../MessageSeenStatus.js';
import { objectToJSON, sql, sqlJoin } from '../../sql/util.js';
import { BodyRange } from '../../types/BodyRange.js';
import type { AciString } from '../../types/ServiceId.js';
import { generateAci } from '../../types/ServiceId.js';
import { createDB, updateToVersion, explain } from './helpers.js';
} from '../../sql/Server.node.js';
import type { WritableDB } from '../../sql/Interface.std.js';
import { ReadStatus } from '../../messages/MessageReadStatus.std.js';
import { SeenStatus } from '../../MessageSeenStatus.std.js';
import { objectToJSON, sql, sqlJoin } from '../../sql/util.std.js';
import { BodyRange } from '../../types/BodyRange.std.js';
import type { AciString } from '../../types/ServiceId.std.js';
import { generateAci } from '../../types/ServiceId.std.js';
import { createDB, updateToVersion, explain } from './helpers.node.js';
const OUR_UUID = generateGuid();