@better-auth-ui/core
Version:
Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.
9 lines (8 loc) • 581 B
TypeScript
import { DashAuditLog } from '@better-auth/infra/client';
export declare const formatDashEventName: (value?: string) => string | undefined;
/** A short, non-sensitive detail for a known Dash audit-log event. */
export declare const getDashEventDetail: (event: DashAuditLog) => string | undefined;
/** Format the stored event location, with IP addresses opt-in. */
export declare const getDashEventLocation: (event: DashAuditLog, showIpAddress?: boolean) => string;
/** Stable identity for an audit-log row. */
export declare const getDashEventKey: (event: DashAuditLog) => string;