import { IUser } from '../..'; export type IAuthLinkResponse = IAuthLinkStemnResponse | IAuthLinkFacebookResponse | IAuthLinkLinkedinResponse | IAuthLinkGoogleResponse | IAuthLinkDropboxResponse & { token: string; }; export interface IAuthLinkStemnResponse { stemn: IUser['accounts']['stemn']; } export interface IAuthLinkFacebookResponse { facebook: IUser['accounts']['facebook']; } export interface IAuthLinkLinkedinResponse { linkedin: IUser['accounts']['linkedin']; } export interface IAuthLinkGoogleResponse { google: IUser['accounts']['google']; } export interface IAuthLinkDropboxResponse { dropbox: IUser['accounts']['dropbox']; }