27 lines
699 B
TypeScript
27 lines
699 B
TypeScript
import { FormConsumerParameter } from '@components/Publish/_types'
|
|
import { FileInfo } from '@oceanprotocol/lib'
|
|
export interface MetadataEditForm {
|
|
name: string
|
|
description: string
|
|
timeout: string
|
|
paymentCollector: string
|
|
price?: string
|
|
files: FileInfo[]
|
|
links?: FileInfo[]
|
|
author?: string
|
|
tags?: string[]
|
|
usesConsumerParameters?: boolean
|
|
consumerParameters?: FormConsumerParameter[]
|
|
assetState?: string
|
|
service?: {
|
|
usesConsumerParameters?: boolean
|
|
consumerParameters?: FormConsumerParameter[]
|
|
}
|
|
}
|
|
|
|
export interface ComputeEditForm {
|
|
allowAllPublishedAlgorithms: boolean
|
|
publisherTrustedAlgorithms: string[]
|
|
publisherTrustedAlgorithmPublishers: string[]
|
|
}
|