1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
ocean.js/docs/interfaces/ServiceComputeOptions.md
2023-05-02 15:59:59 +01:00

1.8 KiB

@oceanprotocol/lib / Exports / ServiceComputeOptions

Interface: ServiceComputeOptions

Table of contents

Properties

Properties

allowNetworkAccess

allowNetworkAccess: boolean

If true, the algorithm job will have network access.

Defined in

@types/DDO/Service.ts:34


allowRawAlgorithm

allowRawAlgorithm: boolean

If true, any passed raw text will be allowed to run. Useful for an algorithm drag & drop use case, but increases risk of data escape through malicious user input. Should be false by default in all implementations.

Defined in

@types/DDO/Service.ts:28


publisherTrustedAlgorithmPublishers

publisherTrustedAlgorithmPublishers: string[]

If empty, then any published algorithm is allowed. Otherwise, only published algorithms by some publishers are allowed

Defined in

@types/DDO/Service.ts:41


publisherTrustedAlgorithms

publisherTrustedAlgorithms: PublisherTrustedAlgorithm[]

If empty, then any published algorithm is allowed. (see below)

Defined in

@types/DDO/Service.ts:47