跳到主要内容

interface_field_types.IAttachmentValue

interface/field_types.IAttachmentValue

Properties

id

id: string

id is used as a follow key, currently the same as attachmentToken


name

name: string

filename


mimeType

mimeType: string

the mime type of the file


token

token: string

the file is uploaded to the back-end token and the final address is accessed through the front-end assembly.


bucket

bucket: string

storage bucket location, back-end return


size

size: number

file size, the backend returns byte


width

Optional width: number


height

Optional height: number


preview

Optional preview: string

preview address (pdf type file), without domain name


url

url: string

full address of the file


previewUrl

Optional previewUrl: string

full address for previews