mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
27 lines
360 B
TypeScript
27 lines
360 B
TypeScript
export interface FileMetadata {
|
|
/**
|
|
* File format, if applicable.
|
|
* @type {string}
|
|
* @example "text/csv"
|
|
*/
|
|
contentType: string
|
|
|
|
/**
|
|
* File content length.
|
|
* @type {[type]}
|
|
*/
|
|
contentLength?: string
|
|
|
|
/**
|
|
* File index.
|
|
* @type {number}
|
|
*/
|
|
index?: number
|
|
|
|
/**
|
|
* File URL.
|
|
* @type {string}
|
|
*/
|
|
url?: string
|
|
}
|