UNPKG

synapse-react-client

Version:

[![Build Status](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client.svg?branch=main)](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synaps

18 lines (17 loc) 724 B
import { UserProfile } from '../synapseTypes/'; declare function getUserProfileWithProfilePicAttached(principalIds: string[]): Promise<{ list: UserProfile[]; }>; export declare type UserProfileAndImg = { userProfile: UserProfile; preSignedURL?: string; }; declare function getProfilePic(userProfile: UserProfile, token?: string): Promise<UserProfileAndImg>; declare const getColor: (userName: string) => string; export { getUserProfileWithProfilePicAttached, getColor, getProfilePic }; declare const _default: { getUserProfileWithProfilePicAttached: typeof getUserProfileWithProfilePicAttached; getColor: (userName: string) => string; getProfilePic: typeof getProfilePic; }; export default _default;