Type alias User<Roles>

User<Roles>: UserAttributes<Roles> & {
    id: string;
    type: "users";
    2fa: boolean;
    emails: {
        data: null | {
            type: "emails";
            id: string;
        }[];
    };
}

Users and related

Type Parameters

  • Roles extends string

Type declaration

  • id: string
  • type: "users"
  • 2fa: boolean
  • emails: {
        data: null | {
            type: "emails";
            id: string;
        }[];
    }
    • data: null | {
          type: "emails";
          id: string;
      }[]

Generated using TypeDoc