@sentio/runtime 2.62.0-rc.1 → 2.62.0-rc.11
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/lib/{chunk-XO4AFKZ6.js → chunk-AHIIUVQL.js} +3584 -3875
- package/lib/chunk-AHIIUVQL.js.map +1 -0
- package/lib/{chunk-4M76KZSL.js → chunk-I5YHR3CE.js} +125 -725
- package/lib/chunk-I5YHR3CE.js.map +1 -0
- package/lib/chunk-KVSDPGUI.js +50 -0
- package/lib/chunk-KVSDPGUI.js.map +1 -0
- package/lib/chunk-L2A6JPIQ.js +21 -0
- package/lib/chunk-L2A6JPIQ.js.map +1 -0
- package/lib/{chunk-DPHTMNDV.js → chunk-PCB4OKW7.js} +2 -2
- package/lib/chunk-W3VN25ER.js +1703 -0
- package/lib/chunk-W3VN25ER.js.map +1 -0
- package/lib/getMachineId-bsd-WJ6BLVOD.js +41 -0
- package/lib/getMachineId-bsd-WJ6BLVOD.js.map +1 -0
- package/lib/getMachineId-darwin-TW74DVT5.js +41 -0
- package/lib/getMachineId-darwin-TW74DVT5.js.map +1 -0
- package/lib/getMachineId-linux-MDJOKOMI.js +33 -0
- package/lib/getMachineId-linux-MDJOKOMI.js.map +1 -0
- package/lib/getMachineId-unsupported-X2EJZ25K.js +24 -0
- package/lib/getMachineId-unsupported-X2EJZ25K.js.map +1 -0
- package/lib/getMachineId-win-VE7DMTAF.js +43 -0
- package/lib/getMachineId-win-VE7DMTAF.js.map +1 -0
- package/lib/index.d.ts +24 -3
- package/lib/index.js +4 -2
- package/lib/index.js.map +1 -1
- package/lib/{processor-DwZlMkFj.d.ts → processor-HNY62jHs.d.ts} +7 -23
- package/lib/processor-runner.d.ts +0 -33
- package/lib/processor-runner.js +8597 -10812
- package/lib/processor-runner.js.map +1 -1
- package/lib/service-worker.js +8 -6
- package/lib/service-worker.js.map +1 -1
- package/lib/test-processor.test.d.ts +1 -1
- package/lib/test-processor.test.js.map +1 -1
- package/package.json +5 -7
- package/src/endpoints.ts +4 -4
- package/src/gen/processor/protos/processor.ts +59 -356
- package/src/gen/service/common/protos/common.ts +6 -0
- package/src/otlp.ts +5 -6
- package/src/processor-runner-program.ts +57 -0
- package/src/processor-runner.ts +19 -49
- package/src/service-manager.ts +5 -3
- package/src/service-v3.ts +6 -8
- package/src/service-worker.ts +6 -5
- package/src/service.ts +3 -2
- package/lib/chunk-4M76KZSL.js.map +0 -1
- package/lib/chunk-XO4AFKZ6.js.map +0 -1
- /package/lib/{chunk-DPHTMNDV.js.map → chunk-PCB4OKW7.js.map} +0 -0
|
@@ -1,43 +1,8 @@
|
|
|
1
1
|
import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
9
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
10
|
-
}) : x)(function(x) {
|
|
11
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
12
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
|
-
});
|
|
14
|
-
var __esm = (fn, res) => function __init() {
|
|
15
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
16
|
-
};
|
|
17
|
-
var __commonJS = (cb, mod2) => function __require2() {
|
|
18
|
-
return mod2 || (0, cb[__getOwnPropNames(cb)[0]])((mod2 = { exports: {} }).exports, mod2), mod2.exports;
|
|
19
|
-
};
|
|
20
|
-
var __export = (target, all) => {
|
|
21
|
-
for (var name in all)
|
|
22
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
23
|
-
};
|
|
24
|
-
var __copyProps = (to, from, except, desc) => {
|
|
25
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
26
|
-
for (let key of __getOwnPropNames(from))
|
|
27
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
28
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
29
|
-
}
|
|
30
|
-
return to;
|
|
31
|
-
};
|
|
32
|
-
var __toESM = (mod2, isNodeMode, target) => (target = mod2 != null ? __create(__getProtoOf(mod2)) : {}, __copyProps(
|
|
33
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
34
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
35
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
36
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
37
|
-
isNodeMode || !mod2 || !mod2.__esModule ? __defProp(target, "default", { value: mod2, enumerable: true }) : target,
|
|
38
|
-
mod2
|
|
39
|
-
));
|
|
40
|
-
var __toCommonJS = (mod2) => __copyProps(__defProp({}, "__esModule", { value: true }), mod2);
|
|
2
|
+
import {
|
|
3
|
+
__commonJS,
|
|
4
|
+
__toESM
|
|
5
|
+
} from "./chunk-KVSDPGUI.js";
|
|
41
6
|
|
|
42
7
|
// ../../node_modules/.pnpm/@protobufjs+aspromise@1.1.2/node_modules/@protobufjs/aspromise/index.js
|
|
43
8
|
var require_aspromise = __commonJS({
|
|
@@ -535,9 +500,9 @@ var require_pool = __commonJS({
|
|
|
535
500
|
}
|
|
536
501
|
});
|
|
537
502
|
|
|
538
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
503
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/util/longbits.js
|
|
539
504
|
var require_longbits = __commonJS({
|
|
540
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
505
|
+
"../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/util/longbits.js"(exports2, module2) {
|
|
541
506
|
"use strict";
|
|
542
507
|
module2.exports = LongBits;
|
|
543
508
|
var util = require_minimal();
|
|
@@ -637,9 +602,9 @@ var require_longbits = __commonJS({
|
|
|
637
602
|
}
|
|
638
603
|
});
|
|
639
604
|
|
|
640
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
605
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/util/minimal.js
|
|
641
606
|
var require_minimal = __commonJS({
|
|
642
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
607
|
+
"../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/util/minimal.js"(exports2) {
|
|
643
608
|
"use strict";
|
|
644
609
|
var util = exports2;
|
|
645
610
|
util.asPromise = require_aspromise();
|
|
@@ -684,8 +649,8 @@ var require_minimal = __commonJS({
|
|
|
684
649
|
};
|
|
685
650
|
util.Buffer = function() {
|
|
686
651
|
try {
|
|
687
|
-
var
|
|
688
|
-
return
|
|
652
|
+
var Buffer = util.inquire("buffer").Buffer;
|
|
653
|
+
return Buffer.prototype.utf8Write ? Buffer : (
|
|
689
654
|
/* istanbul ignore next */
|
|
690
655
|
null
|
|
691
656
|
);
|
|
@@ -795,26 +760,26 @@ var require_minimal = __commonJS({
|
|
|
795
760
|
json: true
|
|
796
761
|
};
|
|
797
762
|
util._configure = function() {
|
|
798
|
-
var
|
|
799
|
-
if (!
|
|
763
|
+
var Buffer = util.Buffer;
|
|
764
|
+
if (!Buffer) {
|
|
800
765
|
util._Buffer_from = util._Buffer_allocUnsafe = null;
|
|
801
766
|
return;
|
|
802
767
|
}
|
|
803
|
-
util._Buffer_from =
|
|
768
|
+
util._Buffer_from = Buffer.from !== Uint8Array.from && Buffer.from || /* istanbul ignore next */
|
|
804
769
|
function Buffer_from(value, encoding) {
|
|
805
|
-
return new
|
|
770
|
+
return new Buffer(value, encoding);
|
|
806
771
|
};
|
|
807
|
-
util._Buffer_allocUnsafe =
|
|
772
|
+
util._Buffer_allocUnsafe = Buffer.allocUnsafe || /* istanbul ignore next */
|
|
808
773
|
function Buffer_allocUnsafe(size) {
|
|
809
|
-
return new
|
|
774
|
+
return new Buffer(size);
|
|
810
775
|
};
|
|
811
776
|
};
|
|
812
777
|
}
|
|
813
778
|
});
|
|
814
779
|
|
|
815
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
780
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/writer.js
|
|
816
781
|
var require_writer = __commonJS({
|
|
817
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
782
|
+
"../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/writer.js"(exports2, module2) {
|
|
818
783
|
"use strict";
|
|
819
784
|
module2.exports = Writer;
|
|
820
785
|
var util = require_minimal();
|
|
@@ -1003,9 +968,9 @@ var require_writer = __commonJS({
|
|
|
1003
968
|
}
|
|
1004
969
|
});
|
|
1005
970
|
|
|
1006
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
971
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/writer_buffer.js
|
|
1007
972
|
var require_writer_buffer = __commonJS({
|
|
1008
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
973
|
+
"../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/writer_buffer.js"(exports2, module2) {
|
|
1009
974
|
"use strict";
|
|
1010
975
|
module2.exports = BufferWriter;
|
|
1011
976
|
var Writer = require_writer();
|
|
@@ -1053,9 +1018,9 @@ var require_writer_buffer = __commonJS({
|
|
|
1053
1018
|
}
|
|
1054
1019
|
});
|
|
1055
1020
|
|
|
1056
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
1021
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/reader.js
|
|
1057
1022
|
var require_reader = __commonJS({
|
|
1058
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
1023
|
+
"../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/reader.js"(exports2, module2) {
|
|
1059
1024
|
"use strict";
|
|
1060
1025
|
module2.exports = Reader;
|
|
1061
1026
|
var util = require_minimal();
|
|
@@ -1277,9 +1242,9 @@ var require_reader = __commonJS({
|
|
|
1277
1242
|
}
|
|
1278
1243
|
});
|
|
1279
1244
|
|
|
1280
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
1245
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/reader_buffer.js
|
|
1281
1246
|
var require_reader_buffer = __commonJS({
|
|
1282
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
1247
|
+
"../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/reader_buffer.js"(exports2, module2) {
|
|
1283
1248
|
"use strict";
|
|
1284
1249
|
module2.exports = BufferReader;
|
|
1285
1250
|
var Reader = require_reader();
|
|
@@ -1300,9 +1265,9 @@ var require_reader_buffer = __commonJS({
|
|
|
1300
1265
|
}
|
|
1301
1266
|
});
|
|
1302
1267
|
|
|
1303
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
1268
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/rpc/service.js
|
|
1304
1269
|
var require_service = __commonJS({
|
|
1305
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
1270
|
+
"../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/rpc/service.js"(exports2, module2) {
|
|
1306
1271
|
"use strict";
|
|
1307
1272
|
module2.exports = Service;
|
|
1308
1273
|
var util = require_minimal();
|
|
@@ -1375,26 +1340,26 @@ var require_service = __commonJS({
|
|
|
1375
1340
|
}
|
|
1376
1341
|
});
|
|
1377
1342
|
|
|
1378
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
1343
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/rpc.js
|
|
1379
1344
|
var require_rpc = __commonJS({
|
|
1380
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
1345
|
+
"../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/rpc.js"(exports2) {
|
|
1381
1346
|
"use strict";
|
|
1382
1347
|
var rpc = exports2;
|
|
1383
1348
|
rpc.Service = require_service();
|
|
1384
1349
|
}
|
|
1385
1350
|
});
|
|
1386
1351
|
|
|
1387
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
1352
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/roots.js
|
|
1388
1353
|
var require_roots = __commonJS({
|
|
1389
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
1354
|
+
"../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/roots.js"(exports2, module2) {
|
|
1390
1355
|
"use strict";
|
|
1391
1356
|
module2.exports = {};
|
|
1392
1357
|
}
|
|
1393
1358
|
});
|
|
1394
1359
|
|
|
1395
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
1360
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/index-minimal.js
|
|
1396
1361
|
var require_index_minimal = __commonJS({
|
|
1397
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
1362
|
+
"../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/src/index-minimal.js"(exports2) {
|
|
1398
1363
|
"use strict";
|
|
1399
1364
|
var protobuf = exports2;
|
|
1400
1365
|
protobuf.build = "minimal";
|
|
@@ -1415,9 +1380,9 @@ var require_index_minimal = __commonJS({
|
|
|
1415
1380
|
}
|
|
1416
1381
|
});
|
|
1417
1382
|
|
|
1418
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
|
1383
|
+
// ../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/minimal.js
|
|
1419
1384
|
var require_minimal2 = __commonJS({
|
|
1420
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
|
1385
|
+
"../../node_modules/.pnpm/protobufjs@7.5.4/node_modules/protobufjs/minimal.js"(exports2, module2) {
|
|
1421
1386
|
"use strict";
|
|
1422
1387
|
module2.exports = require_index_minimal();
|
|
1423
1388
|
}
|
|
@@ -2915,6 +2880,7 @@ var NotificationType;
|
|
|
2915
2880
|
NotificationType2[NotificationType2["BILLING_INVOICE"] = 301] = "BILLING_INVOICE";
|
|
2916
2881
|
NotificationType2[NotificationType2["BILLING_PAYMENT"] = 302] = "BILLING_PAYMENT";
|
|
2917
2882
|
NotificationType2[NotificationType2["BILLING_SUBSCRIPTION"] = 303] = "BILLING_SUBSCRIPTION";
|
|
2883
|
+
NotificationType2[NotificationType2["BILLING_USAGE"] = 304] = "BILLING_USAGE";
|
|
2918
2884
|
NotificationType2[NotificationType2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2919
2885
|
})(NotificationType || (NotificationType = {}));
|
|
2920
2886
|
var UsageTracker_CustomSkus_SkuOp;
|
|
@@ -4358,6 +4324,37 @@ function logLevelToJSON(object) {
|
|
|
4358
4324
|
return "UNRECOGNIZED";
|
|
4359
4325
|
}
|
|
4360
4326
|
}
|
|
4327
|
+
var ExecutionConfig_HandlerOrderInsideTransaction;
|
|
4328
|
+
(function(ExecutionConfig_HandlerOrderInsideTransaction2) {
|
|
4329
|
+
ExecutionConfig_HandlerOrderInsideTransaction2[ExecutionConfig_HandlerOrderInsideTransaction2["BY_LOG_INDEX"] = 0] = "BY_LOG_INDEX";
|
|
4330
|
+
ExecutionConfig_HandlerOrderInsideTransaction2[ExecutionConfig_HandlerOrderInsideTransaction2["BY_PROCESSOR_AND_LOG_INDEX"] = 1] = "BY_PROCESSOR_AND_LOG_INDEX";
|
|
4331
|
+
ExecutionConfig_HandlerOrderInsideTransaction2[ExecutionConfig_HandlerOrderInsideTransaction2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
4332
|
+
})(ExecutionConfig_HandlerOrderInsideTransaction || (ExecutionConfig_HandlerOrderInsideTransaction = {}));
|
|
4333
|
+
function executionConfig_HandlerOrderInsideTransactionFromJSON(object) {
|
|
4334
|
+
switch (object) {
|
|
4335
|
+
case 0:
|
|
4336
|
+
case "BY_LOG_INDEX":
|
|
4337
|
+
return ExecutionConfig_HandlerOrderInsideTransaction.BY_LOG_INDEX;
|
|
4338
|
+
case 1:
|
|
4339
|
+
case "BY_PROCESSOR_AND_LOG_INDEX":
|
|
4340
|
+
return ExecutionConfig_HandlerOrderInsideTransaction.BY_PROCESSOR_AND_LOG_INDEX;
|
|
4341
|
+
case -1:
|
|
4342
|
+
case "UNRECOGNIZED":
|
|
4343
|
+
default:
|
|
4344
|
+
return ExecutionConfig_HandlerOrderInsideTransaction.UNRECOGNIZED;
|
|
4345
|
+
}
|
|
4346
|
+
}
|
|
4347
|
+
function executionConfig_HandlerOrderInsideTransactionToJSON(object) {
|
|
4348
|
+
switch (object) {
|
|
4349
|
+
case ExecutionConfig_HandlerOrderInsideTransaction.BY_LOG_INDEX:
|
|
4350
|
+
return "BY_LOG_INDEX";
|
|
4351
|
+
case ExecutionConfig_HandlerOrderInsideTransaction.BY_PROCESSOR_AND_LOG_INDEX:
|
|
4352
|
+
return "BY_PROCESSOR_AND_LOG_INDEX";
|
|
4353
|
+
case ExecutionConfig_HandlerOrderInsideTransaction.UNRECOGNIZED:
|
|
4354
|
+
default:
|
|
4355
|
+
return "UNRECOGNIZED";
|
|
4356
|
+
}
|
|
4357
|
+
}
|
|
4361
4358
|
var TotalPerEntityAggregation_Type;
|
|
4362
4359
|
(function(TotalPerEntityAggregation_Type2) {
|
|
4363
4360
|
TotalPerEntityAggregation_Type2[TotalPerEntityAggregation_Type2["AVG"] = 0] = "AVG";
|
|
@@ -4691,6 +4688,7 @@ function createBaseExecutionConfig() {
|
|
|
4691
4688
|
return {
|
|
4692
4689
|
sequential: false,
|
|
4693
4690
|
forceExactBlockTime: false,
|
|
4691
|
+
handlerOrderInsideTransaction: 0,
|
|
4694
4692
|
processBindingTimeout: 0,
|
|
4695
4693
|
skipStartBlockValidation: false,
|
|
4696
4694
|
rpcRetryTimes: 0,
|
|
@@ -4705,6 +4703,9 @@ var ExecutionConfig = {
|
|
|
4705
4703
|
if (message.forceExactBlockTime !== false) {
|
|
4706
4704
|
writer.uint32(16).bool(message.forceExactBlockTime);
|
|
4707
4705
|
}
|
|
4706
|
+
if (message.handlerOrderInsideTransaction !== 0) {
|
|
4707
|
+
writer.uint32(56).int32(message.handlerOrderInsideTransaction);
|
|
4708
|
+
}
|
|
4708
4709
|
if (message.processBindingTimeout !== 0) {
|
|
4709
4710
|
writer.uint32(24).int32(message.processBindingTimeout);
|
|
4710
4711
|
}
|
|
@@ -4738,6 +4739,12 @@ var ExecutionConfig = {
|
|
|
4738
4739
|
}
|
|
4739
4740
|
message.forceExactBlockTime = reader.bool();
|
|
4740
4741
|
continue;
|
|
4742
|
+
case 7:
|
|
4743
|
+
if (tag !== 56) {
|
|
4744
|
+
break;
|
|
4745
|
+
}
|
|
4746
|
+
message.handlerOrderInsideTransaction = reader.int32();
|
|
4747
|
+
continue;
|
|
4741
4748
|
case 3:
|
|
4742
4749
|
if (tag !== 24) {
|
|
4743
4750
|
break;
|
|
@@ -4774,6 +4781,7 @@ var ExecutionConfig = {
|
|
|
4774
4781
|
return {
|
|
4775
4782
|
sequential: isSet4(object.sequential) ? globalThis.Boolean(object.sequential) : false,
|
|
4776
4783
|
forceExactBlockTime: isSet4(object.forceExactBlockTime) ? globalThis.Boolean(object.forceExactBlockTime) : false,
|
|
4784
|
+
handlerOrderInsideTransaction: isSet4(object.handlerOrderInsideTransaction) ? executionConfig_HandlerOrderInsideTransactionFromJSON(object.handlerOrderInsideTransaction) : 0,
|
|
4777
4785
|
processBindingTimeout: isSet4(object.processBindingTimeout) ? globalThis.Number(object.processBindingTimeout) : 0,
|
|
4778
4786
|
skipStartBlockValidation: isSet4(object.skipStartBlockValidation) ? globalThis.Boolean(object.skipStartBlockValidation) : false,
|
|
4779
4787
|
rpcRetryTimes: isSet4(object.rpcRetryTimes) ? globalThis.Number(object.rpcRetryTimes) : 0,
|
|
@@ -4788,6 +4796,9 @@ var ExecutionConfig = {
|
|
|
4788
4796
|
if (message.forceExactBlockTime !== false) {
|
|
4789
4797
|
obj.forceExactBlockTime = message.forceExactBlockTime;
|
|
4790
4798
|
}
|
|
4799
|
+
if (message.handlerOrderInsideTransaction !== 0) {
|
|
4800
|
+
obj.handlerOrderInsideTransaction = executionConfig_HandlerOrderInsideTransactionToJSON(message.handlerOrderInsideTransaction);
|
|
4801
|
+
}
|
|
4791
4802
|
if (message.processBindingTimeout !== 0) {
|
|
4792
4803
|
obj.processBindingTimeout = Math.round(message.processBindingTimeout);
|
|
4793
4804
|
}
|
|
@@ -4809,6 +4820,7 @@ var ExecutionConfig = {
|
|
|
4809
4820
|
const message = createBaseExecutionConfig();
|
|
4810
4821
|
message.sequential = object.sequential ?? false;
|
|
4811
4822
|
message.forceExactBlockTime = object.forceExactBlockTime ?? false;
|
|
4823
|
+
message.handlerOrderInsideTransaction = object.handlerOrderInsideTransaction ?? 0;
|
|
4812
4824
|
message.processBindingTimeout = object.processBindingTimeout ?? 0;
|
|
4813
4825
|
message.skipStartBlockValidation = object.skipStartBlockValidation ?? false;
|
|
4814
4826
|
message.rpcRetryTimes = object.rpcRetryTimes ?? 0;
|
|
@@ -4941,7 +4953,6 @@ function createBaseProcessConfigResponse() {
|
|
|
4941
4953
|
templateInstances: [],
|
|
4942
4954
|
accountConfigs: [],
|
|
4943
4955
|
metricConfigs: [],
|
|
4944
|
-
eventTrackingConfigs: [],
|
|
4945
4956
|
exportConfigs: [],
|
|
4946
4957
|
eventLogConfigs: [],
|
|
4947
4958
|
dbSchema: void 0
|
|
@@ -4967,9 +4978,6 @@ var ProcessConfigResponse = {
|
|
|
4967
4978
|
for (const v of message.metricConfigs) {
|
|
4968
4979
|
MetricConfig.encode(v, writer.uint32(42).fork()).ldelim();
|
|
4969
4980
|
}
|
|
4970
|
-
for (const v of message.eventTrackingConfigs) {
|
|
4971
|
-
EventTrackingConfig.encode(v, writer.uint32(50).fork()).ldelim();
|
|
4972
|
-
}
|
|
4973
4981
|
for (const v of message.exportConfigs) {
|
|
4974
4982
|
ExportConfig.encode(v, writer.uint32(58).fork()).ldelim();
|
|
4975
4983
|
}
|
|
@@ -5024,12 +5032,6 @@ var ProcessConfigResponse = {
|
|
|
5024
5032
|
}
|
|
5025
5033
|
message.metricConfigs.push(MetricConfig.decode(reader, reader.uint32()));
|
|
5026
5034
|
continue;
|
|
5027
|
-
case 6:
|
|
5028
|
-
if (tag !== 50) {
|
|
5029
|
-
break;
|
|
5030
|
-
}
|
|
5031
|
-
message.eventTrackingConfigs.push(EventTrackingConfig.decode(reader, reader.uint32()));
|
|
5032
|
-
continue;
|
|
5033
5035
|
case 7:
|
|
5034
5036
|
if (tag !== 58) {
|
|
5035
5037
|
break;
|
|
@@ -5064,7 +5066,6 @@ var ProcessConfigResponse = {
|
|
|
5064
5066
|
templateInstances: globalThis.Array.isArray(object?.templateInstances) ? object.templateInstances.map((e) => TemplateInstance.fromJSON(e)) : [],
|
|
5065
5067
|
accountConfigs: globalThis.Array.isArray(object?.accountConfigs) ? object.accountConfigs.map((e) => AccountConfig.fromJSON(e)) : [],
|
|
5066
5068
|
metricConfigs: globalThis.Array.isArray(object?.metricConfigs) ? object.metricConfigs.map((e) => MetricConfig.fromJSON(e)) : [],
|
|
5067
|
-
eventTrackingConfigs: globalThis.Array.isArray(object?.eventTrackingConfigs) ? object.eventTrackingConfigs.map((e) => EventTrackingConfig.fromJSON(e)) : [],
|
|
5068
5069
|
exportConfigs: globalThis.Array.isArray(object?.exportConfigs) ? object.exportConfigs.map((e) => ExportConfig.fromJSON(e)) : [],
|
|
5069
5070
|
eventLogConfigs: globalThis.Array.isArray(object?.eventLogConfigs) ? object.eventLogConfigs.map((e) => EventLogConfig.fromJSON(e)) : [],
|
|
5070
5071
|
dbSchema: isSet4(object.dbSchema) ? DataBaseSchema.fromJSON(object.dbSchema) : void 0
|
|
@@ -5090,9 +5091,6 @@ var ProcessConfigResponse = {
|
|
|
5090
5091
|
if (message.metricConfigs?.length) {
|
|
5091
5092
|
obj.metricConfigs = message.metricConfigs.map((e) => MetricConfig.toJSON(e));
|
|
5092
5093
|
}
|
|
5093
|
-
if (message.eventTrackingConfigs?.length) {
|
|
5094
|
-
obj.eventTrackingConfigs = message.eventTrackingConfigs.map((e) => EventTrackingConfig.toJSON(e));
|
|
5095
|
-
}
|
|
5096
5094
|
if (message.exportConfigs?.length) {
|
|
5097
5095
|
obj.exportConfigs = message.exportConfigs.map((e) => ExportConfig.toJSON(e));
|
|
5098
5096
|
}
|
|
@@ -5115,7 +5113,6 @@ var ProcessConfigResponse = {
|
|
|
5115
5113
|
message.templateInstances = object.templateInstances?.map((e) => TemplateInstance.fromPartial(e)) || [];
|
|
5116
5114
|
message.accountConfigs = object.accountConfigs?.map((e) => AccountConfig.fromPartial(e)) || [];
|
|
5117
5115
|
message.metricConfigs = object.metricConfigs?.map((e) => MetricConfig.fromPartial(e)) || [];
|
|
5118
|
-
message.eventTrackingConfigs = object.eventTrackingConfigs?.map((e) => EventTrackingConfig.fromPartial(e)) || [];
|
|
5119
5116
|
message.exportConfigs = object.exportConfigs?.map((e) => ExportConfig.fromPartial(e)) || [];
|
|
5120
5117
|
message.eventLogConfigs = object.eventLogConfigs?.map((e) => EventLogConfig.fromPartial(e)) || [];
|
|
5121
5118
|
message.dbSchema = object.dbSchema !== void 0 && object.dbSchema !== null ? DataBaseSchema.fromPartial(object.dbSchema) : void 0;
|
|
@@ -5502,247 +5499,6 @@ var DataBaseSchema = {
|
|
|
5502
5499
|
return message;
|
|
5503
5500
|
}
|
|
5504
5501
|
};
|
|
5505
|
-
function createBaseTotalPerEntityAggregation() {
|
|
5506
|
-
return {};
|
|
5507
|
-
}
|
|
5508
|
-
var TotalPerEntityAggregation = {
|
|
5509
|
-
encode(_, writer = import_minimal6.default.Writer.create()) {
|
|
5510
|
-
return writer;
|
|
5511
|
-
},
|
|
5512
|
-
decode(input, length) {
|
|
5513
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
5514
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
5515
|
-
const message = createBaseTotalPerEntityAggregation();
|
|
5516
|
-
while (reader.pos < end) {
|
|
5517
|
-
const tag = reader.uint32();
|
|
5518
|
-
switch (tag >>> 3) {
|
|
5519
|
-
}
|
|
5520
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
5521
|
-
break;
|
|
5522
|
-
}
|
|
5523
|
-
reader.skipType(tag & 7);
|
|
5524
|
-
}
|
|
5525
|
-
return message;
|
|
5526
|
-
},
|
|
5527
|
-
fromJSON(_) {
|
|
5528
|
-
return {};
|
|
5529
|
-
},
|
|
5530
|
-
toJSON(_) {
|
|
5531
|
-
const obj = {};
|
|
5532
|
-
return obj;
|
|
5533
|
-
},
|
|
5534
|
-
create(base) {
|
|
5535
|
-
return TotalPerEntityAggregation.fromPartial(base ?? {});
|
|
5536
|
-
},
|
|
5537
|
-
fromPartial(_) {
|
|
5538
|
-
const message = createBaseTotalPerEntityAggregation();
|
|
5539
|
-
return message;
|
|
5540
|
-
}
|
|
5541
|
-
};
|
|
5542
|
-
function createBaseRetentionConfig() {
|
|
5543
|
-
return { retentionEventName: "", days: 0 };
|
|
5544
|
-
}
|
|
5545
|
-
var RetentionConfig = {
|
|
5546
|
-
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
5547
|
-
if (message.retentionEventName !== "") {
|
|
5548
|
-
writer.uint32(18).string(message.retentionEventName);
|
|
5549
|
-
}
|
|
5550
|
-
if (message.days !== 0) {
|
|
5551
|
-
writer.uint32(24).int32(message.days);
|
|
5552
|
-
}
|
|
5553
|
-
return writer;
|
|
5554
|
-
},
|
|
5555
|
-
decode(input, length) {
|
|
5556
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
5557
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
5558
|
-
const message = createBaseRetentionConfig();
|
|
5559
|
-
while (reader.pos < end) {
|
|
5560
|
-
const tag = reader.uint32();
|
|
5561
|
-
switch (tag >>> 3) {
|
|
5562
|
-
case 2:
|
|
5563
|
-
if (tag !== 18) {
|
|
5564
|
-
break;
|
|
5565
|
-
}
|
|
5566
|
-
message.retentionEventName = reader.string();
|
|
5567
|
-
continue;
|
|
5568
|
-
case 3:
|
|
5569
|
-
if (tag !== 24) {
|
|
5570
|
-
break;
|
|
5571
|
-
}
|
|
5572
|
-
message.days = reader.int32();
|
|
5573
|
-
continue;
|
|
5574
|
-
}
|
|
5575
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
5576
|
-
break;
|
|
5577
|
-
}
|
|
5578
|
-
reader.skipType(tag & 7);
|
|
5579
|
-
}
|
|
5580
|
-
return message;
|
|
5581
|
-
},
|
|
5582
|
-
fromJSON(object) {
|
|
5583
|
-
return {
|
|
5584
|
-
retentionEventName: isSet4(object.retentionEventName) ? globalThis.String(object.retentionEventName) : "",
|
|
5585
|
-
days: isSet4(object.days) ? globalThis.Number(object.days) : 0
|
|
5586
|
-
};
|
|
5587
|
-
},
|
|
5588
|
-
toJSON(message) {
|
|
5589
|
-
const obj = {};
|
|
5590
|
-
if (message.retentionEventName !== "") {
|
|
5591
|
-
obj.retentionEventName = message.retentionEventName;
|
|
5592
|
-
}
|
|
5593
|
-
if (message.days !== 0) {
|
|
5594
|
-
obj.days = Math.round(message.days);
|
|
5595
|
-
}
|
|
5596
|
-
return obj;
|
|
5597
|
-
},
|
|
5598
|
-
create(base) {
|
|
5599
|
-
return RetentionConfig.fromPartial(base ?? {});
|
|
5600
|
-
},
|
|
5601
|
-
fromPartial(object) {
|
|
5602
|
-
const message = createBaseRetentionConfig();
|
|
5603
|
-
message.retentionEventName = object.retentionEventName ?? "";
|
|
5604
|
-
message.days = object.days ?? 0;
|
|
5605
|
-
return message;
|
|
5606
|
-
}
|
|
5607
|
-
};
|
|
5608
|
-
function createBaseEventTrackingConfig() {
|
|
5609
|
-
return {
|
|
5610
|
-
eventName: "",
|
|
5611
|
-
totalByDay: false,
|
|
5612
|
-
unique: false,
|
|
5613
|
-
totalPerEntity: void 0,
|
|
5614
|
-
distinctAggregationByDays: [],
|
|
5615
|
-
retentionConfig: void 0
|
|
5616
|
-
};
|
|
5617
|
-
}
|
|
5618
|
-
var EventTrackingConfig = {
|
|
5619
|
-
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
5620
|
-
if (message.eventName !== "") {
|
|
5621
|
-
writer.uint32(10).string(message.eventName);
|
|
5622
|
-
}
|
|
5623
|
-
if (message.totalByDay !== false) {
|
|
5624
|
-
writer.uint32(16).bool(message.totalByDay);
|
|
5625
|
-
}
|
|
5626
|
-
if (message.unique !== false) {
|
|
5627
|
-
writer.uint32(24).bool(message.unique);
|
|
5628
|
-
}
|
|
5629
|
-
if (message.totalPerEntity !== void 0) {
|
|
5630
|
-
TotalPerEntityAggregation.encode(message.totalPerEntity, writer.uint32(34).fork()).ldelim();
|
|
5631
|
-
}
|
|
5632
|
-
writer.uint32(42).fork();
|
|
5633
|
-
for (const v of message.distinctAggregationByDays) {
|
|
5634
|
-
writer.int32(v);
|
|
5635
|
-
}
|
|
5636
|
-
writer.ldelim();
|
|
5637
|
-
if (message.retentionConfig !== void 0) {
|
|
5638
|
-
RetentionConfig.encode(message.retentionConfig, writer.uint32(50).fork()).ldelim();
|
|
5639
|
-
}
|
|
5640
|
-
return writer;
|
|
5641
|
-
},
|
|
5642
|
-
decode(input, length) {
|
|
5643
|
-
const reader = input instanceof import_minimal6.default.Reader ? input : import_minimal6.default.Reader.create(input);
|
|
5644
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
5645
|
-
const message = createBaseEventTrackingConfig();
|
|
5646
|
-
while (reader.pos < end) {
|
|
5647
|
-
const tag = reader.uint32();
|
|
5648
|
-
switch (tag >>> 3) {
|
|
5649
|
-
case 1:
|
|
5650
|
-
if (tag !== 10) {
|
|
5651
|
-
break;
|
|
5652
|
-
}
|
|
5653
|
-
message.eventName = reader.string();
|
|
5654
|
-
continue;
|
|
5655
|
-
case 2:
|
|
5656
|
-
if (tag !== 16) {
|
|
5657
|
-
break;
|
|
5658
|
-
}
|
|
5659
|
-
message.totalByDay = reader.bool();
|
|
5660
|
-
continue;
|
|
5661
|
-
case 3:
|
|
5662
|
-
if (tag !== 24) {
|
|
5663
|
-
break;
|
|
5664
|
-
}
|
|
5665
|
-
message.unique = reader.bool();
|
|
5666
|
-
continue;
|
|
5667
|
-
case 4:
|
|
5668
|
-
if (tag !== 34) {
|
|
5669
|
-
break;
|
|
5670
|
-
}
|
|
5671
|
-
message.totalPerEntity = TotalPerEntityAggregation.decode(reader, reader.uint32());
|
|
5672
|
-
continue;
|
|
5673
|
-
case 5:
|
|
5674
|
-
if (tag === 40) {
|
|
5675
|
-
message.distinctAggregationByDays.push(reader.int32());
|
|
5676
|
-
continue;
|
|
5677
|
-
}
|
|
5678
|
-
if (tag === 42) {
|
|
5679
|
-
const end2 = reader.uint32() + reader.pos;
|
|
5680
|
-
while (reader.pos < end2) {
|
|
5681
|
-
message.distinctAggregationByDays.push(reader.int32());
|
|
5682
|
-
}
|
|
5683
|
-
continue;
|
|
5684
|
-
}
|
|
5685
|
-
break;
|
|
5686
|
-
case 6:
|
|
5687
|
-
if (tag !== 50) {
|
|
5688
|
-
break;
|
|
5689
|
-
}
|
|
5690
|
-
message.retentionConfig = RetentionConfig.decode(reader, reader.uint32());
|
|
5691
|
-
continue;
|
|
5692
|
-
}
|
|
5693
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
5694
|
-
break;
|
|
5695
|
-
}
|
|
5696
|
-
reader.skipType(tag & 7);
|
|
5697
|
-
}
|
|
5698
|
-
return message;
|
|
5699
|
-
},
|
|
5700
|
-
fromJSON(object) {
|
|
5701
|
-
return {
|
|
5702
|
-
eventName: isSet4(object.eventName) ? globalThis.String(object.eventName) : "",
|
|
5703
|
-
totalByDay: isSet4(object.totalByDay) ? globalThis.Boolean(object.totalByDay) : false,
|
|
5704
|
-
unique: isSet4(object.unique) ? globalThis.Boolean(object.unique) : false,
|
|
5705
|
-
totalPerEntity: isSet4(object.totalPerEntity) ? TotalPerEntityAggregation.fromJSON(object.totalPerEntity) : void 0,
|
|
5706
|
-
distinctAggregationByDays: globalThis.Array.isArray(object?.distinctAggregationByDays) ? object.distinctAggregationByDays.map((e) => globalThis.Number(e)) : [],
|
|
5707
|
-
retentionConfig: isSet4(object.retentionConfig) ? RetentionConfig.fromJSON(object.retentionConfig) : void 0
|
|
5708
|
-
};
|
|
5709
|
-
},
|
|
5710
|
-
toJSON(message) {
|
|
5711
|
-
const obj = {};
|
|
5712
|
-
if (message.eventName !== "") {
|
|
5713
|
-
obj.eventName = message.eventName;
|
|
5714
|
-
}
|
|
5715
|
-
if (message.totalByDay !== false) {
|
|
5716
|
-
obj.totalByDay = message.totalByDay;
|
|
5717
|
-
}
|
|
5718
|
-
if (message.unique !== false) {
|
|
5719
|
-
obj.unique = message.unique;
|
|
5720
|
-
}
|
|
5721
|
-
if (message.totalPerEntity !== void 0) {
|
|
5722
|
-
obj.totalPerEntity = TotalPerEntityAggregation.toJSON(message.totalPerEntity);
|
|
5723
|
-
}
|
|
5724
|
-
if (message.distinctAggregationByDays?.length) {
|
|
5725
|
-
obj.distinctAggregationByDays = message.distinctAggregationByDays.map((e) => Math.round(e));
|
|
5726
|
-
}
|
|
5727
|
-
if (message.retentionConfig !== void 0) {
|
|
5728
|
-
obj.retentionConfig = RetentionConfig.toJSON(message.retentionConfig);
|
|
5729
|
-
}
|
|
5730
|
-
return obj;
|
|
5731
|
-
},
|
|
5732
|
-
create(base) {
|
|
5733
|
-
return EventTrackingConfig.fromPartial(base ?? {});
|
|
5734
|
-
},
|
|
5735
|
-
fromPartial(object) {
|
|
5736
|
-
const message = createBaseEventTrackingConfig();
|
|
5737
|
-
message.eventName = object.eventName ?? "";
|
|
5738
|
-
message.totalByDay = object.totalByDay ?? false;
|
|
5739
|
-
message.unique = object.unique ?? false;
|
|
5740
|
-
message.totalPerEntity = object.totalPerEntity !== void 0 && object.totalPerEntity !== null ? TotalPerEntityAggregation.fromPartial(object.totalPerEntity) : void 0;
|
|
5741
|
-
message.distinctAggregationByDays = object.distinctAggregationByDays?.map((e) => e) || [];
|
|
5742
|
-
message.retentionConfig = object.retentionConfig !== void 0 && object.retentionConfig !== null ? RetentionConfig.fromPartial(object.retentionConfig) : void 0;
|
|
5743
|
-
return message;
|
|
5744
|
-
}
|
|
5745
|
-
};
|
|
5746
5502
|
function createBaseExportConfig() {
|
|
5747
5503
|
return { name: "", channel: "" };
|
|
5748
5504
|
}
|
|
@@ -16932,6 +16688,31 @@ function logLevelToJSON2(object) {
|
|
|
16932
16688
|
return "UNRECOGNIZED";
|
|
16933
16689
|
}
|
|
16934
16690
|
}
|
|
16691
|
+
function executionConfig_HandlerOrderInsideTransactionFromJSON2(object) {
|
|
16692
|
+
switch (object) {
|
|
16693
|
+
case 0:
|
|
16694
|
+
case "BY_LOG_INDEX":
|
|
16695
|
+
return 0 /* BY_LOG_INDEX */;
|
|
16696
|
+
case 1:
|
|
16697
|
+
case "BY_PROCESSOR_AND_LOG_INDEX":
|
|
16698
|
+
return 1 /* BY_PROCESSOR_AND_LOG_INDEX */;
|
|
16699
|
+
case -1:
|
|
16700
|
+
case "UNRECOGNIZED":
|
|
16701
|
+
default:
|
|
16702
|
+
return -1 /* UNRECOGNIZED */;
|
|
16703
|
+
}
|
|
16704
|
+
}
|
|
16705
|
+
function executionConfig_HandlerOrderInsideTransactionToJSON2(object) {
|
|
16706
|
+
switch (object) {
|
|
16707
|
+
case 0 /* BY_LOG_INDEX */:
|
|
16708
|
+
return "BY_LOG_INDEX";
|
|
16709
|
+
case 1 /* BY_PROCESSOR_AND_LOG_INDEX */:
|
|
16710
|
+
return "BY_PROCESSOR_AND_LOG_INDEX";
|
|
16711
|
+
case -1 /* UNRECOGNIZED */:
|
|
16712
|
+
default:
|
|
16713
|
+
return "UNRECOGNIZED";
|
|
16714
|
+
}
|
|
16715
|
+
}
|
|
16935
16716
|
function eventLogConfig_BasicFieldTypeFromJSON2(object) {
|
|
16936
16717
|
switch (object) {
|
|
16937
16718
|
case 0:
|
|
@@ -17212,6 +16993,7 @@ function createBaseExecutionConfig2() {
|
|
|
17212
16993
|
return {
|
|
17213
16994
|
sequential: false,
|
|
17214
16995
|
forceExactBlockTime: false,
|
|
16996
|
+
handlerOrderInsideTransaction: 0,
|
|
17215
16997
|
processBindingTimeout: 0,
|
|
17216
16998
|
skipStartBlockValidation: false,
|
|
17217
16999
|
rpcRetryTimes: 0,
|
|
@@ -17226,6 +17008,9 @@ var ExecutionConfig2 = {
|
|
|
17226
17008
|
if (message.forceExactBlockTime !== false) {
|
|
17227
17009
|
writer.uint32(16).bool(message.forceExactBlockTime);
|
|
17228
17010
|
}
|
|
17011
|
+
if (message.handlerOrderInsideTransaction !== 0) {
|
|
17012
|
+
writer.uint32(56).int32(message.handlerOrderInsideTransaction);
|
|
17013
|
+
}
|
|
17229
17014
|
if (message.processBindingTimeout !== 0) {
|
|
17230
17015
|
writer.uint32(24).int32(message.processBindingTimeout);
|
|
17231
17016
|
}
|
|
@@ -17259,6 +17044,12 @@ var ExecutionConfig2 = {
|
|
|
17259
17044
|
}
|
|
17260
17045
|
message.forceExactBlockTime = reader.bool();
|
|
17261
17046
|
continue;
|
|
17047
|
+
case 7:
|
|
17048
|
+
if (tag !== 56) {
|
|
17049
|
+
break;
|
|
17050
|
+
}
|
|
17051
|
+
message.handlerOrderInsideTransaction = reader.int32();
|
|
17052
|
+
continue;
|
|
17262
17053
|
case 3:
|
|
17263
17054
|
if (tag !== 24) {
|
|
17264
17055
|
break;
|
|
@@ -17295,6 +17086,7 @@ var ExecutionConfig2 = {
|
|
|
17295
17086
|
return {
|
|
17296
17087
|
sequential: isSet8(object.sequential) ? globalThis.Boolean(object.sequential) : false,
|
|
17297
17088
|
forceExactBlockTime: isSet8(object.forceExactBlockTime) ? globalThis.Boolean(object.forceExactBlockTime) : false,
|
|
17089
|
+
handlerOrderInsideTransaction: isSet8(object.handlerOrderInsideTransaction) ? executionConfig_HandlerOrderInsideTransactionFromJSON2(object.handlerOrderInsideTransaction) : 0,
|
|
17298
17090
|
processBindingTimeout: isSet8(object.processBindingTimeout) ? globalThis.Number(object.processBindingTimeout) : 0,
|
|
17299
17091
|
skipStartBlockValidation: isSet8(object.skipStartBlockValidation) ? globalThis.Boolean(object.skipStartBlockValidation) : false,
|
|
17300
17092
|
rpcRetryTimes: isSet8(object.rpcRetryTimes) ? globalThis.Number(object.rpcRetryTimes) : 0,
|
|
@@ -17309,6 +17101,11 @@ var ExecutionConfig2 = {
|
|
|
17309
17101
|
if (message.forceExactBlockTime !== false) {
|
|
17310
17102
|
obj.forceExactBlockTime = message.forceExactBlockTime;
|
|
17311
17103
|
}
|
|
17104
|
+
if (message.handlerOrderInsideTransaction !== 0) {
|
|
17105
|
+
obj.handlerOrderInsideTransaction = executionConfig_HandlerOrderInsideTransactionToJSON2(
|
|
17106
|
+
message.handlerOrderInsideTransaction
|
|
17107
|
+
);
|
|
17108
|
+
}
|
|
17312
17109
|
if (message.processBindingTimeout !== 0) {
|
|
17313
17110
|
obj.processBindingTimeout = Math.round(message.processBindingTimeout);
|
|
17314
17111
|
}
|
|
@@ -17330,6 +17127,7 @@ var ExecutionConfig2 = {
|
|
|
17330
17127
|
const message = createBaseExecutionConfig2();
|
|
17331
17128
|
message.sequential = object.sequential ?? false;
|
|
17332
17129
|
message.forceExactBlockTime = object.forceExactBlockTime ?? false;
|
|
17130
|
+
message.handlerOrderInsideTransaction = object.handlerOrderInsideTransaction ?? 0;
|
|
17333
17131
|
message.processBindingTimeout = object.processBindingTimeout ?? 0;
|
|
17334
17132
|
message.skipStartBlockValidation = object.skipStartBlockValidation ?? false;
|
|
17335
17133
|
message.rpcRetryTimes = object.rpcRetryTimes ?? 0;
|
|
@@ -17462,7 +17260,6 @@ function createBaseProcessConfigResponse2() {
|
|
|
17462
17260
|
templateInstances: [],
|
|
17463
17261
|
accountConfigs: [],
|
|
17464
17262
|
metricConfigs: [],
|
|
17465
|
-
eventTrackingConfigs: [],
|
|
17466
17263
|
exportConfigs: [],
|
|
17467
17264
|
eventLogConfigs: [],
|
|
17468
17265
|
dbSchema: void 0
|
|
@@ -17488,9 +17285,6 @@ var ProcessConfigResponse3 = {
|
|
|
17488
17285
|
for (const v of message.metricConfigs) {
|
|
17489
17286
|
MetricConfig2.encode(v, writer.uint32(42).fork()).ldelim();
|
|
17490
17287
|
}
|
|
17491
|
-
for (const v of message.eventTrackingConfigs) {
|
|
17492
|
-
EventTrackingConfig2.encode(v, writer.uint32(50).fork()).ldelim();
|
|
17493
|
-
}
|
|
17494
17288
|
for (const v of message.exportConfigs) {
|
|
17495
17289
|
ExportConfig2.encode(v, writer.uint32(58).fork()).ldelim();
|
|
17496
17290
|
}
|
|
@@ -17545,12 +17339,6 @@ var ProcessConfigResponse3 = {
|
|
|
17545
17339
|
}
|
|
17546
17340
|
message.metricConfigs.push(MetricConfig2.decode(reader, reader.uint32()));
|
|
17547
17341
|
continue;
|
|
17548
|
-
case 6:
|
|
17549
|
-
if (tag !== 50) {
|
|
17550
|
-
break;
|
|
17551
|
-
}
|
|
17552
|
-
message.eventTrackingConfigs.push(EventTrackingConfig2.decode(reader, reader.uint32()));
|
|
17553
|
-
continue;
|
|
17554
17342
|
case 7:
|
|
17555
17343
|
if (tag !== 58) {
|
|
17556
17344
|
break;
|
|
@@ -17585,7 +17373,6 @@ var ProcessConfigResponse3 = {
|
|
|
17585
17373
|
templateInstances: globalThis.Array.isArray(object?.templateInstances) ? object.templateInstances.map((e) => TemplateInstance2.fromJSON(e)) : [],
|
|
17586
17374
|
accountConfigs: globalThis.Array.isArray(object?.accountConfigs) ? object.accountConfigs.map((e) => AccountConfig2.fromJSON(e)) : [],
|
|
17587
17375
|
metricConfigs: globalThis.Array.isArray(object?.metricConfigs) ? object.metricConfigs.map((e) => MetricConfig2.fromJSON(e)) : [],
|
|
17588
|
-
eventTrackingConfigs: globalThis.Array.isArray(object?.eventTrackingConfigs) ? object.eventTrackingConfigs.map((e) => EventTrackingConfig2.fromJSON(e)) : [],
|
|
17589
17376
|
exportConfigs: globalThis.Array.isArray(object?.exportConfigs) ? object.exportConfigs.map((e) => ExportConfig2.fromJSON(e)) : [],
|
|
17590
17377
|
eventLogConfigs: globalThis.Array.isArray(object?.eventLogConfigs) ? object.eventLogConfigs.map((e) => EventLogConfig2.fromJSON(e)) : [],
|
|
17591
17378
|
dbSchema: isSet8(object.dbSchema) ? DataBaseSchema2.fromJSON(object.dbSchema) : void 0
|
|
@@ -17611,9 +17398,6 @@ var ProcessConfigResponse3 = {
|
|
|
17611
17398
|
if (message.metricConfigs?.length) {
|
|
17612
17399
|
obj.metricConfigs = message.metricConfigs.map((e) => MetricConfig2.toJSON(e));
|
|
17613
17400
|
}
|
|
17614
|
-
if (message.eventTrackingConfigs?.length) {
|
|
17615
|
-
obj.eventTrackingConfigs = message.eventTrackingConfigs.map((e) => EventTrackingConfig2.toJSON(e));
|
|
17616
|
-
}
|
|
17617
17401
|
if (message.exportConfigs?.length) {
|
|
17618
17402
|
obj.exportConfigs = message.exportConfigs.map((e) => ExportConfig2.toJSON(e));
|
|
17619
17403
|
}
|
|
@@ -17636,7 +17420,6 @@ var ProcessConfigResponse3 = {
|
|
|
17636
17420
|
message.templateInstances = object.templateInstances?.map((e) => TemplateInstance2.fromPartial(e)) || [];
|
|
17637
17421
|
message.accountConfigs = object.accountConfigs?.map((e) => AccountConfig2.fromPartial(e)) || [];
|
|
17638
17422
|
message.metricConfigs = object.metricConfigs?.map((e) => MetricConfig2.fromPartial(e)) || [];
|
|
17639
|
-
message.eventTrackingConfigs = object.eventTrackingConfigs?.map((e) => EventTrackingConfig2.fromPartial(e)) || [];
|
|
17640
17423
|
message.exportConfigs = object.exportConfigs?.map((e) => ExportConfig2.fromPartial(e)) || [];
|
|
17641
17424
|
message.eventLogConfigs = object.eventLogConfigs?.map((e) => EventLogConfig2.fromPartial(e)) || [];
|
|
17642
17425
|
message.dbSchema = object.dbSchema !== void 0 && object.dbSchema !== null ? DataBaseSchema2.fromPartial(object.dbSchema) : void 0;
|
|
@@ -18053,247 +17836,6 @@ var DataBaseSchema2 = {
|
|
|
18053
17836
|
return message;
|
|
18054
17837
|
}
|
|
18055
17838
|
};
|
|
18056
|
-
function createBaseTotalPerEntityAggregation2() {
|
|
18057
|
-
return {};
|
|
18058
|
-
}
|
|
18059
|
-
var TotalPerEntityAggregation2 = {
|
|
18060
|
-
encode(_, writer = import_minimal12.default.Writer.create()) {
|
|
18061
|
-
return writer;
|
|
18062
|
-
},
|
|
18063
|
-
decode(input, length) {
|
|
18064
|
-
const reader = input instanceof import_minimal12.default.Reader ? input : import_minimal12.default.Reader.create(input);
|
|
18065
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
18066
|
-
const message = createBaseTotalPerEntityAggregation2();
|
|
18067
|
-
while (reader.pos < end) {
|
|
18068
|
-
const tag = reader.uint32();
|
|
18069
|
-
switch (tag >>> 3) {
|
|
18070
|
-
}
|
|
18071
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
18072
|
-
break;
|
|
18073
|
-
}
|
|
18074
|
-
reader.skipType(tag & 7);
|
|
18075
|
-
}
|
|
18076
|
-
return message;
|
|
18077
|
-
},
|
|
18078
|
-
fromJSON(_) {
|
|
18079
|
-
return {};
|
|
18080
|
-
},
|
|
18081
|
-
toJSON(_) {
|
|
18082
|
-
const obj = {};
|
|
18083
|
-
return obj;
|
|
18084
|
-
},
|
|
18085
|
-
create(base) {
|
|
18086
|
-
return TotalPerEntityAggregation2.fromPartial(base ?? {});
|
|
18087
|
-
},
|
|
18088
|
-
fromPartial(_) {
|
|
18089
|
-
const message = createBaseTotalPerEntityAggregation2();
|
|
18090
|
-
return message;
|
|
18091
|
-
}
|
|
18092
|
-
};
|
|
18093
|
-
function createBaseRetentionConfig2() {
|
|
18094
|
-
return { retentionEventName: "", days: 0 };
|
|
18095
|
-
}
|
|
18096
|
-
var RetentionConfig2 = {
|
|
18097
|
-
encode(message, writer = import_minimal12.default.Writer.create()) {
|
|
18098
|
-
if (message.retentionEventName !== "") {
|
|
18099
|
-
writer.uint32(18).string(message.retentionEventName);
|
|
18100
|
-
}
|
|
18101
|
-
if (message.days !== 0) {
|
|
18102
|
-
writer.uint32(24).int32(message.days);
|
|
18103
|
-
}
|
|
18104
|
-
return writer;
|
|
18105
|
-
},
|
|
18106
|
-
decode(input, length) {
|
|
18107
|
-
const reader = input instanceof import_minimal12.default.Reader ? input : import_minimal12.default.Reader.create(input);
|
|
18108
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
18109
|
-
const message = createBaseRetentionConfig2();
|
|
18110
|
-
while (reader.pos < end) {
|
|
18111
|
-
const tag = reader.uint32();
|
|
18112
|
-
switch (tag >>> 3) {
|
|
18113
|
-
case 2:
|
|
18114
|
-
if (tag !== 18) {
|
|
18115
|
-
break;
|
|
18116
|
-
}
|
|
18117
|
-
message.retentionEventName = reader.string();
|
|
18118
|
-
continue;
|
|
18119
|
-
case 3:
|
|
18120
|
-
if (tag !== 24) {
|
|
18121
|
-
break;
|
|
18122
|
-
}
|
|
18123
|
-
message.days = reader.int32();
|
|
18124
|
-
continue;
|
|
18125
|
-
}
|
|
18126
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
18127
|
-
break;
|
|
18128
|
-
}
|
|
18129
|
-
reader.skipType(tag & 7);
|
|
18130
|
-
}
|
|
18131
|
-
return message;
|
|
18132
|
-
},
|
|
18133
|
-
fromJSON(object) {
|
|
18134
|
-
return {
|
|
18135
|
-
retentionEventName: isSet8(object.retentionEventName) ? globalThis.String(object.retentionEventName) : "",
|
|
18136
|
-
days: isSet8(object.days) ? globalThis.Number(object.days) : 0
|
|
18137
|
-
};
|
|
18138
|
-
},
|
|
18139
|
-
toJSON(message) {
|
|
18140
|
-
const obj = {};
|
|
18141
|
-
if (message.retentionEventName !== "") {
|
|
18142
|
-
obj.retentionEventName = message.retentionEventName;
|
|
18143
|
-
}
|
|
18144
|
-
if (message.days !== 0) {
|
|
18145
|
-
obj.days = Math.round(message.days);
|
|
18146
|
-
}
|
|
18147
|
-
return obj;
|
|
18148
|
-
},
|
|
18149
|
-
create(base) {
|
|
18150
|
-
return RetentionConfig2.fromPartial(base ?? {});
|
|
18151
|
-
},
|
|
18152
|
-
fromPartial(object) {
|
|
18153
|
-
const message = createBaseRetentionConfig2();
|
|
18154
|
-
message.retentionEventName = object.retentionEventName ?? "";
|
|
18155
|
-
message.days = object.days ?? 0;
|
|
18156
|
-
return message;
|
|
18157
|
-
}
|
|
18158
|
-
};
|
|
18159
|
-
function createBaseEventTrackingConfig2() {
|
|
18160
|
-
return {
|
|
18161
|
-
eventName: "",
|
|
18162
|
-
totalByDay: false,
|
|
18163
|
-
unique: false,
|
|
18164
|
-
totalPerEntity: void 0,
|
|
18165
|
-
distinctAggregationByDays: [],
|
|
18166
|
-
retentionConfig: void 0
|
|
18167
|
-
};
|
|
18168
|
-
}
|
|
18169
|
-
var EventTrackingConfig2 = {
|
|
18170
|
-
encode(message, writer = import_minimal12.default.Writer.create()) {
|
|
18171
|
-
if (message.eventName !== "") {
|
|
18172
|
-
writer.uint32(10).string(message.eventName);
|
|
18173
|
-
}
|
|
18174
|
-
if (message.totalByDay !== false) {
|
|
18175
|
-
writer.uint32(16).bool(message.totalByDay);
|
|
18176
|
-
}
|
|
18177
|
-
if (message.unique !== false) {
|
|
18178
|
-
writer.uint32(24).bool(message.unique);
|
|
18179
|
-
}
|
|
18180
|
-
if (message.totalPerEntity !== void 0) {
|
|
18181
|
-
TotalPerEntityAggregation2.encode(message.totalPerEntity, writer.uint32(34).fork()).ldelim();
|
|
18182
|
-
}
|
|
18183
|
-
writer.uint32(42).fork();
|
|
18184
|
-
for (const v of message.distinctAggregationByDays) {
|
|
18185
|
-
writer.int32(v);
|
|
18186
|
-
}
|
|
18187
|
-
writer.ldelim();
|
|
18188
|
-
if (message.retentionConfig !== void 0) {
|
|
18189
|
-
RetentionConfig2.encode(message.retentionConfig, writer.uint32(50).fork()).ldelim();
|
|
18190
|
-
}
|
|
18191
|
-
return writer;
|
|
18192
|
-
},
|
|
18193
|
-
decode(input, length) {
|
|
18194
|
-
const reader = input instanceof import_minimal12.default.Reader ? input : import_minimal12.default.Reader.create(input);
|
|
18195
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
18196
|
-
const message = createBaseEventTrackingConfig2();
|
|
18197
|
-
while (reader.pos < end) {
|
|
18198
|
-
const tag = reader.uint32();
|
|
18199
|
-
switch (tag >>> 3) {
|
|
18200
|
-
case 1:
|
|
18201
|
-
if (tag !== 10) {
|
|
18202
|
-
break;
|
|
18203
|
-
}
|
|
18204
|
-
message.eventName = reader.string();
|
|
18205
|
-
continue;
|
|
18206
|
-
case 2:
|
|
18207
|
-
if (tag !== 16) {
|
|
18208
|
-
break;
|
|
18209
|
-
}
|
|
18210
|
-
message.totalByDay = reader.bool();
|
|
18211
|
-
continue;
|
|
18212
|
-
case 3:
|
|
18213
|
-
if (tag !== 24) {
|
|
18214
|
-
break;
|
|
18215
|
-
}
|
|
18216
|
-
message.unique = reader.bool();
|
|
18217
|
-
continue;
|
|
18218
|
-
case 4:
|
|
18219
|
-
if (tag !== 34) {
|
|
18220
|
-
break;
|
|
18221
|
-
}
|
|
18222
|
-
message.totalPerEntity = TotalPerEntityAggregation2.decode(reader, reader.uint32());
|
|
18223
|
-
continue;
|
|
18224
|
-
case 5:
|
|
18225
|
-
if (tag === 40) {
|
|
18226
|
-
message.distinctAggregationByDays.push(reader.int32());
|
|
18227
|
-
continue;
|
|
18228
|
-
}
|
|
18229
|
-
if (tag === 42) {
|
|
18230
|
-
const end2 = reader.uint32() + reader.pos;
|
|
18231
|
-
while (reader.pos < end2) {
|
|
18232
|
-
message.distinctAggregationByDays.push(reader.int32());
|
|
18233
|
-
}
|
|
18234
|
-
continue;
|
|
18235
|
-
}
|
|
18236
|
-
break;
|
|
18237
|
-
case 6:
|
|
18238
|
-
if (tag !== 50) {
|
|
18239
|
-
break;
|
|
18240
|
-
}
|
|
18241
|
-
message.retentionConfig = RetentionConfig2.decode(reader, reader.uint32());
|
|
18242
|
-
continue;
|
|
18243
|
-
}
|
|
18244
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
18245
|
-
break;
|
|
18246
|
-
}
|
|
18247
|
-
reader.skipType(tag & 7);
|
|
18248
|
-
}
|
|
18249
|
-
return message;
|
|
18250
|
-
},
|
|
18251
|
-
fromJSON(object) {
|
|
18252
|
-
return {
|
|
18253
|
-
eventName: isSet8(object.eventName) ? globalThis.String(object.eventName) : "",
|
|
18254
|
-
totalByDay: isSet8(object.totalByDay) ? globalThis.Boolean(object.totalByDay) : false,
|
|
18255
|
-
unique: isSet8(object.unique) ? globalThis.Boolean(object.unique) : false,
|
|
18256
|
-
totalPerEntity: isSet8(object.totalPerEntity) ? TotalPerEntityAggregation2.fromJSON(object.totalPerEntity) : void 0,
|
|
18257
|
-
distinctAggregationByDays: globalThis.Array.isArray(object?.distinctAggregationByDays) ? object.distinctAggregationByDays.map((e) => globalThis.Number(e)) : [],
|
|
18258
|
-
retentionConfig: isSet8(object.retentionConfig) ? RetentionConfig2.fromJSON(object.retentionConfig) : void 0
|
|
18259
|
-
};
|
|
18260
|
-
},
|
|
18261
|
-
toJSON(message) {
|
|
18262
|
-
const obj = {};
|
|
18263
|
-
if (message.eventName !== "") {
|
|
18264
|
-
obj.eventName = message.eventName;
|
|
18265
|
-
}
|
|
18266
|
-
if (message.totalByDay !== false) {
|
|
18267
|
-
obj.totalByDay = message.totalByDay;
|
|
18268
|
-
}
|
|
18269
|
-
if (message.unique !== false) {
|
|
18270
|
-
obj.unique = message.unique;
|
|
18271
|
-
}
|
|
18272
|
-
if (message.totalPerEntity !== void 0) {
|
|
18273
|
-
obj.totalPerEntity = TotalPerEntityAggregation2.toJSON(message.totalPerEntity);
|
|
18274
|
-
}
|
|
18275
|
-
if (message.distinctAggregationByDays?.length) {
|
|
18276
|
-
obj.distinctAggregationByDays = message.distinctAggregationByDays.map((e) => Math.round(e));
|
|
18277
|
-
}
|
|
18278
|
-
if (message.retentionConfig !== void 0) {
|
|
18279
|
-
obj.retentionConfig = RetentionConfig2.toJSON(message.retentionConfig);
|
|
18280
|
-
}
|
|
18281
|
-
return obj;
|
|
18282
|
-
},
|
|
18283
|
-
create(base) {
|
|
18284
|
-
return EventTrackingConfig2.fromPartial(base ?? {});
|
|
18285
|
-
},
|
|
18286
|
-
fromPartial(object) {
|
|
18287
|
-
const message = createBaseEventTrackingConfig2();
|
|
18288
|
-
message.eventName = object.eventName ?? "";
|
|
18289
|
-
message.totalByDay = object.totalByDay ?? false;
|
|
18290
|
-
message.unique = object.unique ?? false;
|
|
18291
|
-
message.totalPerEntity = object.totalPerEntity !== void 0 && object.totalPerEntity !== null ? TotalPerEntityAggregation2.fromPartial(object.totalPerEntity) : void 0;
|
|
18292
|
-
message.distinctAggregationByDays = object.distinctAggregationByDays?.map((e) => e) || [];
|
|
18293
|
-
message.retentionConfig = object.retentionConfig !== void 0 && object.retentionConfig !== null ? RetentionConfig2.fromPartial(object.retentionConfig) : void 0;
|
|
18294
|
-
return message;
|
|
18295
|
-
}
|
|
18296
|
-
};
|
|
18297
17839
|
function createBaseExportConfig2() {
|
|
18298
17840
|
return { name: "", channel: "" };
|
|
18299
17841
|
}
|
|
@@ -26945,7 +26487,7 @@ var StateResult2 = {
|
|
|
26945
26487
|
}
|
|
26946
26488
|
};
|
|
26947
26489
|
function createBaseProcessResult2() {
|
|
26948
|
-
return { gauges: [], counters: [],
|
|
26490
|
+
return { gauges: [], counters: [], events: [], exports: [], states: void 0, timeseriesResult: [] };
|
|
26949
26491
|
}
|
|
26950
26492
|
var ProcessResult2 = {
|
|
26951
26493
|
encode(message, writer = import_minimal12.default.Writer.create()) {
|
|
@@ -26955,9 +26497,6 @@ var ProcessResult2 = {
|
|
|
26955
26497
|
for (const v of message.counters) {
|
|
26956
26498
|
CounterResult2.encode(v, writer.uint32(18).fork()).ldelim();
|
|
26957
26499
|
}
|
|
26958
|
-
for (const v of message.logs) {
|
|
26959
|
-
LogResult.encode(v, writer.uint32(26).fork()).ldelim();
|
|
26960
|
-
}
|
|
26961
26500
|
for (const v of message.events) {
|
|
26962
26501
|
EventTrackingResult2.encode(v, writer.uint32(34).fork()).ldelim();
|
|
26963
26502
|
}
|
|
@@ -26991,12 +26530,6 @@ var ProcessResult2 = {
|
|
|
26991
26530
|
}
|
|
26992
26531
|
message.counters.push(CounterResult2.decode(reader, reader.uint32()));
|
|
26993
26532
|
continue;
|
|
26994
|
-
case 3:
|
|
26995
|
-
if (tag !== 26) {
|
|
26996
|
-
break;
|
|
26997
|
-
}
|
|
26998
|
-
message.logs.push(LogResult.decode(reader, reader.uint32()));
|
|
26999
|
-
continue;
|
|
27000
26533
|
case 4:
|
|
27001
26534
|
if (tag !== 34) {
|
|
27002
26535
|
break;
|
|
@@ -27033,7 +26566,6 @@ var ProcessResult2 = {
|
|
|
27033
26566
|
return {
|
|
27034
26567
|
gauges: globalThis.Array.isArray(object?.gauges) ? object.gauges.map((e) => GaugeResult2.fromJSON(e)) : [],
|
|
27035
26568
|
counters: globalThis.Array.isArray(object?.counters) ? object.counters.map((e) => CounterResult2.fromJSON(e)) : [],
|
|
27036
|
-
logs: globalThis.Array.isArray(object?.logs) ? object.logs.map((e) => LogResult.fromJSON(e)) : [],
|
|
27037
26569
|
events: globalThis.Array.isArray(object?.events) ? object.events.map((e) => EventTrackingResult2.fromJSON(e)) : [],
|
|
27038
26570
|
exports: globalThis.Array.isArray(object?.exports) ? object.exports.map((e) => ExportResult2.fromJSON(e)) : [],
|
|
27039
26571
|
states: isSet8(object.states) ? StateResult2.fromJSON(object.states) : void 0,
|
|
@@ -27048,9 +26580,6 @@ var ProcessResult2 = {
|
|
|
27048
26580
|
if (message.counters?.length) {
|
|
27049
26581
|
obj.counters = message.counters.map((e) => CounterResult2.toJSON(e));
|
|
27050
26582
|
}
|
|
27051
|
-
if (message.logs?.length) {
|
|
27052
|
-
obj.logs = message.logs.map((e) => LogResult.toJSON(e));
|
|
27053
|
-
}
|
|
27054
26583
|
if (message.events?.length) {
|
|
27055
26584
|
obj.events = message.events.map((e) => EventTrackingResult2.toJSON(e));
|
|
27056
26585
|
}
|
|
@@ -27072,7 +26601,6 @@ var ProcessResult2 = {
|
|
|
27072
26601
|
const message = createBaseProcessResult2();
|
|
27073
26602
|
message.gauges = object.gauges?.map((e) => GaugeResult2.fromPartial(e)) || [];
|
|
27074
26603
|
message.counters = object.counters?.map((e) => CounterResult2.fromPartial(e)) || [];
|
|
27075
|
-
message.logs = object.logs?.map((e) => LogResult.fromPartial(e)) || [];
|
|
27076
26604
|
message.events = object.events?.map((e) => EventTrackingResult2.fromPartial(e)) || [];
|
|
27077
26605
|
message.exports = object.exports?.map((e) => ExportResult2.fromPartial(e)) || [];
|
|
27078
26606
|
message.states = object.states !== void 0 && object.states !== null ? StateResult2.fromPartial(object.states) : void 0;
|
|
@@ -27644,128 +27172,6 @@ var CounterResult2 = {
|
|
|
27644
27172
|
return message;
|
|
27645
27173
|
}
|
|
27646
27174
|
};
|
|
27647
|
-
function createBaseLogResult() {
|
|
27648
|
-
return { metadata: void 0, level: 0, message: "", attributes: "", attributes2: void 0, runtimeInfo: void 0 };
|
|
27649
|
-
}
|
|
27650
|
-
var LogResult = {
|
|
27651
|
-
encode(message, writer = import_minimal12.default.Writer.create()) {
|
|
27652
|
-
if (message.metadata !== void 0) {
|
|
27653
|
-
RecordMetaData2.encode(message.metadata, writer.uint32(10).fork()).ldelim();
|
|
27654
|
-
}
|
|
27655
|
-
if (message.level !== 0) {
|
|
27656
|
-
writer.uint32(16).int32(message.level);
|
|
27657
|
-
}
|
|
27658
|
-
if (message.message !== "") {
|
|
27659
|
-
writer.uint32(26).string(message.message);
|
|
27660
|
-
}
|
|
27661
|
-
if (message.attributes !== "") {
|
|
27662
|
-
writer.uint32(50).string(message.attributes);
|
|
27663
|
-
}
|
|
27664
|
-
if (message.attributes2 !== void 0) {
|
|
27665
|
-
Struct2.encode(Struct2.wrap(message.attributes2), writer.uint32(58).fork()).ldelim();
|
|
27666
|
-
}
|
|
27667
|
-
if (message.runtimeInfo !== void 0) {
|
|
27668
|
-
RuntimeInfo2.encode(message.runtimeInfo, writer.uint32(34).fork()).ldelim();
|
|
27669
|
-
}
|
|
27670
|
-
return writer;
|
|
27671
|
-
},
|
|
27672
|
-
decode(input, length) {
|
|
27673
|
-
const reader = input instanceof import_minimal12.default.Reader ? input : import_minimal12.default.Reader.create(input);
|
|
27674
|
-
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
27675
|
-
const message = createBaseLogResult();
|
|
27676
|
-
while (reader.pos < end) {
|
|
27677
|
-
const tag = reader.uint32();
|
|
27678
|
-
switch (tag >>> 3) {
|
|
27679
|
-
case 1:
|
|
27680
|
-
if (tag !== 10) {
|
|
27681
|
-
break;
|
|
27682
|
-
}
|
|
27683
|
-
message.metadata = RecordMetaData2.decode(reader, reader.uint32());
|
|
27684
|
-
continue;
|
|
27685
|
-
case 2:
|
|
27686
|
-
if (tag !== 16) {
|
|
27687
|
-
break;
|
|
27688
|
-
}
|
|
27689
|
-
message.level = reader.int32();
|
|
27690
|
-
continue;
|
|
27691
|
-
case 3:
|
|
27692
|
-
if (tag !== 26) {
|
|
27693
|
-
break;
|
|
27694
|
-
}
|
|
27695
|
-
message.message = reader.string();
|
|
27696
|
-
continue;
|
|
27697
|
-
case 6:
|
|
27698
|
-
if (tag !== 50) {
|
|
27699
|
-
break;
|
|
27700
|
-
}
|
|
27701
|
-
message.attributes = reader.string();
|
|
27702
|
-
continue;
|
|
27703
|
-
case 7:
|
|
27704
|
-
if (tag !== 58) {
|
|
27705
|
-
break;
|
|
27706
|
-
}
|
|
27707
|
-
message.attributes2 = Struct2.unwrap(Struct2.decode(reader, reader.uint32()));
|
|
27708
|
-
continue;
|
|
27709
|
-
case 4:
|
|
27710
|
-
if (tag !== 34) {
|
|
27711
|
-
break;
|
|
27712
|
-
}
|
|
27713
|
-
message.runtimeInfo = RuntimeInfo2.decode(reader, reader.uint32());
|
|
27714
|
-
continue;
|
|
27715
|
-
}
|
|
27716
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
27717
|
-
break;
|
|
27718
|
-
}
|
|
27719
|
-
reader.skipType(tag & 7);
|
|
27720
|
-
}
|
|
27721
|
-
return message;
|
|
27722
|
-
},
|
|
27723
|
-
fromJSON(object) {
|
|
27724
|
-
return {
|
|
27725
|
-
metadata: isSet8(object.metadata) ? RecordMetaData2.fromJSON(object.metadata) : void 0,
|
|
27726
|
-
level: isSet8(object.level) ? logLevelFromJSON2(object.level) : 0,
|
|
27727
|
-
message: isSet8(object.message) ? globalThis.String(object.message) : "",
|
|
27728
|
-
attributes: isSet8(object.attributes) ? globalThis.String(object.attributes) : "",
|
|
27729
|
-
attributes2: isObject6(object.attributes2) ? object.attributes2 : void 0,
|
|
27730
|
-
runtimeInfo: isSet8(object.runtimeInfo) ? RuntimeInfo2.fromJSON(object.runtimeInfo) : void 0
|
|
27731
|
-
};
|
|
27732
|
-
},
|
|
27733
|
-
toJSON(message) {
|
|
27734
|
-
const obj = {};
|
|
27735
|
-
if (message.metadata !== void 0) {
|
|
27736
|
-
obj.metadata = RecordMetaData2.toJSON(message.metadata);
|
|
27737
|
-
}
|
|
27738
|
-
if (message.level !== 0) {
|
|
27739
|
-
obj.level = logLevelToJSON2(message.level);
|
|
27740
|
-
}
|
|
27741
|
-
if (message.message !== "") {
|
|
27742
|
-
obj.message = message.message;
|
|
27743
|
-
}
|
|
27744
|
-
if (message.attributes !== "") {
|
|
27745
|
-
obj.attributes = message.attributes;
|
|
27746
|
-
}
|
|
27747
|
-
if (message.attributes2 !== void 0) {
|
|
27748
|
-
obj.attributes2 = message.attributes2;
|
|
27749
|
-
}
|
|
27750
|
-
if (message.runtimeInfo !== void 0) {
|
|
27751
|
-
obj.runtimeInfo = RuntimeInfo2.toJSON(message.runtimeInfo);
|
|
27752
|
-
}
|
|
27753
|
-
return obj;
|
|
27754
|
-
},
|
|
27755
|
-
create(base) {
|
|
27756
|
-
return LogResult.fromPartial(base ?? {});
|
|
27757
|
-
},
|
|
27758
|
-
fromPartial(object) {
|
|
27759
|
-
const message = createBaseLogResult();
|
|
27760
|
-
message.metadata = object.metadata !== void 0 && object.metadata !== null ? RecordMetaData2.fromPartial(object.metadata) : void 0;
|
|
27761
|
-
message.level = object.level ?? 0;
|
|
27762
|
-
message.message = object.message ?? "";
|
|
27763
|
-
message.attributes = object.attributes ?? "";
|
|
27764
|
-
message.attributes2 = object.attributes2 ?? void 0;
|
|
27765
|
-
message.runtimeInfo = object.runtimeInfo !== void 0 && object.runtimeInfo !== null ? RuntimeInfo2.fromPartial(object.runtimeInfo) : void 0;
|
|
27766
|
-
return message;
|
|
27767
|
-
}
|
|
27768
|
-
};
|
|
27769
27175
|
function createBaseEventTrackingResult2() {
|
|
27770
27176
|
return {
|
|
27771
27177
|
metadata: void 0,
|
|
@@ -28188,12 +27594,6 @@ function isSet8(value) {
|
|
|
28188
27594
|
import("node:process").then((p) => p.stdout.write(""));
|
|
28189
27595
|
|
|
28190
27596
|
export {
|
|
28191
|
-
__require,
|
|
28192
|
-
__esm,
|
|
28193
|
-
__commonJS,
|
|
28194
|
-
__export,
|
|
28195
|
-
__toESM,
|
|
28196
|
-
__toCommonJS,
|
|
28197
27597
|
require_aspromise,
|
|
28198
27598
|
require_inquire,
|
|
28199
27599
|
require_minimal,
|
|
@@ -28239,4 +27639,4 @@ long/index.js:
|
|
|
28239
27639
|
* SPDX-License-Identifier: Apache-2.0
|
|
28240
27640
|
*)
|
|
28241
27641
|
*/
|
|
28242
|
-
//# sourceMappingURL=chunk-
|
|
27642
|
+
//# sourceMappingURL=chunk-I5YHR3CE.js.map
|