mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 09:20:21 -04:00
40ca927808
* Support updating email address for email identity * Support unlinking identity * Deprecate AccountInformation component * Invalidate identities after unlinking * Address feedback * Smol * Fix type issues * Update toast message * Set up email change pending badge * Fix * Address feedback * Resolve ts-expect-errors * Fix TS issues + Fix GH icon on light mode + Address feedback
14 lines
412 B
TypeScript
14 lines
412 B
TypeScript
export const profileKeys = {
|
|
profile: () => ['profile'] as const,
|
|
mfaFactors: () => ['mfa', 'factors'] as const,
|
|
identities: () => ['profile', 'identities'] as const,
|
|
aaLevel: () => ['mfa', 'aaLevel'] as const,
|
|
auditLogs: ({
|
|
date_start,
|
|
date_end,
|
|
}: {
|
|
date_start: string | undefined
|
|
date_end: string | undefined
|
|
}) => ['profile', 'audit-logs', { date_start, date_end }] as const,
|
|
}
|