UNPKG

my-test123

Version:
21 lines (20 loc) 607 B
import { modelUI, modelService, Mapper, MapTree } from './common.model'; import { Profile } from 'ngx-login-client'; export interface UserService extends modelService { attributes?: Profile; links?: { self?: string; related?: string; }; } export interface UserUI extends modelUI { avatar: string; username: string; currentUser: boolean; } export declare class UserMapper implements Mapper<UserService, UserUI> { serviceToUiMapTree: MapTree; uiToServiceMapTree: MapTree; toUIModel(arg: UserService): UserUI; toServiceModel(arg: UserUI): UserService; }