This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
resolver/app/services/users/IUserService.ts

14 lines
359 B
TypeScript

import { User, Profile } from 'domain/users'
/**
* User service interface
*
* @export
* @interface IUserService
*/
export interface IUserService {
getUserProfile: (userId: string) => Promise<Profile>
updateUserProfile: (userId: string, profile: Profile) => Promise<void>
getUsersProfile: (userId: string) => Promise<{[userId: string]: Profile}>
}