@use-tusk/drift-schemas 0.1.21 → 0.1.22
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/backend/span_export_service.cjs +2 -2
- package/dist/backend/span_export_service.client.cjs +2 -2
- package/dist/backend/span_export_service.client.d.cts +6 -6
- package/dist/backend/span_export_service.client.d.ts +2 -2
- package/dist/backend/span_export_service.client.js +2 -2
- package/dist/backend/span_export_service.d.cts +2 -2
- package/dist/backend/span_export_service.d.ts +2 -2
- package/dist/backend/span_export_service.js +2 -2
- package/dist/backend/test_run_service.cjs +2 -6
- package/dist/backend/test_run_service.client.cjs +2 -2
- package/dist/backend/test_run_service.client.d.cts +6 -6
- package/dist/backend/test_run_service.client.d.ts +6 -6
- package/dist/backend/test_run_service.client.js +2 -2
- package/dist/backend/test_run_service.d.cts +3 -3
- package/dist/backend/test_run_service.d.ts +3 -3
- package/dist/backend/test_run_service.js +3 -3
- package/dist/{communication-CAZsD8fT.d.cts → communication-BFPjmCoM.d.cts} +8 -2
- package/dist/communication-BFPjmCoM.d.cts.map +1 -0
- package/dist/{communication-BXVwzV4j.cjs → communication-BGGDex5L.cjs} +12 -2
- package/dist/communication-BGGDex5L.cjs.map +1 -0
- package/dist/{communication-BY2KZhrg.js → communication-CVqe2frO.js} +12 -2
- package/dist/communication-CVqe2frO.js.map +1 -0
- package/dist/{communication-Dgb6EIjz.d.ts → communication-DOwthqYR.d.ts} +8 -2
- package/dist/communication-DOwthqYR.d.ts.map +1 -0
- package/dist/core/communication.cjs +2 -2
- package/dist/core/communication.client.cjs +2 -2
- package/dist/core/communication.client.d.cts +6 -6
- package/dist/core/communication.client.d.ts +6 -6
- package/dist/core/communication.client.js +2 -2
- package/dist/core/communication.d.cts +2 -2
- package/dist/core/communication.d.ts +2 -2
- package/dist/core/communication.js +2 -2
- package/dist/core/span.cjs +5 -1
- package/dist/core/span.d.cts +2 -2
- package/dist/core/span.d.ts +2 -2
- package/dist/core/span.js +2 -2
- package/dist/{span-CsBrzhI_.js → span-CXrr1reB.js} +209 -2
- package/dist/span-CXrr1reB.js.map +1 -0
- package/dist/{span-CqMO2cJg.d.cts → span-DpNbEo1N.d.cts} +120 -2
- package/dist/span-DpNbEo1N.d.cts.map +1 -0
- package/dist/{span-BTPaKLyl.cjs → span-P97ehIM2.cjs} +232 -1
- package/dist/span-P97ehIM2.cjs.map +1 -0
- package/dist/{span-BumZb1lr.d.ts → span-siIBLWdM.d.ts} +120 -2
- package/dist/span-siIBLWdM.d.ts.map +1 -0
- package/dist/{span_export_service-ex553dQx.cjs → span_export_service-BU4IsArQ.cjs} +2 -2
- package/dist/{span_export_service-ex553dQx.cjs.map → span_export_service-BU4IsArQ.cjs.map} +1 -1
- package/dist/{span_export_service-BmXbIsbQ.d.ts → span_export_service-C2Dil07L.d.ts} +2 -2
- package/dist/{span_export_service-BmXbIsbQ.d.ts.map → span_export_service-C2Dil07L.d.ts.map} +1 -1
- package/dist/{span_export_service-FkYNXniW.d.cts → span_export_service-CPpgtQiB.d.cts} +2 -2
- package/dist/{span_export_service-FkYNXniW.d.cts.map → span_export_service-CPpgtQiB.d.cts.map} +1 -1
- package/dist/{span_export_service-CmkFvTqD.js → span_export_service-RmRqNxn1.js} +2 -2
- package/dist/{span_export_service-CmkFvTqD.js.map → span_export_service-RmRqNxn1.js.map} +1 -1
- package/dist/{test_run_service-Oc0tJagz.cjs → test_run_service-BT4RRjyh.cjs} +5 -232
- package/dist/test_run_service-BT4RRjyh.cjs.map +1 -0
- package/dist/{test_run_service-BweZLml7.js → test_run_service-CJF5wiWX.js} +3 -206
- package/dist/test_run_service-CJF5wiWX.js.map +1 -0
- package/dist/{test_run_service-CU_nzUMl.d.ts → test_run_service-DflLBmNV.d.cts} +4 -114
- package/dist/test_run_service-DflLBmNV.d.cts.map +1 -0
- package/dist/{test_run_service-DNX-UKcH.d.cts → test_run_service-IQcVrvyC.d.ts} +4 -114
- package/dist/test_run_service-IQcVrvyC.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/communication-BXVwzV4j.cjs.map +0 -1
- package/dist/communication-BY2KZhrg.js.map +0 -1
- package/dist/communication-CAZsD8fT.d.cts.map +0 -1
- package/dist/communication-Dgb6EIjz.d.ts.map +0 -1
- package/dist/span-BTPaKLyl.cjs.map +0 -1
- package/dist/span-BumZb1lr.d.ts.map +0 -1
- package/dist/span-CqMO2cJg.d.cts.map +0 -1
- package/dist/span-CsBrzhI_.js.map +0 -1
- package/dist/test_run_service-BweZLml7.js.map +0 -1
- package/dist/test_run_service-CU_nzUMl.d.ts.map +0 -1
- package/dist/test_run_service-DNX-UKcH.d.cts.map +0 -1
- package/dist/test_run_service-Oc0tJagz.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Span } from "./span-
|
|
1
|
+
import { Span } from "./span-siIBLWdM.js";
|
|
2
2
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
3
3
|
import { BinaryReadOptions, BinaryWriteOptions, IBinaryReader, IBinaryWriter, MessageType, PartialMessage } from "@protobuf-ts/runtime";
|
|
4
4
|
|
|
@@ -70,4 +70,4 @@ declare const ExportSpansResponse: ExportSpansResponse$Type;
|
|
|
70
70
|
declare const SpanExportService: ServiceType;
|
|
71
71
|
//#endregion
|
|
72
72
|
export { ExportSpansRequest, ExportSpansResponse, SpanExportService };
|
|
73
|
-
//# sourceMappingURL=span_export_service-
|
|
73
|
+
//# sourceMappingURL=span_export_service-C2Dil07L.d.ts.map
|
package/dist/{span_export_service-BmXbIsbQ.d.ts.map → span_export_service-C2Dil07L.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"span_export_service-
|
|
1
|
+
{"version":3,"file":"span_export_service-C2Dil07L.d.ts","names":[],"sources":["../generated/ts/backend/span_export_service.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAiEmB,UAhDF,kBAAA,CAgDE;;;;qBAWgF,EAAA,MAAA;;;;aA+Bd,EAAA,MAAA;;;;EAyBxE,UAAA,EAAA,MAAA;EAEP;;;eAO4B,EAAA,MAAA;;;;OAQqC,EAhH5D,IAgH4D,EAAA;;;;;AAsBe,UAjIrE,mBAAA,CAiIqE;;;;EAgBzE,OAAA,EAAA,OAAA;EAIA;;;;;;;cAxIP,uBAAA,SAAgC,YAAY;;iBAU/B,eAAe,sBAAsB;6BAWzB,wCAAwC,4BAA4B,qBAAqB;+BA+BvF,4BAA4B,wBAAwB,qBAAqB;;;;;cAyB7F,oBAAkB;cAEzB,wBAAA,SAAiC,YAAY;;iBAOhC,eAAe,uBAAuB;6BAQ1B,wCAAwC,4BAA4B,sBAAsB;+BAsBxF,6BAA6B,wBAAwB,qBAAqB;;;;;cAgB9F,qBAAmB;;;;cAInB,mBAAiB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Span } from "./span-
|
|
1
|
+
import { Span } from "./span-DpNbEo1N.cjs";
|
|
2
2
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
3
3
|
import { BinaryReadOptions, BinaryWriteOptions, IBinaryReader, IBinaryWriter, MessageType, PartialMessage } from "@protobuf-ts/runtime";
|
|
4
4
|
|
|
@@ -70,4 +70,4 @@ declare const ExportSpansResponse: ExportSpansResponse$Type;
|
|
|
70
70
|
declare const SpanExportService: ServiceType;
|
|
71
71
|
//#endregion
|
|
72
72
|
export { ExportSpansRequest, ExportSpansResponse, SpanExportService };
|
|
73
|
-
//# sourceMappingURL=span_export_service-
|
|
73
|
+
//# sourceMappingURL=span_export_service-CPpgtQiB.d.cts.map
|
package/dist/{span_export_service-FkYNXniW.d.cts.map → span_export_service-CPpgtQiB.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"span_export_service-
|
|
1
|
+
{"version":3,"file":"span_export_service-CPpgtQiB.d.cts","names":[],"sources":["../generated/ts/backend/span_export_service.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAiEmB,UAhDF,kBAAA,CAgDE;;;;qBAWgF,EAAA,MAAA;;;;aA+Bd,EAAA,MAAA;;;;EAyBxE,UAAA,EAAA,MAAA;EAEP;;;eAO4B,EAAA,MAAA;;;;OAQqC,EAhH5D,IAgH4D,EAAA;;;;;AAsBe,UAjIrE,mBAAA,CAiIqE;;;;EAgBzE,OAAA,EAAA,OAAA;EAIA;;;;;;;cAxIP,uBAAA,SAAgC,YAAY;;iBAU/B,eAAe,sBAAsB;6BAWzB,wCAAwC,4BAA4B,qBAAqB;+BA+BvF,4BAA4B,wBAAwB,qBAAqB;;;;;cAyB7F,oBAAkB;cAEzB,wBAAA,SAAiC,YAAY;;iBAOhC,eAAe,uBAAuB;6BAQ1B,wCAAwC,4BAA4B,sBAAsB;+BAsBxF,6BAA6B,wBAAwB,qBAAqB;;;;;cAgB9F,qBAAmB;;;;cAInB,mBAAiB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Span } from "./span-
|
|
1
|
+
import { Span } from "./span-CXrr1reB.js";
|
|
2
2
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
3
3
|
import { MessageType, UnknownFieldHandler, WireType, reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
4
4
|
|
|
@@ -158,4 +158,4 @@ const SpanExportService = new ServiceType("tusk.drift.backend.v1.SpanExportServi
|
|
|
158
158
|
|
|
159
159
|
//#endregion
|
|
160
160
|
export { ExportSpansRequest, ExportSpansResponse, SpanExportService };
|
|
161
|
-
//# sourceMappingURL=span_export_service-
|
|
161
|
+
//# sourceMappingURL=span_export_service-RmRqNxn1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"span_export_service-CmkFvTqD.js","names":[],"sources":["../generated/ts/backend/span_export_service.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"backend/span_export_service.proto\" (package \"tusk.drift.backend.v1\", syntax proto3)\n// tslint:disable\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Span } from \"../core/span\";\n/**\n * @generated from protobuf message tusk.drift.backend.v1.ExportSpansRequest\n */\nexport interface ExportSpansRequest {\n /**\n * @generated from protobuf field: string observable_service_id = 1\n */\n observableServiceId: string;\n /**\n * @generated from protobuf field: string environment = 2\n */\n environment: string;\n /**\n * @generated from protobuf field: string sdk_version = 3\n */\n sdkVersion: string;\n /**\n * @generated from protobuf field: string sdk_instance_id = 4\n */\n sdkInstanceId: string;\n /**\n * @generated from protobuf field: repeated tusk.drift.core.v1.Span spans = 5\n */\n spans: Span[];\n}\n/**\n * @generated from protobuf message tusk.drift.backend.v1.ExportSpansResponse\n */\nexport interface ExportSpansResponse {\n /**\n * @generated from protobuf field: bool success = 1\n */\n success: boolean;\n /**\n * TODO: Add field to indicate number of spans saved?\n *\n * @generated from protobuf field: string message = 2\n */\n message: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExportSpansRequest$Type extends MessageType<ExportSpansRequest> {\n constructor() {\n super(\"tusk.drift.backend.v1.ExportSpansRequest\", [\n { no: 1, name: \"observable_service_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"environment\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"sdk_version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"sdk_instance_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"spans\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Span }\n ]);\n }\n create(value?: PartialMessage<ExportSpansRequest>): ExportSpansRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.observableServiceId = \"\";\n message.environment = \"\";\n message.sdkVersion = \"\";\n message.sdkInstanceId = \"\";\n message.spans = [];\n if (value !== undefined)\n reflectionMergePartial<ExportSpansRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExportSpansRequest): ExportSpansRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string observable_service_id */ 1:\n message.observableServiceId = reader.string();\n break;\n case /* string environment */ 2:\n message.environment = reader.string();\n break;\n case /* string sdk_version */ 3:\n message.sdkVersion = reader.string();\n break;\n case /* string sdk_instance_id */ 4:\n message.sdkInstanceId = reader.string();\n break;\n case /* repeated tusk.drift.core.v1.Span spans */ 5:\n message.spans.push(Span.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ExportSpansRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string observable_service_id = 1; */\n if (message.observableServiceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.observableServiceId);\n /* string environment = 2; */\n if (message.environment !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.environment);\n /* string sdk_version = 3; */\n if (message.sdkVersion !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.sdkVersion);\n /* string sdk_instance_id = 4; */\n if (message.sdkInstanceId !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.sdkInstanceId);\n /* repeated tusk.drift.core.v1.Span spans = 5; */\n for (let i = 0; i < message.spans.length; i++)\n Span.internalBinaryWrite(message.spans[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.backend.v1.ExportSpansRequest\n */\nexport const ExportSpansRequest = new ExportSpansRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExportSpansResponse$Type extends MessageType<ExportSpansResponse> {\n constructor() {\n super(\"tusk.drift.backend.v1.ExportSpansResponse\", [\n { no: 1, name: \"success\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ExportSpansResponse>): ExportSpansResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.success = false;\n message.message = \"\";\n if (value !== undefined)\n reflectionMergePartial<ExportSpansResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExportSpansResponse): ExportSpansResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool success */ 1:\n message.success = reader.bool();\n break;\n case /* string message */ 2:\n message.message = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ExportSpansResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bool success = 1; */\n if (message.success !== false)\n writer.tag(1, WireType.Varint).bool(message.success);\n /* string message = 2; */\n if (message.message !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.message);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.backend.v1.ExportSpansResponse\n */\nexport const ExportSpansResponse = new ExportSpansResponse$Type();\n/**\n * @generated ServiceType for protobuf service tusk.drift.backend.v1.SpanExportService\n */\nexport const SpanExportService = new ServiceType(\"tusk.drift.backend.v1.SpanExportService\", [\n { name: \"ExportSpans\", options: {}, I: ExportSpansRequest, O: ExportSpansResponse }\n]);\n"],"mappings":";;;;;AAuDA,IAAM,0BAAN,cAAsC,YAAgC;CAClE,cAAc;AACV,QAAM,4CAA4C;GAC9C;IAAE,IAAI;IAAG,MAAM;IAAyB,MAAM;IAAU,GAAG;IAAyB;GACpF;IAAE,IAAI;IAAG,MAAM;IAAe,MAAM;IAAU,GAAG;IAAyB;GAC1E;IAAE,IAAI;IAAG,MAAM;IAAe,MAAM;IAAU,GAAG;IAAyB;GAC1E;IAAE,IAAI;IAAG,MAAM;IAAmB,MAAM;IAAU,GAAG;IAAyB;GAC9E;IAAE,IAAI;IAAG,MAAM;IAAS,MAAM;IAAW,QAAQ;IAA2B,SAAS;IAAM;GAC9F,CAAC;;CAEN,OAAO,OAAgE;EACnE,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,UAAQ,sBAAsB;AAC9B,UAAQ,cAAc;AACtB,UAAQ,aAAa;AACrB,UAAQ,gBAAgB;AACxB,UAAQ,QAAQ,EAAE;AAClB,MAAI,UAAU,OACV,wBAA2C,MAAM,SAAS,MAAM;AACpE,SAAO;;CAEX,mBAAmB,QAAuB,QAAgB,SAA4B,QAAiD;EACnI,IAAI,UAAU,UAAU,KAAK,QAAQ,EAAE,MAAM,OAAO,MAAM;AAC1D,SAAO,OAAO,MAAM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AQ,QAAQ;AAExD,MAAI,QAAQ,YAAY,GACpB,QAAO,IAAI,GAAG,SAAS,gBAAgB,CAAC,OAAO,QAAQ,QAAQ;EACnE,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAO,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;;;;AAMf,MAAa,sBAAsB,IAAI,0BAA0B;;;;AAIjE,MAAa,oBAAoB,IAAI,YAAY,2CAA2C,CACxF;CAAE,MAAM;CAAe,SAAS,EAAE;CAAE,GAAG;CAAoB,GAAG;CAAqB,CACtF,CAAC"}
|
|
1
|
+
{"version":3,"file":"span_export_service-RmRqNxn1.js","names":[],"sources":["../generated/ts/backend/span_export_service.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"backend/span_export_service.proto\" (package \"tusk.drift.backend.v1\", syntax proto3)\n// tslint:disable\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Span } from \"../core/span\";\n/**\n * @generated from protobuf message tusk.drift.backend.v1.ExportSpansRequest\n */\nexport interface ExportSpansRequest {\n /**\n * @generated from protobuf field: string observable_service_id = 1\n */\n observableServiceId: string;\n /**\n * @generated from protobuf field: string environment = 2\n */\n environment: string;\n /**\n * @generated from protobuf field: string sdk_version = 3\n */\n sdkVersion: string;\n /**\n * @generated from protobuf field: string sdk_instance_id = 4\n */\n sdkInstanceId: string;\n /**\n * @generated from protobuf field: repeated tusk.drift.core.v1.Span spans = 5\n */\n spans: Span[];\n}\n/**\n * @generated from protobuf message tusk.drift.backend.v1.ExportSpansResponse\n */\nexport interface ExportSpansResponse {\n /**\n * @generated from protobuf field: bool success = 1\n */\n success: boolean;\n /**\n * TODO: Add field to indicate number of spans saved?\n *\n * @generated from protobuf field: string message = 2\n */\n message: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExportSpansRequest$Type extends MessageType<ExportSpansRequest> {\n constructor() {\n super(\"tusk.drift.backend.v1.ExportSpansRequest\", [\n { no: 1, name: \"observable_service_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"environment\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"sdk_version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"sdk_instance_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"spans\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Span }\n ]);\n }\n create(value?: PartialMessage<ExportSpansRequest>): ExportSpansRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.observableServiceId = \"\";\n message.environment = \"\";\n message.sdkVersion = \"\";\n message.sdkInstanceId = \"\";\n message.spans = [];\n if (value !== undefined)\n reflectionMergePartial<ExportSpansRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExportSpansRequest): ExportSpansRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string observable_service_id */ 1:\n message.observableServiceId = reader.string();\n break;\n case /* string environment */ 2:\n message.environment = reader.string();\n break;\n case /* string sdk_version */ 3:\n message.sdkVersion = reader.string();\n break;\n case /* string sdk_instance_id */ 4:\n message.sdkInstanceId = reader.string();\n break;\n case /* repeated tusk.drift.core.v1.Span spans */ 5:\n message.spans.push(Span.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ExportSpansRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string observable_service_id = 1; */\n if (message.observableServiceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.observableServiceId);\n /* string environment = 2; */\n if (message.environment !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.environment);\n /* string sdk_version = 3; */\n if (message.sdkVersion !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.sdkVersion);\n /* string sdk_instance_id = 4; */\n if (message.sdkInstanceId !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.sdkInstanceId);\n /* repeated tusk.drift.core.v1.Span spans = 5; */\n for (let i = 0; i < message.spans.length; i++)\n Span.internalBinaryWrite(message.spans[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.backend.v1.ExportSpansRequest\n */\nexport const ExportSpansRequest = new ExportSpansRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ExportSpansResponse$Type extends MessageType<ExportSpansResponse> {\n constructor() {\n super(\"tusk.drift.backend.v1.ExportSpansResponse\", [\n { no: 1, name: \"success\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ExportSpansResponse>): ExportSpansResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.success = false;\n message.message = \"\";\n if (value !== undefined)\n reflectionMergePartial<ExportSpansResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExportSpansResponse): ExportSpansResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool success */ 1:\n message.success = reader.bool();\n break;\n case /* string message */ 2:\n message.message = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ExportSpansResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bool success = 1; */\n if (message.success !== false)\n writer.tag(1, WireType.Varint).bool(message.success);\n /* string message = 2; */\n if (message.message !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.message);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.backend.v1.ExportSpansResponse\n */\nexport const ExportSpansResponse = new ExportSpansResponse$Type();\n/**\n * @generated ServiceType for protobuf service tusk.drift.backend.v1.SpanExportService\n */\nexport const SpanExportService = new ServiceType(\"tusk.drift.backend.v1.SpanExportService\", [\n { name: \"ExportSpans\", options: {}, I: ExportSpansRequest, O: ExportSpansResponse }\n]);\n"],"mappings":";;;;;AAuDA,IAAM,0BAAN,cAAsC,YAAgC;CAClE,cAAc;AACV,QAAM,4CAA4C;GAC9C;IAAE,IAAI;IAAG,MAAM;IAAyB,MAAM;IAAU,GAAG;IAAyB;GACpF;IAAE,IAAI;IAAG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UAAU,KAAK,QAAQ,EAAE,MAAM,OAAO,MAAM;AAC1D,SAAO,OAAO,MAAM,KAAK;GACrB,IAAI,CAAC,SAAS,YAAY,OAAO,KAAK;AACtC,WAAQ,SAAR;IACI,KAAwB;AACpB,aAAQ,UAAU,OAAO,MAAM;AAC/B;IACJ,KAA0B;AACtB,aAAQ,UAAU,OAAO,QAAQ;AACjC;IACJ;KACI,IAAI,IAAI,QAAQ;AAChB,SAAI,MAAM,QACN,OAAM,IAAI,WAAW,MAAM,iBAAiB,QAAQ,cAAc,SAAS,QAAQ,KAAK,WAAW;KACvG,IAAI,IAAI,OAAO,KAAK,SAAS;AAC7B,SAAI,MAAM,MACN,EAAC,MAAM,OAAO,oBAAoB,SAAS,GAAG,KAAK,UAAU,SAAS,SAAS,UAAU,EAAE;;;AAG3G,SAAO;;CAEX,oBAAoB,SAA8B,QAAuB,SAA4C;AAEjH,MAAI,QAAQ,YAAY,MACpB,QAAO,IAAI,GAAG,SAAS,OAAO,CAAC,KAAK,QAAQ,QAAQ;AAExD,MAAI,QAAQ,YAAY,GACpB,QAAO,IAAI,GAAG,SAAS,gBAAgB,CAAC,OAAO,QAAQ,QAAQ;EACnE,IAAI,IAAI,QAAQ;AAChB,MAAI,MAAM,MACN,EAAC,KAAK,OAAO,oBAAoB,UAAU,GAAG,KAAK,UAAU,SAAS,OAAO;AACjF,SAAO;;;;;;AAMf,MAAa,sBAAsB,IAAI,0BAA0B;;;;AAIjE,MAAa,oBAAoB,IAAI,YAAY,2CAA2C,CACxF;CAAE,MAAM;CAAe,SAAS,EAAE;CAAE,GAAG;CAAoB,GAAG;CAAqB,CACtF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_span = require('./span-
|
|
2
|
+
const require_span = require('./span-P97ehIM2.cjs');
|
|
3
3
|
let __protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
4
4
|
__protobuf_ts_runtime_rpc = require_chunk.__toESM(__protobuf_ts_runtime_rpc);
|
|
5
5
|
let __protobuf_ts_runtime = require("@protobuf-ts/runtime");
|
|
@@ -29,58 +29,6 @@ let TraceTestStatus = /* @__PURE__ */ function(TraceTestStatus$1) {
|
|
|
29
29
|
return TraceTestStatus$1;
|
|
30
30
|
}({});
|
|
31
31
|
/**
|
|
32
|
-
* @generated from protobuf enum tusk.drift.backend.v1.MatchScope
|
|
33
|
-
*/
|
|
34
|
-
let MatchScope = /* @__PURE__ */ function(MatchScope$1) {
|
|
35
|
-
/**
|
|
36
|
-
* @generated from protobuf enum value: MATCH_SCOPE_UNSPECIFIED = 0;
|
|
37
|
-
*/
|
|
38
|
-
MatchScope$1[MatchScope$1["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
39
|
-
/**
|
|
40
|
-
* @generated from protobuf enum value: MATCH_SCOPE_TRACE = 1;
|
|
41
|
-
*/
|
|
42
|
-
MatchScope$1[MatchScope$1["TRACE"] = 1] = "TRACE";
|
|
43
|
-
/**
|
|
44
|
-
* @generated from protobuf enum value: MATCH_SCOPE_GLOBAL = 2;
|
|
45
|
-
*/
|
|
46
|
-
MatchScope$1[MatchScope$1["GLOBAL"] = 2] = "GLOBAL";
|
|
47
|
-
return MatchScope$1;
|
|
48
|
-
}({});
|
|
49
|
-
/**
|
|
50
|
-
* @generated from protobuf enum tusk.drift.backend.v1.MatchType
|
|
51
|
-
*/
|
|
52
|
-
let MatchType = /* @__PURE__ */ function(MatchType$1) {
|
|
53
|
-
/**
|
|
54
|
-
* @generated from protobuf enum value: MATCH_TYPE_UNSPECIFIED = 0;
|
|
55
|
-
*/
|
|
56
|
-
MatchType$1[MatchType$1["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
57
|
-
/**
|
|
58
|
-
* @generated from protobuf enum value: MATCH_TYPE_INPUT_VALUE_HASH = 1;
|
|
59
|
-
*/
|
|
60
|
-
MatchType$1[MatchType$1["INPUT_VALUE_HASH"] = 1] = "INPUT_VALUE_HASH";
|
|
61
|
-
/**
|
|
62
|
-
* @generated from protobuf enum value: MATCH_TYPE_INPUT_VALUE_HASH_REDUCED_SCHEMA = 2;
|
|
63
|
-
*/
|
|
64
|
-
MatchType$1[MatchType$1["INPUT_VALUE_HASH_REDUCED_SCHEMA"] = 2] = "INPUT_VALUE_HASH_REDUCED_SCHEMA";
|
|
65
|
-
/**
|
|
66
|
-
* @generated from protobuf enum value: MATCH_TYPE_INPUT_SCHEMA_HASH = 3;
|
|
67
|
-
*/
|
|
68
|
-
MatchType$1[MatchType$1["INPUT_SCHEMA_HASH"] = 3] = "INPUT_SCHEMA_HASH";
|
|
69
|
-
/**
|
|
70
|
-
* @generated from protobuf enum value: MATCH_TYPE_INPUT_SCHEMA_HASH_REDUCED_SCHEMA = 4;
|
|
71
|
-
*/
|
|
72
|
-
MatchType$1[MatchType$1["INPUT_SCHEMA_HASH_REDUCED_SCHEMA"] = 4] = "INPUT_SCHEMA_HASH_REDUCED_SCHEMA";
|
|
73
|
-
/**
|
|
74
|
-
* @generated from protobuf enum value: MATCH_TYPE_FUZZY = 5;
|
|
75
|
-
*/
|
|
76
|
-
MatchType$1[MatchType$1["FUZZY"] = 5] = "FUZZY";
|
|
77
|
-
/**
|
|
78
|
-
* @generated from protobuf enum value: MATCH_TYPE_FALLBACK = 6;
|
|
79
|
-
*/
|
|
80
|
-
MatchType$1[MatchType$1["FALLBACK"] = 6] = "FALLBACK";
|
|
81
|
-
return MatchType$1;
|
|
82
|
-
}({});
|
|
83
|
-
/**
|
|
84
32
|
* @generated from protobuf enum tusk.drift.backend.v1.TraceTestFailureReason
|
|
85
33
|
*/
|
|
86
34
|
let TraceTestFailureReason = /* @__PURE__ */ function(TraceTestFailureReason$1) {
|
|
@@ -1738,157 +1686,6 @@ var Deviation$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
|
1738
1686
|
* @generated MessageType for protobuf message tusk.drift.backend.v1.Deviation
|
|
1739
1687
|
*/
|
|
1740
1688
|
const Deviation = new Deviation$Type();
|
|
1741
|
-
var MatchLevel$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
1742
|
-
constructor() {
|
|
1743
|
-
super("tusk.drift.backend.v1.MatchLevel", [
|
|
1744
|
-
{
|
|
1745
|
-
no: 1,
|
|
1746
|
-
name: "match_type",
|
|
1747
|
-
kind: "enum",
|
|
1748
|
-
T: () => [
|
|
1749
|
-
"tusk.drift.backend.v1.MatchType",
|
|
1750
|
-
MatchType,
|
|
1751
|
-
"MATCH_TYPE_"
|
|
1752
|
-
]
|
|
1753
|
-
},
|
|
1754
|
-
{
|
|
1755
|
-
no: 2,
|
|
1756
|
-
name: "match_scope",
|
|
1757
|
-
kind: "enum",
|
|
1758
|
-
T: () => [
|
|
1759
|
-
"tusk.drift.backend.v1.MatchScope",
|
|
1760
|
-
MatchScope,
|
|
1761
|
-
"MATCH_SCOPE_"
|
|
1762
|
-
]
|
|
1763
|
-
},
|
|
1764
|
-
{
|
|
1765
|
-
no: 3,
|
|
1766
|
-
name: "match_description",
|
|
1767
|
-
kind: "scalar",
|
|
1768
|
-
T: 9
|
|
1769
|
-
},
|
|
1770
|
-
{
|
|
1771
|
-
no: 4,
|
|
1772
|
-
name: "similarity_score",
|
|
1773
|
-
kind: "scalar",
|
|
1774
|
-
opt: true,
|
|
1775
|
-
T: 2
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
no: 5,
|
|
1779
|
-
name: "top_candidates",
|
|
1780
|
-
kind: "message",
|
|
1781
|
-
repeat: 2,
|
|
1782
|
-
T: () => SimilarityCandidate
|
|
1783
|
-
}
|
|
1784
|
-
]);
|
|
1785
|
-
}
|
|
1786
|
-
create(value) {
|
|
1787
|
-
const message = globalThis.Object.create(this.messagePrototype);
|
|
1788
|
-
message.matchType = 0;
|
|
1789
|
-
message.matchScope = 0;
|
|
1790
|
-
message.matchDescription = "";
|
|
1791
|
-
message.topCandidates = [];
|
|
1792
|
-
if (value !== void 0) (0, __protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
1793
|
-
return message;
|
|
1794
|
-
}
|
|
1795
|
-
internalBinaryRead(reader, length, options, target) {
|
|
1796
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1797
|
-
while (reader.pos < end) {
|
|
1798
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1799
|
-
switch (fieldNo) {
|
|
1800
|
-
case 1:
|
|
1801
|
-
message.matchType = reader.int32();
|
|
1802
|
-
break;
|
|
1803
|
-
case 2:
|
|
1804
|
-
message.matchScope = reader.int32();
|
|
1805
|
-
break;
|
|
1806
|
-
case 3:
|
|
1807
|
-
message.matchDescription = reader.string();
|
|
1808
|
-
break;
|
|
1809
|
-
case 4:
|
|
1810
|
-
message.similarityScore = reader.float();
|
|
1811
|
-
break;
|
|
1812
|
-
case 5:
|
|
1813
|
-
message.topCandidates.push(SimilarityCandidate.internalBinaryRead(reader, reader.uint32(), options));
|
|
1814
|
-
break;
|
|
1815
|
-
default:
|
|
1816
|
-
let u = options.readUnknownField;
|
|
1817
|
-
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1818
|
-
let d = reader.skip(wireType);
|
|
1819
|
-
if (u !== false) (u === true ? __protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1820
|
-
}
|
|
1821
|
-
}
|
|
1822
|
-
return message;
|
|
1823
|
-
}
|
|
1824
|
-
internalBinaryWrite(message, writer, options) {
|
|
1825
|
-
if (message.matchType !== 0) writer.tag(1, __protobuf_ts_runtime.WireType.Varint).int32(message.matchType);
|
|
1826
|
-
if (message.matchScope !== 0) writer.tag(2, __protobuf_ts_runtime.WireType.Varint).int32(message.matchScope);
|
|
1827
|
-
if (message.matchDescription !== "") writer.tag(3, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.matchDescription);
|
|
1828
|
-
if (message.similarityScore !== void 0) writer.tag(4, __protobuf_ts_runtime.WireType.Bit32).float(message.similarityScore);
|
|
1829
|
-
for (let i = 0; i < message.topCandidates.length; i++) SimilarityCandidate.internalBinaryWrite(message.topCandidates[i], writer.tag(5, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1830
|
-
let u = options.writeUnknownFields;
|
|
1831
|
-
if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1832
|
-
return writer;
|
|
1833
|
-
}
|
|
1834
|
-
};
|
|
1835
|
-
/**
|
|
1836
|
-
* @generated MessageType for protobuf message tusk.drift.backend.v1.MatchLevel
|
|
1837
|
-
*/
|
|
1838
|
-
const MatchLevel = new MatchLevel$Type();
|
|
1839
|
-
var SimilarityCandidate$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
1840
|
-
constructor() {
|
|
1841
|
-
super("tusk.drift.backend.v1.SimilarityCandidate", [{
|
|
1842
|
-
no: 1,
|
|
1843
|
-
name: "span_id",
|
|
1844
|
-
kind: "scalar",
|
|
1845
|
-
T: 9
|
|
1846
|
-
}, {
|
|
1847
|
-
no: 2,
|
|
1848
|
-
name: "score",
|
|
1849
|
-
kind: "scalar",
|
|
1850
|
-
T: 2
|
|
1851
|
-
}]);
|
|
1852
|
-
}
|
|
1853
|
-
create(value) {
|
|
1854
|
-
const message = globalThis.Object.create(this.messagePrototype);
|
|
1855
|
-
message.spanId = "";
|
|
1856
|
-
message.score = 0;
|
|
1857
|
-
if (value !== void 0) (0, __protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
1858
|
-
return message;
|
|
1859
|
-
}
|
|
1860
|
-
internalBinaryRead(reader, length, options, target) {
|
|
1861
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
1862
|
-
while (reader.pos < end) {
|
|
1863
|
-
let [fieldNo, wireType] = reader.tag();
|
|
1864
|
-
switch (fieldNo) {
|
|
1865
|
-
case 1:
|
|
1866
|
-
message.spanId = reader.string();
|
|
1867
|
-
break;
|
|
1868
|
-
case 2:
|
|
1869
|
-
message.score = reader.float();
|
|
1870
|
-
break;
|
|
1871
|
-
default:
|
|
1872
|
-
let u = options.readUnknownField;
|
|
1873
|
-
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1874
|
-
let d = reader.skip(wireType);
|
|
1875
|
-
if (u !== false) (u === true ? __protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1876
|
-
}
|
|
1877
|
-
}
|
|
1878
|
-
return message;
|
|
1879
|
-
}
|
|
1880
|
-
internalBinaryWrite(message, writer, options) {
|
|
1881
|
-
if (message.spanId !== "") writer.tag(1, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.spanId);
|
|
1882
|
-
if (message.score !== 0) writer.tag(2, __protobuf_ts_runtime.WireType.Bit32).float(message.score);
|
|
1883
|
-
let u = options.writeUnknownFields;
|
|
1884
|
-
if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1885
|
-
return writer;
|
|
1886
|
-
}
|
|
1887
|
-
};
|
|
1888
|
-
/**
|
|
1889
|
-
* @generated MessageType for protobuf message tusk.drift.backend.v1.SimilarityCandidate
|
|
1890
|
-
*/
|
|
1891
|
-
const SimilarityCandidate = new SimilarityCandidate$Type();
|
|
1892
1689
|
var TraceTestSpanResult$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
1893
1690
|
constructor() {
|
|
1894
1691
|
super("tusk.drift.backend.v1.TraceTestSpanResult", [
|
|
@@ -1909,7 +1706,7 @@ var TraceTestSpanResult$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
|
1909
1706
|
no: 3,
|
|
1910
1707
|
name: "match_level",
|
|
1911
1708
|
kind: "message",
|
|
1912
|
-
T: () => MatchLevel
|
|
1709
|
+
T: () => require_span.MatchLevel
|
|
1913
1710
|
},
|
|
1914
1711
|
{
|
|
1915
1712
|
no: 4,
|
|
@@ -1945,7 +1742,7 @@ var TraceTestSpanResult$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
|
1945
1742
|
message.matchedSpanRecordingId = reader.string();
|
|
1946
1743
|
break;
|
|
1947
1744
|
case 3:
|
|
1948
|
-
message.matchLevel = MatchLevel.internalBinaryRead(reader, reader.uint32(), options, message.matchLevel);
|
|
1745
|
+
message.matchLevel = require_span.MatchLevel.internalBinaryRead(reader, reader.uint32(), options, message.matchLevel);
|
|
1949
1746
|
break;
|
|
1950
1747
|
case 4:
|
|
1951
1748
|
message.stackTrace = reader.string();
|
|
@@ -1965,7 +1762,7 @@ var TraceTestSpanResult$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
|
1965
1762
|
internalBinaryWrite(message, writer, options) {
|
|
1966
1763
|
if (message.replaySpan) require_span.Span.internalBinaryWrite(message.replaySpan, writer.tag(1, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1967
1764
|
if (message.matchedSpanRecordingId !== void 0) writer.tag(2, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.matchedSpanRecordingId);
|
|
1968
|
-
if (message.matchLevel) MatchLevel.internalBinaryWrite(message.matchLevel, writer.tag(3, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1765
|
+
if (message.matchLevel) require_span.MatchLevel.internalBinaryWrite(message.matchLevel, writer.tag(3, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1969
1766
|
if (message.stackTrace !== void 0) writer.tag(4, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.stackTrace);
|
|
1970
1767
|
for (let i = 0; i < message.deviations.length; i++) Deviation.internalBinaryWrite(message.deviations[i], writer.tag(5, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
1971
1768
|
let u = options.writeUnknownFields;
|
|
@@ -3040,30 +2837,6 @@ Object.defineProperty(exports, 'GetValidationTraceTestsResponseSuccess', {
|
|
|
3040
2837
|
return GetValidationTraceTestsResponseSuccess;
|
|
3041
2838
|
}
|
|
3042
2839
|
});
|
|
3043
|
-
Object.defineProperty(exports, 'MatchLevel', {
|
|
3044
|
-
enumerable: true,
|
|
3045
|
-
get: function () {
|
|
3046
|
-
return MatchLevel;
|
|
3047
|
-
}
|
|
3048
|
-
});
|
|
3049
|
-
Object.defineProperty(exports, 'MatchScope', {
|
|
3050
|
-
enumerable: true,
|
|
3051
|
-
get: function () {
|
|
3052
|
-
return MatchScope;
|
|
3053
|
-
}
|
|
3054
|
-
});
|
|
3055
|
-
Object.defineProperty(exports, 'MatchType', {
|
|
3056
|
-
enumerable: true,
|
|
3057
|
-
get: function () {
|
|
3058
|
-
return MatchType;
|
|
3059
|
-
}
|
|
3060
|
-
});
|
|
3061
|
-
Object.defineProperty(exports, 'SimilarityCandidate', {
|
|
3062
|
-
enumerable: true,
|
|
3063
|
-
get: function () {
|
|
3064
|
-
return SimilarityCandidate;
|
|
3065
|
-
}
|
|
3066
|
-
});
|
|
3067
2840
|
Object.defineProperty(exports, 'TestRunService', {
|
|
3068
2841
|
enumerable: true,
|
|
3069
2842
|
get: function () {
|
|
@@ -3148,4 +2921,4 @@ Object.defineProperty(exports, 'UploadTraceTestResultsResponseSuccess', {
|
|
|
3148
2921
|
return UploadTraceTestResultsResponseSuccess;
|
|
3149
2922
|
}
|
|
3150
2923
|
});
|
|
3151
|
-
//# sourceMappingURL=test_run_service-
|
|
2924
|
+
//# sourceMappingURL=test_run_service-BT4RRjyh.cjs.map
|