1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
ocean.js/src/interfaces/FileMetadata.ts
2021-12-06 10:19:19 +02:00

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
}