Changeset View
Changeset View
Standalone View
Standalone View
native/schema/CommCoreModuleSchema.js
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | +registerUser: ( | ||||
keyPayloadSignature: string, | keyPayloadSignature: string, | ||||
contentPrekey: string, | contentPrekey: string, | ||||
contentPrekeySignature: string, | contentPrekeySignature: string, | ||||
notifPrekey: string, | notifPrekey: string, | ||||
notifPrekeySignature: string, | notifPrekeySignature: string, | ||||
contentOneTimeKeys: $ReadOnlyArray<string>, | contentOneTimeKeys: $ReadOnlyArray<string>, | ||||
notifOneTimeKeys: $ReadOnlyArray<string>, | notifOneTimeKeys: $ReadOnlyArray<string>, | ||||
) => Promise<string>; | ) => Promise<string>; | ||||
+loginPasswordUser: ( | |||||
username: string, | |||||
password: string, | |||||
keyPayload: string, | |||||
keyPayloadSignature: string, | |||||
contentPrekey: string, | |||||
contentPrekeySignature: string, | |||||
notifPrekey: string, | |||||
notifPrekeySignature: string, | |||||
contentOneTimeKeys: $ReadOnlyArray<string>, | |||||
notifOneTimeKeys: $ReadOnlyArray<string>, | |||||
) => Promise<string>; | |||||
} | } | ||||
export default (TurboModuleRegistry.getEnforcing<Spec>( | export default (TurboModuleRegistry.getEnforcing<Spec>( | ||||
'CommTurboModule', | 'CommTurboModule', | ||||
): Spec); | ): Spec); |