Page MenuHomePhabricator

D12860.id42712.diff
No OneTemporary

D12860.id42712.diff

diff --git a/native/schema/CommCoreModuleSchema.js b/native/schema/CommCoreModuleSchema.js
--- a/native/schema/CommCoreModuleSchema.js
+++ b/native/schema/CommCoreModuleSchema.js
@@ -152,12 +152,12 @@
+retrieveLatestSIWEBackupData: () => Promise<string>;
+setSIWEBackupSecrets: (siweBackupSecrets: Object) => Promise<void>;
+getSIWEBackupSecrets: () => Promise<?Object>;
- +getAllInboundP2PMessages: () => Promise<InboundP2PMessage[]>;
+ +getAllInboundP2PMessages: () => Promise<Array<InboundP2PMessage>>;
+removeInboundP2PMessages: (ids: $ReadOnlyArray<string>) => Promise<void>;
+getOutboundP2PMessagesByID: (
ids: $ReadOnlyArray<string>,
) => Promise<Array<OutboundP2PMessage>>;
- +getAllOutboundP2PMessages: () => Promise<OutboundP2PMessage[]>;
+ +getAllOutboundP2PMessages: () => Promise<Array<OutboundP2PMessage>>;
+markOutboundP2PMessageAsSent: (
messageID: string,
deviceID: string,
@@ -168,13 +168,15 @@
) => Promise<void>;
+getSyncedDatabaseVersion: () => Promise<string>;
+markPrekeysAsPublished: () => Promise<void>;
- +getRelatedMessages: (messageID: string) => Promise<ClientDBMessageInfo[]>;
+ +getRelatedMessages: (
+ messageID: string,
+ ) => Promise<Array<ClientDBMessageInfo>>;
+searchMessages: (
query: string,
threadID: string,
timestampCursor: ?string,
messageIDCursor: ?string,
- ) => Promise<ClientDBMessageInfo[]>;
+ ) => Promise<Array<ClientDBMessageInfo>>;
}
export interface CoreModuleSpec extends Spec {

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 8:07 AM (19 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2578387
Default Alt Text
D12860.id42712.diff (1 KB)

Event Timeline