interface User {
    _id: string;
    auth0sub?: string;
    avatar?: string;
    avatars: {
        provider: string;
        [key: string]: string;
    };
    created: string;
    email: string;
    firstname: string;
    lastname: string;
    modified: string;
    roles: SiteRole[];
    user_id?: string;
}

Properties

_id: string
auth0sub?: string
avatar?: string
avatars: {
    provider: string;
    [key: string]: string;
}

Type declaration

  • [key: string]: string
  • provider: string
created: string
email: string
firstname: string
lastname: string
modified: string
roles: SiteRole[]
user_id?: string