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