mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Move Provider interface types to @types
This commit is contained in:
parent
38895fcf62
commit
ff3e509944
@ -26,3 +26,12 @@ export interface ProviderComputeInitializeResults {
|
|||||||
algorithm?: ProviderComputeInitialize
|
algorithm?: ProviderComputeInitialize
|
||||||
datasets?: ProviderComputeInitialize[]
|
datasets?: ProviderComputeInitialize[]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface ServiceEndpoint {
|
||||||
|
serviceName: string
|
||||||
|
method: string
|
||||||
|
urlPath: string
|
||||||
|
}
|
||||||
|
export interface UserCustomParameters {
|
||||||
|
[key: string]: any
|
||||||
|
}
|
||||||
|
@ -9,22 +9,11 @@ import {
|
|||||||
ComputeAsset,
|
ComputeAsset,
|
||||||
ComputeEnvironment,
|
ComputeEnvironment,
|
||||||
ProviderInitialize,
|
ProviderInitialize,
|
||||||
ProviderComputeInitializeResults
|
ProviderComputeInitializeResults,
|
||||||
|
ServiceEndpoint,
|
||||||
|
UserCustomParameters
|
||||||
} from '../@types'
|
} from '../@types'
|
||||||
|
|
||||||
export interface HttpCallback {
|
|
||||||
(httpMethod: string, url: string, body: string, header: any): Promise<any>
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ServiceEndpoint {
|
|
||||||
serviceName: string
|
|
||||||
method: string
|
|
||||||
urlPath: string
|
|
||||||
}
|
|
||||||
export interface UserCustomParameters {
|
|
||||||
[key: string]: any
|
|
||||||
}
|
|
||||||
|
|
||||||
export class Provider {
|
export class Provider {
|
||||||
/**
|
/**
|
||||||
* Returns the provider endpoints
|
* Returns the provider endpoints
|
||||||
|
Loading…
x
Reference in New Issue
Block a user