mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
28 lines
339 B
TypeScript
28 lines
339 B
TypeScript
export interface UrlFile {
|
|
type: 'url'
|
|
|
|
/**
|
|
* File index.
|
|
* @type {number}
|
|
*/
|
|
index?: number
|
|
|
|
/**
|
|
* File URL.
|
|
* @type {string}
|
|
*/
|
|
url: string
|
|
|
|
/**
|
|
* HTTP method used
|
|
* @type {string}
|
|
*/
|
|
method: string
|
|
}
|
|
|
|
export interface Files {
|
|
nftAddress: string
|
|
datatokenAddress: string
|
|
files: UrlFile[]
|
|
}
|