@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.
Files changed (119) hide show
  1. package/dist/aquila.cjs.js +1 -0
  2. package/dist/aquila.d.ts +2 -0
  3. package/dist/aquila.es.js +858 -0
  4. package/dist/helpers/helpers.d.ts +1 -0
  5. package/{helpers → dist/helpers}/shared.struct_helper.d.ts +2 -2
  6. package/dist/helpers.cjs.js +1 -0
  7. package/dist/helpers.d.ts +2 -0
  8. package/dist/helpers.es.js +61 -0
  9. package/{pb → dist/pb}/_generated/aquila.action_pb.client.d.ts +7 -12
  10. package/{pb → dist/pb}/_generated/aquila.action_pb.d.ts +5 -14
  11. package/{pb → dist/pb}/_generated/aquila.data_type_pb.client.d.ts +7 -12
  12. package/{pb → dist/pb}/_generated/aquila.data_type_pb.d.ts +4 -11
  13. package/{pb → dist/pb}/_generated/aquila.flow_type_pb.client.d.ts +7 -12
  14. package/{pb → dist/pb}/_generated/aquila.flow_type_pb.d.ts +4 -11
  15. package/{pb → dist/pb}/_generated/aquila.runtime_function_pb.client.d.ts +7 -12
  16. package/{pb → dist/pb}/_generated/aquila.runtime_function_pb.d.ts +4 -11
  17. package/{pb → dist/pb}/_generated/aquila.runtime_status_pb.client.d.ts +7 -12
  18. package/{pb → dist/pb}/_generated/aquila.runtime_status_pb.d.ts +4 -12
  19. package/{pb → dist/pb}/_generated/aquila.runtime_usage_pb.client.d.ts +7 -12
  20. package/{pb → dist/pb}/_generated/aquila.runtime_usage_pb.d.ts +4 -11
  21. package/{pb → dist/pb}/_generated/sagittarius.action_configuration_pb.client.d.ts +7 -12
  22. package/{pb → dist/pb}/_generated/sagittarius.action_configuration_pb.d.ts +4 -11
  23. package/{pb → dist/pb}/_generated/sagittarius.data_type_pb.client.d.ts +7 -12
  24. package/{pb → dist/pb}/_generated/sagittarius.data_type_pb.d.ts +4 -11
  25. package/{pb → dist/pb}/_generated/sagittarius.flow_pb.client.d.ts +7 -12
  26. package/{pb → dist/pb}/_generated/sagittarius.flow_pb.d.ts +5 -13
  27. package/{pb → dist/pb}/_generated/sagittarius.flow_type_pb.client.d.ts +7 -12
  28. package/{pb → dist/pb}/_generated/sagittarius.flow_type_pb.d.ts +4 -11
  29. package/{pb → dist/pb}/_generated/sagittarius.ping_pb.client.d.ts +7 -11
  30. package/{pb → dist/pb}/_generated/sagittarius.ping_pb.d.ts +3 -10
  31. package/{pb → dist/pb}/_generated/sagittarius.runtime_function_pb.client.d.ts +7 -12
  32. package/{pb → dist/pb}/_generated/sagittarius.runtime_function_pb.d.ts +4 -11
  33. package/{pb → dist/pb}/_generated/sagittarius.runtime_status_pb.client.d.ts +7 -12
  34. package/{pb → dist/pb}/_generated/sagittarius.runtime_status_pb.d.ts +4 -12
  35. package/{pb → dist/pb}/_generated/sagittarius.runtime_usage_pb.client.d.ts +7 -12
  36. package/{pb → dist/pb}/_generated/sagittarius.runtime_usage_pb.d.ts +4 -11
  37. package/dist/pb/_generated/sagittarius.text_execution_pb.client.d.ts +27 -0
  38. package/{pb → dist/pb}/_generated/sagittarius.text_execution_pb.d.ts +4 -11
  39. package/{pb → dist/pb}/_generated/shared.action_configuration_pb.d.ts +3 -11
  40. package/{pb → dist/pb}/_generated/shared.data_type_pb.d.ts +2 -10
  41. package/{pb → dist/pb}/_generated/shared.flow_definition_pb.d.ts +35 -47
  42. package/{pb → dist/pb}/_generated/shared.flow_pb.d.ts +12 -24
  43. package/{pb → dist/pb}/_generated/shared.runtime_function_pb.d.ts +3 -11
  44. package/{pb → dist/pb}/_generated/shared.runtime_status_pb.d.ts +52 -32
  45. package/{pb → dist/pb}/_generated/shared.runtime_usage_pb.d.ts +1 -9
  46. package/{pb → dist/pb}/_generated/shared.struct_pb.d.ts +62 -55
  47. package/{pb → dist/pb}/_generated/shared.translation_pb.d.ts +1 -9
  48. package/dist/pb/aquila.d.ts +12 -0
  49. package/dist/pb/sagittarius.d.ts +18 -0
  50. package/dist/pb/shared.d.ts +9 -0
  51. package/dist/rpc-interceptor-DARwxsWH.cjs +1 -0
  52. package/dist/rpc-interceptor-Dzh_AxUX.js +52 -0
  53. package/dist/sagittarius.cjs.js +1 -0
  54. package/dist/sagittarius.d.ts +2 -0
  55. package/dist/sagittarius.es.js +1212 -0
  56. package/dist/shared.cjs.js +1 -0
  57. package/dist/shared.d.ts +2 -0
  58. package/dist/shared.es.js +3 -0
  59. package/dist/shared.flow_pb-BBS51Wou.cjs +1 -0
  60. package/dist/shared.flow_pb-Bt00q6yT.js +717 -0
  61. package/dist/shared.runtime_usage_pb-Cgr2Xle6.cjs +2 -0
  62. package/dist/shared.runtime_usage_pb-QD7fpRLv.js +3069 -0
  63. package/package.json +24 -22
  64. package/helpers/helpers.d.ts +0 -1
  65. package/helpers/helpers.js +0 -1
  66. package/helpers/helpers.ts +0 -1
  67. package/helpers/shared.struct_helper.js +0 -59
  68. package/helpers/shared.struct_helper.ts +0 -70
  69. package/index.js +0 -0
  70. package/pb/_generated/.gitkeep +0 -0
  71. package/pb/_generated/aquila.action_pb.client.js +0 -25
  72. package/pb/_generated/aquila.action_pb.js +0 -468
  73. package/pb/_generated/aquila.data_type_pb.client.js +0 -23
  74. package/pb/_generated/aquila.data_type_pb.js +0 -112
  75. package/pb/_generated/aquila.flow_type_pb.client.js +0 -25
  76. package/pb/_generated/aquila.flow_type_pb.js +0 -112
  77. package/pb/_generated/aquila.runtime_function_pb.client.js +0 -25
  78. package/pb/_generated/aquila.runtime_function_pb.js +0 -112
  79. package/pb/_generated/aquila.runtime_status_pb.client.js +0 -23
  80. package/pb/_generated/aquila.runtime_status_pb.js +0 -126
  81. package/pb/_generated/aquila.runtime_usage_pb.client.js +0 -23
  82. package/pb/_generated/aquila.runtime_usage_pb.js +0 -112
  83. package/pb/_generated/sagittarius.action_configuration_pb.client.js +0 -23
  84. package/pb/_generated/sagittarius.action_configuration_pb.js +0 -120
  85. package/pb/_generated/sagittarius.data_type_pb.client.js +0 -23
  86. package/pb/_generated/sagittarius.data_type_pb.js +0 -112
  87. package/pb/_generated/sagittarius.flow_pb.client.js +0 -23
  88. package/pb/_generated/sagittarius.flow_pb.js +0 -138
  89. package/pb/_generated/sagittarius.flow_type_pb.client.js +0 -25
  90. package/pb/_generated/sagittarius.flow_type_pb.js +0 -112
  91. package/pb/_generated/sagittarius.ping_pb.client.js +0 -23
  92. package/pb/_generated/sagittarius.ping_pb.js +0 -64
  93. package/pb/_generated/sagittarius.runtime_function_pb.client.js +0 -25
  94. package/pb/_generated/sagittarius.runtime_function_pb.js +0 -112
  95. package/pb/_generated/sagittarius.runtime_status_pb.client.js +0 -23
  96. package/pb/_generated/sagittarius.runtime_status_pb.js +0 -126
  97. package/pb/_generated/sagittarius.runtime_usage_pb.client.js +0 -23
  98. package/pb/_generated/sagittarius.runtime_usage_pb.js +0 -112
  99. package/pb/_generated/sagittarius.text_execution_pb.client.d.ts +0 -32
  100. package/pb/_generated/sagittarius.text_execution_pb.client.js +0 -23
  101. package/pb/_generated/sagittarius.text_execution_pb.js +0 -568
  102. package/pb/_generated/shared.action_configuration_pb.js +0 -251
  103. package/pb/_generated/shared.data_type_pb.js +0 -411
  104. package/pb/_generated/shared.flow_definition_pb.js +0 -269
  105. package/pb/_generated/shared.flow_pb.js +0 -762
  106. package/pb/_generated/shared.runtime_function_pb.js +0 -238
  107. package/pb/_generated/shared.runtime_status_pb.js +0 -315
  108. package/pb/_generated/shared.runtime_usage_pb.js +0 -62
  109. package/pb/_generated/shared.struct_pb.js +0 -274
  110. package/pb/_generated/shared.translation_pb.js +0 -62
  111. package/pb/aquila.d.ts +0 -24
  112. package/pb/aquila.js +0 -24
  113. package/pb/aquila.ts +0 -24
  114. package/pb/sagittarius.d.ts +0 -36
  115. package/pb/sagittarius.js +0 -36
  116. package/pb/sagittarius.ts +0 -36
  117. package/pb/shared.d.ts +0 -18
  118. package/pb/shared.js +0 -18
  119. package/pb/shared.ts +0 -18
