@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,568 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sagittarius.text_execution.proto" (package "sagittarius", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
|
|
5
|
-
// @generated from protobuf file "sagittarius.text_execution.proto" (package "sagittarius", syntax proto3)
|
|
6
|
-
// tslint:disable
|
|
7
|
-
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
8
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
9
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
-
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
11
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
12
|
-
import { Value } from "./shared.struct_pb";
|
|
13
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
14
|
-
class Logon$Type extends MessageType {
|
|
15
|
-
constructor() {
|
|
16
|
-
super("sagittarius.Logon", []);
|
|
17
|
-
}
|
|
18
|
-
create(value) {
|
|
19
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
20
|
-
if (value !== undefined)
|
|
21
|
-
reflectionMergePartial(this, message, value);
|
|
22
|
-
return message;
|
|
23
|
-
}
|
|
24
|
-
internalBinaryRead(reader, length, options, target) {
|
|
25
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
26
|
-
while (reader.pos < end) {
|
|
27
|
-
let [fieldNo, wireType] = reader.tag();
|
|
28
|
-
switch (fieldNo) {
|
|
29
|
-
default:
|
|
30
|
-
let u = options.readUnknownField;
|
|
31
|
-
if (u === "throw")
|
|
32
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
33
|
-
let d = reader.skip(wireType);
|
|
34
|
-
if (u !== false)
|
|
35
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return message;
|
|
39
|
-
}
|
|
40
|
-
internalBinaryWrite(message, writer, options) {
|
|
41
|
-
let u = options.writeUnknownFields;
|
|
42
|
-
if (u !== false)
|
|
43
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
44
|
-
return writer;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @generated MessageType for protobuf message sagittarius.Logon
|
|
49
|
-
*/
|
|
50
|
-
export const Logon = new Logon$Type();
|
|
51
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
52
|
-
class TestExecutionRequest$Type extends MessageType {
|
|
53
|
-
constructor() {
|
|
54
|
-
super("sagittarius.TestExecutionRequest", [
|
|
55
|
-
{ no: 1, name: "flow_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
56
|
-
{ no: 2, name: "execution_uuid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
57
|
-
{ no: 3, name: "body", kind: "message", T: () => Value }
|
|
58
|
-
]);
|
|
59
|
-
}
|
|
60
|
-
create(value) {
|
|
61
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
62
|
-
message.flowId = 0n;
|
|
63
|
-
message.executionUuid = "";
|
|
64
|
-
if (value !== undefined)
|
|
65
|
-
reflectionMergePartial(this, message, value);
|
|
66
|
-
return message;
|
|
67
|
-
}
|
|
68
|
-
internalBinaryRead(reader, length, options, target) {
|
|
69
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
70
|
-
while (reader.pos < end) {
|
|
71
|
-
let [fieldNo, wireType] = reader.tag();
|
|
72
|
-
switch (fieldNo) {
|
|
73
|
-
case /* int64 flow_id */ 1:
|
|
74
|
-
message.flowId = reader.int64().toBigInt();
|
|
75
|
-
break;
|
|
76
|
-
case /* string execution_uuid */ 2:
|
|
77
|
-
message.executionUuid = reader.string();
|
|
78
|
-
break;
|
|
79
|
-
case /* shared.Value body */ 3:
|
|
80
|
-
message.body = Value.internalBinaryRead(reader, reader.uint32(), options, message.body);
|
|
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
|
-
/* int64 flow_id = 1; */
|
|
95
|
-
if (message.flowId !== 0n)
|
|
96
|
-
writer.tag(1, WireType.Varint).int64(message.flowId);
|
|
97
|
-
/* string execution_uuid = 2; */
|
|
98
|
-
if (message.executionUuid !== "")
|
|
99
|
-
writer.tag(2, WireType.LengthDelimited).string(message.executionUuid);
|
|
100
|
-
/* shared.Value body = 3; */
|
|
101
|
-
if (message.body)
|
|
102
|
-
Value.internalBinaryWrite(message.body, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
103
|
-
let u = options.writeUnknownFields;
|
|
104
|
-
if (u !== false)
|
|
105
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
106
|
-
return writer;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* @generated MessageType for protobuf message sagittarius.TestExecutionRequest
|
|
111
|
-
*/
|
|
112
|
-
export const TestExecutionRequest = new TestExecutionRequest$Type();
|
|
113
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
114
|
-
class TestExecutionResponse$Type extends MessageType {
|
|
115
|
-
constructor() {
|
|
116
|
-
super("sagittarius.TestExecutionResponse", [
|
|
117
|
-
{ no: 1, name: "flow_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
118
|
-
{ no: 2, name: "execution_uuid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
119
|
-
{ no: 3, name: "result", kind: "message", T: () => Value },
|
|
120
|
-
{ no: 4, name: "logs", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Log }
|
|
121
|
-
]);
|
|
122
|
-
}
|
|
123
|
-
create(value) {
|
|
124
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
125
|
-
message.flowId = 0n;
|
|
126
|
-
message.executionUuid = "";
|
|
127
|
-
message.logs = [];
|
|
128
|
-
if (value !== undefined)
|
|
129
|
-
reflectionMergePartial(this, message, value);
|
|
130
|
-
return message;
|
|
131
|
-
}
|
|
132
|
-
internalBinaryRead(reader, length, options, target) {
|
|
133
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
134
|
-
while (reader.pos < end) {
|
|
135
|
-
let [fieldNo, wireType] = reader.tag();
|
|
136
|
-
switch (fieldNo) {
|
|
137
|
-
case /* int64 flow_id */ 1:
|
|
138
|
-
message.flowId = reader.int64().toBigInt();
|
|
139
|
-
break;
|
|
140
|
-
case /* string execution_uuid */ 2:
|
|
141
|
-
message.executionUuid = reader.string();
|
|
142
|
-
break;
|
|
143
|
-
case /* shared.Value result */ 3:
|
|
144
|
-
message.result = Value.internalBinaryRead(reader, reader.uint32(), options, message.result);
|
|
145
|
-
break;
|
|
146
|
-
case /* repeated sagittarius.Log logs */ 4:
|
|
147
|
-
message.logs.push(Log.internalBinaryRead(reader, reader.uint32(), options));
|
|
148
|
-
break;
|
|
149
|
-
default:
|
|
150
|
-
let u = options.readUnknownField;
|
|
151
|
-
if (u === "throw")
|
|
152
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
153
|
-
let d = reader.skip(wireType);
|
|
154
|
-
if (u !== false)
|
|
155
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
return message;
|
|
159
|
-
}
|
|
160
|
-
internalBinaryWrite(message, writer, options) {
|
|
161
|
-
/* int64 flow_id = 1; */
|
|
162
|
-
if (message.flowId !== 0n)
|
|
163
|
-
writer.tag(1, WireType.Varint).int64(message.flowId);
|
|
164
|
-
/* string execution_uuid = 2; */
|
|
165
|
-
if (message.executionUuid !== "")
|
|
166
|
-
writer.tag(2, WireType.LengthDelimited).string(message.executionUuid);
|
|
167
|
-
/* shared.Value result = 3; */
|
|
168
|
-
if (message.result)
|
|
169
|
-
Value.internalBinaryWrite(message.result, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
170
|
-
/* repeated sagittarius.Log logs = 4; */
|
|
171
|
-
for (let i = 0; i < message.logs.length; i++)
|
|
172
|
-
Log.internalBinaryWrite(message.logs[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
173
|
-
let u = options.writeUnknownFields;
|
|
174
|
-
if (u !== false)
|
|
175
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
176
|
-
return writer;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* @generated MessageType for protobuf message sagittarius.TestExecutionResponse
|
|
181
|
-
*/
|
|
182
|
-
export const TestExecutionResponse = new TestExecutionResponse$Type();
|
|
183
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
184
|
-
class Log$Type extends MessageType {
|
|
185
|
-
constructor() {
|
|
186
|
-
super("sagittarius.Log", [
|
|
187
|
-
{ no: 1, name: "application_log", kind: "message", oneof: "kind", T: () => ApplicationLog },
|
|
188
|
-
{ no: 2, name: "success_log", kind: "message", oneof: "kind", T: () => SuccessLog },
|
|
189
|
-
{ no: 3, name: "error_log", kind: "message", oneof: "kind", T: () => RuntimeErrorLog }
|
|
190
|
-
]);
|
|
191
|
-
}
|
|
192
|
-
create(value) {
|
|
193
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
194
|
-
message.kind = { oneofKind: undefined };
|
|
195
|
-
if (value !== undefined)
|
|
196
|
-
reflectionMergePartial(this, message, value);
|
|
197
|
-
return message;
|
|
198
|
-
}
|
|
199
|
-
internalBinaryRead(reader, length, options, target) {
|
|
200
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
201
|
-
while (reader.pos < end) {
|
|
202
|
-
let [fieldNo, wireType] = reader.tag();
|
|
203
|
-
switch (fieldNo) {
|
|
204
|
-
case /* sagittarius.ApplicationLog application_log */ 1:
|
|
205
|
-
message.kind = {
|
|
206
|
-
oneofKind: "applicationLog",
|
|
207
|
-
applicationLog: ApplicationLog.internalBinaryRead(reader, reader.uint32(), options, message.kind.applicationLog)
|
|
208
|
-
};
|
|
209
|
-
break;
|
|
210
|
-
case /* sagittarius.SuccessLog success_log */ 2:
|
|
211
|
-
message.kind = {
|
|
212
|
-
oneofKind: "successLog",
|
|
213
|
-
successLog: SuccessLog.internalBinaryRead(reader, reader.uint32(), options, message.kind.successLog)
|
|
214
|
-
};
|
|
215
|
-
break;
|
|
216
|
-
case /* sagittarius.RuntimeErrorLog error_log */ 3:
|
|
217
|
-
message.kind = {
|
|
218
|
-
oneofKind: "errorLog",
|
|
219
|
-
errorLog: RuntimeErrorLog.internalBinaryRead(reader, reader.uint32(), options, message.kind.errorLog)
|
|
220
|
-
};
|
|
221
|
-
break;
|
|
222
|
-
default:
|
|
223
|
-
let u = options.readUnknownField;
|
|
224
|
-
if (u === "throw")
|
|
225
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
226
|
-
let d = reader.skip(wireType);
|
|
227
|
-
if (u !== false)
|
|
228
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
return message;
|
|
232
|
-
}
|
|
233
|
-
internalBinaryWrite(message, writer, options) {
|
|
234
|
-
/* sagittarius.ApplicationLog application_log = 1; */
|
|
235
|
-
if (message.kind.oneofKind === "applicationLog")
|
|
236
|
-
ApplicationLog.internalBinaryWrite(message.kind.applicationLog, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
237
|
-
/* sagittarius.SuccessLog success_log = 2; */
|
|
238
|
-
if (message.kind.oneofKind === "successLog")
|
|
239
|
-
SuccessLog.internalBinaryWrite(message.kind.successLog, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
240
|
-
/* sagittarius.RuntimeErrorLog error_log = 3; */
|
|
241
|
-
if (message.kind.oneofKind === "errorLog")
|
|
242
|
-
RuntimeErrorLog.internalBinaryWrite(message.kind.errorLog, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
243
|
-
let u = options.writeUnknownFields;
|
|
244
|
-
if (u !== false)
|
|
245
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
246
|
-
return writer;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
/**
|
|
250
|
-
* @generated MessageType for protobuf message sagittarius.Log
|
|
251
|
-
*/
|
|
252
|
-
export const Log = new Log$Type();
|
|
253
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
254
|
-
class SuccessLog$Type extends MessageType {
|
|
255
|
-
constructor() {
|
|
256
|
-
super("sagittarius.SuccessLog", [
|
|
257
|
-
{ no: 1, name: "node_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
258
|
-
{ no: 2, name: "result", kind: "message", T: () => Value },
|
|
259
|
-
{ no: 3, name: "parameter", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Value },
|
|
260
|
-
{ no: 4, name: "timestamp", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
261
|
-
]);
|
|
262
|
-
}
|
|
263
|
-
create(value) {
|
|
264
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
265
|
-
message.nodeId = 0n;
|
|
266
|
-
message.parameter = [];
|
|
267
|
-
message.timestamp = "";
|
|
268
|
-
if (value !== undefined)
|
|
269
|
-
reflectionMergePartial(this, message, value);
|
|
270
|
-
return message;
|
|
271
|
-
}
|
|
272
|
-
internalBinaryRead(reader, length, options, target) {
|
|
273
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
274
|
-
while (reader.pos < end) {
|
|
275
|
-
let [fieldNo, wireType] = reader.tag();
|
|
276
|
-
switch (fieldNo) {
|
|
277
|
-
case /* int64 node_id */ 1:
|
|
278
|
-
message.nodeId = reader.int64().toBigInt();
|
|
279
|
-
break;
|
|
280
|
-
case /* shared.Value result */ 2:
|
|
281
|
-
message.result = Value.internalBinaryRead(reader, reader.uint32(), options, message.result);
|
|
282
|
-
break;
|
|
283
|
-
case /* repeated shared.Value parameter */ 3:
|
|
284
|
-
message.parameter.push(Value.internalBinaryRead(reader, reader.uint32(), options));
|
|
285
|
-
break;
|
|
286
|
-
case /* string timestamp */ 4:
|
|
287
|
-
message.timestamp = reader.string();
|
|
288
|
-
break;
|
|
289
|
-
default:
|
|
290
|
-
let u = options.readUnknownField;
|
|
291
|
-
if (u === "throw")
|
|
292
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
293
|
-
let d = reader.skip(wireType);
|
|
294
|
-
if (u !== false)
|
|
295
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
return message;
|
|
299
|
-
}
|
|
300
|
-
internalBinaryWrite(message, writer, options) {
|
|
301
|
-
/* int64 node_id = 1; */
|
|
302
|
-
if (message.nodeId !== 0n)
|
|
303
|
-
writer.tag(1, WireType.Varint).int64(message.nodeId);
|
|
304
|
-
/* shared.Value result = 2; */
|
|
305
|
-
if (message.result)
|
|
306
|
-
Value.internalBinaryWrite(message.result, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
307
|
-
/* repeated shared.Value parameter = 3; */
|
|
308
|
-
for (let i = 0; i < message.parameter.length; i++)
|
|
309
|
-
Value.internalBinaryWrite(message.parameter[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
310
|
-
/* string timestamp = 4; */
|
|
311
|
-
if (message.timestamp !== "")
|
|
312
|
-
writer.tag(4, WireType.LengthDelimited).string(message.timestamp);
|
|
313
|
-
let u = options.writeUnknownFields;
|
|
314
|
-
if (u !== false)
|
|
315
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
316
|
-
return writer;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* @generated MessageType for protobuf message sagittarius.SuccessLog
|
|
321
|
-
*/
|
|
322
|
-
export const SuccessLog = new SuccessLog$Type();
|
|
323
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
324
|
-
class RuntimeErrorLog$Type extends MessageType {
|
|
325
|
-
constructor() {
|
|
326
|
-
super("sagittarius.RuntimeErrorLog", [
|
|
327
|
-
{ no: 1, name: "node_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
328
|
-
{ no: 2, name: "error", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
329
|
-
{ no: 3, name: "parameter", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Value },
|
|
330
|
-
{ no: 4, name: "timestamp", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
331
|
-
]);
|
|
332
|
-
}
|
|
333
|
-
create(value) {
|
|
334
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
335
|
-
message.nodeId = 0n;
|
|
336
|
-
message.error = "";
|
|
337
|
-
message.parameter = [];
|
|
338
|
-
message.timestamp = "";
|
|
339
|
-
if (value !== undefined)
|
|
340
|
-
reflectionMergePartial(this, message, value);
|
|
341
|
-
return message;
|
|
342
|
-
}
|
|
343
|
-
internalBinaryRead(reader, length, options, target) {
|
|
344
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
345
|
-
while (reader.pos < end) {
|
|
346
|
-
let [fieldNo, wireType] = reader.tag();
|
|
347
|
-
switch (fieldNo) {
|
|
348
|
-
case /* int64 node_id */ 1:
|
|
349
|
-
message.nodeId = reader.int64().toBigInt();
|
|
350
|
-
break;
|
|
351
|
-
case /* string error */ 2:
|
|
352
|
-
message.error = reader.string();
|
|
353
|
-
break;
|
|
354
|
-
case /* repeated shared.Value parameter */ 3:
|
|
355
|
-
message.parameter.push(Value.internalBinaryRead(reader, reader.uint32(), options));
|
|
356
|
-
break;
|
|
357
|
-
case /* string timestamp */ 4:
|
|
358
|
-
message.timestamp = reader.string();
|
|
359
|
-
break;
|
|
360
|
-
default:
|
|
361
|
-
let u = options.readUnknownField;
|
|
362
|
-
if (u === "throw")
|
|
363
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
364
|
-
let d = reader.skip(wireType);
|
|
365
|
-
if (u !== false)
|
|
366
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
return message;
|
|
370
|
-
}
|
|
371
|
-
internalBinaryWrite(message, writer, options) {
|
|
372
|
-
/* int64 node_id = 1; */
|
|
373
|
-
if (message.nodeId !== 0n)
|
|
374
|
-
writer.tag(1, WireType.Varint).int64(message.nodeId);
|
|
375
|
-
/* string error = 2; */
|
|
376
|
-
if (message.error !== "")
|
|
377
|
-
writer.tag(2, WireType.LengthDelimited).string(message.error);
|
|
378
|
-
/* repeated shared.Value parameter = 3; */
|
|
379
|
-
for (let i = 0; i < message.parameter.length; i++)
|
|
380
|
-
Value.internalBinaryWrite(message.parameter[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
381
|
-
/* string timestamp = 4; */
|
|
382
|
-
if (message.timestamp !== "")
|
|
383
|
-
writer.tag(4, WireType.LengthDelimited).string(message.timestamp);
|
|
384
|
-
let u = options.writeUnknownFields;
|
|
385
|
-
if (u !== false)
|
|
386
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
387
|
-
return writer;
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
/**
|
|
391
|
-
* @generated MessageType for protobuf message sagittarius.RuntimeErrorLog
|
|
392
|
-
*/
|
|
393
|
-
export const RuntimeErrorLog = new RuntimeErrorLog$Type();
|
|
394
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
395
|
-
class ApplicationLog$Type extends MessageType {
|
|
396
|
-
constructor() {
|
|
397
|
-
super("sagittarius.ApplicationLog", [
|
|
398
|
-
{ no: 1, name: "message", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
399
|
-
{ no: 2, name: "level", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
400
|
-
{ no: 3, name: "timestamp", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
401
|
-
]);
|
|
402
|
-
}
|
|
403
|
-
create(value) {
|
|
404
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
405
|
-
message.message = "";
|
|
406
|
-
message.level = "";
|
|
407
|
-
message.timestamp = "";
|
|
408
|
-
if (value !== undefined)
|
|
409
|
-
reflectionMergePartial(this, message, value);
|
|
410
|
-
return message;
|
|
411
|
-
}
|
|
412
|
-
internalBinaryRead(reader, length, options, target) {
|
|
413
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
414
|
-
while (reader.pos < end) {
|
|
415
|
-
let [fieldNo, wireType] = reader.tag();
|
|
416
|
-
switch (fieldNo) {
|
|
417
|
-
case /* string message */ 1:
|
|
418
|
-
message.message = reader.string();
|
|
419
|
-
break;
|
|
420
|
-
case /* string level */ 2:
|
|
421
|
-
message.level = reader.string();
|
|
422
|
-
break;
|
|
423
|
-
case /* string timestamp */ 3:
|
|
424
|
-
message.timestamp = reader.string();
|
|
425
|
-
break;
|
|
426
|
-
default:
|
|
427
|
-
let u = options.readUnknownField;
|
|
428
|
-
if (u === "throw")
|
|
429
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
430
|
-
let d = reader.skip(wireType);
|
|
431
|
-
if (u !== false)
|
|
432
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
return message;
|
|
436
|
-
}
|
|
437
|
-
internalBinaryWrite(message, writer, options) {
|
|
438
|
-
/* string message = 1; */
|
|
439
|
-
if (message.message !== "")
|
|
440
|
-
writer.tag(1, WireType.LengthDelimited).string(message.message);
|
|
441
|
-
/* string level = 2; */
|
|
442
|
-
if (message.level !== "")
|
|
443
|
-
writer.tag(2, WireType.LengthDelimited).string(message.level);
|
|
444
|
-
/* string timestamp = 3; */
|
|
445
|
-
if (message.timestamp !== "")
|
|
446
|
-
writer.tag(3, WireType.LengthDelimited).string(message.timestamp);
|
|
447
|
-
let u = options.writeUnknownFields;
|
|
448
|
-
if (u !== false)
|
|
449
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
450
|
-
return writer;
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
/**
|
|
454
|
-
* @generated MessageType for protobuf message sagittarius.ApplicationLog
|
|
455
|
-
*/
|
|
456
|
-
export const ApplicationLog = new ApplicationLog$Type();
|
|
457
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
458
|
-
class ExecutionLogonRequest$Type extends MessageType {
|
|
459
|
-
constructor() {
|
|
460
|
-
super("sagittarius.ExecutionLogonRequest", [
|
|
461
|
-
{ no: 1, name: "logon", kind: "message", oneof: "data", T: () => Logon },
|
|
462
|
-
{ no: 2, name: "response", kind: "message", oneof: "data", T: () => TestExecutionResponse }
|
|
463
|
-
]);
|
|
464
|
-
}
|
|
465
|
-
create(value) {
|
|
466
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
467
|
-
message.data = { oneofKind: undefined };
|
|
468
|
-
if (value !== undefined)
|
|
469
|
-
reflectionMergePartial(this, message, value);
|
|
470
|
-
return message;
|
|
471
|
-
}
|
|
472
|
-
internalBinaryRead(reader, length, options, target) {
|
|
473
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
474
|
-
while (reader.pos < end) {
|
|
475
|
-
let [fieldNo, wireType] = reader.tag();
|
|
476
|
-
switch (fieldNo) {
|
|
477
|
-
case /* sagittarius.Logon logon */ 1:
|
|
478
|
-
message.data = {
|
|
479
|
-
oneofKind: "logon",
|
|
480
|
-
logon: Logon.internalBinaryRead(reader, reader.uint32(), options, message.data.logon)
|
|
481
|
-
};
|
|
482
|
-
break;
|
|
483
|
-
case /* sagittarius.TestExecutionResponse response */ 2:
|
|
484
|
-
message.data = {
|
|
485
|
-
oneofKind: "response",
|
|
486
|
-
response: TestExecutionResponse.internalBinaryRead(reader, reader.uint32(), options, message.data.response)
|
|
487
|
-
};
|
|
488
|
-
break;
|
|
489
|
-
default:
|
|
490
|
-
let u = options.readUnknownField;
|
|
491
|
-
if (u === "throw")
|
|
492
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
493
|
-
let d = reader.skip(wireType);
|
|
494
|
-
if (u !== false)
|
|
495
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
return message;
|
|
499
|
-
}
|
|
500
|
-
internalBinaryWrite(message, writer, options) {
|
|
501
|
-
/* sagittarius.Logon logon = 1; */
|
|
502
|
-
if (message.data.oneofKind === "logon")
|
|
503
|
-
Logon.internalBinaryWrite(message.data.logon, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
504
|
-
/* sagittarius.TestExecutionResponse response = 2; */
|
|
505
|
-
if (message.data.oneofKind === "response")
|
|
506
|
-
TestExecutionResponse.internalBinaryWrite(message.data.response, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
507
|
-
let u = options.writeUnknownFields;
|
|
508
|
-
if (u !== false)
|
|
509
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
510
|
-
return writer;
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
/**
|
|
514
|
-
* @generated MessageType for protobuf message sagittarius.ExecutionLogonRequest
|
|
515
|
-
*/
|
|
516
|
-
export const ExecutionLogonRequest = new ExecutionLogonRequest$Type();
|
|
517
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
518
|
-
class ExecutionLogonResponse$Type extends MessageType {
|
|
519
|
-
constructor() {
|
|
520
|
-
super("sagittarius.ExecutionLogonResponse", [
|
|
521
|
-
{ no: 1, name: "request", kind: "message", T: () => TestExecutionRequest }
|
|
522
|
-
]);
|
|
523
|
-
}
|
|
524
|
-
create(value) {
|
|
525
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
526
|
-
if (value !== undefined)
|
|
527
|
-
reflectionMergePartial(this, message, value);
|
|
528
|
-
return message;
|
|
529
|
-
}
|
|
530
|
-
internalBinaryRead(reader, length, options, target) {
|
|
531
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
532
|
-
while (reader.pos < end) {
|
|
533
|
-
let [fieldNo, wireType] = reader.tag();
|
|
534
|
-
switch (fieldNo) {
|
|
535
|
-
case /* sagittarius.TestExecutionRequest request */ 1:
|
|
536
|
-
message.request = TestExecutionRequest.internalBinaryRead(reader, reader.uint32(), options, message.request);
|
|
537
|
-
break;
|
|
538
|
-
default:
|
|
539
|
-
let u = options.readUnknownField;
|
|
540
|
-
if (u === "throw")
|
|
541
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
542
|
-
let d = reader.skip(wireType);
|
|
543
|
-
if (u !== false)
|
|
544
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
return message;
|
|
548
|
-
}
|
|
549
|
-
internalBinaryWrite(message, writer, options) {
|
|
550
|
-
/* sagittarius.TestExecutionRequest request = 1; */
|
|
551
|
-
if (message.request)
|
|
552
|
-
TestExecutionRequest.internalBinaryWrite(message.request, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
553
|
-
let u = options.writeUnknownFields;
|
|
554
|
-
if (u !== false)
|
|
555
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
556
|
-
return writer;
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
/**
|
|
560
|
-
* @generated MessageType for protobuf message sagittarius.ExecutionLogonResponse
|
|
561
|
-
*/
|
|
562
|
-
export const ExecutionLogonResponse = new ExecutionLogonResponse$Type();
|
|
563
|
-
/**
|
|
564
|
-
* @generated ServiceType for protobuf service sagittarius.ExecutionService
|
|
565
|
-
*/
|
|
566
|
-
export const ExecutionService = new ServiceType("sagittarius.ExecutionService", [
|
|
567
|
-
{ name: "Test", serverStreaming: true, clientStreaming: true, options: {}, I: ExecutionLogonRequest, O: ExecutionLogonResponse }
|
|
568
|
-
]);
|