Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3358859
D12860.id42768.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D12860.id42768.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 6:29 AM (20 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2578387
Default Alt Text
D12860.id42768.diff (1 KB)
Attached To
Mode
D12860: [CommCoreModule] remove `T[]` syntax
Attached
Detach File
Event Timeline
Log In to Comment