File
@nevermined-io/nevermined-sdk-js / File
Interface: File
Table of contents
Properties
Properties
checksum
• Optional
checksum: string
File checksum.
Defined in
checksumType
• Optional
checksumType: string
Checksum hash algorithm.
Defined in
compression
• Optional
compression: string
File compression (e.g. no, gzip, bzip2, etc).
Example
"zip"
Defined in
contentLength
• Optional
contentLength: string
File content length.
Defined in
contentType
• contentType: string
File format, if applicable.
Example
"text/csv"
Defined in
encoding
• Optional
encoding: string
File encoding.
Example
"UTF-8"
Defined in
encryption
• Optional
encryption: "dtp"
Encryption mode used.
Remarks
If not provided is assumed the files are not encrypted. Currently only dtp
is implemented.
Defined in
index
• Optional
index: number
File index.
Defined in
name
• Optional
name: string
File name.
Defined in
resourceId
• Optional
resourceId: string
Resource ID (depending on the source).
Defined in
url
• url: string
File URL.