@code0-tech/tucana 0.0.62 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aquila.cjs.js +1 -0
- package/dist/aquila.d.ts +2 -0
- package/dist/aquila.es.js +858 -0
- package/dist/helpers/helpers.d.ts +1 -0
- package/{helpers → dist/helpers}/shared.struct_helper.d.ts +2 -2
- package/dist/helpers.cjs.js +1 -0
- package/dist/helpers.d.ts +2 -0
- package/dist/helpers.es.js +61 -0
- package/{pb → dist/pb}/_generated/aquila.action_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/aquila.action_pb.d.ts +5 -14
- package/{pb → dist/pb}/_generated/aquila.data_type_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/aquila.data_type_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/aquila.flow_type_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/aquila.flow_type_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/aquila.runtime_function_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/aquila.runtime_function_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/aquila.runtime_status_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/aquila.runtime_status_pb.d.ts +4 -12
- package/{pb → dist/pb}/_generated/aquila.runtime_usage_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/aquila.runtime_usage_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/sagittarius.action_configuration_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.action_configuration_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/sagittarius.data_type_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.data_type_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/sagittarius.flow_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.flow_pb.d.ts +5 -13
- package/{pb → dist/pb}/_generated/sagittarius.flow_type_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.flow_type_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/sagittarius.ping_pb.client.d.ts +7 -11
- package/{pb → dist/pb}/_generated/sagittarius.ping_pb.d.ts +3 -10
- package/{pb → dist/pb}/_generated/sagittarius.runtime_function_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.runtime_function_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/sagittarius.runtime_status_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.runtime_status_pb.d.ts +4 -12
- package/{pb → dist/pb}/_generated/sagittarius.runtime_usage_pb.client.d.ts +7 -12
- package/{pb → dist/pb}/_generated/sagittarius.runtime_usage_pb.d.ts +4 -11
- package/dist/pb/_generated/sagittarius.text_execution_pb.client.d.ts +27 -0
- package/{pb → dist/pb}/_generated/sagittarius.text_execution_pb.d.ts +4 -11
- package/{pb → dist/pb}/_generated/shared.action_configuration_pb.d.ts +3 -11
- package/{pb → dist/pb}/_generated/shared.data_type_pb.d.ts +2 -10
- package/{pb → dist/pb}/_generated/shared.flow_definition_pb.d.ts +35 -47
- package/{pb → dist/pb}/_generated/shared.flow_pb.d.ts +12 -24
- package/{pb → dist/pb}/_generated/shared.runtime_function_pb.d.ts +3 -11
- package/{pb → dist/pb}/_generated/shared.runtime_status_pb.d.ts +52 -32
- package/{pb → dist/pb}/_generated/shared.runtime_usage_pb.d.ts +1 -9
- package/{pb → dist/pb}/_generated/shared.struct_pb.d.ts +62 -55
- package/{pb → dist/pb}/_generated/shared.translation_pb.d.ts +1 -9
- package/dist/pb/aquila.d.ts +12 -0
- package/dist/pb/sagittarius.d.ts +18 -0
- package/dist/pb/shared.d.ts +9 -0
- package/dist/rpc-interceptor-DARwxsWH.cjs +1 -0
- package/dist/rpc-interceptor-Dzh_AxUX.js +52 -0
- package/dist/sagittarius.cjs.js +1 -0
- package/dist/sagittarius.d.ts +2 -0
- package/dist/sagittarius.es.js +1212 -0
- package/dist/shared.cjs.js +1 -0
- package/dist/shared.d.ts +2 -0
- package/dist/shared.es.js +3 -0
- package/dist/shared.flow_pb-BBS51Wou.cjs +1 -0
- package/dist/shared.flow_pb-Bt00q6yT.js +717 -0
- package/dist/shared.runtime_usage_pb-Cgr2Xle6.cjs +2 -0
- package/dist/shared.runtime_usage_pb-QD7fpRLv.js +3069 -0
- package/package.json +24 -22
- package/helpers/helpers.d.ts +0 -1
- package/helpers/helpers.js +0 -1
- package/helpers/helpers.ts +0 -1
- package/helpers/shared.struct_helper.js +0 -59
- package/helpers/shared.struct_helper.ts +0 -70
- package/index.js +0 -0
- package/pb/_generated/.gitkeep +0 -0
- package/pb/_generated/aquila.action_pb.client.js +0 -25
- package/pb/_generated/aquila.action_pb.js +0 -468
- package/pb/_generated/aquila.data_type_pb.client.js +0 -23
- package/pb/_generated/aquila.data_type_pb.js +0 -112
- package/pb/_generated/aquila.flow_type_pb.client.js +0 -25
- package/pb/_generated/aquila.flow_type_pb.js +0 -112
- package/pb/_generated/aquila.runtime_function_pb.client.js +0 -25
- package/pb/_generated/aquila.runtime_function_pb.js +0 -112
- package/pb/_generated/aquila.runtime_status_pb.client.js +0 -23
- package/pb/_generated/aquila.runtime_status_pb.js +0 -126
- package/pb/_generated/aquila.runtime_usage_pb.client.js +0 -23
- package/pb/_generated/aquila.runtime_usage_pb.js +0 -112
- package/pb/_generated/sagittarius.action_configuration_pb.client.js +0 -23
- package/pb/_generated/sagittarius.action_configuration_pb.js +0 -120
- package/pb/_generated/sagittarius.data_type_pb.client.js +0 -23
- package/pb/_generated/sagittarius.data_type_pb.js +0 -112
- package/pb/_generated/sagittarius.flow_pb.client.js +0 -23
- package/pb/_generated/sagittarius.flow_pb.js +0 -138
- package/pb/_generated/sagittarius.flow_type_pb.client.js +0 -25
- package/pb/_generated/sagittarius.flow_type_pb.js +0 -112
- package/pb/_generated/sagittarius.ping_pb.client.js +0 -23
- package/pb/_generated/sagittarius.ping_pb.js +0 -64
- package/pb/_generated/sagittarius.runtime_function_pb.client.js +0 -25
- package/pb/_generated/sagittarius.runtime_function_pb.js +0 -112
- package/pb/_generated/sagittarius.runtime_status_pb.client.js +0 -23
- package/pb/_generated/sagittarius.runtime_status_pb.js +0 -126
- package/pb/_generated/sagittarius.runtime_usage_pb.client.js +0 -23
- package/pb/_generated/sagittarius.runtime_usage_pb.js +0 -112
- package/pb/_generated/sagittarius.text_execution_pb.client.d.ts +0 -32
- package/pb/_generated/sagittarius.text_execution_pb.client.js +0 -23
- package/pb/_generated/sagittarius.text_execution_pb.js +0 -568
- package/pb/_generated/shared.action_configuration_pb.js +0 -251
- package/pb/_generated/shared.data_type_pb.js +0 -411
- package/pb/_generated/shared.flow_definition_pb.js +0 -269
- package/pb/_generated/shared.flow_pb.js +0 -762
- package/pb/_generated/shared.runtime_function_pb.js +0 -238
- package/pb/_generated/shared.runtime_status_pb.js +0 -315
- package/pb/_generated/shared.runtime_usage_pb.js +0 -62
- package/pb/_generated/shared.struct_pb.js +0 -274
- package/pb/_generated/shared.translation_pb.js +0 -62
- package/pb/aquila.d.ts +0 -24
- package/pb/aquila.js +0 -24
- package/pb/aquila.ts +0 -24
- package/pb/sagittarius.d.ts +0 -36
- package/pb/sagittarius.js +0 -36
- package/pb/sagittarius.ts +0 -36
- package/pb/shared.d.ts +0 -18
- package/pb/shared.js +0 -18
- package/pb/shared.ts +0 -18
|
@@ -1,468 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "aquila.action.proto" (package "aquila", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
5
|
-
// @generated from protobuf file "aquila.action.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 { ActionConfigurations } from "./shared.action_configuration_pb";
|
|
13
|
-
import { Struct } from "./shared.struct_pb";
|
|
14
|
-
import { ActionConfigurationDefinition } from "./shared.action_configuration_pb";
|
|
15
|
-
import { Value } from "./shared.struct_pb";
|
|
16
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
17
|
-
class Event$Type extends MessageType {
|
|
18
|
-
constructor() {
|
|
19
|
-
super("aquila.Event", [
|
|
20
|
-
{ no: 1, name: "event_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
21
|
-
{ no: 2, name: "project_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
22
|
-
{ no: 3, name: "payload", kind: "message", T: () => Value }
|
|
23
|
-
]);
|
|
24
|
-
}
|
|
25
|
-
create(value) {
|
|
26
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
27
|
-
message.eventType = "";
|
|
28
|
-
message.projectId = 0n;
|
|
29
|
-
if (value !== undefined)
|
|
30
|
-
reflectionMergePartial(this, message, value);
|
|
31
|
-
return message;
|
|
32
|
-
}
|
|
33
|
-
internalBinaryRead(reader, length, options, target) {
|
|
34
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
35
|
-
while (reader.pos < end) {
|
|
36
|
-
let [fieldNo, wireType] = reader.tag();
|
|
37
|
-
switch (fieldNo) {
|
|
38
|
-
case /* string event_type */ 1:
|
|
39
|
-
message.eventType = reader.string();
|
|
40
|
-
break;
|
|
41
|
-
case /* int64 project_id */ 2:
|
|
42
|
-
message.projectId = reader.int64().toBigInt();
|
|
43
|
-
break;
|
|
44
|
-
case /* shared.Value payload */ 3:
|
|
45
|
-
message.payload = Value.internalBinaryRead(reader, reader.uint32(), options, message.payload);
|
|
46
|
-
break;
|
|
47
|
-
default:
|
|
48
|
-
let u = options.readUnknownField;
|
|
49
|
-
if (u === "throw")
|
|
50
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
51
|
-
let d = reader.skip(wireType);
|
|
52
|
-
if (u !== false)
|
|
53
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return message;
|
|
57
|
-
}
|
|
58
|
-
internalBinaryWrite(message, writer, options) {
|
|
59
|
-
/* string event_type = 1; */
|
|
60
|
-
if (message.eventType !== "")
|
|
61
|
-
writer.tag(1, WireType.LengthDelimited).string(message.eventType);
|
|
62
|
-
/* int64 project_id = 2; */
|
|
63
|
-
if (message.projectId !== 0n)
|
|
64
|
-
writer.tag(2, WireType.Varint).int64(message.projectId);
|
|
65
|
-
/* shared.Value payload = 3; */
|
|
66
|
-
if (message.payload)
|
|
67
|
-
Value.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
68
|
-
let u = options.writeUnknownFields;
|
|
69
|
-
if (u !== false)
|
|
70
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
71
|
-
return writer;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* @generated MessageType for protobuf message aquila.Event
|
|
76
|
-
*/
|
|
77
|
-
export const Event = new Event$Type();
|
|
78
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
79
|
-
class ActionLogon$Type extends MessageType {
|
|
80
|
-
constructor() {
|
|
81
|
-
super("aquila.ActionLogon", [
|
|
82
|
-
{ no: 1, name: "action_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
83
|
-
{ no: 2, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
84
|
-
{ no: 3, name: "action_configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActionConfigurationDefinition }
|
|
85
|
-
]);
|
|
86
|
-
}
|
|
87
|
-
create(value) {
|
|
88
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
89
|
-
message.actionIdentifier = "";
|
|
90
|
-
message.version = "";
|
|
91
|
-
message.actionConfigurations = [];
|
|
92
|
-
if (value !== undefined)
|
|
93
|
-
reflectionMergePartial(this, message, value);
|
|
94
|
-
return message;
|
|
95
|
-
}
|
|
96
|
-
internalBinaryRead(reader, length, options, target) {
|
|
97
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
98
|
-
while (reader.pos < end) {
|
|
99
|
-
let [fieldNo, wireType] = reader.tag();
|
|
100
|
-
switch (fieldNo) {
|
|
101
|
-
case /* string action_identifier */ 1:
|
|
102
|
-
message.actionIdentifier = reader.string();
|
|
103
|
-
break;
|
|
104
|
-
case /* string version */ 2:
|
|
105
|
-
message.version = reader.string();
|
|
106
|
-
break;
|
|
107
|
-
case /* repeated shared.ActionConfigurationDefinition action_configurations */ 3:
|
|
108
|
-
message.actionConfigurations.push(ActionConfigurationDefinition.internalBinaryRead(reader, reader.uint32(), options));
|
|
109
|
-
break;
|
|
110
|
-
default:
|
|
111
|
-
let u = options.readUnknownField;
|
|
112
|
-
if (u === "throw")
|
|
113
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
114
|
-
let d = reader.skip(wireType);
|
|
115
|
-
if (u !== false)
|
|
116
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
return message;
|
|
120
|
-
}
|
|
121
|
-
internalBinaryWrite(message, writer, options) {
|
|
122
|
-
/* string action_identifier = 1; */
|
|
123
|
-
if (message.actionIdentifier !== "")
|
|
124
|
-
writer.tag(1, WireType.LengthDelimited).string(message.actionIdentifier);
|
|
125
|
-
/* string version = 2; */
|
|
126
|
-
if (message.version !== "")
|
|
127
|
-
writer.tag(2, WireType.LengthDelimited).string(message.version);
|
|
128
|
-
/* repeated shared.ActionConfigurationDefinition action_configurations = 3; */
|
|
129
|
-
for (let i = 0; i < message.actionConfigurations.length; i++)
|
|
130
|
-
ActionConfigurationDefinition.internalBinaryWrite(message.actionConfigurations[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
131
|
-
let u = options.writeUnknownFields;
|
|
132
|
-
if (u !== false)
|
|
133
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
134
|
-
return writer;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* @generated MessageType for protobuf message aquila.ActionLogon
|
|
139
|
-
*/
|
|
140
|
-
export const ActionLogon = new ActionLogon$Type();
|
|
141
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
142
|
-
class ExecutionRequest$Type extends MessageType {
|
|
143
|
-
constructor() {
|
|
144
|
-
super("aquila.ExecutionRequest", [
|
|
145
|
-
{ no: 1, name: "execution_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
146
|
-
{ no: 2, name: "function_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
147
|
-
{ no: 3, name: "parameters", kind: "message", T: () => Struct },
|
|
148
|
-
{ no: 4, name: "project_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
149
|
-
]);
|
|
150
|
-
}
|
|
151
|
-
create(value) {
|
|
152
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
153
|
-
message.executionIdentifier = "";
|
|
154
|
-
message.functionIdentifier = "";
|
|
155
|
-
message.projectId = 0n;
|
|
156
|
-
if (value !== undefined)
|
|
157
|
-
reflectionMergePartial(this, message, value);
|
|
158
|
-
return message;
|
|
159
|
-
}
|
|
160
|
-
internalBinaryRead(reader, length, options, target) {
|
|
161
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
162
|
-
while (reader.pos < end) {
|
|
163
|
-
let [fieldNo, wireType] = reader.tag();
|
|
164
|
-
switch (fieldNo) {
|
|
165
|
-
case /* string execution_identifier */ 1:
|
|
166
|
-
message.executionIdentifier = reader.string();
|
|
167
|
-
break;
|
|
168
|
-
case /* string function_identifier */ 2:
|
|
169
|
-
message.functionIdentifier = reader.string();
|
|
170
|
-
break;
|
|
171
|
-
case /* shared.Struct parameters */ 3:
|
|
172
|
-
message.parameters = Struct.internalBinaryRead(reader, reader.uint32(), options, message.parameters);
|
|
173
|
-
break;
|
|
174
|
-
case /* int64 project_id */ 4:
|
|
175
|
-
message.projectId = reader.int64().toBigInt();
|
|
176
|
-
break;
|
|
177
|
-
default:
|
|
178
|
-
let u = options.readUnknownField;
|
|
179
|
-
if (u === "throw")
|
|
180
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
181
|
-
let d = reader.skip(wireType);
|
|
182
|
-
if (u !== false)
|
|
183
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
return message;
|
|
187
|
-
}
|
|
188
|
-
internalBinaryWrite(message, writer, options) {
|
|
189
|
-
/* string execution_identifier = 1; */
|
|
190
|
-
if (message.executionIdentifier !== "")
|
|
191
|
-
writer.tag(1, WireType.LengthDelimited).string(message.executionIdentifier);
|
|
192
|
-
/* string function_identifier = 2; */
|
|
193
|
-
if (message.functionIdentifier !== "")
|
|
194
|
-
writer.tag(2, WireType.LengthDelimited).string(message.functionIdentifier);
|
|
195
|
-
/* shared.Struct parameters = 3; */
|
|
196
|
-
if (message.parameters)
|
|
197
|
-
Struct.internalBinaryWrite(message.parameters, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
198
|
-
/* int64 project_id = 4; */
|
|
199
|
-
if (message.projectId !== 0n)
|
|
200
|
-
writer.tag(4, WireType.Varint).int64(message.projectId);
|
|
201
|
-
let u = options.writeUnknownFields;
|
|
202
|
-
if (u !== false)
|
|
203
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
204
|
-
return writer;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
/**
|
|
208
|
-
* @generated MessageType for protobuf message aquila.ExecutionRequest
|
|
209
|
-
*/
|
|
210
|
-
export const ExecutionRequest = new ExecutionRequest$Type();
|
|
211
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
212
|
-
class ActionRuntimeError$Type extends MessageType {
|
|
213
|
-
constructor() {
|
|
214
|
-
super("aquila.ActionRuntimeError", [
|
|
215
|
-
{ no: 1, name: "code", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
216
|
-
{ no: 2, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
217
|
-
]);
|
|
218
|
-
}
|
|
219
|
-
create(value) {
|
|
220
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
221
|
-
message.code = "";
|
|
222
|
-
if (value !== undefined)
|
|
223
|
-
reflectionMergePartial(this, message, value);
|
|
224
|
-
return message;
|
|
225
|
-
}
|
|
226
|
-
internalBinaryRead(reader, length, options, target) {
|
|
227
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
228
|
-
while (reader.pos < end) {
|
|
229
|
-
let [fieldNo, wireType] = reader.tag();
|
|
230
|
-
switch (fieldNo) {
|
|
231
|
-
case /* string code */ 1:
|
|
232
|
-
message.code = reader.string();
|
|
233
|
-
break;
|
|
234
|
-
case /* optional string description */ 2:
|
|
235
|
-
message.description = reader.string();
|
|
236
|
-
break;
|
|
237
|
-
default:
|
|
238
|
-
let u = options.readUnknownField;
|
|
239
|
-
if (u === "throw")
|
|
240
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
241
|
-
let d = reader.skip(wireType);
|
|
242
|
-
if (u !== false)
|
|
243
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
return message;
|
|
247
|
-
}
|
|
248
|
-
internalBinaryWrite(message, writer, options) {
|
|
249
|
-
/* string code = 1; */
|
|
250
|
-
if (message.code !== "")
|
|
251
|
-
writer.tag(1, WireType.LengthDelimited).string(message.code);
|
|
252
|
-
/* optional string description = 2; */
|
|
253
|
-
if (message.description !== undefined)
|
|
254
|
-
writer.tag(2, WireType.LengthDelimited).string(message.description);
|
|
255
|
-
let u = options.writeUnknownFields;
|
|
256
|
-
if (u !== false)
|
|
257
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
258
|
-
return writer;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* @generated MessageType for protobuf message aquila.ActionRuntimeError
|
|
263
|
-
*/
|
|
264
|
-
export const ActionRuntimeError = new ActionRuntimeError$Type();
|
|
265
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
266
|
-
class ExecutionResult$Type extends MessageType {
|
|
267
|
-
constructor() {
|
|
268
|
-
super("aquila.ExecutionResult", [
|
|
269
|
-
{ no: 1, name: "execution_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
270
|
-
{ no: 2, name: "success", kind: "message", oneof: "result", T: () => Value },
|
|
271
|
-
{ no: 3, name: "error", kind: "message", oneof: "result", T: () => ActionRuntimeError }
|
|
272
|
-
]);
|
|
273
|
-
}
|
|
274
|
-
create(value) {
|
|
275
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
276
|
-
message.executionIdentifier = "";
|
|
277
|
-
message.result = { oneofKind: undefined };
|
|
278
|
-
if (value !== undefined)
|
|
279
|
-
reflectionMergePartial(this, message, value);
|
|
280
|
-
return message;
|
|
281
|
-
}
|
|
282
|
-
internalBinaryRead(reader, length, options, target) {
|
|
283
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
284
|
-
while (reader.pos < end) {
|
|
285
|
-
let [fieldNo, wireType] = reader.tag();
|
|
286
|
-
switch (fieldNo) {
|
|
287
|
-
case /* string execution_identifier */ 1:
|
|
288
|
-
message.executionIdentifier = reader.string();
|
|
289
|
-
break;
|
|
290
|
-
case /* shared.Value success */ 2:
|
|
291
|
-
message.result = {
|
|
292
|
-
oneofKind: "success",
|
|
293
|
-
success: Value.internalBinaryRead(reader, reader.uint32(), options, message.result.success)
|
|
294
|
-
};
|
|
295
|
-
break;
|
|
296
|
-
case /* aquila.ActionRuntimeError error */ 3:
|
|
297
|
-
message.result = {
|
|
298
|
-
oneofKind: "error",
|
|
299
|
-
error: ActionRuntimeError.internalBinaryRead(reader, reader.uint32(), options, message.result.error)
|
|
300
|
-
};
|
|
301
|
-
break;
|
|
302
|
-
default:
|
|
303
|
-
let u = options.readUnknownField;
|
|
304
|
-
if (u === "throw")
|
|
305
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
306
|
-
let d = reader.skip(wireType);
|
|
307
|
-
if (u !== false)
|
|
308
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
return message;
|
|
312
|
-
}
|
|
313
|
-
internalBinaryWrite(message, writer, options) {
|
|
314
|
-
/* string execution_identifier = 1; */
|
|
315
|
-
if (message.executionIdentifier !== "")
|
|
316
|
-
writer.tag(1, WireType.LengthDelimited).string(message.executionIdentifier);
|
|
317
|
-
/* shared.Value success = 2; */
|
|
318
|
-
if (message.result.oneofKind === "success")
|
|
319
|
-
Value.internalBinaryWrite(message.result.success, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
320
|
-
/* aquila.ActionRuntimeError error = 3; */
|
|
321
|
-
if (message.result.oneofKind === "error")
|
|
322
|
-
ActionRuntimeError.internalBinaryWrite(message.result.error, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
323
|
-
let u = options.writeUnknownFields;
|
|
324
|
-
if (u !== false)
|
|
325
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
326
|
-
return writer;
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
* @generated MessageType for protobuf message aquila.ExecutionResult
|
|
331
|
-
*/
|
|
332
|
-
export const ExecutionResult = new ExecutionResult$Type();
|
|
333
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
334
|
-
class TransferRequest$Type extends MessageType {
|
|
335
|
-
constructor() {
|
|
336
|
-
super("aquila.TransferRequest", [
|
|
337
|
-
{ no: 1, name: "logon", kind: "message", oneof: "data", T: () => ActionLogon },
|
|
338
|
-
{ no: 2, name: "event", kind: "message", oneof: "data", T: () => Event },
|
|
339
|
-
{ no: 3, name: "result", kind: "message", oneof: "data", T: () => ExecutionResult }
|
|
340
|
-
]);
|
|
341
|
-
}
|
|
342
|
-
create(value) {
|
|
343
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
344
|
-
message.data = { oneofKind: undefined };
|
|
345
|
-
if (value !== undefined)
|
|
346
|
-
reflectionMergePartial(this, message, value);
|
|
347
|
-
return message;
|
|
348
|
-
}
|
|
349
|
-
internalBinaryRead(reader, length, options, target) {
|
|
350
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
351
|
-
while (reader.pos < end) {
|
|
352
|
-
let [fieldNo, wireType] = reader.tag();
|
|
353
|
-
switch (fieldNo) {
|
|
354
|
-
case /* aquila.ActionLogon logon */ 1:
|
|
355
|
-
message.data = {
|
|
356
|
-
oneofKind: "logon",
|
|
357
|
-
logon: ActionLogon.internalBinaryRead(reader, reader.uint32(), options, message.data.logon)
|
|
358
|
-
};
|
|
359
|
-
break;
|
|
360
|
-
case /* aquila.Event event */ 2:
|
|
361
|
-
message.data = {
|
|
362
|
-
oneofKind: "event",
|
|
363
|
-
event: Event.internalBinaryRead(reader, reader.uint32(), options, message.data.event)
|
|
364
|
-
};
|
|
365
|
-
break;
|
|
366
|
-
case /* aquila.ExecutionResult result */ 3:
|
|
367
|
-
message.data = {
|
|
368
|
-
oneofKind: "result",
|
|
369
|
-
result: ExecutionResult.internalBinaryRead(reader, reader.uint32(), options, message.data.result)
|
|
370
|
-
};
|
|
371
|
-
break;
|
|
372
|
-
default:
|
|
373
|
-
let u = options.readUnknownField;
|
|
374
|
-
if (u === "throw")
|
|
375
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
376
|
-
let d = reader.skip(wireType);
|
|
377
|
-
if (u !== false)
|
|
378
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
return message;
|
|
382
|
-
}
|
|
383
|
-
internalBinaryWrite(message, writer, options) {
|
|
384
|
-
/* aquila.ActionLogon logon = 1; */
|
|
385
|
-
if (message.data.oneofKind === "logon")
|
|
386
|
-
ActionLogon.internalBinaryWrite(message.data.logon, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
387
|
-
/* aquila.Event event = 2; */
|
|
388
|
-
if (message.data.oneofKind === "event")
|
|
389
|
-
Event.internalBinaryWrite(message.data.event, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
390
|
-
/* aquila.ExecutionResult result = 3; */
|
|
391
|
-
if (message.data.oneofKind === "result")
|
|
392
|
-
ExecutionResult.internalBinaryWrite(message.data.result, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
393
|
-
let u = options.writeUnknownFields;
|
|
394
|
-
if (u !== false)
|
|
395
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
396
|
-
return writer;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* @generated MessageType for protobuf message aquila.TransferRequest
|
|
401
|
-
*/
|
|
402
|
-
export const TransferRequest = new TransferRequest$Type();
|
|
403
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
404
|
-
class TransferResponse$Type extends MessageType {
|
|
405
|
-
constructor() {
|
|
406
|
-
super("aquila.TransferResponse", [
|
|
407
|
-
{ no: 1, name: "execution", kind: "message", oneof: "data", T: () => ExecutionRequest },
|
|
408
|
-
{ no: 2, name: "action_configurations", kind: "message", oneof: "data", T: () => ActionConfigurations }
|
|
409
|
-
]);
|
|
410
|
-
}
|
|
411
|
-
create(value) {
|
|
412
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
413
|
-
message.data = { oneofKind: undefined };
|
|
414
|
-
if (value !== undefined)
|
|
415
|
-
reflectionMergePartial(this, message, value);
|
|
416
|
-
return message;
|
|
417
|
-
}
|
|
418
|
-
internalBinaryRead(reader, length, options, target) {
|
|
419
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
420
|
-
while (reader.pos < end) {
|
|
421
|
-
let [fieldNo, wireType] = reader.tag();
|
|
422
|
-
switch (fieldNo) {
|
|
423
|
-
case /* aquila.ExecutionRequest execution */ 1:
|
|
424
|
-
message.data = {
|
|
425
|
-
oneofKind: "execution",
|
|
426
|
-
execution: ExecutionRequest.internalBinaryRead(reader, reader.uint32(), options, message.data.execution)
|
|
427
|
-
};
|
|
428
|
-
break;
|
|
429
|
-
case /* shared.ActionConfigurations action_configurations */ 2:
|
|
430
|
-
message.data = {
|
|
431
|
-
oneofKind: "actionConfigurations",
|
|
432
|
-
actionConfigurations: ActionConfigurations.internalBinaryRead(reader, reader.uint32(), options, message.data.actionConfigurations)
|
|
433
|
-
};
|
|
434
|
-
break;
|
|
435
|
-
default:
|
|
436
|
-
let u = options.readUnknownField;
|
|
437
|
-
if (u === "throw")
|
|
438
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
439
|
-
let d = reader.skip(wireType);
|
|
440
|
-
if (u !== false)
|
|
441
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
return message;
|
|
445
|
-
}
|
|
446
|
-
internalBinaryWrite(message, writer, options) {
|
|
447
|
-
/* aquila.ExecutionRequest execution = 1; */
|
|
448
|
-
if (message.data.oneofKind === "execution")
|
|
449
|
-
ExecutionRequest.internalBinaryWrite(message.data.execution, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
450
|
-
/* shared.ActionConfigurations action_configurations = 2; */
|
|
451
|
-
if (message.data.oneofKind === "actionConfigurations")
|
|
452
|
-
ActionConfigurations.internalBinaryWrite(message.data.actionConfigurations, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
453
|
-
let u = options.writeUnknownFields;
|
|
454
|
-
if (u !== false)
|
|
455
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
456
|
-
return writer;
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
/**
|
|
460
|
-
* @generated MessageType for protobuf message aquila.TransferResponse
|
|
461
|
-
*/
|
|
462
|
-
export const TransferResponse = new TransferResponse$Type();
|
|
463
|
-
/**
|
|
464
|
-
* @generated ServiceType for protobuf service aquila.ActionTransferService
|
|
465
|
-
*/
|
|
466
|
-
export const ActionTransferService = new ServiceType("aquila.ActionTransferService", [
|
|
467
|
-
{ name: "Transfer", serverStreaming: true, clientStreaming: true, options: {}, I: TransferRequest, O: TransferResponse }
|
|
468
|
-
]);
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "aquila.data_type.proto" (package "aquila", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import { DataTypeService } from "./aquila.data_type_pb";
|
|
5
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
/**
|
|
7
|
-
* @generated from protobuf service aquila.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
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "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,generate_dependencies
|
|
5
|
-
// @generated from protobuf file "aquila.data_type.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 { DefinitionDataType } from "./shared.data_type_pb";
|
|
13
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
14
|
-
class DataTypeUpdateRequest$Type extends MessageType {
|
|
15
|
-
constructor() {
|
|
16
|
-
super("aquila.DataTypeUpdateRequest", [
|
|
17
|
-
{ no: 1, name: "data_types", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DefinitionDataType }
|
|
18
|
-
]);
|
|
19
|
-
}
|
|
20
|
-
create(value) {
|
|
21
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
22
|
-
message.dataTypes = [];
|
|
23
|
-
if (value !== undefined)
|
|
24
|
-
reflectionMergePartial(this, message, value);
|
|
25
|
-
return message;
|
|
26
|
-
}
|
|
27
|
-
internalBinaryRead(reader, length, options, target) {
|
|
28
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
29
|
-
while (reader.pos < end) {
|
|
30
|
-
let [fieldNo, wireType] = reader.tag();
|
|
31
|
-
switch (fieldNo) {
|
|
32
|
-
case /* repeated shared.DefinitionDataType data_types */ 1:
|
|
33
|
-
message.dataTypes.push(DefinitionDataType.internalBinaryRead(reader, reader.uint32(), options));
|
|
34
|
-
break;
|
|
35
|
-
default:
|
|
36
|
-
let u = options.readUnknownField;
|
|
37
|
-
if (u === "throw")
|
|
38
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
39
|
-
let d = reader.skip(wireType);
|
|
40
|
-
if (u !== false)
|
|
41
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
return message;
|
|
45
|
-
}
|
|
46
|
-
internalBinaryWrite(message, writer, options) {
|
|
47
|
-
/* repeated shared.DefinitionDataType data_types = 1; */
|
|
48
|
-
for (let i = 0; i < message.dataTypes.length; i++)
|
|
49
|
-
DefinitionDataType.internalBinaryWrite(message.dataTypes[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
50
|
-
let u = options.writeUnknownFields;
|
|
51
|
-
if (u !== false)
|
|
52
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
53
|
-
return writer;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* @generated MessageType for protobuf message aquila.DataTypeUpdateRequest
|
|
58
|
-
*/
|
|
59
|
-
export const DataTypeUpdateRequest = new DataTypeUpdateRequest$Type();
|
|
60
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
61
|
-
class DataTypeUpdateResponse$Type extends MessageType {
|
|
62
|
-
constructor() {
|
|
63
|
-
super("aquila.DataTypeUpdateResponse", [
|
|
64
|
-
{ no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
65
|
-
]);
|
|
66
|
-
}
|
|
67
|
-
create(value) {
|
|
68
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
69
|
-
message.success = false;
|
|
70
|
-
if (value !== undefined)
|
|
71
|
-
reflectionMergePartial(this, message, value);
|
|
72
|
-
return message;
|
|
73
|
-
}
|
|
74
|
-
internalBinaryRead(reader, length, options, target) {
|
|
75
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
76
|
-
while (reader.pos < end) {
|
|
77
|
-
let [fieldNo, wireType] = reader.tag();
|
|
78
|
-
switch (fieldNo) {
|
|
79
|
-
case /* bool success */ 1:
|
|
80
|
-
message.success = reader.bool();
|
|
81
|
-
break;
|
|
82
|
-
default:
|
|
83
|
-
let u = options.readUnknownField;
|
|
84
|
-
if (u === "throw")
|
|
85
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
86
|
-
let d = reader.skip(wireType);
|
|
87
|
-
if (u !== false)
|
|
88
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
return message;
|
|
92
|
-
}
|
|
93
|
-
internalBinaryWrite(message, writer, options) {
|
|
94
|
-
/* bool success = 1; */
|
|
95
|
-
if (message.success !== false)
|
|
96
|
-
writer.tag(1, WireType.Varint).bool(message.success);
|
|
97
|
-
let u = options.writeUnknownFields;
|
|
98
|
-
if (u !== false)
|
|
99
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
100
|
-
return writer;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* @generated MessageType for protobuf message aquila.DataTypeUpdateResponse
|
|
105
|
-
*/
|
|
106
|
-
export const DataTypeUpdateResponse = new DataTypeUpdateResponse$Type();
|
|
107
|
-
/**
|
|
108
|
-
* @generated ServiceType for protobuf service aquila.DataTypeService
|
|
109
|
-
*/
|
|
110
|
-
export const DataTypeService = new ServiceType("aquila.DataTypeService", [
|
|
111
|
-
{ name: "Update", options: {}, I: DataTypeUpdateRequest, O: DataTypeUpdateResponse }
|
|
112
|
-
]);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "aquila.flow_type.proto" (package "aquila", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import { FlowTypeService } from "./aquila.flow_type_pb";
|
|
5
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
/**
|
|
7
|
-
* This service will be implemented as a server by Aquila and as a client by Draco.
|
|
8
|
-
*
|
|
9
|
-
* @generated from protobuf service aquila.FlowTypeService
|
|
10
|
-
*/
|
|
11
|
-
export class FlowTypeServiceClient {
|
|
12
|
-
constructor(_transport) {
|
|
13
|
-
this._transport = _transport;
|
|
14
|
-
this.typeName = FlowTypeService.typeName;
|
|
15
|
-
this.methods = FlowTypeService.methods;
|
|
16
|
-
this.options = FlowTypeService.options;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @generated from protobuf rpc: Update
|
|
20
|
-
*/
|
|
21
|
-
update(input, options) {
|
|
22
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
23
|
-
return stackIntercept("unary", this._transport, method, opt, input);
|
|
24
|
-
}
|
|
25
|
-
}
|