@mochabug/adapt-web 0.0.72 → 1.0.0-rc10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genproto/mochabugapis/adapt/automations/v1/automations_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/automations/v1/automations_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js +2 -1
- package/dist/cjs/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/graph/signal_binding_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/graph/signal_binding_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.js +33 -0
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.js.map +1 -0
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/file_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/file_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.js +105 -0
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.js.map +1 -0
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.js +1 -2
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.js +3 -2
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.js +40 -0
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.js.map +1 -0
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js +1 -2
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js +127 -59
- package/dist/cjs/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js.map +1 -1
- package/dist/cjs/index.js +52 -24
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/pubsub-client.js +129 -58
- package/dist/cjs/pubsub-client.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/automations/v1/automations_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/automations/v1/automations_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js +2 -1
- package/dist/esm/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/graph/signal_binding_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/graph/signal_binding_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.js +30 -0
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.js.map +1 -0
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/file_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/file_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.js +102 -0
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.js.map +1 -0
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.js +1 -2
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.js +3 -2
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.js +37 -0
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.js.map +1 -0
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js +1 -2
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js +125 -58
- package/dist/esm/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js.map +1 -1
- package/dist/esm/index.js +52 -24
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/pubsub-client.js +130 -59
- package/dist/esm/pubsub-client.js.map +1 -1
- package/dist/types/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +188 -14
- package/dist/types/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +2 -2
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts +346 -0
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts +1281 -0
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts +184 -21
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts +100 -2
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +28 -4
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +141 -18
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts +538 -0
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +130 -2
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +36 -9
- package/dist/types/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts +407 -131
- package/dist/types/pubsub-client.d.ts +8 -1
- package/package.json +8 -9
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.js +0 -30
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.js.map +0 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.js +0 -33
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.js.map +0 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.js +0 -64
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.js.map +0 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.js +0 -27
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.js.map +0 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.js +0 -30
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.js.map +0 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.js +0 -61
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.js.map +0 -1
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.d.ts +0 -93
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.d.ts +0 -137
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.d.ts +0 -150
|
@@ -24,9 +24,15 @@ export declare enum ConnectionState {
|
|
|
24
24
|
CONNECTED = "connected",
|
|
25
25
|
CLOSING = "closing"
|
|
26
26
|
}
|
|
27
|
+
export interface SessionInfo {
|
|
28
|
+
organization: string;
|
|
29
|
+
group: string;
|
|
30
|
+
automation: string;
|
|
31
|
+
token: string;
|
|
32
|
+
}
|
|
27
33
|
export declare class PubsubClient {
|
|
28
34
|
private state;
|
|
29
|
-
private
|
|
35
|
+
private sessionInfo;
|
|
30
36
|
private readonly logger;
|
|
31
37
|
private readonly ackTracker;
|
|
32
38
|
private readonly reconnectManager;
|
|
@@ -39,6 +45,7 @@ export declare class PubsubClient {
|
|
|
39
45
|
unsubscribe(): Promise<void>;
|
|
40
46
|
isConnected(): boolean;
|
|
41
47
|
getConnectionState(): ConnectionState;
|
|
48
|
+
getSessionInfo(): SessionInfo;
|
|
42
49
|
private connect;
|
|
43
50
|
private handleOpen;
|
|
44
51
|
private handleMessage;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mochabug/adapt-web",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0-rc10",
|
|
4
4
|
"description": "The client library to execute automations, without effort, in a browser environment",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -36,9 +36,8 @@
|
|
|
36
36
|
"build:esm": "tsc --project tsconfig.esm.json",
|
|
37
37
|
"build:types": "tsc --project tsconfig.types.json",
|
|
38
38
|
"build": "npm run generate && rm -rf dist && npm run build:cjs && npm run build:esm && npm run build:types",
|
|
39
|
-
"test": "vitest",
|
|
40
|
-
"test:ui": "vitest --ui"
|
|
41
|
-
"test:run": "vitest run"
|
|
39
|
+
"test": "vitest run",
|
|
40
|
+
"test:ui": "vitest --ui"
|
|
42
41
|
},
|
|
43
42
|
"repository": {
|
|
44
43
|
"type": "git",
|
|
@@ -57,15 +56,15 @@
|
|
|
57
56
|
"homepage": "https://github.com/mochabug/adapt-automation-clients#readme",
|
|
58
57
|
"devDependencies": {
|
|
59
58
|
"@types/ws": "^8.18.1",
|
|
60
|
-
"@vitest/ui": "^
|
|
61
|
-
"typescript": "^5.9.
|
|
62
|
-
"vitest": "^
|
|
59
|
+
"@vitest/ui": "^4.0.4",
|
|
60
|
+
"typescript": "^5.9.3",
|
|
61
|
+
"vitest": "^4.0.4",
|
|
63
62
|
"ws": "^8.18.3"
|
|
64
63
|
},
|
|
65
64
|
"dependencies": {
|
|
66
|
-
"@bufbuild/protobuf": "^2.
|
|
65
|
+
"@bufbuild/protobuf": "^2.10.0",
|
|
67
66
|
"@types/uuid": "^11.0.0",
|
|
68
67
|
"isomorphic-ws": "^5.0.0",
|
|
69
68
|
"uuid": "^13.0.0"
|
|
70
69
|
}
|
|
71
|
-
}
|
|
70
|
+
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2023, mochabug AB
|
|
3
|
-
//
|
|
4
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
// you may not use this file except in compliance with the License.
|
|
6
|
-
// You may obtain a copy of the License at
|
|
7
|
-
//
|
|
8
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
//
|
|
10
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
// See the License for the specific language governing permissions and
|
|
14
|
-
// limitations under the License.
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OneOfConfigSchema = exports.file_mochabugapis_adapt_plugins_v1_oneof_service = void 0;
|
|
17
|
-
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
18
|
-
const wkt_1 = require("@bufbuild/protobuf/wkt");
|
|
19
|
-
const oauth2_service_pb_js_1 = require("./oauth2_service_pb.js");
|
|
20
|
-
const tls_service_pb_js_1 = require("./tls_service_pb.js");
|
|
21
|
-
/**
|
|
22
|
-
* Describes the file mochabugapis/adapt/plugins/v1/oneof_service.proto.
|
|
23
|
-
*/
|
|
24
|
-
exports.file_mochabugapis_adapt_plugins_v1_oneof_service = (0, codegenv2_1.fileDesc)("CjFtb2NoYWJ1Z2FwaXMvYWRhcHQvcGx1Z2lucy92MS9vbmVvZl9zZXJ2aWNlLnByb3RvEh1tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MSLeAQoLT25lT2ZDb25maWcSFQoIc2VsZWN0ZWQYASABKAlIAYgBARI9CgZvYXV0aDIYAiABKAsyKy5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5PYXV0aDJDb25maWdIABI3CgN0bHMYAyABKAsyKC5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5UbHNDb25maWdIABIqCgh2YXJpYWJsZRgEIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZUgAQgcKBXZhbHVlQgsKCV9zZWxlY3RlZGIGcHJvdG8z", [wkt_1.file_google_protobuf_struct, oauth2_service_pb_js_1.file_mochabugapis_adapt_plugins_v1_oauth2_service, tls_service_pb_js_1.file_mochabugapis_adapt_plugins_v1_tls_service]);
|
|
25
|
-
/**
|
|
26
|
-
* Describes the message mochabugapis.adapt.plugins.v1.OneOfConfig.
|
|
27
|
-
* Use `create(OneOfConfigSchema)` to create a new message.
|
|
28
|
-
*/
|
|
29
|
-
exports.OneOfConfigSchema = (0, codegenv2_1.messageDesc)(exports.file_mochabugapis_adapt_plugins_v1_oneof_service, 0);
|
|
30
|
-
//# sourceMappingURL=oneof_service_pb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oneof_service_pb.js","sourceRoot":"","sources":["../../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.ts"],"names":[],"mappings":";AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAQjC,4DAAqE;AAErE,gDAAqE;AAErE,iEAA2F;AAE3F,2DAAqF;AAGrF;;GAEG;AACU,QAAA,gDAAgD,GAC3D,IAAA,oBAAQ,EAAC,saAAsa,EAAE,CAAC,iCAA2B,EAAE,wEAAiD,EAAE,kEAA8C,CAAC,CAAC,CAAC;AAkFrjB;;;GAGG;AACU,QAAA,iBAAiB,GAC5B,IAAA,uBAAW,EAAC,wDAAgD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2023, mochabug AB
|
|
3
|
-
//
|
|
4
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
// you may not use this file except in compliance with the License.
|
|
6
|
-
// You may obtain a copy of the License at
|
|
7
|
-
//
|
|
8
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
//
|
|
10
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
// See the License for the specific language governing permissions and
|
|
14
|
-
// limitations under the License.
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OneOfBindingSchema = exports.ServiceBindingSchema = exports.file_mochabugapis_adapt_plugins_v1_service_binding = void 0;
|
|
17
|
-
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
18
|
-
const validate_pb_js_1 = require("../../../../buf/validate/validate_pb.js");
|
|
19
|
-
/**
|
|
20
|
-
* Describes the file mochabugapis/adapt/plugins/v1/service_binding.proto.
|
|
21
|
-
*/
|
|
22
|
-
exports.file_mochabugapis_adapt_plugins_v1_service_binding = (0, codegenv2_1.fileDesc)("CjNtb2NoYWJ1Z2FwaXMvYWRhcHQvcGx1Z2lucy92MS9zZXJ2aWNlX2JpbmRpbmcucHJvdG8SHW1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxIvQBCg5TZXJ2aWNlQmluZGluZxIzCgRuYW1lGAEgASgJQiW6SCJyIBABGGQyGl5bXyRhLXpBLVpdW18kYS16QS1aMC05XSokEjgKB3NlcnZpY2UYAiABKAlCJbpIInIgEAEYZDIaXltfJGEtekEtWl1bXyRhLXpBLVowLTldKiRIABI9CgZvbmVfb2YYAyABKAsyKy5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5PbmVPZkJpbmRpbmdIABIVCghvcHRpb25hbBgEIAEoCEgBiAEBQhAKB2JpbmRpbmcSBbpIAggBQgsKCV9vcHRpb25hbCKyAgoMT25lT2ZCaW5kaW5nEkEKB29wdGlvbnMYASADKAlCMLpILZIBKggBEBQYASIiciAQARhkMhpeW18kYS16QS1aXVtfJGEtekEtWjAtOV0qJBI+CgdkZWZhdWx0GAIgASgJQii6SCXYAQFyIBABGGQyGl5bXyRhLXpBLVpdW18kYS16QS1aMC05XSokSACIAQE6kgG6SI4BGosBChJkZWZhdWx0X2luX29wdGlvbnMSNE1ha2Ugc3VyZSB0aGF0IHRoZSBkZWZhdWx0IGV4aXN0cyBpbnNpZGUgdGhlIG9wdGlvbnMaPyFoYXModGhpcy5kZWZhdWx0KSB8fCB0aGlzLm9wdGlvbnMuZXhpc3RzKHgsIHggPT0gdGhpcy5kZWZhdWx0KUIKCghfZGVmYXVsdGIGcHJvdG8z", [validate_pb_js_1.file_buf_validate_validate]);
|
|
23
|
-
/**
|
|
24
|
-
* Describes the message mochabugapis.adapt.plugins.v1.ServiceBinding.
|
|
25
|
-
* Use `create(ServiceBindingSchema)` to create a new message.
|
|
26
|
-
*/
|
|
27
|
-
exports.ServiceBindingSchema = (0, codegenv2_1.messageDesc)(exports.file_mochabugapis_adapt_plugins_v1_service_binding, 0);
|
|
28
|
-
/**
|
|
29
|
-
* Describes the message mochabugapis.adapt.plugins.v1.OneOfBinding.
|
|
30
|
-
* Use `create(OneOfBindingSchema)` to create a new message.
|
|
31
|
-
*/
|
|
32
|
-
exports.OneOfBindingSchema = (0, codegenv2_1.messageDesc)(exports.file_mochabugapis_adapt_plugins_v1_service_binding, 1);
|
|
33
|
-
//# sourceMappingURL=service_binding_pb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service_binding_pb.js","sourceRoot":"","sources":["../../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.ts"],"names":[],"mappings":";AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAQjC,4DAAqE;AACrE,4EAAqF;AAGrF;;GAEG;AACU,QAAA,kDAAkD,GAC7D,IAAA,oBAAQ,EAAC,k2BAAk2B,EAAE,CAAC,2CAA0B,CAAC,CAAC,CAAC;AAqF74B;;;GAGG;AACU,QAAA,oBAAoB,GAC/B,IAAA,uBAAW,EAAC,0DAAkD,EAAE,CAAC,CAAC,CAAC;AA4CrE;;;GAGG;AACU,QAAA,kBAAkB,GAC7B,IAAA,uBAAW,EAAC,0DAAkD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2023, mochabug AB
|
|
3
|
-
//
|
|
4
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
// you may not use this file except in compliance with the License.
|
|
6
|
-
// You may obtain a copy of the License at
|
|
7
|
-
//
|
|
8
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
//
|
|
10
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
// See the License for the specific language governing permissions and
|
|
14
|
-
// limitations under the License.
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.TlsConfigSchema = exports.TlsDefinition_ModeSchema = exports.TlsDefinition_Mode = exports.TlsDefinitionSchema = exports.file_mochabugapis_adapt_plugins_v1_tls_service = void 0;
|
|
17
|
-
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
18
|
-
const validate_pb_js_1 = require("../../../../buf/validate/validate_pb.js");
|
|
19
|
-
const file_pb_js_1 = require("./file_pb.js");
|
|
20
|
-
/**
|
|
21
|
-
* Describes the file mochabugapis/adapt/plugins/v1/tls_service.proto.
|
|
22
|
-
*/
|
|
23
|
-
exports.file_mochabugapis_adapt_plugins_v1_tls_service = (0, codegenv2_1.fileDesc)("Ci9tb2NoYWJ1Z2FwaXMvYWRhcHQvcGx1Z2lucy92MS90bHNfc2VydmljZS5wcm90bxIdbW9jaGFidWdhcGlzLmFkYXB0LnBsdWdpbnMudjEinwEKDVRsc0RlZmluaXRpb24SSwoEbW9kZRgBIAEoDjIxLm1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxLlRsc0RlZmluaXRpb24uTW9kZUIKukgHggEEEAEgACJBCgRNb2RlEhQKEE1PREVfVU5TUEVDSUZJRUQQABINCglNT0RFX01UTFMQARIUChBNT0RFX1NFUlZFUl9PTkxZEAIi+QEKCVRsc0NvbmZpZxI+CgljYV9idW5kbGUYASABKAsyIy5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5GaWxlQga6SAPIAQESRQoLY2VydGlmaWNhdGUYAiABKAsyIy5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5GaWxlQga6SAPIAQFIAIgBARJFCgtwcml2YXRlX2tleRgDIAEoCzIjLm1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxLkZpbGVCBrpIA8gBAUgBiAEBQg4KDF9jZXJ0aWZpY2F0ZUIOCgxfcHJpdmF0ZV9rZXliBnByb3RvMw", [validate_pb_js_1.file_buf_validate_validate, file_pb_js_1.file_mochabugapis_adapt_plugins_v1_file]);
|
|
24
|
-
/**
|
|
25
|
-
* Describes the message mochabugapis.adapt.plugins.v1.TlsDefinition.
|
|
26
|
-
* Use `create(TlsDefinitionSchema)` to create a new message.
|
|
27
|
-
*/
|
|
28
|
-
exports.TlsDefinitionSchema = (0, codegenv2_1.messageDesc)(exports.file_mochabugapis_adapt_plugins_v1_tls_service, 0);
|
|
29
|
-
/**
|
|
30
|
-
* Mode specifies which TLS configuration to use.
|
|
31
|
-
*
|
|
32
|
-
* @generated from enum mochabugapis.adapt.plugins.v1.TlsDefinition.Mode
|
|
33
|
-
*/
|
|
34
|
-
var TlsDefinition_Mode;
|
|
35
|
-
(function (TlsDefinition_Mode) {
|
|
36
|
-
/**
|
|
37
|
-
* Default value. Invalid.
|
|
38
|
-
*
|
|
39
|
-
* @generated from enum value: MODE_UNSPECIFIED = 0;
|
|
40
|
-
*/
|
|
41
|
-
TlsDefinition_Mode[TlsDefinition_Mode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
42
|
-
/**
|
|
43
|
-
* MTLS requires both the client and server to present valid certificates.
|
|
44
|
-
*
|
|
45
|
-
* @generated from enum value: MODE_MTLS = 1;
|
|
46
|
-
*/
|
|
47
|
-
TlsDefinition_Mode[TlsDefinition_Mode["MTLS"] = 1] = "MTLS";
|
|
48
|
-
/**
|
|
49
|
-
* SERVER_ONLY requires only the server to present a certificate, and the client performs validation.
|
|
50
|
-
*
|
|
51
|
-
* @generated from enum value: MODE_SERVER_ONLY = 2;
|
|
52
|
-
*/
|
|
53
|
-
TlsDefinition_Mode[TlsDefinition_Mode["SERVER_ONLY"] = 2] = "SERVER_ONLY";
|
|
54
|
-
})(TlsDefinition_Mode || (exports.TlsDefinition_Mode = TlsDefinition_Mode = {}));
|
|
55
|
-
/**
|
|
56
|
-
* Describes the enum mochabugapis.adapt.plugins.v1.TlsDefinition.Mode.
|
|
57
|
-
*/
|
|
58
|
-
exports.TlsDefinition_ModeSchema = (0, codegenv2_1.enumDesc)(exports.file_mochabugapis_adapt_plugins_v1_tls_service, 0, 0);
|
|
59
|
-
/**
|
|
60
|
-
* Describes the message mochabugapis.adapt.plugins.v1.TlsConfig.
|
|
61
|
-
* Use `create(TlsConfigSchema)` to create a new message.
|
|
62
|
-
*/
|
|
63
|
-
exports.TlsConfigSchema = (0, codegenv2_1.messageDesc)(exports.file_mochabugapis_adapt_plugins_v1_tls_service, 1);
|
|
64
|
-
//# sourceMappingURL=tls_service_pb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tls_service_pb.js","sourceRoot":"","sources":["../../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.ts"],"names":[],"mappings":";AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAQjC,4DAA+E;AAC/E,4EAAqF;AAErF,6CAAuE;AAGvE;;GAEG;AACU,QAAA,8CAA8C,GACzD,IAAA,oBAAQ,EAAC,gqBAAgqB,EAAE,CAAC,2CAA0B,EAAE,oDAAuC,CAAC,CAAC,CAAC;AAoCpvB;;;GAGG;AACU,QAAA,mBAAmB,GAC9B,IAAA,uBAAW,EAAC,sDAA8C,EAAE,CAAC,CAAC,CAAC;AAEjE;;;;GAIG;AACH,IAAY,kBAqBX;AArBD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,yEAAe,CAAA;IAEf;;;;OAIG;IACH,2DAAQ,CAAA;IAER;;;;OAIG;IACH,yEAAe,CAAA;AACjB,CAAC,EArBW,kBAAkB,kCAAlB,kBAAkB,QAqB7B;AASD;;GAEG;AACU,QAAA,wBAAwB,GACnC,IAAA,oBAAQ,EAAC,sDAA8C,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAsEjE;;;GAGG;AACU,QAAA,eAAe,GAC1B,IAAA,uBAAW,EAAC,sDAA8C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// Copyright 2023, mochabug AB
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
// you may not use this file except in compliance with the License.
|
|
5
|
-
// You may obtain a copy of the License at
|
|
6
|
-
//
|
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
//
|
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
// See the License for the specific language governing permissions and
|
|
13
|
-
// limitations under the License.
|
|
14
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
15
|
-
import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
16
|
-
import { file_mochabugapis_adapt_plugins_v1_oauth2_service } from "./oauth2_service_pb.js";
|
|
17
|
-
import { file_mochabugapis_adapt_plugins_v1_tls_service } from "./tls_service_pb.js";
|
|
18
|
-
/**
|
|
19
|
-
* Describes the file mochabugapis/adapt/plugins/v1/oneof_service.proto.
|
|
20
|
-
*/
|
|
21
|
-
export const file_mochabugapis_adapt_plugins_v1_oneof_service = /*@__PURE__*/ fileDesc("CjFtb2NoYWJ1Z2FwaXMvYWRhcHQvcGx1Z2lucy92MS9vbmVvZl9zZXJ2aWNlLnByb3RvEh1tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MSLeAQoLT25lT2ZDb25maWcSFQoIc2VsZWN0ZWQYASABKAlIAYgBARI9CgZvYXV0aDIYAiABKAsyKy5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5PYXV0aDJDb25maWdIABI3CgN0bHMYAyABKAsyKC5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5UbHNDb25maWdIABIqCgh2YXJpYWJsZRgEIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZUgAQgcKBXZhbHVlQgsKCV9zZWxlY3RlZGIGcHJvdG8z", [file_google_protobuf_struct, file_mochabugapis_adapt_plugins_v1_oauth2_service, file_mochabugapis_adapt_plugins_v1_tls_service]);
|
|
22
|
-
/**
|
|
23
|
-
* Describes the message mochabugapis.adapt.plugins.v1.OneOfConfig.
|
|
24
|
-
* Use `create(OneOfConfigSchema)` to create a new message.
|
|
25
|
-
*/
|
|
26
|
-
export const OneOfConfigSchema = /*@__PURE__*/ messageDesc(file_mochabugapis_adapt_plugins_v1_oneof_service, 0);
|
|
27
|
-
//# sourceMappingURL=oneof_service_pb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oneof_service_pb.js","sourceRoot":"","sources":["../../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAQjC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAErE,OAAO,EAAE,iDAAiD,EAAE,MAAM,wBAAwB,CAAC;AAE3F,OAAO,EAAE,8CAA8C,EAAE,MAAM,qBAAqB,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAY,aAAa,CACpF,QAAQ,CAAC,saAAsa,EAAE,CAAC,2BAA2B,EAAE,iDAAiD,EAAE,8CAA8C,CAAC,CAAC,CAAC;AAkFrjB;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAyD,aAAa,CAClG,WAAW,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// Copyright 2023, mochabug AB
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
// you may not use this file except in compliance with the License.
|
|
5
|
-
// You may obtain a copy of the License at
|
|
6
|
-
//
|
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
//
|
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
// See the License for the specific language governing permissions and
|
|
13
|
-
// limitations under the License.
|
|
14
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
15
|
-
import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
|
|
16
|
-
/**
|
|
17
|
-
* Describes the file mochabugapis/adapt/plugins/v1/service_binding.proto.
|
|
18
|
-
*/
|
|
19
|
-
export const file_mochabugapis_adapt_plugins_v1_service_binding = /*@__PURE__*/ fileDesc("CjNtb2NoYWJ1Z2FwaXMvYWRhcHQvcGx1Z2lucy92MS9zZXJ2aWNlX2JpbmRpbmcucHJvdG8SHW1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxIvQBCg5TZXJ2aWNlQmluZGluZxIzCgRuYW1lGAEgASgJQiW6SCJyIBABGGQyGl5bXyRhLXpBLVpdW18kYS16QS1aMC05XSokEjgKB3NlcnZpY2UYAiABKAlCJbpIInIgEAEYZDIaXltfJGEtekEtWl1bXyRhLXpBLVowLTldKiRIABI9CgZvbmVfb2YYAyABKAsyKy5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5PbmVPZkJpbmRpbmdIABIVCghvcHRpb25hbBgEIAEoCEgBiAEBQhAKB2JpbmRpbmcSBbpIAggBQgsKCV9vcHRpb25hbCKyAgoMT25lT2ZCaW5kaW5nEkEKB29wdGlvbnMYASADKAlCMLpILZIBKggBEBQYASIiciAQARhkMhpeW18kYS16QS1aXVtfJGEtekEtWjAtOV0qJBI+CgdkZWZhdWx0GAIgASgJQii6SCXYAQFyIBABGGQyGl5bXyRhLXpBLVpdW18kYS16QS1aMC05XSokSACIAQE6kgG6SI4BGosBChJkZWZhdWx0X2luX29wdGlvbnMSNE1ha2Ugc3VyZSB0aGF0IHRoZSBkZWZhdWx0IGV4aXN0cyBpbnNpZGUgdGhlIG9wdGlvbnMaPyFoYXModGhpcy5kZWZhdWx0KSB8fCB0aGlzLm9wdGlvbnMuZXhpc3RzKHgsIHggPT0gdGhpcy5kZWZhdWx0KUIKCghfZGVmYXVsdGIGcHJvdG8z", [file_buf_validate_validate]);
|
|
20
|
-
/**
|
|
21
|
-
* Describes the message mochabugapis.adapt.plugins.v1.ServiceBinding.
|
|
22
|
-
* Use `create(ServiceBindingSchema)` to create a new message.
|
|
23
|
-
*/
|
|
24
|
-
export const ServiceBindingSchema = /*@__PURE__*/ messageDesc(file_mochabugapis_adapt_plugins_v1_service_binding, 0);
|
|
25
|
-
/**
|
|
26
|
-
* Describes the message mochabugapis.adapt.plugins.v1.OneOfBinding.
|
|
27
|
-
* Use `create(OneOfBindingSchema)` to create a new message.
|
|
28
|
-
*/
|
|
29
|
-
export const OneOfBindingSchema = /*@__PURE__*/ messageDesc(file_mochabugapis_adapt_plugins_v1_service_binding, 1);
|
|
30
|
-
//# sourceMappingURL=service_binding_pb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service_binding_pb.js","sourceRoot":"","sources":["../../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAQjC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAY,aAAa,CACtF,QAAQ,CAAC,k2BAAk2B,EAAE,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAqF74B;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+D,aAAa,CAC3G,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC;AA4CrE;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA2D,aAAa,CACrG,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
// Copyright 2023, mochabug AB
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
// you may not use this file except in compliance with the License.
|
|
5
|
-
// You may obtain a copy of the License at
|
|
6
|
-
//
|
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
//
|
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
// See the License for the specific language governing permissions and
|
|
13
|
-
// limitations under the License.
|
|
14
|
-
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
15
|
-
import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
|
|
16
|
-
import { file_mochabugapis_adapt_plugins_v1_file } from "./file_pb.js";
|
|
17
|
-
/**
|
|
18
|
-
* Describes the file mochabugapis/adapt/plugins/v1/tls_service.proto.
|
|
19
|
-
*/
|
|
20
|
-
export const file_mochabugapis_adapt_plugins_v1_tls_service = /*@__PURE__*/ fileDesc("Ci9tb2NoYWJ1Z2FwaXMvYWRhcHQvcGx1Z2lucy92MS90bHNfc2VydmljZS5wcm90bxIdbW9jaGFidWdhcGlzLmFkYXB0LnBsdWdpbnMudjEinwEKDVRsc0RlZmluaXRpb24SSwoEbW9kZRgBIAEoDjIxLm1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxLlRsc0RlZmluaXRpb24uTW9kZUIKukgHggEEEAEgACJBCgRNb2RlEhQKEE1PREVfVU5TUEVDSUZJRUQQABINCglNT0RFX01UTFMQARIUChBNT0RFX1NFUlZFUl9PTkxZEAIi+QEKCVRsc0NvbmZpZxI+CgljYV9idW5kbGUYASABKAsyIy5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5GaWxlQga6SAPIAQESRQoLY2VydGlmaWNhdGUYAiABKAsyIy5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5GaWxlQga6SAPIAQFIAIgBARJFCgtwcml2YXRlX2tleRgDIAEoCzIjLm1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxLkZpbGVCBrpIA8gBAUgBiAEBQg4KDF9jZXJ0aWZpY2F0ZUIOCgxfcHJpdmF0ZV9rZXliBnByb3RvMw", [file_buf_validate_validate, file_mochabugapis_adapt_plugins_v1_file]);
|
|
21
|
-
/**
|
|
22
|
-
* Describes the message mochabugapis.adapt.plugins.v1.TlsDefinition.
|
|
23
|
-
* Use `create(TlsDefinitionSchema)` to create a new message.
|
|
24
|
-
*/
|
|
25
|
-
export const TlsDefinitionSchema = /*@__PURE__*/ messageDesc(file_mochabugapis_adapt_plugins_v1_tls_service, 0);
|
|
26
|
-
/**
|
|
27
|
-
* Mode specifies which TLS configuration to use.
|
|
28
|
-
*
|
|
29
|
-
* @generated from enum mochabugapis.adapt.plugins.v1.TlsDefinition.Mode
|
|
30
|
-
*/
|
|
31
|
-
export var TlsDefinition_Mode;
|
|
32
|
-
(function (TlsDefinition_Mode) {
|
|
33
|
-
/**
|
|
34
|
-
* Default value. Invalid.
|
|
35
|
-
*
|
|
36
|
-
* @generated from enum value: MODE_UNSPECIFIED = 0;
|
|
37
|
-
*/
|
|
38
|
-
TlsDefinition_Mode[TlsDefinition_Mode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
39
|
-
/**
|
|
40
|
-
* MTLS requires both the client and server to present valid certificates.
|
|
41
|
-
*
|
|
42
|
-
* @generated from enum value: MODE_MTLS = 1;
|
|
43
|
-
*/
|
|
44
|
-
TlsDefinition_Mode[TlsDefinition_Mode["MTLS"] = 1] = "MTLS";
|
|
45
|
-
/**
|
|
46
|
-
* SERVER_ONLY requires only the server to present a certificate, and the client performs validation.
|
|
47
|
-
*
|
|
48
|
-
* @generated from enum value: MODE_SERVER_ONLY = 2;
|
|
49
|
-
*/
|
|
50
|
-
TlsDefinition_Mode[TlsDefinition_Mode["SERVER_ONLY"] = 2] = "SERVER_ONLY";
|
|
51
|
-
})(TlsDefinition_Mode || (TlsDefinition_Mode = {}));
|
|
52
|
-
/**
|
|
53
|
-
* Describes the enum mochabugapis.adapt.plugins.v1.TlsDefinition.Mode.
|
|
54
|
-
*/
|
|
55
|
-
export const TlsDefinition_ModeSchema = /*@__PURE__*/ enumDesc(file_mochabugapis_adapt_plugins_v1_tls_service, 0, 0);
|
|
56
|
-
/**
|
|
57
|
-
* Describes the message mochabugapis.adapt.plugins.v1.TlsConfig.
|
|
58
|
-
* Use `create(TlsConfigSchema)` to create a new message.
|
|
59
|
-
*/
|
|
60
|
-
export const TlsConfigSchema = /*@__PURE__*/ messageDesc(file_mochabugapis_adapt_plugins_v1_tls_service, 1);
|
|
61
|
-
//# sourceMappingURL=tls_service_pb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tls_service_pb.js","sourceRoot":"","sources":["../../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAQjC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,uCAAuC,EAAE,MAAM,cAAc,CAAC;AAGvE;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAY,aAAa,CAClF,QAAQ,CAAC,gqBAAgqB,EAAE,CAAC,0BAA0B,EAAE,uCAAuC,CAAC,CAAC,CAAC;AAoCpvB;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA6D,aAAa,CACxG,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC;AAEjE;;;;GAIG;AACH,MAAM,CAAN,IAAY,kBAqBX;AArBD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,yEAAe,CAAA;IAEf;;;;OAIG;IACH,2DAAQ,CAAA;IAER;;;;OAIG;IACH,yEAAe,CAAA;AACjB,CAAC,EArBW,kBAAkB,KAAlB,kBAAkB,QAqB7B;AASD;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAwD,aAAa,CACxG,QAAQ,CAAC,8CAA8C,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAsEjE;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAqD,aAAa,CAC5F,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { Value, ValueJson } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import type { Oauth2Config, Oauth2ConfigJson } from "./oauth2_service_pb.js";
|
|
4
|
-
import type { TlsConfig, TlsConfigJson } from "./tls_service_pb.js";
|
|
5
|
-
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
-
/**
|
|
7
|
-
* Describes the file mochabugapis/adapt/plugins/v1/oneof_service.proto.
|
|
8
|
-
*/
|
|
9
|
-
export declare const file_mochabugapis_adapt_plugins_v1_oneof_service: GenFile;
|
|
10
|
-
/**
|
|
11
|
-
* The oneof state
|
|
12
|
-
*
|
|
13
|
-
* @generated from message mochabugapis.adapt.plugins.v1.OneOfConfig
|
|
14
|
-
*/
|
|
15
|
-
export type OneOfConfig = Message<"mochabugapis.adapt.plugins.v1.OneOfConfig"> & {
|
|
16
|
-
/**
|
|
17
|
-
* The selected service
|
|
18
|
-
*
|
|
19
|
-
* @generated from field: optional string selected = 1;
|
|
20
|
-
*/
|
|
21
|
-
selected?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The corresponding value
|
|
24
|
-
*
|
|
25
|
-
* @generated from oneof mochabugapis.adapt.plugins.v1.OneOfConfig.value
|
|
26
|
-
*/
|
|
27
|
-
value: {
|
|
28
|
-
/**
|
|
29
|
-
* The oauth2 state
|
|
30
|
-
*
|
|
31
|
-
* @generated from field: mochabugapis.adapt.plugins.v1.Oauth2Config oauth2 = 2;
|
|
32
|
-
*/
|
|
33
|
-
value: Oauth2Config;
|
|
34
|
-
case: "oauth2";
|
|
35
|
-
} | {
|
|
36
|
-
/**
|
|
37
|
-
* The tls state
|
|
38
|
-
*
|
|
39
|
-
* @generated from field: mochabugapis.adapt.plugins.v1.TlsConfig tls = 3;
|
|
40
|
-
*/
|
|
41
|
-
value: TlsConfig;
|
|
42
|
-
case: "tls";
|
|
43
|
-
} | {
|
|
44
|
-
/**
|
|
45
|
-
* The variable state
|
|
46
|
-
*
|
|
47
|
-
* @generated from field: google.protobuf.Value variable = 4;
|
|
48
|
-
*/
|
|
49
|
-
value: Value;
|
|
50
|
-
case: "variable";
|
|
51
|
-
} | {
|
|
52
|
-
case: undefined;
|
|
53
|
-
value?: undefined;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* The oneof state
|
|
58
|
-
*
|
|
59
|
-
* @generated from message mochabugapis.adapt.plugins.v1.OneOfConfig
|
|
60
|
-
*/
|
|
61
|
-
export type OneOfConfigJson = {
|
|
62
|
-
/**
|
|
63
|
-
* The selected service
|
|
64
|
-
*
|
|
65
|
-
* @generated from field: optional string selected = 1;
|
|
66
|
-
*/
|
|
67
|
-
selected?: string;
|
|
68
|
-
/**
|
|
69
|
-
* The oauth2 state
|
|
70
|
-
*
|
|
71
|
-
* @generated from field: mochabugapis.adapt.plugins.v1.Oauth2Config oauth2 = 2;
|
|
72
|
-
*/
|
|
73
|
-
oauth2?: Oauth2ConfigJson;
|
|
74
|
-
/**
|
|
75
|
-
* The tls state
|
|
76
|
-
*
|
|
77
|
-
* @generated from field: mochabugapis.adapt.plugins.v1.TlsConfig tls = 3;
|
|
78
|
-
*/
|
|
79
|
-
tls?: TlsConfigJson;
|
|
80
|
-
/**
|
|
81
|
-
* The variable state
|
|
82
|
-
*
|
|
83
|
-
* @generated from field: google.protobuf.Value variable = 4;
|
|
84
|
-
*/
|
|
85
|
-
variable?: ValueJson;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* Describes the message mochabugapis.adapt.plugins.v1.OneOfConfig.
|
|
89
|
-
* Use `create(OneOfConfigSchema)` to create a new message.
|
|
90
|
-
*/
|
|
91
|
-
export declare const OneOfConfigSchema: GenMessage<OneOfConfig, {
|
|
92
|
-
jsonType: OneOfConfigJson;
|
|
93
|
-
}>;
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
-
/**
|
|
4
|
-
* Describes the file mochabugapis/adapt/plugins/v1/service_binding.proto.
|
|
5
|
-
*/
|
|
6
|
-
export declare const file_mochabugapis_adapt_plugins_v1_service_binding: GenFile;
|
|
7
|
-
/**
|
|
8
|
-
* A binding for a service. It can either reference a single service (via 'name')
|
|
9
|
-
* or specify a one‑of group of available services (via 'one_of_binding').
|
|
10
|
-
* The binding can also be marked as optional.
|
|
11
|
-
*
|
|
12
|
-
* @generated from message mochabugapis.adapt.plugins.v1.ServiceBinding
|
|
13
|
-
*/
|
|
14
|
-
export type ServiceBinding = Message<"mochabugapis.adapt.plugins.v1.ServiceBinding"> & {
|
|
15
|
-
/**
|
|
16
|
-
* The binding name is what the plugin is referring to internally when using the service
|
|
17
|
-
*
|
|
18
|
-
* @generated from field: string name = 1;
|
|
19
|
-
*/
|
|
20
|
-
name: string;
|
|
21
|
-
/**
|
|
22
|
-
* The actual binding
|
|
23
|
-
*
|
|
24
|
-
* @generated from oneof mochabugapis.adapt.plugins.v1.ServiceBinding.binding
|
|
25
|
-
*/
|
|
26
|
-
binding: {
|
|
27
|
-
/**
|
|
28
|
-
* A direct reference to a service definition.
|
|
29
|
-
*
|
|
30
|
-
* @generated from field: string service = 2;
|
|
31
|
-
*/
|
|
32
|
-
value: string;
|
|
33
|
-
case: "service";
|
|
34
|
-
} | {
|
|
35
|
-
/**
|
|
36
|
-
* A one-of binding: a list of service choices.
|
|
37
|
-
*
|
|
38
|
-
* @generated from field: mochabugapis.adapt.plugins.v1.OneOfBinding one_of = 3;
|
|
39
|
-
*/
|
|
40
|
-
value: OneOfBinding;
|
|
41
|
-
case: "oneOf";
|
|
42
|
-
} | {
|
|
43
|
-
case: undefined;
|
|
44
|
-
value?: undefined;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Whether the binding is optional.
|
|
48
|
-
*
|
|
49
|
-
* @generated from field: optional bool optional = 4;
|
|
50
|
-
*/
|
|
51
|
-
optional?: boolean;
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* A binding for a service. It can either reference a single service (via 'name')
|
|
55
|
-
* or specify a one‑of group of available services (via 'one_of_binding').
|
|
56
|
-
* The binding can also be marked as optional.
|
|
57
|
-
*
|
|
58
|
-
* @generated from message mochabugapis.adapt.plugins.v1.ServiceBinding
|
|
59
|
-
*/
|
|
60
|
-
export type ServiceBindingJson = {
|
|
61
|
-
/**
|
|
62
|
-
* The binding name is what the plugin is referring to internally when using the service
|
|
63
|
-
*
|
|
64
|
-
* @generated from field: string name = 1;
|
|
65
|
-
*/
|
|
66
|
-
name?: string;
|
|
67
|
-
/**
|
|
68
|
-
* A direct reference to a service definition.
|
|
69
|
-
*
|
|
70
|
-
* @generated from field: string service = 2;
|
|
71
|
-
*/
|
|
72
|
-
service?: string;
|
|
73
|
-
/**
|
|
74
|
-
* A one-of binding: a list of service choices.
|
|
75
|
-
*
|
|
76
|
-
* @generated from field: mochabugapis.adapt.plugins.v1.OneOfBinding one_of = 3;
|
|
77
|
-
*/
|
|
78
|
-
oneOf?: OneOfBindingJson;
|
|
79
|
-
/**
|
|
80
|
-
* Whether the binding is optional.
|
|
81
|
-
*
|
|
82
|
-
* @generated from field: optional bool optional = 4;
|
|
83
|
-
*/
|
|
84
|
-
optional?: boolean;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Describes the message mochabugapis.adapt.plugins.v1.ServiceBinding.
|
|
88
|
-
* Use `create(ServiceBindingSchema)` to create a new message.
|
|
89
|
-
*/
|
|
90
|
-
export declare const ServiceBindingSchema: GenMessage<ServiceBinding, {
|
|
91
|
-
jsonType: ServiceBindingJson;
|
|
92
|
-
}>;
|
|
93
|
-
/**
|
|
94
|
-
* The one-of binding type.
|
|
95
|
-
*
|
|
96
|
-
* @generated from message mochabugapis.adapt.plugins.v1.OneOfBinding
|
|
97
|
-
*/
|
|
98
|
-
export type OneOfBinding = Message<"mochabugapis.adapt.plugins.v1.OneOfBinding"> & {
|
|
99
|
-
/**
|
|
100
|
-
* List of available service names.
|
|
101
|
-
*
|
|
102
|
-
* @generated from field: repeated string options = 1;
|
|
103
|
-
*/
|
|
104
|
-
options: string[];
|
|
105
|
-
/**
|
|
106
|
-
* an optional default that must lie in the options array
|
|
107
|
-
*
|
|
108
|
-
* @generated from field: optional string default = 2;
|
|
109
|
-
*/
|
|
110
|
-
default?: string;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* The one-of binding type.
|
|
114
|
-
*
|
|
115
|
-
* @generated from message mochabugapis.adapt.plugins.v1.OneOfBinding
|
|
116
|
-
*/
|
|
117
|
-
export type OneOfBindingJson = {
|
|
118
|
-
/**
|
|
119
|
-
* List of available service names.
|
|
120
|
-
*
|
|
121
|
-
* @generated from field: repeated string options = 1;
|
|
122
|
-
*/
|
|
123
|
-
options?: string[];
|
|
124
|
-
/**
|
|
125
|
-
* an optional default that must lie in the options array
|
|
126
|
-
*
|
|
127
|
-
* @generated from field: optional string default = 2;
|
|
128
|
-
*/
|
|
129
|
-
default?: string;
|
|
130
|
-
};
|
|
131
|
-
/**
|
|
132
|
-
* Describes the message mochabugapis.adapt.plugins.v1.OneOfBinding.
|
|
133
|
-
* Use `create(OneOfBindingSchema)` to create a new message.
|
|
134
|
-
*/
|
|
135
|
-
export declare const OneOfBindingSchema: GenMessage<OneOfBinding, {
|
|
136
|
-
jsonType: OneOfBindingJson;
|
|
137
|
-
}>;
|