BaseInterface
概览
BaseInterface 是所有 Interface 类型的基础类,用户可以自行继承此类实现自定义的 Interface 逻辑。
接口
toValue(value: string, ctx?: any): Promise
将外部的字符串转换为 interface 的实际值,值可直接传递给 Repository 进行写入操作
toString(value: any, ctx?: any)
将 interface 的实际值转换为 string 类型,string 类型可用作导出、展示时使用

