1
我有一個具有圖像屬性的用戶界面。我如何正確映射它?如何正確映射打印機中的界面
身份驗證
export interface Authenticate {
username: string;
password: string;
}
用戶
export interface User {
name: string;
surname: string;
image: -- How to map to the image interface below?
}
圖片
export interface Image{
alt: string,
org: string,
webImg: string,
thumbnail: string,
description: string,
keywords: any
}
我主要將它們看作序列化的字符串,但可能有BLOB? – rjustin