Migrate unprocessed table to BLOBs

This commit is contained in:
Fedor Indutny
2025-01-21 13:42:14 -08:00
committed by GitHub
parent 06aa2f6ce4
commit 4b6ef3a1ed
10 changed files with 492 additions and 253 deletions
+10 -10
View File
@@ -24,7 +24,6 @@ export {
SignedPreKeyIdType,
SignedPreKeyType,
UnprocessedType,
UnprocessedUpdateType,
} from '../sql/Interface';
export type StorageServiceCallOptionsType = {
@@ -87,19 +86,20 @@ export type ProcessedEnvelope = Readonly<{
// Mostly from Proto.Envelope except for null/undefined
type: Proto.Envelope.Type;
source?: string;
sourceServiceId?: ServiceIdString;
sourceDevice?: number;
source: string | undefined;
sourceServiceId: ServiceIdString | undefined;
sourceDevice: number | Undefined;
destinationServiceId: ServiceIdString;
updatedPni?: PniString;
updatedPni: PniString | undefined;
timestamp: number;
content?: Uint8Array;
content: Uint8Array | undefined;
serverGuid: string;
serverTimestamp: number;
groupId?: string;
urgent?: boolean;
story?: boolean;
reportingToken?: Uint8Array;
groupId: string | undefined;
urgent: boolean;
story: boolean;
reportingToken: Uint8Array | undefined;
groupId: string | undefined;
}>;
export type ProcessedAttachment = {