Create internal db debugger
This commit is contained in:
parent
31544d68a2
commit
ae7c2c09a4
9 changed files with 130 additions and 3 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue