mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
remove workflow & algorithm from metadata
This commit is contained in:
parent
e14bdc5719
commit
6d1abfb3ab
@ -1,51 +1,3 @@
|
|||||||
export interface StageRequirements {
|
|
||||||
container: {
|
|
||||||
image: string
|
|
||||||
tag: string
|
|
||||||
checksum: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface StageInput {
|
|
||||||
index: number
|
|
||||||
id: string
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface StageTransformation {
|
|
||||||
id: string
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface StageOutput {
|
|
||||||
metadataUrl: string
|
|
||||||
secretStoreUrl: string
|
|
||||||
accessProxyUrl: string
|
|
||||||
metadata: MetaDataMain
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Stage {
|
|
||||||
index: number
|
|
||||||
stageType?: string
|
|
||||||
requirements: StageRequirements
|
|
||||||
input: StageInput
|
|
||||||
transformation: StageTransformation
|
|
||||||
output: StageOutput
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Workflow {
|
|
||||||
stages: Stage[]
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Algorithm {
|
|
||||||
language: string
|
|
||||||
format?: string
|
|
||||||
version?: string
|
|
||||||
entrypoint: string
|
|
||||||
requirements: {
|
|
||||||
requirement: string
|
|
||||||
version: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ServiceDefinition {
|
export interface ServiceDefinition {
|
||||||
auth: {
|
auth: {
|
||||||
type: string
|
type: string
|
||||||
@ -198,10 +150,6 @@ export interface MetaDataMain {
|
|||||||
|
|
||||||
encryptedService?: any
|
encryptedService?: any
|
||||||
|
|
||||||
workflow?: Workflow
|
|
||||||
|
|
||||||
algorithm?: Algorithm
|
|
||||||
|
|
||||||
service?: Service
|
service?: Service
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import WebServiceConnector from '../../src/utils/WebServiceConnector'
|
import { WebServiceConnector } from '../../src/ocean/utils/WebServiceConnector'
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
export default class WebServiceConnectorMock extends WebServiceConnector {
|
export default class WebServiceConnectorMock extends WebServiceConnector {
|
||||||
|
Loading…
Reference in New Issue
Block a user