@mochabug/adaptkit 1.0.0-rc.3 → 1.0.0-rc.30
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 +50 -45
- package/assets/build.js +2 -57
- package/assets/configurator.html +14 -0
- package/assets/configurator.ssg.tsx +2 -16
- package/assets/configurator_none.ts +4 -4
- package/assets/configurator_react.tsx +10 -7
- package/assets/executor.html +14 -0
- package/assets/executor.ssg.tsx +2 -16
- package/assets/executor_action.ts +3 -7
- package/assets/{executor_cron_trigger.ts → executor_action_cron.ts} +3 -7
- package/assets/executor_browser_none.ts +8 -12
- package/assets/executor_browser_none_cron.ts +119 -0
- package/assets/executor_browser_react.tsx +14 -15
- package/assets/executor_browser_react_cron.tsx +55 -0
- package/assets/{executor_external_trigger.ts → executor_external.ts} +7 -11
- package/assets/executor_external_cron.ts +45 -0
- package/assets/gitignore +3 -1
- package/assets/tsconf.json +4 -7
- package/bin/add.d.ts +3 -0
- package/bin/add.d.ts.map +1 -0
- package/bin/genproto/buf/validate/validate_pb.d.ts +8491 -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 +1432 -0
- package/bin/genproto/google/api/client_pb.d.ts.map +1 -0
- package/bin/genproto/google/api/http_pb.d.ts +843 -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 +77 -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 +227 -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 +69 -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 +134 -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 +91 -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 +77 -0
- package/bin/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +120 -0
- package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts +99 -0
- package/bin/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts +347 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts +64 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts +1282 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts +388 -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 +805 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +238 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +241 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts +539 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +190 -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 +269 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts.map +1 -0
- package/bin/index.d.ts +12 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +816 -848
- 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 +27 -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 +20 -30
- package/assets/build-client.js +0 -111
- package/assets/global.d.ts +0 -7
- package/assets/inject.js +0 -15
- package/assets/license.md +0 -15
|
@@ -0,0 +1,347 @@
|
|
|
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/compound_services.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_mochabugapis_adapt_plugins_v1_compound_services: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* A grouped service definition that references multiple other flat service definitions.
|
|
9
|
+
*
|
|
10
|
+
* ## Architecture: Groups Reference Flat Definitions
|
|
11
|
+
*
|
|
12
|
+
* GroupedDefinition is itself a flat service definition at the Manifest.service_definitions level.
|
|
13
|
+
* It references OTHER flat service definitions by name as a string array.
|
|
14
|
+
*
|
|
15
|
+
* ## Purpose
|
|
16
|
+
*
|
|
17
|
+
* Groups allow plugin authors to bundle related services together. For example:
|
|
18
|
+
* - Production and sandbox environments for the same API
|
|
19
|
+
* - Multiple related API keys
|
|
20
|
+
* - Primary and backup authentication methods
|
|
21
|
+
*
|
|
22
|
+
* ## Example
|
|
23
|
+
*
|
|
24
|
+
* ```protobuf
|
|
25
|
+
* // In Manifest.service_definitions
|
|
26
|
+
* [
|
|
27
|
+
* { name: "stripe_prod", label: "Stripe Production", oauth2: {...} },
|
|
28
|
+
* { name: "stripe_sandbox", label: "Stripe Sandbox", oauth2: {...}, optional: true },
|
|
29
|
+
* {
|
|
30
|
+
* name: "stripe_envs",
|
|
31
|
+
* label: "Stripe Environments",
|
|
32
|
+
* group: {
|
|
33
|
+
* services: ["stripe_prod", "stripe_sandbox"]
|
|
34
|
+
* }
|
|
35
|
+
* }
|
|
36
|
+
* ]
|
|
37
|
+
*
|
|
38
|
+
* // Referenced in system services list
|
|
39
|
+
* system_services: ["stripe_envs"]
|
|
40
|
+
*
|
|
41
|
+
* // Plugin code accesses members with dot notation:
|
|
42
|
+
* "stripe_envs.stripe_prod", "stripe_envs.stripe_sandbox"
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @generated from message mochabugapis.adapt.plugins.v1.GroupedDefinition
|
|
46
|
+
*/
|
|
47
|
+
export type GroupedDefinition = Message<"mochabugapis.adapt.plugins.v1.GroupedDefinition"> & {
|
|
48
|
+
/**
|
|
49
|
+
* References to other flat service definitions that comprise this group
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: repeated string services = 1;
|
|
52
|
+
*/
|
|
53
|
+
services: string[];
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* A grouped service definition that references multiple other flat service definitions.
|
|
57
|
+
*
|
|
58
|
+
* ## Architecture: Groups Reference Flat Definitions
|
|
59
|
+
*
|
|
60
|
+
* GroupedDefinition is itself a flat service definition at the Manifest.service_definitions level.
|
|
61
|
+
* It references OTHER flat service definitions by name as a string array.
|
|
62
|
+
*
|
|
63
|
+
* ## Purpose
|
|
64
|
+
*
|
|
65
|
+
* Groups allow plugin authors to bundle related services together. For example:
|
|
66
|
+
* - Production and sandbox environments for the same API
|
|
67
|
+
* - Multiple related API keys
|
|
68
|
+
* - Primary and backup authentication methods
|
|
69
|
+
*
|
|
70
|
+
* ## Example
|
|
71
|
+
*
|
|
72
|
+
* ```protobuf
|
|
73
|
+
* // In Manifest.service_definitions
|
|
74
|
+
* [
|
|
75
|
+
* { name: "stripe_prod", label: "Stripe Production", oauth2: {...} },
|
|
76
|
+
* { name: "stripe_sandbox", label: "Stripe Sandbox", oauth2: {...}, optional: true },
|
|
77
|
+
* {
|
|
78
|
+
* name: "stripe_envs",
|
|
79
|
+
* label: "Stripe Environments",
|
|
80
|
+
* group: {
|
|
81
|
+
* services: ["stripe_prod", "stripe_sandbox"]
|
|
82
|
+
* }
|
|
83
|
+
* }
|
|
84
|
+
* ]
|
|
85
|
+
*
|
|
86
|
+
* // Referenced in system services list
|
|
87
|
+
* system_services: ["stripe_envs"]
|
|
88
|
+
*
|
|
89
|
+
* // Plugin code accesses members with dot notation:
|
|
90
|
+
* "stripe_envs.stripe_prod", "stripe_envs.stripe_sandbox"
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* @generated from message mochabugapis.adapt.plugins.v1.GroupedDefinition
|
|
94
|
+
*/
|
|
95
|
+
export type GroupedDefinitionJson = {
|
|
96
|
+
/**
|
|
97
|
+
* References to other flat service definitions that comprise this group
|
|
98
|
+
*
|
|
99
|
+
* @generated from field: repeated string services = 1;
|
|
100
|
+
*/
|
|
101
|
+
services?: string[];
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message mochabugapis.adapt.plugins.v1.GroupedDefinition.
|
|
105
|
+
* Use `create(GroupedDefinitionSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export declare const GroupedDefinitionSchema: GenMessage<GroupedDefinition, {
|
|
108
|
+
jsonType: GroupedDefinitionJson;
|
|
109
|
+
}>;
|
|
110
|
+
/**
|
|
111
|
+
* A one-of service definition that allows users to choose from multiple flat service definitions.
|
|
112
|
+
*
|
|
113
|
+
* ## Architecture: One-Of References Flat Definitions
|
|
114
|
+
*
|
|
115
|
+
* OneOfDefinition is itself a flat service definition at the Manifest.service_definitions level.
|
|
116
|
+
* It references OTHER flat service definitions by name.
|
|
117
|
+
*
|
|
118
|
+
* ## Purpose
|
|
119
|
+
*
|
|
120
|
+
* One-of definitions allow plugins to support multiple alternative implementations:
|
|
121
|
+
* - Different payment providers (Stripe, PayPal, Square)
|
|
122
|
+
* - Different authentication methods (OAuth2, API Key, mTLS)
|
|
123
|
+
* - Different deployment environments
|
|
124
|
+
*
|
|
125
|
+
* Users choose ONE option during plugin installation/configuration.
|
|
126
|
+
*
|
|
127
|
+
* ## Example
|
|
128
|
+
*
|
|
129
|
+
* ```protobuf
|
|
130
|
+
* // In Manifest.service_definitions
|
|
131
|
+
* [
|
|
132
|
+
* { name: "stripe_oauth", label: "Stripe OAuth", oauth2: {...} },
|
|
133
|
+
* { name: "paypal_oauth", label: "PayPal OAuth", oauth2: {...} },
|
|
134
|
+
* { name: "square_oauth", label: "Square OAuth", oauth2: {...} },
|
|
135
|
+
* {
|
|
136
|
+
* name: "payment_provider",
|
|
137
|
+
* label: "Payment Provider",
|
|
138
|
+
* oneof: {
|
|
139
|
+
* options: {
|
|
140
|
+
* "stripe_oauth": "Stripe",
|
|
141
|
+
* "paypal_oauth": "PayPal",
|
|
142
|
+
* "square_oauth": "Square"
|
|
143
|
+
* },
|
|
144
|
+
* default: "stripe_oauth"
|
|
145
|
+
* }
|
|
146
|
+
* }
|
|
147
|
+
* ]
|
|
148
|
+
*
|
|
149
|
+
* // Referenced in system services list
|
|
150
|
+
* system_services: ["payment_provider"]
|
|
151
|
+
*
|
|
152
|
+
* // Plugin code accesses using the service name:
|
|
153
|
+
* "payment_provider" (regardless of which provider user chose)
|
|
154
|
+
* ```
|
|
155
|
+
*
|
|
156
|
+
* @generated from message mochabugapis.adapt.plugins.v1.OneOfDefinition
|
|
157
|
+
*/
|
|
158
|
+
export type OneOfDefinition = Message<"mochabugapis.adapt.plugins.v1.OneOfDefinition"> & {
|
|
159
|
+
/**
|
|
160
|
+
* Map of service definition options users can choose from.
|
|
161
|
+
*
|
|
162
|
+
* Key: Service definition name (from Manifest.service_definitions)
|
|
163
|
+
* Value: Human-friendly label shown to users during selection
|
|
164
|
+
*
|
|
165
|
+
* The map key must reference an existing ServiceDefinition.name.
|
|
166
|
+
* The map value is displayed to users when choosing between options.
|
|
167
|
+
*
|
|
168
|
+
* ## Examples
|
|
169
|
+
*
|
|
170
|
+
* Basic options:
|
|
171
|
+
* options: {
|
|
172
|
+
* "stripe_oauth": "Stripe",
|
|
173
|
+
* "paypal_oauth": "PayPal"
|
|
174
|
+
* }
|
|
175
|
+
*
|
|
176
|
+
* Descriptive labels:
|
|
177
|
+
* options: {
|
|
178
|
+
* "stripe_oauth": "Stripe (recommended for production)",
|
|
179
|
+
* "paypal_oauth": "PayPal (simpler setup)"
|
|
180
|
+
* }
|
|
181
|
+
*
|
|
182
|
+
* @generated from field: map<string, string> options = 1;
|
|
183
|
+
*/
|
|
184
|
+
options: {
|
|
185
|
+
[key: string]: string;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Optional default selection.
|
|
189
|
+
*
|
|
190
|
+
* If specified, this service definition will be pre-selected in the UI during installation.
|
|
191
|
+
* Users can still choose a different option.
|
|
192
|
+
*
|
|
193
|
+
* The default value MUST match one of the keys in the options map.
|
|
194
|
+
*
|
|
195
|
+
* Use this to:
|
|
196
|
+
* - Suggest the most common choice
|
|
197
|
+
* - Indicate the recommended option
|
|
198
|
+
* - Set a safe default for new users
|
|
199
|
+
*
|
|
200
|
+
* ## Default Behavior: System Settings vs User Settings
|
|
201
|
+
*
|
|
202
|
+
* **System Settings** (Manifest.system_services):
|
|
203
|
+
* - Default selection is automatically applied when the plugin is installed
|
|
204
|
+
* - The service is marked as "configured" if the default option has all required values
|
|
205
|
+
* - Plugin creators define and approve these defaults
|
|
206
|
+
*
|
|
207
|
+
* **User Settings** (Vertex.user_services):
|
|
208
|
+
* - Default selection is a UI hint only and NOT automatically applied
|
|
209
|
+
* - The service is NOT marked as "configured" until the user explicitly submits settings
|
|
210
|
+
* - Users must review and approve the selection, even with a default present
|
|
211
|
+
* - This ensures users actively consent to which option is selected
|
|
212
|
+
*
|
|
213
|
+
* ## Rationale
|
|
214
|
+
*
|
|
215
|
+
* System settings use automatic defaults because the plugin creator (who defines
|
|
216
|
+
* the defaults) is also the one approving them during plugin development.
|
|
217
|
+
*
|
|
218
|
+
* User settings require explicit submission because end users need to review and
|
|
219
|
+
* consciously approve which option is selected and configured.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: optional string default = 2;
|
|
222
|
+
*/
|
|
223
|
+
default?: string;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* A one-of service definition that allows users to choose from multiple flat service definitions.
|
|
227
|
+
*
|
|
228
|
+
* ## Architecture: One-Of References Flat Definitions
|
|
229
|
+
*
|
|
230
|
+
* OneOfDefinition is itself a flat service definition at the Manifest.service_definitions level.
|
|
231
|
+
* It references OTHER flat service definitions by name.
|
|
232
|
+
*
|
|
233
|
+
* ## Purpose
|
|
234
|
+
*
|
|
235
|
+
* One-of definitions allow plugins to support multiple alternative implementations:
|
|
236
|
+
* - Different payment providers (Stripe, PayPal, Square)
|
|
237
|
+
* - Different authentication methods (OAuth2, API Key, mTLS)
|
|
238
|
+
* - Different deployment environments
|
|
239
|
+
*
|
|
240
|
+
* Users choose ONE option during plugin installation/configuration.
|
|
241
|
+
*
|
|
242
|
+
* ## Example
|
|
243
|
+
*
|
|
244
|
+
* ```protobuf
|
|
245
|
+
* // In Manifest.service_definitions
|
|
246
|
+
* [
|
|
247
|
+
* { name: "stripe_oauth", label: "Stripe OAuth", oauth2: {...} },
|
|
248
|
+
* { name: "paypal_oauth", label: "PayPal OAuth", oauth2: {...} },
|
|
249
|
+
* { name: "square_oauth", label: "Square OAuth", oauth2: {...} },
|
|
250
|
+
* {
|
|
251
|
+
* name: "payment_provider",
|
|
252
|
+
* label: "Payment Provider",
|
|
253
|
+
* oneof: {
|
|
254
|
+
* options: {
|
|
255
|
+
* "stripe_oauth": "Stripe",
|
|
256
|
+
* "paypal_oauth": "PayPal",
|
|
257
|
+
* "square_oauth": "Square"
|
|
258
|
+
* },
|
|
259
|
+
* default: "stripe_oauth"
|
|
260
|
+
* }
|
|
261
|
+
* }
|
|
262
|
+
* ]
|
|
263
|
+
*
|
|
264
|
+
* // Referenced in system services list
|
|
265
|
+
* system_services: ["payment_provider"]
|
|
266
|
+
*
|
|
267
|
+
* // Plugin code accesses using the service name:
|
|
268
|
+
* "payment_provider" (regardless of which provider user chose)
|
|
269
|
+
* ```
|
|
270
|
+
*
|
|
271
|
+
* @generated from message mochabugapis.adapt.plugins.v1.OneOfDefinition
|
|
272
|
+
*/
|
|
273
|
+
export type OneOfDefinitionJson = {
|
|
274
|
+
/**
|
|
275
|
+
* Map of service definition options users can choose from.
|
|
276
|
+
*
|
|
277
|
+
* Key: Service definition name (from Manifest.service_definitions)
|
|
278
|
+
* Value: Human-friendly label shown to users during selection
|
|
279
|
+
*
|
|
280
|
+
* The map key must reference an existing ServiceDefinition.name.
|
|
281
|
+
* The map value is displayed to users when choosing between options.
|
|
282
|
+
*
|
|
283
|
+
* ## Examples
|
|
284
|
+
*
|
|
285
|
+
* Basic options:
|
|
286
|
+
* options: {
|
|
287
|
+
* "stripe_oauth": "Stripe",
|
|
288
|
+
* "paypal_oauth": "PayPal"
|
|
289
|
+
* }
|
|
290
|
+
*
|
|
291
|
+
* Descriptive labels:
|
|
292
|
+
* options: {
|
|
293
|
+
* "stripe_oauth": "Stripe (recommended for production)",
|
|
294
|
+
* "paypal_oauth": "PayPal (simpler setup)"
|
|
295
|
+
* }
|
|
296
|
+
*
|
|
297
|
+
* @generated from field: map<string, string> options = 1;
|
|
298
|
+
*/
|
|
299
|
+
options?: {
|
|
300
|
+
[key: string]: string;
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* Optional default selection.
|
|
304
|
+
*
|
|
305
|
+
* If specified, this service definition will be pre-selected in the UI during installation.
|
|
306
|
+
* Users can still choose a different option.
|
|
307
|
+
*
|
|
308
|
+
* The default value MUST match one of the keys in the options map.
|
|
309
|
+
*
|
|
310
|
+
* Use this to:
|
|
311
|
+
* - Suggest the most common choice
|
|
312
|
+
* - Indicate the recommended option
|
|
313
|
+
* - Set a safe default for new users
|
|
314
|
+
*
|
|
315
|
+
* ## Default Behavior: System Settings vs User Settings
|
|
316
|
+
*
|
|
317
|
+
* **System Settings** (Manifest.system_services):
|
|
318
|
+
* - Default selection is automatically applied when the plugin is installed
|
|
319
|
+
* - The service is marked as "configured" if the default option has all required values
|
|
320
|
+
* - Plugin creators define and approve these defaults
|
|
321
|
+
*
|
|
322
|
+
* **User Settings** (Vertex.user_services):
|
|
323
|
+
* - Default selection is a UI hint only and NOT automatically applied
|
|
324
|
+
* - The service is NOT marked as "configured" until the user explicitly submits settings
|
|
325
|
+
* - Users must review and approve the selection, even with a default present
|
|
326
|
+
* - This ensures users actively consent to which option is selected
|
|
327
|
+
*
|
|
328
|
+
* ## Rationale
|
|
329
|
+
*
|
|
330
|
+
* System settings use automatic defaults because the plugin creator (who defines
|
|
331
|
+
* the defaults) is also the one approving them during plugin development.
|
|
332
|
+
*
|
|
333
|
+
* User settings require explicit submission because end users need to review and
|
|
334
|
+
* consciously approve which option is selected and configured.
|
|
335
|
+
*
|
|
336
|
+
* @generated from field: optional string default = 2;
|
|
337
|
+
*/
|
|
338
|
+
default?: string;
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* Describes the message mochabugapis.adapt.plugins.v1.OneOfDefinition.
|
|
342
|
+
* Use `create(OneOfDefinitionSchema)` to create a new message.
|
|
343
|
+
*/
|
|
344
|
+
export declare const OneOfDefinitionSchema: GenMessage<OneOfDefinition, {
|
|
345
|
+
jsonType: OneOfDefinitionJson;
|
|
346
|
+
}>;
|
|
347
|
+
//# sourceMappingURL=compound_services_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compound_services_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/compound_services_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,oDAAoD,EAAE,OACqrB,CAAC;AAEzvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,iDAAiD,CAAC,GAAG;IAC3F;;;;OAIG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,UAAU,CAAC,iBAAiB,EAAE;IAAC,QAAQ,EAAE,qBAAqB,CAAA;CAAC,CAC/B,CAAC;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,+CAA+C,CAAC,GAAG;IACvF;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAAe,EAAE;IAAC,QAAQ,EAAE,mBAAmB,CAAA;CAAC,CACzB,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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/file.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_mochabugapis_adapt_plugins_v1_file: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* File represents a file within a plugin package.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message mochabugapis.adapt.plugins.v1.File
|
|
11
|
+
*/
|
|
12
|
+
export type File = Message<"mochabugapis.adapt.plugins.v1.File"> & {
|
|
13
|
+
/**
|
|
14
|
+
* The 'name' or 'path' of the file
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string name = 1;
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
19
|
+
/**
|
|
20
|
+
* 'data' contains the actual binary file data.
|
|
21
|
+
*
|
|
22
|
+
* @generated from field: bytes data = 2;
|
|
23
|
+
*/
|
|
24
|
+
data: Uint8Array;
|
|
25
|
+
/**
|
|
26
|
+
* The mime type of the file
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: optional string mime_type = 3;
|
|
29
|
+
*/
|
|
30
|
+
mimeType?: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* File represents a file within a plugin package.
|
|
34
|
+
*
|
|
35
|
+
* @generated from message mochabugapis.adapt.plugins.v1.File
|
|
36
|
+
*/
|
|
37
|
+
export type FileJson = {
|
|
38
|
+
/**
|
|
39
|
+
* The 'name' or 'path' of the file
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: string name = 1;
|
|
42
|
+
*/
|
|
43
|
+
name?: string;
|
|
44
|
+
/**
|
|
45
|
+
* 'data' contains the actual binary file data.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: bytes data = 2;
|
|
48
|
+
*/
|
|
49
|
+
data?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The mime type of the file
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: optional string mime_type = 3;
|
|
54
|
+
*/
|
|
55
|
+
mimeType?: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message mochabugapis.adapt.plugins.v1.File.
|
|
59
|
+
* Use `create(FileSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export declare const FileSchema: GenMessage<File, {
|
|
62
|
+
jsonType: FileJson;
|
|
63
|
+
}>;
|
|
64
|
+
//# sourceMappingURL=file_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/file_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,uCAAuC,EAAE,OACiR,CAAC;AAExU;;;;GAIG;AACH,MAAM,MAAM,IAAI,GAAG,OAAO,CAAC,oCAAoC,CAAC,GAAG;IACjE;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,IAAI,EAAE;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAC,CACL,CAAC"}
|