mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Fix type issues
This commit is contained in:
Vendored
+12
-1
@@ -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[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user