@code0-tech/tucana 0.0.62 → 0.0.65
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/dist/aquila.cjs.js +1 -0
- package/dist/aquila.d.ts +2 -0
- package/dist/aquila.es.js +858 -0
- package/dist/helpers/helpers.d.ts +1 -0
- package/{helpers → dist/helpers}/shared.struct_helper.d.ts +2 -2
- package/dist/helpers.cjs.js +1 -0
- package/dist/helpers.d.ts +2 -0
- package/dist/helpers.es.js +61 -0
- package/{pb → dist/pb}/_generated/aquila.action_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/aquila.action_pb.d.ts +5 -14
- package/{pb → dist/pb}/_generated/aquila.data_type_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/aquila.data_type_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/aquila.flow_type_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/aquila.flow_type_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/aquila.runtime_function_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/aquila.runtime_function_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/aquila.runtime_status_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/aquila.runtime_status_pb.d.ts +4 -12
- package/{pb → dist/pb}/_generated/aquila.runtime_usage_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/aquila.runtime_usage_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/sagittarius.action_configuration_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.action_configuration_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/sagittarius.data_type_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.data_type_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/sagittarius.flow_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.flow_pb.d.ts +5 -13
- package/{pb → dist/pb}/_generated/sagittarius.flow_type_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.flow_type_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/sagittarius.ping_pb.client.d.ts +7 -11
- package/{pb → dist/pb}/_generated/sagittarius.ping_pb.d.ts +3 -10
- package/{pb → dist/pb}/_generated/sagittarius.runtime_function_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.runtime_function_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/sagittarius.runtime_status_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.runtime_status_pb.d.ts +4 -12
- package/{pb → dist/pb}/_generated/sagittarius.runtime_usage_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.runtime_usage_pb.d.ts +4 -11
- package/dist/pb/_generated/sagittarius.text_execution_pb.client.d.ts +27 -0
- package/{pb → dist/pb}/_generated/sagittarius.text_execution_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/shared.action_configuration_pb.d.ts +3 -11
- package/{pb → dist/pb}/_generated/shared.data_type_pb.d.ts +2 -10
- package/{pb → dist/pb}/_generated/shared.flow_definition_pb.d.ts +35 -47
- package/{pb → dist/pb}/_generated/shared.flow_pb.d.ts +12 -24
- package/{pb → dist/pb}/_generated/shared.runtime_function_pb.d.ts +3 -11
- package/{pb → dist/pb}/_generated/shared.runtime_status_pb.d.ts +52 -32
- package/{pb → dist/pb}/_generated/shared.runtime_usage_pb.d.ts +1 -9
- package/{pb → dist/pb}/_generated/shared.struct_pb.d.ts +62 -55
- package/{pb → dist/pb}/_generated/shared.translation_pb.d.ts +1 -9
- package/dist/pb/aquila.d.ts +12 -0
- package/dist/pb/sagittarius.d.ts +18 -0
- package/dist/pb/shared.d.ts +9 -0
- package/dist/rpc-interceptor-DARwxsWH.cjs +1 -0
- package/dist/rpc-interceptor-Dzh_AxUX.js +52 -0
- package/dist/sagittarius.cjs.js +1 -0
- package/dist/sagittarius.d.ts +2 -0
- package/dist/sagittarius.es.js +1212 -0
- package/dist/shared.cjs.js +1 -0
- package/dist/shared.d.ts +2 -0
- package/dist/shared.es.js +3 -0
- package/dist/shared.flow_pb-BBS51Wou.cjs +1 -0
- package/dist/shared.flow_pb-Bt00q6yT.js +717 -0
- package/dist/shared.runtime_usage_pb-Cgr2Xle6.cjs +2 -0
- package/dist/shared.runtime_usage_pb-QD7fpRLv.js +3069 -0
- package/package.json +24 -22
- package/helpers/helpers.d.ts +0 -1
- package/helpers/helpers.js +0 -1
- package/helpers/helpers.ts +0 -1
- package/helpers/shared.struct_helper.js +0 -59
- package/helpers/shared.struct_helper.ts +0 -70
- package/index.js +0 -0
- package/pb/_generated/.gitkeep +0 -0
- package/pb/_generated/aquila.action_pb.client.js +0 -25
- package/pb/_generated/aquila.action_pb.js +0 -468
- package/pb/_generated/aquila.data_type_pb.client.js +0 -23
- package/pb/_generated/aquila.data_type_pb.js +0 -112
- package/pb/_generated/aquila.flow_type_pb.client.js +0 -25
- package/pb/_generated/aquila.flow_type_pb.js +0 -112
- package/pb/_generated/aquila.runtime_function_pb.client.js +0 -25
- package/pb/_generated/aquila.runtime_function_pb.js +0 -112
- package/pb/_generated/aquila.runtime_status_pb.client.js +0 -23
- package/pb/_generated/aquila.runtime_status_pb.js +0 -126
- package/pb/_generated/aquila.runtime_usage_pb.client.js +0 -23
- package/pb/_generated/aquila.runtime_usage_pb.js +0 -112
- package/pb/_generated/sagittarius.action_configuration_pb.client.js +0 -23
- package/pb/_generated/sagittarius.action_configuration_pb.js +0 -120
- package/pb/_generated/sagittarius.data_type_pb.client.js +0 -23
- package/pb/_generated/sagittarius.data_type_pb.js +0 -112
- package/pb/_generated/sagittarius.flow_pb.client.js +0 -23
- package/pb/_generated/sagittarius.flow_pb.js +0 -138
- package/pb/_generated/sagittarius.flow_type_pb.client.js +0 -25
- package/pb/_generated/sagittarius.flow_type_pb.js +0 -112
- package/pb/_generated/sagittarius.ping_pb.client.js +0 -23
- package/pb/_generated/sagittarius.ping_pb.js +0 -64
- package/pb/_generated/sagittarius.runtime_function_pb.client.js +0 -25
- package/pb/_generated/sagittarius.runtime_function_pb.js +0 -112
- package/pb/_generated/sagittarius.runtime_status_pb.client.js +0 -23
- package/pb/_generated/sagittarius.runtime_status_pb.js +0 -126
- package/pb/_generated/sagittarius.runtime_usage_pb.client.js +0 -23
- package/pb/_generated/sagittarius.runtime_usage_pb.js +0 -112
- package/pb/_generated/sagittarius.text_execution_pb.client.d.ts +0 -32
- package/pb/_generated/sagittarius.text_execution_pb.client.js +0 -23
- package/pb/_generated/sagittarius.text_execution_pb.js +0 -568
- package/pb/_generated/shared.action_configuration_pb.js +0 -251
- package/pb/_generated/shared.data_type_pb.js +0 -411
- package/pb/_generated/shared.flow_definition_pb.js +0 -269
- package/pb/_generated/shared.flow_pb.js +0 -762
- package/pb/_generated/shared.runtime_function_pb.js +0 -238
- package/pb/_generated/shared.runtime_status_pb.js +0 -315
- package/pb/_generated/shared.runtime_usage_pb.js +0 -62
- package/pb/_generated/shared.struct_pb.js +0 -274
- package/pb/_generated/shared.translation_pb.js +0 -62
- package/pb/aquila.d.ts +0 -24
- package/pb/aquila.js +0 -24
- package/pb/aquila.ts +0 -24
- package/pb/sagittarius.d.ts +0 -36
- package/pb/sagittarius.js +0 -36
- package/pb/sagittarius.ts +0 -36
- package/pb/shared.d.ts +0 -18
- package/pb/shared.js +0 -18
- package/pb/shared.ts +0 -18
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sagittarius.runtime_function.proto" (package "sagittarius", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import { RuntimeFunctionDefinitionService } from "./sagittarius.runtime_function_pb";
|
|
5
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
/**
|
|
7
|
-
* This service will be implemented as a server by Sagittarius and as a client by Aquila.
|
|
8
|
-
*
|
|
9
|
-
* @generated from protobuf service sagittarius.RuntimeFunctionDefinitionService
|
|
10
|
-
*/
|
|
11
|
-
export class RuntimeFunctionDefinitionServiceClient {
|
|
12
|
-
constructor(_transport) {
|
|
13
|
-
this._transport = _transport;
|
|
14
|
-
this.typeName = RuntimeFunctionDefinitionService.typeName;
|
|
15
|
-
this.methods = RuntimeFunctionDefinitionService.methods;
|
|
16
|
-
this.options = RuntimeFunctionDefinitionService.options;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @generated from protobuf rpc: Update
|
|
20
|
-
*/
|
|
21
|
-
update(input, options) {
|
|
22
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
23
|
-
return stackIntercept("unary", this._transport, method, opt, input);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sagittarius.runtime_function.proto" (package "sagittarius", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
5
|
-
// @generated from protobuf file "sagittarius.runtime_function.proto" (package "sagittarius", syntax proto3)
|
|
6
|
-
// tslint:disable
|
|
7
|
-
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
8
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
9
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
-
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
11
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
12
|
-
import { RuntimeFunctionDefinition } from "./shared.runtime_function_pb";
|
|
13
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
14
|
-
class RuntimeFunctionDefinitionUpdateRequest$Type extends MessageType {
|
|
15
|
-
constructor() {
|
|
16
|
-
super("sagittarius.RuntimeFunctionDefinitionUpdateRequest", [
|
|
17
|
-
{ no: 1, name: "runtime_functions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeFunctionDefinition }
|
|
18
|
-
]);
|
|
19
|
-
}
|
|
20
|
-
create(value) {
|
|
21
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
22
|
-
message.runtimeFunctions = [];
|
|
23
|
-
if (value !== undefined)
|
|
24
|
-
reflectionMergePartial(this, message, value);
|
|
25
|
-
return message;
|
|
26
|
-
}
|
|
27
|
-
internalBinaryRead(reader, length, options, target) {
|
|
28
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
29
|
-
while (reader.pos < end) {
|
|
30
|
-
let [fieldNo, wireType] = reader.tag();
|
|
31
|
-
switch (fieldNo) {
|
|
32
|
-
case /* repeated shared.RuntimeFunctionDefinition runtime_functions */ 1:
|
|
33
|
-
message.runtimeFunctions.push(RuntimeFunctionDefinition.internalBinaryRead(reader, reader.uint32(), options));
|
|
34
|
-
break;
|
|
35
|
-
default:
|
|
36
|
-
let u = options.readUnknownField;
|
|
37
|
-
if (u === "throw")
|
|
38
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
39
|
-
let d = reader.skip(wireType);
|
|
40
|
-
if (u !== false)
|
|
41
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
return message;
|
|
45
|
-
}
|
|
46
|
-
internalBinaryWrite(message, writer, options) {
|
|
47
|
-
/* repeated shared.RuntimeFunctionDefinition runtime_functions = 1; */
|
|
48
|
-
for (let i = 0; i < message.runtimeFunctions.length; i++)
|
|
49
|
-
RuntimeFunctionDefinition.internalBinaryWrite(message.runtimeFunctions[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
50
|
-
let u = options.writeUnknownFields;
|
|
51
|
-
if (u !== false)
|
|
52
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
53
|
-
return writer;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* @generated MessageType for protobuf message sagittarius.RuntimeFunctionDefinitionUpdateRequest
|
|
58
|
-
*/
|
|
59
|
-
export const RuntimeFunctionDefinitionUpdateRequest = new RuntimeFunctionDefinitionUpdateRequest$Type();
|
|
60
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
61
|
-
class RuntimeFunctionDefinitionUpdateResponse$Type extends MessageType {
|
|
62
|
-
constructor() {
|
|
63
|
-
super("sagittarius.RuntimeFunctionDefinitionUpdateResponse", [
|
|
64
|
-
{ no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
65
|
-
]);
|
|
66
|
-
}
|
|
67
|
-
create(value) {
|
|
68
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
69
|
-
message.success = false;
|
|
70
|
-
if (value !== undefined)
|
|
71
|
-
reflectionMergePartial(this, message, value);
|
|
72
|
-
return message;
|
|
73
|
-
}
|
|
74
|
-
internalBinaryRead(reader, length, options, target) {
|
|
75
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
76
|
-
while (reader.pos < end) {
|
|
77
|
-
let [fieldNo, wireType] = reader.tag();
|
|
78
|
-
switch (fieldNo) {
|
|
79
|
-
case /* bool success */ 1:
|
|
80
|
-
message.success = reader.bool();
|
|
81
|
-
break;
|
|
82
|
-
default:
|
|
83
|
-
let u = options.readUnknownField;
|
|
84
|
-
if (u === "throw")
|
|
85
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
86
|
-
let d = reader.skip(wireType);
|
|
87
|
-
if (u !== false)
|
|
88
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
return message;
|
|
92
|
-
}
|
|
93
|
-
internalBinaryWrite(message, writer, options) {
|
|
94
|
-
/* bool success = 1; */
|
|
95
|
-
if (message.success !== false)
|
|
96
|
-
writer.tag(1, WireType.Varint).bool(message.success);
|
|
97
|
-
let u = options.writeUnknownFields;
|
|
98
|
-
if (u !== false)
|
|
99
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
100
|
-
return writer;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* @generated MessageType for protobuf message sagittarius.RuntimeFunctionDefinitionUpdateResponse
|
|
105
|
-
*/
|
|
106
|
-
export const RuntimeFunctionDefinitionUpdateResponse = new RuntimeFunctionDefinitionUpdateResponse$Type();
|
|
107
|
-
/**
|
|
108
|
-
* @generated ServiceType for protobuf service sagittarius.RuntimeFunctionDefinitionService
|
|
109
|
-
*/
|
|
110
|
-
export const RuntimeFunctionDefinitionService = new ServiceType("sagittarius.RuntimeFunctionDefinitionService", [
|
|
111
|
-
{ name: "Update", options: {}, I: RuntimeFunctionDefinitionUpdateRequest, O: RuntimeFunctionDefinitionUpdateResponse }
|
|
112
|
-
]);
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sagittarius.runtime_status.proto" (package "sagittarius", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import { RuntimeStatusService } from "./sagittarius.runtime_status_pb";
|
|
5
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
/**
|
|
7
|
-
* @generated from protobuf service sagittarius.RuntimeStatusService
|
|
8
|
-
*/
|
|
9
|
-
export class RuntimeStatusServiceClient {
|
|
10
|
-
constructor(_transport) {
|
|
11
|
-
this._transport = _transport;
|
|
12
|
-
this.typeName = RuntimeStatusService.typeName;
|
|
13
|
-
this.methods = RuntimeStatusService.methods;
|
|
14
|
-
this.options = RuntimeStatusService.options;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @generated from protobuf rpc: Update
|
|
18
|
-
*/
|
|
19
|
-
update(input, options) {
|
|
20
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
21
|
-
return stackIntercept("unary", this._transport, method, opt, input);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sagittarius.runtime_status.proto" (package "sagittarius", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
5
|
-
// @generated from protobuf file "sagittarius.runtime_status.proto" (package "sagittarius", syntax proto3)
|
|
6
|
-
// tslint:disable
|
|
7
|
-
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
8
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
9
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
-
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
11
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
12
|
-
import { ExecutionRuntimeStatus } from "./shared.runtime_status_pb";
|
|
13
|
-
import { AdapterRuntimeStatus } from "./shared.runtime_status_pb";
|
|
14
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
15
|
-
class RuntimeStatusUpdateRequest$Type extends MessageType {
|
|
16
|
-
constructor() {
|
|
17
|
-
super("sagittarius.RuntimeStatusUpdateRequest", [
|
|
18
|
-
{ no: 1, name: "adapter_runtime_status", kind: "message", oneof: "status", T: () => AdapterRuntimeStatus },
|
|
19
|
-
{ no: 2, name: "execution_runtime_status", kind: "message", oneof: "status", T: () => ExecutionRuntimeStatus }
|
|
20
|
-
]);
|
|
21
|
-
}
|
|
22
|
-
create(value) {
|
|
23
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
24
|
-
message.status = { oneofKind: undefined };
|
|
25
|
-
if (value !== undefined)
|
|
26
|
-
reflectionMergePartial(this, message, value);
|
|
27
|
-
return message;
|
|
28
|
-
}
|
|
29
|
-
internalBinaryRead(reader, length, options, target) {
|
|
30
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
31
|
-
while (reader.pos < end) {
|
|
32
|
-
let [fieldNo, wireType] = reader.tag();
|
|
33
|
-
switch (fieldNo) {
|
|
34
|
-
case /* shared.AdapterRuntimeStatus adapter_runtime_status */ 1:
|
|
35
|
-
message.status = {
|
|
36
|
-
oneofKind: "adapterRuntimeStatus",
|
|
37
|
-
adapterRuntimeStatus: AdapterRuntimeStatus.internalBinaryRead(reader, reader.uint32(), options, message.status.adapterRuntimeStatus)
|
|
38
|
-
};
|
|
39
|
-
break;
|
|
40
|
-
case /* shared.ExecutionRuntimeStatus execution_runtime_status */ 2:
|
|
41
|
-
message.status = {
|
|
42
|
-
oneofKind: "executionRuntimeStatus",
|
|
43
|
-
executionRuntimeStatus: ExecutionRuntimeStatus.internalBinaryRead(reader, reader.uint32(), options, message.status.executionRuntimeStatus)
|
|
44
|
-
};
|
|
45
|
-
break;
|
|
46
|
-
default:
|
|
47
|
-
let u = options.readUnknownField;
|
|
48
|
-
if (u === "throw")
|
|
49
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
50
|
-
let d = reader.skip(wireType);
|
|
51
|
-
if (u !== false)
|
|
52
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
return message;
|
|
56
|
-
}
|
|
57
|
-
internalBinaryWrite(message, writer, options) {
|
|
58
|
-
/* shared.AdapterRuntimeStatus adapter_runtime_status = 1; */
|
|
59
|
-
if (message.status.oneofKind === "adapterRuntimeStatus")
|
|
60
|
-
AdapterRuntimeStatus.internalBinaryWrite(message.status.adapterRuntimeStatus, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
61
|
-
/* shared.ExecutionRuntimeStatus execution_runtime_status = 2; */
|
|
62
|
-
if (message.status.oneofKind === "executionRuntimeStatus")
|
|
63
|
-
ExecutionRuntimeStatus.internalBinaryWrite(message.status.executionRuntimeStatus, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
64
|
-
let u = options.writeUnknownFields;
|
|
65
|
-
if (u !== false)
|
|
66
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
67
|
-
return writer;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* @generated MessageType for protobuf message sagittarius.RuntimeStatusUpdateRequest
|
|
72
|
-
*/
|
|
73
|
-
export const RuntimeStatusUpdateRequest = new RuntimeStatusUpdateRequest$Type();
|
|
74
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
75
|
-
class RuntimeStatusUpdateResponse$Type extends MessageType {
|
|
76
|
-
constructor() {
|
|
77
|
-
super("sagittarius.RuntimeStatusUpdateResponse", [
|
|
78
|
-
{ no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
79
|
-
]);
|
|
80
|
-
}
|
|
81
|
-
create(value) {
|
|
82
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
83
|
-
message.success = false;
|
|
84
|
-
if (value !== undefined)
|
|
85
|
-
reflectionMergePartial(this, message, value);
|
|
86
|
-
return message;
|
|
87
|
-
}
|
|
88
|
-
internalBinaryRead(reader, length, options, target) {
|
|
89
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
90
|
-
while (reader.pos < end) {
|
|
91
|
-
let [fieldNo, wireType] = reader.tag();
|
|
92
|
-
switch (fieldNo) {
|
|
93
|
-
case /* bool success */ 1:
|
|
94
|
-
message.success = reader.bool();
|
|
95
|
-
break;
|
|
96
|
-
default:
|
|
97
|
-
let u = options.readUnknownField;
|
|
98
|
-
if (u === "throw")
|
|
99
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
100
|
-
let d = reader.skip(wireType);
|
|
101
|
-
if (u !== false)
|
|
102
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
return message;
|
|
106
|
-
}
|
|
107
|
-
internalBinaryWrite(message, writer, options) {
|
|
108
|
-
/* bool success = 1; */
|
|
109
|
-
if (message.success !== false)
|
|
110
|
-
writer.tag(1, WireType.Varint).bool(message.success);
|
|
111
|
-
let u = options.writeUnknownFields;
|
|
112
|
-
if (u !== false)
|
|
113
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
114
|
-
return writer;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* @generated MessageType for protobuf message sagittarius.RuntimeStatusUpdateResponse
|
|
119
|
-
*/
|
|
120
|
-
export const RuntimeStatusUpdateResponse = new RuntimeStatusUpdateResponse$Type();
|
|
121
|
-
/**
|
|
122
|
-
* @generated ServiceType for protobuf service sagittarius.RuntimeStatusService
|
|
123
|
-
*/
|
|
124
|
-
export const RuntimeStatusService = new ServiceType("sagittarius.RuntimeStatusService", [
|
|
125
|
-
{ name: "Update", options: {}, I: RuntimeStatusUpdateRequest, O: RuntimeStatusUpdateResponse }
|
|
126
|
-
]);
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sagittarius.runtime_usage.proto" (package "sagittarius", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import { RuntimeUsageService } from "./sagittarius.runtime_usage_pb";
|
|
5
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
/**
|
|
7
|
-
* @generated from protobuf service sagittarius.RuntimeUsageService
|
|
8
|
-
*/
|
|
9
|
-
export class RuntimeUsageServiceClient {
|
|
10
|
-
constructor(_transport) {
|
|
11
|
-
this._transport = _transport;
|
|
12
|
-
this.typeName = RuntimeUsageService.typeName;
|
|
13
|
-
this.methods = RuntimeUsageService.methods;
|
|
14
|
-
this.options = RuntimeUsageService.options;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @generated from protobuf rpc: Update
|
|
18
|
-
*/
|
|
19
|
-
update(input, options) {
|
|
20
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
21
|
-
return stackIntercept("unary", this._transport, method, opt, input);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sagittarius.runtime_usage.proto" (package "sagittarius", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
5
|
-
// @generated from protobuf file "sagittarius.runtime_usage.proto" (package "sagittarius", syntax proto3)
|
|
6
|
-
// tslint:disable
|
|
7
|
-
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
8
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
9
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
-
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
11
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
12
|
-
import { RuntimeUsage } from "./shared.runtime_usage_pb";
|
|
13
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
14
|
-
class RuntimeUsageRequest$Type extends MessageType {
|
|
15
|
-
constructor() {
|
|
16
|
-
super("sagittarius.RuntimeUsageRequest", [
|
|
17
|
-
{ no: 1, name: "runtime_usage", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeUsage }
|
|
18
|
-
]);
|
|
19
|
-
}
|
|
20
|
-
create(value) {
|
|
21
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
22
|
-
message.runtimeUsage = [];
|
|
23
|
-
if (value !== undefined)
|
|
24
|
-
reflectionMergePartial(this, message, value);
|
|
25
|
-
return message;
|
|
26
|
-
}
|
|
27
|
-
internalBinaryRead(reader, length, options, target) {
|
|
28
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
29
|
-
while (reader.pos < end) {
|
|
30
|
-
let [fieldNo, wireType] = reader.tag();
|
|
31
|
-
switch (fieldNo) {
|
|
32
|
-
case /* repeated shared.RuntimeUsage runtime_usage */ 1:
|
|
33
|
-
message.runtimeUsage.push(RuntimeUsage.internalBinaryRead(reader, reader.uint32(), options));
|
|
34
|
-
break;
|
|
35
|
-
default:
|
|
36
|
-
let u = options.readUnknownField;
|
|
37
|
-
if (u === "throw")
|
|
38
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
39
|
-
let d = reader.skip(wireType);
|
|
40
|
-
if (u !== false)
|
|
41
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
return message;
|
|
45
|
-
}
|
|
46
|
-
internalBinaryWrite(message, writer, options) {
|
|
47
|
-
/* repeated shared.RuntimeUsage runtime_usage = 1; */
|
|
48
|
-
for (let i = 0; i < message.runtimeUsage.length; i++)
|
|
49
|
-
RuntimeUsage.internalBinaryWrite(message.runtimeUsage[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
50
|
-
let u = options.writeUnknownFields;
|
|
51
|
-
if (u !== false)
|
|
52
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
53
|
-
return writer;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* @generated MessageType for protobuf message sagittarius.RuntimeUsageRequest
|
|
58
|
-
*/
|
|
59
|
-
export const RuntimeUsageRequest = new RuntimeUsageRequest$Type();
|
|
60
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
61
|
-
class RuntimeUsageResponse$Type extends MessageType {
|
|
62
|
-
constructor() {
|
|
63
|
-
super("sagittarius.RuntimeUsageResponse", [
|
|
64
|
-
{ no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
65
|
-
]);
|
|
66
|
-
}
|
|
67
|
-
create(value) {
|
|
68
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
69
|
-
message.success = false;
|
|
70
|
-
if (value !== undefined)
|
|
71
|
-
reflectionMergePartial(this, message, value);
|
|
72
|
-
return message;
|
|
73
|
-
}
|
|
74
|
-
internalBinaryRead(reader, length, options, target) {
|
|
75
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
76
|
-
while (reader.pos < end) {
|
|
77
|
-
let [fieldNo, wireType] = reader.tag();
|
|
78
|
-
switch (fieldNo) {
|
|
79
|
-
case /* bool success */ 1:
|
|
80
|
-
message.success = reader.bool();
|
|
81
|
-
break;
|
|
82
|
-
default:
|
|
83
|
-
let u = options.readUnknownField;
|
|
84
|
-
if (u === "throw")
|
|
85
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
86
|
-
let d = reader.skip(wireType);
|
|
87
|
-
if (u !== false)
|
|
88
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
return message;
|
|
92
|
-
}
|
|
93
|
-
internalBinaryWrite(message, writer, options) {
|
|
94
|
-
/* bool success = 1; */
|
|
95
|
-
if (message.success !== false)
|
|
96
|
-
writer.tag(1, WireType.Varint).bool(message.success);
|
|
97
|
-
let u = options.writeUnknownFields;
|
|
98
|
-
if (u !== false)
|
|
99
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
100
|
-
return writer;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* @generated MessageType for protobuf message sagittarius.RuntimeUsageResponse
|
|
105
|
-
*/
|
|
106
|
-
export const RuntimeUsageResponse = new RuntimeUsageResponse$Type();
|
|
107
|
-
/**
|
|
108
|
-
* @generated ServiceType for protobuf service sagittarius.RuntimeUsageService
|
|
109
|
-
*/
|
|
110
|
-
export const RuntimeUsageService = new ServiceType("sagittarius.RuntimeUsageService", [
|
|
111
|
-
{ name: "Update", options: {}, I: RuntimeUsageRequest, O: RuntimeUsageResponse }
|
|
112
|
-
]);
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sagittarius.text_execution.proto" (package "sagittarius", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
|
-
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
import type { ExecutionLogonResponse } from "./sagittarius.text_execution_pb";
|
|
7
|
-
import type { ExecutionLogonRequest } from "./sagittarius.text_execution_pb";
|
|
8
|
-
import type { DuplexStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
9
|
-
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
10
|
-
/**
|
|
11
|
-
* @generated from protobuf service sagittarius.ExecutionService
|
|
12
|
-
*/
|
|
13
|
-
export interface IExecutionServiceClient {
|
|
14
|
-
/**
|
|
15
|
-
* @generated from protobuf rpc: Test
|
|
16
|
-
*/
|
|
17
|
-
test(options?: RpcOptions): DuplexStreamingCall<ExecutionLogonRequest, ExecutionLogonResponse>;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @generated from protobuf service sagittarius.ExecutionService
|
|
21
|
-
*/
|
|
22
|
-
export declare class ExecutionServiceClient implements IExecutionServiceClient, ServiceInfo {
|
|
23
|
-
private readonly _transport;
|
|
24
|
-
typeName: any;
|
|
25
|
-
methods: any;
|
|
26
|
-
options: any;
|
|
27
|
-
constructor(_transport: RpcTransport);
|
|
28
|
-
/**
|
|
29
|
-
* @generated from protobuf rpc: Test
|
|
30
|
-
*/
|
|
31
|
-
test(options?: RpcOptions): DuplexStreamingCall<ExecutionLogonRequest, ExecutionLogonResponse>;
|
|
32
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sagittarius.text_execution.proto" (package "sagittarius", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import { ExecutionService } from "./sagittarius.text_execution_pb";
|
|
5
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
/**
|
|
7
|
-
* @generated from protobuf service sagittarius.ExecutionService
|
|
8
|
-
*/
|
|
9
|
-
export class ExecutionServiceClient {
|
|
10
|
-
constructor(_transport) {
|
|
11
|
-
this._transport = _transport;
|
|
12
|
-
this.typeName = ExecutionService.typeName;
|
|
13
|
-
this.methods = ExecutionService.methods;
|
|
14
|
-
this.options = ExecutionService.options;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @generated from protobuf rpc: Test
|
|
18
|
-
*/
|
|
19
|
-
test(options) {
|
|
20
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
21
|
-
return stackIntercept("duplex", this._transport, method, opt);
|
|
22
|
-
}
|
|
23
|
-
}
|