Changeset View
Changeset View
Standalone View
Standalone View
native/schema/CommRustModuleSchema.js
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | +uploadSecondaryDeviceKeysAndLogIn: ( | ||||
notifPrekey: string, | notifPrekey: string, | ||||
notifPrekeySignature: string, | notifPrekeySignature: string, | ||||
contentOneTimeKeys: $ReadOnlyArray<string>, | contentOneTimeKeys: $ReadOnlyArray<string>, | ||||
notifOneTimeKeys: $ReadOnlyArray<string>, | notifOneTimeKeys: $ReadOnlyArray<string>, | ||||
) => Promise<string>; | ) => Promise<string>; | ||||
+findUserIDForWalletAddress: (walletAddress: string) => Promise<string>; | +findUserIDForWalletAddress: (walletAddress: string) => Promise<string>; | ||||
+findUserIDForUsername: (username: string) => Promise<string>; | +findUserIDForUsername: (username: string) => Promise<string>; | ||||
+getFarcasterUsers: (farcasterIDs: $ReadOnlyArray<string>) => Promise<string>; | +getFarcasterUsers: (farcasterIDs: $ReadOnlyArray<string>) => Promise<string>; | ||||
+linkFarcasterAccount: ( | |||||
userID: string, | |||||
deviceID: string, | |||||
accessToken: string, | |||||
farcasterID: string, | |||||
) => Promise<void>; | |||||
} | } | ||||
export default (TurboModuleRegistry.getEnforcing<Spec>( | export default (TurboModuleRegistry.getEnforcing<Spec>( | ||||
'CommRustTurboModule', | 'CommRustTurboModule', | ||||
): Spec); | ): Spec); |