Fix type issues

This commit is contained in:
2025-08-26 19:58:35 +03:00
Unverified
parent 4a21923c69
commit 43be3a29af
4 changed files with 26 additions and 22 deletions
+12 -1
View File
@@ -5,7 +5,6 @@
* @version 1.0.0
*/
import type { DmEnvelope } from "../chat/dm";
/**
* HTTP headers object type
@@ -169,6 +168,18 @@ export interface BackupBlob {
blob: string;
}
export interface DmEnvelope {
id: number;
senderId: number;
recipientId: number;
iv: string;
ciphertext: string;
salt: string;
iv2: string;
wrappedMk: string;
timestamp: string;
}
export interface FetchDMResponse {
messages: DmEnvelope[]
}