@@ -1,269 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript,generate_dependencies
2
- // @generated from protobuf file "shared.flow_definition.proto" (package "shared", syntax proto3)
3
- // tslint:disable
4
- import { WireType } from "@protobuf-ts/runtime";
5
- import { UnknownFieldHandler } from "@protobuf-ts/runtime";
6
- import { reflectionMergePartial } from "@protobuf-ts/runtime";
7
- import { MessageType } from "@protobuf-ts/runtime";
8
- import { Value } from "./shared.struct_pb";
9
- import { Translation } from "./shared.translation_pb";
10
- /**
11
- * @generated from protobuf enum shared.FlowTypeSetting.UniquenessScope
12
- */
13
- export var FlowTypeSetting_UniquenessScope;
14
- (function (FlowTypeSetting_UniquenessScope) {
15
- /**
16
- * @generated from protobuf enum value: UNKNOWN = 0;
17
- */
18
- FlowTypeSetting_UniquenessScope[FlowTypeSetting_UniquenessScope["UNKNOWN"] = 0] = "UNKNOWN";
19
- /**
20
- * @generated from protobuf enum value: NONE = 1;
21
- */
22
- FlowTypeSetting_UniquenessScope[FlowTypeSetting_UniquenessScope["NONE"] = 1] = "NONE";
23
- /**
24
- * @generated from protobuf enum value: PROJECT = 2;
25
- */
26
- FlowTypeSetting_UniquenessScope[FlowTypeSetting_UniquenessScope["PROJECT"] = 2] = "PROJECT";
27
- })(FlowTypeSetting_UniquenessScope || (FlowTypeSetting_UniquenessScope = {}));
28
- // @generated message type with reflection information, may provide speed optimized methods
29
- class FlowType$Type extends MessageType {
30
- constructor() {
31
- super("shared.FlowType", [
32
- { no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
33
- { no: 2, name: "settings", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FlowTypeSetting },
34
- { no: 3, name: "input_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
35
- { no: 4, name: "return_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
36
- { no: 5, name: "editable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
37
- { no: 6, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
38
- { no: 7, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
39
- { no: 8, name: "documentation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
40
- { no: 9, name: "display_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
41
- { no: 10, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
42
- { no: 11, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
43
- { no: 12, name: "display_icon", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
44
- { no: 13, name: "definition_source", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
45
- { no: 14, name: "linked_data_type_identifiers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
46
- ]);
47
- }
48
- create(value) {
49
- const message = globalThis.Object.create((this.messagePrototype));
50
- message.identifier = "";
51
- message.settings = [];
52
- message.editable = false;
53
- message.name = [];
54
- message.description = [];
55
- message.documentation = [];
56
- message.displayMessage = [];
57
- message.alias = [];
58
- message.version = "";
59
- message.displayIcon = "";
60
- message.linkedDataTypeIdentifiers = [];
61
- if (value !== undefined)
62
- reflectionMergePartial(this, message, value);
63
- return message;
64
- }
65
- internalBinaryRead(reader, length, options, target) {
66
- let message = target ?? this.create(), end = reader.pos + length;
67
- while (reader.pos < end) {
68
- let [fieldNo, wireType] = reader.tag();
69
- switch (fieldNo) {
70
- case /* string identifier */ 1:
71
- message.identifier = reader.string();
72
- break;
73
- case /* repeated shared.FlowTypeSetting settings */ 2:
74
- message.settings.push(FlowTypeSetting.internalBinaryRead(reader, reader.uint32(), options));
75
- break;
76
- case /* optional string input_type */ 3:
77
- message.inputType = reader.string();
78
- break;
79
- case /* optional string return_type */ 4:
80
- message.returnType = reader.string();
81
- break;
82
- case /* bool editable */ 5:
83
- message.editable = reader.bool();
84
- break;
85
- case /* repeated shared.Translation name */ 6:
86
- message.name.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
87
- break;
88
- case /* repeated shared.Translation description */ 7:
89
- message.description.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
90
- break;
91
- case /* repeated shared.Translation documentation */ 8:
92
- message.documentation.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
93
- break;
94
- case /* repeated shared.Translation display_message */ 9:
95
- message.displayMessage.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
96
- break;
97
- case /* repeated shared.Translation alias */ 10:
98
- message.alias.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
99
- break;
100
- case /* string version */ 11:
101
- message.version = reader.string();
102
- break;
103
- case /* string display_icon */ 12:
104
- message.displayIcon = reader.string();
105
- break;
106
- case /* optional string definition_source */ 13:
107
- message.definitionSource = reader.string();
108
- break;
109
- case /* repeated string linked_data_type_identifiers */ 14:
110
- message.linkedDataTypeIdentifiers.push(reader.string());
111
- break;
112
- default:
113
- let u = options.readUnknownField;
114
- if (u === "throw")
115
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
116
- let d = reader.skip(wireType);
117
- if (u !== false)
118
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
119
- }
120
- }
121
- return message;
122
- }
123
- internalBinaryWrite(message, writer, options) {
124
- /* string identifier = 1; */
125
- if (message.identifier !== "")
126
- writer.tag(1, WireType.LengthDelimited).string(message.identifier);
127
- /* repeated shared.FlowTypeSetting settings = 2; */
128
- for (let i = 0; i < message.settings.length; i++)
129
- FlowTypeSetting.internalBinaryWrite(message.settings[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
130
- /* optional string input_type = 3; */
131
- if (message.inputType !== undefined)
132
- writer.tag(3, WireType.LengthDelimited).string(message.inputType);
133
- /* optional string return_type = 4; */
134
- if (message.returnType !== undefined)
135
- writer.tag(4, WireType.LengthDelimited).string(message.returnType);
136
- /* bool editable = 5; */
137
- if (message.editable !== false)
138
- writer.tag(5, WireType.Varint).bool(message.editable);
139
- /* repeated shared.Translation name = 6; */
140
- for (let i = 0; i < message.name.length; i++)
141
- Translation.internalBinaryWrite(message.name[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
142
- /* repeated shared.Translation description = 7; */
143
- for (let i = 0; i < message.description.length; i++)
144
- Translation.internalBinaryWrite(message.description[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
145
- /* repeated shared.Translation documentation = 8; */
146
- for (let i = 0; i < message.documentation.length; i++)
147
- Translation.internalBinaryWrite(message.documentation[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
148
- /* repeated shared.Translation display_message = 9; */
149
- for (let i = 0; i < message.displayMessage.length; i++)
150
- Translation.internalBinaryWrite(message.displayMessage[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
151
- /* repeated shared.Translation alias = 10; */
152
- for (let i = 0; i < message.alias.length; i++)
153
- Translation.internalBinaryWrite(message.alias[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
154
- /* string version = 11; */
155
- if (message.version !== "")
156
- writer.tag(11, WireType.LengthDelimited).string(message.version);
157
- /* string display_icon = 12; */
158
- if (message.displayIcon !== "")
159
- writer.tag(12, WireType.LengthDelimited).string(message.displayIcon);
160
- /* optional string definition_source = 13; */
161
- if (message.definitionSource !== undefined)
162
- writer.tag(13, WireType.LengthDelimited).string(message.definitionSource);
163
- /* repeated string linked_data_type_identifiers = 14; */
164
- for (let i = 0; i < message.linkedDataTypeIdentifiers.length; i++)
165
- writer.tag(14, WireType.LengthDelimited).string(message.linkedDataTypeIdentifiers[i]);
166
- let u = options.writeUnknownFields;
167
- if (u !== false)
168
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
169
- return writer;
170
- }
171
- }
172
- /**
173
- * @generated MessageType for protobuf message shared.FlowType
174
- */
175
- export const FlowType = new FlowType$Type();
176
- // @generated message type with reflection information, may provide speed optimized methods
177
- class FlowTypeSetting$Type extends MessageType {
178
- constructor() {
179
- super("shared.FlowTypeSetting", [
180
- { no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
181
- { no: 2, name: "unique", kind: "enum", T: () => ["shared.FlowTypeSetting.UniquenessScope", FlowTypeSetting_UniquenessScope] },
182
- { no: 3, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
183
- { no: 4, name: "default_value", kind: "message", T: () => Value },
184
- { no: 5, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
185
- { no: 6, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
186
- { no: 7, name: "linked_data_type_identifiers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
187
- ]);
188
- }
189
- create(value) {
190
- const message = globalThis.Object.create((this.messagePrototype));
191
- message.identifier = "";
192
- message.unique = 0;
193
- message.type = "";
194
- message.name = [];
195
- message.description = [];
196
- message.linkedDataTypeIdentifiers = [];
197
- if (value !== undefined)
198
- reflectionMergePartial(this, message, value);
199
- return message;
200
- }
201
- internalBinaryRead(reader, length, options, target) {
202
- let message = target ?? this.create(), end = reader.pos + length;
203
- while (reader.pos < end) {
204
- let [fieldNo, wireType] = reader.tag();
205
- switch (fieldNo) {
206
- case /* string identifier */ 1:
207
- message.identifier = reader.string();
208
- break;
209
- case /* shared.FlowTypeSetting.UniquenessScope unique */ 2:
210
- message.unique = reader.int32();
211
- break;
212
- case /* string type */ 3:
213
- message.type = reader.string();
214
- break;
215
- case /* optional shared.Value default_value */ 4:
216
- message.defaultValue = Value.internalBinaryRead(reader, reader.uint32(), options, message.defaultValue);
217
- break;
218
- case /* repeated shared.Translation name */ 5:
219
- message.name.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
220
- break;
221
- case /* repeated shared.Translation description */ 6:
222
- message.description.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
223
- break;
224
- case /* repeated string linked_data_type_identifiers */ 7:
225
- message.linkedDataTypeIdentifiers.push(reader.string());
226
- break;
227
- default:
228
- let u = options.readUnknownField;
229
- if (u === "throw")
230
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
231
- let d = reader.skip(wireType);
232
- if (u !== false)
233
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
234
- }
235
- }
236
- return message;
237
- }
238
- internalBinaryWrite(message, writer, options) {
239
- /* string identifier = 1; */
240
- if (message.identifier !== "")
241
- writer.tag(1, WireType.LengthDelimited).string(message.identifier);
242
- /* shared.FlowTypeSetting.UniquenessScope unique = 2; */
243
- if (message.unique !== 0)
244
- writer.tag(2, WireType.Varint).int32(message.unique);
245
- /* string type = 3; */
246
- if (message.type !== "")
247
- writer.tag(3, WireType.LengthDelimited).string(message.type);
248
- /* optional shared.Value default_value = 4; */
249
- if (message.defaultValue)
250
- Value.internalBinaryWrite(message.defaultValue, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
251
- /* repeated shared.Translation name = 5; */
252
- for (let i = 0; i < message.name.length; i++)
253
- Translation.internalBinaryWrite(message.name[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
254
- /* repeated shared.Translation description = 6; */
255
- for (let i = 0; i < message.description.length; i++)
256
- Translation.internalBinaryWrite(message.description[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
257
- /* repeated string linked_data_type_identifiers = 7; */
258
- for (let i = 0; i < message.linkedDataTypeIdentifiers.length; i++)
259
- writer.tag(7, WireType.LengthDelimited).string(message.linkedDataTypeIdentifiers[i]);
260
- let u = options.writeUnknownFields;
261
- if (u !== false)
262
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
263
- return writer;
264
- }
265
- }
266
- /**
267
- * @generated MessageType for protobuf message shared.FlowTypeSetting
268
- */
269
- export const FlowTypeSetting = new FlowTypeSetting$Type();