@mochabug/adaptkit 0.12.3 → 0.12.5
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/bin/genproto/buf/validate/validate.d.ts +4460 -0
- package/bin/genproto/buf/validate/validate.d.ts.map +1 -0
- package/bin/genproto/google/protobuf/timestamp.d.ts +156 -0
- package/bin/genproto/google/protobuf/timestamp.d.ts.map +1 -0
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins.d.ts +16 -218
- package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins.d.ts.map +1 -1
- package/bin/index.js +50 -50
- package/package.json +6 -8
|
@@ -56,21 +56,12 @@ export interface File {
|
|
|
56
56
|
/**
|
|
57
57
|
* 'path' is the local file path relative to the manifest.json folder.
|
|
58
58
|
*
|
|
59
|
-
* Restrictions:
|
|
60
|
-
* - Must be a valid Unix file path.
|
|
61
|
-
* - Must match the ECMA regex: ^/[^/\0]*(/[^/\0]+)*[^/]$
|
|
62
|
-
* - Length must be less than 4096 characters.
|
|
63
|
-
*
|
|
64
59
|
* @generated from protobuf field: string path = 1;
|
|
65
60
|
*/
|
|
66
61
|
path: string;
|
|
67
62
|
/**
|
|
68
63
|
* 'data' contains the actual binary file data.
|
|
69
64
|
*
|
|
70
|
-
* Restrictions:
|
|
71
|
-
* - Size must be greater than 0 bytes.
|
|
72
|
-
* - Size must be less than 10 MB (10,485,760 bytes).
|
|
73
|
-
*
|
|
74
65
|
* @generated from protobuf field: bytes data = 2;
|
|
75
66
|
*/
|
|
76
67
|
data: Uint8Array;
|
|
@@ -78,17 +69,6 @@ export interface File {
|
|
|
78
69
|
/**
|
|
79
70
|
* Manifest describes a plugin and its properties.
|
|
80
71
|
*
|
|
81
|
-
* The ES module names and entry points follow a convention for the executor and
|
|
82
|
-
* configurator files:
|
|
83
|
-
* - export {<vertex-name>InternalConfigurator} for the internal endpoint of the
|
|
84
|
-
* vertex configurator
|
|
85
|
-
* - export {<vertex-name>ExternalConfigurator} for the external endpoint of the
|
|
86
|
-
* vertex configurator
|
|
87
|
-
* - export {<vertex-name>InternalExecutor} for the internal endpoint of the
|
|
88
|
-
* vertex executor
|
|
89
|
-
* - export {<vertex-name>ExternalExecutor} for the external endpoint of the
|
|
90
|
-
* vertex executor
|
|
91
|
-
*
|
|
92
72
|
* Security considerations: The platform ensures that secrets and certificates
|
|
93
73
|
* are stored and transmitted securely.
|
|
94
74
|
*
|
|
@@ -99,25 +79,13 @@ export interface File {
|
|
|
99
79
|
*/
|
|
100
80
|
export interface Manifest {
|
|
101
81
|
/**
|
|
102
|
-
* 'name' is the alpha-numeric identifier of the plugin.
|
|
103
|
-
*
|
|
104
|
-
* Restrictions:
|
|
105
|
-
* - Must match the ECMA regex: ^[_$a-z][_$a-z0-9]*$
|
|
106
|
-
* - Length must be greater than 0 and less than 50 characters.
|
|
107
|
-
* Security implications:
|
|
108
|
-
* - Should not contain sensitive information.
|
|
82
|
+
* 'name' is the alpha-numeric identifier of the plugin. Must be conform to a ES variable name
|
|
109
83
|
*
|
|
110
84
|
* @generated from protobuf field: string name = 1;
|
|
111
85
|
*/
|
|
112
86
|
name: string;
|
|
113
87
|
/**
|
|
114
|
-
* 'version' is the plugin's version, following SemVer 2.0.
|
|
115
|
-
*
|
|
116
|
-
* Restrictions:
|
|
117
|
-
* - Must be compatible with: https://semver.org/
|
|
118
|
-
* - Must match the ECMA regex:
|
|
119
|
-
* ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
|
|
120
|
-
* - Length must be less than 150 characters.
|
|
88
|
+
* 'version' is the plugin's version, following SemVer 2.0: https://semver.org/
|
|
121
89
|
*
|
|
122
90
|
* @generated from protobuf field: string version = 2;
|
|
123
91
|
*/
|
|
@@ -125,31 +93,17 @@ export interface Manifest {
|
|
|
125
93
|
/**
|
|
126
94
|
* 'label' is a human-friendly label displayed in the UI.
|
|
127
95
|
*
|
|
128
|
-
* Restrictions:
|
|
129
|
-
* - Length must be greater than 0 and less than 25 characters.
|
|
130
|
-
* Security implications:
|
|
131
|
-
* - Should not contain sensitive information.
|
|
132
|
-
*
|
|
133
96
|
* @generated from protobuf field: string label = 3;
|
|
134
97
|
*/
|
|
135
98
|
label: string;
|
|
136
99
|
/**
|
|
137
100
|
* 'description' is a short, human-friendly description displayed in the UI.
|
|
138
101
|
*
|
|
139
|
-
* Restrictions:
|
|
140
|
-
* - Length must be greater than 0 and less than 250 characters.
|
|
141
|
-
* Security implications:
|
|
142
|
-
* - Should not contain sensitive information.
|
|
143
|
-
*
|
|
144
102
|
* @generated from protobuf field: string description = 4;
|
|
145
103
|
*/
|
|
146
104
|
description: string;
|
|
147
105
|
/**
|
|
148
106
|
* 'organization' is the id of the organization the user belongs to.
|
|
149
|
-
* If the plugin does not belong to an organization, omit this field.
|
|
150
|
-
*
|
|
151
|
-
* Restrictions:
|
|
152
|
-
* - Must match the ECMA regex: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
|
|
153
107
|
*
|
|
154
108
|
* @generated from protobuf field: string organization = 5;
|
|
155
109
|
*/
|
|
@@ -157,55 +111,30 @@ export interface Manifest {
|
|
|
157
111
|
/**
|
|
158
112
|
* 'homepage' is the plugin's homepage URL.
|
|
159
113
|
*
|
|
160
|
-
* Restrictions:
|
|
161
|
-
* - Must be a valid URL.
|
|
162
|
-
* Security implications:
|
|
163
|
-
* - Should not contain sensitive information.
|
|
164
|
-
*
|
|
165
114
|
* @generated from protobuf field: optional string homepage = 6;
|
|
166
115
|
*/
|
|
167
116
|
homepage?: string;
|
|
168
117
|
/**
|
|
169
118
|
* 'repository' is the plugin's repository URL.
|
|
170
119
|
*
|
|
171
|
-
* Restrictions:
|
|
172
|
-
* - Must be a valid URL.
|
|
173
|
-
* Security implications:
|
|
174
|
-
* - Should not contain sensitive information.
|
|
175
|
-
*
|
|
176
120
|
* @generated from protobuf field: optional string repository = 7;
|
|
177
121
|
*/
|
|
178
122
|
repository?: string;
|
|
179
123
|
/**
|
|
180
124
|
* 'bugs' is the URL or email for reporting bugs.
|
|
181
125
|
*
|
|
182
|
-
* Restrictions:
|
|
183
|
-
* - Must be a valid URL or email address.
|
|
184
|
-
* Security implications:
|
|
185
|
-
* - Should not contain sensitive information.
|
|
186
|
-
*
|
|
187
126
|
* @generated from protobuf field: optional string bugs = 8;
|
|
188
127
|
*/
|
|
189
128
|
bugs?: string;
|
|
190
129
|
/**
|
|
191
130
|
* 'author' is the name of the plugin's author.
|
|
192
131
|
*
|
|
193
|
-
* Restrictions:
|
|
194
|
-
* - Length must be less than 100 characters.
|
|
195
|
-
* Security implications:
|
|
196
|
-
* - Should not contain sensitive information.
|
|
197
|
-
*
|
|
198
132
|
* @generated from protobuf field: optional string author = 9;
|
|
199
133
|
*/
|
|
200
134
|
author?: string;
|
|
201
135
|
/**
|
|
202
136
|
* 'logo' is an optional path to the plugin logo.
|
|
203
137
|
* The logo will be resized to a maximum of 80x80 pixels.
|
|
204
|
-
*
|
|
205
|
-
* Restrictions:
|
|
206
|
-
* - Must be a valid Unix file path.
|
|
207
|
-
* - Must match the ECMA regex: ^/[^/\0]*(/[^/\0]+)*[^/]$
|
|
208
|
-
* - Length must be less than 4096 characters.
|
|
209
138
|
* - Supported file formats:
|
|
210
139
|
* - GIF: .gif
|
|
211
140
|
* - JPEG: .jpg, .jpeg, .jfif, .pjpeg, .pjp
|
|
@@ -213,7 +142,6 @@ export interface Manifest {
|
|
|
213
142
|
* - SVG: .svg
|
|
214
143
|
* - WEBP: .webp
|
|
215
144
|
* - AVIF: .avif
|
|
216
|
-
* - Length must be less than 1024 characters.
|
|
217
145
|
*
|
|
218
146
|
* @generated from protobuf field: optional string logo = 10;
|
|
219
147
|
*/
|
|
@@ -221,25 +149,12 @@ export interface Manifest {
|
|
|
221
149
|
/**
|
|
222
150
|
* 'executors' is the path to the executor ES module file.
|
|
223
151
|
*
|
|
224
|
-
* Restrictions:
|
|
225
|
-
* - Must be a valid Unix file path.
|
|
226
|
-
* - Must match the ECMA regex: ^/[^/\0]*(/[^/\0]+)*[^/]$
|
|
227
|
-
* - Length must be less than 4096 characters.
|
|
228
|
-
* - Supported file formats: .js, .mjs
|
|
229
|
-
*
|
|
230
152
|
* @generated from protobuf field: string executors = 11;
|
|
231
153
|
*/
|
|
232
154
|
executors: string;
|
|
233
155
|
/**
|
|
234
156
|
* 'configurators' is an optional path to the configurator ES module file.
|
|
235
157
|
*
|
|
236
|
-
* Restrictions:
|
|
237
|
-
* - Must be a valid Unix file path.
|
|
238
|
-
* - Must match the ECMA regex: ^/[^/\0]*(/[^/\0]+)*[^/]$
|
|
239
|
-
* - Length must be less than 4096 characters.
|
|
240
|
-
* - Supported file formats: .js, .mjs
|
|
241
|
-
* - Required if the 'config' property is set for any global or vertex.
|
|
242
|
-
*
|
|
243
158
|
* @generated from protobuf field: optional string configurators = 12;
|
|
244
159
|
*/
|
|
245
160
|
configurators?: string;
|
|
@@ -247,11 +162,6 @@ export interface Manifest {
|
|
|
247
162
|
* 'assets' is an optional directory containing all static assets
|
|
248
163
|
* available to the plugin.
|
|
249
164
|
*
|
|
250
|
-
* Restrictions:
|
|
251
|
-
* - Must be a valid Unix directory path.
|
|
252
|
-
* - Must match the ECMA regex: ^/[^/\0]*(/[^/\0]*)*\/?$
|
|
253
|
-
* - Length must be less than 4096 characters.
|
|
254
|
-
*
|
|
255
165
|
* @generated from protobuf field: optional string assets = 13;
|
|
256
166
|
*/
|
|
257
167
|
assets?: string;
|
|
@@ -260,30 +170,17 @@ export interface Manifest {
|
|
|
260
170
|
* The CDN is used to serve static assets, such as images, CSS, and JavaScript
|
|
261
171
|
* files. The files will be located on https://cdn.mochabug.com/adapt/plugins/<owner>/<plugin>/<version>/
|
|
262
172
|
*
|
|
263
|
-
* Restrictions:
|
|
264
|
-
* - Must be valid folder starting from the manifest.json file
|
|
265
|
-
* Security implications:
|
|
266
|
-
* - Should not contain sensitive information.
|
|
267
|
-
*
|
|
268
173
|
* @generated from protobuf field: optional string cdn = 14;
|
|
269
174
|
*/
|
|
270
175
|
cdn?: string;
|
|
271
176
|
/**
|
|
272
177
|
* 'vertices' is a list of vertices that constitute the plugin.
|
|
273
178
|
*
|
|
274
|
-
* Restrictions:
|
|
275
|
-
* - The count must be greater than 0 and less than or equal to 100.
|
|
276
|
-
*
|
|
277
179
|
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.Vertex vertices = 15;
|
|
278
180
|
*/
|
|
279
181
|
vertices: Vertex[];
|
|
280
182
|
/**
|
|
281
183
|
* The plugin oauth2 services specifies oauth2 services that is required for the plugin.
|
|
282
|
-
* i.e. no user consent is needed
|
|
283
|
-
*
|
|
284
|
-
* OAuth2 parameters are specified in the platform, and the service name is
|
|
285
|
-
* used as an identifier to fetch the access token from the API.
|
|
286
|
-
* - Must have between 0 and 20 oauth2 services, inclusive.
|
|
287
184
|
*
|
|
288
185
|
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.Oauth2Service plugin_oauth2 = 16;
|
|
289
186
|
*/
|
|
@@ -293,9 +190,6 @@ export interface Manifest {
|
|
|
293
190
|
* The platform ensures secure storage and transmission of variables.
|
|
294
191
|
* i.e. a plugin owner sets these variables and the plugin can use them
|
|
295
192
|
*
|
|
296
|
-
* Restrictions:
|
|
297
|
-
* - Must have between 0 and 20 variables, inclusive.
|
|
298
|
-
*
|
|
299
193
|
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.VariableService plugin_variables = 17;
|
|
300
194
|
*/
|
|
301
195
|
pluginVariables: VariableService[];
|
|
@@ -305,27 +199,12 @@ export interface Manifest {
|
|
|
305
199
|
* certificates.
|
|
306
200
|
* i.e. a plugin owner sets these certificates and the plugin can use them
|
|
307
201
|
*
|
|
308
|
-
* Restrictions:
|
|
309
|
-
* - Must have between 0 and 20 mtls services, inclusive.
|
|
310
|
-
*
|
|
311
202
|
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.MTLSService plugin_mtls = 18;
|
|
312
203
|
*/
|
|
313
204
|
pluginMtls: MTLSService[];
|
|
314
205
|
}
|
|
315
206
|
/**
|
|
316
207
|
* Vertex represents a graph vertex that defines a plugin.
|
|
317
|
-
* The ES module names and entry points follow a convention for the executor and
|
|
318
|
-
* configurators files:
|
|
319
|
-
* - export {<vertex-name>InternalConfigurator} for the internal endpoint of the
|
|
320
|
-
* vertex configurator
|
|
321
|
-
* - export {<vertex-name>ExternalConfigurator} for the external endpoint of the
|
|
322
|
-
* vertex configurator
|
|
323
|
-
* - export {<vertex-name>InternalExecutor} for the internal endpoint of the
|
|
324
|
-
* vertex executor
|
|
325
|
-
* - export {<vertex-name>ExternalExecutor} for the external endpoint of the
|
|
326
|
-
* vertex executor
|
|
327
|
-
*
|
|
328
|
-
*
|
|
329
208
|
* Note: Be aware of potential security implications when dealing with
|
|
330
209
|
* user-provided data, such as file paths, and ensure proper input validation
|
|
331
210
|
* and sanitization.
|
|
@@ -336,22 +215,11 @@ export interface Vertex {
|
|
|
336
215
|
/**
|
|
337
216
|
* 'name' represents the vertex name.
|
|
338
217
|
*
|
|
339
|
-
* Restrictions:
|
|
340
|
-
* - Must match the ECMA regex: ^[_$a-z][_$a-z0-9]*$
|
|
341
|
-
* - Length must be greater than 0 and less than 50 characters.
|
|
342
|
-
* Security implications:
|
|
343
|
-
* - Should not contain sensitive information.
|
|
344
|
-
*
|
|
345
218
|
* @generated from protobuf field: string name = 1;
|
|
346
219
|
*/
|
|
347
220
|
name: string;
|
|
348
221
|
/**
|
|
349
|
-
* 'label' is a human-friendly label
|
|
350
|
-
*
|
|
351
|
-
* Restrictions:
|
|
352
|
-
* - Length must be greater than 0 and less than 25 characters.
|
|
353
|
-
* Security implications:
|
|
354
|
-
* - Should not contain sensitive information.
|
|
222
|
+
* 'label' is a human-friendly label displayed in the UI.
|
|
355
223
|
*
|
|
356
224
|
* @generated from protobuf field: string label = 2;
|
|
357
225
|
*/
|
|
@@ -360,11 +228,6 @@ export interface Vertex {
|
|
|
360
228
|
* 'description' is a human-friendly short description of the vertex displayed
|
|
361
229
|
* in UI.
|
|
362
230
|
*
|
|
363
|
-
* Restrictions:
|
|
364
|
-
* - Length must be greater than 0 and less than 250 characters.
|
|
365
|
-
* Security implications:
|
|
366
|
-
* - Should not contain sensitive information.
|
|
367
|
-
*
|
|
368
231
|
* @generated from protobuf field: optional string description = 3;
|
|
369
232
|
*/
|
|
370
233
|
description?: string;
|
|
@@ -372,14 +235,13 @@ export interface Vertex {
|
|
|
372
235
|
* 'logo' is the file path to the vertex logo, which will be resized to a
|
|
373
236
|
* maximum of 40x40 pixels. Ensure that the logo files are from trusted
|
|
374
237
|
* sources to avoid security risks.
|
|
375
|
-
*
|
|
376
|
-
*
|
|
377
|
-
*
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
*
|
|
381
|
-
*
|
|
382
|
-
* SVG (.svg), WEBP (.webp), and AVIF (.avif).
|
|
238
|
+
* - Supported file formats:
|
|
239
|
+
* - GIF: .gif
|
|
240
|
+
* - JPEG: .jpg, .jpeg, .jfif, .pjpeg, .pjp
|
|
241
|
+
* - PNG: .png
|
|
242
|
+
* - SVG: .svg
|
|
243
|
+
* - WEBP: .webp
|
|
244
|
+
* - AVIF: .avif
|
|
383
245
|
*
|
|
384
246
|
* @generated from protobuf field: optional string logo = 4;
|
|
385
247
|
*/
|
|
@@ -387,28 +249,14 @@ export interface Vertex {
|
|
|
387
249
|
/**
|
|
388
250
|
* 'type' specifies the type of the vertex.
|
|
389
251
|
*
|
|
390
|
-
* Restrictions:
|
|
391
|
-
* - Must not be VERTEX_TYPE_UNSPECIFIED.
|
|
392
|
-
*
|
|
393
252
|
* @generated from protobuf field: mochabugapis.adapt.plugins.v1.Vertex.VertexType type = 5;
|
|
394
253
|
*/
|
|
395
254
|
type: Vertex_VertexType;
|
|
396
255
|
/**
|
|
397
|
-
* 'config' is an field that contains
|
|
398
|
-
* a Unix file path.
|
|
399
|
-
*
|
|
400
|
-
* Security implications:
|
|
401
|
-
* - Ensure that the file path points to a trusted location.
|
|
402
|
-
* - Validate and sanitize the JSON string before using it in your
|
|
403
|
-
* application.
|
|
404
|
-
*
|
|
256
|
+
* 'config' is an field that contains a Unix file path.
|
|
405
257
|
* Restrictions:
|
|
406
|
-
* 1. a
|
|
407
|
-
*
|
|
408
|
-
* - Length must be less than 4096 characters.
|
|
409
|
-
* - Allowed format: .json
|
|
410
|
-
* 2. We always require a default config
|
|
411
|
-
* 3. plugin.cue#VertexConfig must validate the config
|
|
258
|
+
* 1. We always require a default config
|
|
259
|
+
* 2. plugin.cue#VertexConfig must validate the config
|
|
412
260
|
*
|
|
413
261
|
*
|
|
414
262
|
* @generated from protobuf field: string config = 6;
|
|
@@ -422,7 +270,7 @@ export interface Vertex {
|
|
|
422
270
|
*/
|
|
423
271
|
configurator: boolean;
|
|
424
272
|
/**
|
|
425
|
-
* The variables
|
|
273
|
+
* The variables required by the vertex
|
|
426
274
|
*
|
|
427
275
|
* @generated from protobuf field: repeated mochabugapis.adapt.plugins.v1.VariableService variables = 8;
|
|
428
276
|
*/
|
|
@@ -507,12 +355,6 @@ export interface MTLSService {
|
|
|
507
355
|
* 'name' is the identifier of the mTLS service.
|
|
508
356
|
* It's used for referencing the specific mTLS configuration.
|
|
509
357
|
*
|
|
510
|
-
* Restrictions:
|
|
511
|
-
* - Must match the ECMA regex: ^[_$a-z][_$a-z0-9]*$
|
|
512
|
-
* - Length must be greater than 0 and less than 50 characters.
|
|
513
|
-
* Security implications:
|
|
514
|
-
* - Should not contain sensitive information.
|
|
515
|
-
*
|
|
516
358
|
* @generated from protobuf field: string name = 1;
|
|
517
359
|
*/
|
|
518
360
|
name: string;
|
|
@@ -532,11 +374,6 @@ export interface MTLSService {
|
|
|
532
374
|
* 'description' is an optional detailed description of the mTLS service and
|
|
533
375
|
* its usage within the plugin.
|
|
534
376
|
*
|
|
535
|
-
* Restrictions:
|
|
536
|
-
* - Length must be less than 250 characters.
|
|
537
|
-
* Security implications:
|
|
538
|
-
* - Should not contain sensitive information.
|
|
539
|
-
*
|
|
540
377
|
* @generated from protobuf field: optional string description = 3;
|
|
541
378
|
*/
|
|
542
379
|
description?: string;
|
|
@@ -552,7 +389,7 @@ export interface MTLSService {
|
|
|
552
389
|
* A representation of a variable.
|
|
553
390
|
*
|
|
554
391
|
* This message represents a variable used within the hosting platform.
|
|
555
|
-
*
|
|
392
|
+
* Variables are essential for configuring applications and services hosted on the platform.
|
|
556
393
|
* They store values that can be accessed by the application or service during runtime.
|
|
557
394
|
*
|
|
558
395
|
* @generated from protobuf message mochabugapis.adapt.plugins.v1.VariableService
|
|
@@ -561,46 +398,23 @@ export interface VariableService {
|
|
|
561
398
|
/**
|
|
562
399
|
* 'name' is the identifier of the variable, which is referenced where needed.
|
|
563
400
|
*
|
|
564
|
-
* The 'name' field specifies the unique name of the environmental variable.
|
|
565
|
-
* It is used as an identifier to reference the variable throughout the platform.
|
|
566
|
-
* The name should follow certain restrictions:
|
|
567
|
-
* - Must match the ECMA regex: ^[$a-z][$a-z0-9]*$
|
|
568
|
-
* - Length must be greater than 0 and less than 50 characters.
|
|
569
|
-
* It is important to note that the 'name' field should not contain sensitive information.
|
|
570
|
-
*
|
|
571
401
|
* @generated from protobuf field: string name = 1;
|
|
572
402
|
*/
|
|
573
403
|
name: string;
|
|
574
404
|
/**
|
|
575
405
|
* 'label' is a short, human-readable label describing the purpose of the variable.
|
|
576
406
|
*
|
|
577
|
-
* The 'label' field provides a concise, human-readable label that describes the purpose or role of the environmental variable.
|
|
578
|
-
* It helps users understand the significance of the variable without going into detailed descriptions.
|
|
579
|
-
* The label should adhere to the following restrictions:
|
|
580
|
-
* - Length must be greater than 0 and less than 25 characters.
|
|
581
|
-
* The 'label' field should not include sensitive information.
|
|
582
|
-
*
|
|
583
407
|
* @generated from protobuf field: optional string label = 2;
|
|
584
408
|
*/
|
|
585
409
|
label?: string;
|
|
586
410
|
/**
|
|
587
411
|
* 'description' is a detailed description of the variable and its use.
|
|
588
412
|
*
|
|
589
|
-
* The 'description' field provides a detailed description of the environmental variable and its purpose.
|
|
590
|
-
* It offers comprehensive information about the variable's usage, expected values, and any special considerations.
|
|
591
|
-
* The description should be concise and informative, with a length limit of 250 characters.
|
|
592
|
-
* Sensitive information should not be included in the 'description' field.
|
|
593
|
-
*
|
|
594
413
|
* @generated from protobuf field: optional string description = 3;
|
|
595
414
|
*/
|
|
596
415
|
description?: string;
|
|
597
416
|
/**
|
|
598
417
|
* The 'type' field specifies the data type of the environmental variable.
|
|
599
|
-
* It is represented using an enumeration, allowing four possible values:
|
|
600
|
-
* - TYPE_UNSPECIFIED: Indicates that the variable's type is not specified. This value is considered invalid.
|
|
601
|
-
* - TYPE_SECRET: Indicates that the variable will hold a secret value. Secrets are sensitive information and are handled with additional security measures.
|
|
602
|
-
* - TYPE_STRING: Indicates that the variable will hold a string value. Strings are commonly used for configuration settings.
|
|
603
|
-
* - TYPE_SWITCH: Indicates that the variable is a boolean value. It can have either true or false as its value.
|
|
604
418
|
*
|
|
605
419
|
* @generated from protobuf field: mochabugapis.adapt.plugins.v1.VariableService.Type type = 4;
|
|
606
420
|
*/
|
|
@@ -638,7 +452,7 @@ export declare enum VariableService_Type {
|
|
|
638
452
|
*/
|
|
639
453
|
STRING = 2,
|
|
640
454
|
/**
|
|
641
|
-
* The variable is a boolean value
|
|
455
|
+
* The variable is a boolean value (a string either "true" or "false")
|
|
642
456
|
*
|
|
643
457
|
* @generated from protobuf enum value: TYPE_SWITCH = 3;
|
|
644
458
|
*/
|
|
@@ -653,12 +467,6 @@ export interface Oauth2Service {
|
|
|
653
467
|
/**
|
|
654
468
|
* 'name' is the identifier for the OAuth2 service.
|
|
655
469
|
*
|
|
656
|
-
* Restrictions:
|
|
657
|
-
* - Must match the ECMA regex: ^[_$a-z][_$a-z0-9]*$
|
|
658
|
-
* - Length must be greater than 0 and less than 50 characters.
|
|
659
|
-
* Security implications:
|
|
660
|
-
* - Should not contain sensitive information.
|
|
661
|
-
*
|
|
662
470
|
* @generated from protobuf field: string name = 1;
|
|
663
471
|
*/
|
|
664
472
|
name: string;
|
|
@@ -666,22 +474,12 @@ export interface Oauth2Service {
|
|
|
666
474
|
* 'label' is an optional short label describing the purpose of the OAuth2
|
|
667
475
|
* service.
|
|
668
476
|
*
|
|
669
|
-
* Restrictions:
|
|
670
|
-
* - Length must be greater than 0 and less than 25 characters.
|
|
671
|
-
* Security implications:
|
|
672
|
-
* - Should not contain sensitive information.
|
|
673
|
-
*
|
|
674
477
|
* @generated from protobuf field: optional string label = 2;
|
|
675
478
|
*/
|
|
676
479
|
label?: string;
|
|
677
480
|
/**
|
|
678
481
|
* 'description' is a full description about the oauth2 and what it's used for
|
|
679
482
|
*
|
|
680
|
-
* Restrictions:
|
|
681
|
-
* - Length must be greater than 0 and less than 250 characters.
|
|
682
|
-
* Security implications:
|
|
683
|
-
* - Should not contain sensitive information.
|
|
684
|
-
*
|
|
685
483
|
* @generated from protobuf field: optional string description = 3;
|
|
686
484
|
*/
|
|
687
485
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/plugins.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,IAAI,EAAE;QACF,SAAS,EAAE,UAAU,CAAC;QACtB;;;;;WAKG;QACH,QAAQ,EAAE,QAAQ,CAAC;KACtB,GAAG;QACA,SAAS,EAAE,MAAM,CAAC;QAClB;;;;;WAKG;QACH,IAAI,EAAE,IAAI,CAAC;KACd,GAAG;QACA,SAAS,EAAE,SAAS,CAAC;KACxB,CAAC;CACL;AACD;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;CACpC;AACD;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB
|
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/plugins.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,IAAI,EAAE;QACF,SAAS,EAAE,UAAU,CAAC;QACtB;;;;;WAKG;QACH,QAAQ,EAAE,QAAQ,CAAC;KACtB,GAAG;QACA,SAAS,EAAE,MAAM,CAAC;QAClB;;;;;WAKG;QACH,IAAI,EAAE,IAAI,CAAC;KACd,GAAG;QACA,S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