1
0
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:
Matthias Kretschmann 2020-01-21 22:10:19 +01:00
parent e14bdc5719
commit 6d1abfb3ab
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 1 additions and 53 deletions

View File

@ -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 {
auth: {
type: string
@ -198,10 +150,6 @@ export interface MetaDataMain {
encryptedService?: any
workflow?: Workflow
algorithm?: Algorithm
service?: Service
}

View File

@ -1,4 +1,4 @@
import WebServiceConnector from '../../src/utils/WebServiceConnector'
import { WebServiceConnector } from '../../src/ocean/utils/WebServiceConnector'
// @ts-ignore
export default class WebServiceConnectorMock extends WebServiceConnector {