Add flow extensions create/listing/delete support.#10349
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #10349 +/- ##
===========================================
+ Coverage 55.70% 98.79% +43.08%
===========================================
Files 42 165 +123
Lines 1016 51775 +50759
Branches 254 165 -89
===========================================
+ Hits 566 51149 +50583
- Misses 450 626 +176
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
83c6b59 to
d3cd84d
Compare
d3cd84d to
3362af4
Compare
| iconUrl?: string; | ||
| endpoint?: Partial<FlowExtensionEndpointInterface>; | ||
| accessConfig?: AccessConfigInterface; | ||
| flowTypeOverrides?: Record<string, AccessConfigInterface>; |
| iconUrl?: string; | ||
| endpoint: FlowExtensionEndpointResponseInterface; | ||
| accessConfig?: AccessConfigInterface; | ||
| flowTypeOverrides?: Record<string, AccessConfigInterface>; |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="15 5 180 190" width="100%" height="100%"> | ||
| <rect width="100%" height="100%" fill="transparent" /> | ||
|
|
||
| <svg class="icon" width="16" height="16" viewBox="15 5 180 190" fill="none" xmlns="http://www.w3.org/2000/svg"> |
There was a problem hiding this comment.
Let's add the license header back
| @@ -0,0 +1,25 @@ | |||
| <svg class="icon" width="16" height="16" viewBox="15 5 180 190" fill="none" xmlns="http://www.w3.org/2000/svg"> | |||
There was a problem hiding this comment.
Let's add the license header
| * Expose/modify entry in access config. | ||
| * Same structure is used for both expose and modify entries: a path plus an optional encryption flag. | ||
| */ | ||
| export interface ContextPathInterface { |
There was a problem hiding this comment.
it seems this interface is no longer used and can be removed. Please verify.
| /** | ||
| * Access config for Flow Extension actions. | ||
| */ | ||
| export interface AccessConfigInterface { |
There was a problem hiding this comment.
interface name feels too generic. Shall we rename it to something like FlowExtensionAccessConfigInterface?
Also, should this be defined inside actions.v1?
| import { | ||
| FlowExtensionCreateRequestInterface, | ||
| FlowExtensionResponseInterface | ||
| } from "../models/flow-extension"; |
There was a problem hiding this comment.
Shall we keep this in a single line for compactness?
| >( | ||
| shouldFetch: boolean = true | ||
| ): RequestResultInterface<Data, Error> => { |
There was a problem hiding this comment.
shall we improve formatting here?
| @@ -0,0 +1,25 @@ | |||
| <svg class="icon" width="16" height="16" viewBox="15 5 180 190" fill="none" xmlns="http://www.w3.org/2000/svg"> | |||
There was a problem hiding this comment.
Let's add the license header
| GENERAL_SETTINGS = "General Settings", | ||
| ENDPOINT_CONFIG = "Endpoint Configuration" |
There was a problem hiding this comment.
Is using english literals intentional here? if those are user facing text, we should i18n those.
| @@ -0,0 +1,15 @@ | |||
| { | |||
| "category": "DEFAULT", | |||
| "description": "Extend authentication flows with external services.", | |||
There was a problem hiding this comment.
using the term "authentication" is not quite accurate, is it?
| "id": "flow-extension", | ||
| "docLink": "", | ||
| "image": "assets/images/logos/flow-extension.svg", | ||
| "name": "Flow Extension", |
There was a problem hiding this comment.
shouldn't we use i18n for these user facing string literals?
Purpose
Related Issues
Related PRs
Checklist
Security checks
Developer Checklist (Mandatory)
product-isissue to track any behavioral change or migration impact.