Create internal db debugger

This commit is contained in:
Jamie Kyle 2025-08-20 13:00:14 -07:00 committed by GitHub
commit ae7c2c09a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 130 additions and 3 deletions

View file

@ -1,7 +1,7 @@
// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type { Database } from '@signalapp/sqlcipher';
import type { Database, RowType } from '@signalapp/sqlcipher';
import type { ReadonlyDeep } from 'type-fest';
import { strictAssert } from '../util/assert';
@ -894,6 +894,10 @@ type ReadableInterface = {
getMessageSampleForSchemaVersion: (
version: number
) => Array<MessageAttributesType>;
__dangerouslyRunAbitraryReadOnlySqlQuery: (
readOnlySqlQuery: string
) => ReadonlyArray<RowType<object>>;
};
type WritableInterface = {