Changeset View
Changeset View
Standalone View
Standalone View
native/schema/CommCoreModuleSchema.js
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | export interface Spec extends TurboModule { | ||||
) => void; | ) => void; | ||||
+getAllThreadsSync: () => $ReadOnlyArray<ClientDBThreadInfo>; | +getAllThreadsSync: () => $ReadOnlyArray<ClientDBThreadInfo>; | ||||
+processThreadStoreOperations: ( | +processThreadStoreOperations: ( | ||||
operations: $ReadOnlyArray<ClientDBThreadStoreOperation>, | operations: $ReadOnlyArray<ClientDBThreadStoreOperation>, | ||||
) => Promise<void>; | ) => Promise<void>; | ||||
+processThreadStoreOperationsSync: ( | +processThreadStoreOperationsSync: ( | ||||
operations: $ReadOnlyArray<ClientDBThreadStoreOperation>, | operations: $ReadOnlyArray<ClientDBThreadStoreOperation>, | ||||
) => void; | ) => void; | ||||
+initializeCryptoAccount: (userId: string) => Promise<string>; | +initializeCryptoAccount: () => Promise<string>; | ||||
+getUserPublicKey: () => Promise<ClientPublicKeys>; | +getUserPublicKey: () => Promise<ClientPublicKeys>; | ||||
+getUserOneTimeKeys: () => Promise<string>; | +getUserOneTimeKeys: () => Promise<string>; | ||||
+getCodeVersion: () => number; | +getCodeVersion: () => number; | ||||
+terminate: () => void; | +terminate: () => void; | ||||
+setNotifyToken: (token: string) => Promise<void>; | +setNotifyToken: (token: string) => Promise<void>; | ||||
+clearNotifyToken: () => Promise<void>; | +clearNotifyToken: () => Promise<void>; | ||||
+setCurrentUserID: (userID: string) => Promise<void>; | +setCurrentUserID: (userID: string) => Promise<void>; | ||||
+getCurrentUserID: () => Promise<string>; | +getCurrentUserID: () => Promise<string>; | ||||
Show All 10 Lines |