@code0-tech/tucana 0.0.37 → 0.0.39
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 +311 -0
- package/pb/{shared.flow_pb.ts → shared.flow_pb.js} +57 -270
- 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,74 +1,32 @@
|
|
|
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 "sagittarius.action.proto" (package "sagittarius", 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 "sagittarius.action.proto" (package "sagittarius", 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 { RuntimeFunctionDefinition } from "./shared.runtime_function_pb";
|
|
15
|
-
/**
|
|
16
|
-
* Request for communicating that an action went online
|
|
17
|
-
*
|
|
18
|
-
* @generated from protobuf message sagittarius.ActionLogonRequest
|
|
19
|
-
*/
|
|
20
|
-
export interface ActionLogonRequest {
|
|
21
|
-
/**
|
|
22
|
-
* Unique identifier of action
|
|
23
|
-
*
|
|
24
|
-
* @generated from protobuf field: string identifier = 1
|
|
25
|
-
*/
|
|
26
|
-
identifier: string;
|
|
27
|
-
/**
|
|
28
|
-
* All function definitions the action holds
|
|
29
|
-
*
|
|
30
|
-
* @generated from protobuf field: repeated shared.RuntimeFunctionDefinition function_definition = 2
|
|
31
|
-
*/
|
|
32
|
-
functionDefinition: RuntimeFunctionDefinition[];
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* @generated from protobuf message sagittarius.ActionLogonResponse
|
|
36
|
-
*/
|
|
37
|
-
export interface ActionLogonResponse {
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Request for communication that an action went offline
|
|
41
|
-
*
|
|
42
|
-
* @generated from protobuf message sagittarius.ActionLogoffRequest
|
|
43
|
-
*/
|
|
44
|
-
export interface ActionLogoffRequest {
|
|
45
|
-
/**
|
|
46
|
-
* @generated from protobuf field: string identifier = 1
|
|
47
|
-
*/
|
|
48
|
-
identifier: string;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @generated from protobuf message sagittarius.ActionLogoffResponse
|
|
52
|
-
*/
|
|
53
|
-
export interface ActionLogoffResponse {
|
|
54
|
-
}
|
|
55
13
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
56
|
-
class ActionLogonRequest$Type extends MessageType
|
|
14
|
+
class ActionLogonRequest$Type extends MessageType {
|
|
57
15
|
constructor() {
|
|
58
16
|
super("sagittarius.ActionLogonRequest", [
|
|
59
17
|
{ no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
60
18
|
{ no: 2, name: "function_definition", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeFunctionDefinition }
|
|
61
19
|
]);
|
|
62
20
|
}
|
|
63
|
-
create(value
|
|
64
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
21
|
+
create(value) {
|
|
22
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
65
23
|
message.identifier = "";
|
|
66
24
|
message.functionDefinition = [];
|
|
67
25
|
if (value !== undefined)
|
|
68
|
-
reflectionMergePartial
|
|
26
|
+
reflectionMergePartial(this, message, value);
|
|
69
27
|
return message;
|
|
70
28
|
}
|
|
71
|
-
internalBinaryRead(reader
|
|
29
|
+
internalBinaryRead(reader, length, options, target) {
|
|
72
30
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
73
31
|
while (reader.pos < end) {
|
|
74
32
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -90,7 +48,7 @@ class ActionLogonRequest$Type extends MessageType<ActionLogonRequest> {
|
|
|
90
48
|
}
|
|
91
49
|
return message;
|
|
92
50
|
}
|
|
93
|
-
internalBinaryWrite(message
|
|
51
|
+
internalBinaryWrite(message, writer, options) {
|
|
94
52
|
/* string identifier = 1; */
|
|
95
53
|
if (message.identifier !== "")
|
|
96
54
|
writer.tag(1, WireType.LengthDelimited).string(message.identifier);
|
|
@@ -108,17 +66,17 @@ class ActionLogonRequest$Type extends MessageType<ActionLogonRequest> {
|
|
|
108
66
|
*/
|
|
109
67
|
export const ActionLogonRequest = new ActionLogonRequest$Type();
|
|
110
68
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
111
|
-
class ActionLogonResponse$Type extends MessageType
|
|
69
|
+
class ActionLogonResponse$Type extends MessageType {
|
|
112
70
|
constructor() {
|
|
113
71
|
super("sagittarius.ActionLogonResponse", []);
|
|
114
72
|
}
|
|
115
|
-
create(value
|
|
116
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
73
|
+
create(value) {
|
|
74
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
117
75
|
if (value !== undefined)
|
|
118
|
-
reflectionMergePartial
|
|
76
|
+
reflectionMergePartial(this, message, value);
|
|
119
77
|
return message;
|
|
120
78
|
}
|
|
121
|
-
internalBinaryRead(reader
|
|
79
|
+
internalBinaryRead(reader, length, options, target) {
|
|
122
80
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
123
81
|
while (reader.pos < end) {
|
|
124
82
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -134,7 +92,7 @@ class ActionLogonResponse$Type extends MessageType<ActionLogonResponse> {
|
|
|
134
92
|
}
|
|
135
93
|
return message;
|
|
136
94
|
}
|
|
137
|
-
internalBinaryWrite(message
|
|
95
|
+
internalBinaryWrite(message, writer, options) {
|
|
138
96
|
let u = options.writeUnknownFields;
|
|
139
97
|
if (u !== false)
|
|
140
98
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -146,20 +104,20 @@ class ActionLogonResponse$Type extends MessageType<ActionLogonResponse> {
|
|
|
146
104
|
*/
|
|
147
105
|
export const ActionLogonResponse = new ActionLogonResponse$Type();
|
|
148
106
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
149
|
-
class ActionLogoffRequest$Type extends MessageType
|
|
107
|
+
class ActionLogoffRequest$Type extends MessageType {
|
|
150
108
|
constructor() {
|
|
151
109
|
super("sagittarius.ActionLogoffRequest", [
|
|
152
110
|
{ no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
153
111
|
]);
|
|
154
112
|
}
|
|
155
|
-
create(value
|
|
156
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
113
|
+
create(value) {
|
|
114
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
157
115
|
message.identifier = "";
|
|
158
116
|
if (value !== undefined)
|
|
159
|
-
reflectionMergePartial
|
|
117
|
+
reflectionMergePartial(this, message, value);
|
|
160
118
|
return message;
|
|
161
119
|
}
|
|
162
|
-
internalBinaryRead(reader
|
|
120
|
+
internalBinaryRead(reader, length, options, target) {
|
|
163
121
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
164
122
|
while (reader.pos < end) {
|
|
165
123
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -178,7 +136,7 @@ class ActionLogoffRequest$Type extends MessageType<ActionLogoffRequest> {
|
|
|
178
136
|
}
|
|
179
137
|
return message;
|
|
180
138
|
}
|
|
181
|
-
internalBinaryWrite(message
|
|
139
|
+
internalBinaryWrite(message, writer, options) {
|
|
182
140
|
/* string identifier = 1; */
|
|
183
141
|
if (message.identifier !== "")
|
|
184
142
|
writer.tag(1, WireType.LengthDelimited).string(message.identifier);
|
|
@@ -193,17 +151,17 @@ class ActionLogoffRequest$Type extends MessageType<ActionLogoffRequest> {
|
|
|
193
151
|
*/
|
|
194
152
|
export const ActionLogoffRequest = new ActionLogoffRequest$Type();
|
|
195
153
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
196
|
-
class ActionLogoffResponse$Type extends MessageType
|
|
154
|
+
class ActionLogoffResponse$Type extends MessageType {
|
|
197
155
|
constructor() {
|
|
198
156
|
super("sagittarius.ActionLogoffResponse", []);
|
|
199
157
|
}
|
|
200
|
-
create(value
|
|
201
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
158
|
+
create(value) {
|
|
159
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
202
160
|
if (value !== undefined)
|
|
203
|
-
reflectionMergePartial
|
|
161
|
+
reflectionMergePartial(this, message, value);
|
|
204
162
|
return message;
|
|
205
163
|
}
|
|
206
|
-
internalBinaryRead(reader
|
|
164
|
+
internalBinaryRead(reader, length, options, target) {
|
|
207
165
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
208
166
|
while (reader.pos < end) {
|
|
209
167
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -219,7 +177,7 @@ class ActionLogoffResponse$Type extends MessageType<ActionLogoffResponse> {
|
|
|
219
177
|
}
|
|
220
178
|
return message;
|
|
221
179
|
}
|
|
222
|
-
internalBinaryWrite(message
|
|
180
|
+
internalBinaryWrite(message, writer, options) {
|
|
223
181
|
let u = options.writeUnknownFields;
|
|
224
182
|
if (u !== false)
|
|
225
183
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -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 "sagittarius.data_type.proto" (package "sagittarius", 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 { DataTypeService } from "./sagittarius.data_type_pb";
|
|
7
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
8
6
|
import type { DataTypeUpdateResponse } from "./sagittarius.data_type_pb";
|
|
9
7
|
import type { DataTypeUpdateRequest } from "./sagittarius.data_type_pb";
|
|
10
8
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
@@ -21,17 +19,14 @@ export interface IDataTypeServiceClient {
|
|
|
21
19
|
/**
|
|
22
20
|
* @generated from protobuf service sagittarius.DataTypeService
|
|
23
21
|
*/
|
|
24
|
-
export class DataTypeServiceClient implements IDataTypeServiceClient, ServiceInfo {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
export declare class DataTypeServiceClient implements IDataTypeServiceClient, ServiceInfo {
|
|
23
|
+
private readonly _transport;
|
|
24
|
+
typeName: any;
|
|
25
|
+
methods: any;
|
|
26
|
+
options: any;
|
|
27
|
+
constructor(_transport: RpcTransport);
|
|
30
28
|
/**
|
|
31
29
|
* @generated from protobuf rpc: Update
|
|
32
30
|
*/
|
|
33
|
-
update(input: DataTypeUpdateRequest, options?: RpcOptions): UnaryCall<DataTypeUpdateRequest, DataTypeUpdateResponse
|
|
34
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
35
|
-
return stackIntercept<DataTypeUpdateRequest, DataTypeUpdateResponse>("unary", this._transport, method, opt, input);
|
|
36
|
-
}
|
|
31
|
+
update(input: DataTypeUpdateRequest, options?: RpcOptions): UnaryCall<DataTypeUpdateRequest, DataTypeUpdateResponse>;
|
|
37
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.data_type.proto" (package "sagittarius", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import { DataTypeService } from "./sagittarius.data_type_pb";
|
|
5
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
/**
|
|
7
|
+
* @generated from protobuf service sagittarius.DataTypeService
|
|
8
|
+
*/
|
|
9
|
+
export class DataTypeServiceClient {
|
|
10
|
+
constructor(_transport) {
|
|
11
|
+
this._transport = _transport;
|
|
12
|
+
this.typeName = DataTypeService.typeName;
|
|
13
|
+
this.methods = DataTypeService.methods;
|
|
14
|
+
this.options = DataTypeService.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,61 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "sagittarius.data_type.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 { DefinitionDataType } from "./shared.data_type_pb";
|
|
11
|
+
/**
|
|
12
|
+
* Request for updating a data type
|
|
13
|
+
*
|
|
14
|
+
* @generated from protobuf message sagittarius.DataTypeUpdateRequest
|
|
15
|
+
*/
|
|
16
|
+
export interface DataTypeUpdateRequest {
|
|
17
|
+
/**
|
|
18
|
+
* List of data types that should be updated
|
|
19
|
+
*
|
|
20
|
+
* @generated from protobuf field: repeated shared.DefinitionDataType data_types = 1
|
|
21
|
+
*/
|
|
22
|
+
dataTypes: DefinitionDataType[];
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Response of updating a data type
|
|
26
|
+
*
|
|
27
|
+
* @generated from protobuf message sagittarius.DataTypeUpdateResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface DataTypeUpdateResponse {
|
|
30
|
+
/**
|
|
31
|
+
* True if was successful, false if not
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf field: bool success = 1
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
}
|
|
37
|
+
declare class DataTypeUpdateRequest$Type extends MessageType<DataTypeUpdateRequest> {
|
|
38
|
+
constructor();
|
|
39
|
+
create(value?: PartialMessage<DataTypeUpdateRequest>): DataTypeUpdateRequest;
|
|
40
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DataTypeUpdateRequest): DataTypeUpdateRequest;
|
|
41
|
+
internalBinaryWrite(message: DataTypeUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @generated MessageType for protobuf message sagittarius.DataTypeUpdateRequest
|
|
45
|
+
*/
|
|
46
|
+
export declare const DataTypeUpdateRequest: DataTypeUpdateRequest$Type;
|
|
47
|
+
declare class DataTypeUpdateResponse$Type extends MessageType<DataTypeUpdateResponse> {
|
|
48
|
+
constructor();
|
|
49
|
+
create(value?: PartialMessage<DataTypeUpdateResponse>): DataTypeUpdateResponse;
|
|
50
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DataTypeUpdateResponse): DataTypeUpdateResponse;
|
|
51
|
+
internalBinaryWrite(message: DataTypeUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @generated MessageType for protobuf message sagittarius.DataTypeUpdateResponse
|
|
55
|
+
*/
|
|
56
|
+
export declare const DataTypeUpdateResponse: DataTypeUpdateResponse$Type;
|
|
57
|
+
/**
|
|
58
|
+
* @generated ServiceType for protobuf service sagittarius.DataTypeService
|
|
59
|
+
*/
|
|
60
|
+
export declare const DataTypeService: any;
|
|
61
|
+
export {};
|
|
@@ -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 "sagittarius.data_type.proto" (package "sagittarius", 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 "sagittarius.data_type.proto" (package "sagittarius", 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 sagittarius.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 sagittarius.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("sagittarius.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("sagittarius.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,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 "sagittarius.flow.proto" (package "sagittarius", 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 { FlowService } from "./sagittarius.flow_pb";
|
|
7
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
8
6
|
import type { FlowResponse } from "./sagittarius.flow_pb";
|
|
9
7
|
import type { FlowLogonRequest } from "./sagittarius.flow_pb";
|
|
10
8
|
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
@@ -21,17 +19,14 @@ export interface IFlowServiceClient {
|
|
|
21
19
|
/**
|
|
22
20
|
* @generated from protobuf service sagittarius.FlowService
|
|
23
21
|
*/
|
|
24
|
-
export class FlowServiceClient implements IFlowServiceClient, ServiceInfo {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
export declare class FlowServiceClient implements IFlowServiceClient, ServiceInfo {
|
|
23
|
+
private readonly _transport;
|
|
24
|
+
typeName: any;
|
|
25
|
+
methods: any;
|
|
26
|
+
options: any;
|
|
27
|
+
constructor(_transport: RpcTransport);
|
|
30
28
|
/**
|
|
31
29
|
* @generated from protobuf rpc: Update
|
|
32
30
|
*/
|
|
33
|
-
update(input: FlowLogonRequest, options?: RpcOptions): ServerStreamingCall<FlowLogonRequest, FlowResponse
|
|
34
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
35
|
-
return stackIntercept<FlowLogonRequest, FlowResponse>("serverStreaming", this._transport, method, opt, input);
|
|
36
|
-
}
|
|
31
|
+
update(input: FlowLogonRequest, options?: RpcOptions): ServerStreamingCall<FlowLogonRequest, FlowResponse>;
|
|
37
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.flow.proto" (package "sagittarius", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import { FlowService } from "./sagittarius.flow_pb";
|
|
5
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
/**
|
|
7
|
+
* @generated from protobuf service sagittarius.FlowService
|
|
8
|
+
*/
|
|
9
|
+
export class FlowServiceClient {
|
|
10
|
+
constructor(_transport) {
|
|
11
|
+
this._transport = _transport;
|
|
12
|
+
this.typeName = FlowService.typeName;
|
|
13
|
+
this.methods = FlowService.methods;
|
|
14
|
+
this.options = FlowService.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("serverStreaming", this._transport, method, opt, input);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "sagittarius.flow.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 { Flows } from "./shared.flow_pb";
|
|
11
|
+
import { ValidationFlow } from "./shared.flow_pb";
|
|
12
|
+
/**
|
|
13
|
+
* Aquila sends a request to initialise stream to Sagittarius
|
|
14
|
+
*
|
|
15
|
+
* @generated from protobuf message sagittarius.FlowLogonRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowLogonRequest {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Sagittarius sends flow to be updated
|
|
21
|
+
*
|
|
22
|
+
* @generated from protobuf message sagittarius.FlowResponse
|
|
23
|
+
*/
|
|
24
|
+
export interface FlowResponse {
|
|
25
|
+
/**
|
|
26
|
+
* @generated from protobuf oneof: data
|
|
27
|
+
*/
|
|
28
|
+
data: {
|
|
29
|
+
oneofKind: "updatedFlow";
|
|
30
|
+
/**
|
|
31
|
+
* Updates a single flow
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf field: shared.ValidationFlow updated_flow = 1
|
|
34
|
+
*/
|
|
35
|
+
updatedFlow: ValidationFlow;
|
|
36
|
+
} | {
|
|
37
|
+
oneofKind: "deletedFlowId";
|
|
38
|
+
/**
|
|
39
|
+
* Deletes a single flow
|
|
40
|
+
*
|
|
41
|
+
* @generated from protobuf field: int64 deleted_flow_id = 2
|
|
42
|
+
*/
|
|
43
|
+
deletedFlowId: bigint;
|
|
44
|
+
} | {
|
|
45
|
+
oneofKind: "flows";
|
|
46
|
+
/**
|
|
47
|
+
* Replaces all flows in Aquila (only on startup and for releases)
|
|
48
|
+
*
|
|
49
|
+
* @generated from protobuf field: shared.Flows flows = 3
|
|
50
|
+
*/
|
|
51
|
+
flows: Flows;
|
|
52
|
+
} | {
|
|
53
|
+
oneofKind: undefined;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
declare class FlowLogonRequest$Type extends MessageType<FlowLogonRequest> {
|
|
57
|
+
constructor();
|
|
58
|
+
create(value?: PartialMessage<FlowLogonRequest>): FlowLogonRequest;
|
|
59
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowLogonRequest): FlowLogonRequest;
|
|
60
|
+
internalBinaryWrite(message: FlowLogonRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @generated MessageType for protobuf message sagittarius.FlowLogonRequest
|
|
64
|
+
*/
|
|
65
|
+
export declare const FlowLogonRequest: FlowLogonRequest$Type;
|
|
66
|
+
declare class FlowResponse$Type extends MessageType<FlowResponse> {
|
|
67
|
+
constructor();
|
|
68
|
+
create(value?: PartialMessage<FlowResponse>): FlowResponse;
|
|
69
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowResponse): FlowResponse;
|
|
70
|
+
internalBinaryWrite(message: FlowResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @generated MessageType for protobuf message sagittarius.FlowResponse
|
|
74
|
+
*/
|
|
75
|
+
export declare const FlowResponse: FlowResponse$Type;
|
|
76
|
+
/**
|
|
77
|
+
* @generated ServiceType for protobuf service sagittarius.FlowService
|
|
78
|
+
*/
|
|
79
|
+
export declare const FlowService: any;
|
|
80
|
+
export {};
|