@code0-tech/tucana 0.0.49 → 0.0.50
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/package.json +1 -1
- package/pb/aquila.runtime_status_pb.client.d.ts +32 -0
- package/pb/aquila.runtime_status_pb.client.js +23 -0
- package/pb/aquila.runtime_status_pb.d.ts +68 -0
- package/pb/aquila.runtime_status_pb.js +126 -0
- package/pb/sagittarius.runtime_status_pb.client.d.ts +32 -0
- package/pb/sagittarius.runtime_status_pb.client.js +23 -0
- package/pb/sagittarius.runtime_status_pb.d.ts +68 -0
- package/pb/sagittarius.runtime_status_pb.js +126 -0
- package/pb/sagittarius.text_execution_pb.d.ts +101 -0
- package/pb/sagittarius.text_execution_pb.js +213 -2
- package/pb/shared.flow_definition_pb.d.ts +23 -2
- package/pb/shared.flow_definition_pb.js +34 -8
- package/pb/shared.runtime_function_pb.d.ts +4 -0
- package/pb/shared.runtime_function_pb.js +9 -1
- package/pb/shared.runtime_status_pb.d.ts +177 -0
- package/pb/shared.runtime_status_pb.js +315 -0
package/package.json
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "aquila.runtime_status.proto" (package "aquila", 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 { RuntimeStatusUpdateResponse } from "./aquila.runtime_status_pb";
|
|
7
|
+
import type { RuntimeStatusUpdateRequest } from "./aquila.runtime_status_pb";
|
|
8
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
9
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
10
|
+
/**
|
|
11
|
+
* @generated from protobuf service aquila.RuntimeStatusService
|
|
12
|
+
*/
|
|
13
|
+
export interface IRuntimeStatusServiceClient {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf rpc: Update
|
|
16
|
+
*/
|
|
17
|
+
update(input: RuntimeStatusUpdateRequest, options?: RpcOptions): UnaryCall<RuntimeStatusUpdateRequest, RuntimeStatusUpdateResponse>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @generated from protobuf service aquila.RuntimeStatusService
|
|
21
|
+
*/
|
|
22
|
+
export declare class RuntimeStatusServiceClient implements IRuntimeStatusServiceClient, ServiceInfo {
|
|
23
|
+
private readonly _transport;
|
|
24
|
+
typeName: any;
|
|
25
|
+
methods: any;
|
|
26
|
+
options: any;
|
|
27
|
+
constructor(_transport: RpcTransport);
|
|
28
|
+
/**
|
|
29
|
+
* @generated from protobuf rpc: Update
|
|
30
|
+
*/
|
|
31
|
+
update(input: RuntimeStatusUpdateRequest, options?: RpcOptions): UnaryCall<RuntimeStatusUpdateRequest, RuntimeStatusUpdateResponse>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "aquila.runtime_status.proto" (package "aquila", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import { RuntimeStatusService } from "./aquila.runtime_status_pb";
|
|
5
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
/**
|
|
7
|
+
* @generated from protobuf service aquila.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
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "aquila.runtime_status.proto" (package "aquila", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
6
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
7
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
8
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
9
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
|
+
import { ExecutionRuntimeStatus } from "./shared.runtime_status_pb";
|
|
11
|
+
import { AdapterRuntimeStatus } from "./shared.runtime_status_pb";
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf message aquila.RuntimeStatusUpdateRequest
|
|
14
|
+
*/
|
|
15
|
+
export interface RuntimeStatusUpdateRequest {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from protobuf oneof: status
|
|
18
|
+
*/
|
|
19
|
+
status: {
|
|
20
|
+
oneofKind: "adapterRuntimeStatus";
|
|
21
|
+
/**
|
|
22
|
+
* @generated from protobuf field: shared.AdapterRuntimeStatus adapter_runtime_status = 1
|
|
23
|
+
*/
|
|
24
|
+
adapterRuntimeStatus: AdapterRuntimeStatus;
|
|
25
|
+
} | {
|
|
26
|
+
oneofKind: "executionRuntimeStatus";
|
|
27
|
+
/**
|
|
28
|
+
* @generated from protobuf field: shared.ExecutionRuntimeStatus execution_runtime_status = 2
|
|
29
|
+
*/
|
|
30
|
+
executionRuntimeStatus: ExecutionRuntimeStatus;
|
|
31
|
+
} | {
|
|
32
|
+
oneofKind: undefined;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @generated from protobuf message aquila.RuntimeStatusUpdateResponse
|
|
37
|
+
*/
|
|
38
|
+
export interface RuntimeStatusUpdateResponse {
|
|
39
|
+
/**
|
|
40
|
+
* @generated from protobuf field: bool success = 1
|
|
41
|
+
*/
|
|
42
|
+
success: boolean;
|
|
43
|
+
}
|
|
44
|
+
declare class RuntimeStatusUpdateRequest$Type extends MessageType<RuntimeStatusUpdateRequest> {
|
|
45
|
+
constructor();
|
|
46
|
+
create(value?: PartialMessage<RuntimeStatusUpdateRequest>): RuntimeStatusUpdateRequest;
|
|
47
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeStatusUpdateRequest): RuntimeStatusUpdateRequest;
|
|
48
|
+
internalBinaryWrite(message: RuntimeStatusUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @generated MessageType for protobuf message aquila.RuntimeStatusUpdateRequest
|
|
52
|
+
*/
|
|
53
|
+
export declare const RuntimeStatusUpdateRequest: RuntimeStatusUpdateRequest$Type;
|
|
54
|
+
declare class RuntimeStatusUpdateResponse$Type extends MessageType<RuntimeStatusUpdateResponse> {
|
|
55
|
+
constructor();
|
|
56
|
+
create(value?: PartialMessage<RuntimeStatusUpdateResponse>): RuntimeStatusUpdateResponse;
|
|
57
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeStatusUpdateResponse): RuntimeStatusUpdateResponse;
|
|
58
|
+
internalBinaryWrite(message: RuntimeStatusUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* @generated MessageType for protobuf message aquila.RuntimeStatusUpdateResponse
|
|
62
|
+
*/
|
|
63
|
+
export declare const RuntimeStatusUpdateResponse: RuntimeStatusUpdateResponse$Type;
|
|
64
|
+
/**
|
|
65
|
+
* @generated ServiceType for protobuf service aquila.RuntimeStatusService
|
|
66
|
+
*/
|
|
67
|
+
export declare const RuntimeStatusService: any;
|
|
68
|
+
export {};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "aquila.runtime_status.proto" (package "aquila", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
5
|
+
// @generated from protobuf file "aquila.runtime_status.proto" (package "aquila", 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("aquila.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 aquila.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("aquila.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 aquila.RuntimeStatusUpdateResponse
|
|
119
|
+
*/
|
|
120
|
+
export const RuntimeStatusUpdateResponse = new RuntimeStatusUpdateResponse$Type();
|
|
121
|
+
/**
|
|
122
|
+
* @generated ServiceType for protobuf service aquila.RuntimeStatusService
|
|
123
|
+
*/
|
|
124
|
+
export const RuntimeStatusService = new ServiceType("aquila.RuntimeStatusService", [
|
|
125
|
+
{ name: "Update", options: {}, I: RuntimeStatusUpdateRequest, O: RuntimeStatusUpdateResponse }
|
|
126
|
+
]);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "sagittarius.runtime_status.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 { RuntimeStatusUpdateResponse } from "./sagittarius.runtime_status_pb";
|
|
7
|
+
import type { RuntimeStatusUpdateRequest } from "./sagittarius.runtime_status_pb";
|
|
8
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
9
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
10
|
+
/**
|
|
11
|
+
* @generated from protobuf service sagittarius.RuntimeStatusService
|
|
12
|
+
*/
|
|
13
|
+
export interface IRuntimeStatusServiceClient {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf rpc: Update
|
|
16
|
+
*/
|
|
17
|
+
update(input: RuntimeStatusUpdateRequest, options?: RpcOptions): UnaryCall<RuntimeStatusUpdateRequest, RuntimeStatusUpdateResponse>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @generated from protobuf service sagittarius.RuntimeStatusService
|
|
21
|
+
*/
|
|
22
|
+
export declare class RuntimeStatusServiceClient implements IRuntimeStatusServiceClient, ServiceInfo {
|
|
23
|
+
private readonly _transport;
|
|
24
|
+
typeName: any;
|
|
25
|
+
methods: any;
|
|
26
|
+
options: any;
|
|
27
|
+
constructor(_transport: RpcTransport);
|
|
28
|
+
/**
|
|
29
|
+
* @generated from protobuf rpc: Update
|
|
30
|
+
*/
|
|
31
|
+
update(input: RuntimeStatusUpdateRequest, options?: RpcOptions): UnaryCall<RuntimeStatusUpdateRequest, RuntimeStatusUpdateResponse>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
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
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "sagittarius.runtime_status.proto" (package "sagittarius", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
6
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
7
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
8
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
9
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
|
+
import { ExecutionRuntimeStatus } from "./shared.runtime_status_pb";
|
|
11
|
+
import { AdapterRuntimeStatus } from "./shared.runtime_status_pb";
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf message sagittarius.RuntimeStatusUpdateRequest
|
|
14
|
+
*/
|
|
15
|
+
export interface RuntimeStatusUpdateRequest {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from protobuf oneof: status
|
|
18
|
+
*/
|
|
19
|
+
status: {
|
|
20
|
+
oneofKind: "adapterRuntimeStatus";
|
|
21
|
+
/**
|
|
22
|
+
* @generated from protobuf field: shared.AdapterRuntimeStatus adapter_runtime_status = 1
|
|
23
|
+
*/
|
|
24
|
+
adapterRuntimeStatus: AdapterRuntimeStatus;
|
|
25
|
+
} | {
|
|
26
|
+
oneofKind: "executionRuntimeStatus";
|
|
27
|
+
/**
|
|
28
|
+
* @generated from protobuf field: shared.ExecutionRuntimeStatus execution_runtime_status = 2
|
|
29
|
+
*/
|
|
30
|
+
executionRuntimeStatus: ExecutionRuntimeStatus;
|
|
31
|
+
} | {
|
|
32
|
+
oneofKind: undefined;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @generated from protobuf message sagittarius.RuntimeStatusUpdateResponse
|
|
37
|
+
*/
|
|
38
|
+
export interface RuntimeStatusUpdateResponse {
|
|
39
|
+
/**
|
|
40
|
+
* @generated from protobuf field: bool success = 1
|
|
41
|
+
*/
|
|
42
|
+
success: boolean;
|
|
43
|
+
}
|
|
44
|
+
declare class RuntimeStatusUpdateRequest$Type extends MessageType<RuntimeStatusUpdateRequest> {
|
|
45
|
+
constructor();
|
|
46
|
+
create(value?: PartialMessage<RuntimeStatusUpdateRequest>): RuntimeStatusUpdateRequest;
|
|
47
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeStatusUpdateRequest): RuntimeStatusUpdateRequest;
|
|
48
|
+
internalBinaryWrite(message: RuntimeStatusUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @generated MessageType for protobuf message sagittarius.RuntimeStatusUpdateRequest
|
|
52
|
+
*/
|
|
53
|
+
export declare const RuntimeStatusUpdateRequest: RuntimeStatusUpdateRequest$Type;
|
|
54
|
+
declare class RuntimeStatusUpdateResponse$Type extends MessageType<RuntimeStatusUpdateResponse> {
|
|
55
|
+
constructor();
|
|
56
|
+
create(value?: PartialMessage<RuntimeStatusUpdateResponse>): RuntimeStatusUpdateResponse;
|
|
57
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeStatusUpdateResponse): RuntimeStatusUpdateResponse;
|
|
58
|
+
internalBinaryWrite(message: RuntimeStatusUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* @generated MessageType for protobuf message sagittarius.RuntimeStatusUpdateResponse
|
|
62
|
+
*/
|
|
63
|
+
export declare const RuntimeStatusUpdateResponse: RuntimeStatusUpdateResponse$Type;
|
|
64
|
+
/**
|
|
65
|
+
* @generated ServiceType for protobuf service sagittarius.RuntimeStatusService
|
|
66
|
+
*/
|
|
67
|
+
export declare const RuntimeStatusService: any;
|
|
68
|
+
export {};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
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_es2020
|
|
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
|
+
]);
|
|
@@ -55,6 +55,77 @@ export interface TestExecutionResponse {
|
|
|
55
55
|
* @generated from protobuf message sagittarius.Log
|
|
56
56
|
*/
|
|
57
57
|
export interface Log {
|
|
58
|
+
/**
|
|
59
|
+
* @generated from protobuf oneof: kind
|
|
60
|
+
*/
|
|
61
|
+
kind: {
|
|
62
|
+
oneofKind: "applicationLog";
|
|
63
|
+
/**
|
|
64
|
+
* @generated from protobuf field: sagittarius.ApplicationLog application_log = 1
|
|
65
|
+
*/
|
|
66
|
+
applicationLog: ApplicationLog;
|
|
67
|
+
} | {
|
|
68
|
+
oneofKind: "successLog";
|
|
69
|
+
/**
|
|
70
|
+
* @generated from protobuf field: sagittarius.SuccessLog success_log = 2
|
|
71
|
+
*/
|
|
72
|
+
successLog: SuccessLog;
|
|
73
|
+
} | {
|
|
74
|
+
oneofKind: "errorLog";
|
|
75
|
+
/**
|
|
76
|
+
* @generated from protobuf field: sagittarius.RuntimeErrorLog error_log = 3
|
|
77
|
+
*/
|
|
78
|
+
errorLog: RuntimeErrorLog;
|
|
79
|
+
} | {
|
|
80
|
+
oneofKind: undefined;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @generated from protobuf message sagittarius.SuccessLog
|
|
85
|
+
*/
|
|
86
|
+
export interface SuccessLog {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from protobuf field: int64 node_id = 1
|
|
89
|
+
*/
|
|
90
|
+
nodeId: bigint;
|
|
91
|
+
/**
|
|
92
|
+
* @generated from protobuf field: shared.Value result = 2
|
|
93
|
+
*/
|
|
94
|
+
result?: Value;
|
|
95
|
+
/**
|
|
96
|
+
* @generated from protobuf field: repeated shared.Value parameter = 3
|
|
97
|
+
*/
|
|
98
|
+
parameter: Value[];
|
|
99
|
+
/**
|
|
100
|
+
* @generated from protobuf field: string timestamp = 4
|
|
101
|
+
*/
|
|
102
|
+
timestamp: string;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @generated from protobuf message sagittarius.RuntimeErrorLog
|
|
106
|
+
*/
|
|
107
|
+
export interface RuntimeErrorLog {
|
|
108
|
+
/**
|
|
109
|
+
* @generated from protobuf field: int64 node_id = 1
|
|
110
|
+
*/
|
|
111
|
+
nodeId: bigint;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from protobuf field: string error = 2
|
|
114
|
+
*/
|
|
115
|
+
error: string;
|
|
116
|
+
/**
|
|
117
|
+
* @generated from protobuf field: repeated shared.Value parameter = 3
|
|
118
|
+
*/
|
|
119
|
+
parameter: Value[];
|
|
120
|
+
/**
|
|
121
|
+
* @generated from protobuf field: string timestamp = 4
|
|
122
|
+
*/
|
|
123
|
+
timestamp: string;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* @generated from protobuf message sagittarius.ApplicationLog
|
|
127
|
+
*/
|
|
128
|
+
export interface ApplicationLog {
|
|
58
129
|
/**
|
|
59
130
|
* @generated from protobuf field: string message = 1
|
|
60
131
|
*/
|
|
@@ -145,6 +216,36 @@ declare class Log$Type extends MessageType<Log> {
|
|
|
145
216
|
* @generated MessageType for protobuf message sagittarius.Log
|
|
146
217
|
*/
|
|
147
218
|
export declare const Log: Log$Type;
|
|
219
|
+
declare class SuccessLog$Type extends MessageType<SuccessLog> {
|
|
220
|
+
constructor();
|
|
221
|
+
create(value?: PartialMessage<SuccessLog>): SuccessLog;
|
|
222
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SuccessLog): SuccessLog;
|
|
223
|
+
internalBinaryWrite(message: SuccessLog, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* @generated MessageType for protobuf message sagittarius.SuccessLog
|
|
227
|
+
*/
|
|
228
|
+
export declare const SuccessLog: SuccessLog$Type;
|
|
229
|
+
declare class RuntimeErrorLog$Type extends MessageType<RuntimeErrorLog> {
|
|
230
|
+
constructor();
|
|
231
|
+
create(value?: PartialMessage<RuntimeErrorLog>): RuntimeErrorLog;
|
|
232
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeErrorLog): RuntimeErrorLog;
|
|
233
|
+
internalBinaryWrite(message: RuntimeErrorLog, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* @generated MessageType for protobuf message sagittarius.RuntimeErrorLog
|
|
237
|
+
*/
|
|
238
|
+
export declare const RuntimeErrorLog: RuntimeErrorLog$Type;
|
|
239
|
+
declare class ApplicationLog$Type extends MessageType<ApplicationLog> {
|
|
240
|
+
constructor();
|
|
241
|
+
create(value?: PartialMessage<ApplicationLog>): ApplicationLog;
|
|
242
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ApplicationLog): ApplicationLog;
|
|
243
|
+
internalBinaryWrite(message: ApplicationLog, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* @generated MessageType for protobuf message sagittarius.ApplicationLog
|
|
247
|
+
*/
|
|
248
|
+
export declare const ApplicationLog: ApplicationLog$Type;
|
|
148
249
|
declare class ExecutionLogonRequest$Type extends MessageType<ExecutionLogonRequest> {
|
|
149
250
|
constructor();
|
|
150
251
|
create(value?: PartialMessage<ExecutionLogonRequest>): ExecutionLogonRequest;
|