1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

add credentials to service type

This commit is contained in:
Filip Masar 2024-09-24 15:35:08 +02:00
parent eb6d84edce
commit 6cdf69547c

View File

@ -1,4 +1,5 @@
import { ConsumerParameter } from './ConsumerParameter' import { ConsumerParameter } from './ConsumerParameter'
import { Credentials } from './Credentials'
export interface PublisherTrustedAlgorithm { export interface PublisherTrustedAlgorithm {
/** /**
@ -80,6 +81,12 @@ export interface Service {
*/ */
serviceEndpoint: string serviceEndpoint: string
/**
* Describes the credentials needed to access a service
* @type {Credentials}
*/
credentials?: Credentials
/** /**
* Describing how long the service can be used after consumption is initiated. * Describing how long the service can be used after consumption is initiated.
* @type {number} * @type {number}