@code0-tech/tucana 0.0.67 → 0.0.69
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 -1
- package/dist/aquila.es.js +252 -617
- package/dist/helpers.cjs.js +1 -1
- package/dist/helpers.es.js +5 -3
- package/dist/pb/_generated/aquila.action_pb.client.d.ts +3 -3
- package/dist/pb/_generated/aquila.action_pb.d.ts +46 -119
- package/dist/pb/_generated/{aquila.flow_type_pb.client.d.ts → aquila.module_pb.client.d.ts} +9 -9
- package/dist/pb/_generated/aquila.module_pb.d.ts +54 -0
- package/dist/pb/_generated/aquila.runtime_status_pb.d.ts +7 -1
- package/dist/pb/_generated/sagittarius.flow_pb.d.ts +5 -5
- package/dist/pb/_generated/{sagittarius.flow_type_pb.client.d.ts → sagittarius.module_pb.client.d.ts} +7 -7
- package/dist/pb/_generated/sagittarius.module_pb.d.ts +59 -0
- package/dist/pb/_generated/sagittarius.runtime_status_pb.d.ts +12 -1
- package/dist/pb/_generated/sagittarius.runtime_usage_pb.d.ts +5 -0
- package/dist/pb/_generated/sagittarius.text_execution_pb.d.ts +5 -163
- package/dist/pb/_generated/shared.errors_pb.d.ts +122 -0
- package/dist/pb/_generated/shared.execution_result_pb.d.ts +131 -0
- package/dist/pb/_generated/shared.flow_pb.d.ts +83 -5
- package/dist/pb/_generated/{shared.flow_definition_pb.d.ts → shared.flow_type_pb.d.ts} +12 -0
- package/dist/pb/_generated/shared.function_pb.d.ts +4 -0
- package/dist/pb/_generated/shared.module_pb.d.ts +196 -0
- package/dist/pb/_generated/shared.runtime_flow_type_pb.d.ts +136 -0
- package/dist/pb/_generated/shared.runtime_function_pb.d.ts +4 -0
- package/dist/pb/_generated/shared.runtime_status_pb.d.ts +95 -32
- package/dist/pb/aquila.d.ts +2 -8
- package/dist/pb/sagittarius.d.ts +2 -10
- package/dist/pb/shared.d.ts +5 -2
- package/dist/{rpc-interceptor-BlyE8N7q.cjs → rpc-interceptor-4ZNqeHp7.cjs} +1 -1
- package/dist/{rpc-interceptor-Drf7qHyx.js → rpc-interceptor-DpAjfIVk.js} +1 -1
- package/dist/sagittarius.cjs.js +1 -1
- package/dist/sagittarius.es.js +366 -996
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +3 -3
- package/dist/shared.flow_pb-CAu-uZAs.cjs +1 -0
- package/dist/shared.flow_pb-YdrVU_yH.js +877 -0
- package/dist/shared.runtime_usage_pb-6pp995qK.cjs +2 -0
- package/dist/{shared.runtime_usage_pb-SKgDYw_k.js → shared.runtime_usage_pb-Qa9pCiee.js} +2101 -1050
- package/package.json +1 -1
- package/dist/pb/_generated/aquila.data_type_pb.client.d.ts +0 -27
- package/dist/pb/_generated/aquila.data_type_pb.d.ts +0 -54
- package/dist/pb/_generated/aquila.flow_type_pb.d.ts +0 -54
- package/dist/pb/_generated/aquila.function_pb.client.d.ts +0 -31
- package/dist/pb/_generated/aquila.function_pb.d.ts +0 -54
- package/dist/pb/_generated/aquila.runtime_function_pb.client.d.ts +0 -31
- package/dist/pb/_generated/aquila.runtime_function_pb.d.ts +0 -54
- package/dist/pb/_generated/sagittarius.action_configuration_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.action_configuration_pb.d.ts +0 -60
- package/dist/pb/_generated/sagittarius.data_type_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.data_type_pb.d.ts +0 -54
- package/dist/pb/_generated/sagittarius.flow_type_pb.d.ts +0 -54
- package/dist/pb/_generated/sagittarius.function_pb.client.d.ts +0 -31
- package/dist/pb/_generated/sagittarius.function_pb.d.ts +0 -54
- package/dist/pb/_generated/sagittarius.runtime_function_pb.client.d.ts +0 -31
- package/dist/pb/_generated/sagittarius.runtime_function_pb.d.ts +0 -54
- package/dist/pb/_generated/shared.action_configuration_pb.d.ts +0 -116
- package/dist/shared.flow_pb-5xI6xoXb.js +0 -717
- package/dist/shared.flow_pb-BwIQ0MZP.cjs +0 -1
- package/dist/shared.runtime_usage_pb-CYG2eLDw.cjs +0 -2
|
@@ -0,0 +1,877 @@
|
|
|
1
|
+
import { G as e, I as t, J as n, V as r, W as i, Y as a } from "./shared.runtime_usage_pb-Qa9pCiee.js";
|
|
2
|
+
var o = new class extends i {
|
|
3
|
+
constructor() {
|
|
4
|
+
super("shared.ValidationFlow", [
|
|
5
|
+
{
|
|
6
|
+
no: 1,
|
|
7
|
+
name: "flow_id",
|
|
8
|
+
kind: "scalar",
|
|
9
|
+
T: 3,
|
|
10
|
+
L: 0
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
no: 2,
|
|
14
|
+
name: "project_id",
|
|
15
|
+
kind: "scalar",
|
|
16
|
+
T: 3,
|
|
17
|
+
L: 0
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
no: 3,
|
|
21
|
+
name: "type",
|
|
22
|
+
kind: "scalar",
|
|
23
|
+
T: 9
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
no: 4,
|
|
27
|
+
name: "data_types",
|
|
28
|
+
kind: "message",
|
|
29
|
+
repeat: 2,
|
|
30
|
+
T: () => r
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
no: 5,
|
|
34
|
+
name: "settings",
|
|
35
|
+
kind: "message",
|
|
36
|
+
repeat: 2,
|
|
37
|
+
T: () => c
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
no: 6,
|
|
41
|
+
name: "starting_node_id",
|
|
42
|
+
kind: "scalar",
|
|
43
|
+
T: 3,
|
|
44
|
+
L: 0
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
no: 7,
|
|
48
|
+
name: "node_functions",
|
|
49
|
+
kind: "message",
|
|
50
|
+
repeat: 2,
|
|
51
|
+
T: () => l
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
no: 8,
|
|
55
|
+
name: "project_slug",
|
|
56
|
+
kind: "scalar",
|
|
57
|
+
T: 9
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
no: 9,
|
|
61
|
+
name: "disable_reason",
|
|
62
|
+
kind: "scalar",
|
|
63
|
+
opt: !0,
|
|
64
|
+
T: 9
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
no: 10,
|
|
68
|
+
name: "signature",
|
|
69
|
+
kind: "scalar",
|
|
70
|
+
T: 9
|
|
71
|
+
}
|
|
72
|
+
]);
|
|
73
|
+
}
|
|
74
|
+
create(t) {
|
|
75
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
76
|
+
return n.flowId = 0n, n.projectId = 0n, n.type = "", n.dataTypes = [], n.settings = [], n.startingNodeId = 0n, n.nodeFunctions = [], n.projectSlug = "", n.signature = "", t !== void 0 && e(this, n, t), n;
|
|
77
|
+
}
|
|
78
|
+
internalBinaryRead(e, t, i, a) {
|
|
79
|
+
let o = a ?? this.create(), s = e.pos + t;
|
|
80
|
+
for (; e.pos < s;) {
|
|
81
|
+
let [t, a] = e.tag();
|
|
82
|
+
switch (t) {
|
|
83
|
+
case 1:
|
|
84
|
+
o.flowId = e.int64().toBigInt();
|
|
85
|
+
break;
|
|
86
|
+
case 2:
|
|
87
|
+
o.projectId = e.int64().toBigInt();
|
|
88
|
+
break;
|
|
89
|
+
case 3:
|
|
90
|
+
o.type = e.string();
|
|
91
|
+
break;
|
|
92
|
+
case 4:
|
|
93
|
+
o.dataTypes.push(r.internalBinaryRead(e, e.uint32(), i));
|
|
94
|
+
break;
|
|
95
|
+
case 5:
|
|
96
|
+
o.settings.push(c.internalBinaryRead(e, e.uint32(), i));
|
|
97
|
+
break;
|
|
98
|
+
case 6:
|
|
99
|
+
o.startingNodeId = e.int64().toBigInt();
|
|
100
|
+
break;
|
|
101
|
+
case 7:
|
|
102
|
+
o.nodeFunctions.push(l.internalBinaryRead(e, e.uint32(), i));
|
|
103
|
+
break;
|
|
104
|
+
case 8:
|
|
105
|
+
o.projectSlug = e.string();
|
|
106
|
+
break;
|
|
107
|
+
case 9:
|
|
108
|
+
o.disableReason = e.string();
|
|
109
|
+
break;
|
|
110
|
+
case 10:
|
|
111
|
+
o.signature = e.string();
|
|
112
|
+
break;
|
|
113
|
+
default:
|
|
114
|
+
let s = i.readUnknownField;
|
|
115
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${a}) for ${this.typeName}`);
|
|
116
|
+
let u = e.skip(a);
|
|
117
|
+
s !== !1 && (s === !0 ? n.onRead : s)(this.typeName, o, t, a, u);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return o;
|
|
121
|
+
}
|
|
122
|
+
internalBinaryWrite(e, t, i) {
|
|
123
|
+
e.flowId !== 0n && t.tag(1, a.Varint).int64(e.flowId), e.projectId !== 0n && t.tag(2, a.Varint).int64(e.projectId), e.type !== "" && t.tag(3, a.LengthDelimited).string(e.type);
|
|
124
|
+
for (let n = 0; n < e.dataTypes.length; n++) r.internalBinaryWrite(e.dataTypes[n], t.tag(4, a.LengthDelimited).fork(), i).join();
|
|
125
|
+
for (let n = 0; n < e.settings.length; n++) c.internalBinaryWrite(e.settings[n], t.tag(5, a.LengthDelimited).fork(), i).join();
|
|
126
|
+
e.startingNodeId !== 0n && t.tag(6, a.Varint).int64(e.startingNodeId);
|
|
127
|
+
for (let n = 0; n < e.nodeFunctions.length; n++) l.internalBinaryWrite(e.nodeFunctions[n], t.tag(7, a.LengthDelimited).fork(), i).join();
|
|
128
|
+
e.projectSlug !== "" && t.tag(8, a.LengthDelimited).string(e.projectSlug), e.disableReason !== void 0 && t.tag(9, a.LengthDelimited).string(e.disableReason), e.signature !== "" && t.tag(10, a.LengthDelimited).string(e.signature);
|
|
129
|
+
let o = i.writeUnknownFields;
|
|
130
|
+
return o !== !1 && (o == 1 ? n.onWrite : o)(this.typeName, e, t), t;
|
|
131
|
+
}
|
|
132
|
+
}(), s = new class extends i {
|
|
133
|
+
constructor() {
|
|
134
|
+
super("shared.ExecutionFlow", [
|
|
135
|
+
{
|
|
136
|
+
no: 1,
|
|
137
|
+
name: "flow_id",
|
|
138
|
+
kind: "scalar",
|
|
139
|
+
T: 3,
|
|
140
|
+
L: 0
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
no: 5,
|
|
144
|
+
name: "project_id",
|
|
145
|
+
kind: "scalar",
|
|
146
|
+
T: 3,
|
|
147
|
+
L: 0
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
no: 2,
|
|
151
|
+
name: "starting_node_id",
|
|
152
|
+
kind: "scalar",
|
|
153
|
+
T: 3,
|
|
154
|
+
L: 0
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
no: 4,
|
|
158
|
+
name: "node_functions",
|
|
159
|
+
kind: "message",
|
|
160
|
+
repeat: 2,
|
|
161
|
+
T: () => l
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
no: 3,
|
|
165
|
+
name: "input_value",
|
|
166
|
+
kind: "message",
|
|
167
|
+
T: () => t
|
|
168
|
+
}
|
|
169
|
+
]);
|
|
170
|
+
}
|
|
171
|
+
create(t) {
|
|
172
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
173
|
+
return n.flowId = 0n, n.projectId = 0n, n.startingNodeId = 0n, n.nodeFunctions = [], t !== void 0 && e(this, n, t), n;
|
|
174
|
+
}
|
|
175
|
+
internalBinaryRead(e, r, i, a) {
|
|
176
|
+
let o = a ?? this.create(), s = e.pos + r;
|
|
177
|
+
for (; e.pos < s;) {
|
|
178
|
+
let [r, a] = e.tag();
|
|
179
|
+
switch (r) {
|
|
180
|
+
case 1:
|
|
181
|
+
o.flowId = e.int64().toBigInt();
|
|
182
|
+
break;
|
|
183
|
+
case 5:
|
|
184
|
+
o.projectId = e.int64().toBigInt();
|
|
185
|
+
break;
|
|
186
|
+
case 2:
|
|
187
|
+
o.startingNodeId = e.int64().toBigInt();
|
|
188
|
+
break;
|
|
189
|
+
case 4:
|
|
190
|
+
o.nodeFunctions.push(l.internalBinaryRead(e, e.uint32(), i));
|
|
191
|
+
break;
|
|
192
|
+
case 3:
|
|
193
|
+
o.inputValue = t.internalBinaryRead(e, e.uint32(), i, o.inputValue);
|
|
194
|
+
break;
|
|
195
|
+
default:
|
|
196
|
+
let s = i.readUnknownField;
|
|
197
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
|
|
198
|
+
let c = e.skip(a);
|
|
199
|
+
s !== !1 && (s === !0 ? n.onRead : s)(this.typeName, o, r, a, c);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
return o;
|
|
203
|
+
}
|
|
204
|
+
internalBinaryWrite(e, r, i) {
|
|
205
|
+
e.flowId !== 0n && r.tag(1, a.Varint).int64(e.flowId), e.startingNodeId !== 0n && r.tag(2, a.Varint).int64(e.startingNodeId), e.inputValue && t.internalBinaryWrite(e.inputValue, r.tag(3, a.LengthDelimited).fork(), i).join();
|
|
206
|
+
for (let t = 0; t < e.nodeFunctions.length; t++) l.internalBinaryWrite(e.nodeFunctions[t], r.tag(4, a.LengthDelimited).fork(), i).join();
|
|
207
|
+
e.projectId !== 0n && r.tag(5, a.Varint).int64(e.projectId);
|
|
208
|
+
let o = i.writeUnknownFields;
|
|
209
|
+
return o !== !1 && (o == 1 ? n.onWrite : o)(this.typeName, e, r), r;
|
|
210
|
+
}
|
|
211
|
+
}(), c = new class extends i {
|
|
212
|
+
constructor() {
|
|
213
|
+
super("shared.FlowSetting", [
|
|
214
|
+
{
|
|
215
|
+
no: 1,
|
|
216
|
+
name: "database_id",
|
|
217
|
+
kind: "scalar",
|
|
218
|
+
T: 3,
|
|
219
|
+
L: 0
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
no: 2,
|
|
223
|
+
name: "flow_setting_id",
|
|
224
|
+
kind: "scalar",
|
|
225
|
+
T: 9
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
no: 3,
|
|
229
|
+
name: "value",
|
|
230
|
+
kind: "message",
|
|
231
|
+
T: () => t
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
no: 4,
|
|
235
|
+
name: "cast",
|
|
236
|
+
kind: "scalar",
|
|
237
|
+
opt: !0,
|
|
238
|
+
T: 9
|
|
239
|
+
}
|
|
240
|
+
]);
|
|
241
|
+
}
|
|
242
|
+
create(t) {
|
|
243
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
244
|
+
return n.databaseId = 0n, n.flowSettingId = "", t !== void 0 && e(this, n, t), n;
|
|
245
|
+
}
|
|
246
|
+
internalBinaryRead(e, r, i, a) {
|
|
247
|
+
let o = a ?? this.create(), s = e.pos + r;
|
|
248
|
+
for (; e.pos < s;) {
|
|
249
|
+
let [r, a] = e.tag();
|
|
250
|
+
switch (r) {
|
|
251
|
+
case 1:
|
|
252
|
+
o.databaseId = e.int64().toBigInt();
|
|
253
|
+
break;
|
|
254
|
+
case 2:
|
|
255
|
+
o.flowSettingId = e.string();
|
|
256
|
+
break;
|
|
257
|
+
case 3:
|
|
258
|
+
o.value = t.internalBinaryRead(e, e.uint32(), i, o.value);
|
|
259
|
+
break;
|
|
260
|
+
case 4:
|
|
261
|
+
o.cast = e.string();
|
|
262
|
+
break;
|
|
263
|
+
default:
|
|
264
|
+
let s = i.readUnknownField;
|
|
265
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
|
|
266
|
+
let c = e.skip(a);
|
|
267
|
+
s !== !1 && (s === !0 ? n.onRead : s)(this.typeName, o, r, a, c);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
return o;
|
|
271
|
+
}
|
|
272
|
+
internalBinaryWrite(e, r, i) {
|
|
273
|
+
e.databaseId !== 0n && r.tag(1, a.Varint).int64(e.databaseId), e.flowSettingId !== "" && r.tag(2, a.LengthDelimited).string(e.flowSettingId), e.value && t.internalBinaryWrite(e.value, r.tag(3, a.LengthDelimited).fork(), i).join(), e.cast !== void 0 && r.tag(4, a.LengthDelimited).string(e.cast);
|
|
274
|
+
let o = i.writeUnknownFields;
|
|
275
|
+
return o !== !1 && (o == 1 ? n.onWrite : o)(this.typeName, e, r), r;
|
|
276
|
+
}
|
|
277
|
+
}(), l = new class extends i {
|
|
278
|
+
constructor() {
|
|
279
|
+
super("shared.NodeFunction", [
|
|
280
|
+
{
|
|
281
|
+
no: 1,
|
|
282
|
+
name: "database_id",
|
|
283
|
+
kind: "scalar",
|
|
284
|
+
T: 3,
|
|
285
|
+
L: 0
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
no: 2,
|
|
289
|
+
name: "runtime_function_id",
|
|
290
|
+
kind: "scalar",
|
|
291
|
+
T: 9
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
no: 3,
|
|
295
|
+
name: "parameters",
|
|
296
|
+
kind: "message",
|
|
297
|
+
repeat: 2,
|
|
298
|
+
T: () => d
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
no: 4,
|
|
302
|
+
name: "next_node_id",
|
|
303
|
+
kind: "scalar",
|
|
304
|
+
opt: !0,
|
|
305
|
+
T: 3,
|
|
306
|
+
L: 0
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
no: 5,
|
|
310
|
+
name: "definition_source",
|
|
311
|
+
kind: "scalar",
|
|
312
|
+
T: 9
|
|
313
|
+
}
|
|
314
|
+
]);
|
|
315
|
+
}
|
|
316
|
+
create(t) {
|
|
317
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
318
|
+
return n.databaseId = 0n, n.runtimeFunctionId = "", n.parameters = [], n.definitionSource = "", t !== void 0 && e(this, n, t), n;
|
|
319
|
+
}
|
|
320
|
+
internalBinaryRead(e, t, r, i) {
|
|
321
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
322
|
+
for (; e.pos < o;) {
|
|
323
|
+
let [t, i] = e.tag();
|
|
324
|
+
switch (t) {
|
|
325
|
+
case 1:
|
|
326
|
+
a.databaseId = e.int64().toBigInt();
|
|
327
|
+
break;
|
|
328
|
+
case 2:
|
|
329
|
+
a.runtimeFunctionId = e.string();
|
|
330
|
+
break;
|
|
331
|
+
case 3:
|
|
332
|
+
a.parameters.push(d.internalBinaryRead(e, e.uint32(), r));
|
|
333
|
+
break;
|
|
334
|
+
case 4:
|
|
335
|
+
a.nextNodeId = e.int64().toBigInt();
|
|
336
|
+
break;
|
|
337
|
+
case 5:
|
|
338
|
+
a.definitionSource = e.string();
|
|
339
|
+
break;
|
|
340
|
+
default:
|
|
341
|
+
let o = r.readUnknownField;
|
|
342
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
343
|
+
let s = e.skip(i);
|
|
344
|
+
o !== !1 && (o === !0 ? n.onRead : o)(this.typeName, a, t, i, s);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
return a;
|
|
348
|
+
}
|
|
349
|
+
internalBinaryWrite(e, t, r) {
|
|
350
|
+
e.databaseId !== 0n && t.tag(1, a.Varint).int64(e.databaseId), e.runtimeFunctionId !== "" && t.tag(2, a.LengthDelimited).string(e.runtimeFunctionId);
|
|
351
|
+
for (let n = 0; n < e.parameters.length; n++) d.internalBinaryWrite(e.parameters[n], t.tag(3, a.LengthDelimited).fork(), r).join();
|
|
352
|
+
e.nextNodeId !== void 0 && t.tag(4, a.Varint).int64(e.nextNodeId), e.definitionSource !== "" && t.tag(5, a.LengthDelimited).string(e.definitionSource);
|
|
353
|
+
let i = r.writeUnknownFields;
|
|
354
|
+
return i !== !1 && (i == 1 ? n.onWrite : i)(this.typeName, e, t), t;
|
|
355
|
+
}
|
|
356
|
+
}(), u = new class extends i {
|
|
357
|
+
constructor() {
|
|
358
|
+
super("shared.NodeValue", [
|
|
359
|
+
{
|
|
360
|
+
no: 1,
|
|
361
|
+
name: "literal_value",
|
|
362
|
+
kind: "message",
|
|
363
|
+
oneof: "value",
|
|
364
|
+
T: () => t
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
no: 2,
|
|
368
|
+
name: "reference_value",
|
|
369
|
+
kind: "message",
|
|
370
|
+
oneof: "value",
|
|
371
|
+
T: () => f
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
no: 3,
|
|
375
|
+
name: "sub_flow",
|
|
376
|
+
kind: "message",
|
|
377
|
+
oneof: "value",
|
|
378
|
+
T: () => p
|
|
379
|
+
}
|
|
380
|
+
]);
|
|
381
|
+
}
|
|
382
|
+
create(t) {
|
|
383
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
384
|
+
return n.value = { oneofKind: void 0 }, t !== void 0 && e(this, n, t), n;
|
|
385
|
+
}
|
|
386
|
+
internalBinaryRead(e, r, i, a) {
|
|
387
|
+
let o = a ?? this.create(), s = e.pos + r;
|
|
388
|
+
for (; e.pos < s;) {
|
|
389
|
+
let [r, a] = e.tag();
|
|
390
|
+
switch (r) {
|
|
391
|
+
case 1:
|
|
392
|
+
o.value = {
|
|
393
|
+
oneofKind: "literalValue",
|
|
394
|
+
literalValue: t.internalBinaryRead(e, e.uint32(), i, o.value.literalValue)
|
|
395
|
+
};
|
|
396
|
+
break;
|
|
397
|
+
case 2:
|
|
398
|
+
o.value = {
|
|
399
|
+
oneofKind: "referenceValue",
|
|
400
|
+
referenceValue: f.internalBinaryRead(e, e.uint32(), i, o.value.referenceValue)
|
|
401
|
+
};
|
|
402
|
+
break;
|
|
403
|
+
case 3:
|
|
404
|
+
o.value = {
|
|
405
|
+
oneofKind: "subFlow",
|
|
406
|
+
subFlow: p.internalBinaryRead(e, e.uint32(), i, o.value.subFlow)
|
|
407
|
+
};
|
|
408
|
+
break;
|
|
409
|
+
default:
|
|
410
|
+
let s = i.readUnknownField;
|
|
411
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
|
|
412
|
+
let c = e.skip(a);
|
|
413
|
+
s !== !1 && (s === !0 ? n.onRead : s)(this.typeName, o, r, a, c);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
return o;
|
|
417
|
+
}
|
|
418
|
+
internalBinaryWrite(e, r, i) {
|
|
419
|
+
e.value.oneofKind === "literalValue" && t.internalBinaryWrite(e.value.literalValue, r.tag(1, a.LengthDelimited).fork(), i).join(), e.value.oneofKind === "referenceValue" && f.internalBinaryWrite(e.value.referenceValue, r.tag(2, a.LengthDelimited).fork(), i).join(), e.value.oneofKind === "subFlow" && p.internalBinaryWrite(e.value.subFlow, r.tag(3, a.LengthDelimited).fork(), i).join();
|
|
420
|
+
let o = i.writeUnknownFields;
|
|
421
|
+
return o !== !1 && (o == 1 ? n.onWrite : o)(this.typeName, e, r), r;
|
|
422
|
+
}
|
|
423
|
+
}(), d = new class extends i {
|
|
424
|
+
constructor() {
|
|
425
|
+
super("shared.NodeParameter", [
|
|
426
|
+
{
|
|
427
|
+
no: 1,
|
|
428
|
+
name: "database_id",
|
|
429
|
+
kind: "scalar",
|
|
430
|
+
T: 3,
|
|
431
|
+
L: 0
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
no: 2,
|
|
435
|
+
name: "runtime_parameter_id",
|
|
436
|
+
kind: "scalar",
|
|
437
|
+
T: 9
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
no: 3,
|
|
441
|
+
name: "value",
|
|
442
|
+
kind: "message",
|
|
443
|
+
T: () => u
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
no: 4,
|
|
447
|
+
name: "cast",
|
|
448
|
+
kind: "scalar",
|
|
449
|
+
opt: !0,
|
|
450
|
+
T: 9
|
|
451
|
+
}
|
|
452
|
+
]);
|
|
453
|
+
}
|
|
454
|
+
create(t) {
|
|
455
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
456
|
+
return n.databaseId = 0n, n.runtimeParameterId = "", t !== void 0 && e(this, n, t), n;
|
|
457
|
+
}
|
|
458
|
+
internalBinaryRead(e, t, r, i) {
|
|
459
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
460
|
+
for (; e.pos < o;) {
|
|
461
|
+
let [t, i] = e.tag();
|
|
462
|
+
switch (t) {
|
|
463
|
+
case 1:
|
|
464
|
+
a.databaseId = e.int64().toBigInt();
|
|
465
|
+
break;
|
|
466
|
+
case 2:
|
|
467
|
+
a.runtimeParameterId = e.string();
|
|
468
|
+
break;
|
|
469
|
+
case 3:
|
|
470
|
+
a.value = u.internalBinaryRead(e, e.uint32(), r, a.value);
|
|
471
|
+
break;
|
|
472
|
+
case 4:
|
|
473
|
+
a.cast = e.string();
|
|
474
|
+
break;
|
|
475
|
+
default:
|
|
476
|
+
let o = r.readUnknownField;
|
|
477
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
478
|
+
let s = e.skip(i);
|
|
479
|
+
o !== !1 && (o === !0 ? n.onRead : o)(this.typeName, a, t, i, s);
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
return a;
|
|
483
|
+
}
|
|
484
|
+
internalBinaryWrite(e, t, r) {
|
|
485
|
+
e.databaseId !== 0n && t.tag(1, a.Varint).int64(e.databaseId), e.runtimeParameterId !== "" && t.tag(2, a.LengthDelimited).string(e.runtimeParameterId), e.value && u.internalBinaryWrite(e.value, t.tag(3, a.LengthDelimited).fork(), r).join(), e.cast !== void 0 && t.tag(4, a.LengthDelimited).string(e.cast);
|
|
486
|
+
let i = r.writeUnknownFields;
|
|
487
|
+
return i !== !1 && (i == 1 ? n.onWrite : i)(this.typeName, e, t), t;
|
|
488
|
+
}
|
|
489
|
+
}(), f = new class extends i {
|
|
490
|
+
constructor() {
|
|
491
|
+
super("shared.ReferenceValue", [
|
|
492
|
+
{
|
|
493
|
+
no: 1,
|
|
494
|
+
name: "flow_input",
|
|
495
|
+
kind: "message",
|
|
496
|
+
oneof: "target",
|
|
497
|
+
T: () => h
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
no: 2,
|
|
501
|
+
name: "node_id",
|
|
502
|
+
kind: "scalar",
|
|
503
|
+
oneof: "target",
|
|
504
|
+
T: 3,
|
|
505
|
+
L: 0
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
no: 3,
|
|
509
|
+
name: "input_type",
|
|
510
|
+
kind: "message",
|
|
511
|
+
oneof: "target",
|
|
512
|
+
T: () => g
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
no: 4,
|
|
516
|
+
name: "paths",
|
|
517
|
+
kind: "message",
|
|
518
|
+
repeat: 2,
|
|
519
|
+
T: () => _
|
|
520
|
+
}
|
|
521
|
+
]);
|
|
522
|
+
}
|
|
523
|
+
create(t) {
|
|
524
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
525
|
+
return n.target = { oneofKind: void 0 }, n.paths = [], t !== void 0 && e(this, n, t), n;
|
|
526
|
+
}
|
|
527
|
+
internalBinaryRead(e, t, r, i) {
|
|
528
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
529
|
+
for (; e.pos < o;) {
|
|
530
|
+
let [t, i] = e.tag();
|
|
531
|
+
switch (t) {
|
|
532
|
+
case 1:
|
|
533
|
+
a.target = {
|
|
534
|
+
oneofKind: "flowInput",
|
|
535
|
+
flowInput: h.internalBinaryRead(e, e.uint32(), r, a.target.flowInput)
|
|
536
|
+
};
|
|
537
|
+
break;
|
|
538
|
+
case 2:
|
|
539
|
+
a.target = {
|
|
540
|
+
oneofKind: "nodeId",
|
|
541
|
+
nodeId: e.int64().toBigInt()
|
|
542
|
+
};
|
|
543
|
+
break;
|
|
544
|
+
case 3:
|
|
545
|
+
a.target = {
|
|
546
|
+
oneofKind: "inputType",
|
|
547
|
+
inputType: g.internalBinaryRead(e, e.uint32(), r, a.target.inputType)
|
|
548
|
+
};
|
|
549
|
+
break;
|
|
550
|
+
case 4:
|
|
551
|
+
a.paths.push(_.internalBinaryRead(e, e.uint32(), r));
|
|
552
|
+
break;
|
|
553
|
+
default:
|
|
554
|
+
let o = r.readUnknownField;
|
|
555
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
556
|
+
let s = e.skip(i);
|
|
557
|
+
o !== !1 && (o === !0 ? n.onRead : o)(this.typeName, a, t, i, s);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
return a;
|
|
561
|
+
}
|
|
562
|
+
internalBinaryWrite(e, t, r) {
|
|
563
|
+
e.target.oneofKind === "flowInput" && h.internalBinaryWrite(e.target.flowInput, t.tag(1, a.LengthDelimited).fork(), r).join(), e.target.oneofKind === "nodeId" && t.tag(2, a.Varint).int64(e.target.nodeId), e.target.oneofKind === "inputType" && g.internalBinaryWrite(e.target.inputType, t.tag(3, a.LengthDelimited).fork(), r).join();
|
|
564
|
+
for (let n = 0; n < e.paths.length; n++) _.internalBinaryWrite(e.paths[n], t.tag(4, a.LengthDelimited).fork(), r).join();
|
|
565
|
+
let i = r.writeUnknownFields;
|
|
566
|
+
return i !== !1 && (i == 1 ? n.onWrite : i)(this.typeName, e, t), t;
|
|
567
|
+
}
|
|
568
|
+
}(), p = new class extends i {
|
|
569
|
+
constructor() {
|
|
570
|
+
super("shared.SubFlow", [
|
|
571
|
+
{
|
|
572
|
+
no: 1,
|
|
573
|
+
name: "starting_node_id",
|
|
574
|
+
kind: "scalar",
|
|
575
|
+
oneof: "executionReference",
|
|
576
|
+
T: 3,
|
|
577
|
+
L: 0
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
no: 2,
|
|
581
|
+
name: "function_identifier",
|
|
582
|
+
kind: "scalar",
|
|
583
|
+
oneof: "executionReference",
|
|
584
|
+
T: 9
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
no: 3,
|
|
588
|
+
name: "signature",
|
|
589
|
+
kind: "scalar",
|
|
590
|
+
T: 9
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
no: 4,
|
|
594
|
+
name: "settings",
|
|
595
|
+
kind: "message",
|
|
596
|
+
repeat: 2,
|
|
597
|
+
T: () => m
|
|
598
|
+
}
|
|
599
|
+
]);
|
|
600
|
+
}
|
|
601
|
+
create(t) {
|
|
602
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
603
|
+
return n.executionReference = { oneofKind: void 0 }, n.signature = "", n.settings = [], t !== void 0 && e(this, n, t), n;
|
|
604
|
+
}
|
|
605
|
+
internalBinaryRead(e, t, r, i) {
|
|
606
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
607
|
+
for (; e.pos < o;) {
|
|
608
|
+
let [t, i] = e.tag();
|
|
609
|
+
switch (t) {
|
|
610
|
+
case 1:
|
|
611
|
+
a.executionReference = {
|
|
612
|
+
oneofKind: "startingNodeId",
|
|
613
|
+
startingNodeId: e.int64().toBigInt()
|
|
614
|
+
};
|
|
615
|
+
break;
|
|
616
|
+
case 2:
|
|
617
|
+
a.executionReference = {
|
|
618
|
+
oneofKind: "functionIdentifier",
|
|
619
|
+
functionIdentifier: e.string()
|
|
620
|
+
};
|
|
621
|
+
break;
|
|
622
|
+
case 3:
|
|
623
|
+
a.signature = e.string();
|
|
624
|
+
break;
|
|
625
|
+
case 4:
|
|
626
|
+
a.settings.push(m.internalBinaryRead(e, e.uint32(), r));
|
|
627
|
+
break;
|
|
628
|
+
default:
|
|
629
|
+
let o = r.readUnknownField;
|
|
630
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
631
|
+
let s = e.skip(i);
|
|
632
|
+
o !== !1 && (o === !0 ? n.onRead : o)(this.typeName, a, t, i, s);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
return a;
|
|
636
|
+
}
|
|
637
|
+
internalBinaryWrite(e, t, r) {
|
|
638
|
+
e.executionReference.oneofKind === "startingNodeId" && t.tag(1, a.Varint).int64(e.executionReference.startingNodeId), e.executionReference.oneofKind === "functionIdentifier" && t.tag(2, a.LengthDelimited).string(e.executionReference.functionIdentifier), e.signature !== "" && t.tag(3, a.LengthDelimited).string(e.signature);
|
|
639
|
+
for (let n = 0; n < e.settings.length; n++) m.internalBinaryWrite(e.settings[n], t.tag(4, a.LengthDelimited).fork(), r).join();
|
|
640
|
+
let i = r.writeUnknownFields;
|
|
641
|
+
return i !== !1 && (i == 1 ? n.onWrite : i)(this.typeName, e, t), t;
|
|
642
|
+
}
|
|
643
|
+
}(), m = new class extends i {
|
|
644
|
+
constructor() {
|
|
645
|
+
super("shared.SubFlowSetting", [
|
|
646
|
+
{
|
|
647
|
+
no: 1,
|
|
648
|
+
name: "identifier",
|
|
649
|
+
kind: "scalar",
|
|
650
|
+
T: 9
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
no: 2,
|
|
654
|
+
name: "default_value",
|
|
655
|
+
kind: "message",
|
|
656
|
+
T: () => t
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
no: 3,
|
|
660
|
+
name: "optional",
|
|
661
|
+
kind: "scalar",
|
|
662
|
+
opt: !0,
|
|
663
|
+
T: 8
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
no: 4,
|
|
667
|
+
name: "hidden",
|
|
668
|
+
kind: "scalar",
|
|
669
|
+
opt: !0,
|
|
670
|
+
T: 8
|
|
671
|
+
}
|
|
672
|
+
]);
|
|
673
|
+
}
|
|
674
|
+
create(t) {
|
|
675
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
676
|
+
return n.identifier = "", t !== void 0 && e(this, n, t), n;
|
|
677
|
+
}
|
|
678
|
+
internalBinaryRead(e, r, i, a) {
|
|
679
|
+
let o = a ?? this.create(), s = e.pos + r;
|
|
680
|
+
for (; e.pos < s;) {
|
|
681
|
+
let [r, a] = e.tag();
|
|
682
|
+
switch (r) {
|
|
683
|
+
case 1:
|
|
684
|
+
o.identifier = e.string();
|
|
685
|
+
break;
|
|
686
|
+
case 2:
|
|
687
|
+
o.defaultValue = t.internalBinaryRead(e, e.uint32(), i, o.defaultValue);
|
|
688
|
+
break;
|
|
689
|
+
case 3:
|
|
690
|
+
o.optional = e.bool();
|
|
691
|
+
break;
|
|
692
|
+
case 4:
|
|
693
|
+
o.hidden = e.bool();
|
|
694
|
+
break;
|
|
695
|
+
default:
|
|
696
|
+
let s = i.readUnknownField;
|
|
697
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
|
|
698
|
+
let c = e.skip(a);
|
|
699
|
+
s !== !1 && (s === !0 ? n.onRead : s)(this.typeName, o, r, a, c);
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
return o;
|
|
703
|
+
}
|
|
704
|
+
internalBinaryWrite(e, r, i) {
|
|
705
|
+
e.identifier !== "" && r.tag(1, a.LengthDelimited).string(e.identifier), e.defaultValue && t.internalBinaryWrite(e.defaultValue, r.tag(2, a.LengthDelimited).fork(), i).join(), e.optional !== void 0 && r.tag(3, a.Varint).bool(e.optional), e.hidden !== void 0 && r.tag(4, a.Varint).bool(e.hidden);
|
|
706
|
+
let o = i.writeUnknownFields;
|
|
707
|
+
return o !== !1 && (o == 1 ? n.onWrite : o)(this.typeName, e, r), r;
|
|
708
|
+
}
|
|
709
|
+
}(), h = new class extends i {
|
|
710
|
+
constructor() {
|
|
711
|
+
super("shared.FlowInput", []);
|
|
712
|
+
}
|
|
713
|
+
create(t) {
|
|
714
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
715
|
+
return t !== void 0 && e(this, n, t), n;
|
|
716
|
+
}
|
|
717
|
+
internalBinaryRead(e, t, r, i) {
|
|
718
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
719
|
+
for (; e.pos < o;) {
|
|
720
|
+
let [t, i] = e.tag();
|
|
721
|
+
switch (t) {
|
|
722
|
+
default:
|
|
723
|
+
let o = r.readUnknownField;
|
|
724
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
725
|
+
let s = e.skip(i);
|
|
726
|
+
o !== !1 && (o === !0 ? n.onRead : o)(this.typeName, a, t, i, s);
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
return a;
|
|
730
|
+
}
|
|
731
|
+
internalBinaryWrite(e, t, r) {
|
|
732
|
+
let i = r.writeUnknownFields;
|
|
733
|
+
return i !== !1 && (i == 1 ? n.onWrite : i)(this.typeName, e, t), t;
|
|
734
|
+
}
|
|
735
|
+
}(), g = new class extends i {
|
|
736
|
+
constructor() {
|
|
737
|
+
super("shared.InputType", [
|
|
738
|
+
{
|
|
739
|
+
no: 1,
|
|
740
|
+
name: "node_id",
|
|
741
|
+
kind: "scalar",
|
|
742
|
+
T: 3,
|
|
743
|
+
L: 0
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
no: 2,
|
|
747
|
+
name: "parameter_index",
|
|
748
|
+
kind: "scalar",
|
|
749
|
+
T: 3,
|
|
750
|
+
L: 0
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
no: 3,
|
|
754
|
+
name: "input_index",
|
|
755
|
+
kind: "scalar",
|
|
756
|
+
T: 3,
|
|
757
|
+
L: 0
|
|
758
|
+
}
|
|
759
|
+
]);
|
|
760
|
+
}
|
|
761
|
+
create(t) {
|
|
762
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
763
|
+
return n.nodeId = 0n, n.parameterIndex = 0n, n.inputIndex = 0n, t !== void 0 && e(this, n, t), n;
|
|
764
|
+
}
|
|
765
|
+
internalBinaryRead(e, t, r, i) {
|
|
766
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
767
|
+
for (; e.pos < o;) {
|
|
768
|
+
let [t, i] = e.tag();
|
|
769
|
+
switch (t) {
|
|
770
|
+
case 1:
|
|
771
|
+
a.nodeId = e.int64().toBigInt();
|
|
772
|
+
break;
|
|
773
|
+
case 2:
|
|
774
|
+
a.parameterIndex = e.int64().toBigInt();
|
|
775
|
+
break;
|
|
776
|
+
case 3:
|
|
777
|
+
a.inputIndex = e.int64().toBigInt();
|
|
778
|
+
break;
|
|
779
|
+
default:
|
|
780
|
+
let o = r.readUnknownField;
|
|
781
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
782
|
+
let s = e.skip(i);
|
|
783
|
+
o !== !1 && (o === !0 ? n.onRead : o)(this.typeName, a, t, i, s);
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
return a;
|
|
787
|
+
}
|
|
788
|
+
internalBinaryWrite(e, t, r) {
|
|
789
|
+
e.nodeId !== 0n && t.tag(1, a.Varint).int64(e.nodeId), e.parameterIndex !== 0n && t.tag(2, a.Varint).int64(e.parameterIndex), e.inputIndex !== 0n && t.tag(3, a.Varint).int64(e.inputIndex);
|
|
790
|
+
let i = r.writeUnknownFields;
|
|
791
|
+
return i !== !1 && (i == 1 ? n.onWrite : i)(this.typeName, e, t), t;
|
|
792
|
+
}
|
|
793
|
+
}(), _ = new class extends i {
|
|
794
|
+
constructor() {
|
|
795
|
+
super("shared.ReferencePath", [{
|
|
796
|
+
no: 1,
|
|
797
|
+
name: "path",
|
|
798
|
+
kind: "scalar",
|
|
799
|
+
opt: !0,
|
|
800
|
+
T: 9
|
|
801
|
+
}, {
|
|
802
|
+
no: 2,
|
|
803
|
+
name: "array_index",
|
|
804
|
+
kind: "scalar",
|
|
805
|
+
opt: !0,
|
|
806
|
+
T: 3,
|
|
807
|
+
L: 0
|
|
808
|
+
}]);
|
|
809
|
+
}
|
|
810
|
+
create(t) {
|
|
811
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
812
|
+
return t !== void 0 && e(this, n, t), n;
|
|
813
|
+
}
|
|
814
|
+
internalBinaryRead(e, t, r, i) {
|
|
815
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
816
|
+
for (; e.pos < o;) {
|
|
817
|
+
let [t, i] = e.tag();
|
|
818
|
+
switch (t) {
|
|
819
|
+
case 1:
|
|
820
|
+
a.path = e.string();
|
|
821
|
+
break;
|
|
822
|
+
case 2:
|
|
823
|
+
a.arrayIndex = e.int64().toBigInt();
|
|
824
|
+
break;
|
|
825
|
+
default:
|
|
826
|
+
let o = r.readUnknownField;
|
|
827
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
828
|
+
let s = e.skip(i);
|
|
829
|
+
o !== !1 && (o === !0 ? n.onRead : o)(this.typeName, a, t, i, s);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
return a;
|
|
833
|
+
}
|
|
834
|
+
internalBinaryWrite(e, t, r) {
|
|
835
|
+
e.path !== void 0 && t.tag(1, a.LengthDelimited).string(e.path), e.arrayIndex !== void 0 && t.tag(2, a.Varint).int64(e.arrayIndex);
|
|
836
|
+
let i = r.writeUnknownFields;
|
|
837
|
+
return i !== !1 && (i == 1 ? n.onWrite : i)(this.typeName, e, t), t;
|
|
838
|
+
}
|
|
839
|
+
}(), v = new class extends i {
|
|
840
|
+
constructor() {
|
|
841
|
+
super("shared.Flows", [{
|
|
842
|
+
no: 1,
|
|
843
|
+
name: "flows",
|
|
844
|
+
kind: "message",
|
|
845
|
+
repeat: 2,
|
|
846
|
+
T: () => o
|
|
847
|
+
}]);
|
|
848
|
+
}
|
|
849
|
+
create(t) {
|
|
850
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
851
|
+
return n.flows = [], t !== void 0 && e(this, n, t), n;
|
|
852
|
+
}
|
|
853
|
+
internalBinaryRead(e, t, r, i) {
|
|
854
|
+
let a = i ?? this.create(), s = e.pos + t;
|
|
855
|
+
for (; e.pos < s;) {
|
|
856
|
+
let [t, i] = e.tag();
|
|
857
|
+
switch (t) {
|
|
858
|
+
case 1:
|
|
859
|
+
a.flows.push(o.internalBinaryRead(e, e.uint32(), r));
|
|
860
|
+
break;
|
|
861
|
+
default:
|
|
862
|
+
let s = r.readUnknownField;
|
|
863
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
864
|
+
let c = e.skip(i);
|
|
865
|
+
s !== !1 && (s === !0 ? n.onRead : s)(this.typeName, a, t, i, c);
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
return a;
|
|
869
|
+
}
|
|
870
|
+
internalBinaryWrite(e, t, r) {
|
|
871
|
+
for (let n = 0; n < e.flows.length; n++) o.internalBinaryWrite(e.flows[n], t.tag(1, a.LengthDelimited).fork(), r).join();
|
|
872
|
+
let i = r.writeUnknownFields;
|
|
873
|
+
return i !== !1 && (i == 1 ? n.onWrite : i)(this.typeName, e, t), t;
|
|
874
|
+
}
|
|
875
|
+
}();
|
|
876
|
+
//#endregion
|
|
877
|
+
export { g as a, u as c, p as d, m as f, v as i, _ as l, h as n, l as o, o as p, c as r, d as s, s as t, f as u };
|