UNPKG

@better-auth-ui/core

Version:

Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.

18 lines (17 loc) 570 B
/** * Mutation keys contributed by the magic-link plugin. * * Kept under the shared `["auth", "signIn", ...]` namespace as the built-in * sign-in mutation keys so consumers can match the whole sign-in surface * with `useIsMutating({ mutationKey: ["auth", "signIn"] })` regardless of * which strategy is in flight. * * @example * ```ts * useIsMutating({ mutationKey: magicLinkMutationKeys.signIn }) * ``` */ export declare const magicLinkMutationKeys: { /** Key for `signIn.magicLink`. */ readonly signIn: readonly ["auth", "signIn", "magicLink"]; };