@mochabug/adaptkit 1.0.0-rc.4 → 1.0.0-rc.7
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/assets/build.js +2 -57
- package/assets/configurator.html +14 -0
- package/assets/configurator.ssg.tsx +2 -16
- package/assets/configurator_react.tsx +6 -3
- package/assets/executor.html +14 -0
- package/assets/executor.ssg.tsx +2 -16
- package/assets/executor_browser_react.tsx +6 -3
- package/assets/gitignore +3 -1
- package/assets/tsconf.json +3 -5
- package/bin/add.d.ts +3 -0
- package/bin/add.d.ts.map +1 -0
- package/bin/genproto/buf/validate/validate_pb.d.ts +8122 -0
- package/bin/genproto/buf/validate/validate_pb.d.ts.map +1 -0
- package/bin/genproto/google/api/annotations_pb.d.ts +14 -0
- package/bin/genproto/google/api/annotations_pb.d.ts.map +1 -0
- package/bin/genproto/google/api/client_pb.d.ts +1402 -0
- package/bin/genproto/google/api/client_pb.d.ts.map +1 -0
- package/bin/genproto/google/api/http_pb.d.ts +837 -0
- package/bin/genproto/google/api/http_pb.d.ts.map +1 -0
- package/bin/genproto/google/api/launch_stage_pb.d.ts +94 -0
- package/bin/genproto/google/api/launch_stage_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +75 -0
- package/bin/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +225 -0
- package/bin/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +67 -0
- package/bin/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +133 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +87 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +63 -0
- package/bin/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +75 -0
- package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/vertex_config_pb.d.ts +109 -0
- package/bin/genproto/mochabugapis/adapt/graph/vertex_config_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts +62 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts +223 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts +715 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.d.ts +92 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +194 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.d.ts +134 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +116 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.d.ts +159 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +60 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +232 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts.map +1 -0
- package/bin/index.d.ts +7 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +366 -259
- package/bin/index.js.map +4 -4
- package/bin/init.d.ts +2 -0
- package/bin/init.d.ts.map +1 -0
- package/bin/oauth2.d.ts +2 -0
- package/bin/oauth2.d.ts.map +1 -0
- package/bin/publish.d.ts +23 -0
- package/bin/publish.d.ts.map +1 -0
- package/bin/utils.d.ts +13 -0
- package/bin/utils.d.ts.map +1 -0
- package/bin/vertices.d.ts +3 -0
- package/bin/vertices.d.ts.map +1 -0
- package/package.json +6 -13
- package/assets/build-client.js +0 -111
- package/assets/global.d.ts +0 -7
- package/assets/inject.js +0 -15
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth2_service_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGjF,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAEhD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,OAC+tI,CAAC;AAEhyI;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,gDAAgD,CAAC,GAAG;IACzF;;;;OAIG;IACH,SAAS,EAAE,eAAe,CAAC;IAE3B;;;;OAIG;IACH,MAA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
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { Value, ValueJson } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Oauth2Config, Oauth2ConfigJson } from "./oauth2_service_pb";
|
|
4
|
+
import type { TlsConfig, TlsConfigJson } from "./tls_service_pb";
|
|
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, OneOfConfigJson>;
|
|
92
|
+
//# sourceMappingURL=oneof_service_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oneof_service_pb.d.ts","source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AAC;CACtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,EAAE,eAAe,CACL,CAAC"}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { File, FileJson } from "./file_pb";
|
|
3
|
+
import type { Manifest, ManifestJson } from "./manifest_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file mochabugapis/adapt/plugins/v1/plugins.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_mochabugapis_adapt_plugins_v1_plugins: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* UploadPluginRequest represents a single request in the CreatePlugin streaming
|
|
11
|
+
* RPC. The client sends a series of UploadPluginRequest messages containing
|
|
12
|
+
* plugin data, starting with a manifest and followed by one or more files.
|
|
13
|
+
*
|
|
14
|
+
* @generated from message mochabugapis.adapt.plugins.v1.UploadPluginRequest
|
|
15
|
+
*/
|
|
16
|
+
export type UploadPluginRequest = Message<"mochabugapis.adapt.plugins.v1.UploadPluginRequest"> & {
|
|
17
|
+
/**
|
|
18
|
+
* 'data' is a oneof field that holds either a manifest or a file for the
|
|
19
|
+
* plugin.
|
|
20
|
+
*
|
|
21
|
+
* @generated from oneof mochabugapis.adapt.plugins.v1.UploadPluginRequest.data
|
|
22
|
+
*/
|
|
23
|
+
data: {
|
|
24
|
+
/**
|
|
25
|
+
* 'start' must be the first message of the stream
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: mochabugapis.adapt.plugins.v1.StartUpload start = 1;
|
|
28
|
+
*/
|
|
29
|
+
value: StartUpload;
|
|
30
|
+
case: "start";
|
|
31
|
+
} | {
|
|
32
|
+
/**
|
|
33
|
+
* 'file' is a File contained within the plugin.
|
|
34
|
+
* It follows the manifest in the stream.
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: mochabugapis.adapt.plugins.v1.File file = 2;
|
|
37
|
+
*/
|
|
38
|
+
value: File;
|
|
39
|
+
case: "file";
|
|
40
|
+
} | {
|
|
41
|
+
case: undefined;
|
|
42
|
+
value?: undefined;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* UploadPluginRequest represents a single request in the CreatePlugin streaming
|
|
47
|
+
* RPC. The client sends a series of UploadPluginRequest messages containing
|
|
48
|
+
* plugin data, starting with a manifest and followed by one or more files.
|
|
49
|
+
*
|
|
50
|
+
* @generated from message mochabugapis.adapt.plugins.v1.UploadPluginRequest
|
|
51
|
+
*/
|
|
52
|
+
export type UploadPluginRequestJson = {
|
|
53
|
+
/**
|
|
54
|
+
* 'start' must be the first message of the stream
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: mochabugapis.adapt.plugins.v1.StartUpload start = 1;
|
|
57
|
+
*/
|
|
58
|
+
start?: StartUploadJson;
|
|
59
|
+
/**
|
|
60
|
+
* 'file' is a File contained within the plugin.
|
|
61
|
+
* It follows the manifest in the stream.
|
|
62
|
+
*
|
|
63
|
+
* @generated from field: mochabugapis.adapt.plugins.v1.File file = 2;
|
|
64
|
+
*/
|
|
65
|
+
file?: FileJson;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Describes the message mochabugapis.adapt.plugins.v1.UploadPluginRequest.
|
|
69
|
+
* Use `create(UploadPluginRequestSchema)` to create a new message.
|
|
70
|
+
*/
|
|
71
|
+
export declare const UploadPluginRequestSchema: GenMessage<UploadPluginRequest, UploadPluginRequestJson>;
|
|
72
|
+
/**
|
|
73
|
+
* The start message containing information about the files to be uploaded.
|
|
74
|
+
*
|
|
75
|
+
* @generated from message mochabugapis.adapt.plugins.v1.StartUpload
|
|
76
|
+
*/
|
|
77
|
+
export type StartUpload = Message<"mochabugapis.adapt.plugins.v1.StartUpload"> & {
|
|
78
|
+
/**
|
|
79
|
+
* 'manifest' is the Manifest describing the plugin.
|
|
80
|
+
* It must be the first message in the stream.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: mochabugapis.adapt.plugins.v1.Manifest manifest = 1;
|
|
83
|
+
*/
|
|
84
|
+
manifest?: Manifest;
|
|
85
|
+
/**
|
|
86
|
+
* The 'cdn_prefix' path prefix for the plugin files.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: optional string cdn_prefix = 2;
|
|
89
|
+
*/
|
|
90
|
+
cdnPrefix?: string;
|
|
91
|
+
/**
|
|
92
|
+
* The 'assets_prefix' path prefix for the plugin files.
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: optional string assets_prefix = 3;
|
|
95
|
+
*/
|
|
96
|
+
assetsPrefix?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The executor file path
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: string executor_path = 4;
|
|
101
|
+
*/
|
|
102
|
+
executorPath: string;
|
|
103
|
+
/**
|
|
104
|
+
* The configurator file path
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: optional string configurator_path = 5;
|
|
107
|
+
*/
|
|
108
|
+
configuratorPath?: string;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* The start message containing information about the files to be uploaded.
|
|
112
|
+
*
|
|
113
|
+
* @generated from message mochabugapis.adapt.plugins.v1.StartUpload
|
|
114
|
+
*/
|
|
115
|
+
export type StartUploadJson = {
|
|
116
|
+
/**
|
|
117
|
+
* 'manifest' is the Manifest describing the plugin.
|
|
118
|
+
* It must be the first message in the stream.
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: mochabugapis.adapt.plugins.v1.Manifest manifest = 1;
|
|
121
|
+
*/
|
|
122
|
+
manifest?: ManifestJson;
|
|
123
|
+
/**
|
|
124
|
+
* The 'cdn_prefix' path prefix for the plugin files.
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: optional string cdn_prefix = 2;
|
|
127
|
+
*/
|
|
128
|
+
cdnPrefix?: string;
|
|
129
|
+
/**
|
|
130
|
+
* The 'assets_prefix' path prefix for the plugin files.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: optional string assets_prefix = 3;
|
|
133
|
+
*/
|
|
134
|
+
assetsPrefix?: string;
|
|
135
|
+
/**
|
|
136
|
+
* The executor file path
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: string executor_path = 4;
|
|
139
|
+
*/
|
|
140
|
+
executorPath?: string;
|
|
141
|
+
/**
|
|
142
|
+
* The configurator file path
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: optional string configurator_path = 5;
|
|
145
|
+
*/
|
|
146
|
+
configuratorPath?: string;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Describes the message mochabugapis.adapt.plugins.v1.StartUpload.
|
|
150
|
+
* Use `create(StartUploadSchema)` to create a new message.
|
|
151
|
+
*/
|
|
152
|
+
export declare const StartUploadSchema: GenMessage<StartUpload, StartUploadJson>;
|
|
153
|
+
/**
|
|
154
|
+
* UploadPluginResponse represents the response from the CreatePlugin streaming
|
|
155
|
+
* RPC. The server sends a single CreatePluginResponse after successfully
|
|
156
|
+
* processing all UploadPluginResponse messages from the client.
|
|
157
|
+
*
|
|
158
|
+
* @generated from message mochabugapis.adapt.plugins.v1.UploadPluginResponse
|
|
159
|
+
*/
|
|
160
|
+
export type UploadPluginResponse = Message<"mochabugapis.adapt.plugins.v1.UploadPluginResponse"> & {};
|
|
161
|
+
/**
|
|
162
|
+
* UploadPluginResponse represents the response from the CreatePlugin streaming
|
|
163
|
+
* RPC. The server sends a single CreatePluginResponse after successfully
|
|
164
|
+
* processing all UploadPluginResponse messages from the client.
|
|
165
|
+
*
|
|
166
|
+
* @generated from message mochabugapis.adapt.plugins.v1.UploadPluginResponse
|
|
167
|
+
*/
|
|
168
|
+
export type UploadPluginResponseJson = {};
|
|
169
|
+
/**
|
|
170
|
+
* Describes the message mochabugapis.adapt.plugins.v1.UploadPluginResponse.
|
|
171
|
+
* Use `create(UploadPluginResponseSchema)` to create a new message.
|
|
172
|
+
*/
|
|
173
|
+
export declare const UploadPluginResponseSchema: GenMessage<UploadPluginResponse, UploadPluginResponseJson>;
|
|
174
|
+
/**
|
|
175
|
+
* PluginService provides a service for uploading a plugin.
|
|
176
|
+
*
|
|
177
|
+
* @generated from service mochabugapis.adapt.plugins.v1.PluginService
|
|
178
|
+
*/
|
|
179
|
+
export declare const PluginService: GenService<{
|
|
180
|
+
/**
|
|
181
|
+
* UploadPlugin is a streaming RPC method that allows uploading a plugin in
|
|
182
|
+
* chunks. The client can send multiple UploadPluginRequest messages, and the
|
|
183
|
+
* server will respond with a single UploadPluginResponse after processing all
|
|
184
|
+
* requests.
|
|
185
|
+
*
|
|
186
|
+
* @generated from rpc mochabugapis.adapt.plugins.v1.PluginService.UploadPlugin
|
|
187
|
+
*/
|
|
188
|
+
uploadPlugin: {
|
|
189
|
+
methodKind: "client_streaming";
|
|
190
|
+
input: typeof UploadPluginRequestSchema;
|
|
191
|
+
output: typeof UploadPluginResponseSchema;
|
|
192
|
+
};
|
|
193
|
+
}>;
|
|
194
|
+
//# sourceMappingURL=plugins_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugins_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAKpF,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAEhD,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,OACs3C,CAAC;AAEh7C;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,mDAAmD,CAAC,GAAG;IAC/F;;;;;OA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O,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,EAAE,eAAe,CACX,CAAC;AAE7D;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,oDAAoD,CAAC,GAAG,EAClG,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,wBAAwB,GAAG,EACtC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,UAAU,CAAC,oBAAoB,EAAE,wBAAwB,CACtC,CAAC;AAE7D;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC;IACrC;;;;;;;OAOG;IACH,YAAY,EAAE;QACZ,UAAU,EAAE,kBAAkB,CAAC;QAC/B,KAAK,EAAE,OAAO,yBAAyB,CAAC;QACxC,MAAM,EAAE,OAAO,0BAA0B,CAAC;KAC3C,CAAC;CACH,CAC2D,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
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, ServiceBindingJson>;
|
|
91
|
+
/**
|
|
92
|
+
* The one-of binding type.
|
|
93
|
+
*
|
|
94
|
+
* @generated from message mochabugapis.adapt.plugins.v1.OneOfBinding
|
|
95
|
+
*/
|
|
96
|
+
export type OneOfBinding = Message<"mochabugapis.adapt.plugins.v1.OneOfBinding"> & {
|
|
97
|
+
/**
|
|
98
|
+
* List of available service names.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: repeated string options = 1;
|
|
101
|
+
*/
|
|
102
|
+
options: string[];
|
|
103
|
+
/**
|
|
104
|
+
* an optional default that must lie in the options array
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: optional string default = 2;
|
|
107
|
+
*/
|
|
108
|
+
default?: string;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* The one-of binding type.
|
|
112
|
+
*
|
|
113
|
+
* @generated from message mochabugapis.adapt.plugins.v1.OneOfBinding
|
|
114
|
+
*/
|
|
115
|
+
export type OneOfBindingJson = {
|
|
116
|
+
/**
|
|
117
|
+
* List of available service names.
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: repeated string options = 1;
|
|
120
|
+
*/
|
|
121
|
+
options?: string[];
|
|
122
|
+
/**
|
|
123
|
+
* an optional default that must lie in the options array
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: optional string default = 2;
|
|
126
|
+
*/
|
|
127
|
+
default?: string;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message mochabugapis.adapt.plugins.v1.OneOfBinding.
|
|
131
|
+
* Use `create(OneOfBindingSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export declare const OneOfBindingSchema: GenMessage<OneOfBinding, OneOfBindingJson>;
|
|
134
|
+
//# sourceMappingURL=service_binding_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service_binding_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,OAC2yB,CAAC;AAE72B;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,8CAA8C,CAAC,GAAG;IACrF;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,OAAO,EAAE;QACP;;;;WAIG;QACH,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,SAAS,CAAC;KACjB,GAAG;QACF;;;;WAIG;QACH,KAAK,EAAE,YAAY,CAAC;QACpB,IAAI,EAAE,OAAO,CAAC;KACf,GAAG;QAAE,IAAI,EAAE,SAAS,CAAC;QAAC,KAAK,CAAC,EAAE,SAAS,CAAA;KAAE,CAAC;IAE3C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IAEzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,UAAU,CAAC,cAAc,EAAE,kBAAkB,CACZ,CAAC;AAErE;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,4CAA4C,CAAC,GAAG;IACjF;;;;OAIG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,YAAY,EAAE,gBAAgB,CACN,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { Oauth2Definition, Oauth2DefinitionJson } from "./oauth2_service_pb";
|
|
3
|
+
import type { TlsDefinition, TlsDefinitionJson } from "./tls_service_pb";
|
|
4
|
+
import type { VariableDefinition, VariableDefinitionJson } from "./variable_service_pb";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file mochabugapis/adapt/plugins/v1/service_definition.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_mochabugapis_adapt_plugins_v1_service_definition: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* The service definition
|
|
12
|
+
*
|
|
13
|
+
* @generated from message mochabugapis.adapt.plugins.v1.ServiceDefinition
|
|
14
|
+
*/
|
|
15
|
+
export type ServiceDefinition = Message<"mochabugapis.adapt.plugins.v1.ServiceDefinition"> & {
|
|
16
|
+
/**
|
|
17
|
+
* 'name' is the identifier of the service, referenced in code
|
|
18
|
+
*
|
|
19
|
+
* @generated from field: string name = 1;
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* 'label' is a human-friendly label shown in the UI
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: string label = 2;
|
|
26
|
+
*/
|
|
27
|
+
label: string;
|
|
28
|
+
/**
|
|
29
|
+
* 'description' is an optional detailed description of the service
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: optional string description = 3;
|
|
32
|
+
*/
|
|
33
|
+
description?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The actual type of service that the definition is
|
|
36
|
+
*
|
|
37
|
+
* @generated from oneof mochabugapis.adapt.plugins.v1.ServiceDefinition.type
|
|
38
|
+
*/
|
|
39
|
+
type: {
|
|
40
|
+
/**
|
|
41
|
+
* Variable service containing arbitrary JSON
|
|
42
|
+
*
|
|
43
|
+
* @generated from field: mochabugapis.adapt.plugins.v1.VariableDefinition variable = 4;
|
|
44
|
+
*/
|
|
45
|
+
value: VariableDefinition;
|
|
46
|
+
case: "variable";
|
|
47
|
+
} | {
|
|
48
|
+
/**
|
|
49
|
+
* TLS service
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: mochabugapis.adapt.plugins.v1.TlsDefinition tls = 5;
|
|
52
|
+
*/
|
|
53
|
+
value: TlsDefinition;
|
|
54
|
+
case: "tls";
|
|
55
|
+
} | {
|
|
56
|
+
/**
|
|
57
|
+
* An OAuth2 service
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: mochabugapis.adapt.plugins.v1.Oauth2Definition oauth2 = 6;
|
|
60
|
+
*/
|
|
61
|
+
value: Oauth2Definition;
|
|
62
|
+
case: "oauth2";
|
|
63
|
+
} | {
|
|
64
|
+
case: undefined;
|
|
65
|
+
value?: undefined;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* The service definition
|
|
70
|
+
*
|
|
71
|
+
* @generated from message mochabugapis.adapt.plugins.v1.ServiceDefinition
|
|
72
|
+
*/
|
|
73
|
+
export type ServiceDefinitionJson = {
|
|
74
|
+
/**
|
|
75
|
+
* 'name' is the identifier of the service, referenced in code
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: string name = 1;
|
|
78
|
+
*/
|
|
79
|
+
name?: string;
|
|
80
|
+
/**
|
|
81
|
+
* 'label' is a human-friendly label shown in the UI
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: string label = 2;
|
|
84
|
+
*/
|
|
85
|
+
label?: string;
|
|
86
|
+
/**
|
|
87
|
+
* 'description' is an optional detailed description of the service
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: optional string description = 3;
|
|
90
|
+
*/
|
|
91
|
+
description?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Variable service containing arbitrary JSON
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: mochabugapis.adapt.plugins.v1.VariableDefinition variable = 4;
|
|
96
|
+
*/
|
|
97
|
+
variable?: VariableDefinitionJson;
|
|
98
|
+
/**
|
|
99
|
+
* TLS service
|
|
100
|
+
*
|
|
101
|
+
* @generated from field: mochabugapis.adapt.plugins.v1.TlsDefinition tls = 5;
|
|
102
|
+
*/
|
|
103
|
+
tls?: TlsDefinitionJson;
|
|
104
|
+
/**
|
|
105
|
+
* An OAuth2 service
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: mochabugapis.adapt.plugins.v1.Oauth2Definition oauth2 = 6;
|
|
108
|
+
*/
|
|
109
|
+
oauth2?: Oauth2DefinitionJson;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Describes the message mochabugapis.adapt.plugins.v1.ServiceDefinition.
|
|
113
|
+
* Use `create(ServiceDefinitionSchema)` to create a new message.
|
|
114
|
+
*/
|
|
115
|
+
export declare const ServiceDefinitionSchema: GenMessage<ServiceDefinition, ServiceDefinitionJson>;
|
|
116
|
+
//# sourceMappingURL=service_definition_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service_definition_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAElF,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAExF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,OAC2uB,CAAC;AAEhzB;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,iDAAiD,CAAC,GAAG;IAC3F;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,IAAI,EAAE;QACJ;;;;WAIG;QACH,KAAK,EAAE,kBAAkB,CAAC;QAC1B,IAAI,EAAE,UAAU,CAAC;KAClB,GAAG;QACF;;;;WAIG;QACH,KAAK,EAAE,aAAa,CAAC;QACrB,IAAI,EAAE,KAAK,CAAC;KACb,GAAG;QACF;;;;WAIG;QACH,KAAK,EAAE,gBAAgB,CAAC;QACxB,IAAI,EAAE,QAAQ,CAAC;KAChB,GAAG;QAAE,IAAI,EAAE,SAAS,CAAC;QAAC,KAAK,CAAC,EAAE,SAAS,CAAA;KAAE,CAAC;CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,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