Changeset View
Changeset View
Standalone View
Standalone View
native/schema/CommCoreModuleSchema.js
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | export interface Spec extends TurboModule { | ||||
+clearNotifyToken: () => Promise<void>; | +clearNotifyToken: () => Promise<void>; | ||||
+setCurrentUserID: (userID: string) => Promise<void>; | +setCurrentUserID: (userID: string) => Promise<void>; | ||||
+getCurrentUserID: () => Promise<string>; | +getCurrentUserID: () => Promise<string>; | ||||
+setDeviceID: (deviceType: string) => Promise<string>; | +setDeviceID: (deviceType: string) => Promise<string>; | ||||
+getDeviceID: () => Promise<string>; | +getDeviceID: () => Promise<string>; | ||||
+clearSensitiveData: () => Promise<void>; | +clearSensitiveData: () => Promise<void>; | ||||
+checkIfDatabaseNeedsDeletion: () => boolean; | +checkIfDatabaseNeedsDeletion: () => boolean; | ||||
+reportDBOperationsFailure: () => void; | +reportDBOperationsFailure: () => void; | ||||
+get42: () => Promise<number>; | |||||
} | } | ||||
export default (TurboModuleRegistry.getEnforcing<Spec>( | export default (TurboModuleRegistry.getEnforcing<Spec>( | ||||
'CommTurboModule', | 'CommTurboModule', | ||||
): Spec); | ): Spec); |