This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

semble / src / modules / cards / domain / services / IProfileService.ts
499 B 20 lines
1import { Result } from 'src/shared/core/Result'; 2 3export interface IProfileService { 4 getProfile(userId: string, callerId?: string): Promise<Result<UserProfile>>; 5 invalidateCounts?(userId: string): Promise<void>; 6} 7 8export interface UserProfile { 9 id: string; 10 name: string; 11 handle: string; 12 avatarUrl?: string; 13 bannerUrl?: string; 14 bio?: string; 15 isFollowing?: boolean; 16 followsYou?: boolean; 17 followerCount?: number; 18 followingCount?: number; 19 followedCollectionsCount?: number; 20}