@better-auth-ui/core
Version:
Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.
22 lines (21 loc) • 1.02 kB
TypeScript
/**
* Mutation keys contributed by the passkey plugin.
*
* `signIn` is kept under the shared `["auth", "signIn", ...]` namespace so
* consumers can match user-initiated sign-in attempts with
* `useIsMutating({ mutationKey: ["auth", "signIn"] })`. Conditional autofill
* lives outside that namespace because its request intentionally stays pending
* while the form remains usable.
*/
export declare const passkeyMutationKeys: {
/** Key for `signIn.passkey`. */
readonly signIn: readonly ["auth", "signIn", "passkey"];
/** Key for the non-blocking conditional passkey autofill request. */
readonly autoFill: readonly ["auth", "passkey", "autoFill"];
/** Key for `passkey.addPasskey`. */
readonly addPasskey: readonly ["auth", "passkey", "addPasskey"];
/** Key for `passkey.deletePasskey`. */
readonly deletePasskey: readonly ["auth", "passkey", "deletePasskey"];
/** Key for `passkey.updatePasskey`. */
readonly updatePasskey: readonly ["auth", "passkey", "updatePasskey"];
};