@code0-tech/tucana 0.0.38 → 0.0.40
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 +5 -4
- package/pb/{aquila.action_pb.client.ts → aquila.action_pb.client.d.ts} +8 -13
- package/pb/aquila.action_pb.client.js +25 -0
- package/pb/aquila.action_pb.d.ts +254 -0
- package/pb/{aquila.action_pb.ts → aquila.action_pb.js} +49 -215
- package/pb/{aquila.data_type_pb.client.ts → aquila.data_type_pb.client.d.ts} +8 -13
- package/pb/aquila.data_type_pb.client.js +23 -0
- package/pb/aquila.data_type_pb.d.ts +61 -0
- package/pb/{aquila.data_type_pb.ts → aquila.data_type_pb.js} +16 -44
- package/pb/{aquila.execution_pb.client.ts → aquila.execution_pb.client.d.ts} +15 -24
- package/pb/aquila.execution_pb.client.js +49 -0
- package/pb/aquila.execution_pb.d.ts +135 -0
- package/pb/{aquila.execution_pb.ts → aquila.execution_pb.js} +34 -103
- package/pb/{aquila.flow_type_pb.client.ts → aquila.flow_type_pb.client.d.ts} +8 -13
- package/pb/aquila.flow_type_pb.client.js +25 -0
- package/pb/aquila.flow_type_pb.d.ts +61 -0
- package/pb/{aquila.flow_type_pb.ts → aquila.flow_type_pb.js} +16 -44
- package/pb/{aquila.runtime_function_pb.client.ts → aquila.runtime_function_pb.client.d.ts} +8 -13
- package/pb/aquila.runtime_function_pb.client.js +25 -0
- package/pb/aquila.runtime_function_pb.d.ts +61 -0
- package/pb/{aquila.runtime_function_pb.ts → aquila.runtime_function_pb.js} +16 -44
- package/pb/{sagittarius.action_pb.client.ts → sagittarius.action_pb.client.d.ts} +9 -17
- package/pb/sagittarius.action_pb.client.js +32 -0
- package/pb/sagittarius.action_pb.d.ts +95 -0
- package/pb/{sagittarius.action_pb.ts → sagittarius.action_pb.js} +28 -70
- package/pb/{sagittarius.data_type_pb.client.ts → sagittarius.data_type_pb.client.d.ts} +8 -13
- package/pb/sagittarius.data_type_pb.client.js +23 -0
- package/pb/sagittarius.data_type_pb.d.ts +61 -0
- package/pb/{sagittarius.data_type_pb.ts → sagittarius.data_type_pb.js} +16 -44
- package/pb/{sagittarius.flow_pb.client.ts → sagittarius.flow_pb.client.d.ts} +8 -13
- package/pb/sagittarius.flow_pb.client.js +23 -0
- package/pb/sagittarius.flow_pb.d.ts +80 -0
- package/pb/{sagittarius.flow_pb.ts → sagittarius.flow_pb.js} +18 -64
- package/pb/{sagittarius.flow_type_pb.client.ts → sagittarius.flow_type_pb.client.d.ts} +8 -13
- package/pb/sagittarius.flow_type_pb.client.js +25 -0
- package/pb/sagittarius.flow_type_pb.d.ts +61 -0
- package/pb/{sagittarius.flow_type_pb.ts → sagittarius.flow_type_pb.js} +16 -44
- package/pb/{sagittarius.ping_pb.client.ts → sagittarius.ping_pb.client.d.ts} +8 -13
- package/pb/sagittarius.ping_pb.client.js +23 -0
- package/pb/sagittarius.ping_pb.d.ts +33 -0
- package/pb/{sagittarius.ping_pb.ts → sagittarius.ping_pb.js} +10 -21
- package/pb/{sagittarius.runtime_function_pb.client.ts → sagittarius.runtime_function_pb.client.d.ts} +8 -13
- package/pb/sagittarius.runtime_function_pb.client.js +25 -0
- package/pb/sagittarius.runtime_function_pb.d.ts +61 -0
- package/pb/{sagittarius.runtime_function_pb.ts → sagittarius.runtime_function_pb.js} +16 -44
- package/pb/{sagittarius.text_execution_pb.client.ts → sagittarius.text_execution_pb.client.d.ts} +8 -13
- package/pb/sagittarius.text_execution_pb.client.js +23 -0
- package/pb/sagittarius.text_execution_pb.d.ts +172 -0
- package/pb/{sagittarius.text_execution_pb.ts → sagittarius.text_execution_pb.js} +42 -141
- package/pb/shared.data_type_pb.d.ts +614 -0
- package/pb/{shared.data_type_pb.ts → shared.data_type_pb.js} +140 -508
- package/pb/shared.event_pb.d.ts +120 -0
- package/pb/{shared.event_pb.ts → shared.event_pb.js} +19 -101
- package/pb/shared.flow_definition_pb.d.ts +105 -0
- package/pb/{shared.flow_definition_pb.ts → shared.flow_definition_pb.js} +13 -90
- package/pb/shared.flow_pb.d.ts +305 -0
- package/pb/{shared.flow_pb.ts → shared.flow_pb.js} +68 -305
- package/pb/shared.runtime_function_pb.d.ts +114 -0
- package/pb/{shared.runtime_function_pb.ts → shared.runtime_function_pb.js} +13 -98
- package/pb/shared.struct_pb.d.ts +198 -0
- package/pb/{shared.struct_pb.ts → shared.struct_pb.js} +27 -136
- package/pb/shared.translation_pb.d.ts +39 -0
- package/pb/{shared.translation_pb.ts → shared.translation_pb.js} +7 -31
- package/pb/shared.version_pb.d.ts +37 -0
- package/pb/{shared.version_pb.ts → shared.version_pb.js} +7 -29
|
@@ -1,58 +1,30 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "aquila.data_type.proto" (package "aquila", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
5
|
// @generated from protobuf file "aquila.data_type.proto" (package "aquila", syntax proto3)
|
|
3
6
|
// tslint:disable
|
|
4
7
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
5
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
6
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
7
8
|
import { WireType } from "@protobuf-ts/runtime";
|
|
8
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
9
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
10
9
|
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
11
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
12
10
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
13
11
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
14
12
|
import { DefinitionDataType } from "./shared.data_type_pb";
|
|
15
|
-
/**
|
|
16
|
-
* Request for updating a data type
|
|
17
|
-
*
|
|
18
|
-
* @generated from protobuf message aquila.DataTypeUpdateRequest
|
|
19
|
-
*/
|
|
20
|
-
export interface DataTypeUpdateRequest {
|
|
21
|
-
/**
|
|
22
|
-
* List of data types that should be updated
|
|
23
|
-
*
|
|
24
|
-
* @generated from protobuf field: repeated shared.DefinitionDataType data_types = 1
|
|
25
|
-
*/
|
|
26
|
-
dataTypes: DefinitionDataType[];
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Response of updating a data type
|
|
30
|
-
*
|
|
31
|
-
* @generated from protobuf message aquila.DataTypeUpdateResponse
|
|
32
|
-
*/
|
|
33
|
-
export interface DataTypeUpdateResponse {
|
|
34
|
-
/**
|
|
35
|
-
* True if was successful, false if not
|
|
36
|
-
*
|
|
37
|
-
* @generated from protobuf field: bool success = 1
|
|
38
|
-
*/
|
|
39
|
-
success: boolean;
|
|
40
|
-
}
|
|
41
13
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
42
|
-
class DataTypeUpdateRequest$Type extends MessageType
|
|
14
|
+
class DataTypeUpdateRequest$Type extends MessageType {
|
|
43
15
|
constructor() {
|
|
44
16
|
super("aquila.DataTypeUpdateRequest", [
|
|
45
17
|
{ no: 1, name: "data_types", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DefinitionDataType }
|
|
46
18
|
]);
|
|
47
19
|
}
|
|
48
|
-
create(value
|
|
49
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
20
|
+
create(value) {
|
|
21
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
50
22
|
message.dataTypes = [];
|
|
51
23
|
if (value !== undefined)
|
|
52
|
-
reflectionMergePartial
|
|
24
|
+
reflectionMergePartial(this, message, value);
|
|
53
25
|
return message;
|
|
54
26
|
}
|
|
55
|
-
internalBinaryRead(reader
|
|
27
|
+
internalBinaryRead(reader, length, options, target) {
|
|
56
28
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
57
29
|
while (reader.pos < end) {
|
|
58
30
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -71,7 +43,7 @@ class DataTypeUpdateRequest$Type extends MessageType<DataTypeUpdateRequest> {
|
|
|
71
43
|
}
|
|
72
44
|
return message;
|
|
73
45
|
}
|
|
74
|
-
internalBinaryWrite(message
|
|
46
|
+
internalBinaryWrite(message, writer, options) {
|
|
75
47
|
/* repeated shared.DefinitionDataType data_types = 1; */
|
|
76
48
|
for (let i = 0; i < message.dataTypes.length; i++)
|
|
77
49
|
DefinitionDataType.internalBinaryWrite(message.dataTypes[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -86,20 +58,20 @@ class DataTypeUpdateRequest$Type extends MessageType<DataTypeUpdateRequest> {
|
|
|
86
58
|
*/
|
|
87
59
|
export const DataTypeUpdateRequest = new DataTypeUpdateRequest$Type();
|
|
88
60
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
89
|
-
class DataTypeUpdateResponse$Type extends MessageType
|
|
61
|
+
class DataTypeUpdateResponse$Type extends MessageType {
|
|
90
62
|
constructor() {
|
|
91
63
|
super("aquila.DataTypeUpdateResponse", [
|
|
92
64
|
{ no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
93
65
|
]);
|
|
94
66
|
}
|
|
95
|
-
create(value
|
|
96
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
67
|
+
create(value) {
|
|
68
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
97
69
|
message.success = false;
|
|
98
70
|
if (value !== undefined)
|
|
99
|
-
reflectionMergePartial
|
|
71
|
+
reflectionMergePartial(this, message, value);
|
|
100
72
|
return message;
|
|
101
73
|
}
|
|
102
|
-
internalBinaryRead(reader
|
|
74
|
+
internalBinaryRead(reader, length, options, target) {
|
|
103
75
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
104
76
|
while (reader.pos < end) {
|
|
105
77
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -118,7 +90,7 @@ class DataTypeUpdateResponse$Type extends MessageType<DataTypeUpdateResponse> {
|
|
|
118
90
|
}
|
|
119
91
|
return message;
|
|
120
92
|
}
|
|
121
|
-
internalBinaryWrite(message
|
|
93
|
+
internalBinaryWrite(message, writer, options) {
|
|
122
94
|
/* bool success = 1; */
|
|
123
95
|
if (message.success !== false)
|
|
124
96
|
writer.tag(1, WireType.Varint).bool(message.success);
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
2
|
// @generated from protobuf file "aquila.execution.proto" (package "aquila", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
|
-
import { ActionResultService } from "./aquila.execution_pb";
|
|
5
4
|
import type { ActionResultResponse } from "./aquila.execution_pb";
|
|
6
5
|
import type { ActionResultRequest } from "./aquila.execution_pb";
|
|
7
6
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
8
7
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
9
|
-
import { ActionCallService } from "./aquila.execution_pb";
|
|
10
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
11
8
|
import type { ActionCallResponse } from "./aquila.execution_pb";
|
|
12
9
|
import type { ActionCallRequest } from "./aquila.execution_pb";
|
|
13
10
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
@@ -28,19 +25,16 @@ export interface IActionCallServiceClient {
|
|
|
28
25
|
*
|
|
29
26
|
* @generated from protobuf service aquila.ActionCallService
|
|
30
27
|
*/
|
|
31
|
-
export class ActionCallServiceClient implements IActionCallServiceClient, ServiceInfo {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
export declare class ActionCallServiceClient implements IActionCallServiceClient, ServiceInfo {
|
|
29
|
+
private readonly _transport;
|
|
30
|
+
typeName: any;
|
|
31
|
+
methods: any;
|
|
32
|
+
options: any;
|
|
33
|
+
constructor(_transport: RpcTransport);
|
|
37
34
|
/**
|
|
38
35
|
* @generated from protobuf rpc: Call
|
|
39
36
|
*/
|
|
40
|
-
call(input: ActionCallRequest, options?: RpcOptions): UnaryCall<ActionCallRequest, ActionCallResponse
|
|
41
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
42
|
-
return stackIntercept<ActionCallRequest, ActionCallResponse>("unary", this._transport, method, opt, input);
|
|
43
|
-
}
|
|
37
|
+
call(input: ActionCallRequest, options?: RpcOptions): UnaryCall<ActionCallRequest, ActionCallResponse>;
|
|
44
38
|
}
|
|
45
39
|
/**
|
|
46
40
|
* Service for getting a result of an execution
|
|
@@ -58,17 +52,14 @@ export interface IActionResultServiceClient {
|
|
|
58
52
|
*
|
|
59
53
|
* @generated from protobuf service aquila.ActionResultService
|
|
60
54
|
*/
|
|
61
|
-
export class ActionResultServiceClient implements IActionResultServiceClient, ServiceInfo {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
55
|
+
export declare class ActionResultServiceClient implements IActionResultServiceClient, ServiceInfo {
|
|
56
|
+
private readonly _transport;
|
|
57
|
+
typeName: any;
|
|
58
|
+
methods: any;
|
|
59
|
+
options: any;
|
|
60
|
+
constructor(_transport: RpcTransport);
|
|
67
61
|
/**
|
|
68
62
|
* @generated from protobuf rpc: GetResult
|
|
69
63
|
*/
|
|
70
|
-
getResult(input: ActionResultRequest, options?: RpcOptions): UnaryCall<ActionResultRequest, ActionResultResponse
|
|
71
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
72
|
-
return stackIntercept<ActionResultRequest, ActionResultResponse>("unary", this._transport, method, opt, input);
|
|
73
|
-
}
|
|
64
|
+
getResult(input: ActionResultRequest, options?: RpcOptions): UnaryCall<ActionResultRequest, ActionResultResponse>;
|
|
74
65
|
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "aquila.execution.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.execution.proto" (package "aquila", syntax proto3)
|
|
6
|
+
// tslint:disable
|
|
7
|
+
import { ActionResultService } from "./aquila.execution_pb";
|
|
8
|
+
import { ActionCallService } from "./aquila.execution_pb";
|
|
9
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
10
|
+
/**
|
|
11
|
+
* Service for calling an execution with the given parameter
|
|
12
|
+
*
|
|
13
|
+
* @generated from protobuf service aquila.ActionCallService
|
|
14
|
+
*/
|
|
15
|
+
export class ActionCallServiceClient {
|
|
16
|
+
constructor(_transport) {
|
|
17
|
+
this._transport = _transport;
|
|
18
|
+
this.typeName = ActionCallService.typeName;
|
|
19
|
+
this.methods = ActionCallService.methods;
|
|
20
|
+
this.options = ActionCallService.options;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @generated from protobuf rpc: Call
|
|
24
|
+
*/
|
|
25
|
+
call(input, options) {
|
|
26
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
27
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Service for getting a result of an execution
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf service aquila.ActionResultService
|
|
34
|
+
*/
|
|
35
|
+
export class ActionResultServiceClient {
|
|
36
|
+
constructor(_transport) {
|
|
37
|
+
this._transport = _transport;
|
|
38
|
+
this.typeName = ActionResultService.typeName;
|
|
39
|
+
this.methods = ActionResultService.methods;
|
|
40
|
+
this.options = ActionResultService.options;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @generated from protobuf rpc: GetResult
|
|
44
|
+
*/
|
|
45
|
+
getResult(input, options) {
|
|
46
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
47
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "aquila.execution.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
|
+
/**
|
|
11
|
+
* Request to call an action with param. Request will be routed over Aquila
|
|
12
|
+
*
|
|
13
|
+
* @generated from protobuf message aquila.ActionCallRequest
|
|
14
|
+
*/
|
|
15
|
+
export interface ActionCallRequest {
|
|
16
|
+
/**
|
|
17
|
+
* Function identifier
|
|
18
|
+
*
|
|
19
|
+
* @generated from protobuf field: string identifier = 1
|
|
20
|
+
*/
|
|
21
|
+
identifier: string;
|
|
22
|
+
/**
|
|
23
|
+
* List of parameters (json format --> also can just be a primitive)
|
|
24
|
+
*
|
|
25
|
+
* @generated from protobuf field: repeated string parameters = 2
|
|
26
|
+
*/
|
|
27
|
+
parameters: string[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Response of execution call
|
|
31
|
+
*
|
|
32
|
+
* @generated from protobuf message aquila.ActionCallResponse
|
|
33
|
+
*/
|
|
34
|
+
export interface ActionCallResponse {
|
|
35
|
+
/**
|
|
36
|
+
* Identifier of the execution id given by Aquila for the parameter
|
|
37
|
+
*
|
|
38
|
+
* @generated from protobuf field: string execution_identifier = 1
|
|
39
|
+
*/
|
|
40
|
+
executionIdentifier: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* List of results
|
|
44
|
+
*
|
|
45
|
+
* @generated from protobuf message aquila.ActionResult
|
|
46
|
+
*/
|
|
47
|
+
export interface ActionResult {
|
|
48
|
+
/**
|
|
49
|
+
* @generated from protobuf field: repeated string result = 1
|
|
50
|
+
*/
|
|
51
|
+
result: string[];
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Request to check if there are results for the given identifier
|
|
55
|
+
*
|
|
56
|
+
* @generated from protobuf message aquila.ActionResultRequest
|
|
57
|
+
*/
|
|
58
|
+
export interface ActionResultRequest {
|
|
59
|
+
/**
|
|
60
|
+
* Identifier that is connected to the parameter
|
|
61
|
+
*
|
|
62
|
+
* @generated from protobuf field: string execution_identifier = 1
|
|
63
|
+
*/
|
|
64
|
+
executionIdentifier: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @generated from protobuf message aquila.ActionResultResponse
|
|
68
|
+
*/
|
|
69
|
+
export interface ActionResultResponse {
|
|
70
|
+
/**
|
|
71
|
+
* Result of the given parameter!
|
|
72
|
+
*
|
|
73
|
+
* @generated from protobuf field: optional aquila.ActionResult action_result = 1
|
|
74
|
+
*/
|
|
75
|
+
actionResult?: ActionResult;
|
|
76
|
+
}
|
|
77
|
+
declare class ActionCallRequest$Type extends MessageType<ActionCallRequest> {
|
|
78
|
+
constructor();
|
|
79
|
+
create(value?: PartialMessage<ActionCallRequest>): ActionCallRequest;
|
|
80
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionCallRequest): ActionCallRequest;
|
|
81
|
+
internalBinaryWrite(message: ActionCallRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @generated MessageType for protobuf message aquila.ActionCallRequest
|
|
85
|
+
*/
|
|
86
|
+
export declare const ActionCallRequest: ActionCallRequest$Type;
|
|
87
|
+
declare class ActionCallResponse$Type extends MessageType<ActionCallResponse> {
|
|
88
|
+
constructor();
|
|
89
|
+
create(value?: PartialMessage<ActionCallResponse>): ActionCallResponse;
|
|
90
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionCallResponse): ActionCallResponse;
|
|
91
|
+
internalBinaryWrite(message: ActionCallResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @generated MessageType for protobuf message aquila.ActionCallResponse
|
|
95
|
+
*/
|
|
96
|
+
export declare const ActionCallResponse: ActionCallResponse$Type;
|
|
97
|
+
declare class ActionResult$Type extends MessageType<ActionResult> {
|
|
98
|
+
constructor();
|
|
99
|
+
create(value?: PartialMessage<ActionResult>): ActionResult;
|
|
100
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionResult): ActionResult;
|
|
101
|
+
internalBinaryWrite(message: ActionResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @generated MessageType for protobuf message aquila.ActionResult
|
|
105
|
+
*/
|
|
106
|
+
export declare const ActionResult: ActionResult$Type;
|
|
107
|
+
declare class ActionResultRequest$Type extends MessageType<ActionResultRequest> {
|
|
108
|
+
constructor();
|
|
109
|
+
create(value?: PartialMessage<ActionResultRequest>): ActionResultRequest;
|
|
110
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionResultRequest): ActionResultRequest;
|
|
111
|
+
internalBinaryWrite(message: ActionResultRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @generated MessageType for protobuf message aquila.ActionResultRequest
|
|
115
|
+
*/
|
|
116
|
+
export declare const ActionResultRequest: ActionResultRequest$Type;
|
|
117
|
+
declare class ActionResultResponse$Type extends MessageType<ActionResultResponse> {
|
|
118
|
+
constructor();
|
|
119
|
+
create(value?: PartialMessage<ActionResultResponse>): ActionResultResponse;
|
|
120
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionResultResponse): ActionResultResponse;
|
|
121
|
+
internalBinaryWrite(message: ActionResultResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* @generated MessageType for protobuf message aquila.ActionResultResponse
|
|
125
|
+
*/
|
|
126
|
+
export declare const ActionResultResponse: ActionResultResponse$Type;
|
|
127
|
+
/**
|
|
128
|
+
* @generated ServiceType for protobuf service aquila.ActionCallService
|
|
129
|
+
*/
|
|
130
|
+
export declare const ActionCallService: any;
|
|
131
|
+
/**
|
|
132
|
+
* @generated ServiceType for protobuf service aquila.ActionResultService
|
|
133
|
+
*/
|
|
134
|
+
export declare const ActionResultService: any;
|
|
135
|
+
export {};
|
|
@@ -1,100 +1,31 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "aquila.execution.proto" (package "aquila", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
5
|
// @generated from protobuf file "aquila.execution.proto" (package "aquila", syntax proto3)
|
|
3
6
|
// tslint:disable
|
|
4
7
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
5
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
6
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
7
8
|
import { WireType } from "@protobuf-ts/runtime";
|
|
8
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
9
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
10
9
|
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
11
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
12
10
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
13
11
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
14
|
-
/**
|
|
15
|
-
* Request to call an action with param. Request will be routed over Aquila
|
|
16
|
-
*
|
|
17
|
-
* @generated from protobuf message aquila.ActionCallRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface ActionCallRequest {
|
|
20
|
-
/**
|
|
21
|
-
* Function identifier
|
|
22
|
-
*
|
|
23
|
-
* @generated from protobuf field: string identifier = 1
|
|
24
|
-
*/
|
|
25
|
-
identifier: string;
|
|
26
|
-
/**
|
|
27
|
-
* List of parameters (json format --> also can just be a primitive)
|
|
28
|
-
*
|
|
29
|
-
* @generated from protobuf field: repeated string parameters = 2
|
|
30
|
-
*/
|
|
31
|
-
parameters: string[];
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Response of execution call
|
|
35
|
-
*
|
|
36
|
-
* @generated from protobuf message aquila.ActionCallResponse
|
|
37
|
-
*/
|
|
38
|
-
export interface ActionCallResponse {
|
|
39
|
-
/**
|
|
40
|
-
* Identifier of the execution id given by Aquila for the parameter
|
|
41
|
-
*
|
|
42
|
-
* @generated from protobuf field: string execution_identifier = 1
|
|
43
|
-
*/
|
|
44
|
-
executionIdentifier: string;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* List of results
|
|
48
|
-
*
|
|
49
|
-
* @generated from protobuf message aquila.ActionResult
|
|
50
|
-
*/
|
|
51
|
-
export interface ActionResult {
|
|
52
|
-
/**
|
|
53
|
-
* @generated from protobuf field: repeated string result = 1
|
|
54
|
-
*/
|
|
55
|
-
result: string[];
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Request to check if there are results for the given identifier
|
|
59
|
-
*
|
|
60
|
-
* @generated from protobuf message aquila.ActionResultRequest
|
|
61
|
-
*/
|
|
62
|
-
export interface ActionResultRequest {
|
|
63
|
-
/**
|
|
64
|
-
* Identifier that is connected to the parameter
|
|
65
|
-
*
|
|
66
|
-
* @generated from protobuf field: string execution_identifier = 1
|
|
67
|
-
*/
|
|
68
|
-
executionIdentifier: string;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* @generated from protobuf message aquila.ActionResultResponse
|
|
72
|
-
*/
|
|
73
|
-
export interface ActionResultResponse {
|
|
74
|
-
/**
|
|
75
|
-
* Result of the given parameter!
|
|
76
|
-
*
|
|
77
|
-
* @generated from protobuf field: optional aquila.ActionResult action_result = 1
|
|
78
|
-
*/
|
|
79
|
-
actionResult?: ActionResult;
|
|
80
|
-
}
|
|
81
12
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
82
|
-
class ActionCallRequest$Type extends MessageType
|
|
13
|
+
class ActionCallRequest$Type extends MessageType {
|
|
83
14
|
constructor() {
|
|
84
15
|
super("aquila.ActionCallRequest", [
|
|
85
16
|
{ no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
86
17
|
{ no: 2, name: "parameters", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
87
18
|
]);
|
|
88
19
|
}
|
|
89
|
-
create(value
|
|
90
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
20
|
+
create(value) {
|
|
21
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
91
22
|
message.identifier = "";
|
|
92
23
|
message.parameters = [];
|
|
93
24
|
if (value !== undefined)
|
|
94
|
-
reflectionMergePartial
|
|
25
|
+
reflectionMergePartial(this, message, value);
|
|
95
26
|
return message;
|
|
96
27
|
}
|
|
97
|
-
internalBinaryRead(reader
|
|
28
|
+
internalBinaryRead(reader, length, options, target) {
|
|
98
29
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
99
30
|
while (reader.pos < end) {
|
|
100
31
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -116,7 +47,7 @@ class ActionCallRequest$Type extends MessageType<ActionCallRequest> {
|
|
|
116
47
|
}
|
|
117
48
|
return message;
|
|
118
49
|
}
|
|
119
|
-
internalBinaryWrite(message
|
|
50
|
+
internalBinaryWrite(message, writer, options) {
|
|
120
51
|
/* string identifier = 1; */
|
|
121
52
|
if (message.identifier !== "")
|
|
122
53
|
writer.tag(1, WireType.LengthDelimited).string(message.identifier);
|
|
@@ -134,20 +65,20 @@ class ActionCallRequest$Type extends MessageType<ActionCallRequest> {
|
|
|
134
65
|
*/
|
|
135
66
|
export const ActionCallRequest = new ActionCallRequest$Type();
|
|
136
67
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
137
|
-
class ActionCallResponse$Type extends MessageType
|
|
68
|
+
class ActionCallResponse$Type extends MessageType {
|
|
138
69
|
constructor() {
|
|
139
70
|
super("aquila.ActionCallResponse", [
|
|
140
71
|
{ no: 1, name: "execution_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
141
72
|
]);
|
|
142
73
|
}
|
|
143
|
-
create(value
|
|
144
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
74
|
+
create(value) {
|
|
75
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
145
76
|
message.executionIdentifier = "";
|
|
146
77
|
if (value !== undefined)
|
|
147
|
-
reflectionMergePartial
|
|
78
|
+
reflectionMergePartial(this, message, value);
|
|
148
79
|
return message;
|
|
149
80
|
}
|
|
150
|
-
internalBinaryRead(reader
|
|
81
|
+
internalBinaryRead(reader, length, options, target) {
|
|
151
82
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
152
83
|
while (reader.pos < end) {
|
|
153
84
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -166,7 +97,7 @@ class ActionCallResponse$Type extends MessageType<ActionCallResponse> {
|
|
|
166
97
|
}
|
|
167
98
|
return message;
|
|
168
99
|
}
|
|
169
|
-
internalBinaryWrite(message
|
|
100
|
+
internalBinaryWrite(message, writer, options) {
|
|
170
101
|
/* string execution_identifier = 1; */
|
|
171
102
|
if (message.executionIdentifier !== "")
|
|
172
103
|
writer.tag(1, WireType.LengthDelimited).string(message.executionIdentifier);
|
|
@@ -181,20 +112,20 @@ class ActionCallResponse$Type extends MessageType<ActionCallResponse> {
|
|
|
181
112
|
*/
|
|
182
113
|
export const ActionCallResponse = new ActionCallResponse$Type();
|
|
183
114
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
184
|
-
class ActionResult$Type extends MessageType
|
|
115
|
+
class ActionResult$Type extends MessageType {
|
|
185
116
|
constructor() {
|
|
186
117
|
super("aquila.ActionResult", [
|
|
187
118
|
{ no: 1, name: "result", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
188
119
|
]);
|
|
189
120
|
}
|
|
190
|
-
create(value
|
|
191
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
121
|
+
create(value) {
|
|
122
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
192
123
|
message.result = [];
|
|
193
124
|
if (value !== undefined)
|
|
194
|
-
reflectionMergePartial
|
|
125
|
+
reflectionMergePartial(this, message, value);
|
|
195
126
|
return message;
|
|
196
127
|
}
|
|
197
|
-
internalBinaryRead(reader
|
|
128
|
+
internalBinaryRead(reader, length, options, target) {
|
|
198
129
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
199
130
|
while (reader.pos < end) {
|
|
200
131
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -213,7 +144,7 @@ class ActionResult$Type extends MessageType<ActionResult> {
|
|
|
213
144
|
}
|
|
214
145
|
return message;
|
|
215
146
|
}
|
|
216
|
-
internalBinaryWrite(message
|
|
147
|
+
internalBinaryWrite(message, writer, options) {
|
|
217
148
|
/* repeated string result = 1; */
|
|
218
149
|
for (let i = 0; i < message.result.length; i++)
|
|
219
150
|
writer.tag(1, WireType.LengthDelimited).string(message.result[i]);
|
|
@@ -228,20 +159,20 @@ class ActionResult$Type extends MessageType<ActionResult> {
|
|
|
228
159
|
*/
|
|
229
160
|
export const ActionResult = new ActionResult$Type();
|
|
230
161
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
231
|
-
class ActionResultRequest$Type extends MessageType
|
|
162
|
+
class ActionResultRequest$Type extends MessageType {
|
|
232
163
|
constructor() {
|
|
233
164
|
super("aquila.ActionResultRequest", [
|
|
234
165
|
{ no: 1, name: "execution_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
235
166
|
]);
|
|
236
167
|
}
|
|
237
|
-
create(value
|
|
238
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
168
|
+
create(value) {
|
|
169
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
239
170
|
message.executionIdentifier = "";
|
|
240
171
|
if (value !== undefined)
|
|
241
|
-
reflectionMergePartial
|
|
172
|
+
reflectionMergePartial(this, message, value);
|
|
242
173
|
return message;
|
|
243
174
|
}
|
|
244
|
-
internalBinaryRead(reader
|
|
175
|
+
internalBinaryRead(reader, length, options, target) {
|
|
245
176
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
246
177
|
while (reader.pos < end) {
|
|
247
178
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -260,7 +191,7 @@ class ActionResultRequest$Type extends MessageType<ActionResultRequest> {
|
|
|
260
191
|
}
|
|
261
192
|
return message;
|
|
262
193
|
}
|
|
263
|
-
internalBinaryWrite(message
|
|
194
|
+
internalBinaryWrite(message, writer, options) {
|
|
264
195
|
/* string execution_identifier = 1; */
|
|
265
196
|
if (message.executionIdentifier !== "")
|
|
266
197
|
writer.tag(1, WireType.LengthDelimited).string(message.executionIdentifier);
|
|
@@ -275,19 +206,19 @@ class ActionResultRequest$Type extends MessageType<ActionResultRequest> {
|
|
|
275
206
|
*/
|
|
276
207
|
export const ActionResultRequest = new ActionResultRequest$Type();
|
|
277
208
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
278
|
-
class ActionResultResponse$Type extends MessageType
|
|
209
|
+
class ActionResultResponse$Type extends MessageType {
|
|
279
210
|
constructor() {
|
|
280
211
|
super("aquila.ActionResultResponse", [
|
|
281
212
|
{ no: 1, name: "action_result", kind: "message", T: () => ActionResult }
|
|
282
213
|
]);
|
|
283
214
|
}
|
|
284
|
-
create(value
|
|
285
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
215
|
+
create(value) {
|
|
216
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
286
217
|
if (value !== undefined)
|
|
287
|
-
reflectionMergePartial
|
|
218
|
+
reflectionMergePartial(this, message, value);
|
|
288
219
|
return message;
|
|
289
220
|
}
|
|
290
|
-
internalBinaryRead(reader
|
|
221
|
+
internalBinaryRead(reader, length, options, target) {
|
|
291
222
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
292
223
|
while (reader.pos < end) {
|
|
293
224
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -306,7 +237,7 @@ class ActionResultResponse$Type extends MessageType<ActionResultResponse> {
|
|
|
306
237
|
}
|
|
307
238
|
return message;
|
|
308
239
|
}
|
|
309
|
-
internalBinaryWrite(message
|
|
240
|
+
internalBinaryWrite(message, writer, options) {
|
|
310
241
|
/* optional aquila.ActionResult action_result = 1; */
|
|
311
242
|
if (message.actionResult)
|
|
312
243
|
ActionResult.internalBinaryWrite(message.actionResult, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
2
|
// @generated from protobuf file "aquila.flow_type.proto" (package "aquila", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
import { FlowTypeService } from "./aquila.flow_type_pb";
|
|
7
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
8
6
|
import type { FlowTypeUpdateResponse } from "./aquila.flow_type_pb";
|
|
9
7
|
import type { FlowTypeUpdateRequest } from "./aquila.flow_type_pb";
|
|
10
8
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
@@ -25,17 +23,14 @@ export interface IFlowTypeServiceClient {
|
|
|
25
23
|
*
|
|
26
24
|
* @generated from protobuf service aquila.FlowTypeService
|
|
27
25
|
*/
|
|
28
|
-
export class FlowTypeServiceClient implements IFlowTypeServiceClient, ServiceInfo {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
export declare class FlowTypeServiceClient implements IFlowTypeServiceClient, ServiceInfo {
|
|
27
|
+
private readonly _transport;
|
|
28
|
+
typeName: any;
|
|
29
|
+
methods: any;
|
|
30
|
+
options: any;
|
|
31
|
+
constructor(_transport: RpcTransport);
|
|
34
32
|
/**
|
|
35
33
|
* @generated from protobuf rpc: Update
|
|
36
34
|
*/
|
|
37
|
-
update(input: FlowTypeUpdateRequest, options?: RpcOptions): UnaryCall<FlowTypeUpdateRequest, FlowTypeUpdateResponse
|
|
38
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
39
|
-
return stackIntercept<FlowTypeUpdateRequest, FlowTypeUpdateResponse>("unary", this._transport, method, opt, input);
|
|
40
|
-
}
|
|
35
|
+
update(input: FlowTypeUpdateRequest, options?: RpcOptions): UnaryCall<FlowTypeUpdateRequest, FlowTypeUpdateResponse>;
|
|
41
36
|
}
|