@use-tusk/drift-schemas 0.1.10
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/README.md +22 -0
- package/dist/backend/onboarding_service.cjs +6 -0
- package/dist/backend/onboarding_service.client.cjs +30 -0
- package/dist/backend/onboarding_service.client.cjs.map +1 -0
- package/dist/backend/onboarding_service.client.d.cts +39 -0
- package/dist/backend/onboarding_service.client.d.cts.map +1 -0
- package/dist/backend/onboarding_service.client.d.ts +39 -0
- package/dist/backend/onboarding_service.client.d.ts.map +1 -0
- package/dist/backend/onboarding_service.client.js +28 -0
- package/dist/backend/onboarding_service.client.js.map +1 -0
- package/dist/backend/onboarding_service.d.cts +2 -0
- package/dist/backend/onboarding_service.d.ts +2 -0
- package/dist/backend/onboarding_service.js +3 -0
- package/dist/backend/span_export_service.cjs +9 -0
- package/dist/backend/span_export_service.client.cjs +32 -0
- package/dist/backend/span_export_service.client.cjs.map +1 -0
- package/dist/backend/span_export_service.client.d.cts +38 -0
- package/dist/backend/span_export_service.client.d.cts.map +1 -0
- package/dist/backend/span_export_service.client.d.ts +38 -0
- package/dist/backend/span_export_service.client.d.ts.map +1 -0
- package/dist/backend/span_export_service.client.js +30 -0
- package/dist/backend/span_export_service.client.js.map +1 -0
- package/dist/backend/span_export_service.d.cts +6 -0
- package/dist/backend/span_export_service.d.ts +6 -0
- package/dist/backend/span_export_service.js +7 -0
- package/dist/backend/test_run_service.cjs +49 -0
- package/dist/backend/test_run_service.client.cjs +100 -0
- package/dist/backend/test_run_service.client.cjs.map +1 -0
- package/dist/backend/test_run_service.client.d.cts +133 -0
- package/dist/backend/test_run_service.client.d.cts.map +1 -0
- package/dist/backend/test_run_service.client.d.ts +133 -0
- package/dist/backend/test_run_service.client.d.ts.map +1 -0
- package/dist/backend/test_run_service.client.js +98 -0
- package/dist/backend/test_run_service.client.js.map +1 -0
- package/dist/backend/test_run_service.d.cts +6 -0
- package/dist/backend/test_run_service.d.ts +6 -0
- package/dist/backend/test_run_service.js +7 -0
- package/dist/chunk-CUT6urMc.cjs +30 -0
- package/dist/communication-CJHE2gJz.cjs +787 -0
- package/dist/communication-CJHE2gJz.cjs.map +1 -0
- package/dist/communication-D_MVOCQQ.d.cts +325 -0
- package/dist/communication-D_MVOCQQ.d.cts.map +1 -0
- package/dist/communication-Np8Uorqu.js +725 -0
- package/dist/communication-Np8Uorqu.js.map +1 -0
- package/dist/communication-bKx0B3ai.d.ts +325 -0
- package/dist/communication-bKx0B3ai.d.ts.map +1 -0
- package/dist/core/communication.cjs +16 -0
- package/dist/core/communication.client.cjs +48 -0
- package/dist/core/communication.client.cjs.map +1 -0
- package/dist/core/communication.client.d.cts +59 -0
- package/dist/core/communication.client.d.cts.map +1 -0
- package/dist/core/communication.client.d.ts +59 -0
- package/dist/core/communication.client.d.ts.map +1 -0
- package/dist/core/communication.client.js +46 -0
- package/dist/core/communication.client.js.map +1 -0
- package/dist/core/communication.d.cts +6 -0
- package/dist/core/communication.d.ts +6 -0
- package/dist/core/communication.js +7 -0
- package/dist/core/span.cjs +13 -0
- package/dist/core/span.d.cts +5 -0
- package/dist/core/span.d.ts +5 -0
- package/dist/core/span.js +6 -0
- package/dist/duration-2zPogS5a.d.ts +109 -0
- package/dist/duration-2zPogS5a.d.ts.map +1 -0
- package/dist/duration-B3fwb4jB.js +96 -0
- package/dist/duration-B3fwb4jB.js.map +1 -0
- package/dist/duration-C9RVKjpO.d.cts +109 -0
- package/dist/duration-C9RVKjpO.d.cts.map +1 -0
- package/dist/duration-DXK3bnoh.cjs +103 -0
- package/dist/duration-DXK3bnoh.cjs.map +1 -0
- package/dist/google/protobuf/duration.cjs +3 -0
- package/dist/google/protobuf/duration.d.cts +2 -0
- package/dist/google/protobuf/duration.d.ts +2 -0
- package/dist/google/protobuf/duration.js +3 -0
- package/dist/google/protobuf/struct.cjs +6 -0
- package/dist/google/protobuf/struct.d.cts +2 -0
- package/dist/google/protobuf/struct.d.ts +2 -0
- package/dist/google/protobuf/struct.js +3 -0
- package/dist/google/protobuf/timestamp.cjs +3 -0
- package/dist/google/protobuf/timestamp.d.cts +2 -0
- package/dist/google/protobuf/timestamp.d.ts +2 -0
- package/dist/google/protobuf/timestamp.js +3 -0
- package/dist/onboarding_service-AomDhJCy.js +145 -0
- package/dist/onboarding_service-AomDhJCy.js.map +1 -0
- package/dist/onboarding_service-C0YdBJhl.d.cts +71 -0
- package/dist/onboarding_service-C0YdBJhl.d.cts.map +1 -0
- package/dist/onboarding_service-Ccl8QTd4.cjs +171 -0
- package/dist/onboarding_service-Ccl8QTd4.cjs.map +1 -0
- package/dist/onboarding_service-kegV5UqG.d.ts +71 -0
- package/dist/onboarding_service-kegV5UqG.d.ts.map +1 -0
- package/dist/postgresql/postgresql.cjs +1476 -0
- package/dist/postgresql/postgresql.cjs.map +1 -0
- package/dist/postgresql/postgresql.d.cts +639 -0
- package/dist/postgresql/postgresql.d.cts.map +1 -0
- package/dist/postgresql/postgresql.d.ts +639 -0
- package/dist/postgresql/postgresql.d.ts.map +1 -0
- package/dist/postgresql/postgresql.js +1461 -0
- package/dist/postgresql/postgresql.js.map +1 -0
- package/dist/span-BOpbAPMC.d.ts +396 -0
- package/dist/span-BOpbAPMC.d.ts.map +1 -0
- package/dist/span-DdxaadRr.cjs +827 -0
- package/dist/span-DdxaadRr.cjs.map +1 -0
- package/dist/span-DwoKrEhp.js +778 -0
- package/dist/span-DwoKrEhp.js.map +1 -0
- package/dist/span-EQEkCEbn.d.cts +396 -0
- package/dist/span-EQEkCEbn.d.cts.map +1 -0
- package/dist/span_export_service-CbSVaHwu.d.cts +73 -0
- package/dist/span_export_service-CbSVaHwu.d.cts.map +1 -0
- package/dist/span_export_service-DzOsX7Of.d.ts +73 -0
- package/dist/span_export_service-DzOsX7Of.d.ts.map +1 -0
- package/dist/span_export_service-ZbWxkZSp.js +161 -0
- package/dist/span_export_service-ZbWxkZSp.js.map +1 -0
- package/dist/span_export_service-rOsqG9c6.cjs +181 -0
- package/dist/span_export_service-rOsqG9c6.cjs.map +1 -0
- package/dist/struct-BArXEwH6.d.ts +183 -0
- package/dist/struct-BArXEwH6.d.ts.map +1 -0
- package/dist/struct-B_Dk4HR1.cjs +379 -0
- package/dist/struct-B_Dk4HR1.cjs.map +1 -0
- package/dist/struct-ByyMh9ro.d.cts +183 -0
- package/dist/struct-ByyMh9ro.d.cts.map +1 -0
- package/dist/struct-LJz5_MGH.js +354 -0
- package/dist/struct-LJz5_MGH.js.map +1 -0
- package/dist/test_run_service-5Yml6s_N.d.ts +1179 -0
- package/dist/test_run_service-5Yml6s_N.d.ts.map +1 -0
- package/dist/test_run_service-BVhrRxO_.js +2559 -0
- package/dist/test_run_service-BVhrRxO_.js.map +1 -0
- package/dist/test_run_service-DAflWX54.d.cts +1179 -0
- package/dist/test_run_service-DAflWX54.d.cts.map +1 -0
- package/dist/test_run_service-Dkjv1XDs.cjs +2819 -0
- package/dist/test_run_service-Dkjv1XDs.cjs.map +1 -0
- package/dist/timestamp-2doLREh_.d.ts +152 -0
- package/dist/timestamp-2doLREh_.d.ts.map +1 -0
- package/dist/timestamp-C1kA6yb7.d.cts +152 -0
- package/dist/timestamp-C1kA6yb7.d.cts.map +1 -0
- package/dist/timestamp-CN7C70ih.js +121 -0
- package/dist/timestamp-CN7C70ih.js.map +1 -0
- package/dist/timestamp-Dfs_RIb3.cjs +128 -0
- package/dist/timestamp-Dfs_RIb3.cjs.map +1 -0
- package/package.json +98 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import "../struct-ByyMh9ro.cjs";
|
|
2
|
+
import "../duration-C9RVKjpO.cjs";
|
|
3
|
+
import "../timestamp-C1kA6yb7.cjs";
|
|
4
|
+
import "../span-EQEkCEbn.cjs";
|
|
5
|
+
import { CreateDriftRunRequest, CreateDriftRunResponse, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetGlobalSpansRequest, GetGlobalSpansResponse, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetTraceTestRequest, GetTraceTestResponse, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse } from "../test_run_service-DAflWX54.cjs";
|
|
6
|
+
import * as _protobuf_ts_runtime_rpc1 from "@protobuf-ts/runtime-rpc";
|
|
7
|
+
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
8
|
+
import * as _protobuf_ts_runtime1 from "@protobuf-ts/runtime";
|
|
9
|
+
|
|
10
|
+
//#region generated/ts/backend/test_run_service.client.d.ts
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf service tusk.drift.backend.v1.TestRunService
|
|
14
|
+
*/
|
|
15
|
+
interface ITestRunServiceClient {
|
|
16
|
+
/**
|
|
17
|
+
* Get global spans - spans that can be used across all tests
|
|
18
|
+
* e.g. outbound span to a jwks endpoint that may not be present in all traces
|
|
19
|
+
* we're replaying
|
|
20
|
+
*
|
|
21
|
+
* @generated from protobuf rpc: GetGlobalSpans
|
|
22
|
+
*/
|
|
23
|
+
getGlobalSpans(input: GetGlobalSpansRequest, options?: RpcOptions): UnaryCall<GetGlobalSpansRequest, GetGlobalSpansResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Get pre-app start spans - used to mock pre-app start spans
|
|
26
|
+
*
|
|
27
|
+
* @generated from protobuf rpc: GetPreAppStartSpans
|
|
28
|
+
*/
|
|
29
|
+
getPreAppStartSpans(input: GetPreAppStartSpansRequest, options?: RpcOptions): UnaryCall<GetPreAppStartSpansRequest, GetPreAppStartSpansResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* Create drift run in BE, also upserts commit and PR info
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf rpc: CreateDriftRun
|
|
34
|
+
*/
|
|
35
|
+
createDriftRun(input: CreateDriftRunRequest, options?: RpcOptions): UnaryCall<CreateDriftRunRequest, CreateDriftRunResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Get all trace tests for a drift run
|
|
38
|
+
*
|
|
39
|
+
* @generated from protobuf rpc: GetDriftRunTraceTests
|
|
40
|
+
*/
|
|
41
|
+
getDriftRunTraceTests(input: GetDriftRunTraceTestsRequest, options?: RpcOptions): UnaryCall<GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Get all trace tests in test suite
|
|
44
|
+
*
|
|
45
|
+
* @generated from protobuf rpc: GetAllTraceTests
|
|
46
|
+
*/
|
|
47
|
+
getAllTraceTests(input: GetAllTraceTestsRequest, options?: RpcOptions): UnaryCall<GetAllTraceTestsRequest, GetAllTraceTestsResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Get a single trace test
|
|
50
|
+
*
|
|
51
|
+
* @generated from protobuf rpc: GetTraceTest
|
|
52
|
+
*/
|
|
53
|
+
getTraceTest(input: GetTraceTestRequest, options?: RpcOptions): UnaryCall<GetTraceTestRequest, GetTraceTestResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Upload trace test results to BE
|
|
56
|
+
*
|
|
57
|
+
* @generated from protobuf rpc: UploadTraceTestResults
|
|
58
|
+
*/
|
|
59
|
+
uploadTraceTestResults(input: UploadTraceTestResultsRequest, options?: RpcOptions): UnaryCall<UploadTraceTestResultsRequest, UploadTraceTestResultsResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Allows CLI to indicate to backend that it's done running trace tests
|
|
62
|
+
* This can also allow CLI to send a heartbeat to indicate it's still running
|
|
63
|
+
*
|
|
64
|
+
* @generated from protobuf rpc: UpdateDriftRunCIStatus
|
|
65
|
+
*/
|
|
66
|
+
updateDriftRunCIStatus(input: UpdateDriftRunCIStatusRequest, options?: RpcOptions): UnaryCall<UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse>;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @generated from protobuf service tusk.drift.backend.v1.TestRunService
|
|
70
|
+
*/
|
|
71
|
+
declare class TestRunServiceClient implements ITestRunServiceClient, ServiceInfo {
|
|
72
|
+
private readonly _transport;
|
|
73
|
+
typeName: string;
|
|
74
|
+
methods: _protobuf_ts_runtime_rpc1.MethodInfo<any, any>[];
|
|
75
|
+
options: {
|
|
76
|
+
[extensionName: string]: _protobuf_ts_runtime1.JsonValue;
|
|
77
|
+
};
|
|
78
|
+
constructor(_transport: RpcTransport);
|
|
79
|
+
/**
|
|
80
|
+
* Get global spans - spans that can be used across all tests
|
|
81
|
+
* e.g. outbound span to a jwks endpoint that may not be present in all traces
|
|
82
|
+
* we're replaying
|
|
83
|
+
*
|
|
84
|
+
* @generated from protobuf rpc: GetGlobalSpans
|
|
85
|
+
*/
|
|
86
|
+
getGlobalSpans(input: GetGlobalSpansRequest, options?: RpcOptions): UnaryCall<GetGlobalSpansRequest, GetGlobalSpansResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Get pre-app start spans - used to mock pre-app start spans
|
|
89
|
+
*
|
|
90
|
+
* @generated from protobuf rpc: GetPreAppStartSpans
|
|
91
|
+
*/
|
|
92
|
+
getPreAppStartSpans(input: GetPreAppStartSpansRequest, options?: RpcOptions): UnaryCall<GetPreAppStartSpansRequest, GetPreAppStartSpansResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* Create drift run in BE, also upserts commit and PR info
|
|
95
|
+
*
|
|
96
|
+
* @generated from protobuf rpc: CreateDriftRun
|
|
97
|
+
*/
|
|
98
|
+
createDriftRun(input: CreateDriftRunRequest, options?: RpcOptions): UnaryCall<CreateDriftRunRequest, CreateDriftRunResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* Get all trace tests for a drift run
|
|
101
|
+
*
|
|
102
|
+
* @generated from protobuf rpc: GetDriftRunTraceTests
|
|
103
|
+
*/
|
|
104
|
+
getDriftRunTraceTests(input: GetDriftRunTraceTestsRequest, options?: RpcOptions): UnaryCall<GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* Get all trace tests in test suite
|
|
107
|
+
*
|
|
108
|
+
* @generated from protobuf rpc: GetAllTraceTests
|
|
109
|
+
*/
|
|
110
|
+
getAllTraceTests(input: GetAllTraceTestsRequest, options?: RpcOptions): UnaryCall<GetAllTraceTestsRequest, GetAllTraceTestsResponse>;
|
|
111
|
+
/**
|
|
112
|
+
* Get a single trace test
|
|
113
|
+
*
|
|
114
|
+
* @generated from protobuf rpc: GetTraceTest
|
|
115
|
+
*/
|
|
116
|
+
getTraceTest(input: GetTraceTestRequest, options?: RpcOptions): UnaryCall<GetTraceTestRequest, GetTraceTestResponse>;
|
|
117
|
+
/**
|
|
118
|
+
* Upload trace test results to BE
|
|
119
|
+
*
|
|
120
|
+
* @generated from protobuf rpc: UploadTraceTestResults
|
|
121
|
+
*/
|
|
122
|
+
uploadTraceTestResults(input: UploadTraceTestResultsRequest, options?: RpcOptions): UnaryCall<UploadTraceTestResultsRequest, UploadTraceTestResultsResponse>;
|
|
123
|
+
/**
|
|
124
|
+
* Allows CLI to indicate to backend that it's done running trace tests
|
|
125
|
+
* This can also allow CLI to send a heartbeat to indicate it's still running
|
|
126
|
+
*
|
|
127
|
+
* @generated from protobuf rpc: UpdateDriftRunCIStatus
|
|
128
|
+
*/
|
|
129
|
+
updateDriftRunCIStatus(input: UpdateDriftRunCIStatusRequest, options?: RpcOptions): UnaryCall<UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse>;
|
|
130
|
+
}
|
|
131
|
+
//#endregion
|
|
132
|
+
export { ITestRunServiceClient, TestRunServiceClient };
|
|
133
|
+
//# sourceMappingURL=test_run_service.client.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test_run_service.client.d.cts","names":[],"sources":["../../generated/ts/backend/test_run_service.client.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;AAgD2D,UApB1C,qBAAA,CAoB0C;;;;;;;;gBAM2B,CAAA,KAAA,EAlB5D,qBAkB4D,EAAA,OAAA,CAAA,EAlB3B,UAkB2B,CAAA,EAlBd,SAkBc,CAlBJ,qBAkBI,EAlBmB,sBAkBnB,CAAA;;;;;;qBAY9D,CAAA,KAAA,EAxBO,0BAwBP,EAAA,OAAA,CAAA,EAxB6C,UAwB7C,CAAA,EAxB0D,SAwB1D,CAxBoE,0BAwBpE,EAxBgG,2BAwBhG,CAAA;;;;;;gBAMmD,CAAA,KAAA,EAxBjD,qBAwBiD,EAAA,OAAA,CAAA,EAxBhB,UAwBgB,CAAA,EAxBH,SAwBG,CAxBO,qBAwBP,EAxB8B,sBAwB9B,CAAA;;;;;;uBAOuB,CAAA,KAAA,EAzBjE,4BAyBiE,EAAA,OAAA,CAAA,EAzBzB,UAyByB,CAAA,EAzBZ,SAyBY,CAzBF,4BAyBE,EAzB4B,6BAyB5B,CAAA;;;;AAKlG;;kBAAkC,CAAA,KAAA,EAxBN,uBA0BjB,EAAA,OAAA,CAAA,EA1BoD,UA0BpD,CAAA,EA1BiE,SA0BjE,CA1B2E,uBA0B3E,EA1BoG,wBA0BpG,CAAA;;;;;;cAW8F,CAAA,KAAA,EA/BjF,mBA+BiF,EAAA,OAAA,CAAA,EA/BlD,UA+BkD,CAAA,EA/BrC,SA+BqC,CA/B3B,mBA+B2B,EA/BN,oBA+BM,CAAA;;;;;;wBASvB,CAAA,KAAA,EAlChD,6BAkCgD,EAAA,OAAA,CAAA,EAlCP,UAkCO,CAAA,EAlCM,SAkCN,CAlCgB,6BAkChB,EAlC+C,8BAkC/C,CAAA;;;;;;;wBAkBT,CAAA,KAAA,EA7CvC,6BA6CuC,EAAA,OAAA,CAAA,EA7CE,UA6CF,CAAA,EA7Ce,SA6Cf,CA7CyB,6BA6CzB,EA7CwD,8BA6CxD,CAAA;;;;;AASV,cAjDlD,oBAAA,YAAgC,qBAiDkB,EAjDK,WAiDL,CAAA;mBAAuB,UAAA;UAAyB,EAAA,MAAA;SAAnC,EAjD1C,yBAAA,CAEvB,UA+CiE,CAAA,GAAA,EAAA,GAAA,CAAA,EAAA;SASpD,EAAA;IAA+B,CAAA,aAAA,EAAA,MAAA,CAAA,EAxD5C,qBAAA,CAAA,SAwD4C;;aAA4C,CAAA,UAAA,EAtDtD,YAsDsD;;;;;;;;gBAmBxB,CAAA,KAAA,EAhEjD,qBAgEiD,EAAA,OAAA,CAAA,EAhEhB,UAgEgB,CAAA,EAhEH,SAgEG,CAhEO,qBAgEP,EAhE8B,sBAgE9B,CAAA;;;;;;EA7EI,mBAAA,CAAA,KAAA,EAsBhD,0BAtBgD,EAAA,OAAA,CAAA,EAsBV,UAtBU,CAAA,EAsBG,SAtBH,CAsBa,0BAtBb,EAsByC,2BAtBzC,CAAA;;;;;;wBA+BrD,iCAAiC,aAAa,UAAU,uBAAuB;;;;;;+BASxE,wCAAwC,aAAa,UAAU,8BAA8B;;;;;;0BASlG,mCAAmC,aAAa,UAAU,yBAAyB;;;;;;sBASvF,+BAA+B,aAAa,UAAU,qBAAqB;;;;;;gCASjE,yCAAyC,aAAa,UAAU,+BAA+B;;;;;;;gCAU/F,yCAAyC,aAAa,UAAU,+BAA+B"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import "../struct-BArXEwH6.js";
|
|
2
|
+
import "../duration-2zPogS5a.js";
|
|
3
|
+
import "../timestamp-2doLREh_.js";
|
|
4
|
+
import "../span-BOpbAPMC.js";
|
|
5
|
+
import { CreateDriftRunRequest, CreateDriftRunResponse, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetGlobalSpansRequest, GetGlobalSpansResponse, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetTraceTestRequest, GetTraceTestResponse, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse } from "../test_run_service-5Yml6s_N.js";
|
|
6
|
+
import * as _protobuf_ts_runtime_rpc1 from "@protobuf-ts/runtime-rpc";
|
|
7
|
+
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
8
|
+
import * as _protobuf_ts_runtime1 from "@protobuf-ts/runtime";
|
|
9
|
+
|
|
10
|
+
//#region generated/ts/backend/test_run_service.client.d.ts
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf service tusk.drift.backend.v1.TestRunService
|
|
14
|
+
*/
|
|
15
|
+
interface ITestRunServiceClient {
|
|
16
|
+
/**
|
|
17
|
+
* Get global spans - spans that can be used across all tests
|
|
18
|
+
* e.g. outbound span to a jwks endpoint that may not be present in all traces
|
|
19
|
+
* we're replaying
|
|
20
|
+
*
|
|
21
|
+
* @generated from protobuf rpc: GetGlobalSpans
|
|
22
|
+
*/
|
|
23
|
+
getGlobalSpans(input: GetGlobalSpansRequest, options?: RpcOptions): UnaryCall<GetGlobalSpansRequest, GetGlobalSpansResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Get pre-app start spans - used to mock pre-app start spans
|
|
26
|
+
*
|
|
27
|
+
* @generated from protobuf rpc: GetPreAppStartSpans
|
|
28
|
+
*/
|
|
29
|
+
getPreAppStartSpans(input: GetPreAppStartSpansRequest, options?: RpcOptions): UnaryCall<GetPreAppStartSpansRequest, GetPreAppStartSpansResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* Create drift run in BE, also upserts commit and PR info
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf rpc: CreateDriftRun
|
|
34
|
+
*/
|
|
35
|
+
createDriftRun(input: CreateDriftRunRequest, options?: RpcOptions): UnaryCall<CreateDriftRunRequest, CreateDriftRunResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Get all trace tests for a drift run
|
|
38
|
+
*
|
|
39
|
+
* @generated from protobuf rpc: GetDriftRunTraceTests
|
|
40
|
+
*/
|
|
41
|
+
getDriftRunTraceTests(input: GetDriftRunTraceTestsRequest, options?: RpcOptions): UnaryCall<GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Get all trace tests in test suite
|
|
44
|
+
*
|
|
45
|
+
* @generated from protobuf rpc: GetAllTraceTests
|
|
46
|
+
*/
|
|
47
|
+
getAllTraceTests(input: GetAllTraceTestsRequest, options?: RpcOptions): UnaryCall<GetAllTraceTestsRequest, GetAllTraceTestsResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Get a single trace test
|
|
50
|
+
*
|
|
51
|
+
* @generated from protobuf rpc: GetTraceTest
|
|
52
|
+
*/
|
|
53
|
+
getTraceTest(input: GetTraceTestRequest, options?: RpcOptions): UnaryCall<GetTraceTestRequest, GetTraceTestResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Upload trace test results to BE
|
|
56
|
+
*
|
|
57
|
+
* @generated from protobuf rpc: UploadTraceTestResults
|
|
58
|
+
*/
|
|
59
|
+
uploadTraceTestResults(input: UploadTraceTestResultsRequest, options?: RpcOptions): UnaryCall<UploadTraceTestResultsRequest, UploadTraceTestResultsResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Allows CLI to indicate to backend that it's done running trace tests
|
|
62
|
+
* This can also allow CLI to send a heartbeat to indicate it's still running
|
|
63
|
+
*
|
|
64
|
+
* @generated from protobuf rpc: UpdateDriftRunCIStatus
|
|
65
|
+
*/
|
|
66
|
+
updateDriftRunCIStatus(input: UpdateDriftRunCIStatusRequest, options?: RpcOptions): UnaryCall<UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse>;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @generated from protobuf service tusk.drift.backend.v1.TestRunService
|
|
70
|
+
*/
|
|
71
|
+
declare class TestRunServiceClient implements ITestRunServiceClient, ServiceInfo {
|
|
72
|
+
private readonly _transport;
|
|
73
|
+
typeName: string;
|
|
74
|
+
methods: _protobuf_ts_runtime_rpc1.MethodInfo<any, any>[];
|
|
75
|
+
options: {
|
|
76
|
+
[extensionName: string]: _protobuf_ts_runtime1.JsonValue;
|
|
77
|
+
};
|
|
78
|
+
constructor(_transport: RpcTransport);
|
|
79
|
+
/**
|
|
80
|
+
* Get global spans - spans that can be used across all tests
|
|
81
|
+
* e.g. outbound span to a jwks endpoint that may not be present in all traces
|
|
82
|
+
* we're replaying
|
|
83
|
+
*
|
|
84
|
+
* @generated from protobuf rpc: GetGlobalSpans
|
|
85
|
+
*/
|
|
86
|
+
getGlobalSpans(input: GetGlobalSpansRequest, options?: RpcOptions): UnaryCall<GetGlobalSpansRequest, GetGlobalSpansResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Get pre-app start spans - used to mock pre-app start spans
|
|
89
|
+
*
|
|
90
|
+
* @generated from protobuf rpc: GetPreAppStartSpans
|
|
91
|
+
*/
|
|
92
|
+
getPreAppStartSpans(input: GetPreAppStartSpansRequest, options?: RpcOptions): UnaryCall<GetPreAppStartSpansRequest, GetPreAppStartSpansResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* Create drift run in BE, also upserts commit and PR info
|
|
95
|
+
*
|
|
96
|
+
* @generated from protobuf rpc: CreateDriftRun
|
|
97
|
+
*/
|
|
98
|
+
createDriftRun(input: CreateDriftRunRequest, options?: RpcOptions): UnaryCall<CreateDriftRunRequest, CreateDriftRunResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* Get all trace tests for a drift run
|
|
101
|
+
*
|
|
102
|
+
* @generated from protobuf rpc: GetDriftRunTraceTests
|
|
103
|
+
*/
|
|
104
|
+
getDriftRunTraceTests(input: GetDriftRunTraceTestsRequest, options?: RpcOptions): UnaryCall<GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* Get all trace tests in test suite
|
|
107
|
+
*
|
|
108
|
+
* @generated from protobuf rpc: GetAllTraceTests
|
|
109
|
+
*/
|
|
110
|
+
getAllTraceTests(input: GetAllTraceTestsRequest, options?: RpcOptions): UnaryCall<GetAllTraceTestsRequest, GetAllTraceTestsResponse>;
|
|
111
|
+
/**
|
|
112
|
+
* Get a single trace test
|
|
113
|
+
*
|
|
114
|
+
* @generated from protobuf rpc: GetTraceTest
|
|
115
|
+
*/
|
|
116
|
+
getTraceTest(input: GetTraceTestRequest, options?: RpcOptions): UnaryCall<GetTraceTestRequest, GetTraceTestResponse>;
|
|
117
|
+
/**
|
|
118
|
+
* Upload trace test results to BE
|
|
119
|
+
*
|
|
120
|
+
* @generated from protobuf rpc: UploadTraceTestResults
|
|
121
|
+
*/
|
|
122
|
+
uploadTraceTestResults(input: UploadTraceTestResultsRequest, options?: RpcOptions): UnaryCall<UploadTraceTestResultsRequest, UploadTraceTestResultsResponse>;
|
|
123
|
+
/**
|
|
124
|
+
* Allows CLI to indicate to backend that it's done running trace tests
|
|
125
|
+
* This can also allow CLI to send a heartbeat to indicate it's still running
|
|
126
|
+
*
|
|
127
|
+
* @generated from protobuf rpc: UpdateDriftRunCIStatus
|
|
128
|
+
*/
|
|
129
|
+
updateDriftRunCIStatus(input: UpdateDriftRunCIStatusRequest, options?: RpcOptions): UnaryCall<UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse>;
|
|
130
|
+
}
|
|
131
|
+
//#endregion
|
|
132
|
+
export { ITestRunServiceClient, TestRunServiceClient };
|
|
133
|
+
//# sourceMappingURL=test_run_service.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test_run_service.client.d.ts","names":[],"sources":["../../generated/ts/backend/test_run_service.client.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;AAgD2D,UApB1C,qBAAA,CAoB0C;;;;;;;;gBAM2B,CAAA,KAAA,EAlB5D,qBAkB4D,EAAA,OAAA,CAAA,EAlB3B,UAkB2B,CAAA,EAlBd,SAkBc,CAlBJ,qBAkBI,EAlBmB,sBAkBnB,CAAA;;;;;;qBAY9D,CAAA,KAAA,EAxBO,0BAwBP,EAAA,OAAA,CAAA,EAxB6C,UAwB7C,CAAA,EAxB0D,SAwB1D,CAxBoE,0BAwBpE,EAxBgG,2BAwBhG,CAAA;;;;;;gBAMmD,CAAA,KAAA,EAxBjD,qBAwBiD,EAAA,OAAA,CAAA,EAxBhB,UAwBgB,CAAA,EAxBH,SAwBG,CAxBO,qBAwBP,EAxB8B,sBAwB9B,CAAA;;;;;;uBAOuB,CAAA,KAAA,EAzBjE,4BAyBiE,EAAA,OAAA,CAAA,EAzBzB,UAyByB,CAAA,EAzBZ,SAyBY,CAzBF,4BAyBE,EAzB4B,6BAyB5B,CAAA;;;;AAKlG;;kBAAkC,CAAA,KAAA,EAxBN,uBA0BjB,EAAA,OAAA,CAAA,EA1BoD,UA0BpD,CAAA,EA1BiE,SA0BjE,CA1B2E,uBA0B3E,EA1BoG,wBA0BpG,CAAA;;;;;;cAW8F,CAAA,KAAA,EA/BjF,mBA+BiF,EAAA,OAAA,CAAA,EA/BlD,UA+BkD,CAAA,EA/BrC,SA+BqC,CA/B3B,mBA+B2B,EA/BN,oBA+BM,CAAA;;;;;;wBASvB,CAAA,KAAA,EAlChD,6BAkCgD,EAAA,OAAA,CAAA,EAlCP,UAkCO,CAAA,EAlCM,SAkCN,CAlCgB,6BAkChB,EAlC+C,8BAkC/C,CAAA;;;;;;;wBAkBT,CAAA,KAAA,EA7CvC,6BA6CuC,EAAA,OAAA,CAAA,EA7CE,UA6CF,CAAA,EA7Ce,SA6Cf,CA7CyB,6BA6CzB,EA7CwD,8BA6CxD,CAAA;;;;;AASV,cAjDlD,oBAAA,YAAgC,qBAiDkB,EAjDK,WAiDL,CAAA;mBAAuB,UAAA;UAAyB,EAAA,MAAA;SAAnC,EAjD1C,yBAAA,CAEvB,UA+CiE,CAAA,GAAA,EAAA,GAAA,CAAA,EAAA;SASpD,EAAA;IAA+B,CAAA,aAAA,EAAA,MAAA,CAAA,EAxD5C,qBAAA,CAAA,SAwD4C;;aAA4C,CAAA,UAAA,EAtDtD,YAsDsD;;;;;;;;gBAmBxB,CAAA,KAAA,EAhEjD,qBAgEiD,EAAA,OAAA,CAAA,EAhEhB,UAgEgB,CAAA,EAhEH,SAgEG,CAhEO,qBAgEP,EAhE8B,sBAgE9B,CAAA;;;;;;EA7EI,mBAAA,CAAA,KAAA,EAsBhD,0BAtBgD,EAAA,OAAA,CAAA,EAsBV,UAtBU,CAAA,EAsBG,SAtBH,CAsBa,0BAtBb,EAsByC,2BAtBzC,CAAA;;;;;;wBA+BrD,iCAAiC,aAAa,UAAU,uBAAuB;;;;;;+BASxE,wCAAwC,aAAa,UAAU,8BAA8B;;;;;;0BASlG,mCAAmC,aAAa,UAAU,yBAAyB;;;;;;sBASvF,+BAA+B,aAAa,UAAU,qBAAqB;;;;;;gCASjE,yCAAyC,aAAa,UAAU,+BAA+B;;;;;;;gCAU/F,yCAAyC,aAAa,UAAU,+BAA+B"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import "../struct-LJz5_MGH.js";
|
|
2
|
+
import "../duration-B3fwb4jB.js";
|
|
3
|
+
import "../timestamp-CN7C70ih.js";
|
|
4
|
+
import "../span-DwoKrEhp.js";
|
|
5
|
+
import { TestRunService } from "../test_run_service-BVhrRxO_.js";
|
|
6
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
7
|
+
|
|
8
|
+
//#region generated/ts/backend/test_run_service.client.ts
|
|
9
|
+
/**
|
|
10
|
+
* @generated from protobuf service tusk.drift.backend.v1.TestRunService
|
|
11
|
+
*/
|
|
12
|
+
var TestRunServiceClient = class {
|
|
13
|
+
constructor(_transport) {
|
|
14
|
+
this._transport = _transport;
|
|
15
|
+
this.typeName = TestRunService.typeName;
|
|
16
|
+
this.methods = TestRunService.methods;
|
|
17
|
+
this.options = TestRunService.options;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get global spans - spans that can be used across all tests
|
|
21
|
+
* e.g. outbound span to a jwks endpoint that may not be present in all traces
|
|
22
|
+
* we're replaying
|
|
23
|
+
*
|
|
24
|
+
* @generated from protobuf rpc: GetGlobalSpans
|
|
25
|
+
*/
|
|
26
|
+
getGlobalSpans(input, options) {
|
|
27
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
28
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Get pre-app start spans - used to mock pre-app start spans
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf rpc: GetPreAppStartSpans
|
|
34
|
+
*/
|
|
35
|
+
getPreAppStartSpans(input, options) {
|
|
36
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
37
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Create drift run in BE, also upserts commit and PR info
|
|
41
|
+
*
|
|
42
|
+
* @generated from protobuf rpc: CreateDriftRun
|
|
43
|
+
*/
|
|
44
|
+
createDriftRun(input, options) {
|
|
45
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
46
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get all trace tests for a drift run
|
|
50
|
+
*
|
|
51
|
+
* @generated from protobuf rpc: GetDriftRunTraceTests
|
|
52
|
+
*/
|
|
53
|
+
getDriftRunTraceTests(input, options) {
|
|
54
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
55
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Get all trace tests in test suite
|
|
59
|
+
*
|
|
60
|
+
* @generated from protobuf rpc: GetAllTraceTests
|
|
61
|
+
*/
|
|
62
|
+
getAllTraceTests(input, options) {
|
|
63
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
64
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Get a single trace test
|
|
68
|
+
*
|
|
69
|
+
* @generated from protobuf rpc: GetTraceTest
|
|
70
|
+
*/
|
|
71
|
+
getTraceTest(input, options) {
|
|
72
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
73
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Upload trace test results to BE
|
|
77
|
+
*
|
|
78
|
+
* @generated from protobuf rpc: UploadTraceTestResults
|
|
79
|
+
*/
|
|
80
|
+
uploadTraceTestResults(input, options) {
|
|
81
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
82
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Allows CLI to indicate to backend that it's done running trace tests
|
|
86
|
+
* This can also allow CLI to send a heartbeat to indicate it's still running
|
|
87
|
+
*
|
|
88
|
+
* @generated from protobuf rpc: UpdateDriftRunCIStatus
|
|
89
|
+
*/
|
|
90
|
+
updateDriftRunCIStatus(input, options) {
|
|
91
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
92
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
//#endregion
|
|
97
|
+
export { TestRunServiceClient };
|
|
98
|
+
//# sourceMappingURL=test_run_service.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test_run_service.client.js","names":["_transport: RpcTransport"],"sources":["../../generated/ts/backend/test_run_service.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"backend/test_run_service.proto\" (package \"tusk.drift.backend.v1\", syntax proto3)\n// tslint:disable\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { TestRunService } from \"./test_run_service\";\nimport type { UpdateDriftRunCIStatusResponse } from \"./test_run_service\";\nimport type { UpdateDriftRunCIStatusRequest } from \"./test_run_service\";\nimport type { UploadTraceTestResultsResponse } from \"./test_run_service\";\nimport type { UploadTraceTestResultsRequest } from \"./test_run_service\";\nimport type { GetTraceTestResponse } from \"./test_run_service\";\nimport type { GetTraceTestRequest } from \"./test_run_service\";\nimport type { GetAllTraceTestsResponse } from \"./test_run_service\";\nimport type { GetAllTraceTestsRequest } from \"./test_run_service\";\nimport type { GetDriftRunTraceTestsResponse } from \"./test_run_service\";\nimport type { GetDriftRunTraceTestsRequest } from \"./test_run_service\";\nimport type { CreateDriftRunResponse } from \"./test_run_service\";\nimport type { CreateDriftRunRequest } from \"./test_run_service\";\nimport type { GetPreAppStartSpansResponse } from \"./test_run_service\";\nimport type { GetPreAppStartSpansRequest } from \"./test_run_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { GetGlobalSpansResponse } from \"./test_run_service\";\nimport type { GetGlobalSpansRequest } from \"./test_run_service\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service tusk.drift.backend.v1.TestRunService\n */\nexport interface ITestRunServiceClient {\n /**\n * Get global spans - spans that can be used across all tests\n * e.g. outbound span to a jwks endpoint that may not be present in all traces\n * we're replaying\n *\n * @generated from protobuf rpc: GetGlobalSpans\n */\n getGlobalSpans(input: GetGlobalSpansRequest, options?: RpcOptions): UnaryCall<GetGlobalSpansRequest, GetGlobalSpansResponse>;\n /**\n * Get pre-app start spans - used to mock pre-app start spans\n *\n * @generated from protobuf rpc: GetPreAppStartSpans\n */\n getPreAppStartSpans(input: GetPreAppStartSpansRequest, options?: RpcOptions): UnaryCall<GetPreAppStartSpansRequest, GetPreAppStartSpansResponse>;\n /**\n * Create drift run in BE, also upserts commit and PR info\n *\n * @generated from protobuf rpc: CreateDriftRun\n */\n createDriftRun(input: CreateDriftRunRequest, options?: RpcOptions): UnaryCall<CreateDriftRunRequest, CreateDriftRunResponse>;\n /**\n * Get all trace tests for a drift run\n *\n * @generated from protobuf rpc: GetDriftRunTraceTests\n */\n getDriftRunTraceTests(input: GetDriftRunTraceTestsRequest, options?: RpcOptions): UnaryCall<GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse>;\n /**\n * Get all trace tests in test suite\n *\n * @generated from protobuf rpc: GetAllTraceTests\n */\n getAllTraceTests(input: GetAllTraceTestsRequest, options?: RpcOptions): UnaryCall<GetAllTraceTestsRequest, GetAllTraceTestsResponse>;\n /**\n * Get a single trace test\n *\n * @generated from protobuf rpc: GetTraceTest\n */\n getTraceTest(input: GetTraceTestRequest, options?: RpcOptions): UnaryCall<GetTraceTestRequest, GetTraceTestResponse>;\n /**\n * Upload trace test results to BE\n *\n * @generated from protobuf rpc: UploadTraceTestResults\n */\n uploadTraceTestResults(input: UploadTraceTestResultsRequest, options?: RpcOptions): UnaryCall<UploadTraceTestResultsRequest, UploadTraceTestResultsResponse>;\n /**\n * Allows CLI to indicate to backend that it's done running trace tests\n * This can also allow CLI to send a heartbeat to indicate it's still running\n *\n * @generated from protobuf rpc: UpdateDriftRunCIStatus\n */\n updateDriftRunCIStatus(input: UpdateDriftRunCIStatusRequest, options?: RpcOptions): UnaryCall<UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse>;\n}\n/**\n * @generated from protobuf service tusk.drift.backend.v1.TestRunService\n */\nexport class TestRunServiceClient implements ITestRunServiceClient, ServiceInfo {\n typeName = TestRunService.typeName;\n methods = TestRunService.methods;\n options = TestRunService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Get global spans - spans that can be used across all tests\n * e.g. outbound span to a jwks endpoint that may not be present in all traces\n * we're replaying\n *\n * @generated from protobuf rpc: GetGlobalSpans\n */\n getGlobalSpans(input: GetGlobalSpansRequest, options?: RpcOptions): UnaryCall<GetGlobalSpansRequest, GetGlobalSpansResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetGlobalSpansRequest, GetGlobalSpansResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get pre-app start spans - used to mock pre-app start spans\n *\n * @generated from protobuf rpc: GetPreAppStartSpans\n */\n getPreAppStartSpans(input: GetPreAppStartSpansRequest, options?: RpcOptions): UnaryCall<GetPreAppStartSpansRequest, GetPreAppStartSpansResponse> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetPreAppStartSpansRequest, GetPreAppStartSpansResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Create drift run in BE, also upserts commit and PR info\n *\n * @generated from protobuf rpc: CreateDriftRun\n */\n createDriftRun(input: CreateDriftRunRequest, options?: RpcOptions): UnaryCall<CreateDriftRunRequest, CreateDriftRunResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateDriftRunRequest, CreateDriftRunResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get all trace tests for a drift run\n *\n * @generated from protobuf rpc: GetDriftRunTraceTests\n */\n getDriftRunTraceTests(input: GetDriftRunTraceTestsRequest, options?: RpcOptions): UnaryCall<GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get all trace tests in test suite\n *\n * @generated from protobuf rpc: GetAllTraceTests\n */\n getAllTraceTests(input: GetAllTraceTestsRequest, options?: RpcOptions): UnaryCall<GetAllTraceTestsRequest, GetAllTraceTestsResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetAllTraceTestsRequest, GetAllTraceTestsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get a single trace test\n *\n * @generated from protobuf rpc: GetTraceTest\n */\n getTraceTest(input: GetTraceTestRequest, options?: RpcOptions): UnaryCall<GetTraceTestRequest, GetTraceTestResponse> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetTraceTestRequest, GetTraceTestResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Upload trace test results to BE\n *\n * @generated from protobuf rpc: UploadTraceTestResults\n */\n uploadTraceTestResults(input: UploadTraceTestResultsRequest, options?: RpcOptions): UnaryCall<UploadTraceTestResultsRequest, UploadTraceTestResultsResponse> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<UploadTraceTestResultsRequest, UploadTraceTestResultsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Allows CLI to indicate to backend that it's done running trace tests\n * This can also allow CLI to send a heartbeat to indicate it's still running\n *\n * @generated from protobuf rpc: UpdateDriftRunCIStatus\n */\n updateDriftRunCIStatus(input: UpdateDriftRunCIStatusRequest, options?: RpcOptions): UnaryCall<UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;AAoFA,IAAa,uBAAb,MAAgF;CAI5E,YAAY,AAAiBA,YAA0B;EAA1B;OAH7B,WAAW,eAAe;OAC1B,UAAU,eAAe;OACzB,UAAU,eAAe;;;;;;;;;CAUzB,eAAe,OAA8B,SAAgF;EACzH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA8D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOtH,oBAAoB,OAAmC,SAA0F;EAC7I,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAAwE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOhI,eAAe,OAA8B,SAAgF;EACzH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA8D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOtH,sBAAsB,OAAqC,SAA8F;EACrJ,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA4E,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOpI,iBAAiB,OAAgC,SAAoF;EACjI,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAAkE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAO1H,aAAa,OAA4B,SAA4E;EACjH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA0D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOlH,uBAAuB,OAAsC,SAAgG;EACzJ,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA8E,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;CAQtI,uBAAuB,OAAsC,SAAgG;EACzJ,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAA8E,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import "../struct-ByyMh9ro.cjs";
|
|
2
|
+
import "../duration-C9RVKjpO.cjs";
|
|
3
|
+
import "../timestamp-C1kA6yb7.cjs";
|
|
4
|
+
import "../span-EQEkCEbn.cjs";
|
|
5
|
+
import { CreateDriftRunRequest, CreateDriftRunResponse, CreateDriftRunResponseError, CreateDriftRunResponseSuccess, Deviation, DriftRunCIStatus, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetAllTraceTestsResponseError, GetAllTraceTestsResponseSuccess, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetDriftRunTraceTestsResponseError, GetDriftRunTraceTestsResponseSuccess, GetGlobalSpansRequest, GetGlobalSpansResponse, GetGlobalSpansResponseError, GetGlobalSpansResponseSuccess, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetPreAppStartSpansResponseError, GetPreAppStartSpansResponseSuccess, GetTraceTestRequest, GetTraceTestResponse, GetTraceTestResponseError, GetTraceTestResponseSuccess, MatchLevel, MatchScope, MatchType, SimilarityCandidate, TestRunService, TraceTest, TraceTestFailureReason, TraceTestResult, TraceTestSpanResult, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UpdateDriftRunCIStatusResponseError, UpdateDriftRunCIStatusResponseSuccess, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse, UploadTraceTestResultsResponseError, UploadTraceTestResultsResponseSuccess } from "../test_run_service-DAflWX54.cjs";
|
|
6
|
+
export { CreateDriftRunRequest, CreateDriftRunResponse, CreateDriftRunResponseError, CreateDriftRunResponseSuccess, Deviation, DriftRunCIStatus, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetAllTraceTestsResponseError, GetAllTraceTestsResponseSuccess, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetDriftRunTraceTestsResponseError, GetDriftRunTraceTestsResponseSuccess, GetGlobalSpansRequest, GetGlobalSpansResponse, GetGlobalSpansResponseError, GetGlobalSpansResponseSuccess, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetPreAppStartSpansResponseError, GetPreAppStartSpansResponseSuccess, GetTraceTestRequest, GetTraceTestResponse, GetTraceTestResponseError, GetTraceTestResponseSuccess, MatchLevel, MatchScope, MatchType, SimilarityCandidate, TestRunService, TraceTest, TraceTestFailureReason, TraceTestResult, TraceTestSpanResult, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UpdateDriftRunCIStatusResponseError, UpdateDriftRunCIStatusResponseSuccess, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse, UploadTraceTestResultsResponseError, UploadTraceTestResultsResponseSuccess };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import "../struct-BArXEwH6.js";
|
|
2
|
+
import "../duration-2zPogS5a.js";
|
|
3
|
+
import "../timestamp-2doLREh_.js";
|
|
4
|
+
import "../span-BOpbAPMC.js";
|
|
5
|
+
import { CreateDriftRunRequest, CreateDriftRunResponse, CreateDriftRunResponseError, CreateDriftRunResponseSuccess, Deviation, DriftRunCIStatus, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetAllTraceTestsResponseError, GetAllTraceTestsResponseSuccess, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetDriftRunTraceTestsResponseError, GetDriftRunTraceTestsResponseSuccess, GetGlobalSpansRequest, GetGlobalSpansResponse, GetGlobalSpansResponseError, GetGlobalSpansResponseSuccess, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetPreAppStartSpansResponseError, GetPreAppStartSpansResponseSuccess, GetTraceTestRequest, GetTraceTestResponse, GetTraceTestResponseError, GetTraceTestResponseSuccess, MatchLevel, MatchScope, MatchType, SimilarityCandidate, TestRunService, TraceTest, TraceTestFailureReason, TraceTestResult, TraceTestSpanResult, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UpdateDriftRunCIStatusResponseError, UpdateDriftRunCIStatusResponseSuccess, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse, UploadTraceTestResultsResponseError, UploadTraceTestResultsResponseSuccess } from "../test_run_service-5Yml6s_N.js";
|
|
6
|
+
export { CreateDriftRunRequest, CreateDriftRunResponse, CreateDriftRunResponseError, CreateDriftRunResponseSuccess, Deviation, DriftRunCIStatus, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetAllTraceTestsResponseError, GetAllTraceTestsResponseSuccess, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetDriftRunTraceTestsResponseError, GetDriftRunTraceTestsResponseSuccess, GetGlobalSpansRequest, GetGlobalSpansResponse, GetGlobalSpansResponseError, GetGlobalSpansResponseSuccess, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetPreAppStartSpansResponseError, GetPreAppStartSpansResponseSuccess, GetTraceTestRequest, GetTraceTestResponse, GetTraceTestResponseError, GetTraceTestResponseSuccess, MatchLevel, MatchScope, MatchType, SimilarityCandidate, TestRunService, TraceTest, TraceTestFailureReason, TraceTestResult, TraceTestSpanResult, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UpdateDriftRunCIStatusResponseError, UpdateDriftRunCIStatusResponseSuccess, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse, UploadTraceTestResultsResponseError, UploadTraceTestResultsResponseSuccess };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "../struct-LJz5_MGH.js";
|
|
2
|
+
import "../duration-B3fwb4jB.js";
|
|
3
|
+
import "../timestamp-CN7C70ih.js";
|
|
4
|
+
import "../span-DwoKrEhp.js";
|
|
5
|
+
import { CreateDriftRunRequest, CreateDriftRunResponse, CreateDriftRunResponseError, CreateDriftRunResponseSuccess, Deviation, DriftRunCIStatus, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetAllTraceTestsResponseError, GetAllTraceTestsResponseSuccess, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetDriftRunTraceTestsResponseError, GetDriftRunTraceTestsResponseSuccess, GetGlobalSpansRequest, GetGlobalSpansResponse, GetGlobalSpansResponseError, GetGlobalSpansResponseSuccess, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetPreAppStartSpansResponseError, GetPreAppStartSpansResponseSuccess, GetTraceTestRequest, GetTraceTestResponse, GetTraceTestResponseError, GetTraceTestResponseSuccess, MatchLevel, MatchScope, MatchType, SimilarityCandidate, TestRunService, TraceTest, TraceTestFailureReason, TraceTestResult, TraceTestSpanResult, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UpdateDriftRunCIStatusResponseError, UpdateDriftRunCIStatusResponseSuccess, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse, UploadTraceTestResultsResponseError, UploadTraceTestResultsResponseSuccess } from "../test_run_service-BVhrRxO_.js";
|
|
6
|
+
|
|
7
|
+
export { CreateDriftRunRequest, CreateDriftRunResponse, CreateDriftRunResponseError, CreateDriftRunResponseSuccess, Deviation, DriftRunCIStatus, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetAllTraceTestsResponseError, GetAllTraceTestsResponseSuccess, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetDriftRunTraceTestsResponseError, GetDriftRunTraceTestsResponseSuccess, GetGlobalSpansRequest, GetGlobalSpansResponse, GetGlobalSpansResponseError, GetGlobalSpansResponseSuccess, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetPreAppStartSpansResponseError, GetPreAppStartSpansResponseSuccess, GetTraceTestRequest, GetTraceTestResponse, GetTraceTestResponseError, GetTraceTestResponseSuccess, MatchLevel, MatchScope, MatchType, SimilarityCandidate, TestRunService, TraceTest, TraceTestFailureReason, TraceTestResult, TraceTestSpanResult, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UpdateDriftRunCIStatusResponseError, UpdateDriftRunCIStatusResponseSuccess, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse, UploadTraceTestResultsResponseError, UploadTraceTestResultsResponseSuccess };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
+
key = keys[i];
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
+
get: ((k) => from[k]).bind(null, key),
|
|
13
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
19
|
+
value: mod,
|
|
20
|
+
enumerable: true
|
|
21
|
+
}) : target, mod));
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
|
|
25
|
+
Object.defineProperty(exports, '__toESM', {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () {
|
|
28
|
+
return __toESM;
|
|
29
|
+
}
|
|
30
|
+
});
|