UNPKG

@better-auth-ui/core

Version:

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

7 lines (6 loc) 540 B
/** Query key factory for multi-session queries, scoped per user. */ export declare const multiSessionQueryKeys: { readonly all: (userId: string | undefined) => readonly ["auth", "user", string | undefined, "multiSession"]; readonly lists: (userId: string | undefined) => readonly ["auth", "user", string | undefined, "multiSession", "list"]; readonly list: <TQuery = undefined>(userId: string | undefined, query?: TQuery) => readonly ["auth", "user", string | undefined, "multiSession", "list", NonNullable<TQuery> | null]; };