@oceanprotocol/lib 9.0.0-next.7 → 9.0.0-next.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,12 @@ export interface UserConfigurableEnvVar {
13
13
  validation?: string;
14
14
  sensitive?: boolean;
15
15
  }
16
+ export interface ServiceTemplateWorkflow {
17
+ id: string;
18
+ name: string;
19
+ description?: string;
20
+ graph?: unknown;
21
+ }
16
22
  export interface ServiceTemplatePublic {
17
23
  id: string;
18
24
  name?: string;
@@ -29,6 +35,7 @@ export interface ServiceTemplatePublic {
29
35
  entrypoint?: string[];
30
36
  requiredResources?: TemplateResourceRequirement[];
31
37
  recommendedResources?: TemplateResourceRequirement[];
38
+ workflows?: ServiceTemplateWorkflow[];
32
39
  }
33
40
  export interface ServiceJobEndpoint {
34
41
  containerPort: number;
@@ -45,6 +52,7 @@ export declare enum ServiceStatusNumber {
45
52
  Locking = 20,
46
53
  Claiming = 30,
47
54
  Running = 40,
55
+ Restarting = 45,
48
56
  Stopping = 50,
49
57
  Stopped = 70,
50
58
  Expired = 75,
@@ -115,4 +123,5 @@ export interface ServiceStartParams extends ServiceContainerSpec {
115
123
  resources?: ComputeResourceRequest[];
116
124
  duration: number;
117
125
  payment: ServicePayment;
126
+ outputBucketId?: string;
118
127
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oceanprotocol/lib",
3
3
  "source": "./src/index.ts",
4
- "version": "9.0.0-next.7",
4
+ "version": "9.0.0-next.9",
5
5
  "description": "JavaScript client library for Ocean Protocol",
6
6
  "main": "./dist/lib.cjs",
7
7
  "umd:main": "dist/lib.umd.js",