@octelium/apis 1.0.0 → 1.0.2
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.
- package/main/authv1/index.d.ts +1 -1
- package/main/authv1/index.d.ts.map +1 -1
- package/main/authv1/index.js +1 -1
- package/main/authv1/index.js.map +1 -1
- package/main/authv1/index.ts +1 -1
- package/main/cordiumv1/cordiumv1.d.ts +6 -6
- package/main/cordiumv1/cordiumv1.d.ts.map +1 -1
- package/main/cordiumv1/cordiumv1.js +17 -17
- package/main/cordiumv1/cordiumv1.js.map +1 -1
- package/main/cordiumv1/cordiumv1.ts +23 -23
- package/main/cordiumv1/index.d.ts +1 -1
- package/main/cordiumv1/index.d.ts.map +1 -1
- package/main/cordiumv1/index.js +1 -1
- package/main/cordiumv1/index.js.map +1 -1
- package/main/cordiumv1/index.ts +1 -1
- package/main/corev1/index.d.ts +1 -1
- package/main/corev1/index.d.ts.map +1 -1
- package/main/corev1/index.js +1 -1
- package/main/corev1/index.js.map +1 -1
- package/main/corev1/index.ts +1 -1
- package/main/userv1/index.d.ts +1 -1
- package/main/userv1/index.d.ts.map +1 -1
- package/main/userv1/index.js +1 -1
- package/main/userv1/index.js.map +1 -1
- package/main/userv1/index.ts +1 -1
- package/package.json +50 -11
|
@@ -91,15 +91,11 @@ export interface Workspace_Spec {
|
|
|
91
91
|
*/
|
|
92
92
|
limit?: Workspace_Spec_Limit;
|
|
93
93
|
/**
|
|
94
|
-
* @generated from protobuf field:
|
|
95
|
-
*/
|
|
96
|
-
autoStop: boolean;
|
|
97
|
-
/**
|
|
98
|
-
* @generated from protobuf field: repeated octelium.api.main.cordium.v1.Workspace.Spec.Var vars = 8
|
|
94
|
+
* @generated from protobuf field: repeated octelium.api.main.cordium.v1.Workspace.Spec.Var vars = 7
|
|
99
95
|
*/
|
|
100
96
|
vars: Workspace_Spec_Var[];
|
|
101
97
|
/**
|
|
102
|
-
* @generated from protobuf field: bool isEphemeral =
|
|
98
|
+
* @generated from protobuf field: bool isEphemeral = 8
|
|
103
99
|
*/
|
|
104
100
|
isEphemeral: boolean;
|
|
105
101
|
}
|
|
@@ -428,6 +424,10 @@ export interface Workspace_Spec_Runtime {
|
|
|
428
424
|
* @generated from protobuf field: octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Timeout timeout = 11
|
|
429
425
|
*/
|
|
430
426
|
timeout?: Workspace_Spec_Runtime_Timeout;
|
|
427
|
+
/**
|
|
428
|
+
* @generated from protobuf field: bool autoStop = 12
|
|
429
|
+
*/
|
|
430
|
+
autoStop: boolean;
|
|
431
431
|
}
|
|
432
432
|
/**
|
|
433
433
|
* @generated from protobuf message octelium.api.main.cordium.v1.Workspace.Spec.Runtime.EnvVar
|
|
@@ -3687,16 +3687,14 @@ class Workspace_Spec$Type extends MessageType<Workspace_Spec> {
|
|
|
3687
3687
|
{ no: 4, name: "additionalRepositories", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Workspace_Spec_AdditionalRepository },
|
|
3688
3688
|
{ no: 5, name: "applications", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Workspace_Spec_Application },
|
|
3689
3689
|
{ no: 6, name: "limit", kind: "message", T: () => Workspace_Spec_Limit },
|
|
3690
|
-
{ no: 7, name: "
|
|
3691
|
-
{ no: 8, name: "
|
|
3692
|
-
{ no: 9, name: "isEphemeral", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
3690
|
+
{ no: 7, name: "vars", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Workspace_Spec_Var },
|
|
3691
|
+
{ no: 8, name: "isEphemeral", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
3693
3692
|
]);
|
|
3694
3693
|
}
|
|
3695
3694
|
create(value?: PartialMessage<Workspace_Spec>): Workspace_Spec {
|
|
3696
3695
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
3697
3696
|
message.additionalRepositories = [];
|
|
3698
3697
|
message.applications = [];
|
|
3699
|
-
message.autoStop = false;
|
|
3700
3698
|
message.vars = [];
|
|
3701
3699
|
message.isEphemeral = false;
|
|
3702
3700
|
if (value !== undefined)
|
|
@@ -3726,13 +3724,10 @@ class Workspace_Spec$Type extends MessageType<Workspace_Spec> {
|
|
|
3726
3724
|
case /* octelium.api.main.cordium.v1.Workspace.Spec.Limit limit */ 6:
|
|
3727
3725
|
message.limit = Workspace_Spec_Limit.internalBinaryRead(reader, reader.uint32(), options, message.limit);
|
|
3728
3726
|
break;
|
|
3729
|
-
case /*
|
|
3730
|
-
message.autoStop = reader.bool();
|
|
3731
|
-
break;
|
|
3732
|
-
case /* repeated octelium.api.main.cordium.v1.Workspace.Spec.Var vars */ 8:
|
|
3727
|
+
case /* repeated octelium.api.main.cordium.v1.Workspace.Spec.Var vars */ 7:
|
|
3733
3728
|
message.vars.push(Workspace_Spec_Var.internalBinaryRead(reader, reader.uint32(), options));
|
|
3734
3729
|
break;
|
|
3735
|
-
case /* bool isEphemeral */
|
|
3730
|
+
case /* bool isEphemeral */ 8:
|
|
3736
3731
|
message.isEphemeral = reader.bool();
|
|
3737
3732
|
break;
|
|
3738
3733
|
default:
|
|
@@ -3765,15 +3760,12 @@ class Workspace_Spec$Type extends MessageType<Workspace_Spec> {
|
|
|
3765
3760
|
/* octelium.api.main.cordium.v1.Workspace.Spec.Limit limit = 6; */
|
|
3766
3761
|
if (message.limit)
|
|
3767
3762
|
Workspace_Spec_Limit.internalBinaryWrite(message.limit, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
3768
|
-
/*
|
|
3769
|
-
if (message.autoStop !== false)
|
|
3770
|
-
writer.tag(7, WireType.Varint).bool(message.autoStop);
|
|
3771
|
-
/* repeated octelium.api.main.cordium.v1.Workspace.Spec.Var vars = 8; */
|
|
3763
|
+
/* repeated octelium.api.main.cordium.v1.Workspace.Spec.Var vars = 7; */
|
|
3772
3764
|
for (let i = 0; i < message.vars.length; i++)
|
|
3773
|
-
Workspace_Spec_Var.internalBinaryWrite(message.vars[i], writer.tag(
|
|
3774
|
-
/* bool isEphemeral =
|
|
3765
|
+
Workspace_Spec_Var.internalBinaryWrite(message.vars[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
3766
|
+
/* bool isEphemeral = 8; */
|
|
3775
3767
|
if (message.isEphemeral !== false)
|
|
3776
|
-
writer.tag(
|
|
3768
|
+
writer.tag(8, WireType.Varint).bool(message.isEphemeral);
|
|
3777
3769
|
let u = options.writeUnknownFields;
|
|
3778
3770
|
if (u !== false)
|
|
3779
3771
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4693,7 +4685,8 @@ class Workspace_Spec_Runtime$Type extends MessageType<Workspace_Spec_Runtime> {
|
|
|
4693
4685
|
{ no: 8, name: "network", kind: "message", T: () => Workspace_Spec_Runtime_Network },
|
|
4694
4686
|
{ no: 9, name: "filesystem", kind: "message", T: () => Workspace_Spec_Runtime_Filesystem },
|
|
4695
4687
|
{ no: 10, name: "capabilities", kind: "message", T: () => Workspace_Spec_Runtime_Capabilities },
|
|
4696
|
-
{ no: 11, name: "timeout", kind: "message", T: () => Workspace_Spec_Runtime_Timeout }
|
|
4688
|
+
{ no: 11, name: "timeout", kind: "message", T: () => Workspace_Spec_Runtime_Timeout },
|
|
4689
|
+
{ no: 12, name: "autoStop", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
4697
4690
|
]);
|
|
4698
4691
|
}
|
|
4699
4692
|
create(value?: PartialMessage<Workspace_Spec_Runtime>): Workspace_Spec_Runtime {
|
|
@@ -4703,6 +4696,7 @@ class Workspace_Spec_Runtime$Type extends MessageType<Workspace_Spec_Runtime> {
|
|
|
4703
4696
|
message.disableInit = false;
|
|
4704
4697
|
message.cmd = "";
|
|
4705
4698
|
message.entrypoint = "";
|
|
4699
|
+
message.autoStop = false;
|
|
4706
4700
|
if (value !== undefined)
|
|
4707
4701
|
reflectionMergePartial<Workspace_Spec_Runtime>(this, message, value);
|
|
4708
4702
|
return message;
|
|
@@ -4745,6 +4739,9 @@ class Workspace_Spec_Runtime$Type extends MessageType<Workspace_Spec_Runtime> {
|
|
|
4745
4739
|
case /* octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Timeout timeout */ 11:
|
|
4746
4740
|
message.timeout = Workspace_Spec_Runtime_Timeout.internalBinaryRead(reader, reader.uint32(), options, message.timeout);
|
|
4747
4741
|
break;
|
|
4742
|
+
case /* bool autoStop */ 12:
|
|
4743
|
+
message.autoStop = reader.bool();
|
|
4744
|
+
break;
|
|
4748
4745
|
default:
|
|
4749
4746
|
let u = options.readUnknownField;
|
|
4750
4747
|
if (u === "throw")
|
|
@@ -4790,6 +4787,9 @@ class Workspace_Spec_Runtime$Type extends MessageType<Workspace_Spec_Runtime> {
|
|
|
4790
4787
|
/* octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Timeout timeout = 11; */
|
|
4791
4788
|
if (message.timeout)
|
|
4792
4789
|
Workspace_Spec_Runtime_Timeout.internalBinaryWrite(message.timeout, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
4790
|
+
/* bool autoStop = 12; */
|
|
4791
|
+
if (message.autoStop !== false)
|
|
4792
|
+
writer.tag(12, WireType.Varint).bool(message.autoStop);
|
|
4793
4793
|
let u = options.writeUnknownFields;
|
|
4794
4794
|
if (u !== false)
|
|
4795
4795
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA"}
|
package/main/cordiumv1/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA"}
|
package/main/cordiumv1/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './cordiumv1.js'
|
|
2
|
-
export
|
|
2
|
+
export { MainServiceClient } from './cordiumv1.client.js'
|
package/main/corev1/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA"}
|
package/main/corev1/index.js
CHANGED
package/main/corev1/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA"}
|
package/main/corev1/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './corev1.js'
|
|
2
|
-
export
|
|
2
|
+
export { MainServiceClient } from './corev1.client.js'
|
package/main/userv1/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA"}
|
package/main/userv1/index.js
CHANGED
package/main/userv1/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA"}
|
package/main/userv1/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './userv1.js'
|
|
2
|
-
export
|
|
2
|
+
export { MainServiceClient } from './userv1.client.js'
|
package/package.json
CHANGED
|
@@ -1,31 +1,70 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octelium/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Octelium Protobuf APIs",
|
|
5
5
|
"author": "Octelium <contact@octelium.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"private": false,
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
10
|
-
"
|
|
11
|
-
"import": "./
|
|
12
|
-
"
|
|
13
|
-
"types": "./main/*/index.d.ts"
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./index.js",
|
|
12
|
+
"types": "./index.d.ts"
|
|
14
13
|
},
|
|
15
|
-
"./main
|
|
16
|
-
"import": "./main
|
|
17
|
-
"
|
|
18
|
-
|
|
14
|
+
"./main/metav1": {
|
|
15
|
+
"import": "./main/metav1/index.js",
|
|
16
|
+
"types": "./main/metav1/index.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./main/corev1": {
|
|
19
|
+
"import": "./main/corev1/index.js",
|
|
20
|
+
"types": "./main/corev1/index.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"./main/authv1": {
|
|
23
|
+
"import": "./main/authv1/index.js",
|
|
24
|
+
"types": "./main/authv1/index.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./main/userv1": {
|
|
27
|
+
"import": "./main/userv1/index.js",
|
|
28
|
+
"types": "./main/userv1/index.d.ts"
|
|
29
|
+
},
|
|
30
|
+
"./main/cordiumv1": {
|
|
31
|
+
"import": "./main/cordiumv1/index.js",
|
|
32
|
+
"types": "./main/cordiumv1/index.d.ts"
|
|
33
|
+
},
|
|
34
|
+
"./main/metav1/*": {
|
|
35
|
+
"import": "./main/metav1/*.js",
|
|
36
|
+
"types": "./main/metav1/*.d.ts"
|
|
37
|
+
},
|
|
38
|
+
"./main/corev1/*": {
|
|
39
|
+
"import": "./main/corev1/*.js",
|
|
40
|
+
"types": "./main/corev1/*.d.ts"
|
|
41
|
+
},
|
|
42
|
+
"./main/authv1/*": {
|
|
43
|
+
"import": "./main/authv1/*.js",
|
|
44
|
+
"types": "./main/authv1/*.d.ts"
|
|
45
|
+
},
|
|
46
|
+
"./main/userv1/*": {
|
|
47
|
+
"import": "./main/userv1/*.js",
|
|
48
|
+
"types": "./main/userv1/*.d.ts"
|
|
49
|
+
},
|
|
50
|
+
"./main/cordiumv1/*": {
|
|
51
|
+
"import": "./main/cordiumv1/*.js",
|
|
52
|
+
"types": "./main/cordiumv1/*.d.ts"
|
|
19
53
|
},
|
|
20
54
|
"./google/*": {
|
|
21
55
|
"import": "./google/*.js",
|
|
22
|
-
"require": "./google/*.js",
|
|
23
56
|
"types": "./google/*.d.ts"
|
|
24
57
|
}
|
|
25
58
|
},
|
|
26
59
|
"files": [
|
|
60
|
+
"index.js",
|
|
61
|
+
"index.d.ts",
|
|
62
|
+
"index.d.ts.map",
|
|
63
|
+
"index.js.map",
|
|
27
64
|
"main",
|
|
28
|
-
"google"
|
|
65
|
+
"google",
|
|
66
|
+
"LICENSE",
|
|
67
|
+
"README.md"
|
|
29
68
|
],
|
|
30
69
|
"repository": {
|
|
31
70
|
"type": "git",
|