@better-auth-ui/core
Version:
Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.
8 lines (7 loc) • 769 B
TypeScript
/** Query key factory for Dash audit log queries, partitioned by user. */
export declare const dashQueryKeys: {
readonly all: (userId: string | undefined) => readonly ["auth", "user", string | undefined, "dash"];
readonly auditLogs: <TParams>(userId: string | undefined, params: TParams) => readonly ["auth", "user", string | undefined, "dash", "audit-logs", TParams];
readonly allAuditLogs: <TParams>(userId: string | undefined, params: TParams) => readonly ["auth", "user", string | undefined, "dash", "all-audit-logs", TParams];
readonly userAuditLogs: <TParams>(actorUserId: string | undefined, userId: string | undefined, params: TParams) => readonly ["auth", "user", string | undefined, "dash", "user-audit-logs", string | undefined, TParams];
};