@use-tusk/drift-schemas 0.1.10 → 0.1.12
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 +34 -7
- package/dist/backend/client_service.cjs +16 -0
- package/dist/backend/client_service.client.cjs +35 -0
- package/dist/backend/client_service.client.cjs.map +1 -0
- package/dist/backend/{onboarding_service.client.d.ts → client_service.client.d.cts} +16 -12
- package/dist/backend/client_service.client.d.cts.map +1 -0
- package/dist/backend/client_service.client.d.ts +43 -0
- package/dist/backend/client_service.client.d.ts.map +1 -0
- package/dist/backend/client_service.client.js +33 -0
- package/dist/backend/client_service.client.js.map +1 -0
- package/dist/backend/client_service.d.cts +2 -0
- package/dist/backend/client_service.d.ts +2 -0
- package/dist/backend/client_service.js +3 -0
- package/dist/backend/span_export_service.cjs +3 -2
- package/dist/backend/span_export_service.client.cjs +3 -2
- package/dist/backend/span_export_service.client.cjs.map +1 -1
- package/dist/backend/span_export_service.client.d.cts +3 -2
- package/dist/backend/span_export_service.client.d.cts.map +1 -1
- package/dist/backend/span_export_service.client.d.ts +6 -5
- package/dist/backend/span_export_service.client.d.ts.map +1 -1
- package/dist/backend/span_export_service.client.js +3 -2
- package/dist/backend/span_export_service.client.js.map +1 -1
- package/dist/backend/span_export_service.d.cts +3 -2
- package/dist/backend/span_export_service.d.ts +6 -5
- package/dist/backend/span_export_service.js +3 -2
- package/dist/backend/test_run_service.cjs +3 -2
- package/dist/backend/test_run_service.client.cjs +3 -2
- package/dist/backend/test_run_service.client.cjs.map +1 -1
- package/dist/backend/test_run_service.client.d.cts +3 -2
- package/dist/backend/test_run_service.client.d.cts.map +1 -1
- package/dist/backend/test_run_service.client.d.ts +10 -9
- package/dist/backend/test_run_service.client.d.ts.map +1 -1
- package/dist/backend/test_run_service.client.js +3 -2
- package/dist/backend/test_run_service.client.js.map +1 -1
- package/dist/backend/test_run_service.d.cts +3 -2
- package/dist/backend/test_run_service.d.ts +6 -5
- package/dist/backend/test_run_service.js +3 -2
- package/dist/client_service-BZhmRi_S.d.ts +329 -0
- package/dist/client_service-BZhmRi_S.d.ts.map +1 -0
- package/dist/client_service-DLbN6bm3.js +692 -0
- package/dist/client_service-DLbN6bm3.js.map +1 -0
- package/dist/client_service-Zc0RJ3QL.d.cts +329 -0
- package/dist/client_service-Zc0RJ3QL.d.cts.map +1 -0
- package/dist/client_service-uQjoeXDI.cjs +778 -0
- package/dist/client_service-uQjoeXDI.cjs.map +1 -0
- package/dist/{communication-Np8Uorqu.js → communication-BkyBllcH.js} +2 -2
- package/dist/{communication-Np8Uorqu.js.map → communication-BkyBllcH.js.map} +1 -1
- package/dist/{communication-D_MVOCQQ.d.cts → communication-C2NG6JRK.d.cts} +2 -2
- package/dist/{communication-D_MVOCQQ.d.cts.map → communication-C2NG6JRK.d.cts.map} +1 -1
- package/dist/{communication-CJHE2gJz.cjs → communication-C7jFlRDb.cjs} +2 -2
- package/dist/{communication-CJHE2gJz.cjs.map → communication-C7jFlRDb.cjs.map} +1 -1
- package/dist/{communication-bKx0B3ai.d.ts → communication-CCGDG_1h.d.ts} +4 -4
- package/dist/{communication-bKx0B3ai.d.ts.map → communication-CCGDG_1h.d.ts.map} +1 -1
- package/dist/core/communication.cjs +3 -2
- package/dist/core/communication.client.cjs +3 -2
- package/dist/core/communication.client.cjs.map +1 -1
- package/dist/core/communication.client.d.cts +3 -2
- package/dist/core/communication.client.d.cts.map +1 -1
- package/dist/core/communication.client.d.ts +10 -9
- package/dist/core/communication.client.d.ts.map +1 -1
- package/dist/core/communication.client.js +3 -2
- package/dist/core/communication.client.js.map +1 -1
- package/dist/core/communication.d.cts +3 -2
- package/dist/core/communication.d.ts +6 -5
- package/dist/core/communication.js +3 -2
- package/dist/core/json_schema.cjs +6 -0
- package/dist/core/json_schema.d.cts +2 -0
- package/dist/core/json_schema.d.ts +2 -0
- package/dist/core/json_schema.js +3 -0
- package/dist/core/span.cjs +2 -1
- package/dist/core/span.d.cts +2 -1
- package/dist/core/span.d.ts +5 -4
- package/dist/core/span.js +2 -1
- package/dist/{duration-2zPogS5a.d.ts → duration-DbFzyNwE.d.ts} +1 -1
- package/dist/{duration-2zPogS5a.d.ts.map → duration-DbFzyNwE.d.ts.map} +1 -1
- package/dist/google/protobuf/duration.d.ts +1 -1
- package/dist/google/protobuf/struct.d.ts +1 -1
- package/dist/google/protobuf/timestamp.d.ts +1 -1
- package/dist/json_schema-CIEgzW1h.cjs +342 -0
- package/dist/json_schema-CIEgzW1h.cjs.map +1 -0
- package/dist/json_schema-CkGguNy7.d.cts +236 -0
- package/dist/json_schema-CkGguNy7.d.cts.map +1 -0
- package/dist/json_schema-DhnvfM2m.js +317 -0
- package/dist/json_schema-DhnvfM2m.js.map +1 -0
- package/dist/json_schema-dDDndex9.d.ts +236 -0
- package/dist/json_schema-dDDndex9.d.ts.map +1 -0
- package/dist/postgresql/postgresql.d.ts +2 -2
- package/dist/{span-BOpbAPMC.d.ts → span-4UHVCo8Y.d.ts} +9 -8
- package/dist/{span-EQEkCEbn.d.cts.map → span-4UHVCo8Y.d.ts.map} +1 -1
- package/dist/{span-EQEkCEbn.d.cts → span-BRA8I823.d.cts} +6 -5
- package/dist/span-BRA8I823.d.cts.map +1 -0
- package/dist/{span-DwoKrEhp.js → span-DeXwA4th.js} +8 -7
- package/dist/span-DeXwA4th.js.map +1 -0
- package/dist/{span-DdxaadRr.cjs → span-DybL9WVC.cjs} +8 -7
- package/dist/span-DybL9WVC.cjs.map +1 -0
- package/dist/{span_export_service-DzOsX7Of.d.ts → span_export_service-2e84QrFa.d.ts} +2 -2
- package/dist/{span_export_service-DzOsX7Of.d.ts.map → span_export_service-2e84QrFa.d.ts.map} +1 -1
- package/dist/{span_export_service-CbSVaHwu.d.cts → span_export_service-Cl3oaNsS.d.cts} +2 -2
- package/dist/{span_export_service-CbSVaHwu.d.cts.map → span_export_service-Cl3oaNsS.d.cts.map} +1 -1
- package/dist/{span_export_service-ZbWxkZSp.js → span_export_service-CtCIrH7o.js} +2 -2
- package/dist/{span_export_service-ZbWxkZSp.js.map → span_export_service-CtCIrH7o.js.map} +1 -1
- package/dist/{span_export_service-rOsqG9c6.cjs → span_export_service-ZeEUSNPi.cjs} +2 -2
- package/dist/{span_export_service-rOsqG9c6.cjs.map → span_export_service-ZeEUSNPi.cjs.map} +1 -1
- package/dist/{struct-BArXEwH6.d.ts → struct-DWOuk3SS.d.ts} +1 -1
- package/dist/{struct-BArXEwH6.d.ts.map → struct-DWOuk3SS.d.ts.map} +1 -1
- package/dist/{test_run_service-5Yml6s_N.d.ts → test_run_service-BDbBft40.d.ts} +2 -2
- package/dist/{test_run_service-5Yml6s_N.d.ts.map → test_run_service-BDbBft40.d.ts.map} +1 -1
- package/dist/{test_run_service-DAflWX54.d.cts → test_run_service-BI5-jCWN.d.cts} +2 -2
- package/dist/{test_run_service-DAflWX54.d.cts.map → test_run_service-BI5-jCWN.d.cts.map} +1 -1
- package/dist/{test_run_service-Dkjv1XDs.cjs → test_run_service-mjPl5dfZ.cjs} +2 -2
- package/dist/{test_run_service-Dkjv1XDs.cjs.map → test_run_service-mjPl5dfZ.cjs.map} +1 -1
- package/dist/{test_run_service-BVhrRxO_.js → test_run_service-ybBAx7AL.js} +2 -2
- package/dist/{test_run_service-BVhrRxO_.js.map → test_run_service-ybBAx7AL.js.map} +1 -1
- package/dist/{timestamp-2doLREh_.d.ts → timestamp-D0q8Zt_J.d.ts} +1 -1
- package/dist/{timestamp-2doLREh_.d.ts.map → timestamp-D0q8Zt_J.d.ts.map} +1 -1
- package/package.json +17 -7
- package/dist/backend/onboarding_service.cjs +0 -6
- package/dist/backend/onboarding_service.client.cjs +0 -30
- package/dist/backend/onboarding_service.client.cjs.map +0 -1
- package/dist/backend/onboarding_service.client.d.cts +0 -39
- package/dist/backend/onboarding_service.client.d.cts.map +0 -1
- package/dist/backend/onboarding_service.client.d.ts.map +0 -1
- package/dist/backend/onboarding_service.client.js +0 -28
- package/dist/backend/onboarding_service.client.js.map +0 -1
- package/dist/backend/onboarding_service.d.cts +0 -2
- package/dist/backend/onboarding_service.d.ts +0 -2
- package/dist/backend/onboarding_service.js +0 -3
- package/dist/onboarding_service-AomDhJCy.js +0 -145
- package/dist/onboarding_service-AomDhJCy.js.map +0 -1
- package/dist/onboarding_service-C0YdBJhl.d.cts +0 -71
- package/dist/onboarding_service-C0YdBJhl.d.cts.map +0 -1
- package/dist/onboarding_service-Ccl8QTd4.cjs +0 -171
- package/dist/onboarding_service-Ccl8QTd4.cjs.map +0 -1
- package/dist/onboarding_service-kegV5UqG.d.ts +0 -71
- package/dist/onboarding_service-kegV5UqG.d.ts.map +0 -1
- package/dist/span-BOpbAPMC.d.ts.map +0 -1
- package/dist/span-DdxaadRr.cjs.map +0 -1
- package/dist/span-DwoKrEhp.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,22 +1,49 @@
|
|
|
1
1
|
# Tusk Drift Schemas
|
|
2
2
|
|
|
3
|
-
This repo holds schemas used by Tusk Drift.
|
|
3
|
+
This repo holds schemas defined as protobuf files used by Tusk Drift. We use Buf to generate code for each language we support (currently TypeScript and Golang).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Install Buf [here](https://buf.build/docs/cli/installation/).
|
|
6
|
+
|
|
7
|
+
## TypeScript
|
|
8
|
+
|
|
9
|
+
### Installing schemas in TypeScript projects
|
|
6
10
|
|
|
7
|
-
For typescript projects
|
|
8
11
|
```
|
|
9
12
|
npm install @use-tusk/drift-schemas
|
|
10
13
|
```
|
|
11
14
|
|
|
15
|
+
### Developing locally
|
|
16
|
+
|
|
17
|
+
In this repo, run `npm link` to create a symlink to the local package.
|
|
18
|
+
|
|
19
|
+
In your project, run `npm link @use-tusk/drift-schemas` to use the local package.
|
|
20
|
+
|
|
21
|
+
After updating the schemas, run `npm run build` to rebuild the package.
|
|
22
|
+
|
|
23
|
+
Run `npm unlink @use-tusk/drift-schemas` to remove the local package.
|
|
24
|
+
|
|
12
25
|
## Golang
|
|
13
26
|
|
|
14
|
-
|
|
27
|
+
### Installing schemas in Golang projects
|
|
28
|
+
|
|
15
29
|
```
|
|
16
30
|
go get github.com/Use-Tusk/tusk-drift-schemas
|
|
17
31
|
```
|
|
18
32
|
|
|
19
|
-
|
|
33
|
+
### Developing locally
|
|
34
|
+
|
|
35
|
+
In your project, add this to `go.mod`:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
replace github.com/Use-Tusk/tusk-drift-schemas => ../tusk-drift-schemas
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Run `go mod tidy` to update the dependencies.
|
|
42
|
+
|
|
43
|
+
## Releasing
|
|
20
44
|
|
|
21
|
-
|
|
22
|
-
|
|
45
|
+
1. Checkout a new branch with the new version number (e.g. `git checkout -b v0.1.1`)
|
|
46
|
+
2. Increment the patch version (e.g. 0.1.0 → 0.1.1), using `npm version patch`. This creates a commit and a tag.
|
|
47
|
+
3. Push the branch and the tag to GitHub.
|
|
48
|
+
4. Create a new release on GitHub with the new version number.
|
|
49
|
+
5. The release will trigger a GitHub Actions workflow to publish the package to NPM, and the new release tag will allow Golang projects to install the new version.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_client_service = require('../client_service-uQjoeXDI.cjs');
|
|
2
|
+
|
|
3
|
+
exports.AuthInfoClient = require_client_service.AuthInfoClient;
|
|
4
|
+
exports.ClientService = require_client_service.ClientService;
|
|
5
|
+
exports.CodeHostingResource = require_client_service.CodeHostingResource;
|
|
6
|
+
exports.CodeHostingResourceType = require_client_service.CodeHostingResourceType;
|
|
7
|
+
exports.CreateObservableServiceRequest = require_client_service.CreateObservableServiceRequest;
|
|
8
|
+
exports.CreateObservableServiceResponse = require_client_service.CreateObservableServiceResponse;
|
|
9
|
+
exports.CreateObservableServiceResponseError = require_client_service.CreateObservableServiceResponseError;
|
|
10
|
+
exports.CreateObservableServiceResponseErrorCode = require_client_service.CreateObservableServiceResponseErrorCode;
|
|
11
|
+
exports.CreateObservableServiceResponseSuccess = require_client_service.CreateObservableServiceResponseSuccess;
|
|
12
|
+
exports.GetAuthInfoRequest = require_client_service.GetAuthInfoRequest;
|
|
13
|
+
exports.GetAuthInfoResponse = require_client_service.GetAuthInfoResponse;
|
|
14
|
+
exports.ServiceType = require_client_service.ServiceType;
|
|
15
|
+
exports.UserAuthInfo = require_client_service.UserAuthInfo;
|
|
16
|
+
exports.UserType = require_client_service.UserType;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_chunk = require('../chunk-CUT6urMc.cjs');
|
|
2
|
+
const require_client_service = require('../client_service-uQjoeXDI.cjs');
|
|
3
|
+
let __protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
4
|
+
__protobuf_ts_runtime_rpc = require_chunk.__toESM(__protobuf_ts_runtime_rpc);
|
|
5
|
+
|
|
6
|
+
//#region generated/ts/backend/client_service.client.ts
|
|
7
|
+
/**
|
|
8
|
+
* @generated from protobuf service tusk.drift.backend.v1.ClientService
|
|
9
|
+
*/
|
|
10
|
+
var ClientServiceClient = class {
|
|
11
|
+
constructor(_transport) {
|
|
12
|
+
this._transport = _transport;
|
|
13
|
+
this.typeName = require_client_service.ClientService.typeName;
|
|
14
|
+
this.methods = require_client_service.ClientService.methods;
|
|
15
|
+
this.options = require_client_service.ClientService.options;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @generated from protobuf rpc: GetAuthInfo
|
|
19
|
+
*/
|
|
20
|
+
getAuthInfo(input, options) {
|
|
21
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
22
|
+
return (0, __protobuf_ts_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @generated from protobuf rpc: CreateObservableService
|
|
26
|
+
*/
|
|
27
|
+
createObservableService(input, options) {
|
|
28
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
29
|
+
return (0, __protobuf_ts_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.ClientServiceClient = ClientServiceClient;
|
|
35
|
+
//# sourceMappingURL=client_service.client.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client_service.client.cjs","names":["_transport: RpcTransport","ClientService"],"sources":["../../generated/ts/backend/client_service.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"backend/client_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 { ClientService } from \"./client_service\";\nimport type { CreateObservableServiceResponse } from \"./client_service\";\nimport type { CreateObservableServiceRequest } from \"./client_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { GetAuthInfoResponse } from \"./client_service\";\nimport type { GetAuthInfoRequest } from \"./client_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.ClientService\n */\nexport interface IClientServiceClient {\n /**\n * @generated from protobuf rpc: GetAuthInfo\n */\n getAuthInfo(input: GetAuthInfoRequest, options?: RpcOptions): UnaryCall<GetAuthInfoRequest, GetAuthInfoResponse>;\n /**\n * @generated from protobuf rpc: CreateObservableService\n */\n createObservableService(input: CreateObservableServiceRequest, options?: RpcOptions): UnaryCall<CreateObservableServiceRequest, CreateObservableServiceResponse>;\n}\n/**\n * @generated from protobuf service tusk.drift.backend.v1.ClientService\n */\nexport class ClientServiceClient implements IClientServiceClient, ServiceInfo {\n typeName = ClientService.typeName;\n methods = ClientService.methods;\n options = ClientService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: GetAuthInfo\n */\n getAuthInfo(input: GetAuthInfoRequest, options?: RpcOptions): UnaryCall<GetAuthInfoRequest, GetAuthInfoResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetAuthInfoRequest, GetAuthInfoResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: CreateObservableService\n */\n createObservableService(input: CreateObservableServiceRequest, options?: RpcOptions): UnaryCall<CreateObservableServiceRequest, CreateObservableServiceResponse> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateObservableServiceRequest, CreateObservableServiceResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;AA6BA,IAAa,sBAAb,MAA8E;CAI1E,YAAY,AAAiBA,YAA0B;EAA1B;OAH7B,WAAWC,qCAAc;OACzB,UAAUA,qCAAc;OACxB,UAAUA,qCAAc;;;;;CAMxB,YAAY,OAA2B,SAA0E;EAC7G,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAA+D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;CAKhH,wBAAwB,OAAuC,SAAkG;EAC7J,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAuF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { CreateObservableServiceRequest, CreateObservableServiceResponse } from "../
|
|
1
|
+
import { CreateObservableServiceRequest, CreateObservableServiceResponse, GetAuthInfoRequest, GetAuthInfoResponse } from "../client_service-Zc0RJ3QL.cjs";
|
|
2
2
|
import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
|
|
3
3
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
4
4
|
import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
|
|
5
5
|
|
|
6
|
-
//#region generated/ts/backend/
|
|
6
|
+
//#region generated/ts/backend/client_service.client.d.ts
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* @generated from protobuf service tusk.drift.backend.v1.OnboardingService
|
|
9
|
+
* @generated from protobuf service tusk.drift.backend.v1.ClientService
|
|
12
10
|
*/
|
|
13
|
-
interface
|
|
11
|
+
interface IClientServiceClient {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf rpc: GetAuthInfo
|
|
14
|
+
*/
|
|
15
|
+
getAuthInfo(input: GetAuthInfoRequest, options?: RpcOptions): UnaryCall<GetAuthInfoRequest, GetAuthInfoResponse>;
|
|
14
16
|
/**
|
|
15
17
|
* @generated from protobuf rpc: CreateObservableService
|
|
16
18
|
*/
|
|
17
19
|
createObservableService(input: CreateObservableServiceRequest, options?: RpcOptions): UnaryCall<CreateObservableServiceRequest, CreateObservableServiceResponse>;
|
|
18
20
|
}
|
|
19
21
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* @generated from protobuf service tusk.drift.backend.v1.OnboardingService
|
|
22
|
+
* @generated from protobuf service tusk.drift.backend.v1.ClientService
|
|
23
23
|
*/
|
|
24
|
-
declare class
|
|
24
|
+
declare class ClientServiceClient implements IClientServiceClient, ServiceInfo {
|
|
25
25
|
private readonly _transport;
|
|
26
26
|
typeName: string;
|
|
27
27
|
methods: _protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
|
|
@@ -29,11 +29,15 @@ declare class OnboardingServiceClient implements IOnboardingServiceClient, Servi
|
|
|
29
29
|
[extensionName: string]: _protobuf_ts_runtime0.JsonValue;
|
|
30
30
|
};
|
|
31
31
|
constructor(_transport: RpcTransport);
|
|
32
|
+
/**
|
|
33
|
+
* @generated from protobuf rpc: GetAuthInfo
|
|
34
|
+
*/
|
|
35
|
+
getAuthInfo(input: GetAuthInfoRequest, options?: RpcOptions): UnaryCall<GetAuthInfoRequest, GetAuthInfoResponse>;
|
|
32
36
|
/**
|
|
33
37
|
* @generated from protobuf rpc: CreateObservableService
|
|
34
38
|
*/
|
|
35
39
|
createObservableService(input: CreateObservableServiceRequest, options?: RpcOptions): UnaryCall<CreateObservableServiceRequest, CreateObservableServiceResponse>;
|
|
36
40
|
}
|
|
37
41
|
//#endregion
|
|
38
|
-
export {
|
|
39
|
-
//# sourceMappingURL=
|
|
42
|
+
export { ClientServiceClient, IClientServiceClient };
|
|
43
|
+
//# sourceMappingURL=client_service.client.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client_service.client.d.cts","names":[],"sources":["../../generated/ts/backend/client_service.client.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAoBgG,UAJ/E,oBAAA,CAI+E;;;;aAII,CAAA,KAAA,EAJ7E,kBAI6E,EAAA,OAAA,CAAA,EAJ/C,UAI+C,CAAA,EAJlC,SAIkC,CAJxB,kBAIwB,EAJJ,mBAII,CAAA;;;;EAKvF,uBAAoB,CAAA,KAAA,EALE,8BAKF,EAAA,OAAA,CAAA,EAL4C,UAK5C,CAAA,EALyD,SAKzD,CALmE,8BAKnE,EALmG,+BAKnG,CAAA;;;;;AASV,cATV,mBAAA,YAA+B,oBASrB,EAT2C,WAS3C,CAAA;mBAA8B,UAAA;UAAuB,EAAA,MAAA;SAAoB,EAT/D,yBAAA,CAEtB,UAOqF,CAAA,GAAA,EAAA,GAAA,CAAA,EAAA;SAA9B,EAAA;IAO/B,CAAA,aAAA,EAAA,MAAA,CAAA,EAdxB,qBAAA,CAAA,SAcwB;;aAAiE,CAAA,UAAA,EAZvD,YAYuD;;;;aAhBlC,CAAA,KAAA,EAS3C,kBAT2C,EAAA,OAAA,CAAA,EASb,UATa,CAAA,EASA,SATA,CASU,kBATV,EAS8B,mBAT9B,CAAA;EAAW;;;iCAgB1C,0CAA0C,aAAa,UAAU,gCAAgC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CreateObservableServiceRequest, CreateObservableServiceResponse, GetAuthInfoRequest, GetAuthInfoResponse } from "../client_service-BZhmRi_S.js";
|
|
2
|
+
import * as _protobuf_ts_runtime_rpc2 from "@protobuf-ts/runtime-rpc";
|
|
3
|
+
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
4
|
+
import * as _protobuf_ts_runtime2 from "@protobuf-ts/runtime";
|
|
5
|
+
|
|
6
|
+
//#region generated/ts/backend/client_service.client.d.ts
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @generated from protobuf service tusk.drift.backend.v1.ClientService
|
|
10
|
+
*/
|
|
11
|
+
interface IClientServiceClient {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf rpc: GetAuthInfo
|
|
14
|
+
*/
|
|
15
|
+
getAuthInfo(input: GetAuthInfoRequest, options?: RpcOptions): UnaryCall<GetAuthInfoRequest, GetAuthInfoResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from protobuf rpc: CreateObservableService
|
|
18
|
+
*/
|
|
19
|
+
createObservableService(input: CreateObservableServiceRequest, options?: RpcOptions): UnaryCall<CreateObservableServiceRequest, CreateObservableServiceResponse>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @generated from protobuf service tusk.drift.backend.v1.ClientService
|
|
23
|
+
*/
|
|
24
|
+
declare class ClientServiceClient implements IClientServiceClient, ServiceInfo {
|
|
25
|
+
private readonly _transport;
|
|
26
|
+
typeName: string;
|
|
27
|
+
methods: _protobuf_ts_runtime_rpc2.MethodInfo<any, any>[];
|
|
28
|
+
options: {
|
|
29
|
+
[extensionName: string]: _protobuf_ts_runtime2.JsonValue;
|
|
30
|
+
};
|
|
31
|
+
constructor(_transport: RpcTransport);
|
|
32
|
+
/**
|
|
33
|
+
* @generated from protobuf rpc: GetAuthInfo
|
|
34
|
+
*/
|
|
35
|
+
getAuthInfo(input: GetAuthInfoRequest, options?: RpcOptions): UnaryCall<GetAuthInfoRequest, GetAuthInfoResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* @generated from protobuf rpc: CreateObservableService
|
|
38
|
+
*/
|
|
39
|
+
createObservableService(input: CreateObservableServiceRequest, options?: RpcOptions): UnaryCall<CreateObservableServiceRequest, CreateObservableServiceResponse>;
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { ClientServiceClient, IClientServiceClient };
|
|
43
|
+
//# sourceMappingURL=client_service.client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client_service.client.d.ts","names":[],"sources":["../../generated/ts/backend/client_service.client.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAoBgG,UAJ/E,oBAAA,CAI+E;;;;aAII,CAAA,KAAA,EAJ7E,kBAI6E,EAAA,OAAA,CAAA,EAJ/C,UAI+C,CAAA,EAJlC,SAIkC,CAJxB,kBAIwB,EAJJ,mBAII,CAAA;;;;EAKvF,uBAAoB,CAAA,KAAA,EALE,8BAKF,EAAA,OAAA,CAAA,EAL4C,UAK5C,CAAA,EALyD,SAKzD,CALmE,8BAKnE,EALmG,+BAKnG,CAAA;;;;;AASV,cATV,mBAAA,YAA+B,oBASrB,EAT2C,WAS3C,CAAA;mBAA8B,UAAA;UAAuB,EAAA,MAAA;SAAoB,EAT/D,yBAAA,CAEtB,UAOqF,CAAA,GAAA,EAAA,GAAA,CAAA,EAAA;SAA9B,EAAA;IAO/B,CAAA,aAAA,EAAA,MAAA,CAAA,EAdxB,qBAAA,CAAA,SAcwB;;aAAiE,CAAA,UAAA,EAZvD,YAYuD;;;;aAhBlC,CAAA,KAAA,EAS3C,kBAT2C,EAAA,OAAA,CAAA,EASb,UATa,CAAA,EASA,SATA,CASU,kBATV,EAS8B,mBAT9B,CAAA;EAAW;;;iCAgB1C,0CAA0C,aAAa,UAAU,gCAAgC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ClientService } from "../client_service-DLbN6bm3.js";
|
|
2
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
3
|
+
|
|
4
|
+
//#region generated/ts/backend/client_service.client.ts
|
|
5
|
+
/**
|
|
6
|
+
* @generated from protobuf service tusk.drift.backend.v1.ClientService
|
|
7
|
+
*/
|
|
8
|
+
var ClientServiceClient = class {
|
|
9
|
+
constructor(_transport) {
|
|
10
|
+
this._transport = _transport;
|
|
11
|
+
this.typeName = ClientService.typeName;
|
|
12
|
+
this.methods = ClientService.methods;
|
|
13
|
+
this.options = ClientService.options;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @generated from protobuf rpc: GetAuthInfo
|
|
17
|
+
*/
|
|
18
|
+
getAuthInfo(input, options) {
|
|
19
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
20
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @generated from protobuf rpc: CreateObservableService
|
|
24
|
+
*/
|
|
25
|
+
createObservableService(input, options) {
|
|
26
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
27
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
export { ClientServiceClient };
|
|
33
|
+
//# sourceMappingURL=client_service.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client_service.client.js","names":["_transport: RpcTransport"],"sources":["../../generated/ts/backend/client_service.client.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"backend/client_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 { ClientService } from \"./client_service\";\nimport type { CreateObservableServiceResponse } from \"./client_service\";\nimport type { CreateObservableServiceRequest } from \"./client_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { GetAuthInfoResponse } from \"./client_service\";\nimport type { GetAuthInfoRequest } from \"./client_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.ClientService\n */\nexport interface IClientServiceClient {\n /**\n * @generated from protobuf rpc: GetAuthInfo\n */\n getAuthInfo(input: GetAuthInfoRequest, options?: RpcOptions): UnaryCall<GetAuthInfoRequest, GetAuthInfoResponse>;\n /**\n * @generated from protobuf rpc: CreateObservableService\n */\n createObservableService(input: CreateObservableServiceRequest, options?: RpcOptions): UnaryCall<CreateObservableServiceRequest, CreateObservableServiceResponse>;\n}\n/**\n * @generated from protobuf service tusk.drift.backend.v1.ClientService\n */\nexport class ClientServiceClient implements IClientServiceClient, ServiceInfo {\n typeName = ClientService.typeName;\n methods = ClientService.methods;\n options = ClientService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: GetAuthInfo\n */\n getAuthInfo(input: GetAuthInfoRequest, options?: RpcOptions): UnaryCall<GetAuthInfoRequest, GetAuthInfoResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetAuthInfoRequest, GetAuthInfoResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: CreateObservableService\n */\n createObservableService(input: CreateObservableServiceRequest, options?: RpcOptions): UnaryCall<CreateObservableServiceRequest, CreateObservableServiceResponse> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateObservableServiceRequest, CreateObservableServiceResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;AA6BA,IAAa,sBAAb,MAA8E;CAI1E,YAAY,AAAiBA,YAA0B;EAA1B;OAH7B,WAAW,cAAc;OACzB,UAAU,cAAc;OACxB,UAAU,cAAc;;;;;CAMxB,YAAY,OAA2B,SAA0E;EAC7G,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAAwD,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;CAKhH,wBAAwB,OAAuC,SAAkG;EAC7J,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAAgF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { AuthInfoClient, ClientService, CodeHostingResource, CodeHostingResourceType, CreateObservableServiceRequest, CreateObservableServiceResponse, CreateObservableServiceResponseError, CreateObservableServiceResponseErrorCode, CreateObservableServiceResponseSuccess, GetAuthInfoRequest, GetAuthInfoResponse, ServiceType, UserAuthInfo, UserType } from "../client_service-Zc0RJ3QL.cjs";
|
|
2
|
+
export { AuthInfoClient, ClientService, CodeHostingResource, CodeHostingResourceType, CreateObservableServiceRequest, CreateObservableServiceResponse, CreateObservableServiceResponseError, CreateObservableServiceResponseErrorCode, CreateObservableServiceResponseSuccess, GetAuthInfoRequest, GetAuthInfoResponse, ServiceType, UserAuthInfo, UserType };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { AuthInfoClient, ClientService, CodeHostingResource, CodeHostingResourceType, CreateObservableServiceRequest, CreateObservableServiceResponse, CreateObservableServiceResponseError, CreateObservableServiceResponseErrorCode, CreateObservableServiceResponseSuccess, GetAuthInfoRequest, GetAuthInfoResponse, ServiceType, UserAuthInfo, UserType } from "../client_service-BZhmRi_S.js";
|
|
2
|
+
export { AuthInfoClient, ClientService, CodeHostingResource, CodeHostingResourceType, CreateObservableServiceRequest, CreateObservableServiceResponse, CreateObservableServiceResponseError, CreateObservableServiceResponseErrorCode, CreateObservableServiceResponseSuccess, GetAuthInfoRequest, GetAuthInfoResponse, ServiceType, UserAuthInfo, UserType };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AuthInfoClient, ClientService, CodeHostingResource, CodeHostingResourceType, CreateObservableServiceRequest, CreateObservableServiceResponse, CreateObservableServiceResponseError, CreateObservableServiceResponseErrorCode, CreateObservableServiceResponseSuccess, GetAuthInfoRequest, GetAuthInfoResponse, ServiceType, UserAuthInfo, UserType } from "../client_service-DLbN6bm3.js";
|
|
2
|
+
|
|
3
|
+
export { AuthInfoClient, ClientService, CodeHostingResource, CodeHostingResourceType, CreateObservableServiceRequest, CreateObservableServiceResponse, CreateObservableServiceResponseError, CreateObservableServiceResponseErrorCode, CreateObservableServiceResponseSuccess, GetAuthInfoRequest, GetAuthInfoResponse, ServiceType, UserAuthInfo, UserType };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
require('../struct-B_Dk4HR1.cjs');
|
|
2
2
|
require('../duration-DXK3bnoh.cjs');
|
|
3
3
|
require('../timestamp-Dfs_RIb3.cjs');
|
|
4
|
-
require('../
|
|
5
|
-
|
|
4
|
+
require('../json_schema-CIEgzW1h.cjs');
|
|
5
|
+
require('../span-DybL9WVC.cjs');
|
|
6
|
+
const require_span_export_service = require('../span_export_service-ZeEUSNPi.cjs');
|
|
6
7
|
|
|
7
8
|
exports.ExportSpansRequest = require_span_export_service.ExportSpansRequest;
|
|
8
9
|
exports.ExportSpansResponse = require_span_export_service.ExportSpansResponse;
|
|
@@ -2,8 +2,9 @@ const require_chunk = require('../chunk-CUT6urMc.cjs');
|
|
|
2
2
|
require('../struct-B_Dk4HR1.cjs');
|
|
3
3
|
require('../duration-DXK3bnoh.cjs');
|
|
4
4
|
require('../timestamp-Dfs_RIb3.cjs');
|
|
5
|
-
require('../
|
|
6
|
-
|
|
5
|
+
require('../json_schema-CIEgzW1h.cjs');
|
|
6
|
+
require('../span-DybL9WVC.cjs');
|
|
7
|
+
const require_span_export_service = require('../span_export_service-ZeEUSNPi.cjs');
|
|
7
8
|
let __protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
8
9
|
__protobuf_ts_runtime_rpc = require_chunk.__toESM(__protobuf_ts_runtime_rpc);
|
|
9
10
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"span_export_service.client.cjs","names":["_transport: RpcTransport","SpanExportService"],"sources":["../../generated/ts/backend/span_export_service.client.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 type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { SpanExportService } from \"./span_export_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ExportSpansResponse } from \"./span_export_service\";\nimport type { ExportSpansRequest } from \"./span_export_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.SpanExportService\n */\nexport interface ISpanExportServiceClient {\n /**\n * @generated from protobuf rpc: ExportSpans\n */\n exportSpans(input: ExportSpansRequest, options?: RpcOptions): UnaryCall<ExportSpansRequest, ExportSpansResponse>;\n}\n/**\n * @generated from protobuf service tusk.drift.backend.v1.SpanExportService\n */\nexport class SpanExportServiceClient implements ISpanExportServiceClient, ServiceInfo {\n typeName = SpanExportService.typeName;\n methods = SpanExportService.methods;\n options = SpanExportService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: ExportSpans\n */\n exportSpans(input: ExportSpansRequest, options?: RpcOptions): UnaryCall<ExportSpansRequest, ExportSpansResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<ExportSpansRequest, ExportSpansResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"span_export_service.client.cjs","names":["_transport: RpcTransport","SpanExportService"],"sources":["../../generated/ts/backend/span_export_service.client.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 type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { SpanExportService } from \"./span_export_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ExportSpansResponse } from \"./span_export_service\";\nimport type { ExportSpansRequest } from \"./span_export_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.SpanExportService\n */\nexport interface ISpanExportServiceClient {\n /**\n * @generated from protobuf rpc: ExportSpans\n */\n exportSpans(input: ExportSpansRequest, options?: RpcOptions): UnaryCall<ExportSpansRequest, ExportSpansResponse>;\n}\n/**\n * @generated from protobuf service tusk.drift.backend.v1.SpanExportService\n */\nexport class SpanExportServiceClient implements ISpanExportServiceClient, ServiceInfo {\n typeName = SpanExportService.typeName;\n methods = SpanExportService.methods;\n options = SpanExportService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: ExportSpans\n */\n exportSpans(input: ExportSpansRequest, options?: RpcOptions): UnaryCall<ExportSpansRequest, ExportSpansResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<ExportSpansRequest, ExportSpansResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AAuBA,IAAa,0BAAb,MAAsF;CAIlF,YAAY,AAAiBA,YAA0B;EAA1B;OAH7B,WAAWC,8CAAkB;OAC7B,UAAUA,8CAAkB;OAC5B,UAAUA,8CAAkB;;;;;CAM5B,YAAY,OAA2B,SAA0E;EAC7G,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAA+D,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import "../struct-ByyMh9ro.cjs";
|
|
2
2
|
import "../duration-C9RVKjpO.cjs";
|
|
3
3
|
import "../timestamp-C1kA6yb7.cjs";
|
|
4
|
-
import "../
|
|
5
|
-
import
|
|
4
|
+
import "../json_schema-CkGguNy7.cjs";
|
|
5
|
+
import "../span-BRA8I823.cjs";
|
|
6
|
+
import { ExportSpansRequest, ExportSpansResponse } from "../span_export_service-Cl3oaNsS.cjs";
|
|
6
7
|
import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
|
|
7
8
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
8
9
|
import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"span_export_service.client.d.cts","names":[],"sources":["../../generated/ts/backend/span_export_service.client.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"span_export_service.client.d.cts","names":[],"sources":["../../generated/ts/backend/span_export_service.client.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;UAciB,wBAAA;;AAAjB;;aAIuB,CAAA,KAAA,EAAA,kBAAA,EAAA,OAAA,CAAA,EAA8B,UAA9B,CAAA,EAA2C,SAA3C,CAAqD,kBAArD,EAAyE,mBAAzE,CAAA;;;;;AAAoD,cAK9D,uBAAA,YAAmC,wBAL2B,EAKD,WALC,CAAA;EAK9D,iBAAA,UAAwB;EAAA,QAAA,EAAA,MAAA;SAAA,EAAA,yBAAA,CAE1B,UAAA,CAAA,GAAA,EAAA,GAAA,CAAA,EAAA;SAAA,EAAA;IAEkC,CAAA,aAAA,EAAA,MAAA,CAAA,EAFlC,qBAAA,CAAA,SAEkC;;aAKQ,CAAA,UAAA,EALR,YAKQ;;;;aATL,CAAA,KAAA,EASzB,kBATyB,EAAA,OAAA,CAAA,EASK,UATL,CAAA,EASkB,SATlB,CAS4B,kBAT5B,EASgD,mBAThD,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import "../struct-
|
|
2
|
-
import "../duration-
|
|
3
|
-
import "../timestamp-
|
|
4
|
-
import "../
|
|
5
|
-
import
|
|
1
|
+
import "../struct-DWOuk3SS.js";
|
|
2
|
+
import "../duration-DbFzyNwE.js";
|
|
3
|
+
import "../timestamp-D0q8Zt_J.js";
|
|
4
|
+
import "../json_schema-dDDndex9.js";
|
|
5
|
+
import "../span-4UHVCo8Y.js";
|
|
6
|
+
import { ExportSpansRequest, ExportSpansResponse } from "../span_export_service-2e84QrFa.js";
|
|
6
7
|
import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
|
|
7
8
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
8
9
|
import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"span_export_service.client.d.ts","names":[],"sources":["../../generated/ts/backend/span_export_service.client.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"span_export_service.client.d.ts","names":[],"sources":["../../generated/ts/backend/span_export_service.client.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;UAciB,wBAAA;;AAAjB;;aAIuB,CAAA,KAAA,EAAA,kBAAA,EAAA,OAAA,CAAA,EAA8B,UAA9B,CAAA,EAA2C,SAA3C,CAAqD,kBAArD,EAAyE,mBAAzE,CAAA;;;;;AAAoD,cAK9D,uBAAA,YAAmC,wBAL2B,EAKD,WALC,CAAA;EAK9D,iBAAA,UAAwB;EAAA,QAAA,EAAA,MAAA;SAAA,EAAA,yBAAA,CAE1B,UAAA,CAAA,GAAA,EAAA,GAAA,CAAA,EAAA;SAAA,EAAA;IAEkC,CAAA,aAAA,EAAA,MAAA,CAAA,EAFlC,qBAAA,CAAA,SAEkC;;aAKQ,CAAA,UAAA,EALR,YAKQ;;;;aATL,CAAA,KAAA,EASzB,kBATyB,EAAA,OAAA,CAAA,EASK,UATL,CAAA,EASkB,SATlB,CAS4B,kBAT5B,EASgD,mBAThD,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import "../struct-LJz5_MGH.js";
|
|
2
2
|
import "../duration-B3fwb4jB.js";
|
|
3
3
|
import "../timestamp-CN7C70ih.js";
|
|
4
|
-
import "../
|
|
5
|
-
import
|
|
4
|
+
import "../json_schema-DhnvfM2m.js";
|
|
5
|
+
import "../span-DeXwA4th.js";
|
|
6
|
+
import { SpanExportService } from "../span_export_service-CtCIrH7o.js";
|
|
6
7
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
7
8
|
|
|
8
9
|
//#region generated/ts/backend/span_export_service.client.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"span_export_service.client.js","names":["_transport: RpcTransport"],"sources":["../../generated/ts/backend/span_export_service.client.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 type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { SpanExportService } from \"./span_export_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ExportSpansResponse } from \"./span_export_service\";\nimport type { ExportSpansRequest } from \"./span_export_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.SpanExportService\n */\nexport interface ISpanExportServiceClient {\n /**\n * @generated from protobuf rpc: ExportSpans\n */\n exportSpans(input: ExportSpansRequest, options?: RpcOptions): UnaryCall<ExportSpansRequest, ExportSpansResponse>;\n}\n/**\n * @generated from protobuf service tusk.drift.backend.v1.SpanExportService\n */\nexport class SpanExportServiceClient implements ISpanExportServiceClient, ServiceInfo {\n typeName = SpanExportService.typeName;\n methods = SpanExportService.methods;\n options = SpanExportService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: ExportSpans\n */\n exportSpans(input: ExportSpansRequest, options?: RpcOptions): UnaryCall<ExportSpansRequest, ExportSpansResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<ExportSpansRequest, ExportSpansResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"span_export_service.client.js","names":["_transport: RpcTransport"],"sources":["../../generated/ts/backend/span_export_service.client.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 type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { SpanExportService } from \"./span_export_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ExportSpansResponse } from \"./span_export_service\";\nimport type { ExportSpansRequest } from \"./span_export_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.SpanExportService\n */\nexport interface ISpanExportServiceClient {\n /**\n * @generated from protobuf rpc: ExportSpans\n */\n exportSpans(input: ExportSpansRequest, options?: RpcOptions): UnaryCall<ExportSpansRequest, ExportSpansResponse>;\n}\n/**\n * @generated from protobuf service tusk.drift.backend.v1.SpanExportService\n */\nexport class SpanExportServiceClient implements ISpanExportServiceClient, ServiceInfo {\n typeName = SpanExportService.typeName;\n methods = SpanExportService.methods;\n options = SpanExportService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: ExportSpans\n */\n exportSpans(input: ExportSpansRequest, options?: RpcOptions): UnaryCall<ExportSpansRequest, ExportSpansResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<ExportSpansRequest, ExportSpansResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],"mappings":";;;;;;;;;;;;AAuBA,IAAa,0BAAb,MAAsF;CAIlF,YAAY,AAAiBA,YAA0B;EAA1B;OAH7B,WAAW,kBAAkB;OAC7B,UAAU,kBAAkB;OAC5B,UAAU,kBAAkB;;;;;CAM5B,YAAY,OAA2B,SAA0E;EAC7G,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,SAAO,eAAwD,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import "../struct-ByyMh9ro.cjs";
|
|
2
2
|
import "../duration-C9RVKjpO.cjs";
|
|
3
3
|
import "../timestamp-C1kA6yb7.cjs";
|
|
4
|
-
import "../
|
|
5
|
-
import
|
|
4
|
+
import "../json_schema-CkGguNy7.cjs";
|
|
5
|
+
import "../span-BRA8I823.cjs";
|
|
6
|
+
import { ExportSpansRequest, ExportSpansResponse, SpanExportService } from "../span_export_service-Cl3oaNsS.cjs";
|
|
6
7
|
export { ExportSpansRequest, ExportSpansResponse, SpanExportService };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import "../struct-
|
|
2
|
-
import "../duration-
|
|
3
|
-
import "../timestamp-
|
|
4
|
-
import "../
|
|
5
|
-
import
|
|
1
|
+
import "../struct-DWOuk3SS.js";
|
|
2
|
+
import "../duration-DbFzyNwE.js";
|
|
3
|
+
import "../timestamp-D0q8Zt_J.js";
|
|
4
|
+
import "../json_schema-dDDndex9.js";
|
|
5
|
+
import "../span-4UHVCo8Y.js";
|
|
6
|
+
import { ExportSpansRequest, ExportSpansResponse, SpanExportService } from "../span_export_service-2e84QrFa.js";
|
|
6
7
|
export { ExportSpansRequest, ExportSpansResponse, SpanExportService };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "../struct-LJz5_MGH.js";
|
|
2
2
|
import "../duration-B3fwb4jB.js";
|
|
3
3
|
import "../timestamp-CN7C70ih.js";
|
|
4
|
-
import "../
|
|
5
|
-
import
|
|
4
|
+
import "../json_schema-DhnvfM2m.js";
|
|
5
|
+
import "../span-DeXwA4th.js";
|
|
6
|
+
import { ExportSpansRequest, ExportSpansResponse, SpanExportService } from "../span_export_service-CtCIrH7o.js";
|
|
6
7
|
|
|
7
8
|
export { ExportSpansRequest, ExportSpansResponse, SpanExportService };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
require('../struct-B_Dk4HR1.cjs');
|
|
2
2
|
require('../duration-DXK3bnoh.cjs');
|
|
3
3
|
require('../timestamp-Dfs_RIb3.cjs');
|
|
4
|
-
require('../
|
|
5
|
-
|
|
4
|
+
require('../json_schema-CIEgzW1h.cjs');
|
|
5
|
+
require('../span-DybL9WVC.cjs');
|
|
6
|
+
const require_test_run_service = require('../test_run_service-mjPl5dfZ.cjs');
|
|
6
7
|
|
|
7
8
|
exports.CreateDriftRunRequest = require_test_run_service.CreateDriftRunRequest;
|
|
8
9
|
exports.CreateDriftRunResponse = require_test_run_service.CreateDriftRunResponse;
|
|
@@ -2,8 +2,9 @@ const require_chunk = require('../chunk-CUT6urMc.cjs');
|
|
|
2
2
|
require('../struct-B_Dk4HR1.cjs');
|
|
3
3
|
require('../duration-DXK3bnoh.cjs');
|
|
4
4
|
require('../timestamp-Dfs_RIb3.cjs');
|
|
5
|
-
require('../
|
|
6
|
-
|
|
5
|
+
require('../json_schema-CIEgzW1h.cjs');
|
|
6
|
+
require('../span-DybL9WVC.cjs');
|
|
7
|
+
const require_test_run_service = require('../test_run_service-mjPl5dfZ.cjs');
|
|
7
8
|
let __protobuf_ts_runtime_rpc = require("@protobuf-ts/runtime-rpc");
|
|
8
9
|
__protobuf_ts_runtime_rpc = require_chunk.__toESM(__protobuf_ts_runtime_rpc);
|
|
9
10
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test_run_service.client.cjs","names":["_transport: RpcTransport","TestRunService"],"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,WAAWC,wCAAe;OAC1B,UAAUA,wCAAe;OACzB,UAAUA,wCAAe;;;;;;;;;CAUzB,eAAe,OAA8B,SAAgF;EACzH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAqE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOtH,oBAAoB,OAAmC,SAA0F;EAC7I,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAA+E,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOhI,eAAe,OAA8B,SAAgF;EACzH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAqE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOtH,sBAAsB,OAAqC,SAA8F;EACrJ,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAmF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOpI,iBAAiB,OAAgC,SAAoF;EACjI,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAyE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAO1H,aAAa,OAA4B,SAA4E;EACjH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAiE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOlH,uBAAuB,OAAsC,SAAgG;EACzJ,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAqF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;CAQtI,uBAAuB,OAAsC,SAAgG;EACzJ,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAqF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
|
|
1
|
+
{"version":3,"file":"test_run_service.client.cjs","names":["_transport: RpcTransport","TestRunService"],"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,WAAWC,wCAAe;OAC1B,UAAUA,wCAAe;OACzB,UAAUA,wCAAe;;;;;;;;;CAUzB,eAAe,OAA8B,SAAgF;EACzH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAqE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOtH,oBAAoB,OAAmC,SAA0F;EAC7I,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAA+E,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOhI,eAAe,OAA8B,SAAgF;EACzH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAqE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOtH,sBAAsB,OAAqC,SAA8F;EACrJ,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAmF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOpI,iBAAiB,OAAgC,SAAoF;EACjI,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAyE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAO1H,aAAa,OAA4B,SAA4E;EACjH,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAiE,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;CAOlH,uBAAuB,OAAsC,SAAgG;EACzJ,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAqF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM;;;;;;;;CAQtI,uBAAuB,OAAsC,SAAgG;EACzJ,MAAM,SAAS,KAAK,QAAQ,IAAI,MAAM,KAAK,WAAW,aAAa,QAAQ;AAC3E,uDAAqF,SAAS,KAAK,YAAY,QAAQ,KAAK,MAAM"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import "../struct-ByyMh9ro.cjs";
|
|
2
2
|
import "../duration-C9RVKjpO.cjs";
|
|
3
3
|
import "../timestamp-C1kA6yb7.cjs";
|
|
4
|
-
import "../
|
|
5
|
-
import
|
|
4
|
+
import "../json_schema-CkGguNy7.cjs";
|
|
5
|
+
import "../span-BRA8I823.cjs";
|
|
6
|
+
import { CreateDriftRunRequest, CreateDriftRunResponse, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetGlobalSpansRequest, GetGlobalSpansResponse, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetTraceTestRequest, GetTraceTestResponse, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse } from "../test_run_service-BI5-jCWN.cjs";
|
|
6
7
|
import * as _protobuf_ts_runtime_rpc1 from "@protobuf-ts/runtime-rpc";
|
|
7
8
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
8
9
|
import * as _protobuf_ts_runtime1 from "@protobuf-ts/runtime";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test_run_service.client.d.cts","names":[],"sources":["../../generated/ts/backend/test_run_service.client.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"test_run_service.client.d.cts","names":[],"sources":["../../generated/ts/backend/test_run_service.client.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;AAgD0B,UApBT,qBAAA,CAoBS;;;;;;;;gBAMoG,CAAA,KAAA,EAlBpG,qBAkBoG,EAAA,OAAA,CAAA,EAlBnE,UAkBmE,CAAA,EAlBtD,SAkBsD,CAlB5C,qBAkB4C,EAlBrB,sBAkBqB,CAAA;;;;;;qBAMlD,CAAA,KAAA,EAlB7C,0BAkB6C,EAAA,OAAA,CAAA,EAlBP,UAkBO,CAAA,EAlBM,SAkBN,CAlBgB,0BAkBhB,EAlB4C,2BAkB5C,CAAA;;;;;;gBAY1C,CAAA,KAAA,EAxBR,qBAwBQ,EAAA,OAAA,CAAA,EAxByB,UAwBzB,CAAA,EAxBsC,SAwBtC,CAxBgD,qBAwBhD,EAxBuE,sBAwBvE,CAAA;;;;;;uBAOyC,CAAA,KAAA,EAzB1C,4BAyB0C,EAAA,OAAA,CAAA,EAzBF,UAyBE,CAAA,EAzBW,SAyBX,CAzBqB,4BAyBrB,EAzBmD,6BAyBnD,CAAA;;;;;AAK3E;EAAkC,gBAAA,CAAA,KAAA,EAxBN,uBAwBM,EAAA,OAAA,CAAA,EAxB6B,UAwB7B,CAAA,EAxB0C,SAwB1C,CAxBoD,uBAwBpD,EAxB6E,wBAwB7E,CAAA;;;;;;cAagD,CAAA,KAAA,EA/B1D,mBA+B0D,EAAA,OAAA,CAAA,EA/B3B,UA+B2B,CAAA,EA/Bd,SA+Bc,CA/BJ,mBA+BI,EA/BiB,oBA+BjB,CAAA;;;;;;wBASsC,CAAA,KAAA,EAlCtF,6BAkCsF,EAAA,OAAA,CAAA,EAlC7C,UAkC6C,CAAA,EAlChC,SAkCgC,CAlCtB,6BAkCsB,EAlCS,8BAkCT,CAAA;;;;;;;wBAkBvF,CAAA,KAAA,EA7CC,6BA6CD,EAAA,OAAA,CAAA,EA7C0C,UA6C1C,CAAA,EA7CuD,SA6CvD,CA7CiE,6BA6CjE,EA7CgG,8BA6ChG,CAAA;;;;;AASL,cAjDf,oBAAA,YAAgC,qBAiDjB,EAjDwC,WAiDxC,CAAA;mBAAmC,UAAA;UAAuB,EAAA,MAAA;SAAyB,EAjD7E,yBAAA,CAEvB,UA+CoG,CAAA,GAAA,EAAA,GAAA,CAAA,EAAA;SAAnC,EAAA;IASpD,CAAA,aAAA,EAAA,MAAA,CAAA,EAxDb,qBAAA,CAAA,SAwDa;;aAAsD,CAAA,UAAA,EAtDjC,YAsDiC;;;;;;;;gBAmB5C,CAAA,KAAA,EAhER,qBAgEQ,EAAA,OAAA,CAAA,EAhEyB,UAgEzB,CAAA,EAhEsC,SAgEtC,CAhEgD,qBAgEhD,EAhEuE,sBAgEvE,CAAA;;;;;;qBA7EkC,CAAA,KAAA,EAsBrC,0BAtBqC,EAAA,OAAA,CAAA,EAsBC,UAtBD,CAAA,EAsBc,SAtBd,CAsBwB,0BAtBxB,EAsBoD,2BAtBpD,CAAA;EAAW;;;;;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"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import "../struct-
|
|
2
|
-
import "../duration-
|
|
3
|
-
import "../timestamp-
|
|
4
|
-
import "../
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import "../struct-DWOuk3SS.js";
|
|
2
|
+
import "../duration-DbFzyNwE.js";
|
|
3
|
+
import "../timestamp-D0q8Zt_J.js";
|
|
4
|
+
import "../json_schema-dDDndex9.js";
|
|
5
|
+
import "../span-4UHVCo8Y.js";
|
|
6
|
+
import { CreateDriftRunRequest, CreateDriftRunResponse, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetGlobalSpansRequest, GetGlobalSpansResponse, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetTraceTestRequest, GetTraceTestResponse, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse } from "../test_run_service-BDbBft40.js";
|
|
7
|
+
import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
|
|
7
8
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
8
|
-
import * as
|
|
9
|
+
import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
|
|
9
10
|
|
|
10
11
|
//#region generated/ts/backend/test_run_service.client.d.ts
|
|
11
12
|
|
|
@@ -71,9 +72,9 @@ interface ITestRunServiceClient {
|
|
|
71
72
|
declare class TestRunServiceClient implements ITestRunServiceClient, ServiceInfo {
|
|
72
73
|
private readonly _transport;
|
|
73
74
|
typeName: string;
|
|
74
|
-
methods:
|
|
75
|
+
methods: _protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
|
|
75
76
|
options: {
|
|
76
|
-
[extensionName: string]:
|
|
77
|
+
[extensionName: string]: _protobuf_ts_runtime0.JsonValue;
|
|
77
78
|
};
|
|
78
79
|
constructor(_transport: RpcTransport);
|
|
79
80
|
/**
|