All files / src/objects CoreUser.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16                               
export interface CoreUser {
  id: string;
  auth0_id: string;
  email: string;
  email_verified: boolean;
  name: string | null;
  picture: string | null;
  is_active: boolean;
  is_superuser: boolean;
  /** Assigned in Auth0 (svc-core `app/services/platform_roles.py`); read
   * through `hasPlatformRole`, since a superuser holds every one. */
  platform_roles?: string[];
  created_at: string;
  updated_at: string;
}