Files
supabase/studio/data/profile/keys.ts
T

13 lines
356 B
TypeScript

export const profileKeys = {
profile: () => ['profile'] as const,
mfaFactors: () => ['mfa', 'factors'] 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,
}