@mochabug/adaptkit 1.0.0-rc.55 → 1.0.0-rc.56
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/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts +2 -78
- package/bin/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts.map +1 -1
- package/bin/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts +14 -580
- package/bin/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts.map +1 -1
- package/bin/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts.map +1 -1
- package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts +0 -448
- package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts.map +1 -1
- package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +0 -61
- package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts.map +1 -1
- package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts.map +1 -1
- package/bin/index.js +11 -56
- package/bin/index.js.map +3 -3
- package/bin/utils.d.ts.map +1 -1
- package/package.json +4 -4
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts +0 -539
- package/bin/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts.map +0 -1
|
@@ -140,8 +140,7 @@ export declare const GroupedDefinitionSchema: GenMessage<GroupedDefinition, {
|
|
|
140
140
|
* "stripe_oauth": "Stripe",
|
|
141
141
|
* "paypal_oauth": "PayPal",
|
|
142
142
|
* "square_oauth": "Square"
|
|
143
|
-
* }
|
|
144
|
-
* default: "stripe_oauth"
|
|
143
|
+
* }
|
|
145
144
|
* }
|
|
146
145
|
* }
|
|
147
146
|
* ]
|
|
@@ -184,43 +183,6 @@ export type OneOfDefinition = Message<"mochabugapis.adapt.plugins.v1.OneOfDefini
|
|
|
184
183
|
options: {
|
|
185
184
|
[key: string]: string;
|
|
186
185
|
};
|
|
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 | undefined;
|
|
224
186
|
};
|
|
225
187
|
/**
|
|
226
188
|
* A one-of service definition that allows users to choose from multiple flat service definitions.
|
|
@@ -255,8 +217,7 @@ export type OneOfDefinition = Message<"mochabugapis.adapt.plugins.v1.OneOfDefini
|
|
|
255
217
|
* "stripe_oauth": "Stripe",
|
|
256
218
|
* "paypal_oauth": "PayPal",
|
|
257
219
|
* "square_oauth": "Square"
|
|
258
|
-
* }
|
|
259
|
-
* default: "stripe_oauth"
|
|
220
|
+
* }
|
|
260
221
|
* }
|
|
261
222
|
* }
|
|
262
223
|
* ]
|
|
@@ -299,43 +260,6 @@ export type OneOfDefinitionJson = {
|
|
|
299
260
|
options?: {
|
|
300
261
|
[key: string]: string;
|
|
301
262
|
};
|
|
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
263
|
};
|
|
340
264
|
/**
|
|
341
265
|
* Describes the message mochabugapis.adapt.plugins.v1.OneOfDefinition.
|
|
@@ -1 +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,
|
|
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,OAC6e,CAAC;AAEjjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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