@code0-tech/tucana 0.0.54 → 0.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pb/aquila.action_pb.d.ts +21 -4
- package/pb/aquila.action_pb.js +19 -4
- package/pb/shared.data_type_pb.d.ts +26 -384
- package/pb/shared.data_type_pb.js +66 -742
- package/pb/shared.flow_pb.d.ts +4 -5
- package/pb/shared.flow_pb.js +12 -13
- package/pb/shared.runtime_function_pb.d.ts +14 -9
- package/pb/shared.runtime_function_pb.js +35 -26
package/pb/shared.flow_pb.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
|
8
8
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
9
9
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
10
|
import { Value } from "./shared.struct_pb";
|
|
11
|
-
import { DataTypeIdentifier } from "./shared.data_type_pb";
|
|
12
11
|
import { ExecutionDataType } from "./shared.data_type_pb";
|
|
13
12
|
/**
|
|
14
13
|
* @generated from protobuf message shared.ValidationFlow
|
|
@@ -39,13 +38,13 @@ export interface ValidationFlow {
|
|
|
39
38
|
/**
|
|
40
39
|
* These reference data_types by its identifiers, which is are string
|
|
41
40
|
*
|
|
42
|
-
* @generated from protobuf field: optional
|
|
41
|
+
* @generated from protobuf field: optional string input_type = 5
|
|
43
42
|
*/
|
|
44
|
-
inputType?:
|
|
43
|
+
inputType?: string;
|
|
45
44
|
/**
|
|
46
|
-
* @generated from protobuf field: optional
|
|
45
|
+
* @generated from protobuf field: optional string return_type = 6
|
|
47
46
|
*/
|
|
48
|
-
returnType?:
|
|
47
|
+
returnType?: string;
|
|
49
48
|
/**
|
|
50
49
|
* @generated from protobuf field: repeated shared.FlowSetting settings = 7
|
|
51
50
|
*/
|
package/pb/shared.flow_pb.js
CHANGED
|
@@ -6,7 +6,6 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
|
6
6
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
7
7
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
8
|
import { Value } from "./shared.struct_pb";
|
|
9
|
-
import { DataTypeIdentifier } from "./shared.data_type_pb";
|
|
10
9
|
import { ExecutionDataType } from "./shared.data_type_pb";
|
|
11
10
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
12
11
|
class ValidationFlow$Type extends MessageType {
|
|
@@ -16,8 +15,8 @@ class ValidationFlow$Type extends MessageType {
|
|
|
16
15
|
{ no: 2, name: "project_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
17
16
|
{ no: 3, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
18
17
|
{ no: 4, name: "data_types", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionDataType },
|
|
19
|
-
{ no: 5, name: "input_type", kind: "
|
|
20
|
-
{ no: 6, name: "return_type", kind: "
|
|
18
|
+
{ no: 5, name: "input_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
19
|
+
{ no: 6, name: "return_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
21
20
|
{ no: 7, name: "settings", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FlowSetting },
|
|
22
21
|
{ no: 8, name: "starting_node_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
23
22
|
{ no: 9, name: "node_functions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => NodeFunction },
|
|
@@ -56,11 +55,11 @@ class ValidationFlow$Type extends MessageType {
|
|
|
56
55
|
case /* repeated shared.ExecutionDataType data_types */ 4:
|
|
57
56
|
message.dataTypes.push(ExecutionDataType.internalBinaryRead(reader, reader.uint32(), options));
|
|
58
57
|
break;
|
|
59
|
-
case /* optional
|
|
60
|
-
message.inputType =
|
|
58
|
+
case /* optional string input_type */ 5:
|
|
59
|
+
message.inputType = reader.string();
|
|
61
60
|
break;
|
|
62
|
-
case /* optional
|
|
63
|
-
message.returnType =
|
|
61
|
+
case /* optional string return_type */ 6:
|
|
62
|
+
message.returnType = reader.string();
|
|
64
63
|
break;
|
|
65
64
|
case /* repeated shared.FlowSetting settings */ 7:
|
|
66
65
|
message.settings.push(FlowSetting.internalBinaryRead(reader, reader.uint32(), options));
|
|
@@ -101,12 +100,12 @@ class ValidationFlow$Type extends MessageType {
|
|
|
101
100
|
/* repeated shared.ExecutionDataType data_types = 4; */
|
|
102
101
|
for (let i = 0; i < message.dataTypes.length; i++)
|
|
103
102
|
ExecutionDataType.internalBinaryWrite(message.dataTypes[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
104
|
-
/* optional
|
|
105
|
-
if (message.inputType)
|
|
106
|
-
|
|
107
|
-
/* optional
|
|
108
|
-
if (message.returnType)
|
|
109
|
-
|
|
103
|
+
/* optional string input_type = 5; */
|
|
104
|
+
if (message.inputType !== undefined)
|
|
105
|
+
writer.tag(5, WireType.LengthDelimited).string(message.inputType);
|
|
106
|
+
/* optional string return_type = 6; */
|
|
107
|
+
if (message.returnType !== undefined)
|
|
108
|
+
writer.tag(6, WireType.LengthDelimited).string(message.returnType);
|
|
110
109
|
/* repeated shared.FlowSetting settings = 7; */
|
|
111
110
|
for (let i = 0; i < message.settings.length; i++)
|
|
112
111
|
FlowSetting.internalBinaryWrite(message.settings[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -9,7 +9,6 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
|
9
9
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
10
|
import { Value } from "./shared.struct_pb";
|
|
11
11
|
import { Translation } from "./shared.translation_pb";
|
|
12
|
-
import { DataTypeIdentifier } from "./shared.data_type_pb";
|
|
13
12
|
/**
|
|
14
13
|
* Definition of a function used for execution
|
|
15
14
|
*
|
|
@@ -25,9 +24,9 @@ export interface RuntimeFunctionDefinition {
|
|
|
25
24
|
*/
|
|
26
25
|
runtimeParameterDefinitions: RuntimeParameterDefinition[];
|
|
27
26
|
/**
|
|
28
|
-
* @generated from protobuf field: optional
|
|
27
|
+
* @generated from protobuf field: optional string return_type = 3
|
|
29
28
|
*/
|
|
30
|
-
|
|
29
|
+
returnType?: string;
|
|
31
30
|
/**
|
|
32
31
|
* @generated from protobuf field: bool throws_error = 4
|
|
33
32
|
*/
|
|
@@ -60,23 +59,29 @@ export interface RuntimeFunctionDefinition {
|
|
|
60
59
|
* @generated from protobuf field: repeated shared.Translation alias = 11
|
|
61
60
|
*/
|
|
62
61
|
alias: Translation[];
|
|
62
|
+
/**
|
|
63
|
+
* will link to all data types used in return_type or within the parameters type
|
|
64
|
+
*
|
|
65
|
+
* @generated from protobuf field: repeated string linked_data_type_identifiers = 12
|
|
66
|
+
*/
|
|
67
|
+
linkedDataTypeIdentifiers: string[];
|
|
63
68
|
/**
|
|
64
69
|
* Version of the runtime function
|
|
65
70
|
* Format: "major.minor.patch", e.g. "1.2.3"
|
|
66
71
|
*
|
|
67
|
-
* @generated from protobuf field: string version =
|
|
72
|
+
* @generated from protobuf field: string version = 13
|
|
68
73
|
*/
|
|
69
74
|
version: string;
|
|
70
75
|
/**
|
|
71
|
-
* @generated from protobuf field: string display_icon =
|
|
76
|
+
* @generated from protobuf field: string display_icon = 14
|
|
72
77
|
*/
|
|
73
78
|
displayIcon: string;
|
|
74
79
|
/**
|
|
75
80
|
* Identifier of the service that defines this definition
|
|
76
81
|
*
|
|
77
|
-
* @generated from protobuf field:
|
|
82
|
+
* @generated from protobuf field: string definition_source = 15
|
|
78
83
|
*/
|
|
79
|
-
definitionSource
|
|
84
|
+
definitionSource: string;
|
|
80
85
|
}
|
|
81
86
|
/**
|
|
82
87
|
* Definition of a parameter used for execution
|
|
@@ -85,9 +90,9 @@ export interface RuntimeFunctionDefinition {
|
|
|
85
90
|
*/
|
|
86
91
|
export interface RuntimeParameterDefinition {
|
|
87
92
|
/**
|
|
88
|
-
* @generated from protobuf field:
|
|
93
|
+
* @generated from protobuf field: string type = 1
|
|
89
94
|
*/
|
|
90
|
-
|
|
95
|
+
type: string;
|
|
91
96
|
/**
|
|
92
97
|
* @generated from protobuf field: string runtime_name = 2
|
|
93
98
|
*/
|
|
@@ -7,14 +7,13 @@ import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
|
7
7
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
8
|
import { Value } from "./shared.struct_pb";
|
|
9
9
|
import { Translation } from "./shared.translation_pb";
|
|
10
|
-
import { DataTypeIdentifier } from "./shared.data_type_pb";
|
|
11
10
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
12
11
|
class RuntimeFunctionDefinition$Type extends MessageType {
|
|
13
12
|
constructor() {
|
|
14
13
|
super("shared.RuntimeFunctionDefinition", [
|
|
15
14
|
{ no: 1, name: "runtime_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
16
15
|
{ no: 2, name: "runtime_parameter_definitions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeParameterDefinition },
|
|
17
|
-
{ no: 3, name: "
|
|
16
|
+
{ no: 3, name: "return_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
18
17
|
{ no: 4, name: "throws_error", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
19
18
|
{ no: 5, name: "generic_keys", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
20
19
|
{ no: 6, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
@@ -23,9 +22,10 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
23
22
|
{ no: 9, name: "deprecation_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
24
23
|
{ no: 10, name: "display_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
25
24
|
{ no: 11, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
26
|
-
{ no: 12, name: "
|
|
27
|
-
{ no: 13, name: "
|
|
28
|
-
{ no: 14, name: "
|
|
25
|
+
{ no: 12, name: "linked_data_type_identifiers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
26
|
+
{ no: 13, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
27
|
+
{ no: 14, name: "display_icon", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
28
|
+
{ no: 15, name: "definition_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
29
29
|
]);
|
|
30
30
|
}
|
|
31
31
|
create(value) {
|
|
@@ -40,8 +40,10 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
40
40
|
message.deprecationMessage = [];
|
|
41
41
|
message.displayMessage = [];
|
|
42
42
|
message.alias = [];
|
|
43
|
+
message.linkedDataTypeIdentifiers = [];
|
|
43
44
|
message.version = "";
|
|
44
45
|
message.displayIcon = "";
|
|
46
|
+
message.definitionSource = "";
|
|
45
47
|
if (value !== undefined)
|
|
46
48
|
reflectionMergePartial(this, message, value);
|
|
47
49
|
return message;
|
|
@@ -57,8 +59,8 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
57
59
|
case /* repeated shared.RuntimeParameterDefinition runtime_parameter_definitions */ 2:
|
|
58
60
|
message.runtimeParameterDefinitions.push(RuntimeParameterDefinition.internalBinaryRead(reader, reader.uint32(), options));
|
|
59
61
|
break;
|
|
60
|
-
case /* optional
|
|
61
|
-
message.
|
|
62
|
+
case /* optional string return_type */ 3:
|
|
63
|
+
message.returnType = reader.string();
|
|
62
64
|
break;
|
|
63
65
|
case /* bool throws_error */ 4:
|
|
64
66
|
message.throwsError = reader.bool();
|
|
@@ -84,13 +86,16 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
84
86
|
case /* repeated shared.Translation alias */ 11:
|
|
85
87
|
message.alias.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
86
88
|
break;
|
|
87
|
-
case /* string
|
|
89
|
+
case /* repeated string linked_data_type_identifiers */ 12:
|
|
90
|
+
message.linkedDataTypeIdentifiers.push(reader.string());
|
|
91
|
+
break;
|
|
92
|
+
case /* string version */ 13:
|
|
88
93
|
message.version = reader.string();
|
|
89
94
|
break;
|
|
90
|
-
case /* string display_icon */
|
|
95
|
+
case /* string display_icon */ 14:
|
|
91
96
|
message.displayIcon = reader.string();
|
|
92
97
|
break;
|
|
93
|
-
case /*
|
|
98
|
+
case /* string definition_source */ 15:
|
|
94
99
|
message.definitionSource = reader.string();
|
|
95
100
|
break;
|
|
96
101
|
default:
|
|
@@ -111,9 +116,9 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
111
116
|
/* repeated shared.RuntimeParameterDefinition runtime_parameter_definitions = 2; */
|
|
112
117
|
for (let i = 0; i < message.runtimeParameterDefinitions.length; i++)
|
|
113
118
|
RuntimeParameterDefinition.internalBinaryWrite(message.runtimeParameterDefinitions[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
114
|
-
/* optional
|
|
115
|
-
if (message.
|
|
116
|
-
|
|
119
|
+
/* optional string return_type = 3; */
|
|
120
|
+
if (message.returnType !== undefined)
|
|
121
|
+
writer.tag(3, WireType.LengthDelimited).string(message.returnType);
|
|
117
122
|
/* bool throws_error = 4; */
|
|
118
123
|
if (message.throwsError !== false)
|
|
119
124
|
writer.tag(4, WireType.Varint).bool(message.throwsError);
|
|
@@ -138,15 +143,18 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
138
143
|
/* repeated shared.Translation alias = 11; */
|
|
139
144
|
for (let i = 0; i < message.alias.length; i++)
|
|
140
145
|
Translation.internalBinaryWrite(message.alias[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
141
|
-
/* string
|
|
146
|
+
/* repeated string linked_data_type_identifiers = 12; */
|
|
147
|
+
for (let i = 0; i < message.linkedDataTypeIdentifiers.length; i++)
|
|
148
|
+
writer.tag(12, WireType.LengthDelimited).string(message.linkedDataTypeIdentifiers[i]);
|
|
149
|
+
/* string version = 13; */
|
|
142
150
|
if (message.version !== "")
|
|
143
|
-
writer.tag(
|
|
144
|
-
/* string display_icon =
|
|
151
|
+
writer.tag(13, WireType.LengthDelimited).string(message.version);
|
|
152
|
+
/* string display_icon = 14; */
|
|
145
153
|
if (message.displayIcon !== "")
|
|
146
|
-
writer.tag(
|
|
147
|
-
/*
|
|
148
|
-
if (message.definitionSource !==
|
|
149
|
-
writer.tag(
|
|
154
|
+
writer.tag(14, WireType.LengthDelimited).string(message.displayIcon);
|
|
155
|
+
/* string definition_source = 15; */
|
|
156
|
+
if (message.definitionSource !== "")
|
|
157
|
+
writer.tag(15, WireType.LengthDelimited).string(message.definitionSource);
|
|
150
158
|
let u = options.writeUnknownFields;
|
|
151
159
|
if (u !== false)
|
|
152
160
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -161,7 +169,7 @@ export const RuntimeFunctionDefinition = new RuntimeFunctionDefinition$Type();
|
|
|
161
169
|
class RuntimeParameterDefinition$Type extends MessageType {
|
|
162
170
|
constructor() {
|
|
163
171
|
super("shared.RuntimeParameterDefinition", [
|
|
164
|
-
{ no: 1, name: "
|
|
172
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
165
173
|
{ no: 2, name: "runtime_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
166
174
|
{ no: 3, name: "default_value", kind: "message", T: () => Value },
|
|
167
175
|
{ no: 4, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
@@ -171,6 +179,7 @@ class RuntimeParameterDefinition$Type extends MessageType {
|
|
|
171
179
|
}
|
|
172
180
|
create(value) {
|
|
173
181
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
182
|
+
message.type = "";
|
|
174
183
|
message.runtimeName = "";
|
|
175
184
|
message.name = [];
|
|
176
185
|
message.description = [];
|
|
@@ -184,8 +193,8 @@ class RuntimeParameterDefinition$Type extends MessageType {
|
|
|
184
193
|
while (reader.pos < end) {
|
|
185
194
|
let [fieldNo, wireType] = reader.tag();
|
|
186
195
|
switch (fieldNo) {
|
|
187
|
-
case /*
|
|
188
|
-
message.
|
|
196
|
+
case /* string type */ 1:
|
|
197
|
+
message.type = reader.string();
|
|
189
198
|
break;
|
|
190
199
|
case /* string runtime_name */ 2:
|
|
191
200
|
message.runtimeName = reader.string();
|
|
@@ -214,9 +223,9 @@ class RuntimeParameterDefinition$Type extends MessageType {
|
|
|
214
223
|
return message;
|
|
215
224
|
}
|
|
216
225
|
internalBinaryWrite(message, writer, options) {
|
|
217
|
-
/*
|
|
218
|
-
if (message.
|
|
219
|
-
|
|
226
|
+
/* string type = 1; */
|
|
227
|
+
if (message.type !== "")
|
|
228
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type);
|
|
220
229
|
/* string runtime_name = 2; */
|
|
221
230
|
if (message.runtimeName !== "")
|
|
222
231
|
writer.tag(2, WireType.LengthDelimited).string(message.runtimeName);
|